>>>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes:
Akim> Have you given a try to my suggestion of
Akim> if (PATH=.;`pwd`; conftest.sh); then
Arg, of course you didn't...
From: Mail Delivery System <Mailer-Daemon@=>
Subject: Mail delivery failed: returning message to sender
To: akim@=
X-Sent: 5 days, 22 hours, 20 minutes, 4 seconds ago
This message was created automatically by mail delivery software (Exim).
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[EMAIL PROTECTED]
SMTP error from remote mailer after HELO =: host goa.lrde.epita.fr [10.223.13.2]:
501 syntactically invalid HELO argument(s)
[EMAIL PROTECTED]
SMTP error from remote mailer after HELO =: host goa.lrde.epita.fr [10.223.13.2]:
501 syntactically invalid HELO argument(s)
[EMAIL PROTECTED]
SMTP error from remote mailer after HELO =: host goa.lrde.epita.fr [10.223.13.2]:
501 syntactically invalid HELO argument(s)
------ This is a copy of the message, including all the headers. ------
Return-path: <akim@=>
Received: from akim by = with local (Exim 3.20 #1 (Debian))
id 14LopS-0007uj-00; Thu, 25 Jan 2001 17:00:54 +0100
To: "Tim Van Holder" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: Portable, Provable, Path separator test?
References: <[EMAIL PROTECTED]>
From: Akim Demaille <[EMAIL PROTECTED]>
Date: 25 Jan 2001 17:00:53 +0100
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Lines: 31
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Akim Demaille <akim@=>
>>>>> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> writes:
Tim> I'd like to add (at some point) a macro that detects the path
Tim> separator used on the _build_ system.
Very much agreed. We can still make it for 2.50. Must be run by
default, of course.
Tim> I'd suggest this at the top of configure (either in
Tim> AC_INIT_PREPARE, or in AS_SANITIZE_SHELL.
AS_, I would say. Unless we plan to move it the day AS_ will need it,
I don't think today it does. But it will probably happen some day.
Tim> dnl Apparently this is a good 'is this DOS/Windows?' test if test
Tim> -n "$COMSPEC$ComSpec"; then ac_pathsep=';' else ac_pathsep=':' fi
This one is quite common. Not very Autoconf like, but I'm not sure we
should try something else. Maybe we can make a small executable in
pwd, set PATH to '.:`pwd`', and try `.;`pwd`' and keep the one that
works? Maybe *starting* with `;' would address the issues you mention
at the end (Cygwin accepting too easily `:').
Tim> and a macro (AC_PATHSEP) that AC_SUBSTs PATH_SEPARATOR (or
Tim> PATHSEP, but I've been using PATH_SEPARATOR in my patched
Tim> autoconf for over a year now) to this value (for use in
Tim> makefiles/build scripts). Those will obviously have to be
Tim> adjusted as well (with the caveat that quoting will be required,
Tim> as ';' is special in a shell).
A bit big, but I'm fine with it.