diff options
| author | Michael Albinus | 2024-12-23 12:46:23 +0100 |
|---|---|---|
| committer | Michael Albinus | 2024-12-23 12:46:23 +0100 |
| commit | b1de495eeae9afc8abccd908e5c53c463afdb7dc (patch) | |
| tree | 1c2a0b490ed66ba98875fffebbb51e4fec1f726a | |
| parent | 6017c6a986fd958732facb1bb6ea2c040981b023 (diff) | |
| download | emacs-b1de495eeae9afc8abccd908e5c53c463afdb7dc.tar.gz emacs-b1de495eeae9afc8abccd908e5c53c463afdb7dc.zip | |
* configure.ac (dbus): Default to ifavailable. (Bug#75004)
| -rw-r--r-- | configure.ac | 11 |
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]) | |||
| 578 | OPTION_DEFAULT_OFF([pgtk], [use GTK to support window systems other than X]) | 578 | OPTION_DEFAULT_OFF([pgtk], [use GTK to support window systems other than X]) |
| 579 | 579 | ||
| 580 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) | 580 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) |
| 581 | OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support]) | 581 | OPTION_DEFAULT_IFAVAILABLE([dbus],[compile with D-Bus support]) |
| 582 | AC_ARG_WITH([gconf],[AS_HELP_STRING([--with-gconf], | 582 | AC_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 | |||
| 3969 | dnl other platforms. | 3969 | dnl other platforms. |
| 3970 | HAVE_DBUS=no | 3970 | HAVE_DBUS=no |
| 3971 | DBUS_OBJ= | 3971 | DBUS_OBJ= |
| 3972 | if test "${with_dbus}" = "yes"; then | 3972 | if 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 |
| 5566 | fi | 5566 | fi |
| 5567 | case $with_dbus,$HAVE_DBUS in | ||
| 5568 | no,* | ifavailable,* | *,yes) ;; | ||
| 5569 | *) MISSING="$MISSING dbus-1" | ||
| 5570 | WITH_IFAVAILABLE="$WITH_IFAVAILABLE --with-dbus=ifavailable";; | ||
| 5571 | esac | ||
| 5567 | case $with_gnutls,$HAVE_GNUTLS in | 5572 | case $with_gnutls,$HAVE_GNUTLS in |
| 5568 | no,* | ifavailable,* | *,yes) ;; | 5573 | no,* | ifavailable,* | *,yes) ;; |
| 5569 | *) MISSING="$MISSING gnutls" | 5574 | *) MISSING="$MISSING gnutls" |