diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-10 09:29:22 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-10 09:29:22 +0000 |
commit | 43501a5b2ed3fd7ae8fb2502b1153af7a8192e76 (patch) | |
tree | 5211872b47f1bf1e97cee0be72d0edb897ebd359 /crawl-ref/source/makefile.unix | |
parent | 18092af0ef3d2972919f65cbe34c93a00b756d65 (diff) | |
download | crawl-ref-43501a5b2ed3fd7ae8fb2502b1153af7a8192e76.tar.gz crawl-ref-43501a5b2ed3fd7ae8fb2502b1153af7a8192e76.zip |
Tweaks to build with Unicode support on Mac OS. Unfortunately none of the
widely-used Mac terminal emulators has a clue on how to handle Unicode block
characters (Terminal.app, iTerm, Terminator,...; they all suck), so Mac Unicode
lovers will probably need to run X and urxvt or something along those lines.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1567 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r-- | crawl-ref/source/makefile.unix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix index 199bc302b3..298e249f6a 100644 --- a/crawl-ref/source/makefile.unix +++ b/crawl-ref/source/makefile.unix @@ -48,8 +48,17 @@ YACC := bison -y ifeq ($(UNICODE_GLYPHS),y) # Include path for (n)curses with Unicode support. INCLUDES = -I/usr/include/ncursesw + +# Your ncurses library may include Unicode support, and you may not have a +# separate libncursesw; in that case, change this line accordingly. LIBCURS = ncursesw EXTRA_FLAGS += -DUNICODE_GLYPHS + +# The standard ncurses library also supports Unicode on Mac OS/Darwin. +ifeq ($(shell uname),Darwin) +LIBCURS = ncurses +endif + else # Include path for curses or ncurses (non-Unicode). INCLUDES = -I/usr/include/ncurses |