diff --git a/auxdir/acx_pthread.m4 b/auxdir/acx_pthread.m4 index ed9885ed3f71b9ec101f8418bd8f638a9f47b27d..22ff8c543616b61259308bdbbd87c28bde542a06 100644 --- a/auxdir/acx_pthread.m4 +++ b/auxdir/acx_pthread.m4 @@ -144,7 +144,7 @@ for flag in $acx_pthread_flags; do # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], [[pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); + pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_atfork(NULL, NULL, NULL); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ]])],[acx_pthread_ok=yes],[]) LIBS="$save_LIBS" diff --git a/configure b/configure index c1730b66fe698eb74dda62f5822d78d90e5e707b..8e88c25b0e034251498bb6404fe8c8537985a41e 100755 --- a/configure +++ b/configure @@ -19146,7 +19146,7 @@ int main () { pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); + pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_atfork(NULL, NULL, NULL); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ; return 0;