LB_LINUX_CONFIG([EXT3_FS_XATTR],[$1],[$3])
])
+
#
# LC_FSHOOKS
#
])
$1
],[
+LB_LINUX_TRY_COMPILE([
+ #include <linux/version.h>
+],[
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
+ #error "linux version < 2.6.10, only support 2.6.7"
+ #endif
+],[
$2
+],[
+$3
+])
])
])
case $BACKINGFS in
ext3)
# --- Check that ext3 and ext3 xattr are enabled in the kernel
- # --- only warn for ext3 xattr because 2.4 kernels don't have
- # --- this config flag.
LC_CONFIG_EXT3([],[
AC_MSG_ERROR([Lustre requires that ext3 is enabled in the kernel])
],[
- AC_MSG_WARN([Lustre requires that extended attributes for ext3 are enabled in the kernel])
- AC_MSG_WARN([This build may fail.])
+ AC_MSG_ERROR([Lustre requires that extended attributes for ext3 are enabled in the kernel])
])
;;
ldiskfs)
LC_FSHOOKS([
LDISKFS_SERIES="2.6-suse.series"
],[
- LDISKFS_SERIES="2.6-vanilla.series"
- ])
+ LDISKFS_SERIES="2.6-fc3.series"
+ ],[
+ LDISKFS_SERIES="2.6-vanilla.series"
+ ]
+ )
AC_SUBST(LDISKFS_SERIES)
;;
esac # $BACKINGFS
])
#
+# LC_CONFIG_GSS
+#
+# whether build-in gss/krb5 capability
+#
+AC_DEFUN([LC_CONFIG_GSS],
+[AC_MSG_CHECKING([whether to enable gss/krb5 support])
+AC_ARG_ENABLE([gss],
+ AC_HELP_STRING([--enable-gss],
+ [enable gss/krb5 support]),
+ [],[enable_gss='yes'])
+AC_MSG_RESULT([$enable_gss])
+if test x$enable_gss != xno ; then
+ AC_DEFINE(ENABLE_GSS, 1, Support GSS/krb5)
+fi
+])
+
+#
# LC_CONFIG_SNAPFS
#
# Whether snapfs is desired
AC_DEFUN([LC_PROG_LINUX],
[LC_CONFIG_BACKINGFS
LC_CONFIG_PINGER
+LC_CONFIG_GSS
LC_CONFIG_SNAPFS
LC_CONFIG_SMFS
AM_CONDITIONAL(MPITESTS, test x$enable_mpitests = xyes, Build MPI Tests)
AM_CONDITIONAL(SNAPFS, test x$enable_snapfs = xyes)
AM_CONDITIONAL(SMFS, test x$enable_smfs = xyes)
+AM_CONDITIONAL(GSS, test x$enable_gss = xyes)
AM_CONDITIONAL(LIBLUSTRE, test x$enable_liblustre = xyes)
+AM_CONDITIONAL(LIBLUSTRE_TESTS, test x$enable_liblustre_tests = xyes)
AM_CONDITIONAL(MPITESTS, test x$enable_mpitests = xyes, Build MPI Tests)
])
lustre/ldiskfs/autoMakefile
lustre/ldlm/Makefile
lustre/liblustre/Makefile
-lustre/liblustre/tests/Makefile
lustre/llite/Makefile
lustre/llite/autoMakefile
lustre/lmv/Makefile
lustre/ptlrpc/autoMakefile
lustre/scripts/Makefile
lustre/scripts/version_tag.pl
+lustre/sec/Makefile
+lustre/sec/autoMakefile
+lustre/sec/gss/Makefile
+lustre/sec/gss/autoMakefile
lustre/smfs/Makefile
lustre/smfs/autoMakefile
lustre/snapfs/Makefile