aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1667b2a705..05c61cd9c1 100644
--- a/configure.in
+++ b/configure.in
@@ -174,6 +174,11 @@ AC_ARG_ENABLE(kernel,
[ --enable-kernel=VERSION compile for compatibility with kernel not older
than VERSION],
minimum_kernel=$enableval)
+dnl Prevent unreasonable values.
+if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
+ # Better nothing than this.
+ minimum_kernel=""
+fi
AC_CANONICAL_HOST