[PATCH] configure: check for libXext if we are going to need them

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Mon May 28 13:00:51 PDT 2012


Change-Id: I35dd689ccb4bd01bb47f15b4db00d01a715ad2a6
---
 configure.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 2382c83..5c0b935 100644
--- a/configure.in
+++ b/configure.in
@@ -8069,6 +8069,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
 
-- 
1.7.5.4


--------------090809080203020505060700--


More information about the LibreOffice mailing list