From f69968a60146d1594e62a0b9794e2862ea6dc115 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 13 Jul 2010 23:03:24 -0300 Subject: Add some extra autoconf/automake magic for iptables library --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 65144834..f1377491 100644 --- a/configure.ac +++ b/configure.ac @@ -347,6 +347,11 @@ AM_CONDITIONAL(CLIENT, test "${enable_client}" = "yes") AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools], [enable testing tools]), [enable_tools=${enableval}]) if (test "${enable_tools}" = "yes"); then + PKG_CHECK_MODULES(IPTC, libiptc, dummy=yes, + AC_MSG_ERROR(iptables library is required)) + AC_SUBST(IPTC_CFLAGS) + AC_SUBST(IPTC_LIBS) + PKG_CHECK_MODULES(NETLINK, libnl-1, dummy=yes, AC_MSG_ERROR(Netlink library is required)) AC_SUBST(NETLINK_CFLAGS) -- cgit v1.2.3