X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/31d8eda9987703c64fc63f4ddb4088cf3be5b7cc..8ba68d7f598d8832b0ec9a389c59f2cc112bb155:/configure.ac 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"])