=================================================================== RCS file: /cvs/mandoc/configure.local.example,v retrieving revision 1.36 retrieving revision 1.37 diff -u -p -r1.36 -r1.37 --- mandoc/configure.local.example 2019/03/06 10:18:58 1.36 +++ mandoc/configure.local.example 2020/02/05 15:12:11 1.37 @@ -1,4 +1,4 @@ -# $Id: configure.local.example,v 1.36 2019/03/06 10:18:58 schwarze Exp $ +# $Id: configure.local.example,v 1.37 2020/02/05 15:12:11 schwarze Exp $ # # Copyright (c) 2014-2019 Ingo Schwarze # @@ -28,6 +28,14 @@ # --- user settings relevant for all builds ---------------------------- +# By default, "cc" is used as the C compiler, but it can be overridden. +# For example, the system compiler in SunOS 5.9 may not provide , +# which may require this line: +CC=gcc + +# IBM AIX may need: +CC=xlc + # For -Tutf8 and -Tlocale operation, mandoc(1) requires # providing setlocale(3) and providing wcwidth(3) and # putwchar(3) with a wchar_t storing UCS-4 values. Theoretically, @@ -267,21 +275,6 @@ BINM_CATMAN=mcatman # default is "catman" # --- settings that rarely need to be touched -------------------------- # Do not set these variables unless you really need to. - -# You can manually override the compiler to be used. -# But that's rarely useful because ./configure asks your make(1) -# which compiler to use, and that answer will hardly be wrong. - -CC=cc - -# Because the system compiler may not provide , -# SunOS 5.9 may need: - -CC=gcc - -# IBM AIX may need: - -CC=xlc # Normally, leave CFLAGS unset. In that case, -g will automatically # be used, and various -W options will be added if the compiler