From 061de22badc121227fdcb3720ef96087868bbe9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 Jan 2012 13:01:14 -0500 Subject: [PATCH] fix AC_ARG_WITH(ncurses) handling The third arg is for "the user has specified some flag", not "the user has disabled things", so use $withval. Signed-off-by: Mike Frysinger --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0