diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -4,6 +4,7 @@ version 0.9.7 (yet unreleased) o remove .svn directory from make distcheck tarballs (reported by B.Benjamini) o fix minor compilation issue in amd64 with gcc4.3 (reported by Daniel Schepler) o update manpages with the new URL: http://conntrack-tools.netfilter.org +o check for pkg-config at configure stage = conntrack = o fix minor compilation warning (Krzysztof Oledzki) diff --git a/configure.in b/configure.in index 92a0389..46dd7b8 100644 --- a/configure.in +++ b/configure.in @@ -20,6 +20,14 @@ dnl Dependencies LIBNFNETLINK_REQUIRED=0.0.32 LIBNETFILTER_CONNTRACK_REQUIRED=0.0.91 +AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) +if test "x$HAVE_PKG_CONFIG" = "x" +then + echo "*** Error: No suitable pkg-config found. ***" + echo " Please install the 'pkg-config' package." + exit 1 +fi + PKG_CHECK_MODULES(LIBNFNETLINK, libnfnetlink >= $LIBNFNETLINK_REQUIRED,, AC_MSG_ERROR(Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED)) |