From: cristy Date: Thu, 23 Sep 2010 16:11:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8822 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b472e5cd5a578ffb442921f54c78698ebf68704;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index dd68a290d..8c21ff65b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2010-09-12 6.6.4-6 Cristy * 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 * Modified "magick/resize.c" so that MagickPIL is a MagickRealType number. diff --git a/configure b/configure index 2bc6047e1..7685fa812 100755 --- 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; diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4 index bdae47716..164391e6d 100644 --- a/m4/ax_pthread.m4 +++ b/m4/ax_pthread.m4 @@ -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])