diff options
author | Karel Zak | 2010-06-08 10:55:24 +0200 |
---|---|---|
committer | Karel Zak | 2010-06-08 10:55:24 +0200 |
commit | 8e36876187eaf4afd61a55c276d53f9a7be5016c (patch) | |
tree | e64b941a481eba73e5030e5230ad6131b6a092cd /configure.ac | |
parent | docs: update ReleaseNotes (diff) | |
download | kernel-qcow2-util-linux-8e36876187eaf4afd61a55c276d53f9a7be5016c.tar.gz kernel-qcow2-util-linux-8e36876187eaf4afd61a55c276d53f9a7be5016c.tar.xz kernel-qcow2-util-linux-8e36876187eaf4afd61a55c276d53f9a7be5016c.zip |
build-sys: cleanup lib{mount,blkid} building
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 71330dae7..768645696 100644 --- a/configure.ac +++ b/configure.ac @@ -405,6 +405,12 @@ AC_ARG_ENABLE([libmount], AS_HELP_STRING([--disable-libmount], [do not build libmount]), [], enable_libmount=yes ) + +case "$enable_libblkid:$enable_libmount" in +no:yes) + AC_MSG_ERROR([cannot enable libmount when libblkid is disabled]) ;; +esac + AC_SUBST([LIBMOUNT_VERSION]) AC_SUBST([LIBMOUNT_VERSION_INFO]) AC_DEFINE_UNQUOTED(LIBMOUNT_VERSION, "$LIBMOUNT_VERSION", [libmount version string]) |