Blame
Date:
Fri Jul 1 20:16:34 2022 UTC
Message:
add a configure.local.example

mostly stolen from mandoc-portable, thanks Ingo! :)
01
2022-07-01
op
#
02
2022-07-01
op
# Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org>
03
2022-07-01
op
#
04
2022-07-01
op
# Permission to use, copy, modify, and distribute this software for any
05
2022-07-01
op
# purpose with or without fee is hereby granted, provided that the above
06
2022-07-01
op
# copyright notice and this permission notice appear in all copies.
07
2022-07-01
op
#
08
2022-07-01
op
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
09
2022-07-01
op
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
2022-07-01
op
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
2022-07-01
op
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
2022-07-01
op
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
2022-07-01
op
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
2022-07-01
op
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
2022-07-01
op
16
2022-07-01
op
# For all settings documented in this file, there are reasonable
17
2022-07-01
op
# defaults and/or the ./configure script attempts autodetection.
18
2022-07-01
op
# Consequently, you only need to create a file ./configure.local
19
2022-07-01
op
# and put any of these settings into it if ./configure autodetection
20
2022-07-01
op
# fails or if you want to make different choices for other reasons.
21
2022-07-01
op
22
2022-07-01
op
# If autodetection fails, please tell <op@omarpolo.com>.
23
2022-07-01
op
24
2022-07-01
op
# We recommend that you write ./configure.local from scratch and
25
2022-07-01
op
# only put the lines there you need. This file contains examples.
26
2022-07-01
op
# It is not intended as a template to be copied as a whole.
27
2022-07-01
op
28
2022-07-01
op
# Some systems may want to set additional linker flags for all the
29
2022-07-01
op
# binaries, not only for those using libmandoc, for example for
30
2022-07-01
op
# hardening options.
31
2022-07-01
op
32
2022-07-01
op
LDFLAGS="-Wl,-z,relro"
33
2022-07-01
op
34
2022-07-01
op
# It is possible to change the utility program used for installation
35
2022-07-01
op
# and the modes files are installed with. The defaults are:
36
2022-07-01
op
37
2022-07-01
op
INSTALL="install"
38
2022-07-01
op
INSTALL_PROGRAM="${INSTALL} -m 0555"
39
2022-07-01
op
INSTALL_LIB="${INSTALL} -m 0444"
40
2022-07-01
op
INSTALL_MAN="${INSTALL} -m 0444"
41
2022-07-01
op
INSTALL_DATA="${INSTALL} -m 0444"
42
2022-07-01
op
43
2022-07-01
op
# In rare cases, it may be required to skip individual automatic tests.
44
2022-07-01
op
# Each of the following variables can be set to 0 (test will not be run
45
2022-07-01
op
# and will be regarded as failed) or 1 (test will not be run and will
46
2022-07-01
op
# be regarded as successful).
47
2022-07-01
op
48
2022-07-01
op
HAVE_CAPSICUM=0
49
2022-07-01
op
HAVE_ERR=0
50
2022-07-01
op
HAVE_GETEXECNAME=0
51
2022-07-01
op
HAVE_GETPROGNAME=0
52
2022-07-01
op
HAVE_LANDLOCK=0
53
2022-07-01
op
HAVE_PLEDGE=0
54
2022-07-01
op
HAVE_PROGRAM_INVOCATION_SHORT_NAME=0
55
2022-07-01
op
HAVE_REALLOCARRAY=0
56
2022-07-01
op
HAVE_RECALLOCARRAY=0
57
2022-07-01
op
HAVE_STRTONUM=0
58
2022-07-01
op
HAVE___PROGNAME=0
Omar Polo