This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building same source with different flag


>>> "Ted" == Ted Irons <ironst@saic.com> writes:

[...]
 Ted> if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 Ted> echo $ECHO_N "(cached) $ECHO_C" >&6
 Ted> else
 Ted> lt_cv_prog_compiler_c_o_CXX=no
[...]
 Ted> save_CFLAGS="$CFLAGS"
 Ted> CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
[...]

 Ted> If I change the CFLAGS to CXXFLAGS in configure the
 Ted> configure output gives "g++ supports -c -o file.o
 Ted> ... yes"; otherwise the answer given is no.  Incidentally,
 Ted> configure does a prior check of gcc with -c and -o, and
 Ted> that passes.

 Ted> I have no idea why the configure check is using CFLAGS instead of
 Ted> CXXFLAGS.  I changed the CXXFLAGS in ACX_CXXCOMPILE to
 Ted> AM_CXXFLAGS,  but that made no difference.

It seems this was fixed a few days after libtool 1.4b was
announced.  Can you try CVS libtool?

[...]

-- 
Alexandre Duret-Lutz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]