]> git.meshlink.io Git - catta/commitdiff
* Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons)
authorLennart Poettering <lennart@poettering.net>
Fri, 19 May 2006 10:53:11 +0000 (10:53 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 May 2006 10:53:11 +0000 (10:53 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1220 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

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])