RHEL_KENEL="yes"
AC_MSG_RESULT([yes])
],[
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
])
AC_MSG_CHECKING([that SuSe kernel])
SUSE_KERNEL="yes"
AC_MSG_RESULT([yes])
],[
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
])
])
LB_LINUX_ARCH
LB_LINUX_SYMVERFILE
-#if test $LINUX_ARCH == "powerpc64"; then
-# AC_MSG_WARN([set compiler with -m64])
-# CFLAGS="$CFLAGS -m64"
-# CC="$CC -m64"
-#fi
LB_LINUX_CONFIG([MODULES],[],[
AC_MSG_ERROR([module support is required to build Lustre kernel modules.])
#
# LB_CHECK_SYMBOL_EXPORT
-# check symbol exported or not
+# check symbol exported or not
# $1 - symbol
# $2 - file(s) for find.
# $3 - do 'yes'
# $4 - do 'no'
#
# 2.6 based kernels - put modversion info into $LINUX/Module.modvers
-# or check
+# or check
AC_DEFUN([LB_CHECK_SYMBOL_EXPORT],
[AC_MSG_CHECKING([if Linux was built with symbol $1 is exported])
grep -q -E '[[[:space:]]]$1[[[:space:]]]' $LINUX/$SYMVERFILE 2>/dev/null