]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't automatically use /lib/modules/* headers.
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Jul 2009 20:01:17 +0000 (13:01 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Jul 2009 20:01:17 +0000 (13:01 -0700)
Ever since the /usr/include/linux headers got cleaned up this isn't
necessary.  Meanwhile everybody should have these cleanups.

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

index 4bdd2f5e358d57c94c43ffaab0f371acea71f1a1..e95e94b4b2d4f6e93698abb014d564a2d751611d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-07-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/configure.in: Don't automatically include
+       /lib/modules/* headers anymore.  We have sane headers in the standard
+       place now.
+
 2009-06-16  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage",
index 253e9c57ff7755a3660e921be2a61704d3cb98f6..199457a3acb8c4e9869b3f15ffa957032b8a9649 100644 (file)
@@ -1,17 +1,6 @@
 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/unix/sysv/linux.
 
-# The Linux kernel headers can be found in
-#   /lib/modules/$(uname -r)/build/include
-# Check whether this directory is available.
-if test -z "$sysheaders" &&
-   test "x$cross_compiling" = xno &&
-   test -d /lib/modules/`uname -r`/build/include; then
-  sysheaders="/lib/modules/`uname -r`/build/include"
-  ccheaders=`$CC -print-file-name=include`
-      SYSINCLUDES="-I $sysheaders"
-fi
-
 # Don't bother trying to generate any glue code to be compatible with the
 # existing system library, because we are the only system library.
 inhibit_glue=yes
index 5330e98c2da1d462cd6d5cc66429143c22125d3e..8f00407a8b1d692c6e575b31c2d883522782db5e 100644 (file)
@@ -1,19 +1,6 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/unix/sysv/linux.
 
-# The Linux kernel headers can be found in
-#   /lib/modules/$(uname -r)/build/include
-# Check whether this directory is available.
-if test -z "$sysheaders" &&
-   test "x$cross_compiling" = xno &&
-   test -d /lib/modules/`uname -r`/build/include; then
-  sysheaders="/lib/modules/`uname -r`/build/include"
-  ccheaders=`$CC -print-file-name=include`
-  dnl We don't have to use -nostdinc.  We just want one more directory
-  dnl to be used.
-  SYSINCLUDES="-I $sysheaders"
-fi
-
 # Don't bother trying to generate any glue code to be compatible with the
 # existing system library, because we are the only system library.
 inhibit_glue=yes