>>>>> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> 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