From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23665 invoked by alias); 24 Nov 2013 12:27:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32046 Received: (qmail 12246 invoked from network); 24 Nov 2013 12:27:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Martin Vaeth Subject: Re: Helpfiles again (was Re: modify functions hierarchy (was: etc.)) Date: Sun, 24 Nov 2013 12:26:48 +0000 (UTC) Message-ID: References: <20131112101139.31d67b73@pwslap01u.europe.root.pri> <20131112174805.26ecab48@pwslap01u.europe.root.pri> <20131112210424.177c035b@pws-pc.ntlworld.com> <20131113092831.2ed6ab94@pwslap01u.europe.root.pri> <20131113112112.1b080b79@pwslap01u.europe.root.pri> <131113080606.ZM11640@torch.brasslantern.com> <131117103047.ZM30518@torch.brasslantern.com> <131117130118.ZM1041@torch.brasslantern.com> <20131120192608.3af3b92c@pws-pc.ntlworld.com> <131120220100.ZM12300@torch.brasslantern.com> <20131123174827.249f9678@pws-pc.ntlworld.com> <131123114714.ZM18477@torch.brasslantern.com> <131123210612.ZM31978@torch.brasslantern.com> Reply-To: vaeth@mathematik.uni-wuerzburg.de X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lounge.imp.fu-berlin.de User-Agent: slrn/pre1.0.0-26 (Linux) Bart Schaefer 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