add an example configure.local based on mandoc-portable' one

This commit is contained in:
Omar Polo 2022-07-04 13:44:53 +00:00
parent 96e3c01314
commit 7fc52d5104
1 changed files with 66 additions and 0 deletions

66
configure.local.example Normal file
View File

@ -0,0 +1,66 @@
#
# Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# For all settings documented in this file, there are reasonable
# defaults and/or the ./configure script attempts autodetection.
# Consequently, you only need to create a file ./configure.local
# and put any of these settings into it if ./configure autodetection
# fails or if you want to make different choices for other reasons.
# If autodetection fails, please tell <gmid@omarpolo.com>.
# We recommend that you write ./configure.local from scratch and
# only put the lines there you need. This file contains examples.
# It is not intended as a template to be copied as a whole.
# Some systems may want to set additional linker flags for all the
# binaries, not only for those using libmandoc, for example for
# hardening options.
LDFLAGS="-Wl,-z,relro"
# It is possible to change the utility program used for installation
# and the modes files are installed with. The defaults are:
INSTALL="install"
INSTALL_PROGRAM="${INSTALL} -m 0555"
INSTALL_LIB="${INSTALL} -m 0444"
INSTALL_MAN="${INSTALL} -m 0444"
INSTALL_DATA="${INSTALL} -m 0444"
# In rare cases, it may be required to skip individual automatic tests.
# Each of the following variables can be set to 0 (test will not be run
# and will be regarded as failed) or 1 (test will not be run and will
# be regarded as successful).
HAVE_ERR=0
HAVE_EXPLICIT_BZERO=0
HAVE_FREEZERO=0
HAVE_GETDTABLECOUNT=0
HAVE_GETDTABLESIZE=0
HAVE_GETPROGNAME=0
HAVE_IMSG=0
HAVE_LANDLOCK=0
HAVE_PR_SET_NAME=0
HAVE_PROGRAM_INVOCATION_SHORT_NAME=0
HAVE_QUEUE_H=0
HAVE_REALLOCARRAY=0
HAVE_RECALLOCARRAY=0
HAVE_SETPROCTITLE=0
HAVE_STRLCAT=0
HAVE_STRLCPY=0
HAVE_STRTONUM=0
HAVE_TREE_H=0
HAVE_VASPRINTF=0