From: Thomas Roessler Date: Tue, 29 Feb 2000 22:28:52 +0000 (+0000) Subject: Replace --enable-ssl by --with-ssl. From Tommi Komulainen. X-Git-Tag: mutt-1-1-6-rel~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bec1a606f44b80a38d15f5f9330994f53648e61;p=mutt Replace --enable-ssl by --with-ssl. From Tommi Komulainen. --- diff --git a/configure.in b/configure.in index 82a43ddf..97604998 100644 --- a/configure.in +++ b/configure.in @@ -487,12 +487,17 @@ AC_ARG_WITH(gss, [ --with-gss[=DIR] Compile in GSSAPI authenticati ]) AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes) -AC_ARG_ENABLE(ssl, [ --enable-ssl Enable SSL support for IMAP], +AC_ARG_WITH(ssl, [ --with-ssl[=PFX] Compile in SSL socket support for IMAP], [ if test "$need_imap" != "yes"; then AC_MSG_ERROR([SSL support is only for IMAP, but IMAP is not enabled]) fi - + + if test "x$withval" != "x"; then + LDFLAGS="$LDFLAGS -L$withval/lib" + CPPFLAGS="$CPPFLAGS -I$withval/include" + fi saved_LIBS="$LIBS" + AC_CHECK_LIB(crypto, X509_new,, AC_MSG_ERROR([Unable to find SSL library])) AC_CHECK_LIB(ssl, SSL_new,, AC_MSG_ERROR([Unable to find SSL library]), -lcrypto) AC_DEFINE(USE_SSL)