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_IMSG="-limsg"
37 LDADD_LIBEVENT2="-L/opt/lib/ -levent_extra -levent_core"
38 LDADD_LIB_FLAC=
39 LDADD_LIB_MPG123=
40 LDADD_LIB_VORBISFILE=
41 LDADD_LIB_SNDIO=
42 LDADD_LIB_SOCKET=
44 # To disable the autoconfiguration via pkg-config set PKG_CONFIG to
45 # the empty string:
47 PKG_CONFIG=
49 # It is possible to change the utility program used for installation
50 # and the modes files are installed with. The defaults are:
52 INSTALL="install"
53 INSTALL_PROGRAM="${INSTALL} -m 0555"
54 INSTALL_LIB="${INSTALL} -m 0444"
55 INSTALL_MAN="${INSTALL} -m 0444"
56 INSTALL_DATA="${INSTALL} -m 0444"
58 # In rare cases, it may be required to skip individual automatic tests.
59 # Each of the following variables can be set to 0 (test will not be run
60 # and will be regarded as failed) or 1 (test will not be run and will
61 # be regarded as successful).
63 HAVE_CAPSICUM=0
64 HAVE_ERR=0
65 HAVE_EXPLICIT_BZERO=0
66 HAVE_GETEXECNAME=0
67 HAVE_GETPROGNAME=0
68 HAVE_IMSG=0
69 HAVE_LANDLOCK=0
70 HAVE_LIBEVENT=0
71 HAVE_LIBEVENT2=0
72 HAVE_LIB_FLAC=0
73 HAVE_LIB_MPG123=0
74 HAVE_LIB_OPUSFILE=0
75 HAVE_LIB_VORBISFILE=0
76 HAVE_MEMMEM=0
77 HAVE_MEMRCHR=0
78 HAVE_PATH_MAX=0
79 HAVE_PLEDGE=0
80 HAVE_PROGRAM_INVOCATION_SHORT_NAME=0
81 HAVE_REALLOCARRAY=0
82 HAVE_RECALLOCARRAY=0
83 HAVE_SANDBOX_INIT=0
84 HAVE_STRLCAT=0
85 HAVE_STRLCPY=0
86 HAVE_STRNDUP=0
87 HAVE_STRNLEN=0
88 HAVE_STRTONUM=0
89 HAVE_SYS_QUEUE=0
90 HAVE_UNVEIL=0
91 HAVE___PROGNAME=0