]> git.ipfire.org Git - thirdparty/iptables.git/commit
build: fail in configure on missing dependency with --enable-bpf-compiler
authorWillem de Bruijn <willemb@google.com>
Mon, 22 Jul 2013 00:02:38 +0000 (20:02 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 26 Jul 2013 14:27:44 +0000 (16:27 +0200)
commitc18f2ce7f61c7e7ae3bd207ef6337a1be0c7aff3
tree85e51e50c29b657478515f0155b31951b5bf891c
parent59bbc59fd2fbbb7a51ed19945d82172890bc40f9
build: fail in configure on missing dependency with --enable-bpf-compiler

The build of utils/nfbpf_compile depends on libpcap. If configure is
run with --enable-bpf-compiler, the script succeeds, but make fails.

This small patch adds a test for the dependency (libpcap) in configure
and fails hard if not found.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac