Alexandre Duret-Lutz [Thu, 21 Mar 2002 17:10:48 +0000 (17:10 +0000)]
* tests/pr211.test: s/requires/required/, otherwise the test fails
if libtool is not installed.
Alexandre Duret-Lutz [Thu, 21 Mar 2002 11:27:17 +0000 (11:27 +0000)]
* tests/dirname.test: Don't use $SHELL when calling ./configure.
Alexandre Duret-Lutz [Thu, 21 Mar 2002 09:26:11 +0000 (09:26 +0000)]
* tests/dirname.test: Use --quiet to fix failure on installations
using a site script.
Reported by Nicolas Joly.
Alexandre Duret-Lutz [Thu, 21 Mar 2002 09:11:56 +0000 (09:11 +0000)]
* Makefile.am (maintainer-check): Check for misuses of make,
autoconf, automake, aclocal, and perl in the testsuite. Suggest
using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
* tests/confsub.test: Use $AUTOCONF and $MAKE.
* tests/extra5.test, tests/extra6.test, tests/lex5.test,
tests/nobase.test, tests/nodist2.test, tests/pr204.test,
tests/pr224.test, tests/pr287.test, tests/strip.test,
tests/yacc8.test: Use $MAKE.
Alexandre Duret-Lutz [Wed, 20 Mar 2002 22:27:11 +0000 (22:27 +0000)]
Add support for two-dot versions.
* tests/version5.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (version_split, version_compare): New functions.
(version_check): Rewrite using version_split and version_compare.
(process_option_list): Adjust regex.
Richard Boulton [Mon, 18 Mar 2002 11:04:17 +0000 (11:04 +0000)]
Fix for PR automake/306:
* automake.texi (Generalities): Document +=.
(Conditionals): Document limitations of += with conditionals.
Tom Tromey [Mon, 18 Mar 2002 01:37:52 +0000 (01:37 +0000)]
Fix for PR automake/295:
* automake.texi (Invoking Automake): Deprecate --output-dir.
* automake.in (usage): Don't document --output-dir.
(output_directory): Don't initialize.
(parse_arguments): Deprecate --output-dir.
Tom Tromey [Sun, 17 Mar 2002 23:18:00 +0000 (23:18 +0000)]
* m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
Fixes PR automake/304.
Tom Tromey [Sun, 17 Mar 2002 22:56:25 +0000 (22:56 +0000)]
2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dirforbid.test: Workaround for NetBSD sh bug.
Fixes PR automake/305.
Richard Boulton [Mon, 11 Mar 2002 17:24:13 +0000 (17:24 +0000)]
automake.in (check_typos): Allow variables with reserved
suffices (such as _LDFLAGS) and prefixes which aren't
recognised if the variable is defined in configure.ac.
Fixes acsubst.test.
Richard Boulton [Mon, 11 Mar 2002 17:11:42 +0000 (17:11 +0000)]
tests/acsubst.test: New test, by Alexandre Duret-Lutz
tests/acsubst2.test: New test, by Alexandre Duret-Lutz
Forgot to cvs add these before the previous commit.
Richard Boulton [Mon, 11 Mar 2002 17:00:44 +0000 (17:00 +0000)]
tests/acsubst.test: New test, by Alexandre Duret-Lutz
tests/acsubst2.test: New test, by Alexandre Duret-Lutz
tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
Alexandre Duret-Lutz [Mon, 11 Mar 2002 16:43:37 +0000 (16:43 +0000)]
2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
causes failures.
Alexandre Duret-Lutz [Thu, 7 Mar 2002 21:06:29 +0000 (21:06 +0000)]
Fix for PR automake/303:
* automake.in (version_check): Move the error message ...
(process_option_list): ... here, so we can distinguish between
global and local options.
Alexandre Duret-Lutz [Thu, 7 Mar 2002 12:26:41 +0000 (12:26 +0000)]
* tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
Autoconf doesn't complain about Makefile being output twice.
Tom Tromey [Wed, 6 Mar 2002 06:47:51 +0000 (06:47 +0000)]
* configure.in: Upped version to 1.6a.
Tom Tromey [Wed, 6 Mar 2002 06:24:50 +0000 (06:24 +0000)]
updated HACKING with release info
Tom Tromey [Wed, 6 Mar 2002 04:45:32 +0000 (04:45 +0000)]
* configure.in: Released 1.6.
Alexandre Duret-Lutz [Tue, 5 Mar 2002 21:34:15 +0000 (21:34 +0000)]
Fix for PR automake/300:
* tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test: New files.
* tests/Makefile.am (TESTS): Add them.
* automake.in (handle_ltlibraries): Strip nobase_ prefix to
compute the directory.
* lib/am/header-vars.am (install_sh_PROGRAM): New variable.
* lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
(install-%DIR%LIBRARIES): Use it. Honor nobase_.
(uninstall-%DIR%LIBRARIES): Honor nobase_.
* lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
(install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
(uninstall-%DIR%LTLIBRARIES): Honor nobase_.
* lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
(install-%DIR%PROGRAMS): Use it. Honor nobase_.
(uninstall-%DIR%PROGRAMS): Honor nobase_.
See also the fix for nobase.test on 2001-11-09.
Tom Tromey [Tue, 5 Mar 2002 18:52:40 +0000 (18:52 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
Pavel Roskin [Tue, 5 Mar 2002 18:41:39 +0000 (18:41 +0000)]
* tests/yacc8.test: Add a command between "test" and "cd" to
work around a bug in bash-2.05.
Alexandre Duret-Lutz [Tue, 5 Mar 2002 17:09:32 +0000 (17:09 +0000)]
Fix for PR automake/294:
* tests/dirforbid.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (standard_prefix): New hash.
(am_primary_prefixes): Forbid standard_prefixes which are not
explicitely allowed.
* automake.texi (Uniform): Remove FIXME.
Alexandre Duret-Lutz [Tue, 5 Mar 2002 15:20:10 +0000 (15:20 +0000)]
regen
Jim Meyering [Tue, 5 Mar 2002 14:36:36 +0000 (14:36 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Mar 2002 14:34:36 +0000 (14:34 +0000)]
(@common_files): Add config.rpath.
Alexandre Duret-Lutz [Tue, 5 Mar 2002 13:27:06 +0000 (13:27 +0000)]
2002-03-05 Kevin Ryde <user42@zip.com.au>
For PR automake/297:
* lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
after AC_PROG_LEX, since it will try to run it and fail (in autoconf
2.52 at least).
Alexandre Duret-Lutz [Mon, 25 Feb 2002 11:00:35 +0000 (11:00 +0000)]
* automake.in (scan_one_autoconf_file): Declare
LEX_OUTPUT_ROOT and LEXLIB as configure variables when
AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
* lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
definitions. Search %SOURCE% in $(srcdir). Use s||| instead
of s/// in the sed invocation, to support filenames containing
slashes.
* lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
* tests/lex5.test, tests/yacc8.test: New files.
* tests/Makefile.am (TESTS): Add them.
Tom Tromey [Sat, 23 Feb 2002 23:58:41 +0000 (23:58 +0000)]
2002-02-23 Per Bothner <per@bothner.com>
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
`.' in else branch.
Alexandre Duret-Lutz [Fri, 22 Feb 2002 17:31:06 +0000 (17:31 +0000)]
* tests/make.test: Revert the grep logic to work around a bug
in NetBSD sh (see NetBSD Problem Report #11542).
Reported by Patrick Welche.
Tim Van Holder [Wed, 20 Feb 2002 18:10:21 +0000 (18:10 +0000)]
* m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
to try and prevent a non-lisp emacs from starting in interactive
mode.
* automake.texi: Document this change.
Alexandre Duret-Lutz [Tue, 19 Feb 2002 21:04:57 +0000 (21:04 +0000)]
* automake.texi (Macros): Split into ...
(Public Macros, Private Macros): ... these.
Alexandre Duret-Lutz [Tue, 19 Feb 2002 20:18:02 +0000 (20:18 +0000)]
* tests/insthook.test: Use sed instead of "tail +X".
Tom Tromey [Tue, 19 Feb 2002 19:11:50 +0000 (19:11 +0000)]
2002-02-18 Paul Eggert <eggert@twinsun.com>
* lib/depcomp: Don't use "tail +3"; it's not portable to
POSIX 1003.1-2001 hosts.
Jim Meyering [Mon, 18 Feb 2002 15:53:12 +0000 (15:53 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Feb 2002 15:52:46 +0000 (15:52 +0000)]
Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
Jim Meyering [Mon, 18 Feb 2002 15:50:04 +0000 (15:50 +0000)]
Use sed 1q, not `head -n 1'.
The latter is not portable to some old systems.
Alexandre Duret-Lutz [Sun, 17 Feb 2002 22:12:38 +0000 (22:12 +0000)]
* automake.in (handle_lib_objects_cond): Tell the user to put
global linker flags in AM_LDFLAGS, not LDFLAGS.
* automake.texi (General Operation): AC_SUBST'ed variables
override Automake's variables.
(Uniform): More words and @refs.
(Auxiliary Programs) <config.sub, config.guess>: Add URL.
(etags): More explanations about the first example.
(Invoking Automake): Mention autoreconf. More @refs.
(Requirements): Mention AC_CONFIG_FILES.
(Optional): AC_CHECK_TOOL will no longer install config.sub and
config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
(Invoking aclocal): aclocal no longer warn about duplicates.
(Macros) <AM_INIT_AUTOMAKE>: More explanations.
(Extending aclocal): Suggest using the output of
`aclocal --print-ac-dir` to install third-party macros.
(Alternative): Specify ordering of dist_, nodist_, and nobase_
prefixes.
(A Program): Mention scripts. The global LDADD variable is not
meant to hold link flags, suggest using AM_LDFLAGS instead.
(Program and Library Variables) <maude_LIBADD, maude_LDADD>:
_LIBADD and _LDADD are subject to the same restriction wrt to
link flags.
(Program and Library Variables) <maude_DEPENDECIES>: Is also
derived from maude_LIBADD.
(Program variables): Define AM_LDFLAGS.
(Dependencies): Passing the no-dependencies option to
AM_INIT_AUTOMAKE is prefered.
(Scripts): Explain why automake is magically cleaned.
Mention noinst_SCRIPTS and check_SCRIPTS.
(Data): Use dist_ in Automake's example.
(Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
Mention AC_CONFIG_FILES instead of AC_OUTPUT.
Alexandre Duret-Lutz [Thu, 14 Feb 2002 14:26:02 +0000 (14:26 +0000)]
* Makefile.am (FETCHFILES): Add Automake/XFile.pm.
(fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
of asking the maintainer to do it manually.
* lib/config.guess, lib/config.sub, lib/texinfo.tex,
Automake/XFile.pm: New upstream versions.
Tom Tromey [Sat, 2 Feb 2002 07:18:47 +0000 (07:18 +0000)]
* automake.texi (Macros): Warn about upgrading.
Tom Tromey [Fri, 1 Feb 2002 20:40:48 +0000 (20:40 +0000)]
Change per GNU coding standards:
* aclocal.in (parse_arguments): Only mention most recent year in
copyright output.
* automake.in (version): Only mention most recent year.
Alexandre Duret-Lutz [Wed, 30 Jan 2002 08:05:37 +0000 (08:05 +0000)]
* automake.texi (API versioning): New Node.
(Extending): Use $(DESTDIR) in examples.
Akim Demaille [Mon, 28 Jan 2002 10:47:52 +0000 (10:47 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
Respect the --help layout.
Tom Tromey [Mon, 28 Jan 2002 01:47:03 +0000 (01:47 +0000)]
* configure.in: Bumped to 1.5e.
Tom Tromey [Mon, 28 Jan 2002 01:09:29 +0000 (01:09 +0000)]
updated version
Tom Tromey [Mon, 28 Jan 2002 00:40:10 +0000 (00:40 +0000)]
* lib/am/yacc.am: Use `rm -f'.
Tom Tromey [Mon, 28 Jan 2002 00:38:32 +0000 (00:38 +0000)]
* configure.in: Released 1.5d.
Tom Tromey [Mon, 28 Jan 2002 00:33:48 +0000 (00:33 +0000)]
* lib/config.guess: New version from FSF.
Tom Tromey [Mon, 28 Jan 2002 00:31:23 +0000 (00:31 +0000)]
updated NEWS
Tom Tromey [Sun, 27 Jan 2002 21:58:49 +0000 (21:58 +0000)]
* Makefile.am (uninstall-hook): New target.
Akim Demaille [Thu, 24 Jan 2002 17:49:13 +0000 (17:49 +0000)]
* lib/install-sh: Update, from Autoconf.
Alexandre Duret-Lutz [Thu, 24 Jan 2002 11:20:50 +0000 (11:20 +0000)]
typo
Alexandre Duret-Lutz [Thu, 24 Jan 2002 08:17:38 +0000 (08:17 +0000)]
* automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
as AC_CANONICAL_HOST (the former does not require the latter since
Autoconf 2.50).
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
* automake.texi (Requirements): Do not require STRIP to be
defined by the user.
Alexandre Duret-Lutz [Wed, 23 Jan 2002 20:53:28 +0000 (20:53 +0000)]
* lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
* automake.in (handle_languages): Compute and substitute %DEPDIRS%.
* tests/pr224.test: Make sure .deps subdirectories are
erased by distclean.
Tom Tromey [Tue, 22 Jan 2002 18:52:26 +0000 (18:52 +0000)]
* 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 [Tue, 22 Jan 2002 17:16:17 +0000 (17:16 +0000)]
2002-01-22 Pavel Roskin <proski@gnu.org>
* tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
ASFLAGS.
Akim Demaille [Tue, 22 Jan 2002 10:04:39 +0000 (10:04 +0000)]
Update.
Akim Demaille [Tue, 22 Jan 2002 10:02:50 +0000 (10:02 +0000)]
* Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
(fetch): Adjust.
Tom Tromey [Tue, 22 Jan 2002 00:22:53 +0000 (00:22 +0000)]
* Makefile.am (fetch): Don't fetch ansi2knr.
Tom Tromey [Tue, 22 Jan 2002 00:11:27 +0000 (00:11 +0000)]
* automake.texi (Macros): Updated for new variable names.
(Program and Library Variables): Likewise.
(Assembly Support): Likewise.
* m4/as.m4: Use CCAS and CCASFLAGS.
* automake.in (asm): Use CCAS and CCASFLAGS.
Akim Demaille [Mon, 21 Jan 2002 13:55:53 +0000 (13:55 +0000)]
Regen.
Akim Demaille [Mon, 21 Jan 2002 13:55:28 +0000 (13:55 +0000)]
* automake.in (&parse_arguments): Use a more GNUish error message
on wrong options.
Tom Tromey [Sun, 20 Jan 2002 21:37:19 +0000 (21:37 +0000)]
Fix for PR automake/231:
* m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
* m4/depend.m4: Document `GCJ'.
Tom Tromey [Sun, 20 Jan 2002 21:30:21 +0000 (21:30 +0000)]
For PR automake/224:
* tests/Makefile.am (TESTS): Added pr224.test.
* tests/pr224.test: New file.
* lib/depcomp: Fixed computation of depfile.
* lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
* automake.in (handle_single_transform_list): Only reject `..'
component for Java. Put dependencies in directory near object.
(handle_languages): Set DEPBASE. Handle de-ansi-fication.
Alexandre Duret-Lutz [Sun, 20 Jan 2002 21:00:31 +0000 (21:00 +0000)]
* tests/defs: Export AUTOMAKE and ACLOCAL.
Alexandre Duret-Lutz [Sat, 19 Jan 2002 08:36:14 +0000 (08:36 +0000)]
Fix for PR automake/204:
* tests/pr204.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (handle_single_transform_list): Don't distribute
sources derived from non-distributed sources.
Alexandre Duret-Lutz [Fri, 18 Jan 2002 23:08:27 +0000 (23:08 +0000)]
Fix for PR automake/229:
* tests/pr229.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
AC_EMXOS2, and AC_MINGW32.
Tom Tromey [Fri, 18 Jan 2002 22:59:37 +0000 (22:59 +0000)]
* tests/cond7.test: Fix test bug exposed by copyright update.
Tom Tromey [Fri, 18 Jan 2002 22:20:28 +0000 (22:20 +0000)]
For PR automake/288:
* automake.in (lang_c_rewrite): Don't prepend directory to base if
directory is `.'. Also, properly compute de_ansi_files entry in
subdir-objects case
* tests/Makefile.am (TESTS): Added ansi7.test.
* tests/ansi7.test: New file.
Tom Tromey [Fri, 18 Jan 2002 21:50:40 +0000 (21:50 +0000)]
* aclocal.in (parse_arguments): Added 2002.
(write_aclocal): Likewise.
(parse_arguments): Updated my email address.
* automake.in (gen_copyright): Added 2002.
(version): Likewise. Also, changed my email address.
Tom Tromey [Fri, 18 Jan 2002 21:13:37 +0000 (21:13 +0000)]
* configure.in (APIVERSION): Refined definition.
Tom Tromey [Fri, 18 Jan 2002 21:12:55 +0000 (21:12 +0000)]
* missing: Updated.
* lib/missing: Accept versioned aclocal.
* m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
Pavel Roskin [Thu, 17 Jan 2002 23:48:16 +0000 (23:48 +0000)]
Add amversion.m4.
Tom Tromey [Thu, 17 Jan 2002 22:30:25 +0000 (22:30 +0000)]
2002-01-17 Pavel Roskin <proski@gnu.org>
* m4/Makefile.am (m4datadir): Use APIVERSION.
Tom Tromey [Wed, 16 Jan 2002 19:05:47 +0000 (19:05 +0000)]
* 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 [Tue, 15 Jan 2002 23:54:14 +0000 (23:54 +0000)]
* 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 [Tue, 15 Jan 2002 21:19:50 +0000 (21:19 +0000)]
* lib/config.sub, lib/config.guess: New versions from FSF.
Tom Tromey [Mon, 14 Jan 2002 00:29:31 +0000 (00:29 +0000)]
2002-01-13 Tom Tromey <tromey@redhat.com>
For PR automake/288:
* automake.in (lang_c_rewrite): Set value for de_ansi_files entry
to directory.
(lang_c_finish): Likewise. Also, use directory information from
de_ansi_files.
2002-01-13 Kevin Ryde <user42@zip.com.au>
For PR automake/288:
* tests/Makefile.am (TESTS): Added ansi6.test.
* tests/ansi6.test: New file.
Tom Tromey [Sun, 13 Jan 2002 20:33:40 +0000 (20:33 +0000)]
For PR automake/287:
* lib/am/distdir.am (distdir): Use `$$list' trick when looping
over subdirs.
* tests/Makefile.am (TESTS): Added pr287.test.
* tests/pr287.test: New file.
Alexandre Duret-Lutz [Sun, 13 Jan 2002 19:49:22 +0000 (19:49 +0000)]
* lib/am/distdir.am (distdir): Handle subdirectories.
* tests/extra6.test: New file.
* tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz [Sun, 13 Jan 2002 19:37:12 +0000 (19:37 +0000)]
* tests/extra2.test: Run $ACLOCAL.
Jim Meyering [Sat, 12 Jan 2002 19:07:54 +0000 (19:07 +0000)]
.
Alexandre Duret-Lutz [Sat, 12 Jan 2002 18:48:53 +0000 (18:48 +0000)]
* 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 [Sat, 12 Jan 2002 17:38:56 +0000 (17:38 +0000)]
* 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.
Jim Meyering [Sat, 12 Jan 2002 09:25:02 +0000 (09:25 +0000)]
(TESTS): Add libobj11.test.
Jim Meyering [Sat, 12 Jan 2002 09:24:56 +0000 (09:24 +0000)]
.
Jim Meyering [Sat, 12 Jan 2002 09:24:24 +0000 (09:24 +0000)]
(scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
Tom Tromey [Wed, 9 Jan 2002 21:17:42 +0000 (21:17 +0000)]
2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
* lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
Alexandre Duret-Lutz [Wed, 9 Jan 2002 15:30:07 +0000 (15:30 +0000)]
* automake.in (file_contents_internal): Introduce two variables,
$is_rule and $discard_rules to track rules spanning across multiple
paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
where only the first paragraph of such a multi-paragraph rule was
discarded; but it leaves many similar latent bugs (see the FIXMEs).
Alexandre Duret-Lutz [Wed, 9 Jan 2002 10:32:28 +0000 (10:32 +0000)]
* tests/dup3.test: Remove all -I from $ACLOCAL before using it.
* tests/error.test: Use some macro names which are not defined by
Automake itself.
Alexandre Duret-Lutz [Wed, 9 Jan 2002 08:52:09 +0000 (08:52 +0000)]
* 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.
Raja R Harinath [Tue, 8 Jan 2002 21:14:47 +0000 (21:14 +0000)]
(define_configure_variable): Propagate line numbers.
Alexandre Duret-Lutz [Tue, 8 Jan 2002 18:03:36 +0000 (18:03 +0000)]
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
Alexandre Duret-Lutz [Mon, 7 Jan 2002 21:10:26 +0000 (21:10 +0000)]
* configure.in: Run the Autoconf test in a subdirectory, then
erase this directory.
Alexandre Duret-Lutz [Mon, 7 Jan 2002 20:25:24 +0000 (20:25 +0000)]
* 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.
Tom Tromey [Mon, 7 Jan 2002 00:37:50 +0000 (00:37 +0000)]
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 [Sun, 6 Jan 2002 20:38:07 +0000 (20:38 +0000)]
2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
* lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
config.status.
Tom Tromey [Sun, 6 Jan 2002 20:23:30 +0000 (20:23 +0000)]
* automake.texi (Tags): Document new variables.
* lib/am/tags.am (ETAGS): New macro.
(ETAGSFLAGS): Likewise.
(TAGS): Use them.
Tom Tromey [Fri, 4 Jan 2002 18:47:34 +0000 (18:47 +0000)]
* configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
Alexandre Duret-Lutz [Fri, 4 Jan 2002 11:06:15 +0000 (11:06 +0000)]
* automake.in (read_am_file): Thinko in "comment following
trailing backslash" detection.
* tests/comment5.test: Test for this too.
Tom Tromey [Wed, 2 Jan 2002 19:07:31 +0000 (19:07 +0000)]
* automake.texi (Extending): Added index for uninstall-hook.