From 903927dfd3dcebfbae7b1085004a973d71cb2f2f Mon Sep 17 00:00:00 2001 From: mirabilos Date: Wed, 22 Jul 2015 14:40:24 +0200 Subject: fix ncursesw detection on Debian sid --- adk/config/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'adk') 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="" +else ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) HOST_CFLAGS+= -I/usr/include/ncurses -DCURSES_LOC="" else @@ -49,6 +52,7 @@ endif endif endif endif +endif CONF_SRC =conf.c MCONF_SRC =mconf.c $(wildcard lxdialog/*.c) -- cgit v1.2.3