Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

On Mon, May 28, 2012 at 10:04:14PM +0200, Riccardo Magliocchetti wrote:
Hello,

got a compile error in tail_build because of missing libXext, this
should do it, please double check.

thanks,
riccardo

From c53268caf61042bafcc2e3f52e908733297e2319 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Date: Mon, 28 May 2012 22:00:51 +0200
Subject: [PATCH] configure: check for libXext if we are going to need them

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

Actually, this is wrong, because it tests for presence of system headers
when it is told to use the internal ones. I moved the check to the other
branch.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.