From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5224 invoked from network); 13 Sep 2002 17:53:56 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Sep 2002 17:53:56 -0000 Received: (qmail 26981 invoked by alias); 13 Sep 2002 17:53:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17661 Received: (qmail 26970 invoked from network); 13 Sep 2002 17:53:48 -0000 From: "Bart Schaefer" Message-Id: <1020913175317.ZM9183@candle.brasslantern.com> Date: Fri, 13 Sep 2002 17:53:17 +0000 In-Reply-To: <4665.1031932669@csr.com> Comments: In reply to Peter Stephenson "Re: config.modules glitch in configure or make dependencies" (Sep 13, 4:57pm) References: <4665.1031932669@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: config.modules glitch in configure or make dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 13, 4:57pm, Peter Stephenson wrote: } Subject: Re: config.modules glitch in configure or make dependencies } } "Bart Schaefer" wrote: } > Consider the following patch; configure writes config.modules.sh and also } > arranges that config.status will source it, and then sources it. } } Well, it's about the only bit of the configuration not yet done in (at } least) two stages, so I don't see why it shouldn't share the pain. It's not really two stages; the code still executes at the same time it always did, it just happens to be in two files. If you prefer, it could be written like this: AC_OUTPUT_COMMANDS(,[if test -z "\$CONFIG_FILES\$CONFIG_HEADERS"; then `cat ./${CONFIG_MODULES}.sh && rm -f ./${CONFIG_MODULES}.sh` fi]) . ./${CONFIG_MODULES}.sh That actually copies the code from configure into config.status, so that the .sh file doesn't have to be left behind. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net