2004-09-16 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 16 Sep 2004 23:22:04 +0000 (23:22 +0000)
committerroland <roland>
Thu, 16 Sep 2004 23:22:04 +0000 (23:22 +0000)
* configure.in (--with-headers): Let argument contain a : separated
list of directories to use, not just one.
* configure: Regenerated.

configure
configure.in

index a7a2acf..ad34c57 100755 (executable)
--- a/configure
+++ b/configure
@@ -4429,7 +4429,8 @@ echo "$as_me: WARNING:
 # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
 if test -n "$sysheaders"; then
   ccheaders=`$CC -print-file-name=include`
-  SYSINCLUDES="-nostdinc -isystem $ccheaders -isystem $sysheaders"
+  SYSINCLUDES="-nostdinc -isystem $ccheaders \
+-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
 fi
 
 
index 665786e..22f726e 100644 (file)
@@ -799,7 +799,8 @@ test -n "$aux_missing" && AC_MSG_WARN([
 # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
 if test -n "$sysheaders"; then
   ccheaders=`$CC -print-file-name=include`
-  SYSINCLUDES="-nostdinc -isystem $ccheaders -isystem $sysheaders"
+  SYSINCLUDES="-nostdinc -isystem $ccheaders \
+-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
 fi
 AC_SUBST(SYSINCLUDES)