Mail Archives: djgpp/1999/07/01/11:44:28
On Thu, 1 Jul 1999 18:00:31 +0300 (IDT), you wrote:
>But you were intending to make the separator be : by default, and all
>ported packages that need this already set PATH_SEPARATOR=:. It seems to
>me that this solves the problem reliably enough to not bother the official
>GNU distribution with DJGPP-specific changes.
I haven't submitted any of the DJGPP specific changes. test -x vs test -f
is supposed to be taken care of in the next release of Autoconf, so that
thorn will be going away.
>
>Only my opinion, of course.
And it turns out we happen to agree.
One idea I have for a new update that I'd like comments on would be to
include a config.site as described in the Autoconf docs. That script could
set PATH_SEPARATOR to ':' (just in case someone changes the default), then
do stuff like this:
if test -x ${DJDIR}/gcc.exe; then
export CC=${DJDIR}/gcc.exe
fi
if test -x ${DJDIR}/gpp.exe; then
export CXX=${DJDIR}/gpp.exe
fi
etc.
to get around the 'test -f' problem and allow configure scripts to work
without regenerating then.
The script would go into $DJDIR/share. Then define CONFIG_SITE in the
[bash] and [sh] sections in djgpp.env so the file can be read without
having to use --prefix.
--
Mark E.: snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/
- Raw text -