From 16a5fc419c1172810a944bcec52cc1c021c8de55 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 24 May 2013 20:30:23 +0200 Subject: [PATCH] Use PKG_PROG_PKG_CONFIG Remove ad-hoc code and use the standard macro instead. Closes issue #249 --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2310b9a..8101a27 100644 --- a/configure.ac +++ b/configure.ac @@ -39,10 +39,7 @@ case "$host" in esac AM_CONDITIONAL(POSIX_ONLY_EXAMPLES_ENABLED, [test "$WITH_POSIX_ONLY_EXAMPLES" = "1"]) -AC_PATH_PROG(PKG_CONFIG, pkg-config) -if test x"$PKG_CONFIG" = x""; then - AC_MSG_ERROR([pkg-config not found.]) -fi +PKG_PROG_PKG_CONFIG # Checks for header files. AC_HEADER_STDC