[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building same source with different flag
From: |
Alexandre Duret-Lutz |
Subject: |
Re: building same source with different flag |
Date: |
06 Jan 2002 19:59:55 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>> "Ted" == Ted Irons <address@hidden> 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