Blame


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