git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
27d0d9e
)
Fix info on using local_scan() in the default Makefile
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 14 Feb 2019 17:14:34 +0000
(17:14 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 14 Feb 2019 22:01:02 +0000
(22:01 +0000)
Broken-by: 9723f96673
src/OS/Makefile-Default
patch
|
blob
|
history
diff --git
a/src/OS/Makefile-Default
b/src/OS/Makefile-Default
index b3990fe84c09665361a00461b5ae88046e10c5a8..41a4dbbdf49f31688fb613713c00cf49fa522521 100644
(file)
--- a/
src/OS/Makefile-Default
+++ b/
src/OS/Makefile-Default
@@
-232,6
+232,11
@@
RANLIB=ranlib
EXIM_CHMOD=@true
EXIM_CHMOD=@true
+# If you want to use local_scan() at all, the support code must be included
+# by uncommenting this line.
+
+# HAVE_LOCAL_SCAN=yes
+
# LOCAL_SCAN_SOURCE defines the file in which the function local_scan() is
# defined. This provides the administrator with a hook for including C code
# for scanning incoming mails. The path that is defined must be relative to
# LOCAL_SCAN_SOURCE defines the file in which the function local_scan() is
# defined. This provides the administrator with a hook for including C code
# for scanning incoming mails. The path that is defined must be relative to
@@
-239,8
+244,9
@@
EXIM_CHMOD=@true
# LOCAL_SCAN_SOURCE=Local/local_scan.c
# LOCAL_SCAN_SOURCE=Local/local_scan.c
-# The default setting points to a template function that doesn't actually do
-# any scanning, but just accepts the message.
+# A very simple example points to a template function that doesn't actually do
+# any scanning, but just accepts the message. A compilable file must be
+# included in the build even if HAVE_LOCAL_SCAN is not defined.
LOCAL_SCAN_SOURCE=src/local_scan.c
LOCAL_SCAN_SOURCE=src/local_scan.c