STABLE14-linux-module-build-test-configure-fix-20090221

LICENSE IPL10
FIXES 124381

deal when the module link warning has extra characters


(cherry picked from commit 2290db5f160a0105005ec0787a002ce71629c3df)
This commit is contained in:
Mike Meffie 2009-02-21 15:37:01 +00:00 committed by Derrick Brashear
parent 455c7720db
commit aa53855bce

View File

@ -29,7 +29,7 @@ MODULE_LICENSE("http://www.openafs.org/dl/license10.html");
_ACEOF
echo make -C $LINUX_KERNEL_BUILD M=$SRCDIR_PARENT/conftest.dir modules KBUILD_VERBOSE=1 >&AS_MESSAGE_LOG_FD &&
make -C $LINUX_KERNEL_BUILD M=$SRCDIR_PARENT/conftest.dir modules KBUILD_VERBOSE=1 >&AS_MESSAGE_LOG_FD 2>conftest.err &&
! grep -i "^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