Re: bison.m4 breaks build on systems without Bison

Bruno Haible <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
Derek Robert Price wrote:
> I suggest calling AM_MISSING_PROG(YACC, bison -y) from bison.m4 rather
> than just naively setting and substing.

Why? What's the effect/benefit?

AM_MISSING_PROG is not a documented automake macro. As such, it can
disappear from any automake release without prior notice. I wouldn't
want to use such a macro.

>+       * modules/getdate (EXTRA_DIST): List getdate.c so that systems without
>+       Bison may build the object file.

Strange. For gettext, I've listed the bison-built files only in BUILT_SOURCES,
not in EXTRA_DIST, and the distributions contain these files. How come that
this doesn't work for you? Which version of automake are you using? Have
you overridden the automake generated 'distdir' target?

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.