summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-09 14:11:00 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-09 14:11:21 +0200
commit2e49479b19066f7f7899cbf78e5531b18a44b023 (patch)
treef6470df83c8a00c0fd3c2fcf1a829c81089c87ea
parent2b47f87039ad2108c832f40cdbcca56e88d44d41 (diff)
downloadgnutls-2e49479b19066f7f7899cbf78e5531b18a44b023.tar.gz
corrected configure test for pthread_mutex_lock
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d109e9bd89..e82891ce52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,8 +159,8 @@ AC_LIB_HAVE_LINKFLAGS(rt,, [#include <time.h>
], [timer_create (0,0,0);])
if test "$have_win" != "yes";then
+ AC_CHECK_FUNCS([pthread_mutex_lock],,)
if test "$ac_cv_func_pthread_mutex_lock" != "yes";then
- AC_CHECK_FUNCS([pthread_mutex_lock],,)
AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);])
fi
fi