]> Repos - portaudio/commitdiff
this should resolve issues on OS X with systems where only sdk 10.6 is available...
authorbjornroche <bjornroche@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 14 Jul 2011 17:56:47 +0000 (17:56 +0000)
committerbjornroche <bjornroche@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 14 Jul 2011 17:56:47 +0000 (17:56 +0000)
configure
configure.in

index b77e40ea62449b182457f75d1211a15a2837edef..affb5471d9c8fd445bd7179ca5feb2e11280be93 100755 (executable)
Binary files a/configure and b/configure differ
index 6564c365a7ee727b751dff7983b7d53b6d9fa30d..96b6587109bd0f2824fcb8925ad69ec1f931d49a 100644 (file)
@@ -201,11 +201,20 @@ case "${host_os}" in
         LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon"
 
         if test "x$enable_mac_universal" = "xyes" ; then
-           mac_version_min="-mmacosx-version-min=10.3"
            if [[ -d /Developer/SDKs/MacOSX10.5.sdk ]] ; then
+              mac_version_min="-mmacosx-version-min=10.3"
               mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64"
               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
+           elif [[ -d /Developer/SDKs/MacOSX10.6.sdk ]] ; then
+              mac_version_min="-mmacosx-version-min=10.4"
+              mac_arches="-arch i386 -arch x86_64"
+              mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.6.sdk"
+           elif [[ -d /Developer/SDKs/MacOSX10.7.sdk ]] ; then
+              mac_version_min="-mmacosx-version-min=10.4"
+              mac_arches="-arch i386 -arch x86_64"
+              mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.7.sdk"
            else
+              mac_version_min="-mmacosx-version-min=10.3"
               mac_arches="-arch i386 -arch ppc"
               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
            fi