[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10817: use the mingw32 pthread libr
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10817: use the mingw32 pthread library, which is different than the unix one. |
Date: |
Mon, 20 Apr 2009 18:17:56 -0600 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
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] /srv/bzr/gnash/trunk r10817: use the mingw32 pthread library, which is different than the unix one.,
rob <=