This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] automake mass update, 2 of 2
This patch updates automake to 1.8.5 for boehm-gc, zlib, libffi,
libmudflap, and removes useless multilibs code for libstdc++-v3.
[...]
I just noticed that libmudflap is marked as a 2.13 configure directory,
but uses m4sugar (i.e. macros like m4_rename) and so it actually
requires 2.5x! The current configure script, indeed, is generated with
2.57.
What about this patch to update libmudflap's configury style? This one
is independent of the other patch, which I won't apply for the moment
until I get a wider approval.
Regenerating the old configure.in and diffing with the patched one only
shows whitespace or cosmetic changes (e.g. "configure --help" shows
"libmudflap 1.0 configure").
Paolo
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: New name of configure.in; update AC_INIT,
AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES, AC_OUTPUT,
AM_INIT_AUTOMAKE invocation to the preferred style for Autoconf
2.5x and Automake 1.7 or later.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/configure.in,v
retrieving revision 1.6
diff -u -r1.6 configure.in
--- configure.in 9 Jun 2004 19:04:54 -0000 1.6
+++ configure.in 15 Jun 2004 13:38:32 -0000
@@ -1,12 +1,13 @@
# Process this file with autoconf to produce a configure script, like so:
# aclocal && autoconf && autoheader && automake
-AC_PREREQ(2.13)
-AC_INIT(mf-runtime.c)
+AC_PREREQ(2.59)
+AC_INIT(libmudflap, 1.0)
+AC_CONFIG_SRCDIR(mf-runtime.c)
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(libmudflap, 1.0)
-AC_SUBST(PACKAGE)
+AM_INIT_AUTOMAKE
+
# For libtool versioning info, format is CURRENT:REVISION:AGE
libtool_VERSION=1:0:0
AC_SUBST(libtool_VERSION)
@@ -30,7 +31,7 @@
target_alias=${target_alias-$target}
AC_SUBST(target_alias)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_LANG_C
# The same as in boehm-gc and libstdc++. Have to borrow it from there.
@@ -235,4 +236,5 @@
multilib_arg=
fi
-AC_OUTPUT([Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h])
+AC_CONFIG_FILES([Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h])
+AC_OUTPUT