What is the blessed version of autoconf/automake?
Daniel Jacobowitz
drow@mvista.com
Fri Jun 6 13:14:00 GMT 2003
On Thu, Jun 05, 2003 at 09:02:27PM -0700, Doug Evans wrote:
> Hans-Peter Nilsson writes:
> > On Wed, 4 Jun 2003, Doug Evans wrote:
> > > If I generate aclocal.m4 with the aclocal from automake-000227.tar.bz2
> > > and then use the autoconf from autoconf-000227.tar.bz2 I get the
> > > above errors.
> >
> > Just another me-too here. I've signalled this issue before but
> > given up, so I just find+touch all aclocal.m4 after an update
> > and luckily hasn't had to *really* regen aclocal.m4 yet.
> >
> > Wishful thinking has it that it'll all be solved with the
> > automake flag day that's been discussed.
>
> Excellent. More sufferers. :-)
>
> I wonder if someone who uses automake-0002227.tar.bz2 and
> autoconf-000227.tar.bz2 could
>
> cd src/bfd
> aclocal
> autoconf
>
> and either report that it didn't work when they expected it would,
> or if it does work send me the resultant aclocal.m4.
Works perfectly well. Here's the diff from current aclocal.m4 in CVS:
--- o/aclocal.m4 2003-06-06 09:12:43.000000000 -0400
+++ aclocal.m4 2003-06-06 09:13:03.000000000 -0400
@@ -1,6 +1,6 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4-p5
+dnl aclocal.m4 generated automatically by aclocal 1.4
-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -162,7 +162,7 @@
# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
+AC_DEFUN(AM_CONDITIONAL,
[AC_SUBST($1_TRUE)
AC_SUBST($1_FALSE)
if $2; then
@@ -173,24 +173,6 @@
$1_FALSE=
fi])
-#serial 1
-# This test replaces the one in autoconf.
-# Currently this macro should have the same name as the autoconf macro
-# because gettext's gettext.m4 (distributed in the automake package)
-# still uses it. Otherwise, the use in gettext.m4 makes autoheader
-# give these diagnostics:
-# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
-# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
-
-undefine([AC_ISC_POSIX])
-
-AC_DEFUN([AC_ISC_POSIX],
- [
- dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
- AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
- ]
-)
-
# Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.
@@ -200,7 +182,7 @@
dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
-AC_DEFUN([AM_INIT_AUTOMAKE],
+AC_DEFUN(AM_INIT_AUTOMAKE,
[AC_REQUIRE([AC_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
@@ -228,7 +210,7 @@
# Check to make sure that the build environment is sane.
#
-AC_DEFUN([AM_SANITY_CHECK],
+AC_DEFUN(AM_SANITY_CHECK,
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
@@ -269,7 +251,7 @@
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
-AC_DEFUN([AM_MISSING_PROG],
+AC_DEFUN(AM_MISSING_PROG,
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
@@ -285,7 +267,7 @@
# Like AC_CONFIG_HEADER, but automatically create stamp file.
-AC_DEFUN([AM_CONFIG_HEADER],
+AC_DEFUN(AM_CONFIG_HEADER,
[AC_PREREQ([2.12])
AC_CONFIG_HEADER([$1])
dnl When config.status generates a header, we must update the stamp-h file.
@@ -311,7 +293,7 @@
# serial 1
-AC_DEFUN([AM_MAINTAINER_MODE],
+AC_DEFUN(AM_MAINTAINER_MODE,
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode,
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Binutils
mailing list