|
|
@@ -1000,7 +1000,7 @@ else
|
|
|
AC_MSG_CHECKING([for curses header subdirectory])
|
|
|
barelib="${barelib/6/}"
|
|
|
barelib="${barelib/5/}"
|
|
|
- cursesincl=`echo "#include <${barelib}/curses.h>" | ${CPP} -M - 2>/dev/null | tr -d '\\n\\r\\\\' | sed -e 's/^.*[[:space:]:]\(\/[^[:space:]]*\)libusb\.h[[:space:]].*$/\1/' -e t -e d`
|
|
|
+ cursesincl=`echo "#include <${barelib}/curses.h>" | ${CPP} -M - 2>/dev/null | tr -d '\\n\\r\\\\' | sed -e 's/^.*[[:space:]:]\(\/[^[:space:]]*\)curses\.h[[:space:]].*$/\1/' -e t -e d`
|
|
|
if test "x$cursesincl" != "x"; then
|
|
|
NCURSES_CPPFLAGS="-I${cursesincl}"
|
|
|
AC_MSG_RESULT([$cursesincl])
|