[Libreoffice-commits] core.git: configure.ac
Rene Engelhard
rene at debian.org
Thu Aug 29 12:25:34 PDT 2013
configure.ac | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 0d5b9f1ad4b132d8d0cc22af1f524f971c0166db
Author: Rene Engelhard <rene at debian.org>
Date: Thu Aug 29 21:23:49 2013 +0200
check for boost >= 1.47 and SHA512_CTX (openssl >= 0.9.8) in configure
Change-Id: If070d0bcafb208bb8d4104e48540cc1b2bf23db6
diff --git a/configure.ac b/configure.ac
index 89ce3f7..ef10c70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8523,7 +8523,7 @@ AC_MSG_CHECKING([which boost to use])
if test "$with_system_boost" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_BOOST=YES
- AX_BOOST_BASE
+ AX_BOOST_BASE(1.47)
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([$mingw_boost_date_time_dll])
@@ -9139,6 +9139,12 @@ if test "$enable_openssl" = "yes"; then
if test "$with_system_openssl" = "yes"; then
libo_MINGW_CHECK_DLL([libssl])
libo_MINGW_CHECK_DLL([libcrypto])
+ AC_MSG_CHECKING([whether openssl supports SHA512])
+ AC_LANG_PUSH([C])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <openssl/sha.h>]],[[
+ SHA512_CTX context;
+]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([no, openssl too old. Need >= 0.9.8.])])
+ AC_LANG_POP(C)
fi
else
AC_MSG_RESULT([yes])
More information about the Libreoffice-commits
mailing list