summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/acx_pthread.m42
1 files changed, 1 insertions, 1 deletions
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])