autoreconf: g++ compiler options in configure.ac



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.
.



Relevant Pages

  • Re: Bash 2.05 and SCO OpenServer 5.0.6
    ... > compiler (I've spent many hours researching, changing assemblers, ... I doubt you really need bash. ... I have not seen a script that didn't work in ksh with only the ... You can even copy the .kshrc and .profile ...
    (comp.unix.sco.misc)
  • IFC 7.1 GenuineIntel check: workaround
    ... to modify this script to do that. ... # A short program to patch the 'libirc.a' file from the Intel Fortran Compiler ... Some versions of the Intel Fortran Compiler produce code which checks whether ...
    (comp.lang.fortran)
  • Re: Cross-compiling =?ISO-8859-1?Q?f=FCr_Win32?=
    ... in den letzten Tagen habe ich ein nettes Script aus dem Boden ... | a nice MinGW cross compiling environment. ... Windows)? ... Ich muss einen eigenen gcc (c++ compiler) erstellen, ...
    (de.comp.os.unix.programming)
  • Re: How do I make a program in Common Lisp?
    ... script. ... Common Lisp doesn't provide a way of generating applications. ... It is locked to a architecture and a that compiler. ... SBCL and CLISP provide ways of making the compiler load with the program ...
    (comp.lang.lisp)
  • Re: Need help writing a script
    ... Select All emails in that folder ... I know how to capture the low-level packet traffic for a manual session, so I think I can pin down WHAT to send, but I don't know how to send it, or how to write a script that would do these things automatically. ... Someone has already posted such a script at Cox, but it requires installing Perl, and then installing the C++ compiler to compile a special Perl plugin, and while I really appreciate what he's done, I was kinda hoping there was a more accessible way to do this, perhaps involving a built-in scripting language in XP. ...
    (microsoft.public.windowsxp.general)