From 40aaca74e3e5dcbca12b92f38e7fcc7fe4066ef9 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Mon, 20 Aug 2012 21:07:23 -0700
Subject: [PATCH] Don't error out if tls=auto and MozNSS not found

---
 configure.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.in b/configure.in
index 5d7d475f16..792cf0cd7d 100644
--- a/configure.in
+++ b/configure.in
@@ -1242,7 +1242,9 @@ if test $ol_link_tls = no ; then
 					  [define if you have MozNSS])
 			TLS_LIBS="-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4"
 		else
+			if test $ol_with_tls = moznss ; then
 			AC_MSG_ERROR([MozNSS not found - please specify the location to the NSPR and NSS header files in CPPFLAGS and the location to the NSPR and NSS libraries in LDFLAGS (if not in the system location)])
+			fi
 		fi
 	fi
 fi
-- 
GitLab