[netfilter-cvslog] r6869 - trunk/conntrack-tools

pablo at netfilter.org pablo at netfilter.org
Sat Jun 9 20:41:28 CEST 2007


Author: pablo at netfilter.org
Date: 2007-06-09 20:41:28 +0200 (Sat, 09 Jun 2007)
New Revision: 6869

Modified:
   trunk/conntrack-tools/ChangeLog
   trunk/conntrack-tools/configure.in
Log:
add library dependency checking


Modified: trunk/conntrack-tools/ChangeLog
===================================================================
--- trunk/conntrack-tools/ChangeLog	2007-06-09 18:32:30 UTC (rev 6868)
+++ trunk/conntrack-tools/ChangeLog	2007-06-09 18:41:28 UTC (rev 6869)
@@ -1,10 +1,12 @@
 version 0.9.4 (yet unreleased)
 ------------------------------
 
+o fix error message in configure.in (Eric Leblond)
+o add library dependency checking to configure.in
+
 = conntrackd =
 o simplify checksum code: use UDP/multicast checksum facilities
 o fix silly bug in build_network_message: out of bound memset
-o fix error message in configure.in (Eric Leblond)
 o remove useless backlog parameter in multicast sockets
 o remove reminiscents of delay destroy message and relax transitions
 o remove confusing StripNAT parameter: NAT support enabled by default

Modified: trunk/conntrack-tools/configure.in
===================================================================
--- trunk/conntrack-tools/configure.in	2007-06-09 18:32:30 UTC (rev 6868)
+++ trunk/conntrack-tools/configure.in	2007-06-09 18:41:28 UTC (rev 6869)
@@ -16,6 +16,16 @@
 *) AC_MSG_ERROR([Linux only, dude!]);;
 esac
 
+dnl Dependencies
+LIBNFNETLINK_REQUIRED=0.0.25
+LIBNETFILTER_CONNTRACK_REQUIRED=0.0.80
+
+PKG_CHECK_MODULES(LIBNFNETLINK, libnfnetlink >= $LIBNFNETLINK_REQUIRED,,
+        AC_MSG_ERROR(Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED))
+
+PKG_CHECK_MODULES(LIBNETFILTER_CONNTRACK, libnetfilter_conntrack >= $LIBNETFILTER_CONNTRACK_REQUIRED,,
+        AC_MSG_ERROR(Cannot find libnetfilter_conntrack >= $LIBNETFILTER_CONNTRACK_REQUIRED))
+
 AC_CHECK_PROGS(XYACC,$YACC bison yacc,none)
 if test "$XYACC" = "none"
 then




More information about the netfilter-cvslog mailing list