aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPo Lu2022-04-30 16:46:33 +0800
committerPo Lu2022-04-30 16:46:33 +0800
commite540c8778b09cc477c23505f63a9b8740df19540 (patch)
treef4da992bde695378215aa26737d80724853e8911 /admin
parent08c6e699f662b40e92ae7b76745236d1c092757a (diff)
downloademacs-e540c8778b09cc477c23505f63a9b8740df19540.tar.gz
emacs-e540c8778b09cc477c23505f63a9b8740df19540.zip
* admin/CPP-DEFINES: Update for new features.
Diffstat (limited to 'admin')
-rw-r--r--admin/CPP-DEFINES31
1 files changed, 27 insertions, 4 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index 620ab0bed05..06986ec8f48 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -24,6 +24,7 @@ DARWIN_OS Compiling on macOS or pure Darwin (and using s/darwin.h).
24SOLARIS2 24SOLARIS2
25USG 25USG
26USG5_4 26USG5_4
27HAIKU Compiling on Haiku.
27 28
28** Distinguishing GUIs ** 29** Distinguishing GUIs **
29 30
@@ -32,16 +33,38 @@ HAVE_NS Use the NeXT/OpenStep/Cocoa UI under macOS or GNUstep.
32NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API. 33NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API.
33NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. 34NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API.
34HAVE_X11 Compile support for the X11 GUI. 35HAVE_X11 Compile support for the X11 GUI.
36HAVE_PGTK Compile support for using GTK itself without directly using X Windows APIs.
37HAVE_HAIKU Compile support for the Haiku window system.
35HAVE_X_WINDOWS Compile support for X Window system 38HAVE_X_WINDOWS Compile support for X Window system
36 (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must 39 (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must
37 be, and vice versa. At least, this is true for configure, and 40 be, and vice versa. At least, this is true for configure, and
38 msdos; not sure about nt.) 41 msdos; not sure about nt.)
39HAVE_X11R6 42
40HAVE_X11R6_XIM 43** X Windows features **
41HAVE_X11XTR6 44HAVE_X11R6 Whether or not the system has X11R6. (Always defined.)
45HAVE_X11R6_XIM Whether or not the system supports XIM features introduced in R6.
46HAVE_X11XTR6 Whether or not the Xt is from X11R6 or newer.
47
42USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. 48USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
43USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. 49USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
44USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. 50USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11 or HAVE_PGTK.
51HAVE_GTK3 Use GTK version 3 or later. Requires HAVE_X11.
52
53HAVE_XCB_SHAPE Whether or not XCB supports the Nonrectangular Window Shape extension.
54HAVE_XCOMPOSITE Whether or not the XCOMPOSITE extension library is present.
55HAVE_XDBE Whether or not to use the Xdbe extension for double buffering.
56HAVE_XFIXES Whether or not the Xfixes extension library is present.
57HAVE_XINERAMA Whether or not the Xinerama extension library is present.
58HAVE_XINPUT2 Whether or not to use version 2 of the X Input Extension for input.
59HAVE_XINPUT2_1 Whether or not version 2.1 of the X Input Extension is supported.
60HAVE_XINPUT2_2 Whether or not version 2.2 of the X Input Extension is supported.
61HAVE_XINPUT2_3 Whether or not version 2.3 of the X Input Extension is supported.
62HAVE_XINPUT2_4 Whether or not version 2.4 of the X Input Extension is supported.
63HAVE_XKB Whether or not the XKB extension library is present.
64HAVE_XRANDR Whether or not the RandR extension library is present.
65HAVE_XSHAPE Whether or not the Nonrectangular Window Shape extension library is present.
66HAVE_XSYNC Whether or not the X Synchronization Extension library is present.
67USE_XCB Whether or not the XCB library is used to optimize some X requests.
45 68
46** Frame types ** 69** Frame types **
47 70