summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Aker <brian@tangent.org>2014-01-25 23:52:32 -0800
committerBrian Aker <brian@tangent.org>2014-01-25 23:52:32 -0800
commit5454156ae38fbe9fa58bcd31fe239a0c11c78a20 (patch)
treecb5d87ff819f045d9558848ea35167dea8554daa
parentbb4478c306df041952cfac9bf9dae265c1c7293d (diff)
downloadlibmemcached-5454156ae38fbe9fa58bcd31fe239a0c11c78a20.tar.gz
Updated pthread m4.
-rw-r--r--m4/ax_pthread.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
index 007f6276..18055791 100644
--- a/m4/ax_pthread.m4
+++ b/m4/ax_pthread.m4
@@ -82,11 +82,12 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 22
+#serial 23
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
AC_DEFUN([AX_PTHREAD], [
AC_REQUIRE([AC_CANONICAL_HOST])
+AC_LANG_PUSH([C])
ax_pthread_ok=no
# We used to check for pthread.h first, but this fails if pthread.h
@@ -327,4 +328,5 @@ else
ax_pthread_ok=no
$2
fi
+AC_LANG_POP
])dnl AX_PTHREAD