autotools: pthread deps is needed on ubuntu.

It is weird but adding pthread in needed on ubuntu 1204.
remotes/origin/master
Eric Leblond 14 years ago committed by Victor Julien
parent 9f3e079bcf
commit ac092197b4

@ -802,7 +802,7 @@ AC_INIT(configure.in)
fi fi
LIBPCAP="" 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 if test "$LIBPCAP" = "no"; then
echo echo
echo " ERROR! libpcap library not found, go get it" echo " ERROR! libpcap library not found, go get it"

Loading…
Cancel
Save