From f6b3a075559383394b487440ea443f3963b03c08 Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Tue, 8 Jan 2013 16:58:50 +0000 Subject: [PATCH] Bring libvorbis's configure.in into the 21st century. Patch by Ron Lee. svn path=/trunk/vorbis/; revision=18762 --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 55eccdb..9822c77 100644 --- a/configure.ac +++ b/configure.ac @@ -11,9 +11,8 @@ 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") @@ -160,7 +159,7 @@ else 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 *]) @@ -272,7 +271,7 @@ dnl The following line causes the libtool distributed with the source 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 @@ -295,3 +294,6 @@ vorbis-uninstalled.pc vorbisenc-uninstalled.pc vorbisfile-uninstalled.pc ]) +AC_CONFIG_HEADERS([config.h]) + +AC_OUTPUT -- 2.7.4