Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Helpfiles again (was Re: modify functions hierarchy (was: etc.))
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
This will not work as expected:
> --- a/configure.ac
> +++ b/configure.ac
> @@ -268,6 +268,9 @@ else
> fi], [runhelpdir=yes])
> if test x"$runhelpdir" = xyes; then
> runhelpdir=${datadir}/${tzsh_name}/'${VERSION}'/help
> + runhelp=runhelp
> +else
> + runhelp=
> fi
If the user passes
./configure --with-runhelpdir=/prefix/usr/share/zsh/5.0.2/help
then $runhelpdir will not be "yes", but runhelp should
be defined anyway. Probably you want instead something like
if test x"$runhelpdir" = xyes; then
runhelpdir=${datadir}/${tzsh_name}/'${VERSION}'/help
fi
if test x"$runhelpdir" = ""; then
runhelp=runhelp
else
runhelp=
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author