[svn] Enable turning off SSL.

This commit is contained in:
hniksic 2005-06-24 06:48:31 -07:00
parent 94c194948f
commit 9aff5d6cfd
2 changed files with 30 additions and 26 deletions

View File

@ -1,5 +1,8 @@
2005-06-24 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Enable the user to turn off SSL autodetection and
disable SSL using --without-ssl.
* Makefile.in ($(srcdir)/stamp-h.in): Remove the aclocal.m4
dependencies.

View File

@ -59,8 +59,7 @@ dnl Process features.
dnl
AC_ARG_WITH(ssl,
[[ --with-ssl[=SSL-ROOT] link with SSL support [default=auto]
--without-ssl disable SSL autodetection]])
[[ --without-ssl disable SSL autodetection]])
AC_ARG_ENABLE(opie,
[ --disable-opie disable support for opie or s/key FTP login],
@ -246,7 +245,8 @@ dnl Checks for libraries.
dnl
dnl Check for OpenSSL
if test x"$with_ssl" != x"no"
then
dnl As of this writing (OpenSSL 0.9.6), the libcrypto shared library
dnl doesn't record its dependency on libdl, so we need to make sure
dnl -ldl ends up in LIBS on systems that have it. Most OSes use
@ -272,6 +272,7 @@ then
[Define if SSL support should be compiled in.])
SSL_OBJ='openssl.o'
fi
fi
AC_SUBST(SSL_OBJ)
dnl Enable NTLM if requested and if SSL is available.