diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-04-15 21:29:09 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-04-15 21:29:09 +0100 |
commit | 725e98ffa810d04baf38e5d5d3f62091334b0888 (patch) | |
tree | 301a23e08ef1a05ddb6e97148336ab147fe715cc /configure.ac | |
parent | bc474819fa638a0daf3c89e6d041949b73e9228e (diff) |
add --with-dbus-binding-tool option to use an external dbus-binding-tool
Cross compilation fix. dbus-binding-tool needs to run on the host, but
gets
compiled for the target. Add an option to use an external program
(host version) instead, similar to the --with-introspect-xml option.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 621a4ff..982d6ee 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,11 @@ if test x$enable_verbose_mode = xyes; then AC_DEFINE(DBUS_ENABLE_VERBOSE_MODE,1,[Support a verbose mode]) fi +AC_ARG_WITH(dbus-binding-tool, + AS_HELP_STRING([--with-dbus-binding-tool=[filename]],[Use external dbus-binding-tool program]), + [DBUS_BINDING_TOOL=$withval],[DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool]) +AC_SUBST(DBUS_BINDING_TOOL) + dnl DBUS_BUILD_TESTS controls unit tests built in to .c files dnl and also some stuff in the test/ subdir |