diff options
author | Ruediger Meier | 2016-04-06 15:43:07 +0200 |
---|---|---|
committer | Karel Zak | 2016-04-14 12:56:12 +0200 |
commit | 3e584e8576aef83f934e8409d07758550dd019cb (patch) | |
tree | 5446cd346bcc0bc5e5dbb36ff7f27b6450b5f594 | |
parent | wipefs: force GPT detection (diff) | |
download | kernel-qcow2-util-linux-3e584e8576aef83f934e8409d07758550dd019cb.tar.gz kernel-qcow2-util-linux-3e584e8576aef83f934e8409d07758550dd019cb.tar.xz kernel-qcow2-util-linux-3e584e8576aef83f934e8409d07758550dd019cb.zip |
build-sys: add --enable-libuuid-force-uuidd
To build libuuid with uuidd support even though the daemon is
disabled (--disable-uuidd).
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 31a1911f6..48e994b10 100644 --- a/configure.ac +++ b/configure.ac @@ -910,6 +910,11 @@ AC_SUBST([LIBUUID_VERSION]) AC_SUBST([LIBUUID_VERSION_INFO]) AM_CONDITIONAL(BUILD_LIBUUID, test "x$build_libuuid" = xyes) +AC_ARG_ENABLE([libuuid-force-uuidd], + AS_HELP_STRING([--enable-libuuid-force-uuidd], [support uuidd even though the daemon is not built]), + [], [enable_libuuid_force_uuidd=no] +) + AS_IF([test "x$build_libuuid" = xyes], [ AC_DEFINE(HAVE_LIBUUID, 1, [Define to 1 if you have the -luuid.]) ]) @@ -1084,7 +1089,7 @@ UL_BUILD_INIT([uuidd]) UL_REQUIRES_BUILD([uuidd], [libuuid]) UL_REQUIRES_HAVE([uuidd], [timer], [timer_create function]) UL_REQUIRES_HAVE([uuidd], [sys_signalfd_h], [sys/signalfd.h header]) -AS_IF([test "x$build_uuidd" = xyes], [ +AS_IF([test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" == xyes ], [ AC_DEFINE([HAVE_UUIDD], [1], [Define to 1 if you want to use uuid daemon.]) ]) AM_CONDITIONAL([BUILD_UUIDD], [test "x$build_uuidd" = xyes]) |