From dca6f339a975a1787c4730abffe1b2663e4face6 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 6 Dec 2022 21:24:09 -0500 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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@]) -- 2.43.2