1.1 --- a/configure Wed Jun 25 10:40:45 2008 +0000
1.2 +++ b/configure Sun Jun 29 22:31:40 2008 +0000
1.10 ac_precious_vars='build_alias
1.12 @@ -1478,6 +1480,8 @@
1.13 --with-osmesa Build with the osmesa GL library (software
1.15 --with-gtk Build with the GTK UI. Default on X11 systems
1.16 + --with-esd Build with support for the ESounD audio system
1.17 + --with-pulse Build with support for the PulseAudio audio system
1.19 Some influential environment variables:
1.20 CC C compiler command
1.21 @@ -6597,6 +6601,18 @@
1.25 +# Check whether --with-esd was given.
1.26 +if test "${with_esd+set}" = set; then
1.27 + withval=$with_esd;
1.31 +# Check whether --with-pulse was given.
1.32 +if test "${with_pulse+set}" = set; then
1.33 + withval=$with_pulse;
1.38 lxdream_save_cppflags="$CPPFLAGS"
1.39 CPPFLAGS="$CPPFLAGS -x objective-c"
1.40 @@ -8803,6 +8819,7 @@
1.44 +if test "x$with_pulse" != "xno"; then
1.47 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
1.48 @@ -8864,22 +8881,40 @@
1.50 { $as_echo "$as_me:$LINENO: result: no" >&5
1.51 $as_echo "no" >&6; }
1.54 + if test "x$with_pulse" = "xyes"; then
1.55 + { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
1.56 +See \`config.log' for more details." >&5
1.57 +$as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
1.58 +See \`config.log' for more details." >&2;}
1.59 + { (exit 1); exit 1; }; }
1.62 elif test $pkg_failed = untried; then
1.65 + if test "x$with_pulse" = "xyes"; then
1.66 + { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
1.67 +See \`config.log' for more details." >&5
1.68 +$as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
1.69 +See \`config.log' for more details." >&2;}
1.70 + { (exit 1); exit 1; }; }
1.74 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
1.75 PULSE_LIBS=$pkg_cv_PULSE_LIBS
1.76 { $as_echo "$as_me:$LINENO: result: yes" >&5
1.77 $as_echo "yes" >&6; }
1.80 - AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
1.82 + AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
1.84 cat >>confdefs.h <<\_ACEOF
1.85 #define HAVE_PULSE 1
1.93 @@ -8892,6 +8927,7 @@
1.97 +if test "x$with_esd" != "xno"; then
1.100 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
1.101 @@ -8953,22 +8989,40 @@
1.103 { $as_echo "$as_me:$LINENO: result: no" >&5
1.104 $as_echo "no" >&6; }
1.107 + if test "x$with_esd" = "xyes"; then
1.108 + { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
1.109 +See \`config.log' for more details." >&5
1.110 +$as_echo "$as_me: error: ESounD audio package could not be found (but was required)
1.111 +See \`config.log' for more details." >&2;}
1.112 + { (exit 1); exit 1; }; }
1.115 elif test $pkg_failed = untried; then
1.118 + if test "x$with_esd" = "xyes"; then
1.119 + { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
1.120 +See \`config.log' for more details." >&5
1.121 +$as_echo "$as_me: error: ESounD audio package could not be found (but was required)
1.122 +See \`config.log' for more details." >&2;}
1.123 + { (exit 1); exit 1; }; }
1.127 ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
1.128 ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
1.129 { $as_echo "$as_me:$LINENO: result: yes" >&5
1.130 $as_echo "yes" >&6; }
1.132 - HAVE_ESOUND='yes'
1.133 - AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
1.134 + HAVE_ESOUND='yes'
1.135 + AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
1.137 cat >>confdefs.h <<\_ACEOF
1.138 #define HAVE_ESOUND 1