From 4f043549ddb56e64c981c24d80e31768ab5c4a2e Mon Sep 17 00:00:00 2001 From: exg Date: Mon, 24 Apr 2006 19:59:07 +0000 Subject: [PATCH] Don't abort configure if --without-sasl is given without any network options. Gentoo's build scripts seem to generate this configuration. --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 65f1f9ec..c01bbe83 100644 --- a/configure.in +++ b/configure.in @@ -618,14 +618,14 @@ fi AM_CONDITIONAL(USE_SSL, test x$need_ssl = xyes) AC_ARG_WITH(sasl, AC_HELP_STRING([--with-sasl[=PFX]], [Use Cyrus SASL 2 network security library]), - [ - 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" -- 2.50.1