From 51cc1db7342d618b8f842e6ea74bbcf4358a0198 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 7 Jan 2008 18:34:59 +0000 Subject: [PATCH] STABLE14-linux-probe-warning-case-20080107 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cf/linux-test1.m4 b/src/cf/linux-test1.m4 index 2751a14cf..8c82baa87 100644 --- a/src/cf/linux-test1.m4 +++ b/src/cf/linux-test1.m4 @@ -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 -- 2.39.5