1 AC_INIT(src/flac/main.c)
2 AM_INIT_AUTOMAKE(flac, 0.6)
4 # We need two libtools, one that builds both shared and static, and
5 # one that builds only static. This is because the resulting libtool
6 # does not allow us to choose which to build at runtime.
8 sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
9 chmod +x libtool-disable-static
14 [ --enable-debug Turn on debugging],
15 [case "${enableval}" in
18 *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
20 AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
22 AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built]))
23 AM_CONDITIONAL(XMMS, test x$XMMS_INPUT_PLUGIN_DIR != x)
25 CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
26 if test x$debug = xtrue; then
27 CFLAGS="$CFLAGS -g -O0 -DDEBUG"
29 CFLAGS="$CFLAGS -O3 -DNDEBUG"
34 src/libFLAC/Makefile \
36 src/plugin_xmms/Makefile \
37 src/test_streams/Makefile \
38 src/test_unit/Makefile \