From: Lennart Poettering Date: Fri, 19 May 2006 10:53:11 +0000 (+0000) Subject: * Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=7897fe095365bef530398d4a2a9dcb1cd01940c7;p=catta * Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1220 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- 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])