Scott James Remnant wrote:
[...]
> Actually you mean you need nih-dbus-tool compiled for the build
> architecture, not the host architecture (to use autoconf parlance).
> 
> I've no idea how to do this, but would gladly accept patches - I imagine
> that it must be possible with Automake.

Yes, but FAFAIK there is no out-of-the-box autoconf support for it. Most
 packages I see use a construct like this (which I think is kludgy):

if test x"$cross_compiling" = xyes; then
        AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
else
        CC_FOR_BUILD="$CC"
fi

and use CC_FOR_BUILD instead of CC for the commands. Of course, this
will not work if nih-dbus-tool would generate different code on the
build and host system; in that case the tool would have to be made
target-aware.


Regards,
Arno

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to