Deleted Added
full compact
configure.local.example (276219) configure.local.example (279527)
1# $Id: configure.local.example,v 1.2 2014/12/09 09:14:33 schwarze Exp $
1# $Id: configure.local.example,v 1.6 2015/02/16 14:56:22 schwarze Exp $
2#
2#
3# Copyright (c) 2014 Ingo Schwarze
3# Copyright (c) 2014, 2015 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

--- 57 unchanged lines hidden (view full) ---

69PREFIX="/usr/local"
70BINDIR="${PREFIX}/bin"
71SBINDIR="${PREFIX}/sbin"
72INCLUDEDIR="${PREFIX}/include/mandoc"
73LIBDIR="${PREFIX}/lib/mandoc"
74MANDIR="${PREFIX}/man"
75EXAMPLEDIR="${PREFIX}/share/examples/mandoc"
76
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

--- 57 unchanged lines hidden (view full) ---

69PREFIX="/usr/local"
70BINDIR="${PREFIX}/bin"
71SBINDIR="${PREFIX}/sbin"
72INCLUDEDIR="${PREFIX}/include/mandoc"
73LIBDIR="${PREFIX}/lib/mandoc"
74MANDIR="${PREFIX}/man"
75EXAMPLEDIR="${PREFIX}/share/examples/mandoc"
76
77# The man(1) utility needs to know where the manuals reside.
78# We know of two ways to tell it: via manpath(1) or man.conf(5).
79# The latter is used by OpenBSD and NetBSD, the former by most
80# other systems.
81
82# Force usage of manpath(1).
83# If it is not installed or not operational,
84# man(1), makewhatis(8), and apropos(1) will not work properly.
85HAVE_MANPATH=1
86
87# Force usage of man.conf(5).
88# If it does not exist or contains no valid configuration,
89# man(1), makewhatis(8), and apropos(1) will not work properly.
90HAVE_MANPATH=0
91
77# Some distributions may want to avoid naming conflicts among manuals.
78# If you want to change the names of installed section 7 manual pages,
79# the following alternative names are suggested.
80# The suffix ".7" will automatically be appended.
81# It is possible to set only one or a few of these variables,
82# there is no need to copy the whole block.
83
84MANM_MAN="mandoc_man" # default is "man"
85MANM_MDOC="mandoc_mdoc" # default is "mdoc"
86MANM_ROFF="mandoc_roff" # default is "roff"
87MANM_EQN="mandoc_eqn" # default is "eqn"
88MANM_TBL="mandoc_tbl" # default is "tbl"
89
92# Some distributions may want to avoid naming conflicts among manuals.
93# If you want to change the names of installed section 7 manual pages,
94# the following alternative names are suggested.
95# The suffix ".7" will automatically be appended.
96# It is possible to set only one or a few of these variables,
97# there is no need to copy the whole block.
98
99MANM_MAN="mandoc_man" # default is "man"
100MANM_MDOC="mandoc_mdoc" # default is "mdoc"
101MANM_ROFF="mandoc_roff" # default is "roff"
102MANM_EQN="mandoc_eqn" # default is "eqn"
103MANM_TBL="mandoc_tbl" # default is "tbl"
104
105# Some distributions may want to avoid naming conflicts
106# with another man(1) utility.
107# If you want to change the name of the binary program,
108# the following alternative name is suggested.
109# Using a different name is possible as well.
110# This changes the name of the installed section 1 manual page as well.
111
112BINM_MAN=mman # default is "man"
113
90# It is possible to change the utility program used for installation
91# and the modes files are installed with. The defaults are:
92
93INSTALL="install"
94INSTALL_PROGRAM="${INSTALL} -m 0555"
95INSTALL_LIB="${INSTALL} -m 0444"
96INSTALL_MAN="${INSTALL} -m 0444"
97INSTALL_DATA="${INSTALL} -m 0444"

--- 18 unchanged lines hidden (view full) ---

116
117# When library autodetection decides to use -L/usr/local/lib,
118# -I/usr/local/include is automatically added to CFLAGS.
119# If you manually set DBLIB to something including -L/usr/local/lib,
120# chances are you will also need the following line:
121
122CFLAGS="${CFLAGS} -I/usr/local/include"
123
114# It is possible to change the utility program used for installation
115# and the modes files are installed with. The defaults are:
116
117INSTALL="install"
118INSTALL_PROGRAM="${INSTALL} -m 0555"
119INSTALL_LIB="${INSTALL} -m 0444"
120INSTALL_MAN="${INSTALL} -m 0444"
121INSTALL_DATA="${INSTALL} -m 0444"

--- 18 unchanged lines hidden (view full) ---

140
141# When library autodetection decides to use -L/usr/local/lib,
142# -I/usr/local/include is automatically added to CFLAGS.
143# If you manually set DBLIB to something including -L/usr/local/lib,
144# chances are you will also need the following line:
145
146CFLAGS="${CFLAGS} -I/usr/local/include"
147
124# The man(1) utility needs to know where the manuals reside.
125# We know of two ways to tell it: via manpath(1) or man.conf(5).
126# The latter is used by OpenBSD and NetBSD, the former by most
127# other systems.
128
129# Force usage of manpath(1).
130# If it is not installed or not operational,
131# makewhatis(8) and apropos(1) will not work properly.
132
133HAVE_MANPATH=1
134
135# Force usage of man.conf(5).
136# If it does not exist or contains no valid configuration,
137# makewhatis(8) and apropos(1) will not work properly.
138
139HAVE_MANPATH=0
140
141# Some distributions may want to avoid naming conflicts
148# Some distributions may want to avoid naming conflicts
142# with groff, man-db, or other tools.
143# If you want to change the names of binary programs,
149# with another implementation of apropos(1) and makewhatis(8).
150# If you want to change the names of the binary programs,
144# the following alternative names are suggested.
145# Using other names is possible as well.
146# This changes the names of the installed section 1 and section 8
147# manual pages as well.
151# the following alternative names are suggested.
152# Using other names is possible as well.
153# This changes the names of the installed section 1 and section 8
154# manual pages as well.
148# It is possible to set only one or a few of these variables,
155# It is possible to set only one or two of these variables,
149# there is no need to copy the whole block.
150
151BINM_APROPOS=mapropos # default is "apropos"
156# there is no need to copy the whole block.
157
158BINM_APROPOS=mapropos # default is "apropos"
152BINM_MAN=mman # default is "man"
153BINM_WHATIS=mwhatis # default is "whatis"
154BINM_MAKEWHATIS=mandocdb # default is "makewhatis"
155
159BINM_WHATIS=mwhatis # default is "whatis"
160BINM_MAKEWHATIS=mandocdb # default is "makewhatis"
161
162# When using the "homebrew" package manager on Mac OS X, the actual
163# manuals are located in a so-called "cellar" and only symlinked
164# into the manual trees. To allow mandoc to follow such symlinks,
165# you have to specify the physical location of the cellar as returned
166# by realpath(3), for example:
167
168PREFIX="/usr/local"
169HOMEBREWDIR="${PREFIX}/Cellar"
170
156# --- user settings related man.cgi ------------------------------------
157
158# By default, building man.cgi(8) is disabled. To enable it, copy
159# cgi.h.example to cgi.h, edit it, and use the following line.
160# Obviously, this requires that BUILD_DB is enabled, too.
161
162BUILD_CGI=1
163

--- 42 unchanged lines hidden (view full) ---

206HAVE_GETSUBOPT=0
207HAVE_MMAP=0
208HAVE_REALLOCARRAY=0
209HAVE_STRCASESTR=0
210HAVE_STRLCAT=0
211HAVE_STRLCPY=0
212HAVE_STRPTIME=0
213HAVE_STRSEP=0
171# --- user settings related man.cgi ------------------------------------
172
173# By default, building man.cgi(8) is disabled. To enable it, copy
174# cgi.h.example to cgi.h, edit it, and use the following line.
175# Obviously, this requires that BUILD_DB is enabled, too.
176
177BUILD_CGI=1
178

--- 42 unchanged lines hidden (view full) ---

221HAVE_GETSUBOPT=0
222HAVE_MMAP=0
223HAVE_REALLOCARRAY=0
224HAVE_STRCASESTR=0
225HAVE_STRLCAT=0
226HAVE_STRLCPY=0
227HAVE_STRPTIME=0
228HAVE_STRSEP=0
229HAVE_STRTONUM=0
214
215HAVE_SQLITE3=0
216HAVE_SQLITE3_ERRSTR=0
217HAVE_OHASH=0
230
231HAVE_SQLITE3=0
232HAVE_SQLITE3_ERRSTR=0
233HAVE_OHASH=0