X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=common%2Facx_pthread.m4;fp=common%2Facx_pthread.m4;h=75f6a80a78919d0bef8476d04d908cce8814753d;hb=7897fe095365bef530398d4a2a9dcb1cd01940c7;hp=a96d31dd6bfbc4854a8eed837137a2d625bd180b;hpb=d68819ff6dba074f1c5fac5fadd52fcfe154de24;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])