[PATCH 1/2] Use action_when_crosscompiling parameter

Thiago Macieira thiago at kde.org
Fri Apr 17 13:39:59 PDT 2009


Marc Mutz wrote:
>---
> configure.in |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
>diff --git a/configure.in b/configure.in
>index aaba9f4..90f9f41 100644
>--- a/configure.in
>+++ b/configure.in
>@@ -852,6 +852,7 @@ AC_CACHE_CHECK([abstract socket namespace],
>     exit (0);
> ]])],
>               [ac_cv_have_abstract_sockets=yes],
>+              [ac_cv_have_abstract_sockets=no],
>               [ac_cv_have_abstract_sockets=no]
> )])
> AC_LANG_POP(C)

Patch assumes that the cross-compilation target environment doesn't have 
abstract sockets. That's a safe assumption.

However, I don't know why we have this test at all. Can't the code 
determine at run-time whether this is supported?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090417/22761ee0/attachment.pgp 


More information about the dbus mailing list