From 6fb858d50c39f1d1d10565ba04ff1f6bfabca72c Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Wed, 16 Jun 2004 17:14:20 +0000 Subject: [PATCH] move package and version args to AC_INIT as is now recommended. This also requires m4_esyscmd to read GUILE-VERSION given the way AC_INIT handles its args. Also move "foreign" indication here. --- guile-readline/configure.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/guile-readline/configure.in b/guile-readline/configure.in index e9325ea3c..18cbe8d47 100644 --- a/guile-readline/configure.in +++ b/guile-readline/configure.in @@ -1,10 +1,11 @@ AC_PREREQ(2.50) -AC_INIT -AC_CONFIG_SRCDIR([readline.c]) +AC_INIT(guile-readline, + m4_esyscmd(. ../GUILE-VERSION && echo -n ${GUILE_VERSION})) +AC_CONFIG_SRCDIR(readline.c) +AM_INIT_AUTOMAKE([foreign no-define]) + . $srcdir/../GUILE-VERSION -PACKAGE=guile-readline -AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) AC_PROG_INSTALL AC_PROG_CC @@ -138,5 +139,5 @@ AC_SUBST(LIBGUILEREADLINE_INTERFACE) AC_SUBST(GUILE_EFFECTIVE_VERSION) -AC_CONFIG_FILES(Makefile) +AC_CONFIG_FILES(Makefile ice-9/Makefile) AC_OUTPUT