I believe that I have all the necessary tools and sources, including the latest sources of bison from its git repository.
When I run ./bootstrap I get the following error:
lib/local.mk:19: error: lib_libbison_a_SOURCES must be set with '=' before using '+='
Makefile.am:60: 'lib/local.mk' included from here
lib/local.mk:19: warning: variable 'lib_libbison_a_SOURCES' is defined but no program or
lib/local.mk:19: library has 'lib_libbison_a' as canonical name (possible typo)
Makefile.am:60: 'lib/local.mk' included from here
autoreconf-2.69: automake failed with exit status: 1
./bootstrap: autoreconf failed
Looking at the sources reveals that lib/local.mk includes lib/gnulib.mk before line 19 (the first line in the error message above). lib/gnulib.mk is a generated file. It has, for example:
libbison_a_SOURCES =
libbison_a_LIBADD = $(gl_LIBOBJS)
libbison_a_DEPENDENCIES = $(gl_LIBOBJS)
EXTRA_libbison_a_SOURCES =
while lib/local.mk has:
lib_libbison_a_SOURCES += \
so, there is an missing "lib_" in the generated file (or an extra "lib_" in the fixed source).
Any idea how to overcome this problem?t