commit 7fc52d51047b102ac27c72094d612c41c3ac3088 from: Omar Polo date: Mon Jul 04 13:44:53 2022 UTC add an example configure.local based on mandoc-portable' one commit - 96e3c013146396d02318685d79ed7025a09ffb43 commit + 7fc52d51047b102ac27c72094d612c41c3ac3088 blob - /dev/null blob + 923e05e7ab75c53666a046bc2dee706203cbdff2 (mode 644) --- /dev/null +++ configure.local.example @@ -0,0 +1,66 @@ +# +# Copyright (c) 2014-2022 Ingo Schwarze +# +# 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 . + +# 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