|
Line
Link Here
|
| 0 |
-- configure.ac |
0 |
++ configure.ac.edit |
|
Lines 19-24
Link Here
|
| 19 |
AC_ARG_ENABLE(sndfile, [ --enable-sndfile use libsndfile for decoding audio files [default=yes]], , enable_sndfile=yes) |
19 |
AC_ARG_ENABLE(sndfile, [ --enable-sndfile use libsndfile for decoding audio files [default=yes]], , enable_sndfile=yes) |
| 20 |
AC_ARG_ENABLE(vorbis, [ --enable-vorbis enable ogg/vorbis music playback [default=yes]], , enable_vorbis=yes) |
20 |
AC_ARG_ENABLE(vorbis, [ --enable-vorbis enable ogg/vorbis music playback [default=yes]], , enable_vorbis=yes) |
| 21 |
AC_ARG_ENABLE(lua, [ --enable-lua use built-in Lua scripting [default=yes]], , enable_lua=yes) |
21 |
AC_ARG_ENABLE(lua, [ --enable-lua use built-in Lua scripting [default=yes]], , enable_lua=yes) |
|
|
22 |
AC_ARG_ENABLE(speex, , , enable_speex=yes) |
| 22 |
|
23 |
|
| 23 |
dnl Checks for programs. |
24 |
dnl Checks for programs. |
| 24 |
AC_PROG_CC |
25 |
AC_PROG_CC |
|
Lines 128-140
Link Here
|
| 128 |
AC_DEFINE(HAVE_LUA, 1, [Lua support is enabled]) |
129 |
AC_DEFINE(HAVE_LUA, 1, [Lua support is enabled]) |
| 129 |
fi |
130 |
fi |
| 130 |
|
131 |
|
|
|
132 |
if [[ "x$enable_speex" = "xyes" ]]; then |
| 131 |
dnl Check for Speex |
133 |
dnl Check for Speex |
|
|
134 |
CPPFLAGS="$CPPFLAGS -I/usr/include/speex" |
| 132 |
AC_CHECK_HEADERS(speex/speex.h, [ |
135 |
AC_CHECK_HEADERS(speex/speex.h, [ |
| 133 |
AC_CHECK_LIB(speex, speex_decoder_init, [ |
136 |
AC_CHECK_LIB(speex, speex_decoder_init, [ |
| 134 |
LIBS="-lspeex $LIBS" |
137 |
LIBS="-lspeex $LIBS" |
| 135 |
AC_DEFINE(SPEEX, 1, [Speex support is enabled]) |
138 |
AC_DEFINE(SPEEX, 1, [Speex support is enabled]) |
| 136 |
]) |
139 |
]) |
| 137 |
]) |
140 |
]) |
|
|
141 |
fi |
| 138 |
|
142 |
|
| 139 |
dnl Check for ALSA |
143 |
dnl Check for ALSA |
| 140 |
AC_CHECK_HEADERS([alsa/asoundlib.h], [ |
144 |
AC_CHECK_HEADERS([alsa/asoundlib.h], [ |