From 123a5a7079426d7d4cb6b980b384339d6150a0a8 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 9 Jan 2014 22:34:45 +0100 Subject: configure: check for ICE and SM libraries too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id86b09c9f2fe8770da8cc6b13672e2bf37201962 (cherry picked from commit 415dfd0d89f550268dc66d4e7d447c1975a8aa44) Reviewed-on: https://gerrit.libreoffice.org/7349 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ccf270425b1c..4164d292135b 100644 --- a/configure.ac +++ b/configure.ac @@ -9199,6 +9199,14 @@ if test "$WANT_X11" = "yes"; then dnl =================================================================== AC_CHECK_HEADERS(X11/extensions/shape.h,[],[AC_MSG_ERROR([libXext headers not found])], [#include ]) + + # vcl needs ICE and SM + AC_CHECK_HEADERS(X11/ICE/ICElib.h,[],[AC_MSG_ERROR([libICE headers not found])]) + AC_CHECK_LIB([ICE], [IceConnectionNumber], [:], + [AC_MSG_ERROR(ICE library not found)]) + AC_CHECK_HEADERS(X11/SM/SMlib.h,[],[AC_MSG_ERROR([libSM headers not found])]) + AC_CHECK_LIB([SM], [SmcOpenConnection], [:], + [AC_MSG_ERROR(SM library not found)]) fi dnl =================================================================== -- cgit