From: Nick Bowler Date: Wed, 7 Dec 2022 02:24:09 +0000 (-0500) Subject: Fix configuration w/ --with-x. X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/dca6f339a975a1787c4730abffe1b2663e4face6 Fix configuration w/ --with-x. A typo in the condition which verifies --with-x means configuration always fails if this option is specified. Fix that up. --- diff --git a/configure.ac b/configure.ac index fbc8f77..4be4c2a 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], [dx_cv_have_motif=yes], [dx_cv_have_motif=no]) CFLAGS=$save_CFLAGS LIBS=$save_LIBS])]) -AS_IF([test x"$with_x" = x"yes" && test "$dx_cv_have_motif" != x"yes"], +AS_IF([test x"$with_x" = x"yes" && test x"$dx_cv_have_motif" != x"yes"], [AC_MSG_FAILURE([--with-x requested but Motif was not found])]) AC_SUBST([MOTIF_CFLAGS], [@&t@])