[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNATS needs some work (autoconf/59)
From: |
Akim Demaille |
Subject: |
Re: GNATS needs some work (autoconf/59) |
Date: |
30 Jan 2001 21:24:24 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
>>>>> "Tim" == Tim Van Holder <address@hidden> writes:
Tim> A big problem is deciding which pathsep is best in each case.
Tim> For the build pathsep, I'd originally thought to use a test for a
Tim> DOS/Win-ish environment (test -n "$COMSPEC$ComSpec"), but this
Tim> breaks for recent cygwin, as it seems to always use ':' as
Tim> pathsep (using its "/cygdrive/x/" system to replace "x:/"-style
Tim> DOS drivespecs). So by my current thinking, I'd use uname as a
Tim> basis for setting an ac_pathsep variable,
Gross!
Tim> as this is fairly low-cost and could therefore be done
Tim> unconditionally at autoconf startup. It would be necessary to be
Tim> able to distinguish between (recent) cygwin and other win32
Tim> environments (mingw32, for example) though.
Have you given a try to my suggestion of
cat <<EOF >conftest.sh
#! $SHELL
exit 0
EOF
chmod +x conftest.sh
if (PATH=.;`pwd`; conftest.sh); then
# We like `;', let's use it.
else if (PATH=.:`pwd`; conftest.sh); then
# We like `:', let's use it.
else
# Get lost.
fi
- GNATS needs some work, Pavel Roskin, 2001/01/30
- Re: GNATS needs some work (autoconf/59), Tim Van Holder, 2001/01/30
- Re: GNATS needs some work (autoconf/59),
Akim Demaille <=
- Re: GNATS needs some work (autoconf/59), Pavel Roskin, 2001/01/30
- Re: GNATS needs some work (autoconf/59), Akim Demaille, 2001/01/31
- Re: GNATS needs some work (autoconf/59), Alexandre Oliva, 2001/01/31
- Re: GNATS needs some work (autoconf/59), Akim Demaille, 2001/01/31
- Re: GNATS needs some work (autoconf/59), Alexandre Oliva, 2001/01/31
- RE: GNATS needs some work (autoconf/59), Tim Van Holder, 2001/01/31
- Re: GNATS needs some work (autoconf/59), Pavel Roskin, 2001/01/30