From: Andreas Henriksson Date: Thu, 18 Sep 2014 23:36:35 +0000 (+0200) Subject: build-sys: build libmount everywhere X-Git-Tag: v2.26-rc1~452 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53e8c16e14ae4b929b4007c071fda3e40963937c;p=thirdparty%2Futil-linux.git 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 --- diff --git a/configure.ac b/configure.ac index 387372fd9e..ed3a65d06e 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])