Use SYSINCLUDES information.
authordrepper <drepper>
Tue, 7 Apr 1998 18:01:48 +0000 (18:01 +0000)
committerdrepper <drepper>
Tue, 7 Apr 1998 18:01:48 +0000 (18:01 +0000)
glibcbug.in

index 0bc61f6..11ac4b5 100644 (file)
@@ -11,6 +11,7 @@ ADDONS="@subdirs@"
 HOST="@host@"
 CC='@CC@'
 CFLAGS="@CFLAGS@"
+SYSINCLUDES="@SYSINCLUDES@"
 VERSIONING="@VERSIONING@"
 BUILD_STATIC="@static@"
 BUILD_SHARED="@shared@"
@@ -107,7 +108,7 @@ CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'`
 case $HOST in *linux*)
   KHDRS=`(echo '#include <linux/version.h>'
          echo '! UTS_RELEASE' ) |
-        $CC -E - | sed -n '/!/s/[! "]//gp'`;;
+        $CC $SYSINCLUDES -E - | sed -n '/!/s/[! "]//gp'`;;
 esac
 
 ORGANIZATION_C='<organization of PR author (multiple lines)>'