From 5b84250f66718b2f40b67e3a161a233a1880a8a6 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Tue, 1 Jun 2010 15:55:23 -0400 Subject: [PATCH] b=21500 remove duplicate LC_MODULE_LOADING def'n The whole LC_MODULE_LOADING definition was duplicated. Remove one of them. --- build/autoconf/lustre-build-linux.m4 | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/build/autoconf/lustre-build-linux.m4 b/build/autoconf/lustre-build-linux.m4 index 8e1025f..39255e5 100644 --- a/build/autoconf/lustre-build-linux.m4 +++ b/build/autoconf/lustre-build-linux.m4 @@ -565,32 +565,6 @@ LB_LINUX_TRY_MAKE([ ]) ]) -# LC_MODULE_LOADING -# after 2.6.28 CONFIG_KMOD is removed, and only CONFIG_MODULES remains -# so we test if request_module is implemented or not -AC_DEFUN([LC_MODULE_LOADING], -[AC_MSG_CHECKING([if kernel module loading is possible]) -LB_LINUX_TRY_MAKE([ - #include -],[ - int myretval=ENOSYS ; - return myretval; -],[ - $makerule LUSTRE_KERNEL_TEST=conftest.i -],[ - grep request_module build/conftest.i | grep -v `grep "int myretval=" build/conftest.i | cut -d= -f2 | cut -d" " -f1` >/dev/null -],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_MODULE_LOADING_SUPPORT, 1, - [kernel module loading is possible]) -],[ - AC_MSG_RESULT(no) - AC_MSG_WARN([]) - AC_MSG_WARN([Kernel module loading support is highly recommended.]) - AC_MSG_WARN([]) -]) -]) - # # LB_PROG_LINUX # -- 1.8.3.1