summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-10-09 14:14:57 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-10-09 14:14:57 +0100
commit633ffd487cc5a3ff851393b5a63e54275704e794 (patch)
tree4a4a994f190350fa98f1223a3cf405bc3b53f8e0 /doc
parent317e40ac8b1b816f4a22620a5647c6258de61598 (diff)
Docs: add section on builtin macros
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 7608dc680..97df293d5 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -5033,6 +5033,27 @@ address lists. In Exim 4 these are handled better by named lists &-- see
section &<<SECTnamedlists>>&.
+.new
+.section "Builtin macros" "SECTbuiltinmacros"
+Exim defines some macros depending on facilities available, which may
+differ due to build-time definitions and from one release to another.
+All of these macros start with an underscore.
+They can be used to conditionally include parts of a configuration
+(see below).
+
+The following classes of macros are defined:
+.display
+&` _HAVE_ `& build-time defines
+&` _DRVR_AUTH_ `& authehticator drivers
+&` _DRVR_RTR_ `& router drivers
+&` _DRVR_TPT_ `& transport drivers
+&` _OPT_ `& configuration option support
+.endd
+
+Use an &"exim -bP macros"& command to get the list of macros.
+.wen
+
+
.section "Conditional skips in the configuration file" "SECID46"
.cindex "configuration file" "conditional skips"
.cindex "&`.ifdef`&"