new tester for testing PICTURE specification parsing
[platform/upstream/flac.git] / configure.in
index b5f26ac..30ac4d6 100644 (file)
@@ -19,8 +19,7 @@
 # instead of FLAC__ since autoconf triggers off 'AC_' in strings
 
 AC_INIT(src/flac/main.c)
-#@@@@@@AM_INIT_AUTOMAKE(flac, 1.1.2)
-AM_INIT_AUTOMAKE(flac, CVS)
+AM_INIT_AUTOMAKE(flac, 1.1.3)
 
 # Don't automagically regenerate autoconf/automake generated files unless
 # explicitly requested.  Eases autobuilding -mdz
@@ -152,15 +151,6 @@ AC_DEFINE(FLAC__USE_ALTIVEC)
 AH_TEMPLATE(FLAC__USE_ALTIVEC, [define to enable use of Altivec instructions])
 fi
 
-AC_ARG_ENABLE(local-xmms-plugin,
-AC_HELP_STRING([--enable-local-xmms-plugin], [Install XMMS plugin to ~/.xmms/Plugins instead of system location]),
-[case "${enableval}" in
-       yes) install_xmms_plugin_locally=true ;;
-       no)  install_xmms_plugin_locally=false ;;
-       *) AC_MSG_ERROR(bad value ${enableval} for --enable-local-xmms-plugin) ;;
-esac],[install_xmms_plugin_locally=false])
-AM_CONDITIONAL(FLaC__INSTALL_XMMS_PLUGIN_LOCALLY, test "x$install_xmms_plugin_locally" = xtrue)
-
 AC_ARG_ENABLE(thorough-tests,
 AC_HELP_STRING([--disable-thorough-tests], [Disable thorough (long) testing, do only basic tests]),
 [case "${enableval}" in
@@ -200,11 +190,32 @@ AC_HELP_STRING([--disable-doxygen-docs], [Disable API documentation building via
        no)  enable_doxygen_docs=false ;;
        *) AC_MSG_ERROR(bad value ${enableval} for --enable-doxygen-docs) ;;
 esac],[enable_doxygen_docs=true])
-if test "x$enable_doxygen_docs" != xno ; then
+if test "x$enable_doxygen_docs" != xfalse ; then
        AC_CHECK_PROGS(DOXYGEN, doxygen)
 fi
 AM_CONDITIONAL(FLaC__HAS_DOXYGEN, test -n "$DOXYGEN")
 
+AC_ARG_ENABLE(local-xmms-plugin,
+AC_HELP_STRING([--enable-local-xmms-plugin], [Install XMMS plugin to ~/.xmms/Plugins instead of system location]),
+[case "${enableval}" in
+       yes) install_xmms_plugin_locally=true ;;
+       no)  install_xmms_plugin_locally=false ;;
+       *) AC_MSG_ERROR(bad value ${enableval} for --enable-local-xmms-plugin) ;;
+esac],[install_xmms_plugin_locally=false])
+AM_CONDITIONAL(FLaC__INSTALL_XMMS_PLUGIN_LOCALLY, test "x$install_xmms_plugin_locally" = xtrue)
+
+AC_ARG_ENABLE(xmms-plugin,
+AC_HELP_STRING([--disable-xmms-plugin], [Do not build XMMS plugin]),
+[case "${enableval}" in
+       yes) enable_xmms_plugin=true ;;
+       no)  enable_xmms_plugin=false ;;
+       *) AC_MSG_ERROR(bad value ${enableval} for --enable-xmms-plugin) ;;
+esac],[enable_xmms_plugin=true])
+if test "x$enable_xmms_plugin" != xfalse ; then
+       AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - XMMS support will not be built]))
+fi
+AM_CONDITIONAL(FLaC__HAS_XMMS, test -n "$XMMS_INPUT_PLUGIN_DIR")
+
 dnl check for ogg library
 XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built]))
 AM_CONDITIONAL(FLaC__HAS_OGG, [test "x$have_ogg" = xyes])
@@ -213,9 +224,6 @@ AC_DEFINE(FLAC__HAS_OGG)
 AH_TEMPLATE(FLAC__HAS_OGG, [define if you have the ogg library])
 fi
 
-AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built]))
-AM_CONDITIONAL(FLaC__HAS_XMMS, test -n "$XMMS_INPUT_PLUGIN_DIR")
-
 dnl check for i18n(internationalization); these are from libiconv/gettext
 AM_ICONV
 AM_LANGINFO_CODESET
@@ -306,6 +314,7 @@ AC_CONFIG_FILES([ \
        src/share/utf8/Makefile \
        src/test_grabbag/Makefile \
        src/test_grabbag/cuesheet/Makefile \
+       src/test_libs_common/Makefile \
        src/test_libFLAC/Makefile \
        src/test_libFLAC++/Makefile \
        src/test_libOggFLAC/Makefile \
@@ -319,6 +328,7 @@ AC_CONFIG_FILES([ \
        include/OggFLAC++/Makefile \
        include/share/Makefile \
        include/share/grabbag/Makefile \
+       include/test_libs_common/Makefile \
        doc/Makefile \
        doc/html/Makefile \
        doc/html/images/Makefile \
@@ -326,6 +336,8 @@ AC_CONFIG_FILES([ \
        man/Makefile \
        test/Makefile \
        test/cuesheets/Makefile \
+       test/flac-to-flac-metadata-test-files/Makefile \
+       test/metaflac-test-files/Makefile \
        build/Makefile \
        obj/Makefile \
        obj/debug/Makefile \