From: Thomas Roessler Date: Wed, 1 Mar 2000 17:59:01 +0000 (+0000) Subject: Another fix from Tommi Komulainen. X-Git-Tag: mutt-1-1-8-rel~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5e2ebe51fad681d18f1f929e21f57ad6ca47fc0;p=mutt Another fix from Tommi Komulainen. --- diff --git a/configure.in b/configure.in index ccbeb600..7eca4615 100644 --- a/configure.in +++ b/configure.in @@ -488,12 +488,12 @@ AC_ARG_WITH(gss, [ --with-gss[=DIR] Compile in GSSAPI authenticati AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes) 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 "$with_ssl" != "no" +[ if test "$with_ssl" != "no" then + if test "$need_imap" != "yes"; then + AC_MSG_ERROR([SSL support is only for IMAP, but IMAP is not enabled]) + fi + if test "$with_ssl" != "yes" then LDFLAGS="$LDFLAGS -L$withval/lib"