diff --git a/configure.ac b/configure.ac index 838d4a45..f6a24a64 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AC_TRY_COMPILE([#include ], AC_ARG_WITH([ncurses], AS_HELP_STRING([--without-ncurses], [build only applications not needing ncurses]), - [with_ncurses=no], [with_ncurses=yes] + [with_ncurses=$withval], [with_ncurses=yes] ) if test "x$with_ncurses" = xno; then