[Top][All Lists]

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

Re: Site Macro Directory

From: Mark D. Roth
Subject: Re: Site Macro Directory
Date: Wed, 22 May 2002 23:04:00 -0500
User-agent: Mutt/1.2.5i

On Wed May 22 21:40 2002 -0500, Mark D. Roth wrote:
> On Wed May 22 15:50 2002 -0700, Paul Eggert wrote:
> > My own reaction is positive, but I would suggest that you write up the
> > proposal, as a proposed patch to the manual.  (Often the documentation
> > is the hardest to write, so perhaps it'll be easier for you if you
> > implement it and then document it.  :-)
> No problem.  I'll mail the documentation patch to the list when I have
> it done.

While working on this, I noticed that the current autom4te code
reverses the order of the `-I' options before passing them to m4.  The
documentation says:

  `-I DIR'
       Also look for input files in DIR.  Multiple invocations
       accumulate.  Contrary to M4 but in agreement with common sense,
       directories are browsed from last to first.

>From my perspective, this behavior is extremely counter-intuitive.
Every other tool that I know of that accepts a `-I' option (including
gcc, GNU make, GNU m4, and perl) prepends the arguments to the search
path in the order specified.  As a result, I was extremely surprised
to discover that autoconf does the reverse.

The current behavior seems to date back to revision 1.42 of
bin/ from September 5th, 2001.  Can someone explain to me
why this change was made?  Thanks!

Mark D. Roth <address@hidden>

reply via email to

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