]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: fix UL_REQUIRES_HAVE
authorKarel Zak <kzak@redhat.com>
Thu, 18 Apr 2013 08:19:35 +0000 (10:19 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 18 Apr 2013 08:19:35 +0000 (10:19 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
m4/ul.m4

index afe0413df647e7f696147fe977c1342471249551..4a38d119846985bb7b59b918711ecc533e241a15 100644 (file)
@@ -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)
 
 
index a6e7d0608670571066061d43ef2c44dc05b7bbe9..c0082d0be43423cac1cc7d3fb53d009c457ffdd6 100644 (file)
--- 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