diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-10-09 09:27:19 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-10-10 11:13:05 +0200 |
commit | 19b2d83ff631aaca3fe5e2be895cc7256f209a0b (patch) | |
tree | 881c285cacb29a5405b89efe552fe2359008c6f0 /configure.ac | |
parent | a81f4f3e332f527abec1175f2b26228464edc78d (diff) |
autoconf/ulogd: fix broken libpcap AM_CONDITIONAL
The AM_CONDITIONAL lacks the opening bracket, hence it always evaluates
as true, even if there's no libpcap found thus causing build breakage.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 10b6e1f..0f21cf1 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_SEARCH_LIBS([dlopen], [dl], [libdl_LIBS="$LIBS"; LIBS=""]) AC_SUBST([libdl_LIBS]) AC_SEARCH_LIBS([pcap_close], [pcap], [libpcap_LIBS="-lpcap"; LIBS=""]) AC_SUBST([libpcap_LIBS]) -AM_CONDITIONAL([HAVE_PCAP], test -n "$libpcap_LIBS"]) +AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"]) dnl Checks for header files. AC_HEADER_DIRENT |