[Libreoffice-commits] core.git: configure.ac

Andres Gomez agomez at igalia.com
Sat Apr 13 03:47:25 PDT 2013


 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit fd6d42395a676ba4a408b53725c8e4f9edf421cd
Author: Andres Gomez <agomez at igalia.com>
Date:   Tue Apr 9 18:05:16 2013 +0300

    build: warn when configure with --with-tls=openssl
    
    When expliciting openssl as tls implementation to
    use, show a warning as there are still some pieces
    of code that may depend on NSS or GNUTLS.
    
    Change-Id: I2cfaaf09b5ad83837928f2648975db956b261c19
    Reviewed-on: https://gerrit.libreoffice.org/3327
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/configure.ac b/configure.ac
index 1d00ebb..494de05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8109,6 +8109,10 @@ if test -n "$with_tls"; then
     openssl)
         AC_DEFINE(USE_TLS_OPENSSL)
         TLS=OPENSSL
+
+        # warn that OpenSSL has been selected but not all TLS code has this option
+        AC_MSG_WARN([TLS/SSL implementation to use is OpenSSL but some code may still be depending on NSS or GNUTLS])
+        add_warning "TLS/SSL implementation to use is OpenSSL but some code may still be depending on NSS or GNUTLS"
         ;;
     nss)
         AC_DEFINE(USE_TLS_NSS)


More information about the Libreoffice-commits mailing list