varnish / varnish-nagios

Nagios plugin for Varnish
Other
21 stars 9 forks source link

add PKG_PROG_PKG_CONFIG to configure.ac #1

Closed pegli closed 12 years ago

pegli commented 12 years ago

On CentOS 5.3, the configure script won't run unless PKG_PROG_PKG_CONFIG is placed before the call to PKG_CHECK_MODULES.

diff --git a/configure.ac b/configure.ac
index feac2bd..593b64e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ AC_PROG_LIBTOOL
 AC_PROG_MAKE_SET

 # Checks for libraries.
+PKG_PROG_PKG_CONFIG
 PKG_CHECK_MODULES([VARNISHAPI], [varnishapi])

 # Checks for header files.
tfheen commented 12 years ago

PKG_CHECK_MODULES calls PKG_PROG_PKG_CONFIG as the first thing, so if you're seeing that as a problem, it's something else.