diff --git a/ChangeLog b/ChangeLog index f11cd0a..629ce9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ Mon Mar 28 21:31:36 CST 2005 Jeff Smith * acinclude.m4: * src/util/Makefile.am: Only mdb-sql depends on readline + * autogen.sh: + * configure.in: Update some autotools macros Sun Mar 27 21:32:00 CST 2005 Jeff Smith * src/libmdb/file.c: Fix segfault on file-not-found diff --git a/autogen.sh b/autogen.sh index b163b04..3ce036f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -18,7 +18,7 @@ DIE=0 DIE=1 } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^A[CM]_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -123,13 +123,13 @@ do echo "Making $dr/aclocal.m4 writable ..." test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi - if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^A[CM]_PROG_LIBTOOL" configure.in >/dev/null; then echo "Running libtoolize..." libtoolize --force --copy fi echo "Running aclocal $aclocalinclude ..." aclocal $aclocalinclude - if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then + if grep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null; then echo "Running autoheader..." autoheader fi diff --git a/configure.in b/configure.in index cd05247..40691de 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/extras/mdb-dump.c) AM_INIT_AUTOMAKE(mdbtools,0.6pre1) -AM_CONFIG_HEADER(include/config.h) +AC_CONFIG_HEADERS(include/config.h) AC_PROG_CC(gcc) dnl Checks for programs. @@ -161,16 +161,9 @@ fi AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) - - dnl Checks for library functions. - -OLDLDFLAGS=$LDFLAGS - VL_LIB_READLINE -LDFLAGS=$OLDLDFLAGS - localedir=${datadir}/locale AC_SUBST(localedir)