Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 697:479b8c213f61
prev688:8a13dabbdced
next700:4650d0c7f6f9
author nkeynes
date Sun Jun 22 04:01:27 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Commit work-in-progress CoreAudio driver
(along with various changes to the audio subsystem)
file annotate diff log raw
1.1 --- a/configure Sat Jun 14 11:57:11 2008 +0000
1.2 +++ b/configure Sun Jun 22 04:01:27 2008 +0000
1.3 @@ -746,6 +746,8 @@
1.4 BUILD_SH4X86_FALSE
1.5 BUILD_X86_64_TRUE
1.6 BUILD_X86_64_FALSE
1.7 +AUDIO_OSX_TRUE
1.8 +AUDIO_OSX_FALSE
1.9 PULSE_CFLAGS
1.10 PULSE_LIBS
1.11 AUDIO_PULSE_TRUE
1.12 @@ -8562,6 +8564,158 @@
1.13 fi
1.14
1.15
1.16 +if test "${ac_cv_header_AudioToolbox_AudioToolbox_h+set}" = set; then
1.17 + { $as_echo "$as_me:$LINENO: checking for AudioToolbox/AudioToolbox.h" >&5
1.18 +$as_echo_n "checking for AudioToolbox/AudioToolbox.h... " >&6; }
1.19 +if test "${ac_cv_header_AudioToolbox_AudioToolbox_h+set}" = set; then
1.20 + $as_echo_n "(cached) " >&6
1.21 +fi
1.22 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AudioToolbox_AudioToolbox_h" >&5
1.23 +$as_echo "$ac_cv_header_AudioToolbox_AudioToolbox_h" >&6; }
1.24 +else
1.25 + # Is the header compilable?
1.26 +{ $as_echo "$as_me:$LINENO: checking AudioToolbox/AudioToolbox.h usability" >&5
1.27 +$as_echo_n "checking AudioToolbox/AudioToolbox.h usability... " >&6; }
1.28 +cat >conftest.$ac_ext <<_ACEOF
1.29 +/* confdefs.h. */
1.30 +_ACEOF
1.31 +cat confdefs.h >>conftest.$ac_ext
1.32 +cat >>conftest.$ac_ext <<_ACEOF
1.33 +/* end confdefs.h. */
1.34 +$ac_includes_default
1.35 +#include <AudioToolbox/AudioToolbox.h>
1.36 +_ACEOF
1.37 +rm -f conftest.$ac_objext
1.38 +if { (ac_try="$ac_compile"
1.39 +case "(($ac_try" in
1.40 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.41 + *) ac_try_echo=$ac_try;;
1.42 +esac
1.43 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.44 +$as_echo "$ac_try_echo") >&5
1.45 + (eval "$ac_compile") 2>conftest.er1
1.46 + ac_status=$?
1.47 + grep -v '^ *+' conftest.er1 >conftest.err
1.48 + rm -f conftest.er1
1.49 + cat conftest.err >&5
1.50 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.51 + (exit $ac_status); } && {
1.52 + test -z "$ac_c_werror_flag" ||
1.53 + test ! -s conftest.err
1.54 + } && test -s conftest.$ac_objext; then
1.55 + ac_header_compiler=yes
1.56 +else
1.57 + $as_echo "$as_me: failed program was:" >&5
1.58 +sed 's/^/| /' conftest.$ac_ext >&5
1.59 +
1.60 + ac_header_compiler=no
1.61 +fi
1.62 +
1.63 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.64 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.65 +$as_echo "$ac_header_compiler" >&6; }
1.66 +
1.67 +# Is the header present?
1.68 +{ $as_echo "$as_me:$LINENO: checking AudioToolbox/AudioToolbox.h presence" >&5
1.69 +$as_echo_n "checking AudioToolbox/AudioToolbox.h presence... " >&6; }
1.70 +cat >conftest.$ac_ext <<_ACEOF
1.71 +/* confdefs.h. */
1.72 +_ACEOF
1.73 +cat confdefs.h >>conftest.$ac_ext
1.74 +cat >>conftest.$ac_ext <<_ACEOF
1.75 +/* end confdefs.h. */
1.76 +#include <AudioToolbox/AudioToolbox.h>
1.77 +_ACEOF
1.78 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.79 +case "(($ac_try" in
1.80 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.81 + *) ac_try_echo=$ac_try;;
1.82 +esac
1.83 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.84 +$as_echo "$ac_try_echo") >&5
1.85 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.86 + ac_status=$?
1.87 + grep -v '^ *+' conftest.er1 >conftest.err
1.88 + rm -f conftest.er1
1.89 + cat conftest.err >&5
1.90 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.91 + (exit $ac_status); } >/dev/null && {
1.92 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.93 + test ! -s conftest.err
1.94 + }; then
1.95 + ac_header_preproc=yes
1.96 +else
1.97 + $as_echo "$as_me: failed program was:" >&5
1.98 +sed 's/^/| /' conftest.$ac_ext >&5
1.99 +
1.100 + ac_header_preproc=no
1.101 +fi
1.102 +
1.103 +rm -f conftest.err conftest.$ac_ext
1.104 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.105 +$as_echo "$ac_header_preproc" >&6; }
1.106 +
1.107 +# So? What about this header?
1.108 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.109 + yes:no: )
1.110 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: accepted by the compiler, rejected by the preprocessor!" >&5
1.111 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.112 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: proceeding with the compiler's result" >&5
1.113 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: proceeding with the compiler's result" >&2;}
1.114 + ac_header_preproc=yes
1.115 + ;;
1.116 + no:yes:* )
1.117 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: present but cannot be compiled" >&5
1.118 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: present but cannot be compiled" >&2;}
1.119 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: check for missing prerequisite headers?" >&5
1.120 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: check for missing prerequisite headers?" >&2;}
1.121 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: see the Autoconf documentation" >&5
1.122 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: see the Autoconf documentation" >&2;}
1.123 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: section \"Present But Cannot Be Compiled\"" >&5
1.124 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: section \"Present But Cannot Be Compiled\"" >&2;}
1.125 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: proceeding with the preprocessor's result" >&5
1.126 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: proceeding with the preprocessor's result" >&2;}
1.127 + { $as_echo "$as_me:$LINENO: WARNING: AudioToolbox/AudioToolbox.h: in the future, the compiler will take precedence" >&5
1.128 +$as_echo "$as_me: WARNING: AudioToolbox/AudioToolbox.h: in the future, the compiler will take precedence" >&2;}
1.129 +
1.130 + ;;
1.131 +esac
1.132 +{ $as_echo "$as_me:$LINENO: checking for AudioToolbox/AudioToolbox.h" >&5
1.133 +$as_echo_n "checking for AudioToolbox/AudioToolbox.h... " >&6; }
1.134 +if test "${ac_cv_header_AudioToolbox_AudioToolbox_h+set}" = set; then
1.135 + $as_echo_n "(cached) " >&6
1.136 +else
1.137 + ac_cv_header_AudioToolbox_AudioToolbox_h=$ac_header_preproc
1.138 +fi
1.139 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AudioToolbox_AudioToolbox_h" >&5
1.140 +$as_echo "$ac_cv_header_AudioToolbox_AudioToolbox_h" >&6; }
1.141 +
1.142 +fi
1.143 +if test $ac_cv_header_AudioToolbox_AudioToolbox_h = yes; then
1.144 +
1.145 + HAVE_CORE_AUDIO=yes
1.146 + LIBS="$LIBS -framework AudioToolbox -framework AudioUnit"
1.147 +
1.148 +cat >>confdefs.h <<\_ACEOF
1.149 +#define HAVE_CORE_AUDIO 1
1.150 +_ACEOF
1.151 +
1.152 +else
1.153 + true
1.154 +fi
1.155 +
1.156 +
1.157 +
1.158 +
1.159 +if test "$HAVE_CORE_AUDIO" = 'yes' ; then
1.160 + AUDIO_OSX_TRUE=
1.161 + AUDIO_OSX_FALSE='#'
1.162 +else
1.163 + AUDIO_OSX_TRUE='#'
1.164 + AUDIO_OSX_FALSE=
1.165 +fi
1.166 +
1.167 +
1.168
1.169 pkg_failed=no
1.170 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
1.171 @@ -11176,6 +11330,13 @@
1.172 Usually this means the macro was only invoked conditionally." >&2;}
1.173 { (exit 1); exit 1; }; }
1.174 fi
1.175 +if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
1.176 + { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
1.177 +Usually this means the macro was only invoked conditionally." >&5
1.178 +$as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
1.179 +Usually this means the macro was only invoked conditionally." >&2;}
1.180 + { (exit 1); exit 1; }; }
1.181 +fi
1.182 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
1.183 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
1.184 Usually this means the macro was only invoked conditionally." >&5
.