On Sep  9, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote:

>>>>>> "Felix" == Felix Natter <[EMAIL PROTECTED]> writes:
Felix> how can I include an AC_DEFUN macro-definition from another file ?

> The best way is to put it into aclocal.m4 and it will automatically be
> included.

> Otherwise you can use `sinclude', but that is a hack.

I'd recommend `builtin([include],[filename.m4])', because then it will
complain if the file is missing.

And you probably meant acinclude.m4, not aclocal.m4, otherwise the
include will go away next time aclocal is run.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to