cifs-utils/0001-autoconf-define-CAPNG_LDADD-even-when-it-s-not-set.patch
2010-04-13 14:14:10 +00:00

28 lines
728 B
Diff

From ff93d3fdbd4f70066f5c7834efa2b85e645727e8 Mon Sep 17 00:00:00 2001
From: Jeff Layton <jlayton@samba.org>
Date: Tue, 13 Apr 2010 09:56:41 -0400
Subject: [PATCH] autoconf: define CAPNG_LDADD even when it's not set
...otherwise automake won't replace it in the generated Makefile.
Signed-off-by: Jeff Layton <jlayton@samba.org>
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index c56a944..a46c22d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,6 +121,7 @@ AM_CONDITIONAL(CONFIG_CIFSUPCALL, [test "$enable_cifsupcall" != "no"])
LIBCAP_NG_PATH
if test "x$CAPNG_LDADD" = "x"; then
+ AC_SUBST(CAPNG_LDADD)
AC_LIBCAP
fi
AC_OUTPUT
--
1.6.6.1