varnish/varnish-nagios — Issue #1: add PKG_PROG_PKG_CONFIG to configure.ac
Author: pegli
Created: 2012-01-16 19:12:19+00:00
State: open

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.
```