>From b7d31d619247d1299d8a361945dddac8659811ee Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 21 Dec 2021 18:39:39 +0100 Subject: [PATCH] Revert "Remove Motif support" To: emacs-devel@gnu.org This reverts commit db237850abc240e2c3e765e9cc7e15ee5681dcaf. --- configure.ac | 9 +++++---- etc/NEWS | 3 --- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 766811b8a8..357d2538e6 100644 --- a/configure.ac +++ b/configure.ac @@ -410,18 +410,19 @@ AC_DEFUN dnl added later on when we find the file name of X, and it's best to dnl keep them together visually. AC_ARG_WITH([x-toolkit],[AS_HELP_STRING([--with-x-toolkit=KIT], - [use an X toolkit (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, no)])], + [use an X toolkit (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, motif, no)])], [ case "${withval}" in y | ye | yes ) val=gtk ;; n | no ) val=no ;; l | lu | luc | luci | lucid ) val=lucid ;; a | at | ath | athe | athen | athena ) val=athena ;; + m | mo | mot | moti | motif ) val=motif ;; g | gt | gtk ) val=gtk ;; gtk2 ) val=gtk2 ;; gtk3 ) val=gtk3 ;; * ) AC_MSG_ERROR(['--with-x-toolkit=$withval' is invalid; -this option's value should be 'yes', 'no', 'lucid', 'athena', 'gtk', +this option's value should be 'yes', 'no', 'lucid', 'athena', 'motif', 'gtk', 'gtk2' or 'gtk3'. 'yes' and 'gtk' are synonyms. 'athena' and 'lucid' are synonyms.]) ;; @@ -460,7 +461,7 @@ AC_DEFUN OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) -OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Xaw3d/GTK toolkit scroll bars]) +OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif/Xaw3d/GTK toolkit scroll bars]) OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) OPTION_DEFAULT_ON([xim],[at runtime, default X11 XIM to off]) OPTION_DEFAULT_ON([xdbe],[don't use X11 double buffering support]) @@ -2251,7 +2252,7 @@ AC_DEFUN then AC_MSG_ERROR([You seem to be running X, but no X development libraries were found. You should install the relevant development files for X -and for the toolkit you want, such as Gtk+. Also make +and for the toolkit you want, such as Gtk+ or Motif. Also make sure you have development files for image handling, i.e. tiff, gif, jpeg, png and xpm. If you are sure you want Emacs compiled without X window support, pass diff --git a/etc/NEWS b/etc/NEWS index e7d7215902..02b6f665b0 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -77,9 +77,6 @@ shaping, so 'configure' now recommends that combination. 'configure --with-xdbe=no' can now be used to disable double buffering at build time. ---- -** Support for building with Motif has been removed. - --- ** The configure option '--without-makeinfo' has been removed. This was only ever relevant when building from a repository checkout. -- 2.34.0