summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-05-28 22:00:51 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-05-29 09:47:56 +0300
commit85d89558a425c04917b396344f89c0f6fb41561e (patch)
tree5eadb7e7250e0fb2a93fc0ea2a931872dc10adf1 /configure.in
parent824270f1829461895938c5794e7b2a255307ed9f (diff)
Check for libXext headers if we will need them
Change-Id: I35dd689ccb4bd01bb47f15b4db00d01a715ad2a6
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2ecac9b50388..5015915341dd 100644
--- a/configure.in
+++ b/configure.in
@@ -8068,6 +8068,8 @@ if test "$with_system_xextensions_headers" != "no"; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
+ AC_CHECK_HEADERS(X11/extensions/shape.h,[],[AC_MSG_ERROR([libXext headers not found])],
+ [#include <X11/extensions/shape.h>])
BUILD_TYPE="$BUILD_TYPE X11_EXTENSIONS"
fi