From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2745 invoked by alias); 21 Jan 2010 17:13:16 -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: 27615 Received: (qmail 24642 invoked from network); 21 Jan 2010 17:13:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED autolearn=ham version=3.2.5 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.219.220 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Stp5/F2/CU/PIJ4qG2vQ7CxwAwy1p4PJ75Nzf05z904=; b=ecCVIwyVL+oUKef37f06LRu6VA9U0xTVvJLrRWCg2t5JQblO75RBPWOYU0G2xH+50+ ZmO0iy+MCoJ9GOPnUPHjnXf5S5l9ETnUknvZ2+sSV/kK/cWNaq2rltwuiTmif1aHd1b0 sD+7ZZLPzD7ObsTVBpkqB2bc+YA3F7nN+LYCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lVAwuswWGoZLI7hXEAw9vB2CZPutohUlE2EXlnwEsEmMs8tqYWhupGIZB11Sn4v7dQ vIATvtD6kluOjEAGY1o4fLJA1R7UoF88Dqknm4URDfs04y2Dt9/rNaA1jJRs1WhswB98 0n0c6B6cbdt6XsBwUvPh7+LSJ/3wuTcGqughQ= MIME-Version: 1.0 In-Reply-To: <100121080054.ZM21418@torch.brasslantern.com> References: <100121080054.ZM21418@torch.brasslantern.com> Date: Thu, 21 Jan 2010 17:09:11 +0100 Message-ID: <237967ef1001210809v5047c290y1a6987e1cdfcffde@mail.gmail.com> Subject: Re: Weird yodl thing in files.yo From: Mikael Magnusson To: Bart Schaefer Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 2010/1/21 Bart Schaefer : > The yodl source is this: > > Commands are first read from tt(zshenv()); this cannot be overridden. > > What I get in my compiled documentation is this: > > Commands are first read from no; this cannot be overridden. > > Er, what? > > Doc/version.yo:def(zshenv)(0)(no) > > This must be because I configure my devel build with global RC files > disabled? configure.ac does this: ifdef([zshenv],[undefine([zshenv])])dnl AC_ARG_ENABLE(zshenv, AC_HELP_STRING([--enable-zshenv=FILE], [the full pathname of the global zshenv script]), [zshenv="$enableval"], [if test "x$etcdir" = xno; then zshenv=no else zshenv="$etcdir/zshenv" fi]) AH_TEMPLATE([GLOBAL_ZSHENV], [The global file to source absolutely first whenever zsh is run; if undefined, don't source anything.]) if test "x$zshenv" != xno; then AC_DEFINE_UNQUOTED(GLOBAL_ZSHENV, "$zshenv") fi and later: AC_SUBST(zshenv)dnl and same for zshrc, zprofile, zlogin, zlogout. doc/Makefile.in then does this: version.yo: $(sdir_top)/Config/version.mk ( \ ... echo 'def(zshenv)(0)(@zshenv@)'; \ echo 'def(zprofile)(0)(@zprofile@)'; \ ... ) > $(sdir)/version.yo -- Mikael Magnusson