Hello,

* [email protected] 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