From: Lars Hecking Date: Fri, 1 Sep 2006 19:26:39 +0000 (+0000) Subject: Handle --without-mixmaster properly. (Slightly modified.) X-Git-Tag: mutt-1-5-14-rel~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daf49ec70fd103a6b63795a40a73cc272f79c0f3;p=mutt Handle --without-mixmaster properly. (Slightly modified.) --- 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 "