NHCFLAGS+=-DCURSES_UNICODE
WINLIB += $(CURSESLIB)
else
+ifeq "$(CURSES_UNICODE)" "0"
+WINLIB += $(CURSESLIB)
+else
ifeq "$(USE_CURSESLIB)" "1"
NHCFLAGS+=-DCURSES_UNICODE
else
else
HAVE_NCURSESW=0
endif
-ifneq "$(CURSES_UNICODE)" "0"
ifeq "$(HAVE_NCURSESW)" "1"
CURSESLIB = $(NCURSES_LFLAGS)
NHCFLAGS+=-DCURSES_UNICODE
else
$(info Attention: CURSES_UNICODE is not being defined without ncursesw)
endif #HAVE_NCURSESW
-endif #not CURSES_UNICODE=0
endif #USE_CURSESLIB
-ifneq "$(CURSES_UNICODE)" "0"
ifdef CURSESLIB
PKGCFLAGS=
ifeq "$(HAVE_HOMEBREW)" "1"
WINLIB += $(HOMEBREW_WINLIB) $(MACPORTS_WINLIB) $(CURSESLIB)
PKGCFLAGS += $(HOMEBREW_CFLAGS) $(MACPORTS_CFLAGS)
endif #CURSESLIB
-else # CURSES_UNICODE
WINLIB += $(CURSESLIB)
$(info WINLIB=$(WINLIB))
$(info CURSESLIB=$(CURSESLIB))
-endif #not CURSES_UNICODE=0
-endif #not CURSES_UNIODE=sys
+endif #CURSES_UNICODE=0
+endif #CURSES_UNIODE=sys
endif #MAKEFILE_SRC
CFLAGS+= $(PKGCFLAGS) $(WINCFLAGS) #WINCFLAGS set from multiw-2.370