m4/init.m4


Log

Author Commit Date CI Message
Stefano Lattarini 3c5d9e8f 2011-03-15T17:36:40 cosmetics: better use of m4 quoting and m4sugar macros * m4/dmalloc.m4: Better use of m4 quoting. Bump serial number. * m4/gcj.m4: Likewise. * m4/init.m4: Likewise. * m4/install-sh.m4: Likewise. * m4/lex.m4: Likewise. * m4/multi.m4: Likewise. * m4/option.m4: Likewise. * m4/python.m4: Likewise. * m4/sanity.m4: Likewise. * m4/cond.m4: Likewise. Also, prefer the m4sugar macro 'm4_if' over the plain m4 macro 'ifelse'. * m4/depend.m4: Likewise.
Ralf Wildenhues 2c74a340 2009-04-13T23:17:39 silent-rules reorganization, --enable-silent-rules switch. This patch introduces a configure-time option to set the default verbosity. Since configure now needs to know whether the `silent-rules' automake option was set, the latter can only be set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro but not any more through AUTOMAKE_OPTIONS or the automake command line option `--silent-rules'. * automake.in (define_verbose_var): Define the default verbose variable in terms of `$(AM_DEFAULT_VERBOSITY)'. (handle_configure): Do not pass `--silent-rules' to automake. (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen, enable global `silent-rules' option. (usage): Do not document `--silent-rules'. (parse_arguments): Do not accept `--silent-rules'. * doc/automake.texi (Options): Overhaul. Document AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules, AM_DEFAULT_VERBOSITY. Show an example for user-added variables for less verbose output. (Invoking Automake): Remove documentation for `--silent-rules'. (Public Macros): Document `AM_SILENT_RULES'. * NEWS: Update. * lib/Automake/Options.pm (_process_option_list): Accept `silent-rules' only as option in configure.ac. * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH initialization to ... * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro. Deal with `--enable-silent-rules' switch; define AM_DEFAULT_VERBOSITY. * m4/Makefile.am (dist_m4data_DATA): Add silent.m4. * tests/dollarvar.test: Remove tests for `--silent-rules', use `AM_SILENT_RULES'. * tests/flavor.test: Remove test for `--silent-rules'. * tests/silent.test: Use `AM_SILENT_RULES' instead of `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'. * tests/silent2.test: Likewise. * tests/silent3.test: Likewise. * tests/silent4.test: Likewise. * tests/silent5.test: Likewise. * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well as `AM_INIT_AUTOMAKE([silent-rules])' instead of `--silent-rules'. * tests/silent7.test: Use `AM_SILENT_RULES' instead of `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected. Test combinations of --enable-silent-rules and --disable-silent-rules with `make V=0' and `make V=1'. Suggestion for configure-time switch by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 1692795d 2009-04-09T00:16:35 parallel-tests: Fix driver for nonempty executable extension. * automake.in (handle_tests): New substitution `%am__EXEEXT%', defined as 'FALSE' for non-generic rules, or if no programs are built at all. Otherwise, define it as configure conditional. * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New conditional generic rule. * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto Autoconf's `_AC_COMPILER_EXEEXT' macro. (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty. * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid false positives stemming from `@am__EXEEXT_TRUE@'. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Jan Engelhardt e0bd4af1 2009-03-07T15:58:07 Implement `silent' build rules. * automake.in (ccer): New field in the language structure. Initialize it for all registered languages. (verbose_var, verbose_flag, verbose_dispatch) (silent_flag, define_verbose_var, define_verbose_tagvar) (define_verbose_libtool): New functions. (handle_languages, handle_programs, handle_libraries) (handle_ltlibraries, handle_configure) (define_compiler_variable, define_linker_variable) (define_per_target_linker_variable): Use them where appropriate to define variables to implement the silent output machinery. * lib/Automake/Options.pm (_process_option_list): Accept `silent', turning off `portability-recursive'. * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where appropriate. * lib/am/lex.am: Likewise. * lib/am/library.am: Likewise. * lib/am/ltlibrary.am: Likewise. * lib/am/program.am: Likewise. * lib/am/yacc.am: Likewise. * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define, AM_BACKSLASH. * tests/defs.in: Unset `V', to avoid influencing inner tests. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Eric Blake d87a073e 2009-01-23T15:34:17 Use no-arg macros via AC_REQUIRE for consistency. * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP. * configure: Regenerate. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake ced75497 2008-04-10T16:47:55 Prefer a released version of autoconf. * NEWS: Bump requirement to autoconf 2.62. * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise. * configure.ac: Likewise. (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead. Signed-off-by: Eric Blake <ebb9@byu.net>
Ralf Wildenhues 8aad9804 2008-03-08T13:35:05 Require unreleased Autoconf for fixed AC_PROG_INSTALL. * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341, regenerate files. * configure.ac: Also require Autoconf 2.61-341, to catch failure early and provide a sensible error message. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues d4b81e60 2008-01-12T15:33:06 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more resistant to different quoting styles of $1.
Alexandre Duret-Lutz 8ae25d96 2006-08-30T18:50:38 For PR automake/500: * automake.in (handle_compile) <$default_includes>: Do not output the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'. * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in non-VPATH builds since we always have `-I.'. * tests/subpkg.test: Make sure config headers are found in VPATH and non-VPATH builds.
Alexandre Duret-Lutz 79a9f204 2006-08-19T13:58:03 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4: Require Autoconf 2.60 instead of some intermediate development version.
Alexandre Duret-Lutz 16e941b2 2006-08-04T14:53:32 * m4/init.m4: Suggest fixing the call to AC_INIT when AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments. * tests/init.test: New file. * tests/Makefile.am (TESTS): Add it.
Ralf Wildenhues b9df3285 2006-03-20T20:31:29 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)' to `AC_PROG_OBJC' if provided, to fix Objective C depmode handling. * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for OBJC and OBJCFLAGS. * tests/ext.test: Adjust. * tests/objc.test, tests/objc2.test: New tests. * tests/Makefile.am: Adjust. * doc/automake.texi (Objective C Support): New node. (Support for Other Languages): Adjust. * NEWS: Update.
Alexandre Duret-Lutz c01e9982 2005-06-30T11:07:41 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead of AC_SUBST. * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL): Do not define, they are AC_SUBST_TRACEd by Autoconf. * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c. * tests/include.test: Call AC_OUTPUT.
Alexandre Duret-Lutz 391df12b 2005-01-09T14:46:22 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive license that is used in aclocal.m4. Relicensing backed by RMS.
Alexandre Duret-Lutz 1e840d7c 2004-08-03T23:02:56 Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O. * automake.in (%required_aux_file): New hash. (handle_single_transform, lang_c_rewrite): Do note explicitly require 'compile', this is now an internal detail of AM_PROG_CC_C_O. (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill %required_aux_file. (scan_autoconf_files): Require all %required_aux_file instead of explicitly requiring install-sh and missing. (generate_makefile): Do not require config.sub and config.guess. (handle_single_transform): Pass $have_per_exec_flags to &lang_c_rewrite. * configure.ac, m4/init.m4: Require Autoconf 2.59a. * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE. (Program and Library Variables, Options, Public macros): AC_PROG_CC_C_O is required when per-target flags or subdir-objects are used with C sources. * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE. * m4/missing.m4: Require `missing' similarly. * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test, tests/specflg.test, tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test, tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
Alexandre Duret-Lutz ae040111 2004-04-19T23:20:08 For PR automake/414: Introduce options tar-v7, tar-ustar, and tar-pax to select tar format. * doc/automake.texi (Options): Document them. * lib/Automake/Options.pm (_process_option_list): Process these new options. * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist, distcheck): Adjust to use am__tar and am__untar. * m4/tar.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add tar.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options and call _AM_PROG_TAR. * tests/tar.test, tests/tar2.test, tests/tar3.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz 2a8e1b17 2003-11-10T20:55:33 * automake.in (handle_configure): Distribute and define mkinstalldirs only if it is already present in the package. (scan_autoconf_files): Do not require mkinstalldirs. (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). * m4/mkdirp.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. * tests/Makefile.am (TESTS): Remove insh.test. * tests/insh.test: Delete. * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. * tests/auxdir.test: Install mkinstalldirs. * tests/distdir.test, tests/instman.test, tests/pr2.test: Use $(mkdir_p), not $(mkinstalldirs). * tests/empty.test: Run configure, do not substitute things by hand. * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh as an example, not mkinstalldirs. (Auxiliary Programs) <mkinstalldirs>: Update.
Alexandre Duret-Lutz 05fac009 2003-11-05T21:31:34 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58. * configure.ac: Require Autoconf 2.58a, and check for 2.58.
Alexandre Duret-Lutz 9e9f7974 2003-08-24T19:56:07 * configure.in: Require Autoconf 2.57b to be sure aclocal can use autom4te --language Autoconf-without-aclocal-m4. * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow calls inside the AM_INIT_AUTOMAKE macro. * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move AC_PREREQ calls inside the macros. * m4/header.m4: Remove AC_PREREQ.
Alexandre Duret-Lutz bb8d3245 2003-03-13T21:43:47 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
Alexandre Duret-Lutz 6c960b13 2003-03-13T21:33:59 Fix for PR automake/386: * m4/init.m4: Require Autoconf 2.55. Reported by Owen Taylor.
Alexandre Duret-Lutz c149b8ac 2003-02-04T20:00:12 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute indexes of header files so we create stamp files with the right numbers when config.status is run on some headers. * tests/stamph2.test: Check for this. Reported by Sander Niemeijer.
Alexandre Duret-Lutz bb174399 2003-01-13T14:04:41 Use `_dirstamp' when the file-system doesn't support `.dirstamp'. * m4/lead-dot.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.: * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define DEPDIR using am__leading_dot. * automake.in (require_build_directory): Define am__dirstamp, a new variable for the dirstamp basename, based on am__leading_dot. * tests/subobj6.test: Move all `test -f' into Makefiles, so we can use $(am__dirstamp). Reported by Richard Dawe.
Alexandre Duret-Lutz 364483ba 2002-12-12T13:41:00 * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION.
Alexandre Duret-Lutz f0791481 2002-09-16T10:12:22 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
Alexandre Duret-Lutz c456276a 2002-09-09T08:27:19 * m4/init.m4: Execute cygpath in a sub-shell.
Alexandre Duret-Lutz b89b34e5 2002-09-08T13:40:05 2002-09-08 Andreas Buening <andreas.buening@nexgo.de> Fix for automake/334: * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W). * m4/init.m4: New make variable CYGPATH_W.
Alexandre Duret-Lutz eafb319c 2002-07-19T20:17:59 * m4/init.m4: Require Autoconf 2.53b. * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN. * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. * m4/protos.m4 (fp_C_PROTOTYPES): Likewise. * m4/regex.m4 (fp_WITH_REGEX): Likewise. * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed in m4/obsolete.m4. * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now AU_DEFUNed in m4/obsolete.m4. * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files. * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4, and obsolete.m4. Remove termios.m4 and winsz.m4. * aclocal.in (obsolete, obsolete_rx): Remove. (scan_configure): Don't grep for obsolete macros. * tests/defs (AUTOUPDATE): Define. * Makefile.am (maintainer-check): Check for misuses of autoupdate. * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from m4/obsolete.m4.
Alexandre Duret-Lutz d0697cda 2002-07-18T11:16:40 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER, _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ... (AM_CONFIG_HEADER): ... this new definition for compatibility. * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE. (_AC_AM_CONFIG_HEADER_HOOK): New macro. * tests/confh5.tests: Delete. * tests/Makefile.am (TESTS): Remove confh5.tests.
Alexandre Duret-Lutz 27474b22 2002-04-19T10:13:34 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function, override AC_CONFIG_HEADERS with AM_CONFIG_HEADER. (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS. * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE. * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config files. * tests/confh5.test: New file. * tests/Makefile.am (TESTS): Add confh5.test. * automake.texi (Optional, Public macros): Update descriptions of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
Tom Tromey 09d3a1cf 2002-03-17T23:18:00 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes. Fixes PR automake/304.
Tom Tromey 8d63c8ed 2002-01-22T18:52:26 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if no-dependencies option is set. * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if no-dependencies option is set. Don't call AM_DEP_TRACK or AM_SET_DEPDIR.
Tom Tromey c52e0530 2002-01-18T21:12:55 * missing: Updated. * lib/missing: Accept versioned aclocal. * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
Tom Tromey b85334eb 2002-01-16T19:05:47 * Makefile.am (install-exec-hook): Use APIVERSION. * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from APIVERSION. * automake.in (perllibdir): Use APIVERSION. (libdir): Likewise. * aclocal.in (perllibdir): Use APIVERSION. (APIVERSION): New global. (parse_arguments): Use APIVERSION. * configure.in (APIVERSION): New subst. (pkgvdatadir): Use APIVERSION.
Tom Tromey 447ca35b 2002-01-15T23:54:14 * missing: Updated. * lib/missing: Match against `automake*' to pick up versioned automake. * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version variable. * lib/am/Makefile.am (amdir): Use pkgvdatadir. * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use pkgvdatadir. (scriptdir): Use pkgvdatadir. (installcheck-local): Likewise. * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir. * automake.in (perllibdir): Added VERSION. (libdir): Likewise. * aclocal.in (parse_arguments): Search versioned directory. Don't push unversioned directory unless it exists. (perllibdir): Added VERSION. (default_acdir): New global. * m4/Makefile.am (m4datadir): Added $(VERSION). * Makefile.am (install-exec-hook): New target. * configure.in (ACLOCAL): Search build directory. (pkgvdatadir): New subst.
Alexandre Duret-Lutz 7689032c 2002-01-12T18:48:53 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from AM_INIT_AUTOMAKE arguments when using the old-style call. Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only. Suggested by Pavel Roskin.
Alexandre Duret-Lutz e375e1f2 2002-01-12T17:38:56 * test/nodefine.test, test/nodefine2.test: Check that no-define works, not the contrary... * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset. * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define, not the contrary.
Alexandre Duret-Lutz 45c5938c 2002-01-09T08:52:09 * automake.texi (Complete, Macros, Options): Document the new style AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion. * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from AC_INIT if they are available there. Support a new call form where the only argument is an optional space-separated list of Automake options. * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove. (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS, _AM_IF_OPTION): New functions. * automake.in (AC_INIT_PATTERN): New variable. (global_options_line): Remove, use $seen_init_automake instead. (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE. Remove the AM_AUTOMAKE_OPTIONS handling. * configure.in: Modernize. * tests/defs (configure.in): Modernize. One third of the tests still overwrite the default configure.in and use an old AM_INIT_AUTOMAKE call, so that makes testing for both. * tests/nodefine.test, tests/nodefine2.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz 57a6006e 2002-01-07T20:25:24 * configure.in (AUTOMAKE): Create m4/amversion.m4. * m4/amversion.in: New file. * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ... (dist_m4data_DATA): ... this. (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_CURRENT_AUTOMAKE_VERSION. * automake.in (seen_automake_version): New variable. (scan_autoconf_traces, scan_one_autoconf_file, scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain when the version used in aclocal.m4 differs from Automake's. * tests/defs (ACLOCAL): Look in ../m4 too. * tests/installsh.test (ACLOCAL): Likewise. * tests/installdir.test (installdirs-local): Run $ACLOCAL.
Akim Demaille 56c8ea4f 2001-11-07T18:08:14 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in AC_MSG_ERROR. Reported by Jim Meyering.
Akim Demaille db020179 2001-09-27T09:01:05 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
Tim Van Holder 79cfc715 2001-09-23T10:16:51 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to neutralize CDPATH for us. * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore. * lib/am/texibuild.am: Use @PATH_SEPARATOR@, not ':' to build TEXINPUTS.
Akim Demaille 0668ce98 2001-09-22T16:05:36 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000, Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am, lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4, m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4, m4/termios.m4, m4/winsz.m4: Add copyright notice. * INSTALL, lib/INSTALL: Upgrade to latest autoconf version, which has a copyright notice.
Alexandre Duret-Lutz f00ec284 2001-08-03T08:28:21 * m4/install-sh.m4: New file. * m4/Makefile.am (m4data_DATA): Add install-sh.m4. * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ... * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check for install.sh any longer, always use install-sh, don't even fall back to missing. Use $am_aux_dir, making $install_sh absolute. * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh is absolute. * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
Tom Tromey 37506386 2001-07-27T00:02:43 * automake.in (am_print_error): New function. (am_error): Use it. (am_file_error): Likewise. (am_line_error): Likewise. (am_conf_error): Likewise. (am_conf_line_error): Likewise. * automake.texi (Options): Document no-exeext. * automake.in (handle_options): Recognize no-exeext. (rule_define): Handle no-exeext. * tests/Makefile.am (TESTS): Added new file. * tests/exeext2.test: New file. * automake.in (make_input_list): Removed. (scan_autoconf_config_files): Don't add to make_input_list. (scan_one_autoconf_file): Don't use make_input_list. (scan_autoconf_files): Use make_list, not make_input_list. (scan_autoconf_files): Likewise. * automake.in (seen_exeext): Removed. (generate_makefile): Don't define EXEEXT or OBJEXT. (scan_one_autoconf_file): Don't check for AC_EXEEXT. (am_install_var): Don't check $seen_exeext. (handle_programs): Likewise. (rule_define): Allow x to override x$(EXEEXT), for now. (file_contents_internal): Only define rule if rule_define allows us to. * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
Tom Tromey 8c00243e 2001-07-17T05:40:56 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES. * m4/init.m4: Updated callers.
Tom Tromey 545fc249 2001-05-30T02:34:09 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
Tom Tromey 75f1df10 2001-05-25T14:50:30 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
Tom Tromey c7e78f73 2001-02-21T02:49:25 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow invocation.
Tom Tromey eb0b1538 2001-02-18T00:35:19 2001-02-17 Tom Tromey <tromey@redhat.com> * automake.in (handle_merge_targets): Use double quotes around setting of INSTALL_STRIP_PROGRAM. * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM to absolute path at runtime. (AM_PROG_STRIP): Don't explicitly test $STRIP. 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr> * m4/strip.m4: New file. * m4/Makefile.am (m4data_DATA): Add strip.m4. * m4/init.m4: Call AM_PROG_INSTALL_STRIP. * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function. (AM_MISSING_INSTALL_SH, AM_MISSING_HAS_RUN): Use $am_aux_dir instead of $ac_aux_dir, and require AM_AUX_DIR_EXPAND. * m4/depend.m4 (AM_DEP_TRACK): Likewise. * automake.in (handle_merge_targets): In the install-strip rule, set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG. * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV, don't use INSTALL_STRIP_FLAG any longer. * header-vars.am (INSTALL_STRIP_FLAG): Remove. (INSTALL_PROGRAM_ENV): New variable.
Tom Tromey bd940d21 2001-02-13T06:43:43 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* names through autoconf.
Tom Tromey 6171edd6 2001-02-08T06:32:16 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
Akim Demaille b37ff24a 2001-01-25T15:50:36 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in clear. * m4/init.m4: Likewise. * m4/sanity.m4: s/conftestfile/conftest.file/.
Akim Demaille 1e2c6b41 2001-01-16T11:04:36 * m4/multi.m4: Remove the hairy useless quotation of `$'. Simplify `ifelse([$2],,,[$2])' into... `$2'! * m4/minuso.m4: Don't use changequote! * m4/cond.m4: Fix quotation. * m4/sanity.m4: Follow the Autoconf coding style. * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop. * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues. Use AC_CACHE_CHECK.
Pavel Roskin 5cad77aa 2000-10-10T00:18:53 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable assignments changing $? - it's broken in ash-0.2. * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
Akim Demaille 4b893ece 2000-08-02T08:59:16 * m4: Quote properly the name of the macros being defined. Use `#' instead of `dnl' where appropriate. * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just quote. Don't quote passive characters. Pull the AC_PREREQ outside the macro. * m4/init.m4: Pull the AC_PREREQ outside the macro.
Jim Meyering af50dbbd 2000-05-01T10:57:08 From Akim Demaille <akim@epita.fr> * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it. (AM_INIT_AUTOMAKE): Update the writing conventions. Quote the arguments properly. Add a few missing `dnl'. Use AC_PROVIDE_IFELSE.
Tom Tromey 5821230c 1999-11-23T05:08:42 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument. * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to AM_MISSING_INSTALL_SH. * automake.in (scan_one_configure_file): Reverted previous change.
Tom Tromey 9ae48df8 1999-11-21T21:35:41 Merged from user-dep-gen-branch.
Tom Tromey 1905d6a8 1999-07-13T15:51:39 Work around losing `awk'. Report from Harlan Stenn. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK. * tags.am (ID, TAGS): Use $(AWK), not `awk'.
Alexandre Oliva 2d5c3abe 1999-06-07T03:34:04 * automake.in (dist_header): Avoid changing permissions of files in the source tree, trying a complex `find/chmod' command before falling back to plain chmod. (handle_dist_worker): Do not create directories with mode 777, the find above will take care of that. * m4/init.m4: Set install_sh for find/chmod above.
Tom Tromey c2704136 1999-04-11T22:27:41 * automake.in (handle_dist): Use AMTAR. (initialize_global_constants): Likewise. * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
Tom Tromey 3241365d 1999-03-26T22:54:57 * m4/init.m4: Fixed typo when invoking SHELL.
Tom Tromey af49c4fe 1999-03-26T22:34:03 * Makefile.in: Rebuilt. * Makefile.am: Updated to reflect removal of TAR subst. * automake.texi (Options): Document dist-bzip2. * automake.in (TAR): Removed global. (initialize_global_constants): Changed `dist' to use pipe with gzip; work with non-GNU tar. (handle_dist): Handle non-GNU tar. Don't define TAR. (initialize_global_constants): Added `dist-bzip2' entry. (handle_options): Recognize dist-bzip2 option. (handle_dist): Likewise. * configure: Rebuilt. * configure.in: Don't check for tar. * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute AMTARFLAGS.
Tom Tromey 8ea1f81b 1999-01-22T14:09:37 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
Tom Tromey a150fe6f 1998-10-09T11:10:23 * m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use 3-argument form of AC_DEFINE. * m4/regex.m4 (AM_WITH_REGEX): Use 3-argument form of AC_DEFINE. * m4/ptrdiff.m4 (AM_TYPE_PTRDIFF_T): Use 3-argument form of AC_DEFINE. * m4/protos.m4 (AM_C_PROTOTYPES):Use 3-argument form of AC_DEFINE. * m4/obstack.m4 (AM_FUNC_OBSTACK): Use 3-argument form of AC_DEFINE. * m4/init.m4 (AM_INIT_AUTOMAKE): Use 3-argument form of AC_DEFINE. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Use 3-argument form of AC_DEFINE.
Tom Tromey d4d59682 1998-09-26T19:10:24 Track recent autoconf changes: * m4/Makefile.in: Rebuilt. * m4/Makefile.am (m4data_DATA): Updated for deleted files. * m4/init.m4 (AM_INIT_AUTOMAKE): Use AC_PROG_INSTALL. * m4/mingw.m4: Removed. * m4/cygwin.m4: Removed. * m4/install.m4: Removed. * m4/exeext.m4: Removed. * automake.in (scan_one_configure_file): Don't look for AM_EXEEXT. (check_cygnus): Only mention AC_EXEEXT. (obsolete_macros): Mention AM_PROG_INSTALL, AM_EXEEXT, AM_CYGWIN32, AM_MINGW32. ($seen_prog_install): Changed interpretation; changed all users. (scan_one_configure_file): Don't look for AM_PROG_INSTALL. ($scripts_installed): Removed. (handle_scripts): Use local $scripts_installed. * aclocal.in (obsolete_macros): Added AM_PROG_INSTALL, AM_EXEEXT, AM_CYGWIN32, AM_MINGW32.
Tom Tromey 7eacde0b 1997-10-25T05:08:42 added assembler support
Tom Tromey cf6c8b75 1997-05-10T23:11:04 error if srcdir already configured
Tom Tromey 0877cdef 1997-03-28T00:45:18 added 3rd arg to init function
Tom Tromey 09bb43da 1997-03-19T05:37:03 fixed up "missing" support
Tom Tromey 346c7ccd 1997-03-19T04:58:56 applied missing patches from Francois, verbatim
Tom Tromey c7f27ed5 1996-11-08T22:57:04 Added sanity check macro
Tom Tromey c19b5620 1996-10-06T03:55:55 Many bug fixes