aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/configure.ac')
-rw-r--r--mesalib/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/configure.ac b/mesalib/configure.ac
index 6c7a1929e..aa72523c0 100644
--- a/mesalib/configure.ac
+++ b/mesalib/configure.ac
@@ -810,7 +810,7 @@ if test "x$enable_dri" = xyes; then
fi
dnl Find out if X is available.
-PKG_CHECK_MODULES([X11], [x11])
+PKG_CHECK_MODULES([X11], [x11], [no_x=no], [no_x=yes])
dnl Try to tell the user that the --x-* options are only used when
dnl pkg-config is not available. This must be right after AC_PATH_XTRA.