]> git.draconx.ca Git - rrace.git/blobdiff - configure.ac
Fix configuration w/ --with-x.
[rrace.git] / 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@])