|
27136dfe
|
2012-03-31T16:39:32
|
|
init: warn against obsolete usage of AM_INIT_AUTOMAKE
Support for the two- and three-arguments invocation forms of the
AM_INIT_AUTOMAKE macro, as in:
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
or:
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, NODEFINE)
will be removed in the next major Automake release (1.13).
Such usages have already been deprecated in the documentation
starting from commit v1.11-2015-ge99690a of 23-02-2012 "docs,
news: document planned removal of obsolete macros and features".
We now start giving runtime warnings as well (in the 'obsolete'
category).
* NEWS: Update.
* m4/init.m4 (AM_INIT_AUTOMAKE): Report the two- and three-arguments
form invocation.
* automake.in (scan_autoconf_traces): Likewise.
* doc/automake.texi: Minor adjustments. Add an @anchor to the
location where it's described how to modernize outdated invocation
of AM_INIT_AUTOMAKE, so that it can be referenced from automake
warning/error messages.
* t/aminit-moreargs-deprecation.sh: New test.
* tests/list-of-tests.mk: Add it.
* tests/ac-output-old.tap: Adjust by calling automake with the
warnings in the 'obsolete' category disabled.
* t/backcompat.test: Likewise.
* t/backcompat3.test: Likewise.
* t/backcompat5.test: Likewise.
* t/backcompat6.test: Likewise.
* t/version.test: Likewise.
* t/version2.test: Likewise.
* t/pr2.test: Modernize style of AC_INIT and AM_INIT_AUTOMAKE
invocations, and use proper m4 quoting.
* t/pr87.test: Likewise.
* t/confsub.test: Likewise.
* t/install2.test: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
37267407
|
2012-05-06T10:15:59
|
|
m4: prepend m4 builtins with "m4_"
The comments in 'lib/autoconf/autoconf.m4' from Autoconf 2.69 read:
We discourage the use of the non prefixed macro names: M4sugar maps
all the builtins into 'm4_'. Autoconf has been converted to these
names too. But users may still depend upon these, so reestablish
them.
Alas, in our init.m4 files, we were still using m4 builtins without
prefixing them with "m4_". Not nice for a package that is one of the
major clients of Autoconf, and an integral part of the GNU Autotools!
Fix the issue.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use 'm4_define' and 'm4_defn' instead
of 'define' and 'defn'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
df306b52
|
2012-04-26T15:01:23
|
|
objc++: initial support for Objective C++
Original thread (dating back to almost three years ago):
<http://lists.gnu.org/archive/html/automake-patches/2009-07/msg00016.html>
* automake.in: Register new language 'objcxx'.
(lang_objcxx_rewrite): New subroutine.
(resolve_linker): Add OBJCXXLINK.
(%_am_macro_for_cond): Add am__fastdepOBJCXX and AC_PROG_OBJCXX.
(%_ac_macro_for_var): Add OBJCXX and OBJCXXFLAGS.
* m4/depend.m4 (_AM_DEPENDENCIES): Add OBJCXX.
* m4/init.m4 (AM_INIT_AUTOMAKE): Add AC_PROG_OBJCXX hook.
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
7a1eb9ff
|
2012-04-02T17:05:42
|
|
AM_PROG_MKDIR_P: deprecate, to be removed in Automake 1.13
Support for the obsolescent 'AM_PROG_MKDIR_P' macro (and its
output variable '$(mkdir_p)') has already been deprecated in
the documentation. It's now time to make its use actively
emit warnings in the 'obsolete' category as well.
* automake.in (scan_autoconf_traces): Warn about 'AM_PROG_MKDIR_P'
obsolescent if that macro is seen.
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Warn about its own obsolescence.
* m4/init.m4: Require 'AC_PROG_MKDIR_P', not 'AM_PROG_MKDIR_P'.
* t/mkdirp-deprecation.sh: New test.
* t/list-of-tests.mk: Add it.
* syntax-check.mk (sc_mkdir_p): Delete this check as obsolete.
(syntax_check_rules): Remove it.
* t/gettext-macros.sh: Ensure the gettext-requiring tests will
call aclocal and automake with the 'obsolete' warnings disabled,
since even recent versions of gettext used the now-deprecated
'AM_PROG_MKDIR_P' m4 macro.
* NEWS: Update.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
f8f22fea
|
2012-02-23T19:36:20
|
|
m4: do not quote `like this', as per GCS recommendation
This patch converts the files comprising the automake's own build
system to the use of new quoting format 'like this' or "like this"
rather than `like this'.
* m4/auxdir.m4, m4/ccstdc.m4, m4/depend.m4, m4/depout.m4, m4/tar.m4,
m4/init.m4, m4/maintainer.m4, m4/make.m4, m4/missing.m4, m4/vala.m4,
m4/mkdirp.m4, m4/sanity.m4, m4/silent.m4, m4/strip.m4: Update and
adjust quoting format throughout, in comments and diagnostic. Some
minor related rewordings and reformatting since we are at it. Bump
serial numbers.
|
|
641a5a4b
|
2012-02-16T10:46:23
|
|
maint: run "make update-copyright"
|
|
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.
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
bb8d3245
|
2003-03-13T21:43:47
|
|
* m4/init.m4: Remove a leftover comment from the pre-1.7 era.
|
|
6c960b13
|
2003-03-13T21:33:59
|
|
Fix for PR automake/386:
* m4/init.m4: Require Autoconf 2.55.
Reported by Owen Taylor.
|
|
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.
|
|
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.
|
|
364483ba
|
2002-12-12T13:41:00
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
and AC_PACKAGE_VERSION.
|
|
f0791481
|
2002-09-16T10:12:22
|
|
* configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
|
|
c456276a
|
2002-09-09T08:27:19
|
|
* m4/init.m4: Execute cygpath in a sub-shell.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
09d3a1cf
|
2002-03-17T23:18:00
|
|
* m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
Fixes PR automake/304.
|
|
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.
|
|
c52e0530
|
2002-01-18T21:12:55
|
|
* missing: Updated.
* lib/missing: Accept versioned aclocal.
* m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
56c8ea4f
|
2001-11-07T18:08:14
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
AC_MSG_ERROR.
Reported by Jim Meyering.
|
|
db020179
|
2001-09-27T09:01:05
|
|
* m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8c00243e
|
2001-07-17T05:40:56
|
|
* m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
* m4/init.m4: Updated callers.
|
|
545fc249
|
2001-05-30T02:34:09
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
|
|
75f1df10
|
2001-05-25T14:50:30
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
|
|
c7e78f73
|
2001-02-21T02:49:25
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
invocation.
|
|
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.
|
|
bd940d21
|
2001-02-13T06:43:43
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
names through autoconf.
|
|
6171edd6
|
2001-02-08T06:32:16
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
|
|
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/.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
9ae48df8
|
1999-11-21T21:35:41
|
|
Merged from user-dep-gen-branch.
|
|
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'.
|
|
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.
|
|
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.
|
|
3241365d
|
1999-03-26T22:54:57
|
|
* m4/init.m4: Fixed typo when invoking SHELL.
|
|
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.
|
|
8ea1f81b
|
1999-01-22T14:09:37
|
|
* m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
|
|
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.
|
|
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.
|
|
7eacde0b
|
1997-10-25T05:08:42
|
|
added assembler support
|
|
cf6c8b75
|
1997-05-10T23:11:04
|
|
error if srcdir already configured
|
|
0877cdef
|
1997-03-28T00:45:18
|
|
added 3rd arg to init function
|
|
09bb43da
|
1997-03-19T05:37:03
|
|
fixed up "missing" support
|
|
346c7ccd
|
1997-03-19T04:58:56
|
|
applied missing patches from Francois, verbatim
|
|
c7f27ed5
|
1996-11-08T22:57:04
|
|
Added sanity check macro
|
|
c19b5620
|
1996-10-06T03:55:55
|
|
Many bug fixes
|