diff --git a/configure b/configure
index 2bc6047..7685fa8 100755
--- a/configure
+++ b/configure
@@ -8170,7 +8170,7 @@
;;
*-darwin*)
- acx_pthread_flags="-pthread $acx_pthread_flags"
+ ax_pthread_flags="-pthread $ax_pthread_flags"
;;
esac
@@ -8263,10 +8263,10 @@
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;