This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/mousepad.
commit cc59b2a79eb226b5f86c764620655d0f5186798e Author: Andre Miranda <[email protected]> Date: Mon Jun 17 22:51:19 2019 -0300 Check for gdbus-codegen, but allow disabling DBUS support --- configure.ac.in | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index a3d7be7..41ddc47 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -126,11 +126,22 @@ AC_ARG_ENABLE([keyfile-settings], AM_CONDITIONAL([WITH_KEYFILE_SETTINGS], [test "x$enable_keyfile_settings" = "xyes"]) -dnl ********************************** -dnl *** Optional support for D-BUS *** -dnl ********************************** -XDT_CHECK_OPTIONAL_PACKAGE([DBUS], [dbus-1], - [0.34], [dbus], [D-BUS support]) +dnl *********************************** +dnl *** Check for gdbus-codegen *** +dnl *********************************** +AC_ARG_ENABLE([dbus], + [AS_HELP_STRING([--enable-dbus], + [Enable DBUS support])], + [enable_dbus=$enableval], + [enable_dbus="yes"]) + +AM_CONDITIONAL([HAVE_DBUS], [test "x$enable_dbus" = "xyes"]) + +AS_IF([test "x$enable_dbus" = "xyes"], +[ + AC_PATH_PROG([GDBUS_CODEGEN], [gdbus-codegen]) + AC_DEFINE([HAVE_DBUS], [1], [Define if DBUS support is enabled]) +]) dnl *************************************************** dnl *** Check for tools required in maintainer mode *** @@ -181,11 +192,7 @@ dnl *************************** echo echo "Build Configuration:" echo -if test x"$DBUS_FOUND" = x"yes"; then -echo "* D-BUS support: yes" -else -echo "* D-BUS support: no" -fi +echo "* D-BUS support: $enable_dbus" echo "* Debug Support: $enable_debug" echo "* Use keyfile backend: $enable_keyfile_settings" echo "* Build with GTK+ 3: $enable_gtk3" -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
