From 8cd9a22f9bae3dbbef27ad003058b640624baf70 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 23 Mar 2004 20:16:45 +0000 Subject: [PATCH] Disable this check, because it fails on LLNL kernels until the xattr patches are updated. --- lnet/archdep.m4 | 31 ++++++++++++++++--------------- lustre/portals/archdep.m4 | 31 ++++++++++++++++--------------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/lnet/archdep.m4 b/lnet/archdep.m4 index 6fb96e3..31d1dfd 100644 --- a/lnet/archdep.m4 +++ b/lnet/archdep.m4 @@ -415,20 +415,21 @@ if test "$host_cpu" != "lib" ; then [AC_MSG_RESULT([no]) AC_MSG_ERROR([Lustre requires that ext3 is enabled in the kernel (CONFIG_EXT3_FS)]) ]) - AC_MSG_CHECKING([that extended attributes for ext3 are enabled in the kernel]) - AC_TRY_COMPILE([ -#define __KERNEL__ -#include - ], - [ -#ifdef CONFIG_EXT3_FS_XATTR - return 0; -#else -#error CONFIG_EXT3_FS_XATTR not #defined -#endif - ],[AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no]) - AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel (CONFIG_EXT3_FS_XATTR)]) - ]) +# disable this check until our xattr patches define it! +# AC_MSG_CHECKING([that extended attributes for ext3 are enabled in the kernel]) +# AC_TRY_COMPILE([ +##define __KERNEL__ +##include +# ], +# [ +##ifdef CONFIG_EXT3_FS_XATTR +# return 0; +##else +##error CONFIG_EXT3_FS_XATTR not #defined +##endif +# ],[AC_MSG_RESULT([yes])], +# [AC_MSG_RESULT([no]) +# AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel (CONFIG_EXT3_FS_XATTR)]) +# ]) fi diff --git a/lustre/portals/archdep.m4 b/lustre/portals/archdep.m4 index 6fb96e3..31d1dfd 100644 --- a/lustre/portals/archdep.m4 +++ b/lustre/portals/archdep.m4 @@ -415,20 +415,21 @@ if test "$host_cpu" != "lib" ; then [AC_MSG_RESULT([no]) AC_MSG_ERROR([Lustre requires that ext3 is enabled in the kernel (CONFIG_EXT3_FS)]) ]) - AC_MSG_CHECKING([that extended attributes for ext3 are enabled in the kernel]) - AC_TRY_COMPILE([ -#define __KERNEL__ -#include - ], - [ -#ifdef CONFIG_EXT3_FS_XATTR - return 0; -#else -#error CONFIG_EXT3_FS_XATTR not #defined -#endif - ],[AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no]) - AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel (CONFIG_EXT3_FS_XATTR)]) - ]) +# disable this check until our xattr patches define it! +# AC_MSG_CHECKING([that extended attributes for ext3 are enabled in the kernel]) +# AC_TRY_COMPILE([ +##define __KERNEL__ +##include +# ], +# [ +##ifdef CONFIG_EXT3_FS_XATTR +# return 0; +##else +##error CONFIG_EXT3_FS_XATTR not #defined +##endif +# ],[AC_MSG_RESULT([yes])], +# [AC_MSG_RESULT([no]) +# AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel (CONFIG_EXT3_FS_XATTR)]) +# ]) fi -- 1.8.3.1