From 630a762239fa9fda3c12410b345922f098b25cf7 Mon Sep 17 00:00:00 2001 From: "Timothy C. McGrath" Date: Wed, 20 Nov 2002 01:27:03 +0000 Subject: [PATCH] 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) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 12b312e76..34ddbc969 100644 --- a/configure.ac +++ b/configure.ac @@ -166,7 +166,7 @@ if test "x$ac_cv_header_pthread_h" = "xyes"; then AC_TRY_LINK( [#include ], [pthread_attr_t type; - pthread_attr_init(&type);], + pthread_attr_setstacksize(&type);], [PTHREAD_LDFLAGS=-pthread], [PTHREAD_LDFLAGS=-lpthread] )