extras="$extras gui"
executables="$executables gui"
else
- AC_MSG_WARN([cannot build para_gui])
+ AC_MSG_WARN([no curses lib, cannot build para_gui])
fi
CPPFLAGS="$OLD_CPPFLAGS"
LDFLAGS="$OLD_LDFLAGS"
have_readline="no"
AC_MSG_WARN([readline/readline.h not found, $msg])
])
+
+if test "$have_curses" != "yes"; then
+ have_readline="no"
+ AC_MSG_WARN([interactive cli support depends on curses,])
+ AC_MSG_WARN([but no curses lib was detected, $msg])
+fi
+
if test "$have_readline" = "yes"; then
readline_libs="$readline_libs -lreadline"
AC_SEARCH_LIBS([rl_free_keymap], [readline], [], [have_readline="no"])