[xml-security-c] 23/23: Only add found packages to the pkg-config dependencies

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 20:15:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to branch patch-queue/master
in repository xml-security-c.

commit facfa210ce533e245dda3b38b86ac93157207c39
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Jul 21 19:24:02 2016 +0200

    Only add found packages to the pkg-config dependencies
---
 m4/ax_pkg_check_modules.m4 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/m4/ax_pkg_check_modules.m4 b/m4/ax_pkg_check_modules.m4
index f3af0f6..ab8adf9 100644
--- a/m4/ax_pkg_check_modules.m4
+++ b/m4/ax_pkg_check_modules.m4
@@ -58,10 +58,10 @@ AC_DEFUN([AX_PKG_CHECK_MODULES],[
     m4_define([ax_package_requires_private],
               [m4_default_quoted([$7],[AX_PACKAGE_REQUIRES_PRIVATE])])
 
-    ax_package_requires="$[]ax_package_requires $2"
-    ax_package_requires_private="$[]ax_package_requires_private $3"
-
-    PKG_CHECK_MODULES([$1],[$2 $3],[$4],[$5])
+    PKG_CHECK_MODULES([$1],[$2 $3],[
+        ax_package_requires="$[]ax_package_requires $2"
+        ax_package_requires_private="$[]ax_package_requires_private $3"
+        $4],[$5])
 
     # Substitute output.
     AC_SUBST(ax_package_requires)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git



More information about the Pkg-shibboleth-devel mailing list