* sysdeps/unix/sysv/linux/configure.in: Don't check
authorRoland McGrath <roland@gnu.org>
Fri, 25 Oct 2002 23:38:23 +0000 (23:38 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 25 Oct 2002 23:38:23 +0000 (23:38 +0000)
/lib/modules/`uname -r`/build/include for kernel headers if
cross compiling.
* sysdeps/unix/sysv/linux/configure: Regenerated.

ChangeLog
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/configure.in

index 16e7e77..05f3ad0 100644 (file)
--- 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.
index dfc57d7..1a345c4 100644 (file)
@@ -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`
index 8ab16b7..ccc63da 100644 (file)
@@ -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`