Dear Ralf, > > 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.
I used AX_PTHREAD and that doesn't changed anything. But I'm a but wondering, why libtool can't be forced to omit certain flags in the *la files. > Cheers, > Ralf >