diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-04 07:07:38 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-04 07:07:38 +0000 |
commit | c2302820134379e1e4afb982a351e3d7efa95d3f (patch) | |
tree | 1d92888cc0d703132713dc2308b4edde067358fd /libstdc++-v3/acinclude.m4 | |
parent | 01ce8ed3b49d6a46d1db203c4c1db32a3fb67239 (diff) | |
download | gcc-c2302820134379e1e4afb982a351e3d7efa95d3f.tar.gz |
* acinclude.m4 (CXX): Prevent it from being cached.
* aclocal.m4, configure, */Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37245 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 987b441f874..0484e304333 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -88,7 +88,12 @@ AC_DEFUN(LIB_AC_PROG_CXX, [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl dnl Fool anybody using AC_PROG_CXX. AC_PROVIDE([AC_PROG_CXX]) -AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++, gcc) +# Use CXX_libstdcxx so that we do not cause CXX to be cached with the +# flags that come in CXX while configuring libstdc++. They're different +# from those used for all other target libraries. +AC_CHECK_PROGS(CXX_libstdcxx, "$CXX" "$CCC" c++ g++ gcc CC cxx cc++, gcc) +CXX=$CXX_libstdcxx +AC_SUBST(CXX) test -z "$CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) AC_PROG_CXX_GNU |