Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 714:009591ac251e
prev709:18c39a8e504c
next720:b5594d1ac80a
author nkeynes
date Sun Jun 29 22:31:40 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add --with-esd and --with-pulse configure arguments (mainly to be able to disable them when not wanted)
file annotate diff log raw
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.3 @@ -809,6 +809,8 @@
1.4 enable_sh4stats
1.5 with_osmesa
1.6 with_gtk
1.7 +with_esd
1.8 +with_pulse
1.9 '
1.10 ac_precious_vars='build_alias
1.11 host_alias
1.12 @@ -1478,6 +1480,8 @@
1.13 --with-osmesa Build with the osmesa GL library (software
1.14 rendering)
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.18
1.19 Some influential environment variables:
1.20 CC C compiler command
1.21 @@ -6597,6 +6601,18 @@
1.22 fi
1.23
1.24
1.25 +# Check whether --with-esd was given.
1.26 +if test "${with_esd+set}" = set; then
1.27 + withval=$with_esd;
1.28 +fi
1.29 +
1.30 +
1.31 +# Check whether --with-pulse was given.
1.32 +if test "${with_pulse+set}" = set; then
1.33 + withval=$with_pulse;
1.34 +fi
1.35 +
1.36 +
1.37
1.38 lxdream_save_cppflags="$CPPFLAGS"
1.39 CPPFLAGS="$CPPFLAGS -x objective-c"
1.40 @@ -8803,6 +8819,7 @@
1.41 fi
1.42
1.43
1.44 +if test "x$with_pulse" != "xno"; then
1.45
1.46 pkg_failed=no
1.47 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
1.48 @@ -8864,22 +8881,40 @@
1.49
1.50 { $as_echo "$as_me:$LINENO: result: no" >&5
1.51 $as_echo "no" >&6; }
1.52 - true
1.53 +
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.60 + fi
1.61 +
1.62 elif test $pkg_failed = untried; then
1.63 - true
1.64 +
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.71 + fi
1.72 +
1.73 else
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.78
1.79 - HAVE_PULSE='yes'
1.80 - AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
1.81 + HAVE_PULSE='yes'
1.82 + AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
1.83
1.84 cat >>confdefs.h <<\_ACEOF
1.85 #define HAVE_PULSE 1
1.86 _ACEOF
1.87
1.88 +
1.89 +fi
1.90 fi
1.91
1.92
1.93 @@ -8892,6 +8927,7 @@
1.94 fi
1.95
1.96
1.97 +if test "x$with_esd" != "xno"; then
1.98
1.99 pkg_failed=no
1.100 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
1.101 @@ -8953,22 +8989,40 @@
1.102
1.103 { $as_echo "$as_me:$LINENO: result: no" >&5
1.104 $as_echo "no" >&6; }
1.105 - true
1.106 +
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.113 + fi
1.114 +
1.115 elif test $pkg_failed = untried; then
1.116 - true
1.117 +
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.124 + fi
1.125 +
1.126 else
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.131
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.136
1.137 cat >>confdefs.h <<\_ACEOF
1.138 #define HAVE_ESOUND 1
1.139 _ACEOF
1.140
1.141 +
1.142 +fi
1.143 fi
1.144
1.145
.