[Ocfs2-devel] Re: [PATCH]Remove 2.6 configure warning
Manish Singh
manish.singh at oracle.com
Tue Mar 30 18:15:23 CST 2004
On Tue, Mar 30, 2004 at 05:41:28PM -0800, Rusty Lynch wrote:
> 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. :)
> 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
> Index: configure.in
> ===================================================================
> --- configure.in (revision 825)
> +++ configure.in (working copy)
> @@ -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
>
More information about the Ocfs2-devel
mailing list