summaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-05 02:38:53 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-05 02:38:53 +0000
commit33254cff5f2290565a5076c22b3b27e5e5c1f356 (patch)
tree0836a85d8e1781af7ca14fba92d9ddf17ed37446 /libstdc++-v3/aclocal.m4
parentc27d21bb03b3046128b30144cac859a981378382 (diff)
downloadgcc-33254cff5f2290565a5076c22b3b27e5e5c1f356.tar.gz
* acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* aclocal.m4: Regenerated. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r--libstdc++-v3/aclocal.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index 6c8081365a4..73a8c4a6443 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -102,7 +102,9 @@ dnl Fool anybody using AC_PROG_CXX.
AC_PROVIDE([AC_PROG_CXX])
# 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.
+# from those used for all other target libraries. If CXX is set in
+# the environment, respect that here.
+CXX_libstdcxx=$CXX
AC_CHECK_PROGS(CXX_libstdcxx, "$CXX" "$CCC" c++ g++ gcc CC cxx cc++, gcc)
CXX=$CXX_libstdcxx
AC_SUBST(CXX)