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 <vapier@gentoo.org>
This commit is contained in:
parent
62c0cf67f6
commit
061de22bad
@ -127,7 +127,7 @@ AC_TRY_COMPILE([#include <argp.h>],
|
|||||||
|
|
||||||
AC_ARG_WITH([ncurses],
|
AC_ARG_WITH([ncurses],
|
||||||
AS_HELP_STRING([--without-ncurses], [build only applications not needing 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
|
if test "x$with_ncurses" = xno; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user