Blame


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