diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/configure.in | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2000-01-25 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel + version check since we're using cpp. + 2000-01-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid): diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in index 96da65362f..abdfd6fde6 100644 --- a/sysdeps/unix/sysv/linux/configure.in +++ b/sysdeps/unix/sysv/linux/configure.in @@ -11,8 +11,8 @@ inhibit_glue=yes define([LIBC_LINUX_VERSION],[2.0.10])dnl if test -n "$sysheaders"; then - OLD_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS $SYSINCLUDES" + OLD_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $SYSINCLUDES" fi define([libc_cv_linuxVER], [libc_cv_linux]patsubst(LIBC_LINUX_VERSION,[\.]))dnl AC_CACHE_CHECK(installed Linux kernel header files, libc_cv_linuxVER, [dnl @@ -56,7 +56,7 @@ eat flaming death fi if test -n "$sysheaders"; then - CFLAGS=$OLD_CFLAGS + CPPFLAGS=$OLD_CPPFLAGS fi # The Linux filesystem standard prescribes where to place "essential" # files. I.e., when the installation prefix is "/usr" we have to place |