-AC_MSG_CHECKING([whether to build ldisk base on ext4])
-AC_ARG_ENABLE([ext4],
- AC_HELP_STRING([--disable-ext4],
- [disable building of ldiskfs base on ext4]),[],
- [LC_KERNEL_WITH_EXT4([enable_ext4='yes'],
- [enable_ext4='no'])])
-AC_MSG_RESULT([$enable_ext4])
-
-if test x$enable_ext4 = xyes ; then
- BACKFS=ext4
-else
- BACKFS=ext3
-fi
-AC_SUBST(BACKFS)
-BACKFSU=${BACKFS/ext/EXT}
-AC_SUBST(BACKFSU) # We need a Upper string
-
-AM_CONDITIONAL(USE_EXT4, test x$enable_ext4 = xyes)
-