Remove 2.6 configure warning
PATCH 1/1 Remove 2.6 configure warning
From my own unit testing the 2.6 build is now working with the same level of functionality as the 2.4 build. I don't think we need the 2.6 warning in the config script.
(I've been looking forward to saying this :->)
Here is a patch to remove the configure warning.
--rusty
configure.in +1 -16
@@ -194,28 +194,13 @@ AC_MSG_ERROR([Could not determine kernel version.]) fi -AC_ARG_ENABLE(kernel-26, [ --enable-kernel-26=[yes/no] (BROKEN!) Enable building on Linux kernel version 2.6.x (default=no)],enable_kernel26=yes,enable_kernel26=no) -KERNEL_26= -if test "x$enable_kernel26" = "xyes"; then - KERNEL_26=yes -fi -AC_SUBST(KERNEL_26) - case "$kversion" in 2.4.*) ;; 2.6.*) - if test "x$enable_kernel26" = "xyes"; then - AC_MSG_WARN([ -Support for kernel version 2.6 is BROKEN at this time! Your system WILL hang.]) - else - AC_MSG_ERROR([ -Support for kernel version 2.6 is BROKEN (Your system WILL hang!) at this time. -You can use --enable-kernel-26 if you realy know what you're doing.]) - fi ;; *) - AC_MSG_ERROR([This module only supports kernel version 2.4.x]) + AC_MSG_ERROR([This module only supports kernel versions 2.4.x and 2.6.x]) ;; esac
Quoted 5 lines · Rusty Lynch
From my own unit testing the 2.6 build is now working with the same level of functionality as the 2.4 build. I don't think we need the 2.6 warning in the config script.
(I've been looking forward to saying this :->)
Congrats. :)
Quoted 1 line
Here is a patch to remove the configure warning.
Committed, but modified some, since we still need KERNEL_26 defined for the Makefile magic to work.
-Manish
Quoted 34 lines
Index: configure.in
===================================================================configure.in +1
-16@@ -194,28 +194,13 @@ AC_MSG_ERROR([Could not determine kernel version.]) fi -AC_ARG_ENABLE(kernel-26, [ --enable-kernel-26=[yes/no] (BROKEN!) Enable building on Linux kernel version 2.6.x (default=no)],enable_kernel26=yes,enable_kernel26=no) -KERNEL_26= -if test "x$enable_kernel26" = "xyes"; then - KERNEL_26=yes -fi -AC_SUBST(KERNEL_26) - case "$kversion" in 2.4.*) ;; 2.6.*) - if test "x$enable_kernel26" = "xyes"; then - AC_MSG_WARN([ -Support for kernel version 2.6 is BROKEN at this time! Your system WILL hang.]) - else - AC_MSG_ERROR([ -Support for kernel version 2.6 is BROKEN (Your system WILL hang!) at this time. -You can use --enable-kernel-26 if you realy know what you're doing.]) - fi ;; *) - AC_MSG_ERROR([This module only supports kernel version 2.4.x]) + AC_MSG_ERROR([This module only supports kernel versions 2.4.x and 2.6.x]) ;; esac