diff options
author | Karel Zak | 2011-10-27 14:31:34 +0200 |
---|---|---|
committer | Karel Zak | 2011-11-03 12:32:49 +0100 |
commit | a9127bc15821ed5d783084403540d3870793bb85 (patch) | |
tree | 4a4d100e8b16c828e3e49f430e2936e3137d5d92 | |
parent | build-sys: cleanup misc-utils/Makefile.am (diff) | |
download | kernel-qcow2-util-linux-a9127bc15821ed5d783084403540d3870793bb85.tar.gz kernel-qcow2-util-linux-a9127bc15821ed5d783084403540d3870793bb85.tar.xz kernel-qcow2-util-linux-a9127bc15821ed5d783084403540d3870793bb85.zip |
build-sys: cleanup BUILD_MOUNTPOINT
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | configure.ac | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 276a6ef35..a8f2166e7 100644 --- a/configure.ac +++ b/configure.ac @@ -473,21 +473,8 @@ AC_ARG_ENABLE([mountpoint], AS_HELP_STRING([--disable-mountpoint], [do not build mountpoint]), [], enable_mountpoint=check ) - build_mountpoint=yes -if test "x$enable_mountpoint" = xcheck; then - if test "x$build_libmount" = xno; then - AC_MSG_WARN([libmount disabled; do not build mountpoint]) - build_mountpoint=no - fi -elif test "x$enable_mountpoint" = xno; then - build_mountpoint=no -fi - -case "$build_libmount:$build_mountpoint" in -no:yes) - AC_MSG_ERROR([cannot enable mountpoint when libmount is disabled]) ;; -esac +UL_REQUIRES_BUILD([mountpoint], [libmount]) AM_CONDITIONAL(BUILD_MOUNTPOINT, test "x$build_mountpoint" = xyes) |