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

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

AM_INIT_AUTOMAKE calls in gettext need square brackets around args?


From: amores perros
Subject: AM_INIT_AUTOMAKE calls in gettext need square brackets around args?
Date: Sat, 12 May 2007 23:26:07 +0000

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 `ge
ttext-tools,'
.../../gettext-tools/configure: line 1754: `AM_INIT_AUTOMAKE(gettext-tools, $VERS
ION_NUMBER)'
configure: error: ../../gettext-tools/configure failed for gettext-tools

== END QUOTE

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])



From that aforementioned web page, it sounds like various other
macro calls in the configure.ac file should have square brackets
wrapped around their arguments -- but I don't know m4, so I'm
not positive.

_________________________________________________________________
Catch suspicious messages before you open them—with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_protection_0507





reply via email to

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