summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
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