From 1e45013404130df389fcac64a440b6494cd1626a Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 12 Jun 2008 20:14:42 +0000 Subject: [PATCH] b=15870 i=adilger Backing this out as it tries to solve a problem that doesn't really exist and causes build breakage in doing so. I have advised the customer that opened this bug as to how they can fix thier OFED source pool to match the interface provided by the kernel-ib-devel RPM, which is our reference implementation. --- lustre/autoconf/lustre-core.m4 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index a96a250..527b800 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -794,6 +794,19 @@ LB_LINUX_TRY_COMPILE([ ]) ]) +# LC_SYMVERFILE +# SLES 9 uses a different name for this file - unsure about vanilla kernels +# around this version, but it matters for servers only. +AC_DEFUN([LC_SYMVERFILE], + [AC_MSG_CHECKING([name of symverfile]) + if grep -q Modules.symvers $LINUX/scripts/Makefile.modpost ; then + SYMVERFILE=Modules.symvers + else + SYMVERFILE=Module.symvers + fi + AC_MSG_RESULT($SYMVERFILE) + AC_SUBST(SYMVERFILE)]) + # LC_DQUOTOFF_MUTEX # after 2.6.17 dquote use mutex instead if semaphore AC_DEFUN([LC_DQUOTOFF_MUTEX], @@ -1298,6 +1311,9 @@ AC_DEFUN([LC_PROG_LINUX], # 2.6.15 LC_INODE_I_MUTEX + # SLES 10 (at least) + LC_SYMVERFILE + # 2.6.17 LC_DQUOTOFF_MUTEX -- 1.8.3.1