[Top][All Lists]

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

Re: Copying vs m4_including macro files

From: Gary V. Vaughan
Subject: Re: Copying vs m4_including macro files
Date: Wed, 24 Sep 2003 14:44:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2

Akim Demaille wrote:
 > On Wed, Sep 24, 2003 at 02:19:06PM +0200, Akim Demaille wrote:
 >> At the origin I was considering that AC_CONFIG_M4_DIR was
 >> automatically passed to m4 as a -I, so instead of
 >> m4_include([config/init.m4]) etc. you'd have m4_include([init.m4]).

 > Isn't there a chicken'n'egg problem?  How can you trace for
 > AC_CONFIG_M4_DIR if you need the result to run m4 properly?

Right, there was something like that :)

With m4-2.0 (it is too different to 1.4 to be called 1.5), you (or I) could write a builtin for include path mangling. Provided AC_CONFIG_M4_DIR([config]) expanded to (say) m4_prepend_search_path([config]),
and that happened before the first m4_include, it would work.

I'd quite like to sort out m4's search path issues in the near future... patches gratefully accepted :-)

  ())_.  Gary V. Vaughan    gary@(|
  ( '/   Research Scientist       ,_())____
  / )=   GNU Hacker  \'      `&
`(_~)_   Tech' Author   =`---d__/

reply via email to

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