autoreconf: g++ compiler options in configure.ac
- From: markhobley@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Mark Hobley)
- Date: Fri, 21 Mar 2008 23:08:06 GMT
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"
I now regenerate the build files using:
autoreconf --install
When I run the configure script, I was expecting to see the compiler
flags above, but they are not being used by the configure script, which
is using parameters as follows:
g++ -DHAVE_CONFIG_H -I. -I.. -I../../src -g -O2 -MT terminal.o -MD -MP
-MF .deps/terminal.Tpo -c -o terminal.o ../../src/terminal.cc
How do I make the revised compiler flags take effect?
Thanks in advance to anyone who can help.
Mark.
--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
.
- Follow-Ups:
- Re: autoreconf: g++ compiler options in configure.ac
- From: William Pursell
- Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz
- Re: autoreconf: g++ compiler options in configure.ac
- Prev by Date: Re: g++ -D compiler options
- Next by Date: Re: g++ -D compiler options
- Previous by thread: g++ -D compiler options
- Next by thread: Re: autoreconf: g++ compiler options in configure.ac
- Index(es):
Relevant Pages
|