From e1b8ba200b3f26cf44173ed30adf14c72d7b9182 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 18 Apr 2013 10:19:35 +0200 Subject: [PATCH] build-sys: fix UL_REQUIRES_HAVE Signed-off-by: Karel Zak --- configure.ac | 2 +- m4/ul.m4 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index afe0413df..4a38d1198 100644 --- a/configure.ac +++ b/configure.ac @@ -929,7 +929,7 @@ AC_ARG_ENABLE([setpriv], UL_BUILD_INIT([setpriv]) UL_REQUIRES_LINUX([setpriv]) UL_REQUIRES_HAVE([setpriv], [linux_securebits_h], [securebits.h header file]) -UL_REQUIRES_HAVE([setpriv], [cap_ng], [libcap-ng]) +UL_REQUIRES_HAVE([setpriv], [cap_ng], [libcap-ng library]) AM_CONDITIONAL(BUILD_SETPRIV, test "x$build_setpriv" = xyes) diff --git a/m4/ul.m4 b/m4/ul.m4 index a6e7d0608..c0082d0be 100644 --- a/m4/ul.m4 +++ b/m4/ul.m4 @@ -171,6 +171,7 @@ AC_DEFUN([UL_REQUIRES_HAVE], [ if test "x$[build_]suffix" != xno; then + [ul_haveone_]suffix=no m4_foreach([onehave], [$2], [ if test "x$[have_]onehave" = xyes; then [ul_haveone_]suffix=yes