From 3e584e8576aef83f934e8409d07758550dd019cb Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 6 Apr 2016 15:43:07 +0200 Subject: 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 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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]) -- cgit v1.2.3-55-g7522