diff options
author | laforge <laforge> | 2002-07-30 08:00:47 +0000 |
---|---|---|
committer | laforge <laforge> | 2002-07-30 08:00:47 +0000 |
commit | dc8cc03aa1c0879ac600967ca37b36aa6fb7ddf6 (patch) | |
tree | 80b164819c4162cb62304a79603ccd64418b48f3 /configure.in | |
parent | 468c6fb8fec0809988e19ebbbed6191d9fcee461 (diff) |
make ulogd_PCAP build conditional to the existance of pcap.h
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 06cbff1..4a749eb 100644 --- a/configure.in +++ b/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) |