From: bjornroche Date: Thu, 14 Jul 2011 17:56:47 +0000 (+0000) Subject: this should resolve issues on OS X with systems where only sdk 10.6 is available... X-Git-Tag: pa_stable_v19_20111121_r1788~69 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=ab8a1489efcb9c9fa525b8c537fd11b7e7fa5081;p=portaudio this should resolve issues on OS X with systems where only sdk 10.6 is available and includes a likely fix for future simillar issues with 10.7. See ticket 179. --- diff --git a/configure b/configure index b77e40e..affb547 100755 Binary files a/configure and b/configure differ diff --git a/configure.in b/configure.in index 6564c36..96b6587 100644 --- a/configure.in +++ b/configure.in @@ -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