dnl Build options for dk-milter package dnl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dnl Any options you set here are applied to all subdirectories of this dnl build. Also, you may override or augment the defaults of any of the dnl values described in devtools/README by setting your preferred values dnl in this file. dnl Debug binary dnl dnl If you are encountering coredumps and want to be able to analyze them dnl using something like "gdb", enable this next line by deleting the "dnl" dnl at the front of it. dnl define(`confOPTIMIZE', `-g') dnl libar -- asynchronous resolver library dnl dnl If you want to use the asynchronous resolver library, enable this dnl next line by deleting the "dnl" at the front of it. dnl define(`bld_USE_ARLIB', `true') dnl dnl libar normally uses res_init() or res_ninit() to load the contents dnl of resolv.conf for its use. If neither of these work on your system dnl in multi-threaded programs (e.g. OpenBSD 3.7 and later), then you dnl may need to enable code that parses that file manually. This will dnl also be required if you've got any IPv6 addresses in /etc/resolv.conf. dnl In that case, enable this next line by deleting the "dnl" at the front dnl of it. dnl APPENDDEF(`conf_libar_ENVDEF', `-DAR_RES_MANUAL') dnl POPAUTH -- POP-before-SMTP authentication dnl dnl If you use any POP-before-SMTP authentication, dk-filter can dnl query that database to see if a client sending a message for signing dnl is legitimate, enable this next line by deleting the "dnl" at the dnl front of it. dnl APPENDDEF(`conf_dk_filter_ENVDEF', `-DPOPAUTH ') dnl BerkeleyDB -- Berkeley DB ("Sleepycat") database dnl dnl POPAUTH needs the Berkeley DB library. dnl dnl Sometimes this is built into your libc, but perhaps not, or perhaps dnl you have a newer version that you want to use. If that's the case, dnl edit the following lines as needed and enable the ones that apply dnl by deleting "dnl" from the front of them: dnl APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB/include ') dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB/lib ') dnl APPENDDEF(`confLIBS', `-ldb ') dnl OpenSSL -- cryptography library dnl dnl DK requires several algorithms provided by this library. If necessary, dnl enable these lines by deleting "dnl" from the front of them and edit dnl paths as needed. dnl APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include ') dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib ') dnl Code For Future Release (FFRs): dnl dnl See the FEATURES file for descriptions of the features available dnl as options. Many of these are untested and/or undocumented, so use dnl at your own risk. To enable one, delete "dnl" from the front of its dnl line. dnl dnl APPENDDEF(`confENVDEF', `-D_FFR_ANTICIPATE_SENDMAIL_MUNGE ') dnl APPENDDEF(`confENVDEF', `-D_FFR_FLUSH_HEADERS ') dnl APPENDDEF(`confENVDEF', `-D_FFR_MULTIPLE_KEYS ') dnl APPENDDEF(`confENVDEF', `-D_FFR_REQUIRED_HEADERS ') dnl APPENDDEF(`confENVDEF', `-D_FFR_SELECT_CANONICALIZATION ') dnl libmilter -- Sendmail's milter library dnl dnl This must be in the search rules for your compile. If necessary, dnl adjust the paths below and enable the lines by deleting "dnl" from the dnl front of them. dnl APPENDDEF(`bld_dk_filter_INCDIRS', `-I/usr/local/sendmail/include') dnl APPENDDEF(`bld_dk_filter_LIBDIRS', `-L/usr/local/sendmail/lib') dnl smfi_addheader() -- older versions of libmilter dnl dnl If you run a version of libmilter too old to have the smfi_insheader() dnl primitive, you can enable this to have dk-filter use smfi_addheader() dnl instead. It will still work, but it breaks the DKIM specification. dnl To enable this, remove the "dnl" from the front of the line. dnl APPENDDEF(`conf_dk_filter_ENVDEF', `-DNO_SMFI_INSHEADER ')