aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-04-17 11:56:29 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-04-17 11:56:37 +0200
commita29ea763ea3ebf5665682e5c165caa1a98efe6b3 (patch)
tree7ae848cddacb16e0f3a38d3391d2182a041d500f /configure.ac
parentd5b68e2c70c5afe4f6b1248674ba8f4ae3baabd6 (diff)
Build jibuf_tool based on libpcap availability
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f01dac9..8fb338a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,10 @@ LIBS=$old_LIBS
AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built))
+found_pcap=yes
+AC_CHECK_HEADERS(pcap.h,,found_pcap=no)
+AM_CONDITIONAL(HAVE_PCAP, test "$found_pcap" = yes)
+
AC_ARG_ENABLE(doxygen,
[AS_HELP_STRING(
[--disable-doxygen],