Blame


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