[vorbis-dev] Re: ogg123 testing

Christian Weisgerber naddy at mips.inka.de
Fri Nov 23 11:44:09 PST 2001



Christian Weisgerber <naddy at mips.inka.de> wrote:

> > > You will need to add some autoconf glue to deal with pthreads.
> > > Okay, added -pthreads, trying again.
> > 
> > Okay, fixed that in CVS.
> 
> Insufficiently. [...]  I'll see if I can find a proper autoconf
> fragment for this.

I can't find a canonical solution, but how about something like
this?

AC_CHECK_LIB(pthread, pthread_mutex_init, THREAD_LIBS="-lpthread",
  LIBS="$LIBS -pthread"
  AC_CHECK_FUNC(pthread_mutex_init, THREAD_LIBS="-pthread",
    AC_MSG_ERROR(pthread library needed!)))


-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list