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 | 575c78274a7458cc9459c6e07c5ff33a103c3f3c (patch) | |
| tree | a1542adf1298d5dcda129abd5de9076bacf85e5c /scripts | |
| parent | b1c9469f65261aff2f2dc7b46cdb4864a728e951 (diff) | |
| download | busybox-w32-575c78274a7458cc9459c6e07c5ff33a103c3f3c.tar.gz busybox-w32-575c78274a7458cc9459c6e07c5ff33a103c3f3c.tar.bz2 busybox-w32-575c78274a7458cc9459c6e07c5ff33a103c3f3c.zip | |
Patch from Robert Schwebel -- support ncurses installed in /usr/local
Diffstat (limited to 'scripts')
| -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 002b8d547..ab3df4993 100644 --- a/scripts/config/Makefile +++ b/scripts/config/Makefile | |||
| @@ -14,6 +14,12 @@ else | |||
| 14 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) | 14 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) |
| 15 | HOSTNCURSES += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" | 15 | HOSTNCURSES += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" |
| 16 | else | 16 | else |
| 17 | ifeq (/usr/local/include/ncurses/ncurses.h, $(wildcard /usr/local/include/ncurses/ncurses.h)) | ||
| 18 | HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses.h>" | ||
| 19 | else | ||
| 20 | ifeq (/usr/local/include/ncurses/curses.h, $(wildcard /usr/local/include/ncurses/curses.h)) | ||
| 21 | HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" | ||
| 22 | else | ||
| 17 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) | 23 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) |
| 18 | HOSTNCURSES += -DCURSES_LOC="<ncurses.h>" | 24 | HOSTNCURSES += -DCURSES_LOC="<ncurses.h>" |
| 19 | else | 25 | else |
| @@ -21,7 +27,8 @@ else | |||
| 21 | endif | 27 | endif |
| 22 | endif | 28 | endif |
| 23 | endif | 29 | endif |
| 24 | 30 | endif | |
| 31 | endif | ||
| 25 | 32 | ||
| 26 | CONF_SRC =conf.c | 33 | CONF_SRC =conf.c |
| 27 | MCONF_SRC =mconf.c checklist.c menubox.c textbox.c yesno.c inputbox.c util.c msgbox.c | 34 | MCONF_SRC =mconf.c checklist.c menubox.c textbox.c yesno.c inputbox.c util.c msgbox.c |
