diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-21 05:45:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-21 05:45:26 +0000 |
commit | 46086bc8960796e554dcc28ee8d3f4f4c8526dc6 (patch) | |
tree | b691b3d52b5261cbf8a939b81f22c12455fb4fb5 /sysdeps | |
parent | d5b6c8179917acad6e8b46110179298b47dcaf5c (diff) | |
download | glibc-46086bc8960796e554dcc28ee8d3f4f4c8526dc6.tar.gz glibc-46086bc8960796e554dcc28ee8d3f4f4c8526dc6.tar.xz glibc-46086bc8960796e554dcc28ee8d3f4f4c8526dc6.zip |
Update.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/configure | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure index 75e4073c0e..92ac93c344 100644 --- a/sysdeps/unix/sysv/linux/configure +++ b/sysdeps/unix/sysv/linux/configure @@ -20,14 +20,29 @@ if test -n "$sysheaders"; then OLD_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $SYSINCLUDES" fi + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5 echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6 if test "${libc_cv_linux2010+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include <linux/version.h> @@ -36,7 +51,7 @@ eat flaming death #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "eat flaming death" >/dev/null 2>&1; then + $EGREP "eat flaming death" >/dev/null 2>&1; then libc_cv_linux2010='TOO OLD!' else libc_cv_linux2010='2.0.10 or later' @@ -86,7 +101,7 @@ case "$machine" in arch_minimum_kernel=2.4.0 ;; hppa*) - libc_cv_gcc_unwind_find_fde=yes + libc_cv_gcc_unwind_find_fde=yes arch_minimum_kernel=2.4.19 ;; m68k*) @@ -102,7 +117,7 @@ case "$machine" in arch_minimum_kernel=2.0.10 ;; powerpc/powerpc64) - arch_minimum_kernel=2.4.19 + arch_minimum_kernel=2.4.21 ;; s390/s390-32) libc_cv_gcc_unwind_find_fde=yes @@ -157,7 +172,7 @@ eat flaming death #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "eat flaming death" >/dev/null 2>&1; then + $EGREP "eat flaming death" >/dev/null 2>&1; then libc_minimum_kernel='too old!' else libc_minimum_kernel=ok |