autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: complete failure of configure for autoconf-2.53.


From: Paul Eggert
Subject: Re: complete failure of configure for autoconf-2.53.
Date: Tue, 23 Jul 2002 15:24:32 -0700 (PDT)

> Date: Tue, 23 Jul 2002 23:42:45 +0200
> From: Stefan `Sec` Zehl <address@hidden>

> > Does it work as Autoconf expects if you set PATH="/nonexistent;."
> > instead?  If so, we could work around the problem by replacing ".;."
> > with "/nonexistent;.".
> 
> It appears to work (i.e. don't search .):

OK, I installed the following patch.  It should appear in the next
Autoconf version.  (Personally, I think all shells that use ';' as a
separator should be taken out and shot, but that's not your problem.  :-)


2002-07-23  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
        Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
        apparently treats PATH="nonexistent" as if it contained ".".
        Bug reported by Stefan `Sec' Zehl.

Index: m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.84
retrieving revision 1.85
diff -p -u -r1.84 -r1.85
--- m4sh.m4     20 Apr 2002 06:09:02 -0000      1.84
+++ m4sh.m4     23 Jul 2002 22:17:19 -0000      1.85
@@ -628,7 +628,7 @@ if test "${PATH_SEPARATOR+set}" != set; 
   echo "#! /bin/sh" >conftest.sh
   echo  "exit 0"   >>conftest.sh
   chmod +x conftest.sh
-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
+  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
     PATH_SEPARATOR=';'
   else
     PATH_SEPARATOR=:



reply via email to

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