delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/11/01:42:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C8C5198.2020700@ece.gatech.edu>
Date: Mon, 11 Mar 2002 01:41:28 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: James Harvey <james AT ncipher DOT com>
Subject: Re: autoconf 2.52a-1: M4PATH not being honoured through wrapper script.
References: <014001c1be21$81475b20$898717ac AT grimsby> <3C81C56A DOT 3080802 AT ece DOT gatech DOT edu> <12b501c1c429$9c8464b0$898717ac AT grimsby>

James Harvey wrote:

> OK, thanks. A colleague of mine noticed a bug, in that:
> 
> export M4PATH=${AUTO_STABLE}/share/autoconf:${M4PATH}
> 
> will set M4PATH to '/foo/share.autoconf:' if it was not previously set, and
> an empty path equates to the current directory, which is probably not what
> was intended.


How do you figure that?  "/foo/share/autoconf:" contains only a single 
directory.  It is not equivalent to "/foo/share/autoconf:."

Anyway, it doesn't really matter -- m4 *always* searches the current 
working directory, regardless of the value of ${M4PATH} or the use of -I 
options.  See 'info m4'.

> This really needs a check to see whether M4PATH was previously
> set, and only appending to it if so. This isn't an issue for PATH because
> you assume it is always set to something.

I don't think it's an issue for M4PATH, either.  (OTOH, your *other* 
bugreport is a valid concern, and I'm fixing that now...)

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019