gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/macros pthreads.m4


From: Eric Hughes
Subject: [Gnash-commit] gnash/macros pthreads.m4
Date: Mon, 29 Oct 2007 16:38:08 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Eric Hughes <eh9>       07/10/29 16:38:08

Modified files:
        macros         : pthreads.m4 

Log message:
        Added mingw to pthread detection.  Corrected a defect that omitted a 
result message.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/pthreads.m4?cvsroot=gnash&r1=1.32&r2=1.33

Patches:
Index: pthreads.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/pthreads.m4,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- pthreads.m4 13 Oct 2007 23:24:08 -0000      1.32
+++ pthreads.m4 29 Oct 2007 16:38:08 -0000      1.33
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 dnl Copyright (C) 2006 Steven G. Johnson <address@hidden>.
-dnl $Id: pthreads.m4,v 1.32 2007/10/13 23:24:08 rsavoye Exp $
+dnl $Id: pthreads.m4,v 1.33 2007/10/29 16:38:08 eh9 Exp $
 
 AC_DEFUN([GNASH_PATH_PTHREADS],
 [
@@ -88,7 +88,7 @@
   *darwin*)
     pthread_flags="none"
     ;;
-  *mingw*)
+  *mingw* | *cygwin*)
     pthread_flags="-mthreads"
     ;;
   *solaris*)
@@ -182,12 +182,13 @@
       pthreads=yes
      if test ! x"$i" = x"/usr/lib" -a ! x"$i" = x"/usr/lib64"; then
        PTHREAD_LIBS="-L$i -lpthread"
+        AC_MSG_RESULT([using $PTHREAD_LIBS])
        break
       else
        PTHREAD_LIBS="-lpthread"
+        AC_MSG_RESULT([using $PTHREAD_LIBS])
        break
      fi
-      AC_MSG_RESULT(yes)
     fi
   done
   if test x"${PTHREAD_LIBS}" = "x"; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]