summaryrefslogtreecommitdiffstats
path: root/ulogd/configure.in
diff options
context:
space:
mode:
authorlaforge <laforge>2002-07-30 08:00:47 +0000
committerlaforge <laforge>2002-07-30 08:00:47 +0000
commita7d746549ff7731ef3941013dbd0b9b31fb2982b (patch)
tree361c8d5f9f9589a0d4bd9b40ea40dad923fceafa /ulogd/configure.in
parent575fb38957a2a27951579a40f4d1c3914752f52c (diff)
make ulogd_PCAP build conditional to the existance of pcap.h
Diffstat (limited to 'ulogd/configure.in')
-rw-r--r--ulogd/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/ulogd/configure.in b/ulogd/configure.in
index 06cbff1..4a749eb 100644
--- a/ulogd/configure.in
+++ b/ulogd/configure.in
@@ -8,6 +8,7 @@ AC_PROG_INSTALL
dnl Checks for libraries.
AC_CHECK_LIB(dl, dlopen)
+AC_CHECK_HEADERS(pcap.h)
dnl Checks for header files.
AC_HEADER_DIRENT
@@ -181,8 +182,9 @@ AC_SUBST(DB_DEF)
AC_SUBST(EXTRA_MYSQL_DEF)
AC_SUBST(DATABASE_DRIVERS)
+AC_SUBST(HAVE_PCAP_H)
AM_CONDITIONAL(HAVE_MYSQL, test x$mysqldir != x)
AM_CONDITIONAL(HAVE_PGSQL, test x$pgsqldir != x)
-AC_OUTPUT(extensions/Makefile doc/Makefile conffile/Makefile libipulog/Makefile mysql/Makefile pgsql/Makefile Makefile Rules.make)
+AC_OUTPUT(extensions/Makefile doc/Makefile conffile/Makefile libipulog/Makefile mysql/Makefile pgsql/Makefile pcap/Makefile Makefile Rules.make)