|
From: Olly B. <ol...@su...> - 2005-01-17 17:29:59
|
On 2005-01-17, Tom Hughes <th...@cy...> wrote:
> So is AS_HELP_STRING if you use a recent version of autoconf.
Since a minimum autoconf version is required, configure.in should really
indicate which using AC_PREREQ. If it doesn't work with autoconf
2.57, then 2.59 is the sensible version to require (2.59 was released
the same day as 2.58 which strongly suggests 2.58 was rather broken).
2.59 is the latest.
Here's a patch against CVS HEAD:
Index: configure.in
===================================================================
RCS file: /cvsroot/valgrind/valgrind/configure.in,v
retrieving revision 1.97
diff -p -u -r1.97 configure.in
--- configure.in 18 Oct 2003 14:05:42 -0000 1.97
+++ configure.in 17 Jan 2005 17:24:43 -0000
@@ -1,4 +1,5 @@
# Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.59)
AC_INIT(coregrind/vg_main.c) # give me a source file, any source file...
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(valgrind, 20030725)
With this patch in place, you'll get an error like this if your autoconf
is too old (this is what 2.53 says):
configure.in:2: error: Autoconf version 2.59 or higher is required
configure.in:2: the top level
Cheers,
Olly
|