From daf49ec70fd103a6b63795a40a73cc272f79c0f3 Mon Sep 17 00:00:00 2001 From: Lars Hecking Date: Fri, 1 Sep 2006 19:26:39 +0000 Subject: [PATCH] Handle --without-mixmaster properly. (Slightly modified.) --- configure.in | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/configure.in b/configure.in index 48246310..60e72da9 100644 --- a/configure.in +++ b/configure.in @@ -158,15 +158,18 @@ if test x$have_smime != xno ; then fi AC_ARG_WITH(mixmaster, AC_HELP_STRING([--with-mixmaster[=PATH]], [Include Mixmaster support]), - [if test -x "$withval" ; then - MIXMASTER="$withval" - else - MIXMASTER="mixmaster" - fi - OPS="$OPS \$(srcdir)/OPS.MIX" - MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o" - AC_DEFINE_UNQUOTED(MIXMASTER,"$MIXMASTER", [Where to find mixmaster on your system.]) - ]) + [if test "$withval" != no + then + if test -x "$withval" + then + MIXMASTER="$withval" + else + MIXMASTER="mixmaster" + fi + OPS="$OPS \$(srcdir)/OPS.MIX" + MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o" + AC_DEFINE_UNQUOTED(MIXMASTER,"$MIXMASTER", [Where to find mixmaster on your system.]) + fi]) # We now require all OPS OPS="$OPS \$(srcdir)/OPS.PGP \$(srcdir)/OPS.SMIME \$(srcdir)/OPS.CRYPT " -- 2.40.0