This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I tried to run configure with: --with-headers=/usr/src/linux-2.3.x/include --enable-kernel=2.3.40 But this failed. The appended patch fixes the bug. The problem was that we test with AC_EGREP_CPP - but set CFLAGS instead of CPPFLAGS :-(. The patch is only needed for glibc 2.2. 2.1.3 is fine since we use AC_TRY_COMPILE. Andreas 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. Index: sysdeps/unix/sysv/linux/configure.in =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/configure.in,v retrieving revision 1.25 diff -u -r1.25 configure.in --- configure.in 1999/12/04 17:32:59 1.25 +++ configure.in 2000/01/25 15:39:45 @@ -11,8 +11,8 @@ 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 @@ 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 -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.rhein-neckar.de
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |