autoconf
[Top][All Lists]
Advanced

[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: 31 Jan 2001 15:22:02 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

>>>>> "Akim" == Akim Demaille <address@hidden> 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 <address@hidden>
Subject: Mail delivery failed: returning message to sender
To: address@hidden
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:

  address@hidden
    SMTP error from remote mailer after HELO =: host goa.lrde.epita.fr 
[10.223.13.2]:
    501 syntactically invalid HELO argument(s)
  address@hidden
    SMTP error from remote mailer after HELO =: host goa.lrde.epita.fr 
[10.223.13.2]:
    501 syntactically invalid HELO argument(s)
  address@hidden
    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: <address@hidden>
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" <address@hidden>
Cc: <address@hidden>,  <address@hidden>
Subject: Re: Portable, Provable, Path separator test?
References: <address@hidden>
From: Akim Demaille <address@hidden>
Date: 25 Jan 2001 17:00:53 +0100
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
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 <address@hidden>

>>>>> "Tim" == Tim Van Holder <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]