X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fconfigure.ac;h=e20d087bc997c6bb3129eb74d44ea0e40b950336;hb=b8c0f5dfaf4024a9785530ca3a6967470c5f02de;hp=405b8e3c46456a67ee6502ed372e63d4bc2a9ffd;hpb=a4170264e3871b47963108834f69324384315d28;p=fs%2Flustre-release.git diff --git a/ldiskfs/configure.ac b/ldiskfs/configure.ac index 405b8e3..e20d087 100644 --- a/ldiskfs/configure.ac +++ b/ldiskfs/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([Lustre ldiskfs], 3.0.9, [https://bugzilla.lustre.org/]) +AC_INIT([Lustre ldiskfs], 3.3.0, [https://bugzilla.lustre.org/]) AC_CONFIG_SRCDIR([lustre-ldiskfs.spec.in]) # Don't look for install-sh, etc. in .. @@ -33,13 +33,6 @@ $2 esac ]) -AC_DEFUN([LC_KERNEL_WITH_EXT4], -[if test -f $LINUX/fs/ext4/ext4.h ; then -$1 -else -$2 -fi -]) AC_MSG_CHECKING([whether to build kernel modules]) AC_ARG_ENABLE([modules], @@ -90,21 +83,7 @@ AM_CONDITIONAL(USE_QUILT, test x$QUILT != xno) LB_DEFINE_LDISKFS_OPTIONS -AC_MSG_CHECKING([whether to build ldiskfs based on ext4]) -if test x$RHEL_KERNEL = xyes; then - AC_ARG_ENABLE([ext4], - AC_HELP_STRING([--enable-ext4], - [enable building of ldiskfs based on ext4]), - [], [enable_ext4='no']) -else - case $LINUXRELEASE in - # ext4 was in 2.6.22-2.6.26 but not stable enough to use - 2.6.2[06]*) enable_ext4='no' ;; - *) LC_KERNEL_WITH_EXT4([enable_ext4='yes'], - [enable_ext4='no']) ;; - esac -fi -AC_MSG_RESULT([$enable_ext4]) +LB_HAVE_EXT4_ENABLED if test x$enable_ext4 = xyes ; then AC_DEFINE(HAVE_EXT4_LDISKFS, 1, [ldiskfs based on ext4])