another macOS.370 hint tweak
This commit is contained in:
@@ -140,6 +140,9 @@ ifeq "$(CURSES_UNICODE)" "sys"
|
||||
NHCFLAGS+=-DCURSES_UNICODE
|
||||
WINLIB += $(CURSESLIB)
|
||||
else
|
||||
ifeq "$(CURSES_UNICODE)" "0"
|
||||
WINLIB += $(CURSESLIB)
|
||||
else
|
||||
ifeq "$(USE_CURSESLIB)" "1"
|
||||
NHCFLAGS+=-DCURSES_UNICODE
|
||||
else
|
||||
@@ -153,16 +156,13 @@ HAVE_NCURSESW=1
|
||||
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"
|
||||
@@ -189,12 +189,11 @@ LFLAGS += $(HOMEBREW_LFLAGS) $(MACPORTS_LFLAGS)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user