[glib-networking] configure: Don't print a warning if the global CA	anchor file is disabled
- From: Olivier Crête <Tester src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib-networking] configure: Don't print a warning if the global CA	anchor file is disabled
- Date: Mon, 31 Mar 2014 20:27:44 +0000 (UTC)
commit 930b8a47a60fa97e53b26de56888e4d63283cc6f
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]