summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c8a25a588..ffc931dad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -567,6 +567,12 @@ else
fi
AM_CONDITIONAL(HAVE_V4L, [test x"$have_v4l" = "xyes"])
+dnl ----------------------------------------------
+dnl Check for XShm support (required)
+dnl ----------------------------------------------
+
+AC_CHECK_HEADERS([X11/extensions/XShm.h], [],
+ [AC_MSG_ERROR([XShm extension is required])])
dnl ----------------------------------------------
dnl Check for Xv and XvMC support