From 5454156ae38fbe9fa58bcd31fe239a0c11c78a20 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 25 Jan 2014 23:52:32 -0800 Subject: [PATCH] Updated pthread m4. --- m4/ax_pthread.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2