From ac092197b47432f0a6bc301f157ff7e423352bb3 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 5 Jul 2012 10:53:44 +0200 Subject: [PATCH] autotools: pthread deps is needed on ubuntu. It is weird but adding pthread in needed on ubuntu 1204. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"