diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4 index 30eca1699..c65c0f665 100644 --- a/autoconf/aclocal.m4 +++ b/autoconf/aclocal.m4 @@ -244,7 +244,7 @@ int main() { pthread_mutex_lock(&mutex); pthread_create(&thread, &attrs, (void*)testthreads, NULL); pthread_mutex_unlock(&mutex); - sleep(5); + sleep(2); pthread_mutex_lock(&mutex); if (mypid == pid) exit(0); @@ -259,7 +259,7 @@ if test "$USESTDTHREAD" != "1"; then if test "$ac_cv_thread_multi" = "yes"; then AC_MSG_RESULT(Ok we'll install FSU Pthreads) cd extras -if [ -f pthreads.tar.gz ] ; then +if [ -f "pthreads.tar.gz" ] ; then gunzip -d pthreads.tar.gz fi tar xf pthreads.tar diff --git a/configure b/configure index 19af9e189..d52c475d5 100755 --- a/configure +++ b/configure @@ -4276,7 +4276,7 @@ if test "$USESTDTHREAD" != "1"; then if test "$ac_cv_thread_multi" = "yes"; then echo "$ac_t""Ok we'll install FSU Pthreads" 1>&6 cd extras -if -f "pthreads.tar.gz" ; then +if [ -f "pthreads.tar.gz" ] ; then gunzip -d pthreads.tar.gz fi tar xf pthreads.tar