diff options
Diffstat (limited to 'scripts/config')
-rw-r--r-- | scripts/config/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile index 002b8d5..ab3df49 100644 --- a/scripts/config/Makefile +++ b/scripts/config/Makefile @@ -14,6 +14,12 @@ else ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) HOSTNCURSES += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" else +ifeq (/usr/local/include/ncurses/ncurses.h, $(wildcard /usr/local/include/ncurses/ncurses.h)) + HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses.h>" +else +ifeq (/usr/local/include/ncurses/curses.h, $(wildcard /usr/local/include/ncurses/curses.h)) + HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" +else ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) HOSTNCURSES += -DCURSES_LOC="<ncurses.h>" else @@ -21,7 +27,8 @@ else endif endif endif - +endif +endif CONF_SRC =conf.c MCONF_SRC =mconf.c checklist.c menubox.c textbox.c yesno.c inputbox.c util.c msgbox.c |