]> gcc.gnu.org Git - gcc.git/commitdiff
Index: ChangeLog
authorGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 21 Aug 2003 02:19:33 +0000 (02:19 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 21 Aug 2003 02:19:33 +0000 (02:19 +0000)
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.

Index: gcc/ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.

From-SVN: r70634

ChangeLog
configure.in
gcc/ChangeLog
gcc/configure
gcc/configure.in

index fa9d2939cf1876e048e3122983529f46cf200499..cc1f34cbfea944c696b48f5af37f8c7586d22848 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-08-20  Geoffrey Keating  <geoffk@apple.com>
 
+       PR 8180
+       * configure.in: When testing with_libs and with_headers, treat
+       'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
+       * configure: Regenerate.
+       
        * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for
        make, shell, etc.
        (baseargs): Likewise.
index b30f5242e715efe39eb099ad944f5af68c280e45..5c461fc804947f59398cece830bc91f65621f8a9 100644 (file)
@@ -253,7 +253,8 @@ esac
 
 # If both --with-headers and --with-libs are specified, default to
 # --without-newlib.
-if test x"${with_headers}" != x && test x"${with_libs}" != x ; then
+if test x"${with_headers}" != x && test x"${with_headers} != xno \
+   && test x"${with_libs}" != x && test x"${with_libs} != xno ; then
   if test x"${with_newlib}" = x ; then
     with_newlib=no
   fi
@@ -937,7 +938,7 @@ copy_dirs=
 
 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
 # the named directory are copied to $(tooldir)/sys-include.
-if test x"${with_headers}" != x ; then
+if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   if test x${is_cross_compiler} = xno ; then
     echo 1>&2 '***' --with-headers is only supported when cross compiling
     exit 1
@@ -954,7 +955,7 @@ fi
 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
 # the name directories are copied to $(tooldir)/lib.  Multiple directories
 # are permitted.
-if test x"${with_libs}" != x ; then
+if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   if test x${is_cross_compiler} = xno ; then
     echo 1>&2 '***' --with-libs is only supported when cross compiling
     exit 1
index b59d8bada8b738afc06b1ff952c5971e405299ca..dc01407d87de5a293c5392d9e6464de391139cec 100644 (file)
@@ -1,8 +1,15 @@
-2003-08-06  Peter Barada <peter@baradas.org>
+2003-08-20  Geoffrey Keating  <geoffk@apple.com>
+
+       PR 8180
+       * configure.in: When testing with_libs and with_headers, treat
+       'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
+       * configure: Regenerate.
+       
+2003-08-20  Peter Barada <peter@baradas.org>
 
        * longlong.h (umul_ppmm): Add ColdFire support.
 
-2003-08-06  Peter Barada <peter@baradas.org>
+2003-08-20  Peter Barada <peter@baradas.org>
             Bernardo Innocenti  <bernie@develer.com>
 
        * config/m68k/m68k-none.h: Introduce new ColdFire archs.
index 5ec0828009a5312f63fc80f2bb33983057fef7fb..9a2c150eab273d325f5429b1e960e926cf555a53 100755 (executable)
@@ -5744,7 +5744,7 @@ fi
 inhibit_libc=
 if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
        test x$with_newlib = xyes ; } &&
-     test "x$with_headers" = x ; then
+     { test "x$with_headers" = x || test "x$with_headers" = xno ; } ; then
        inhibit_libc=-Dinhibit_libc
 fi
 
index 6360c2488ba2713fd1bcabf1cd2e117f84d72e3b..824008e4e69ff2e55a232963dd0e519a3cb7c227 100644 (file)
@@ -1449,7 +1449,7 @@ fi
 inhibit_libc=
 if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
        test x$with_newlib = xyes ; } &&
-     test "x$with_headers" = x ; then
+     { test "x$with_headers" = x || test "x$with_headers" = xno ; } ; then
        inhibit_libc=-Dinhibit_libc
 fi
 AC_SUBST(inhibit_libc)
This page took 0.090961 seconds and 5 git commands to generate.