X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ac40972f3b4e73679ea96e09b538d4e04314b16f..9fbd9ce5cadeb91ed28f18559e80d0bb5a2e1d54:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index cc3fb743..a88b57b6 100644 --- a/Makefile +++ b/Makefile @@ -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