dnl ------------------------------------------------
-AC_INIT([libvorbis],[1.2.3],[vorbis-dev@xiph.org])
+AC_INIT([libvorbis],[1.3.4],[vorbis-dev@xiph.org])
AC_CONFIG_SRCDIR([lib/mdct.c])
AC_CANONICAL_TARGET([])
-AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
+AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
-AM_CONFIG_HEADER([config.h])
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
dnl - interfaces removed -> AGE = 0
V_LIB_CURRENT=4
-V_LIB_REVISION=3
+V_LIB_REVISION=7
V_LIB_AGE=4
VF_LIB_CURRENT=6
-VF_LIB_REVISION=2
+VF_LIB_REVISION=6
VF_LIB_AGE=3
VE_LIB_CURRENT=2
-VE_LIB_REVISION=6
+VE_LIB_REVISION=10
VE_LIB_AGE=0
AC_SUBST(V_LIB_CURRENT)
AM_PROG_CC_C_O
dnl Check for doxygen
-HAVE_DOXYGEN=false
if test "x$enable_docs" = xyes; then
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
if test $HAVE_DOXYGEN = "false"; then
AC_MSG_WARN([*** doxygen not found, API documentation will not be built])
fi
+else
+ HAVE_DOXYGEN=false
fi
AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
AM_CONDITIONAL(BUILD_DOCS, [test "x$enable_docs" = xyes])
+AC_ARG_ENABLE(examples,
+ AS_HELP_STRING([--enable-examples], [build the examples]))
+
+AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$enable_examples" = xyes])
+
dnl --------------------------------------------------
dnl Set build flags based on environment
dnl --------------------------------------------------
AC_MSG_WARN([* machine. Upgrading to glibc 2.1.3 is strongly urged *])
AC_MSG_WARN([* to correct the problem. Note that upgrading glibc *])
AC_MSG_WARN([* will not fix any previously built programs; this is *])
- AC_MSG_WARN([* a compile-time time bug. *])
+ AC_MSG_WARN([* a compile-time bug. *])
AC_MSG_WARN([* To work around the problem for this build of Ogg, *])
AC_MSG_WARN([* autoconf is disabling all math inlining. This will *])
AC_MSG_WARN([* hurt Ogg performace but is necessary for an Ogg that *])
CFLAGS=${OPT}" -D__NO_MATH_INLINES"
PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
fi;;
+ powerpc-*-linux*spe)
+ DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
+ CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
+ PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
powerpc-*-linux*)
DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
dnl to be replaced if the build system has a more recent version.
AC_SUBST(LIBTOOL_DEPS)
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
m4/Makefile
lib/Makefile
lib/books/coupled/Makefile
lib/books/uncoupled/Makefile
lib/books/floor/Makefile
-doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile
+doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile doc/libvorbis/Makefile
doc/Doxyfile
include/Makefile include/vorbis/Makefile
examples/Makefile
vorbisenc-uninstalled.pc
vorbisfile-uninstalled.pc
])
+AC_CONFIG_HEADERS([config.h])
+
+AC_OUTPUT