Blob


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