summary refs log tree commit diff
path: root/glibcbug.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-07 18:05:52 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-07 18:05:52 +0000
commitdbe7a0f5de17e8fa52ec6d2c9356796ef19af7c8 (patch)
treeb47e58aead2a28c483a3b6376779a1db178ec482 /glibcbug.in
parent7f9a8b5f55cc1409cc93277bbe8449a898bac835 (diff)
downloadglibc-dbe7a0f5de17e8fa52ec6d2c9356796ef19af7c8.tar.gz
glibc-dbe7a0f5de17e8fa52ec6d2c9356796ef19af7c8.tar.xz
glibc-dbe7a0f5de17e8fa52ec6d2c9356796ef19af7c8.zip
Update.
1998-04-07  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Recognize --with-headers flag and determine
	commandline options to be used in compilation.
	* Makeconfig (+includes): Use $(sysincludes).
	* config.make.in (sysincludes): Define from SYSINCLUDES.
	* glibcbug.in: Use SYSINCLUDES information.
	Patches by Zack Weinberg.

	* sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
Diffstat (limited to 'glibcbug.in')
-rw-r--r--glibcbug.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/glibcbug.in b/glibcbug.in
index cc570408f2..11ac4b5ee3 100644
--- a/glibcbug.in
+++ b/glibcbug.in
@@ -11,6 +11,7 @@ ADDONS="@subdirs@"
 HOST="@host@"
 CC='@CC@'
 CFLAGS="@CFLAGS@"
+SYSINCLUDES="@SYSINCLUDES@"
 VERSIONING="@VERSIONING@"
 BUILD_STATIC="@static@"
 BUILD_SHARED="@shared@"
@@ -21,9 +22,6 @@ BUILD_BOUNDED="@bounded@"
 BUILD_STATIC_NSS="@static_nss@"
 STDIO="@stdio@"
 
-PATH=/bin:/usr/bin:/usr/local/bin:$PATH
-export PATH
-
 TEMP=`mktemp -q /tmp/glibcbugXXXXXX 2>/dev/null`
 if test $? -ne 0; then
   TEMP=/tmp/glibcbug.$$
@@ -108,9 +106,9 @@ MACHINE=`[ -f /bin/machine ] && /bin/machine`
 CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'`
 
 case $HOST in *linux*)
-  KHDRS=`(echo '#include <linux/version.h>
+  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)>'