Sam Steingold wrote:
I have a large package with many subpackages.
each subpackage has its own configure.ac.
how do I generate aclocal.m4?

[snip]

So: how do I use aclocal.m4 with multiple subpackage configure.in?

Given:

  package/
    m4/
    Makefile.am
    configure.ac
    subpackage/
      Makefile.am
      configure.ac

In package/Makefile.am:

  ACLOCAL_AMFLAGS = -I m4

In package/subpackage/Makefile.am:

  ACLOCAL_AMFLAGS = -I ../m4

You shouldn't need to run aclocal directly; if you run autoreconf, it should Just Work.

Braden


Reply via email to