Taniwha fixed a problem for me - gcc on my ps2 at least when -pthread

isn't a valid option does not bomb out with a error status so this is
the workaround.

Tim McGrath (Hikaru/Misty/Misty-chan)
This commit is contained in:
Timothy C. McGrath 2002-11-20 01:27:03 +00:00
parent 854f6d9054
commit 630a762239

View file

@ -166,7 +166,7 @@ if test "x$ac_cv_header_pthread_h" = "xyes"; then
AC_TRY_LINK(
[#include <pthread.h>],
[pthread_attr_t type;
pthread_attr_init(&type);],
pthread_attr_setstacksize(&type);],
[PTHREAD_LDFLAGS=-pthread],
[PTHREAD_LDFLAGS=-lpthread]
)