automake
[Top][All Lists]
Advanced

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

Re: multiple configure.ac --> single aclocal.m4


From: Braden McDaniel
Subject: Re: multiple configure.ac --> single aclocal.m4
Date: Thu, 04 Aug 2005 13:00:01 -0400
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

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

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