summaryrefslogtreecommitdiffabout
path: root/configure.ac
Side-by-side diff
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a244400..b96ca94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ AC_STRUCT_TM
dnl Check for libraries
AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(nsl, main)
-AC_CHECK_LIB(pcap, pcap_init,
+AC_CHECK_LIB(pcap, pcap_compile,
[LIBS="-lpcap $LIBS"],
[AC_MSG_ERROR([Required library libpcap not found])])

Return to:

Send suggestions and report system problems to the System administrator.