* 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 c3555a7..20e7124 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 e2a7f97..5357470 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