From: Eric Leblond Date: Thu, 5 Jul 2012 08:53:44 +0000 (+0200) Subject: autotools: pthread deps is needed on ubuntu. X-Git-Tag: suricata-1.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac092197b47432f0a6bc301f157ff7e423352bb3;p=thirdparty%2Fsuricata.git autotools: pthread deps is needed on ubuntu. It is weird but adding pthread in needed on ubuntu 1204. --- diff --git a/configure.in b/configure.in index 406a8a53d5..02f3ce6e5f 100644 --- a/configure.in +++ b/configure.in @@ -802,7 +802,7 @@ AC_INIT(configure.in) fi LIBPCAP="" - AC_CHECK_LIB(pcap, pcap_open_live,, LIBPCAP="no") + AC_CHECK_LIB(pcap, pcap_open_live,, LIBPCAP="no", [-lpthread]) if test "$LIBPCAP" = "no"; then echo echo " ERROR! libpcap library not found, go get it"