[GiNaC-devel] Build issues (Was: Simplifying powers)

Richard B. Kreckel kreckel at ginac.de
Tue Aug 6 00:39:00 CEST 2013


Hi,

On 08/01/2013 04:09 PM, Alexei Sheplyakov wrote:
> Apparently automake 1.11 and 1.13  (or rather the Makefiles they
> generate) use different conventions regarding the naming of the header
> files built by bison/yacc. Automake 1.11 uses *.h for both C and C++
> headers, and automake 1.13 names C headers as *.h and C++ ones as
> *.hpp. By the way, renaming the sources (*.yy -> *.ypp) seems to have
> no effect at all (I guess the change which actually fixed the automake
> 1.13 build was `#include "ginsh_parser.hpp"').
> 
> Hence we need to convince automake 1.13 to produce ginsh_parser.h from
> ginsh_parser.{yy,ypp}, or the other way around -- convince the older
> versions of automake to produce ginsh_parser.hpp file.

Confirmed: It works with automake 1.13 now, but fails with 1.11. I
thought this had been broken before - strange. I was referring to
<http://www.gnu.org/software/automake/manual/html_node/Yacc-and-Lex.html> when
I renamed the files.

Was this an intentional change in automake? Is it worth retaining 1.11?

  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the GiNaC-devel mailing list