From 31c7d52c945cb31515f8cb4aabb07051409fdf2a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 27 Jan 2000 01:31:24 +0000 Subject: [PATCH] Update. 2000-01-25 Andreas Jaeger * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel version check since we're using cpp. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ca4f32e64b..83ba3dd651 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-01-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel + version check since we're using cpp. + 2000-01-26 Jakub Jelinek * 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