diff options
author | Akim Demaille <akim@epita.fr> | 2001-04-09 14:05:10 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-04-09 14:05:10 +0000 |
commit | d49b6d17c3291d5810b46e951333d2bf5a8ed101 (patch) | |
tree | 4bf3529771ead03aa14da3147744dd099361f09e /lib/am/configure.am | |
parent | ad16c21db7138387e37bb82af535eb438eeebbd1 (diff) | |
download | automake-d49b6d17c3291d5810b46e951333d2bf5a8ed101.tar.gz |
* automake.in (&handle_aclocal_m4): Rename as...
(&scan_aclocal_m4): this.
Return the list of aclocal.m4 dependencies.
(&handle_configure): Invoke it, and use it when loading...
* configure.am: Template the rules to recreate aclocal.m4.
Diffstat (limited to 'lib/am/configure.am')
-rw-r--r-- | lib/am/configure.am | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/am/configure.am b/lib/am/configure.am index 348b1e4de..19f68246c 100644 --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -34,9 +34,9 @@ -## ----------------------- ## -## Bulding config.status. ## -## ----------------------- ## +## --------------- ## +## config.status. ## +## --------------- ## if %?TOPDIR_P% ## Explicitly look in srcdir for benefit of non-GNU makes. @@ -46,3 +46,14 @@ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(srcdir)/configure: %MAINTAINER-MODE% $(srcdir)/%CONFIGURE-AC% $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) endif %?TOPDIR_P% + + + +## ------------ ## +## aclocal.m4. ## +## ------------ ## + +if %?TOPDIR_P% +$(ACLOCAL_M4): %MAINTAINER-MODE% %CONFIGURE-AC% %ACLOCAL_M4_DEPS% + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +endif %?TOPDIR_P% |