From 90d2155912bcee40377620d4836726041a72d537 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 5 Dec 2017 21:40:04 +0100 Subject: Work around latest Boost 1.65.1 still using deprecated std::auto_ptr ...in various places, which is gone by default at least from recent libc++ in C++17 mode. So bring it back there for now, until Boost is fixed. Change-Id: I0b3128d114ab2b5693a84bdc7d2b9b9b9b5c3c76 Reviewed-on: https://gerrit.libreoffice.org/45910 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 208debcbe5a0..e8d1f6a9bfa7 100644 --- a/configure.ac +++ b/configure.ac @@ -5947,6 +5947,7 @@ foo bar ]])], [CPP_LIBRARY=LIBCPP cpp_library_name="LLVM libc++" + AC_DEFINE([HAVE_LIBCXX]) ], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include @@ -12487,6 +12488,7 @@ AC_CONFIG_HEADERS([config_host/config_global.h]) AC_CONFIG_HEADERS([config_host/config_gpgme.h]) AC_CONFIG_HEADERS([config_host/config_java.h]) AC_CONFIG_HEADERS([config_host/config_lgpl.h]) +AC_CONFIG_HEADERS([config_host/config_libcxx.h]) AC_CONFIG_HEADERS([config_host/config_libepubgen.h]) AC_CONFIG_HEADERS([config_host/config_liblangtag.h]) AC_CONFIG_HEADERS([config_host/config_locales.h]) -- cgit