]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux-probe-warning-case-20080107
authorRuss Allbery <rra@stanford.edu>
Mon, 7 Jan 2008 18:34:59 +0000 (18:34 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 7 Jan 2008 18:34:59 +0000 (18:34 +0000)
LICENSE MIT

Some older Linux kernels prefix warnings with "Warning:" rather than
"WARNING:", so do the grep case-insensitively when finding missing symbols.

(cherry picked from commit 58efc5029c832e6b1456c36b599e7e33d62cd9c6)

src/cf/linux-test1.m4

index 2751a14cfbafa25674881c19dd4341f40cfc7fa0..8c82baa87ade3a8fdc25c3dca7216063d5cb788d 100644 (file)
@@ -29,7 +29,7 @@ MODULE_LICENSE("http://www.openafs.org/dl/license10.html");
 _ACEOF
     echo make -C $LINUX_KERNEL_PATH M=$SRCDIR_PARENT/conftest.dir modules KBUILD_VERBOSE=1 >&AS_MESSAGE_LOG_FD &&
     make -C $LINUX_KERNEL_PATH M=$SRCDIR_PARENT/conftest.dir modules KBUILD_VERBOSE=1 >&AS_MESSAGE_LOG_FD 2>conftest.err &&
-    ! grep "^WARNING: .* undefined!$" conftest.err >/dev/null 2>&1
+    ! grep -i "^WARNING: .* undefined!$" conftest.err >/dev/null 2>&1
     then [$3]
     else
       sed '/^ *+/d' conftest.err >&AS_MESSAGE_LOG_FD