]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[BZ #5442] cvs/fedora-glibc-20080201T1017
authorRoland McGrath <roland@gnu.org>
Fri, 1 Feb 2008 00:20:11 +0000 (00:20 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 1 Feb 2008 00:20:11 +0000 (00:20 +0000)
* configure.in: Use -print-file-name if it yields a directory,
for each of include and include-fixed.
* configure: Regenerated.

ChangeLog
configure
configure.in
nptl/ChangeLog

index b6f044a68fddc68c5d1e4936e819b21134b640e4..1f5c759cd33c7926d41cdffe735deab7996f4e45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-01-31  Roland McGrath  <roland@redhat.com>
 
+       [BZ #5442]
+       * configure.in: Use -print-file-name if it yields a directory,
+       for each of include and include-fixed.
+       * configure: Regenerated.
+
        * Makeconfig (sysd-rules-targets): New variable.
        * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted.
        * sysdeps/unix/Makefile (omit-deps): Append variants for each target.
index 1f2cd4fc5336133bd2623b9c8ac218578ccf4ce9..4b969787e3d385a822b890fd5a3965bc3d99a189 100755 (executable)
--- a/configure
+++ b/configure
@@ -5065,8 +5065,12 @@ echo "$as_me: WARNING:
 # header directory and add that to the list.  NOTE: Only does the right
 # 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 \
+  SYSINCLUDES=-nostdinc
+  for d in include include-fixed; do
+    i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" &&
+    SYSINCLUDES="$SYSINCLUDES -isystem $i"
+  done
+  SYSINCLUDES="$SYSINCLUDES \
 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
   if test -n "$CXX"; then
     cxxversion=`$CXX -dumpversion 2>&5` &&
index 6ea1b26ff341fb4dffc0210895a494be6c6b19af..3098ebfd3d7f72a8e569bc12933927238b784ddb 100644 (file)
@@ -914,8 +914,12 @@ test -n "$aux_missing" && AC_MSG_WARN([
 # header directory and add that to the list.  NOTE: Only does the right
 # 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 \
+  SYSINCLUDES=-nostdinc
+  for d in include include-fixed; do
+    i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
+    SYSINCLUDES="$SYSINCLUDES -isystem $i"
+  done
+  SYSINCLUDES="$SYSINCLUDES \
 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
   if test -n "$CXX"; then
     cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
index f79a43e4366ff0077249fba78fbd2f4fc02f824a..e22f3870a9d85a1219489ef08a412d828a442288 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-31  Roland McGrath  <roland@redhat.com>
+
+       * Makefile (omit-deps): Variable removed.
+
 2008-01-30  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/x86_64/sem_post.S (sem_post): Avoid