|
From: <oli...@on...> - 2005-01-17 09:28:09
|
I checked out the latest CVS and got the following error, when running autoconf: configure.in:258: error: possibly undefined macro: AS_HELP_STRING |
|
From: David E. <tw...@us...> - 2005-01-17 09:53:30
|
On Mon, 2005-01-17 at 10:26 +0100, oli...@on... wrote: > I checked out the latest CVS and got the following error, when running > autoconf: > > configure.in:258: error: possibly undefined macro: AS_HELP_STRING Try to change AS_HELP_STRING to AC_HELP_STRING (AS -> AC). I don't know where AS_HELP_STRING comes from, but AC_HELP_STRING is included with autoconf: http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_132.html -- Regards, -\- David Eriksson -/- SynCE - http://synce.sourceforge.net ScummVM - http://scummvm.sourceforge.net Desquirr - http://desquirr.sourceforge.net |
|
From: Tom H. <th...@cy...> - 2005-01-17 10:38:45
|
In message <110...@zi...>
David Eriksson <tw...@us...> wrote:
> On Mon, 2005-01-17 at 10:26 +0100, oli...@on... wrote:
>> I checked out the latest CVS and got the following error, when running
>> autoconf:
>>
>> configure.in:258: error: possibly undefined macro: AS_HELP_STRING
>
> Try to change AS_HELP_STRING to AC_HELP_STRING (AS -> AC).
>
> I don't know where AS_HELP_STRING comes from, but AC_HELP_STRING is
> included with autoconf:
>
> http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_132.html
So is AS_HELP_STRING if you use a recent version of autoconf.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
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
|
|
From: Tom H. <th...@cy...> - 2005-01-18 00:17:32
|
In message <slrncuntgf.eau.olly@roadkill.localnet>
Olly Betts <ol...@su...> wrote:
> 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):
Thanks for that. I've committed it now.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Olly B. <ol...@su...> - 2005-01-18 01:36:57
|
On 2005-01-17, Olly Betts <ol...@su...> wrote:
> Here's a patch against CVS HEAD:
Hmm actually, it's against CVS HEAD for the old valgrind CVS on
sourceforge. But it should be obvious how to apply it.
Cheers,
Olly
|
|
From: David E. <tw...@us...> - 2005-01-17 09:59:26
|
On Mon, 2005-01-17 at 10:26 +0100, oli...@on... wrote:
> I checked out the latest CVS and got the following error, when running
> autoconf:
>
> configure.in:258: error: possibly undefined macro: AS_HELP_STRING
Sorry about my previous mail; ignore it!
The solution is to upgrade autoconf to 2.59. (I think.)
--
Regards,
-\- David Eriksson -/-
SynCE - http://synce.sourceforge.net
ScummVM - http://scummvm.sourceforge.net
Desquirr - http://desquirr.sourceforge.net
|