[avahi] [ANNOUNCE] Avahi 0.6.10

Sjoerd Simons sjoerd at luon.net
Mon May 15 06:13:41 PDT 2006


On Mon, May 15, 2006 at 11:31:57AM +0100, Padraig O'Briain wrote:
> Sjoerd Simons wrote:
> >On Mon, May 08, 2006 at 11:31:04AM +0100, Padraig O'Briain wrote:
> >  
> >>I am having a problem with the checking "whether to check for GCC 
> >>pthread/shared inconsistencies" added to common/acx_pthread.m4 as -fPIC 
> >>is not supported by my compiler.
> >>
> >>Is there a way for me to disable these checks on Solaris?
> >>    
> >
> >Are you using GCC on solaris or some other compiler ?
> >  
> 
> I am using Sun's compiler from Sun Studio 11.

Could you try the attached patch to configure.ac ?  This should prevent it from
running gcc specific tests with another compiler. You should see following in
your configure output: 

checking whether to check for GCC pthread/shared inconsistencies... no

  Sjoerd
-- 
A pain in the ass of major dimensions.
		-- C. A. Desoer, on the solution of non-linear circuits
-------------- next part --------------
Index: common/acx_pthread.m4
===================================================================
--- common/acx_pthread.m4	(revision 1218)
+++ common/acx_pthread.m4	(working copy)
@@ -231,7 +231,7 @@
    # 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])


More information about the avahi mailing list