1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
dnl #####################################################################
dnl ### ###
dnl ### This is a sample "site.config.m4". It is not intended to be ###
dnl ### used directly. It is intended to illustrate, by example, ###
dnl ### how to make your own site configuration file. ###
dnl ### ###
dnl #####################################################################
dnl $Id: site.config.m4.sample,v 1.1 2003-01-11 17:09:25 ca Exp $
dnl #####################################################################
dnl ### ###
dnl ### This illustrates how to turn off an option that is defined by ###
dnl ### default. Check your compiler documentation to make sure that ###
dnl ### it supports "-U". ###
dnl ### ###
dnl #####################################################################
dnl ### Changes to disable the default NIS support
APPENDDEF(`confENVDEF', `-UNIS')
dnl #####################################################################
dnl ### ###
dnl ### The next group of statements illustrates how to add support ###
dnl ### for a particular map class. ###
dnl ### ###
dnl ### Note that the map define goes in confMAPDEF, and that any ###
dnl ### special library must be defined. Note, also that include ###
dnl ### directories and library directories must also be defined if ###
dnl ### they are places that your compiler does not automatically ###
dnl ### search. ###
dnl ### ###
dnl #####################################################################
dnl ### Changes for CDB support.
APPENDDEF(`confMAPDEF',`-DCDB')
APPENDDEF(`confLIBS', `-lcdb')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
dnl #####################################################################
dnl ### ###
dnl ### The next group illustrates how to add support for a compile ###
dnl ### time option. In addition to the compile time define, any ###
dnl ### required libraries must be given. In addition, include and ###
dnl ### library directories must be given if they are not standardly ###
dnl ### searched by your compiler. ###
dnl ### ###
dnl ### Note the "-R" for the library directory. On some systems, ###
dnl ### that can be used to tell the run time loader where to find ###
dnl ### dynamic libraries (shared objects). Check your system ###
dnl ### documentation (man ld) to see if this is appropriate for your ###
dnl ### system. ###
dnl ### ###
dnl #####################################################################
dnl ### Changes for STARTTLS support
APPENDDEF(`confENVDEF',`-DSTARTTLS')
APPENDDEF(`confLIBS', `-lssl -lcrypto')
APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib -R/usr/local/ssl/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include')
dnl ### Example for SMTPUTF8 support
dnl Note: the proper "International Components for Unicode"
dnl must be installed. It's available under different names, e.g.,
dnl OpenBSD: icu4c
dnl FreeBSD, NetBSD, etc: icu
dnl Centos, Fedora, RHEL: libicu-devel
dnl Debian, Ubuntu: libicu-dev
APPENDDEF(`confENVDEF',`-DUSE_EAI')
APPENDDEF(`confLIBS', `-licuuc')
dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
dnl APPENDDEF(`confINCDIRS', `-I/usr/local/include')
|