=================================================================== RCS file: /cvs/mandoc/configure.local.example,v retrieving revision 1.16 retrieving revision 1.17 diff -u -p -r1.16 -r1.17 --- mandoc/configure.local.example 2016/07/19 22:40:33 1.16 +++ mandoc/configure.local.example 2016/07/20 14:03:06 1.17 @@ -1,4 +1,4 @@ -# $Id: configure.local.example,v 1.16 2016/07/19 22:40:33 schwarze Exp $ +# $Id: configure.local.example,v 1.17 2016/07/20 14:03:06 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze # @@ -129,11 +129,17 @@ LD_OHASH="-lutil" CFLAGS="${CFLAGS} -I/usr/local/include" -# 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