From e50084fa44cb68c447efc11e53ec16bf09a578c0 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Thu, 21 Aug 2003 02:19:33 +0000 Subject: Index: ChangeLog 2003-08-20 Geoffrey Keating PR 8180 * configure.in: When testing with_libs and with_headers, treat 'no' as unset. Based on a patch by Dan Kegel . * configure: Regenerate. Index: gcc/ChangeLog 2003-08-20 Geoffrey Keating PR 8180 * configure.in: When testing with_libs and with_headers, treat 'no' as unset. Based on a patch by Dan Kegel . * configure: Regenerate. From-SVN: r70634 --- configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b30f524..5c461fc 100644 --- a/configure.in +++ b/configure.in @@ -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 -- cgit v1.1