From b0ab77c813f870e51dd29a7fc9e048a971026020 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 25 Oct 2002 23:38:23 +0000 Subject: * 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. --- sysdeps/unix/sysv/linux/configure | 1 + sysdeps/unix/sysv/linux/configure.in | 1 + 2 files changed, 2 insertions(+) (limited to 'sysdeps/unix') 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` -- cgit 1.4.1