[PATCH] configure.ac: Use PKG_PROG_PKG_CONFIG

Heiko Becker heirecka at exherbo.org
Sat Apr 18 10:58:49 CEST 2015


..instead of hard-coding pkg-config with AC_PATH_PROG.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 646bc32..cf5c592 100644
--- a/configure.ac
+++ b/configure.ac
@@ -276,7 +276,7 @@ AC_ARG_ENABLE(pinentry-gtk2,
 
 dnl check for pkg-config
 if test "$pinentry_gtk_2" != "no"; then
-        AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+        PKG_PROG_PKG_CONFIG
 	if test x"${PKG_CONFIG}" = xno ; then
 		pinentry_gtk_2=no
 	fi
-- 
2.3.3




More information about the Gnupg-devel mailing list