summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2014-07-02 22:19:12 -0400
committerWill Estes <westes575@gmail.com>2014-11-12 05:14:28 -0500
commit2c64f2fa80772cd681f4c358e651accd7868552c (patch)
tree931dffc196f6067496e9ccc212bd014877b3c410 /configure.ac
parent9146975ee4f9ebb119aa759a01eb520c17db8b0f (diff)
use automake conditional around pthread test
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4edc904..977ea3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,6 +93,7 @@ AC_DEFINE([HAVE_LIBPTHREAD], 1, [pthread library] ),
AC_DEFINE([HAVE_LIBPTHREAD], 0, [pthread library] )
)
AC_CHECK_HEADERS([pthread.h])
+AM_CONDITIONAL([want_pthread], [test x$ac_cv_lib_pthread_pthread_mutex_lock = xyes])
AC_CHECK_LIB(m, log10)