summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2014-09-19 01:36:35 +0200
committerKarel Zak <kzak@redhat.com>2014-10-24 10:20:03 +0200
commita9c6cc2c08b353b2e4e60d46aad7b4b135244cfa (patch)
tree208ab7037523dee4303e977d899e4399250b7ff0
parent64f95187fd544c7f8f521631644fd62526ea038d (diff)
downloadutil-linux-a9c6cc2c08b353b2e4e60d46aad7b4b135244cfa.tar.gz
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>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 943d97206..90d6edc80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -797,7 +797,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])
@@ -854,6 +853,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])