Re: autoreconf: g++ compiler options in configure.ac
- From: William Pursell <bill.pursell@xxxxxxxxx>
- Date: Sun, 23 Mar 2008 04:33:29 -0700 (PDT)
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.
.
- References:
- autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- autoreconf: g++ compiler options in configure.ac
- Prev by Date: Re: autoreconf: g++ compiler options in configure.ac
- Next by Date: Trouble writing background-running program
- Previous by thread: Re: autoreconf: g++ compiler options in configure.ac
- Next by thread: A few places left at Embedded Linux Workshop
- Index(es):