diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-07-28 18:44:20 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-07-28 18:44:20 +0000 |
commit | 821787c0891235a1c71c5183a15c92e3c395611d (patch) | |
tree | c78a6b5b4371f94b10915c8aac0bdc74304e6c4e | |
parent | 9ad36deeb3ea647f0bc3b448960df8b03daaff06 (diff) | |
download | xine-lib-821787c0891235a1c71c5183a15c92e3c395611d.tar.gz xine-lib-821787c0891235a1c71c5183a15c92e3c395611d.tar.bz2 |
Only check for XShm.h if we're using X.
CVS patchset: 8141
CVS date: 2006/07/28 18:44:20
-rw-r--r-- | configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ffc931dad..fc961f3f4 100644 --- a/configure.ac +++ b/configure.ac @@ -568,11 +568,13 @@ fi AM_CONDITIONAL(HAVE_V4L, [test x"$have_v4l" = "xyes"]) dnl ---------------------------------------------- -dnl Check for XShm support (required) +dnl Check for XShm support (required with X) dnl ---------------------------------------------- -AC_CHECK_HEADERS([X11/extensions/XShm.h], [], - [AC_MSG_ERROR([XShm extension is required])]) +if test x"$no_x" != "xyes"; then + AC_CHECK_HEADERS([X11/extensions/XShm.h], [], + [AC_MSG_ERROR([XShm extension is required])]) +fi dnl ---------------------------------------------- dnl Check for Xv and XvMC support |