diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-11 18:07:38 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-11 18:07:38 +0000 |
commit | 05160e204952c086fe4d0131b81a87f521fa7b47 (patch) | |
tree | 38752d6b26c7c7da27a4266d4e9493f2e0a76e98 /extra/config/Makefile | |
parent | 2d1e800c2d7154d08e7230ee43b37ad205edfa4d (diff) |
Patch from Robert Schwebel -- support ncurses installed in /usr/local
Diffstat (limited to 'extra/config/Makefile')
-rw-r--r-- | extra/config/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extra/config/Makefile b/extra/config/Makefile index e28b96af3..e56ab7d01 100644 --- a/extra/config/Makefile +++ b/extra/config/Makefile @@ -28,6 +28,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 @@ -35,7 +41,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 |