freebsd_amp_hwpstate/devtools/Site/site.config.m4.sample

73 lines
3.9 KiB
Plaintext

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')