]> git.meshlink.io Git - catta/blobdiff - common/acx_pthread.m4
* Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons)
[catta] / common / acx_pthread.m4
index a96d31dd6bfbc4854a8eed837137a2d625bd180b..75f6a80a78919d0bef8476d04d908cce8814753d 100644 (file)
@@ -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])