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: Sandro Santilli
Subject: [Gnash-commit] gnash/macros pthreads.m4
Date: Sat, 29 Jul 2006 18:47:40 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/07/29 18:47:40

Modified files:
        macros         : pthreads.m4 

Log message:
        Fixed bug in  /usr/include path strip code

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

Patches:
Index: pthreads.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/pthreads.m4,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- pthreads.m4 29 Jul 2006 17:17:39 -0000      1.10
+++ pthreads.m4 29 Jul 2006 18:47:40 -0000      1.11
@@ -71,9 +71,7 @@
       fi], [INCLUDES = -I/usr/pkg/pthreads/include])
     else
       AC_MSG_RESULT(${ac_cv_path_pthread_incl})
-      if test x"${ac_cv_path_pthread_incl}" != x"/usr/include"; then
-       ac_cv_path_pthread_incl="${ac_cv_path_pthread_incl}"
-       else
+      if test x"${ac_cv_path_pthread_incl}" = x"/usr/include"; then
        ac_cv_path_pthread_incl=""
       fi
     fi
@@ -81,7 +79,7 @@
     if test x"${ac_cv_path_pthread_incl}" != x ; then
       AC_MSG_RESULT(yes)
       AC_DEFINE([HAVE_PTHREAD_H], [], [Has POSIX Thread header])
-      if test x"$i" != x"/usr/include"; then
+      if test x"$ac_cv_path_pthread_incl" != x"/usr/include"; then
         PTHREAD_CFLAGS="-I${ac_cv_path_pthread_incl}"
       else
         PTHREAD_CFLAGS=""




reply via email to

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