bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AM_INIT_AUTOMAKE calls in gettext need square brackets around args?


From: Bruno Haible
Subject: Re: AM_INIT_AUTOMAKE calls in gettext need square brackets around args?
Date: Sun, 13 May 2007 03:33:39 +0200
User-agent: KMail/1.5.4

Perry Rapp wrote:
> Further along in trying to autobuild gettext from cvs,
> (and using automake 1.10 and autoconf-2.61)
> I got this error:
> 
> == BEGIN QUOTE
> 
> .../../gettext-tools/configure: line 1754: syntax error near unexpected token 
>  `gettext-tools,'
> .../../gettext-tools/configure: line 1754: `AM_INIT_AUTOMAKE(gettext-tools, 
> $VERSION_NUMBER)'
> configure: error: ../../gettext-tools/configure failed for gettext-tools
> 
> == END QUOTE

This indicates that your installation of autoconf does not find the macros
installed by automake.

There are also a few other prerequisites; see the comments in gettext's
autogen.sh.

> Based on this web page
> 
>   
> http://www.gnu.org/software/autoconf/manual/autoconf.html#Macro-Definitions
> 
> I suspect that the arguments to AM_INIT_AUTOMAKE in the file
>   ./gettext-tools/configure.ac
> should have square brackets added around them, e.g., from this
> 
> AM_INIT_AUTOMAKE(gettext-tools, $VERSION_NUMBER)
> 
> 
> to one of the following two (I'm not sure which):
> 
> AM_INIT_AUTOMAKE([gettext-tools], $VERSION_NUMBER)
> 
> or
> 
> AM_INIT_AUTOMAKE([gettext-tools], [$VERSION_NUMBER])

This is harmless. It cannot be the cause of the error that you got.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]