diff options
-rw-r--r-- | configure.ac | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index adb5758e..3bbc374e 100644 --- a/configure.ac +++ b/configure.ac @@ -730,27 +730,25 @@ UL_REQUIRES_BUILD([deprecated_mount], [libblkid]) AM_CONDITIONAL(BUILD_DEPRECATED_MOUNT, test "x$build_deprecated_mount" = xyes) -AC_ARG_ENABLE([losetup], - AS_HELP_STRING([--disable-losetup], [do not build losetup]), - [], enable_losetup=check -) -UL_BUILD_INIT([losetup]) -UL_REQUIRES_LINUX([losetup]) -AM_CONDITIONAL(BUILD_LOSETUP, test "x$build_losetup" = xyes) - - AC_ARG_ENABLE([mount], AS_HELP_STRING([--disable-mount], [do not build mount(8) and umount(8)]), [], enable_mount=check ) UL_BUILD_INIT([mount]) UL_REQUIRES_BUILD([mount], [libmount]) -if test "x$build_mount" = xyes; then - AM_CONDITIONAL(BUILD_DEPRECATED_MOUNT, [false]) -fi +UL_CONFLICTS_BUILD([mount], [deprecated_mount], [old deprecated mount version]) AM_CONDITIONAL(BUILD_MOUNT, test "x$build_mount" = xyes) +AC_ARG_ENABLE([losetup], + AS_HELP_STRING([--disable-losetup], [do not build losetup]), + [], enable_losetup=check +) +UL_BUILD_INIT([losetup]) +UL_REQUIRES_LINUX([losetup]) +AM_CONDITIONAL(BUILD_LOSETUP, test "x$build_losetup" = xyes) + + AC_ARG_ENABLE([fsck], AS_HELP_STRING([--disable-fsck], [do not build fsck]), [], enable_fsck=check |