=================================================================== RCS file: /cvs/mandoc/configure.local.example,v retrieving revision 1.14 retrieving revision 1.14.2.2 diff -u -p -r1.14 -r1.14.2.2 --- mandoc/configure.local.example 2016/07/19 17:56:04 1.14 +++ mandoc/configure.local.example 2016/07/31 09:47:01 1.14.2.2 @@ -1,4 +1,4 @@ -# $Id: configure.local.example,v 1.14 2016/07/19 17:56:04 schwarze Exp $ +# $Id: configure.local.example,v 1.14.2.2 2016/07/31 09:47:01 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze # @@ -48,6 +48,13 @@ HAVE_WCHAR=1 HAVE_WCHAR=0 +# For -Tutf8 mode, mandoc needs to set an arbitrary locale having +# a UTF-8 character set. If autodetection of a suitable locale +# fails or selects an undesirable locale, you can manually choose +# the locale for -Tutf8 mode: + +UTF8_LOCALE=en_US.UTF-8 + # When man(1) or apropos(1) is called without -m and -M options, # MANPATH is not set in the environment, man.conf(5) is not available # and manpath(1) not used, manuals are searched for in the following @@ -129,11 +136,17 @@ BINM_SOELIM=msoelim # default is "soelim" LD_OHASH="-lutil" -# Some platforms may need additional linker flags to link against libmandoc -# that are not autodetected. -# For example, Solaris 9 and 10 need -lrt for nanosleep(2). +# Some platforms may need an additional linker flag for nanosleep(2). +# If none is needed or it is -lrt, it is autodetected. +# Otherwise, set the following variable. -LDADD="-lrt" +LD_NANOSLEEP="-lrt" + +# Some platforms might need additional linker flags to link against +# libmandoc that are not autodetected, though no such cases are +# currently known. + +LDADD="-lm" # Some systems may want to set additional linker flags for all the # binaries, not only for those using libmandoc, for example for