lib/am/configure.am


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 0768132f 2003-10-27T07:52:00 * automake.in (handle_configure): Rename am__configure_deps as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and $configure_ac. Define am__configure_deps as am__aclocal_m4_deps + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define ACLOCAL_M4_DEPS while processing configure.am. (make_paragraphs): Do not define %CONFIGURE_AC%, now unused. (scan_aclocal_m4): Do not distribute aclocal.m4, this is done from lib/am/configure.am. * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON, $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using $(am__configure_deps) or $(am__aclocal_m4_deps). * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
Alexandre Duret-Lutz 74fe06a8 2003-09-23T08:14:35 Support for multiple inputs in AC_CONFIG_FILES. Requested long ago by Harlan Stenn. * automake.in (handle_dist): Remove unused argument $makefile. (handle_subdirs): Expect SUBDIRS elements in $relative_dir, not $am_relative_dir. (rewrite_inputs_into_dependencies): Allow $add_srcdir to be a filename that must always be prefixed by $(srcdir) or $(top_srcdir). (handle_configure, generate_makefile): Revamp to make the Makefile.am, Makefile.in, Makefile more independent. (locate_am): New function. (scan_configure_dep, parse_arguments): Use locate_am. (MAIN): Adjust call to generate_makefile. * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%. * tests/output6.test, tests/output7.test: New files. * tests/Makefile.am (TESTS): Add them. * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how multiple inputs are scanned.
Alexandre Duret-Lutz cfea6a81 2003-07-24T21:26:56 Fix missing rebuilds during `make dist' with BSD make. * automake.in (generate_makefile): Do not push Makefile.in, and Makefile.am into DIST_COMMON here. * lib/am/configure.am (DIST_COMMON): Do it here, and use %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON actually match the targets. Prefix `configure' with `$(srcdir)/' to match the target. * tests/remake4.test: New file. * tests/Makefile.am (TESTS): Add remake4.test. Report from Akim Demaille.
Raja R Harinath 307d66f7 2003-07-10T22:26:09 (am--refresh): Silence.
Alexandre Duret-Lutz c7c1d2d7 2003-06-27T18:35:14 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org> * tests/aclocal6.test: Test maintainer-clean in VPATH builds. (For Ralf's fix.) 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) * lib/am/configure.am (maintainer-clean): Remove $(top_srcdir)/autom4te.cache, not autom4te.cache.
Akim Demaille 1bac96a2 2003-06-20T08:16:43 * lib/am/configure.am: Replace leading spaces with a real tab.
Alexandre Duret-Lutz 7a857e24 2003-05-06T22:29:16 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit status. * tests/makej.test: New file (test Autom4te's cache locking, new in CVS Autoconf). * tests/Makefile.am (TESTS): Add makej.test.
Alexandre Duret-Lutz 0cfc348e 2003-04-25T20:46:21 * automake.in (handle_configure): Don't add @configure_deps to DIST_COMMON, we do this from lib/am/configure.am now. Define the am__configure_deps variable instead of substituing %CONFIGURE_DEPS%. * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure, $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%. (DIST_COMMON): Add $(am__configure_deps).
Alexandre Duret-Lutz 535b7ba4 2003-04-25T18:39:21 * tests/aclocal6.test: New file. * lib/am/configure.am (am--refresh): New rule. (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status, $(top_srcdir)/configure): Call the top-level am--refresh from subdirectories. ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the top-level am--refresh when not in the top-level directory. Fix jump directories for VPATH builds. Suggested by Raja R. Harinath.
Alexandre Duret-Lutz b51046f0 2003-04-24T18:39:32 For automake PR/46: * automake.in (scan_aclocal_m4): Work in all directories, not only the top-level. Prepend $(top_srcdir) in front of each aclocal.m4 dependency. * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)): Define rebuild rules in each directory. * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies from the top-level directory. * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies from a subdirectory. * tests/Makefile.am (TESTS): Add aclocal5.test. (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
Alexandre Duret-Lutz 9f26c3bb 2003-04-24T18:33:42 For automake PR/46: * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt because of one of configure's dependencies, run automake without argument to update the whole tree at once. Depend upon %CONFIGURE_DEPS%. (%MAKEFILE%): If Makefile is rebuilt because config.status has been updated, run config.status without arguments. * automake.in (scan_autoconf_traces): Prepend $(top_srcdir) before all files in @configure_deps. * tests/subdir5.test: Modernize configure.in, make sure maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%. * tests/subdir8.test: New file. * tests/Makefile.am (TESTS): Add subdir8.test. (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
Alexandre Duret-Lutz fd386946 2002-10-10T17:37:38 For PR automake/358: * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of configure.ac. Suggested by Thien-Thi Nguyen. * lib/am/configure.am ($(srcdir)/configure): Depends on %CONFIGURE_DEPS% * automake.in (@configure_deps): New array. (scan_autoconf_traces): Scan for m4_include and m4_sinclude, and fill @configure_deps. (handle_configure): Substitute %CONFIGURE_DEPS%. Distribute @configure_deps. * tests/version7.texi: New file. * tests/vtexi.test: Adjust. * tests/Makefile.am (TESTS): Add version7.test. * automake.texi (Dist): Mention that m4_include'd files are distributed.
Alexandre Duret-Lutz a94c3ee7 2002-07-23T19:10:50 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk> * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add configure.lineno.
Alexandre Duret-Lutz 0c8ae99f 2002-06-06T08:34:43 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable. (distclean): Use it. (maintainer-clean): Delete autom4te.cache and $(am__CONFIG_DISTCLEAN_FILES). * tests/maintclean.test: New file. * tests/Makefile.am (TESTS): Add maintclean.test.
Tom Tromey 3b52bf3f 2002-01-07T00:37:50 2002-01-06 Raja R Harinath <harinath@cs.umn.edu> * automake.in (handle_languages): Emit an automake internal variable 'am__depfiles_maybe'. * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
Tom Tromey 0b12c40d 2002-01-06T20:38:07 2002-01-06 Raja R Harinath <harinath@cs.umn.edu> * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to config.status.
Akim Demaille 60a93569 2001-10-26T09:56:43 * automake.in (&handle_configure): Use the config.status 2.50 invocation syntax for config files and headers. autoheader needs the name of the file to create, not from what it must be created, hence CONFIG_HEADER_FULL is $one_name, not $one_fullname. * lib/am/configure.am, lib/am/remake-hdr.am: Likewise. * tests/confsub.test (SUBDIRS): Adjust to the new config.status invocation. Strengthen: Use the non-default config.hin source. Strengthen: Make sure config.h is properly updated when config.hin is changed.
Tom Tromey a7df6fe5 2001-06-15T01:14:01 * lib/am/configure.am ($(top_builddir)/config.status): Added $(top_builddir) prefix to work around problems with some vendor makes. From Nicholas Joly.
Tom Tromey 0d43099b 2001-05-17T03:02:38 * tests/Makefile.am (TESTS): Removed maintclean.test. * lib/am/clean.am (maintainer-clean-generic): Don't remove Makefile.in. * lib/am/configure.am (maintainer-clean-am): Removed. (maintainer-clean-conf): Removed. * tests/maintclean.test: Removed.
Tom Tromey e00a9898 2001-05-16T04:32:09 Fix for maintclean.test: * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test. * lib/am/clean.am (distclean-generic): Don't remove config.cache or config.log. (distclean, maintainer-clean): Moved to... * lib/am/configure.am: ... here. (distclean): Remove config.cache and config.log. (maintainer-clean): Removed. (maintainer-clean-conf): New target. (maintainer-clean-am): New target.
Akim Demaille f3d09a31 2001-04-10T09:21:00 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special variables. Specify to the caller whether $regen_aclocal_m4. (&handle_configure): Adjust. Transform `REGEN-ACLOCAL-M4'. * configure.am: Use it. * tests/defs (me): New. * tests/configdeps.test: New.
Akim Demaille 74d5d061 2001-04-09T14:06:40 * automake.in (%dist_common): Remove. (%configure_dist_common): Replace with... ($configure_dist_common): this. (&generate_makefile): Read the user file before using push_dist_common, as it sets DIST_COMMON, and read_am_file checks that no variable is defined before it is run. (&handle_texinfo): Don't handle DIST_COMMON, let your file do it. (&dist_cmp): Rename as... (&for_dist_common): this. (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do it. Adjust to $configure_dist_common. * configure.am, texi-vers.am: Set DIST_COMMON.
Akim Demaille d49b6d17 2001-04-09T14:05:10 * 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.
Akim Demaille 7aa9fca1 2001-04-09T10:02:40 * remake.am: Merge into... * configure.am: ... here. * automake.in (&handle_configure): Adjust.
Akim Demaille 44d82214 2001-03-05T14:52:13 * automake.in (&file_contents): Map MAINTAINER-MODE to @MAINTAINER_MODE_TRUE@ or nothing. * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust. Suggested by Tom.
Akim Demaille 51c68871 2001-03-05T14:41:08 * configure.am: New file. * automake.in (&file_contents): Transform CONFIGURE-AC. (&handle_texinfo, &handle_configure): Don't transform CONFIGURE_AM. (&handle_configure): Use `configure.am'. * remake-hdr.am, remake.am, texi-vers.am: Adjust to MAINTAINER-MODE and CONFIGURE-AC.