From: Nick Bowler Date: Tue, 29 Nov 2022 01:53:27 +0000 (-0500) Subject: Fix configuration w/ --with-curses. X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/8ba68d7f598d8832b0ec9a389c59f2cc112bb155 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. --- 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"])