]> git.sur5r.net Git - openldap/blobdiff - configure.in
ITS#7359 MozNSS: prefer unlocked slot when getting private key
[openldap] / configure.in
index f0f8d996f3de4fb2ff4449711e14444f62107475..ecffe30e5240eb9959fa1a106ec0ae853067ab26 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