=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.338 retrieving revision 1.339 diff -u -p -r1.338 -r1.339 --- mandoc/Makefile 2011/05/13 01:02:34 1.338 +++ mandoc/Makefile 2011/05/17 22:32:45 1.339 @@ -13,7 +13,10 @@ VERSION = 1.11.2 VDATE = 12 May 2011 -CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" +# If your system doesn't support multi-byte functions (specifically +# setlocale(), wcwidth(), putwchar()), then remove -DUSE_CHAR. You'll +# still be able to use -Tlocale, but it becomes a synonym for -Tascii. +CFLAGS += -g -DUSE_WCHAR -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local BINDIR = $(PREFIX)/bin