]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 23 Sep 2010 16:11:43 +0000 (16:11 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 23 Sep 2010 16:11:43 +0000 (16:11 +0000)
ChangeLog
configure
m4/ax_pthread.m4

index dd68a290d8a2fca4c947b650ce2c4d70e8edd6f2..8c21ff65bfcec8d6238310153e1f1a2da1ca2bc8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-09-12  6.6.4-6 Cristy  <quetzlzacatenango@image...>
   * Do not break words if caption size is absolute (reference
     http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=17123).
+  * Don't define HAVE_THREADS for --without-threads configure script option.
 
 2010-09-20  6.6.4-5 Nicolas Robidoux <nicolas.robidoux@gmail...>
   * Modified "magick/resize.c" so that MagickPIL is a MagickRealType number.
index 2bc6047e1f3965ec1ecf5a49c3beb1a6368c26db..7685fa81204980579be40e5d4d9b3bffa0135b49 100755 (executable)
--- a/configure
+++ b/configure
@@ -8170,7 +8170,7 @@ case "${host_cpu}-${host_os}" in
         ;;
 
        *-darwin*)
-       acx_pthread_flags="-pthread $acx_pthread_flags"
+       ax_pthread_flags="-pthread $ax_pthread_flags"
        ;;
 esac
 
@@ -8263,10 +8263,10 @@ int
 main ()
 {
 pthread_t th; pthread_attr_t attr;
+                     pthread_create(&th,0,start_routine,0);
                      pthread_join(th, 0);
                      pthread_attr_init(&attr);
                      pthread_cleanup_push(routine, 0);
-                     pthread_create(&th,0,start_routine,0);
                      pthread_cleanup_pop(0);
   ;
   return 0;
index bdae47716c62af98ba555ac94cec96ee08636630..164391e6d900843df6e12874e1b0f03c6d48223f 100644 (file)
@@ -75,7 +75,7 @@
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
-#serial 7
+#serial 9
 
 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
 AC_DEFUN([AX_PTHREAD], [
@@ -154,7 +154,7 @@ case "${host_cpu}-${host_os}" in
         ;;
 
        *-darwin*)
-       acx_pthread_flags="-pthread $acx_pthread_flags"
+       ax_pthread_flags="-pthread $ax_pthread_flags"
        ;;
 esac
 
@@ -202,10 +202,10 @@ for flag in $ax_pthread_flags; do
                     static void routine(void* a) {a=0;}
                     static void* start_routine(void* a) {return a;}],
                     [pthread_t th; pthread_attr_t attr;
+                     pthread_create(&th,0,start_routine,0);
                      pthread_join(th, 0);
                      pthread_attr_init(&attr);
                      pthread_cleanup_push(routine, 0);
-                     pthread_create(&th,0,start_routine,0);
                      pthread_cleanup_pop(0); ],
                     [ax_pthread_ok=yes])