X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2Fconfigure.ac;h=1f38551295af9e64110700b79f5364a052487483;hp=a57aa7530a3f05c3de7dd253050ef5352acdf6ba;hb=2c16e55f5676f528ba7f5652532c950b212060d0;hpb=73e6bf2e49d61b200f63526288fb4507c0736d7e diff --git a/ldiskfs/configure.ac b/ldiskfs/configure.ac index a57aa75..1f38551 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.2.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,20 +83,15 @@ AM_CONDITIONAL(USE_QUILT, test x$QUILT != xno) LB_DEFINE_LDISKFS_OPTIONS -AC_MSG_CHECKING([whether to build ldisk based on ext4]) -AC_ARG_ENABLE([ext4], - AC_HELP_STRING([--enable-ext4], - [enable building of ldiskfs based on ext4]), - [LC_KERNEL_WITH_EXT4([enable_ext4='yes'], - [enable_ext4='no'])],[]) -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]) - BACKFS=ext4 + AC_DEFINE(HAVE_EXT4_LDISKFS, 1, [ldiskfs based on ext4]) + BACKFS=ext4 else - BACKFS=ext3 + BACKFS=ext3 fi + AC_SUBST(BACKFS) BACKFSU=${BACKFS/ext/EXT} AC_SUBST(BACKFSU) # We need a Upper string