]> git.draconx.ca Git - rrace.git/commitdiff
Fix configuration w/ --with-x.
authorNick Bowler <nbowler@draconx.ca>
Wed, 7 Dec 2022 02:24:09 +0000 (21:24 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 7 Dec 2022 02:25:48 +0000 (21:25 -0500)
A typo in the condition which verifies --with-x means configuration
always fails if this option is specified.  Fix that up.

configure.ac

index fbc8f77da2bcc8a263089812feccf94663fbd06b..4be4c2aa21ff49799df1c8e4ced50a512f2af92b 100644 (file)
@@ -62,7 +62,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <Xm/XmAll.h>],
   [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@])