* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
authorDJ Delorie <dj@redhat.com>
Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

ChangeLog
configure.in

index 81415dcfd708a1a2c33542577d0ebfed9f390f58..29b31e3a617c77563d72b559c8ed8299c7b3955c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-08-07  DJ Delorie  <dj@redhat.com>
+
+       * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
+       "if we're also building gcc, and it's a gcc that will run on the
+       build machine, we want to use its includes instead of the system's
+       default includes".
+
 2000-08-03  Alexandre Oliva  <aoliva@redhat.com>
 
        * configure.in (libstdcxx_flags): Don't use `"'.
index eed073df2b833330adc94f09121f415838131a29..49f81741e371438c18be50ce61933aebb300b6ce 100644 (file)
@@ -1240,7 +1240,7 @@ case " $skipdirs " in
    # If we're using a pre-built compiler (which is the case for
    # Canadian crosses or when gcc isn't being built), don't discard
    # standard headers.
-   if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
+   if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
    fi