]> granicus.if.org Git - mutt/commitdiff
Another fix from Tommi Komulainen.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 1 Mar 2000 17:59:01 +0000 (17:59 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 1 Mar 2000 17:59:01 +0000 (17:59 +0000)
configure.in

index ccbeb600f4188b37d821248a2de3460f8d173ff8..7eca46157d2b15cbe4482dee1b4a99238adc6cc3 100644 (file)
@@ -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"