Make build auto config specify ncurses libs in a separate variable
[tig.git] / contrib / config.make-CYGWIN_NT-6.1
blobb0cc9b8dde6d5dca5e02c8c8725894431c5338c7
1 # Example configuration for Cygwin (`uname -s` = CYGWIN_NT-6.1)
3 # Use ncursesw.
5 NCURSESW_LIBS = $(shell ncursesw5-config --libs 2>/dev/null) 
6 HAS_ICONV = $(shell test -e "/usr/include/iconv.h" && echo true)
8 ifeq ($(NCURSESW_LIBS),)
9 $(error Please install the libncursesw-devel package)
10 endif
12 ifneq ($(HAS_ICONV),true)
13 $(error Please install the libiconv-devel package)
14 endif
16 TIG_NCURSES = $(NCURSESW_LIBS)
17 TIG_LDLIBS = -liconv
18 TIG_CPPFLAGS = -DHAVE_NCURSESW_CURSES_H
20 # vim: ft=make: