X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fax_pthread.m4;h=180557910c4181685ceb555ca3ef84640f394a7a;hb=6730933820b3c3f7b016b4d33a209198d195a37a;hp=007f6276a42ba81c531a0d581eb768d2d0843f37;hpb=52549085a3f42554cf40c63d4f0d20ec7170a46a;p=awesomized%2Flibmemcached 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