summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-12-06 14:41:26 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-12-06 14:41:26 +0000
commite33024ef319f71aa173eca716bb1ffa6bfb47ea8 (patch)
treeb4136aae5c7f4be5298090aed1a026187846eb81
parentf9ea010689310758463cc071e42f743553d17edf (diff)
downloadxine-lib-e33024ef319f71aa173eca716bb1ffa6bfb47ea8.tar.gz
xine-lib-e33024ef319f71aa173eca716bb1ffa6bfb47ea8.tar.bz2
Fix XShm detection in the absence of pkgconfig or x11.pc.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5317a4be1..c3270fec4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -538,7 +538,7 @@ if test "x$with_x" != "xno"; then
ac_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADERS([X11/extensions/XShm.h], [true],
- [AC_MSG_ERROR([XShm extension is required])])
+ [AC_MSG_ERROR([XShm extension is required])], [[#include <X11/Xlib.h>]])
AC_CHECK_LIB([Xext], [main], [true],
[AC_MSG_ERROR([libXext is required])], [$X_LIBS])
CPPFLAGS="$ac_save_CPPFLAGS"