Hi
There's a bug in mjpegtools config script --- the test for
pthread_attr_getstacksize is done without -lpthread, so it always fails,
even if the function is present. You should change
PTHREAD_LIBS="-lpthread" to LIBS="$LIBS" -lpthread --- then, i think,
configure will do the next test with -lpthread.
Mikulas
AC_CHECK_LIB(pthread, pthread_create,
[ PTHREAD_LIBS="-lpthread"
AC_DEFINE(HAVE_LIBPTHREAD,1,
[Posix pththreads lib present])
have_pthread=true ],,)
AC_CHECK_FUNC(pthread_attr_getstacksize,
^^^^^^^^ ./configure tries to link it without -lpthread
[
AC_DEFINE(HAVE_PTHREADSTACKSIZE,1,
[pthread stack sizes accesible] )
] )
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users