]> git.sur5r.net Git - openldap/commitdiff
Don't error out if tls=auto and MozNSS not found
authorHoward Chu <hyc@openldap.org>
Tue, 21 Aug 2012 04:07:23 +0000 (21:07 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 18 Sep 2012 22:40:27 +0000 (15:40 -0700)
configure.in

index 5d7d475f16befcc240afc953c9a8775677566d23..792cf0cd7da87fae39dca56961bcad11cf8b3d38 100644 (file)
@@ -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