Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        configure.in 


Log Message:


lutin patch to make pthread strictable

===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -3 -r1.257 -r1.258
--- configure.in        30 Apr 2008 12:21:31 -0000      1.257
+++ configure.in        5 May 2008 09:21:15 -0000       1.258
@@ -1157,11 +1157,19 @@
   AC_HELP_STRING([--enable-pthreads], [enable threaded rendering]),
   [
       if test "x$enableval" = "xyes" ; then
-        AC_MSG_RESULT(yes)
-        AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
-        build_pthreads="yes"
-        pthread_cflags=""
-        pthread_libs="-lpthread"
+        if test "x$build_pthreads" = "xyes"; then
+          AC_MSG_RESULT(yes)
+          AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
+          build_pthreads="yes"
+          pthread_cflags=""
+          pthread_libs="-lpthread"
+        else
+          if "x$use_strict" = "xyes"; then
+            AC_MSG_ERROR(pthreads headers or functions not found (strict 
dependencies checking))
+          else
+            AC_MSG_RESULT(no: pthread headers or functions not found)
+          fi
+        fi
       else
         AC_MSG_RESULT(no)
         build_pthreads="no"



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to