Re: autoreconf: g++ compiler options in configure.ac



On Mar 21, 11:08 pm, markhob...@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Mark
Hobley) wrote:
I am using autoreconf to generate a configure script, and I need to
modify the g++ compiler options. I have added the following line to the
configure.ac file:

AM_CXXFLAGS="-DUSE_TERMIO -DKLUDGELINEMODE"



Those should not be in AM_CXXFLAGS but it AM_CPPFLAGS (since
any -D directives go to the pre-processor, not the compiler), and
that line belongs in Makefile.am rather than in configure.ac.

.