From a56ec2ddb183690868fa3f8c0688b307f3adb268 Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Tue, 8 Jan 2013 15:56:32 +0000 Subject: [PATCH] Bring libogg's configure.in into the 21st century. Patch by Ron Lee. svn path=/trunk/ogg/; revision=18757 --- configure.in | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 7141645..3aedbde 100644 --- a/configure.in +++ b/configure.in @@ -1,9 +1,11 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(src/framing.c) +AC_INIT([libogg],[1.3.0],[ogg-dev@xiph.org]) -AM_INIT_AUTOMAKE(libogg,1.3.0) -AM_MAINTAINER_MODE +AC_CONFIG_SRCDIR(src/framing.c) + +AM_INIT_AUTOMAKE +AM_MAINTAINER_MODE([enable]) dnl Library versioning @@ -18,9 +20,6 @@ AC_PROG_CC AM_PROG_LIBTOOL AM_PROG_CC_C_O -dnl config.h -AM_CONFIG_HEADER(config.h) - dnl Set some options based on environment cflags_save="$CFLAGS" @@ -171,7 +170,8 @@ AC_SUBST(DEBUG) AC_SUBST(CFLAGS) AC_SUBST(PROFILE) -AC_OUTPUT([ + +AC_CONFIG_FILES([ Makefile src/Makefile doc/Makefile doc/libogg/Makefile @@ -180,3 +180,6 @@ libogg.spec ogg.pc ogg-uninstalled.pc ]) +AC_CONFIG_HEADERS([config.h]) + +AC_OUTPUT