summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2012-07-27 09:04:55 +0200
committerKarel Zak2012-07-27 09:04:55 +0200
commit7770e7df15e0a9ba26b8a1e59ed3234bf909cb26 (patch)
tree099493f7ddb71fbe3cb8a9eef1747ae5927e2628 /configure.ac
parentbuild-sys: add minisg COPYING files (diff)
downloadkernel-qcow2-util-linux-7770e7df15e0a9ba26b8a1e59ed3234bf909cb26.tar.gz
kernel-qcow2-util-linux-7770e7df15e0a9ba26b8a1e59ed3234bf909cb26.tar.xz
kernel-qcow2-util-linux-7770e7df15e0a9ba26b8a1e59ed3234bf909cb26.zip
build-sys: fix build without libs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6318f5869..e32a1c17f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -894,6 +894,7 @@ AC_ARG_ENABLE([eject],
)
UL_BUILD_INIT([eject])
UL_REQUIRES_LINUX([eject])
+UL_REQUIRES_BUILD([eject], [libmount])
AM_CONDITIONAL(BUILD_EJECT, test "x$build_eject" = xyes)
@@ -924,6 +925,7 @@ AM_CONDITIONAL(BUILD_HWCLOCK, test "x$build_hwclock" = xyes)
UL_BUILD_INIT([swapon], [check])
UL_REQUIRES_LINUX([swapon])
UL_REQUIRES_BUILD([swapon], [libblkid])
+UL_REQUIRES_BUILD([swapon], [libmount])
AM_CONDITIONAL(BUILD_SWAPON, test "x$build_swapon" = xyes)