From: Mike Frysinger Date: Tue, 24 Jan 2012 18:01:14 +0000 (-0500) Subject: fix AC_ARG_WITH(ncurses) handling X-Git-Tag: v3.3.3~69^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=061de22badc121227fdcb3720ef96087868bbe9e;p=procps-ng 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 --- 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