Skip to content

Commit

Permalink
Don't automatically use /lib/modules/* headers.
Browse files Browse the repository at this point in the history
Ever since the /usr/include/linux headers got cleaned up this isn't
necessary.  Meanwhile everybody should have these cleanups.
  • Loading branch information
Ulrich Drepper committed Jul 24, 2009
1 parent 7c36ced commit da331e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 0 additions & 11 deletions sysdeps/unix/sysv/linux/configure
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 0 additions & 13 deletions sysdeps/unix/sysv/linux/configure.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit da331e8

Please sign in to comment.