On Mon, 17 Dec 2001 15:48:53 +0100, Sven Neumann said: > I have never seen configure being rebuilt from a Makefile. Does automake > support this feature? All the Makefiles I have seen generated from > autotools only call automake for you if configure.in changes. From my > experience the developer has to call autogen.sh himself whenever > configure.in has been changed. Seen in the 'Gaim' makefile (from gaim.sourceforge.net): $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=$@ $(SHELL) ./config.status $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): configure.ac m4/artsc.m4 m4/esd.m4 m4/gnome-gnorba-check.m4 m4/gnome-orbit-check.m4 m4/gnome-pthread-check.m4 m4/gnome-x-checks.m4 m4/gnome.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) (Yes, you can all collectively say 'gaak' now ;) Actually, it's saved me several times - if I do 'cvs update' and *forget* to re-run "./autogen.sh", it doesn't do Very Bad Things to me ;) But yes, at least SOME software expects this to work. -- Valdis Kletnieks Operating Systems Analyst Virginia Tech
Attachment:
pgpU21K0zSq7H.pgp
Description: PGP signature