Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 05:14:32 +0000 (05:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 05:14:32 +0000 (05:14 +0000)
1999-11-12  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Allow user so specify --enable-kernel=current.

ChangeLog
configure.in

index 54a5646..1d0ce6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
+
+       * configure.in: Allow user so specify --enable-kernel=current.
+
 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
 
        * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
index 05c61cd..cf18953 100644 (file)
@@ -178,6 +178,10 @@ dnl Prevent unreasonable values.
 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
   # Better nothing than this.
   minimum_kernel=""
+else
+  if test "$minimum_kernel" = current; then
+    minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
+  fi
 fi
 
 AC_CANONICAL_HOST