[glib-networking/glib-2-40] configure: Don't print a warning if the global CA anchor file is disabled



commit fbfd53fcce7eda16bfd25f8ed9c583f561ca50c2
Author: Olivier Crête <olivier crete collabora com>
Date:   Sat Mar 29 00:25:41 2014 -0400

    configure: Don't print a warning if the global CA anchor file is disabled
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727282

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1852e56..de0254e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -253,7 +253,7 @@ echo     "  TLS support:       ${tls_support:-no}"
 if test "$tls_support" != "no"; then
     echo "  PKCS#11 Support:   $pkcs11_support"
     echo "  TLS CA file:       ${with_ca_certificates:-(none)}"
-    if test -n "$with_ca_certificates"; then
+    if test "x$with_ca_certificates" != xno -a -n "$with_ca_certificates"; then
        if ! test -f "$with_ca_certificates"; then
            AC_MSG_WARN([Specified certificate authority file '$with_ca_certificates' does not exist])
        fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]