Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: config.modules glitch in configure or make dependencies
- X-seq: zsh-workers 17661
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: config.modules glitch in configure or make dependencies
- Date: Fri, 13 Sep 2002 17:53:17 +0000
- In-reply-to: <4665.1031932669@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <4665.1031932669@xxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author