On Tue, 20 Apr 2004, Mikulas Patocka wrote:

> 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.

        Ah, but there is a problem with that - some systems do not have
        -lpthread.   So adding a possibly nonexistent library unconditionally
        is not a good idea.

        The correct thing to do, I think, is add $PTHREAD_LIBS to $LIBS
        around the check for pthread_attr_getstacksize.   I've made that
        change in the CVS version - so wait a couple hours and you
        should see the change to configure.in

        Cheers,
        Steven Schultz




-------------------------------------------------------
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

Reply via email to