summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros/neon.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4
index dcf7eb1..1f04807 100644
--- a/macros/neon.m4
+++ b/macros/neon.m4
@@ -901,8 +901,8 @@ AC_DEFUN([NE_PKG_CONFIG], [
m4_define([ne_cvar], m4_translit(ne_cv_pkg_[$2], [.-], [__]))dnl
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "$PKG_CONFIG" = "no"; then
+AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
+if test "x$PKG_CONFIG" = "xno"; then
: Not using pkg-config
$4
else