]> granicus.if.org Git - mutt/commitdiff
Handle --without-mixmaster properly. (Slightly modified.)
authorLars Hecking <lhecking@users.sourceforge.net>
Fri, 1 Sep 2006 19:26:39 +0000 (19:26 +0000)
committerLars Hecking <lhecking@users.sourceforge.net>
Fri, 1 Sep 2006 19:26:39 +0000 (19:26 +0000)
configure.in

index 48246310032267707943d881c109537af8700aac..60e72da91b409b4ff41568bffd5a1b52cfad3950 100644 (file)
@@ -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 "