Mercurial > hg > sv-dependency-builds
comparison src/portaudio_20161030_catalina_patch/configure @ 166:cbd6d7e562c7
Merge build update
| author | Chris Cannam <cannam@all-day-breakfast.com> |
|---|---|
| date | Thu, 31 Oct 2019 13:36:58 +0000 |
| parents | 7e6e71a29886 |
| children |
comparison
equal
deleted
inserted
replaced
| 164:9fa11135915a | 166:cbd6d7e562c7 |
|---|---|
| 15819 case "${host_os}" in | 15819 case "${host_os}" in |
| 15820 darwin* ) | 15820 darwin* ) |
| 15821 | 15821 |
| 15822 $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h | 15822 $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h |
| 15823 | 15823 |
| 15824 | 15824 $as_echo "#define AUDIO_COMPONENT_FIX 1" >>confdefs.h |
| 15825 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated -Werror" | 15825 |
| 15826 | |
| 15827 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated" | |
| 15826 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" | 15828 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" |
| 15827 | 15829 |
| 15828 if test "x$enable_mac_universal" = "xyes" ; then | 15830 if test "x$enable_mac_universal" = "xyes" ; then |
| 15829 case `xcodebuild -version | sed -n 's/Xcode \(.*\)/\1/p'` in | 15831 case `xcodebuild -version | sed -n 's/Xcode \(.*\)/\1/p'` in |
| 15830 | 15832 |
| 15861 mac_version_min="-mmacosx-version-min=10.4" | 15863 mac_version_min="-mmacosx-version-min=10.4" |
| 15862 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.11 Path`" | 15864 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.11 Path`" |
| 15863 elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then | 15865 elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then |
| 15864 mac_version_min="-mmacosx-version-min=10.4" | 15866 mac_version_min="-mmacosx-version-min=10.4" |
| 15865 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`" | 15867 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`" |
| 15868 elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then | |
| 15869 mac_version_min="-mmacosx-version-min=10.4" | |
| 15870 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`" | |
| 15871 elif xcodebuild -version -sdk macosx10.14 Path >/dev/null 2>&1 ; then | |
| 15872 mac_version_min="-mmacosx-version-min=10.4" | |
| 15873 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.14 Path`" | |
| 15866 else | 15874 else |
| 15867 as_fn_error $? "Could not find 10.5 to 10.12 SDK." "$LINENO" 5 | 15875 as_fn_error $? "Could not find 10.5 to 10.14 SDK." "$LINENO" 5 |
| 15868 fi | 15876 fi |
| 15869 esac | 15877 esac |
| 15870 | 15878 |
| 15871 mac_arches="" | 15879 mac_arches="" |
| 15872 for arch in i386 x86_64 ppc ppc64 | 15880 for arch in x86_64 |
| 15873 do | 15881 do |
| 15874 save_CFLAGS="$CFLAGS" | 15882 save_CFLAGS="$CFLAGS" |
| 15875 CFLAGS="$CFLAGS -arch $arch" | 15883 CFLAGS="$CFLAGS -arch $arch" |
| 15876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15877 /* end confdefs.h. */ | 15885 /* end confdefs.h. */ |
