[PATCH] Broken check for Boost::Date_Time in configure.in

Francois Tigeot ftigeot at wolfpond.org
Thu Jul 26 00:31:06 PDT 2012


Hi,

Recent versions of LibreOffice-3.6 (since June) fail to build on some of
my systems. The error message indicates a problem with Boost::Date_time

    checking whether the Boost::Date_Time library is available... yes
    configure: error: Could not find a version of the library!

It turns out Boost::Date_time is in fact perfectly functional and the
configure script reports a non-existing error.

Removing the check is enough to make LibreOffice-3.6 build again (see
attached patch).

-- 
Francois Tigeot
-------------- next part --------------
>From 080bbbc053c415d07c4d4ae74e68effb6898024e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Tigeot?= <ftigeot at wolfpond.org>
Date: Thu, 26 Jul 2012 09:13:17 +0200
Subject: [PATCH] configure: remove broken Boost::Date_Time check

On some systems, AX_BOOST_DATE_TIME fails to detect the presence of a
perfectly functional Boost::Date_Time library, preventing LibreOffice
to build for no reason.

The Boost autotools macros have been unmaintained since 2009; removing
the check seems to be the best course of action.

Change-Id: Ic9b2d02c5726030c8f0bb06c322383960f933080
---
 configure.in |    1 -
 1 file changed, 1 deletion(-)

diff --git a/configure.in b/configure.in
index 1a0a72a..2de88b3 100644
--- a/configure.in
+++ b/configure.in
@@ -7433,7 +7433,6 @@ if test "$with_system_boost" = "yes"; then
     AC_LANG_POP([C++])
 
     AX_BOOST_BASE
-    AX_BOOST_DATE_TIME
     mingw_boost_date_time_dll=`echo $BOOST_DATE_TIME_LIB | sed -e 's/^-l//' -e 's/\.dll$//'`
     libo_MINGW_TRY_DLL([BOOST_DATE_TIME], [$mingw_boost_date_time_dll])
     if test -z "$MINGW_BOOST_DATE_TIME_DLL"; then
-- 
1.7.10.5



More information about the LibreOffice mailing list