aboutsummaryrefslogtreecommitdiff
path: root/libX11/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/configure.ac')
-rw-r--r--libX11/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/configure.ac b/libX11/configure.ac
index fe3179948..c29209420 100644
--- a/libX11/configure.ac
+++ b/libX11/configure.ac
@@ -177,7 +177,7 @@ else
AC_DEFINE(HAVE_DLOPEN,1,[Use dlopen to load shared libraries])
AC_CHECK_HEADERS([dlfcn.h])
fi
-if test x$ac_cv_header_dlcfn_h -o x$ac_cv_header_dl_h; then
+if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
HAVE_LOADABLE_MODULES=yes
else
HAVE_LOADABLE_MODULES=no