summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-01 10:10:34 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-01 10:19:30 +0200
commit1f33addebbc66f78dd64e382b1dd9bd0dd82cac2 (patch)
treea431a265410f4c44df19f57736b248dd6a11aa77 /configure.in
parent46d08bde567f8b90ad2e2a087ff7404b41678997 (diff)
move test for system headers to the right branch
Change-Id: If162227d55f244ee85d1b0725829a9533427d12c
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 21f606be9635..293f1c5d29f4 100644
--- a/configure.in
+++ b/configure.in
@@ -8065,10 +8065,10 @@ fi
AC_MSG_CHECKING([whether to use internal X11 extensions headers])
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>])
+else
+ AC_MSG_RESULT([yes])
BUILD_TYPE="$BUILD_TYPE X11_EXTENSIONS"
fi