aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-24 13:01:17 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-24 13:01:17 -0700
commitda331e8e14f17c973444a0cbf62d90c72097b135 (patch)
treef3bc49cad52635e487dd58cec9ca4df0fb52e946 /sysdeps/unix/sysv
parent7c36ced067da038ea42c909b9f7c3bad5f35d7d0 (diff)
downloadglibc-da331e8e14f17c973444a0cbf62d90c72097b135.tar
glibc-da331e8e14f17c973444a0cbf62d90c72097b135.tar.gz
glibc-da331e8e14f17c973444a0cbf62d90c72097b135.tar.bz2
glibc-da331e8e14f17c973444a0cbf62d90c72097b135.zip
Don't automatically use /lib/modules/* headers.
Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/configure11
-rw-r--r--sysdeps/unix/sysv/linux/configure.in13
2 files changed, 0 insertions, 24 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index 253e9c57ff..199457a3ac 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -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
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in
index 5330e98c2d..8f00407a8b 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -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