Re: mutt/2447: minor glitches with build ("--without") and install process ("install-sh" args)
The following reply was made to PR mutt/2447; it has been noted by GNATS.
From: Lars Hecking <lhecking@xxxxxxxxxxxxxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc:
Subject: Re: mutt/2447: minor glitches with build ("--without") and install
process ("install-sh" args)
Date: Fri, 25 Aug 2006 13:01:38 +0100 (IST)
> build: ./configure --without-mixmaster
> >Fix:
> install: either fix the "install-sh" script to accept args without spaces or
> change Makefile to have spaces.
Correct. It is necessary to change -m644 to "-m 644" in the
install-data-local: target in the top level Makefile.am.
> build: I don't know auto-stuff well enough, but it needs to check for
> "yes"/"no" explicitely, not just "non-zero".
--- configure.in.dist 2006-08-11 13:06:42.000000000 +0100
+++ configure.in 2006-08-25 12:57:28.000000000 +0100
@@ -158,10 +158,12 @@
fi
AC_ARG_WITH(mixmaster, AC_HELP_STRING([--with-mixmaster[=PATH]], [Include
Mixmaster support]),
- [if test -x "$withval" ; then
- MIXMASTER="$withval"
- else
- MIXMASTER="mixmaster"
+ [if test "$withval" != no ; then
+ if test -x "$withval" ; then
+ MIXMASTER="$withval"
+ else
+ MIXMASTER="mixmaster"
+ fi
fi
OPS="$OPS \$(srcdir)/OPS.MIX"
MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o"