Juan Manuel Guerrero <[EMAIL PROTECTED]> writes:

> ./bootstrap: Bootstrapping CVS bison...
> ./bootstrap: getting gnulib files...
> [snip] ...
> lib/gnulib.mk:29: AM_CPPFLAGS must be set with `=' before using `+='
> lib/Makefile.am:53:   `lib/gnulib.mk' included from here
> configure.ac: installing `build-aux/ylwrap'
> autoreconf: automake failed with exit status: 1
>
> I can send the complete output of the bootstrap script if required.
> Can someone explain me what is failing here?

Thanks for reporting this.  This comes from the following change by
Claudio Fontana which was installed yesterday into gnulib:

http://lists.gnu.org/archive/html/bug-gnulib/2006-03/msg00033.html

combined with the fact that Bison does not have an intl/ subdirectory
and doesn't use AM_CPPFLAGS.

I'd rather not complicate all the Bison builds with an unused
-I../intl flag, so I installed this workaround to the Bison bootstrap
script, but I hope there's a better way in general.  Perhaps we need
to distinguish the 'gettext' module from the 'gettext-intl' module?

2006-04-25  Paul Eggert  <[EMAIL PROTECTED]>

        * bootstrap: Comment out the AM_CPPFLAGS line, since we don't use
        that variable and the line breaks the bootstrap.  Problem reported
        by Juan M. Guerrero.

--- bootstrap   20 Jan 2006 00:45:53 -0000      1.34
+++ bootstrap   25 Apr 2006 21:02:36 -0000      1.35
@@ -237,7 +237,8 @@ esac
 ) >m4/gnulib.m4 || exit
 
 (echo '# This file is generated automatically by "bootstrap".' &&
- $GNULIB_SRCDIR/gnulib-tool --extract-automake-snippet $gnulib_modules
+ $GNULIB_SRCDIR/gnulib-tool --extract-automake-snippet $gnulib_modules |
+ sed 's/^[      ]*AM_CPPFLAGS[  ]*+=/# (commented out by bootstrap) &/'
 ) >lib/gnulib.mk || exit
 
 


Reply via email to