X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=common%2Facx_pthread.m4;h=75f6a80a78919d0bef8476d04d908cce8814753d;hb=f8086b037dec60a82aa6890f19dbc3f73af46c98;hp=a96d31dd6bfbc4854a8eed837137a2d625bd180b;hpb=65966c9895d70210b5a5ad10330a81eb3cee4b95;p=catta diff --git a/common/acx_pthread.m4 b/common/acx_pthread.m4 index a96d31d..75f6a80 100644 --- a/common/acx_pthread.m4 +++ b/common/acx_pthread.m4 @@ -231,7 +231,7 @@ if test "x$acx_pthread_ok" = xyes; then # First, check whether caller wants us to skip -shared checks # this is useful AC_MSG_CHECKING([whether to check for GCC pthread/shared inconsistencies]) - if test x"$3" = x1; then + if test x"$GCC" != xyes; then AC_MSG_RESULT([no]) else AC_MSG_RESULT([yes])