From: Eric Andersen Date: Sat, 11 Jan 2003 18:07:38 +0000 (-0000) Subject: Patch from Robert Schwebel -- support ncurses installed in /usr/local X-Git-Tag: 1_00_pre1~246 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=575c78274a7458cc9459c6e07c5ff33a103c3f3c;p=oweals%2Fbusybox.git Patch from Robert Schwebel -- support ncurses installed in /usr/local --- diff --git a/scripts/config/Makefile b/scripts/config/Makefile index 002b8d547..ab3df4993 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="" else +ifeq (/usr/local/include/ncurses/ncurses.h, $(wildcard /usr/local/include/ncurses/ncurses.h)) + HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="" +else +ifeq (/usr/local/include/ncurses/curses.h, $(wildcard /usr/local/include/ncurses/curses.h)) + HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="" +else ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) HOSTNCURSES += -DCURSES_LOC="" 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