automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread + SUN Compiler


From: Ralf Wildenhues
Subject: Re: pthread + SUN Compiler
Date: Wed, 17 Feb 2010 08:00:51 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hello,

* address@hidden wrote on Tue, Feb 16, 2010 at 06:27:46PM CET:
> I can't figure out where the pthread is come from. 

[...]
> ======================================================================
> # Check for -lpthread
> # 
> ======================================================================
> AC_CHECK_LIB(pthread, pthread_create,,
>                               AC_CHECK_LIB(pthread, __pthread_create,,
>                               AC_CHECK_LIB(pthread, __pthread_create_system,,
>                               AC_CHECK_LIB(c_r, pthread_create,,
>                               AC_CHECK_LIB(c, pthread_create,,
>                               AC_MSG_ERROR("could not find thread 
> libraries"))))))

Try using the ACX_PTHREAD macro from the Autoconf Macro Archive instead
of this hand-made thing.  Probably Bob is right though that this was
pulled in from another (gcc-compiled?) installed libtool library.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]