[PATCH] check for libXext

David Tardon dtardon at redhat.com
Fri Jun 1 01:22:33 PDT 2012


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 at 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.


More information about the LibreOffice mailing list