From 8ba68d7f598d8832b0ec9a389c59f2cc112bb155 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Mon, 28 Nov 2022 20:53:27 -0500 Subject: [PATCH] Fix configuration w/ --with-curses. A typo in the condition that verifies --with-curses means the check always passes, defeating the point of this option. Fix that up. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9b39749..912adf0 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,7 @@ AC_ARG_WITH([curses], [AS_HELP_STRING([--with-curses], [], [with_curses=auto]) AS_IF([test x"$with_curses" != x"no"], [DX_LIB_CURSES([have_curses=yes], [have_curses=no])]) -AS_IF([test x"$with_curses" = x"yes" && x"$have_curses" != x"yes"], +AS_IF([test x"$with_curses" = x"yes" && test x"$have_curses" != x"yes"], [AC_MSG_FAILURE([--with-curses requested but curses was not found])]) AM_CONDITIONAL([HAVE_CURSES], [test x"$have_curses" = x"yes"]) -- 2.43.2