summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Henriksson2014-09-19 01:36:35 +0200
committerKarel Zak2014-09-22 12:54:10 +0200
commit53e8c16e14ae4b929b4007c071fda3e40963937c (patch)
tree2fb5bb569f9c31ec9944bcb03c1b4c9120767463 /configure.ac
parentlibmount: only include context on linux (diff)
downloadkernel-qcow2-util-linux-53e8c16e14ae4b929b4007c071fda3e40963937c.tar.gz
kernel-qcow2-util-linux-53e8c16e14ae4b929b4007c071fda3e40963937c.tar.xz
kernel-qcow2-util-linux-53e8c16e14ae4b929b4007c071fda3e40963937c.zip
build-sys: build libmount everywhere
This enables libmount to build on non-linux, which also means we can build fsck on non-linux again. (Since the context part of libmount still needs porting, building the mount utility has instead been restricted to only build on Linux.) This has been build-tested on Debian GNU/kFreeBSD. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 387372fd9..ed3a65d06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -799,7 +799,6 @@ AC_ARG_ENABLE([libmount],
[], [UL_DEFAULT_ENABLE([libmount], [check])]
)
UL_BUILD_INIT([libmount])
-UL_REQUIRES_LINUX([libmount])
UL_REQUIRES_BUILD([libmount], [libblkid])
UL_REQUIRES_HAVE([libmount], [scanf_alloc_modifier], [scanf string alloc modifier])
AM_CONDITIONAL([BUILD_LIBMOUNT], [test "x$build_libmount" = xyes])
@@ -856,6 +855,7 @@ AC_ARG_ENABLE([mount],
[], [UL_DEFAULT_ENABLE([mount], [check])]
)
UL_BUILD_INIT([mount])
+UL_REQUIRES_LINUX([mount])
UL_REQUIRES_BUILD([mount], [libmount])
AM_CONDITIONAL([BUILD_MOUNT], [test "x$build_mount" = xyes])