Skip to content

Commit

Permalink
build: configure "--with-curses=yes" is now a no-op
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Explorer09 authored and BenBE committed Dec 14, 2024
1 parent f2b2828 commit 52c9e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
;;
*)
Expand Down

0 comments on commit 52c9e3d

Please sign in to comment.