diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-06-09 18:41:28 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-06-09 18:41:28 +0000 |
commit | e0cdc12b83e62b4236f4b4bff3a4fd0475ed4822 (patch) | |
tree | 176c0af0fde545db90d7365d5b911db7a34c98c1 | |
parent | 3e093dbcb66b3bca23f603836510b1b3032d92a5 (diff) | |
download | conntrack-tools-e0cdc12b83e62b4236f4b4bff3a4fd0475ed4822.tar.gz conntrack-tools-e0cdc12b83e62b4236f4b4bff3a4fd0475ed4822.zip |
add library dependency checking
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 10 |
2 files changed, 13 insertions, 1 deletions
@@ -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 diff --git a/configure.in b/configure.in index 37e7a9c..06c787f 100644 --- a/configure.in +++ b/configure.in @@ -16,6 +16,16 @@ case $target in *) 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 |