From: Ben Pfaff Date: Mon, 6 May 2013 22:41:29 +0000 (-0700) Subject: Allow master to build on Fedora with the recent threading changes X-Git-Tag: sliver-openvswitch-1.10.90-3~16^2~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8e85e0374909b3c1ad6643311f83ce6ee1768c29;p=sliver-openvswitch.git Allow master to build on Fedora with the recent threading changes The recent threading changes have broken the build on Fedora, and presumably other Red Hat based distributions. This adds an explicit "-lpthread" to the linker command line and allows the latest master to build on Fedora. I've also tested this on Ubuntu and it builds fine there. Signed-off-by: Kyle Mestery Signed-off-by: Ben Pfaff Acked-by: Ed Maste --- diff --git a/configure.ac b/configure.ac index bbb6dea7f..fe3f9c787 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,7 @@ AC_SYS_LARGEFILE AC_SEARCH_LIBS([pow], [m]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_SEARCH_LIBS([timer_create], [rt]) +AC_SEARCH_LIBS([pthread_sigmask], [pthread]) OVS_CHECK_ESX OVS_CHECK_COVERAGE