You should add to the configure script something like
if test "x$cross_compiling" = xyes; then
NIH_DBUS_TOOL=nih-dbus-tool
else
NIH_DBUS_TOOL='$top_builddir/qualcosa/nih-debus-tool'
fi
AC_SUBST([NIH_DBUS_TOOL])
change invocations to use $(NIH_DBUS_TOOL) and make sure you have the tool preinstalled on your build machine
You should add to the configure script something like
if test "x$cross_compiling" = xyes; then TOOL=nih- dbus-tool TOOL='$ top_builddir/ qualcosa/ nih-debus- tool' [NIH_DBUS_ TOOL])
NIH_DBUS_
else
NIH_DBUS_
fi
AC_SUBST(
change invocations to use $(NIH_DBUS_TOOL) and make sure you have the tool preinstalled on your build machine