dbus 1.2.16

Scott James Remnant scott at canonical.com
Thu Jul 16 05:16:31 PDT 2009


On Thu, 2009-07-16 at 13:40 +0200, Thiago Macieira wrote:

> That means:
>  - for the feature to be enabled, we need to pass -march to i486 or higher
>  - distributions will not be able to compile D-Bus for non-486 processors.
> 
> I personally don't think 386 processors is a problem. However, we still need 
> to change ./configure. Does anyone have a patch?
> 
Ubuntu is certainly built -march=i486

The most obvious configure test would be:

AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[int inc(int *i) 
{ return __sync_sub_and_fetch(i, 1) + 1; } 
]], [])],
[],
[AC_MSG_ERROR([D-Bus requires -march=486 or better])])

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090716/928825f3/attachment.pgp 


More information about the dbus mailing list