Whamcloud - gitweb
b=16893
authorgirish <girish>
Wed, 27 May 2009 02:22:20 +0000 (02:22 +0000)
committergirish <girish>
Wed, 27 May 2009 02:22:20 +0000 (02:22 +0000)
i=adilger
i=johann

Lustre changes needed for ext4-ldiskfs support on rhel5 and sles11

build/autoconf/lustre-build.m4

index 50a4236..8413436 100644 (file)
@@ -227,6 +227,10 @@ AC_SUBST(LDISKFS_DIR)
 AC_SUBST(LDISKFS_SUBDIR)
 AM_CONDITIONAL(LDISKFS_ENABLED, test x$with_ldiskfs != xno)
 
+if test x$enable_ext4 = xyes ; then
+       AC_DEFINE(HAVE_EXT4_LDISKFS, 1, [build ext4 based ldiskfs])
+fi
+
 # We have to configure even if we don't build here for make dist to work
 AC_CONFIG_SUBDIRS(ldiskfs)
 ])