aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-25 23:38:23 +0000
committerRoland McGrath <roland@gnu.org>2002-10-25 23:38:23 +0000
commitb0ab77c813f870e51dd29a7fc9e048a971026020 (patch)
treed11416125fa861f5f99f8a4b8bab29874ec934a0
parent6bb8cf4f8c11930aa59e505b52af13cb2d2496a4 (diff)
downloadglibc-b0ab77c813f870e51dd29a7fc9e048a971026020.tar
glibc-b0ab77c813f870e51dd29a7fc9e048a971026020.tar.gz
glibc-b0ab77c813f870e51dd29a7fc9e048a971026020.tar.bz2
glibc-b0ab77c813f870e51dd29a7fc9e048a971026020.zip
* sysdeps/unix/sysv/linux/configure.in: Don't check
/lib/modules/`uname -r`/build/include for kernel headers if cross compiling. * sysdeps/unix/sysv/linux/configure: Regenerated.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/configure1
-rw-r--r--sysdeps/unix/sysv/linux/configure.in1
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 16e7e77fcb..05f3ad086e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-10-20 H.J. Lu <hjl@gnu.org>
+
+ * sysdeps/unix/sysv/linux/configure.in: Don't check
+ /lib/modules/`uname -r`/build/include for kernel headers if
+ cross compiling.
+ * sysdeps/unix/sysv/linux/configure: Regenerated.
+
2002-10-25 Roland McGrath <roland@redhat.com>
* math/math.h (M_LOG2El): Correct the value.
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index dfc57d79f7..1a345c4f08 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -5,6 +5,7 @@
# /lib/modules/$(uname -r)/build/include
# Check whether this directory is available.
if test -z "$sysheaders" &&
+ test $cross_compiling" = no &&
test -d /lib/modules/`uname -r`/build/include; then
sysheaders="/lib/modules/`uname -r`/build/include"
ccheaders=`$CC -print-file-name=include`
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in
index 8ab16b74e6..ccc63dabf3 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -5,6 +5,7 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# /lib/modules/$(uname -r)/build/include
# Check whether this directory is available.
if test -z "$sysheaders" &&
+ test $cross_compiling" = no &&
test -d /lib/modules/`uname -r`/build/include; then
sysheaders="/lib/modules/`uname -r`/build/include"
ccheaders=`$CC -print-file-name=include`