diff options
-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 |