From c2d554258995afd79228f6d0296d4093730cb5bd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 18 May 2009 14:45:41 -0400 Subject: Enable automake builds for libreplace --- replace/configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'replace/configure.ac') diff --git a/replace/configure.ac b/replace/configure.ac index 0361825a..c90e2a43 100644 --- a/replace/configure.ac +++ b/replace/configure.ac @@ -1,8 +1,10 @@ AC_PREREQ(2.50) -AC_INIT(replace.c) +AC_INIT([libreplace], [0.0]) AC_CONFIG_SRCDIR([replace.c]) AC_CONFIG_HEADER(config.h) - +AC_CONFIG_AUX_DIR([build]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) +AC_PROG_RANLIB CFLAGS="$CFLAGS -I$srcdir" AC_LIBREPLACE_ALL_CHECKS @@ -30,4 +32,6 @@ AC_SUBST(LIBS) AC_SUBST(LDFLAGS) -AC_OUTPUT(Makefile) +AC_CONFIG_FILES([Makefile]) + +AC_OUTPUT -- cgit