------------------------------------------------------------
revno: 10817
committer: address@hidden
branch nick: trunk
timestamp: Mon 2009-04-20 18:17:56 -0600
message:
use the mingw32 pthread library, which is different than the unix
one.
modified:
macros/pthreads.m4
=== modified file 'macros/pthreads.m4'
--- a/macros/pthreads.m4 2009-03-31 19:26:23 +0000
+++ b/macros/pthreads.m4 2009-04-21 00:17:56 +0000
@@ -187,7 +187,13 @@
AC_MSG_RESULT([using $PTHREAD_LIBS])
break
else
- PTHREAD_LIBS="-lpthread"
+ dnl If using Mingw, we have to use the pthreadGCE2
library,as it has
+ dnl has exception handling support for C++.
+ if test x"${host_os}" = x"mingw32"; then
+ PTHREAD_LIBS="-lpthreadGCE2"
+ else
+ PTHREAD_LIBS="-lpthread"
+ fi
AC_MSG_RESULT([using $PTHREAD_LIBS])
break
fi
_______________________________________________
Gnash-commit mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-commit