]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Improve CONFIG_DEBUG_LOCK_ALLOC error message
authorNed Bass <bass6@llnl.gov>
Tue, 5 Jun 2012 19:45:37 +0000 (12:45 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 11 Jun 2012 16:28:04 +0000 (09:28 -0700)
The configure script error message for kernels built with
CONFIG_DEBUG_LOCK_ALLOC may give the impression that the issue is
strictly with license compliance.  To avoid confusion add some words
indicating that the linking stage will fail if the build continues.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #773

config/kernel.m4
configure

index 0f610007119386d7b95fac4676961346f9ffc3ee..9e4ac11ddd3851b36331b566ed8eb0a96c41df94 100644 (file)
@@ -374,8 +374,9 @@ AC_DEFUN([ZFS_AC_KERNEL_CONFIG_DEBUG_LOCK_ALLOC], [
                        AC_MSG_RESULT(yes)
                        AC_MSG_ERROR([
        *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible
-       *** with the CDDL license.  You must rebuild your kernel without
-       *** this option enabled.])
+       *** with the CDDL license and will prevent the module linking stage
+       *** from succeeding.  You must rebuild your kernel without this
+       *** option enabled.])
                ])
                EXTRA_KCFLAGS="$tmp_flags"
        ], [])
index 9bcc551f46ef3ce6a2a69b2d2e8268983caf3864..a8e7cb71149f0bb8664b6be2a17e041cd5fb7ea8 100755 (executable)
--- a/configure
+++ b/configure
@@ -12587,12 +12587,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
 $as_echo "yes" >&6; }
                        { { $as_echo "$as_me:$LINENO: error:
        *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible
-       *** with the CDDL license.  You must rebuild your kernel without
-       *** this option enabled." >&5
+       *** with the CDDL license and will prevent the module linking stage
+       *** from succeeding.  You must rebuild your kernel without this
+       *** option enabled." >&5
 $as_echo "$as_me: error:
        *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible
-       *** with the CDDL license.  You must rebuild your kernel without
-       *** this option enabled." >&2;}
+       *** with the CDDL license and will prevent the module linking stage
+       *** from succeeding.  You must rebuild your kernel without this
+       *** option enabled." >&2;}
    { (exit 1); exit 1; }; }
 
 
@@ -18680,12 +18682,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
 $as_echo "yes" >&6; }
                        { { $as_echo "$as_me:$LINENO: error:
        *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible
-       *** with the CDDL license.  You must rebuild your kernel without
-       *** this option enabled." >&5
+       *** with the CDDL license and will prevent the module linking stage
+       *** from succeeding.  You must rebuild your kernel without this
+       *** option enabled." >&5
 $as_echo "$as_me: error:
        *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible
-       *** with the CDDL license.  You must rebuild your kernel without
-       *** this option enabled." >&2;}
+       *** with the CDDL license and will prevent the module linking stage
+       *** from succeeding.  You must rebuild your kernel without this
+       *** option enabled." >&2;}
    { (exit 1); exit 1; }; }