diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-08-11 23:46:31 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-08-11 23:46:31 +0000 |
commit | 3b52c14e667a01d2b0897c9c3af65291fd55ed62 (patch) | |
tree | 895720d5ff5c3c6e32ef7e03a7be711c6df9efa6 /mail-client/mutt/files | |
parent | Version bump (diff) | |
download | gentoo-2-3b52c14e667a01d2b0897c9c3af65291fd55ed62.tar.gz gentoo-2-3b52c14e667a01d2b0897c9c3af65291fd55ed62.tar.bz2 gentoo-2-3b52c14e667a01d2b0897c9c3af65291fd55ed62.zip |
Fix configure.in to work correctly when --without-sasl is specified
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'mail-client/mutt/files')
-rw-r--r-- | mail-client/mutt/files/mutt-1.5.9-sasl.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mail-client/mutt/files/mutt-1.5.9-sasl.patch b/mail-client/mutt/files/mutt-1.5.9-sasl.patch new file mode 100644 index 000000000000..dead1a793fe1 --- /dev/null +++ b/mail-client/mutt/files/mutt-1.5.9-sasl.patch @@ -0,0 +1,40 @@ +--- mutt-1.5.9/configure.in.sasl 2005-08-11 19:39:15.000000000 -0400 ++++ mutt-1.5.9/configure.in 2005-08-11 19:39:41.499356683 -0400 +@@ -645,13 +645,13 @@ + + AC_ARG_WITH(sasl, AC_HELP_STRING([--with-sasl[=PFX]], [Use Cyrus SASL library for POP/IMAP authentication]), + [ +- if test "$need_socket" != "yes" +- then +- AC_MSG_ERROR([SASL support is only useful with POP or IMAP support]) +- fi +- + if test "$with_sasl" != "no" + then ++ if test "$need_socket" != "yes" ++ then ++ AC_MSG_ERROR([SASL support is only useful with POP or IMAP support]) ++ fi ++ + if test "$with_sasl" != "yes" + then + CPPFLAGS="$CPPFLAGS -I$with_sasl/include" +@@ -675,13 +675,13 @@ + + AC_ARG_WITH(sasl2, AC_HELP_STRING([--with-sasl2[=PFX]], [Use Cyrus SASL library version 2 for POP/IMAP authentication]), + [ +- if test "$need_socket" != "yes" +- then +- AC_MSG_ERROR([SASL support is only useful with POP or IMAP support]) +- fi +- + if test "$with_sasl2" != "no" + then ++ if test "$need_socket" != "yes" ++ then ++ AC_MSG_ERROR([SASL support is only useful with POP or IMAP support]) ++ fi ++ + if test "$with_sasl2" != "yes" + then + CPPFLAGS="$CPPFLAGS -I$with_sasl2/include" |