aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2024-12-23 12:46:23 +0100
committerMichael Albinus2024-12-23 12:46:23 +0100
commitb1de495eeae9afc8abccd908e5c53c463afdb7dc (patch)
tree1c2a0b490ed66ba98875fffebbb51e4fec1f726a
parent6017c6a986fd958732facb1bb6ea2c040981b023 (diff)
downloademacs-b1de495eeae9afc8abccd908e5c53c463afdb7dc.tar.gz
emacs-b1de495eeae9afc8abccd908e5c53c463afdb7dc.zip
* configure.ac (dbus): Default to ifavailable. (Bug#75004)
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 1c7545ef984..18cbb42b0ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -578,7 +578,7 @@ OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build])
578OPTION_DEFAULT_OFF([pgtk], [use GTK to support window systems other than X]) 578OPTION_DEFAULT_OFF([pgtk], [use GTK to support window systems other than X])
579 579
580OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) 580OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console])
581OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support]) 581OPTION_DEFAULT_IFAVAILABLE([dbus],[compile with D-Bus support])
582AC_ARG_WITH([gconf],[AS_HELP_STRING([--with-gconf], 582AC_ARG_WITH([gconf],[AS_HELP_STRING([--with-gconf],
583[compile with Gconf support (Gsettings replaces this)])],[], 583[compile with Gconf support (Gsettings replaces this)])],[],
584[if test $with_features = yes; then 584[if test $with_features = yes; then
@@ -3969,8 +3969,8 @@ dnl D-Bus has been tested under GNU/Linux only. Must be adapted for
3969dnl other platforms. 3969dnl other platforms.
3970HAVE_DBUS=no 3970HAVE_DBUS=no
3971DBUS_OBJ= 3971DBUS_OBJ=
3972if test "${with_dbus}" = "yes"; then 3972if test "${with_dbus}" != "no" ; then
3973 EMACS_CHECK_MODULES([DBUS], [dbus-1 >= 1.0]) 3973 EMACS_CHECK_MODULES([DBUS], [dbus-1 >= 1.0], [HAVE_DBUS=yes], [HAVE_DBUS=no])
3974 if test "$HAVE_DBUS" = yes; then 3974 if test "$HAVE_DBUS" = yes; then
3975 AC_DEFINE([HAVE_DBUS], [1], [Define to 1 if using D-Bus.]) 3975 AC_DEFINE([HAVE_DBUS], [1], [Define to 1 if using D-Bus.])
3976 dnl dbus_watch_get_unix_fd has been introduced in D-Bus 1.1.1. 3976 dnl dbus_watch_get_unix_fd has been introduced in D-Bus 1.1.1.
@@ -5564,6 +5564,11 @@ if test "${HAVE_X11}" = "yes"; then
5564 WITH_IFAVAILABLE="$WITH_IFAVAILABLE --with-tiff=ifavailable";; 5564 WITH_IFAVAILABLE="$WITH_IFAVAILABLE --with-tiff=ifavailable";;
5565 esac 5565 esac
5566fi 5566fi
5567case $with_dbus,$HAVE_DBUS in
5568 no,* | ifavailable,* | *,yes) ;;
5569 *) MISSING="$MISSING dbus-1"
5570 WITH_IFAVAILABLE="$WITH_IFAVAILABLE --with-dbus=ifavailable";;
5571esac
5567case $with_gnutls,$HAVE_GNUTLS in 5572case $with_gnutls,$HAVE_GNUTLS in
5568 no,* | ifavailable,* | *,yes) ;; 5573 no,* | ifavailable,* | *,yes) ;;
5569 *) MISSING="$MISSING gnutls" 5574 *) MISSING="$MISSING gnutls"