Changeset 1330
- Timestamp:
- 02/02/08 14:11:55 (7 months ago)
- Location:
- portaudio/branches/v19-devel
- Files:
-
- 2 modified
-
configure (modified) (17 diffs)
-
configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/configure
r1329 r1330 1454 1454 --enable-cxx (default=no) 1455 1455 --enable-mac-debug (default=no) 1456 --enable-mac-universal (default=yes) 1456 1457 --enable-shared[=PKGS] build shared libraries [default=yes] 1457 1458 --enable-static[=PKGS] build static libraries [default=yes] … … 2027 2028 2028 2029 2030 # Check whether --enable-mac-universal was given. 2031 if test "${enable_mac_universal+set}" = set; then 2032 enableval=$enable_mac_universal; enable_mac_universal=$enableval 2033 else 2034 enable_mac_universal="yes" 2035 fi 2036 2037 2029 2038 2030 2039 ac_ext=c … … 3776 3785 *-*-irix6*) 3777 3786 # Find out which ABI we are using. 3778 echo '#line 37 78"configure"' > conftest.$ac_ext3787 echo '#line 3787 "configure"' > conftest.$ac_ext 3779 3788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3780 3789 (eval $ac_compile) 2>&5 … … 6745 6754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6746 6755 -e 's:$: $lt_compiler_flag:'` 6747 (eval echo "\"\$as_me:67 47: $lt_compile\"" >&5)6756 (eval echo "\"\$as_me:6756: $lt_compile\"" >&5) 6748 6757 (eval "$lt_compile" 2>conftest.err) 6749 6758 ac_status=$? 6750 6759 cat conftest.err >&5 6751 echo "$as_me:67 51: \$? = $ac_status" >&56760 echo "$as_me:6760: \$? = $ac_status" >&5 6752 6761 if (exit $ac_status) && test -s "$ac_outfile"; then 6753 6762 # The compiler can only warn and ignore the option if not recognized … … 7013 7022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7014 7023 -e 's:$: $lt_compiler_flag:'` 7015 (eval echo "\"\$as_me:70 15: $lt_compile\"" >&5)7024 (eval echo "\"\$as_me:7024: $lt_compile\"" >&5) 7016 7025 (eval "$lt_compile" 2>conftest.err) 7017 7026 ac_status=$? 7018 7027 cat conftest.err >&5 7019 echo "$as_me:70 19: \$? = $ac_status" >&57028 echo "$as_me:7028: \$? = $ac_status" >&5 7020 7029 if (exit $ac_status) && test -s "$ac_outfile"; then 7021 7030 # The compiler can only warn and ignore the option if not recognized … … 7117 7126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7118 7127 -e 's:$: $lt_compiler_flag:'` 7119 (eval echo "\"\$as_me:71 19: $lt_compile\"" >&5)7128 (eval echo "\"\$as_me:7128: $lt_compile\"" >&5) 7120 7129 (eval "$lt_compile" 2>out/conftest.err) 7121 7130 ac_status=$? 7122 7131 cat out/conftest.err >&5 7123 echo "$as_me:71 23: \$? = $ac_status" >&57132 echo "$as_me:7132: \$? = $ac_status" >&5 7124 7133 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7125 7134 then … … 9462 9471 lt_status=$lt_dlunknown 9463 9472 cat > conftest.$ac_ext <<EOF 9464 #line 94 64"configure"9473 #line 9473 "configure" 9465 9474 #include "confdefs.h" 9466 9475 … … 9562 9571 lt_status=$lt_dlunknown 9563 9572 cat > conftest.$ac_ext <<EOF 9564 #line 95 64"configure"9573 #line 9573 "configure" 9565 9574 #include "confdefs.h" 9566 9575 … … 11898 11907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11899 11908 -e 's:$: $lt_compiler_flag:'` 11900 (eval echo "\"\$as_me:1190 0: $lt_compile\"" >&5)11909 (eval echo "\"\$as_me:11909: $lt_compile\"" >&5) 11901 11910 (eval "$lt_compile" 2>conftest.err) 11902 11911 ac_status=$? 11903 11912 cat conftest.err >&5 11904 echo "$as_me:119 04: \$? = $ac_status" >&511913 echo "$as_me:11913: \$? = $ac_status" >&5 11905 11914 if (exit $ac_status) && test -s "$ac_outfile"; then 11906 11915 # The compiler can only warn and ignore the option if not recognized … … 12002 12011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12003 12012 -e 's:$: $lt_compiler_flag:'` 12004 (eval echo "\"\$as_me:120 04: $lt_compile\"" >&5)12013 (eval echo "\"\$as_me:12013: $lt_compile\"" >&5) 12005 12014 (eval "$lt_compile" 2>out/conftest.err) 12006 12015 ac_status=$? 12007 12016 cat out/conftest.err >&5 12008 echo "$as_me:120 08: \$? = $ac_status" >&512017 echo "$as_me:12017: \$? = $ac_status" >&5 12009 12018 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12010 12019 then … … 13609 13618 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13610 13619 -e 's:$: $lt_compiler_flag:'` 13611 (eval echo "\"\$as_me:136 11: $lt_compile\"" >&5)13620 (eval echo "\"\$as_me:13620: $lt_compile\"" >&5) 13612 13621 (eval "$lt_compile" 2>conftest.err) 13613 13622 ac_status=$? 13614 13623 cat conftest.err >&5 13615 echo "$as_me:136 15: \$? = $ac_status" >&513624 echo "$as_me:13624: \$? = $ac_status" >&5 13616 13625 if (exit $ac_status) && test -s "$ac_outfile"; then 13617 13626 # The compiler can only warn and ignore the option if not recognized … … 13713 13722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13714 13723 -e 's:$: $lt_compiler_flag:'` 13715 (eval echo "\"\$as_me:137 15: $lt_compile\"" >&5)13724 (eval echo "\"\$as_me:13724: $lt_compile\"" >&5) 13716 13725 (eval "$lt_compile" 2>out/conftest.err) 13717 13726 ac_status=$? 13718 13727 cat out/conftest.err >&5 13719 echo "$as_me:137 19: \$? = $ac_status" >&513728 echo "$as_me:13728: \$? = $ac_status" >&5 13720 13729 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13721 13730 then … … 15948 15957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15949 15958 -e 's:$: $lt_compiler_flag:'` 15950 (eval echo "\"\$as_me:1595 0: $lt_compile\"" >&5)15959 (eval echo "\"\$as_me:15959: $lt_compile\"" >&5) 15951 15960 (eval "$lt_compile" 2>conftest.err) 15952 15961 ac_status=$? 15953 15962 cat conftest.err >&5 15954 echo "$as_me:159 54: \$? = $ac_status" >&515963 echo "$as_me:15963: \$? = $ac_status" >&5 15955 15964 if (exit $ac_status) && test -s "$ac_outfile"; then 15956 15965 # The compiler can only warn and ignore the option if not recognized … … 16216 16225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16217 16226 -e 's:$: $lt_compiler_flag:'` 16218 (eval echo "\"\$as_me:162 18: $lt_compile\"" >&5)16227 (eval echo "\"\$as_me:16227: $lt_compile\"" >&5) 16219 16228 (eval "$lt_compile" 2>conftest.err) 16220 16229 ac_status=$? 16221 16230 cat conftest.err >&5 16222 echo "$as_me:162 22: \$? = $ac_status" >&516231 echo "$as_me:16231: \$? = $ac_status" >&5 16223 16232 if (exit $ac_status) && test -s "$ac_outfile"; then 16224 16233 # The compiler can only warn and ignore the option if not recognized … … 16320 16329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16321 16330 -e 's:$: $lt_compiler_flag:'` 16322 (eval echo "\"\$as_me:163 22: $lt_compile\"" >&5)16331 (eval echo "\"\$as_me:16331: $lt_compile\"" >&5) 16323 16332 (eval "$lt_compile" 2>out/conftest.err) 16324 16333 ac_status=$? 16325 16334 cat out/conftest.err >&5 16326 echo "$as_me:163 26: \$? = $ac_status" >&516335 echo "$as_me:16335: \$? = $ac_status" >&5 16327 16336 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16328 16337 then … … 21264 21273 21265 21274 if ( echo "${host_os}" | grep ^darwin >> /dev/null ) && 21266 [ "$enable_mac_debug" != "yes" ] ; then 21275 [ "$enable_mac_universal" = "yes" ] && 21276 [ "$enable_mac_debug" != "yes" ] ; then 21267 21277 CFLAGS="-O2 -Wall -pedantic -pipe -fPIC -DNDEBUG" 21268 21278 else … … 21287 21297 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" 21288 21298 21289 if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then 21290 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" 21291 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" 21299 if test "x$enable_mac_universal" = "xyes" ; then 21300 mac_version_min="-mmacosx-version-min=10.3" 21301 if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then 21302 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" 21303 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" 21304 else 21305 mac_arches="-arch i386 -arch ppc" 21306 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" 21307 fi 21292 21308 else 21293 mac_arches="-arch i386 -arch ppc" 21294 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" 21309 mac_arches="" 21310 mac_sysroot="" 21311 mac_version="" 21295 21312 fi 21296 SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot -mmacosx-version-min=10.3"21297 CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot -mmacosx-version-min=10.3"21313 SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot $mac_version_min" 21314 CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot $mac_version_min" 21298 21315 OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o" 21299 21316 PADLL="libportaudio.dylib" -
portaudio/branches/v19-devel/configure.in
r1329 r1330 65 65 [ --enable-mac-debug (default=no)], 66 66 enable_mac_debug=$enableval, enable_mac_debug="no") 67 68 AC_ARG_ENABLE(mac-universal, 69 [ --enable-mac-universal (default=yes)], 70 enable_mac_universal=$enableval, enable_mac_universal="yes") 67 71 68 72 dnl Checks for programs. … … 133 137 dnl -g is optional on darwin 134 138 if ( echo "${host_os}" | grep ^darwin >> /dev/null ) && 135 [[ "$enable_mac_debug" != "yes" ]] ; then 139 [[ "$enable_mac_universal" = "yes" ] && 140 [ "$enable_mac_debug" != "yes" ]] ; then 136 141 CFLAGS="-O2 -Wall -pedantic -pipe -fPIC -DNDEBUG" 137 142 else … … 154 159 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" 155 160 156 if [[ -d /Developer/SDKs/MacOSX10.5.sdk ]] ; then 157 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" 158 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" 161 if test "x$enable_mac_universal" = "xyes" ; then 162 mac_version_min="-mmacosx-version-min=10.3" 163 if [[ -d /Developer/SDKs/MacOSX10.5.sdk ]] ; then 164 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" 165 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" 166 else 167 mac_arches="-arch i386 -arch ppc" 168 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" 169 fi 159 170 else 160 mac_arches="-arch i386 -arch ppc" 161 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" 162 fi 163 SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot -mmacosx-version-min=10.3" 164 CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot -mmacosx-version-min=10.3" 171 mac_arches="" 172 mac_sysroot="" 173 mac_version="" 174 fi 175 SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot $mac_version_min" 176 CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot $mac_version_min" 165 177 OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o" 166 178 PADLL="libportaudio.dylib"
