Changeset 2079
- Timestamp:
- 06/06/07 10:31:37
- Files:
-
- trunk/docs/building.txt (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/configure.ac (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/building.txt
r2030 r2079 133 133 ./autogen.sh --prefix=/opt/tinymail --enable-asyncworker --enable-tests --enable-unit-tests && make && sudo make install 134 134 135 SSL support 136 ----------- 137 If you want to build with support for SSL, you can either choose for Mozilla's NSS or OpenSSL: 138 139 --with-ssl=nss Detect NSS and if available, use it 140 --with-ssl=nss-must Require NSS and it not available, fail the build 141 --with-ssl=openssl Detect OpenSSL and if available, use it 142 --with-ssl=none Do NOT detect any SSL, and DON'T use it 143 trunk/libtinymail-camel/camel-lite/configure.ac
r2077 r2079 74 74 [case "$with_ssl" in 75 75 nss) ;; 76 nss-must) ;; 76 77 openssl) ;; 77 78 none) ;; … … 80 81 81 82 if test x"$with_ssl" != "xnone"; then 82 if test x"$with_ssl" == "xnss" -a x"$mozilla_nspr" != "xno" -a x"$mozilla_nss" != "xno"; then 83 84 dnl Mozilla NSS and NSPR support check --with-ssl=nss,nss-must 85 86 if test x"$with_ssl" == "xnss" -o x"$with_ssl" == "xnss-must"; then 87 if test x"$mozilla_nspr" != "xno" -a x"$mozilla_nss" != "xno"; then 83 88 msg_ssl="yes (Mozilla NSS)" 84 89 msg_smime="yes (Mozilla NSS)" … … 87 92 AC_DEFINE(HAVE_SSL,1,[Define if you have a supported SSL library]) 88 93 AC_DEFINE(HAVE_OPENSSL,0,[Define if you want to use OpenSSL as SSL library]) 89 else 90 AC_MSG_CHECKING(for NSPR and NSS) 91 AC_MSG_RESULT(no) 92 if test x"$with_ssl" == "xopenssl"; then 94 else 95 if test x"$with_ssl" == "xnss-must"; then 96 AC_MSG_ERROR([Mozilla NSS not found and must be installed]) 97 fi 98 fi 99 fi 100 101 dnl OpenSSL support check --with-ssl=openssl 102 103 if test x"$with_ssl" == "xopenssl"; then 93 104 AC_CHECK_LIB(crypto, EVP_md5, [ 94 105 SSL_LIBS="-lcrypto -lssl" … … 97 108 AC_DEFINE(HAVE_OPENSSL,1,[Define if you want to use OpenSSL as SSL library]) 98 109 ],,) 99 fi100 fi 110 fi 111 101 112 fi 102 113
