]> 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)
committerHoward Chu <hyc@openldap.org>
Tue, 21 Aug 2012 04:07:23 +0000 (21:07 -0700)
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