summaryrefslogtreecommitdiff
path: root/adk
diff options
context:
space:
mode:
authormirabilos <tg@mirbsd.org>2015-07-22 14:40:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-07-25 16:19:37 +0200
commit903927dfd3dcebfbae7b1085004a973d71cb2f2f (patch)
treef6b34d7e2cb91824a439df4ecfa2d77a982e1999 /adk
parent74e47303e19fa31f5fa8ae053e4bdc87ec1c0eaa (diff)
fix ncursesw detection on Debian sid
Diffstat (limited to 'adk')
-rw-r--r--adk/config/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/adk/config/Makefile b/adk/config/Makefile
index 989dbeee8..336b1f179 100644
--- a/adk/config/Makefile
+++ b/adk/config/Makefile
@@ -17,6 +17,9 @@ ifeq (/usr/lib/libtinfo.so, $(wildcard /usr/lib/libtinfo.so))
LIBS+= -ltinfo
endif
+ifeq (/usr/include/ncursesw/curses.h, $(wildcard /usr/include/ncursesw/curses.h))
+HOST_CFLAGS+= -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"
+else
ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h))
HOST_CFLAGS+= -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
else
@@ -49,6 +52,7 @@ endif
endif
endif
endif
+endif
CONF_SRC =conf.c
MCONF_SRC =mconf.c $(wildcard lxdialog/*.c)