This works for me.

Thanks.

Padraig

Sjoerd Simons wrote:
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
------------------------------------------------------------------------

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

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to