Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2000 01:31:24 +0000 (01:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2000 01:31:24 +0000 (01:31 +0000)
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.

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

index ca4f32e..83ba3dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 96da653..abdfd6f 100644 (file)
@@ -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