> On Wed, Apr 15, 2015 at 01:07:30PM +0900, YAMAMOTO Takashi wrote:
>> > On FreeBSD using AC_SEARCH_LIBS is not sufficient for finding the 
>> > linker flags for linking with a pthread library.
>> > Add macro ax_pthread.m4 from GNU autoconf macro archive and use
>> > macro AX_PTHREAD.
>> > 
>> > Signed-off-by: Kevin Lo <kevlo at FreeBSD.org>
>> > ---
>> > 
>> > diff --git a/configure.ac b/configure.ac
>> > index 8d47eb9..531a1f0 100644
>> > --- a/configure.ac
>> > +++ b/configure.ac
>> > @@ -84,6 +84,11 @@ AC_SEARCH_LIBS([timer_create], [rt])
>> >  AC_SEARCH_LIBS([pthread_sigmask], [pthread])
>> 
>> i guess AC_SEARCH_LIBS for potentially-in-libpthread stuffs
>> should be after the AX_PTHREAD check.
> 
> Hmm, I guess that we don't need that AC_SEARCH_LIBS at all when
> AX_PTHREAD is in use.  I think that AX_PTHREAD does everything needed.

sure, very likely.

YAMAMOTO Takashi
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to