From e314f10909309dfa8f1db3d2595d9257ab3928b0 Mon Sep 17 00:00:00 2001
From: Doug Torrance <dtorrance@piedmont.edu>
Date: Thu, 9 Apr 2020 09:50:12 -0400
Subject: [PATCH] configure: Fix typo in libXmu check.
As the literal string "wm_cv_xext_xmu" will never be equal to "xno",
we always ran the code that was supposed to run when the variable
$wm_cv_xext_xmu was not equal to "no". In particular, if libXmu
was not found, then we proceeded as if it had been found.
---
m4/wm_xext_check.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/wm_xext_check.m4 b/m4/wm_xext_check.m4
index 8bcaf8c9..9503af2c 100644
--- a/m4/wm_xext_check.m4
+++ b/m4/wm_xext_check.m4
@@ -108,7 +108,7 @@ Atom prop;
CFLAGS="$wm_save_CFLAGS"])
])
dnl The cached check already reported problems when not found
-AS_IF([test "wm_cv_xext_xmu" = "xno"],
+AS_IF([test "x$wm_cv_xext_xmu" = "xno"],
[LIBXMU=""
unsupported="$unsupported Xmu"],
[AC_DEFINE([HAVE_LIBXMU], [1],
--
2.26.2