Commit | Line | Data |
---|---|---|
01e60269 AM |
1 | From cb25b75af850d664fc005d24fbad0e58bf79d4c7 Mon Sep 17 00:00:00 2001 |
2 | From: Jeremy Harris <jgh146exb@wizmail.org> | |
3 | Date: Thu, 14 Feb 2019 17:14:34 +0000 | |
4 | Subject: [PATCH 5/7] Fix info on using local_scan() in the default Makefile | |
5 | ||
6 | Broken-by: 9723f96673 | |
7 | (cherry picked from commit 882bc1704d33aa34873e3a0f72e657b0cc2985e5) | |
8 | --- | |
9 | OS/Makefile-Default | 10 ++++++++-- | |
10 | 1 file changed, 8 insertions(+), 2 deletions(-) | |
11 | ||
12 | diff --git a/OS/Makefile-Default b/OS/Makefile-Default | |
13 | index b3990fe8..41a4dbbd 100644 | |
14 | --- a/OS/Makefile-Default | |
15 | +++ b/OS/Makefile-Default | |
16 | @@ -232,6 +232,11 @@ RANLIB=ranlib | |
17 | EXIM_CHMOD=@true | |
18 | ||
19 | ||
20 | +# If you want to use local_scan() at all, the support code must be included | |
21 | +# by uncommenting this line. | |
22 | + | |
23 | +# HAVE_LOCAL_SCAN=yes | |
24 | + | |
25 | # LOCAL_SCAN_SOURCE defines the file in which the function local_scan() is | |
26 | # defined. This provides the administrator with a hook for including C code | |
27 | # for scanning incoming mails. The path that is defined must be relative to | |
28 | @@ -239,8 +244,9 @@ EXIM_CHMOD=@true | |
29 | ||
30 | # LOCAL_SCAN_SOURCE=Local/local_scan.c | |
31 | ||
32 | -# The default setting points to a template function that doesn't actually do | |
33 | -# any scanning, but just accepts the message. | |
34 | +# A very simple example points to a template function that doesn't actually do | |
35 | +# any scanning, but just accepts the message. A compilable file must be | |
36 | +# included in the build even if HAVE_LOCAL_SCAN is not defined. | |
37 | ||
38 | LOCAL_SCAN_SOURCE=src/local_scan.c | |
39 | ||
40 | -- | |
41 | 2.20.1 | |
42 |