From 52c9e3db2d154d9bc6435adf3d0f9596c2d6be18 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sat, 26 Oct 2024 21:00:57 +0800 Subject: [PATCH] build: configure "--with-curses=yes" is now a no-op It makes no sense to error out if the builder runs "./configure --with-curses" and no option argument. "--with-curses" without an option argument now keeps using the default name list for detecting ncurses library. Signed-off-by: Kang-Che Sung --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9b81c3f4b..19fcccc01 100644 --- a/configure.ac +++ b/configure.ac @@ -412,10 +412,10 @@ AC_ARG_WITH([curses], [], [with_curses=check]) case $with_curses in -check) +check|yes) : # No-op. Use default list. ;; -yes|no) +no) AC_MSG_ERROR([bad value '$with_curses' for --with-curses option]) ;; *)