* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)
ChangeLog
configure.in

index c3555a7d7c019d692923cde2aae30c1a8190e65d..20e7124dd6e25cfdb466f3a908cb791d0fd9623e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
+
 2001-03-23  Nick Clifton  <nickc@redhat.com>
 
        * README-maintainer-mode: Add note about inability to use "make
index e2a7f979410c7462f3ce07f3ebab37cf7172d4a0..5357470020a1c3f72eca89f29aa758938842391d 100644 (file)
@@ -1374,7 +1374,7 @@ esac
 if test "x${CXX_FOR_TARGET+set}" = xset; then
   :
 elif test -d ${topsrcdir}/gcc; then
-  CXX_FOR_TARGET='$$r/gcc/g++ -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
+  CXX_FOR_TARGET='$$r/gcc/`case $$dir in libstdc++-v3) echo xgcc ;; *) echo g++ ;; esac` -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
 elif test "$host" = "$target"; then
   CXX_FOR_TARGET='$(CXX)'
 else