Ralf Wildenhues [Sat, 7 Jul 2007 11:23:29 +0000 (11:23 +0000)]
* COPYING, lib/COPYING: Update to GPLv3. All uses changed.
* NEWS: Update.
Ralf Wildenhues [Sat, 7 Jul 2007 10:57:24 +0000 (10:57 +0000)]
Ignore stamp-vti and version.texi.
Ralf Wildenhues [Sat, 30 Jun 2007 09:23:12 +0000 (09:23 +0000)]
* lib/gnupload: Fix shell portability issues with for loops.
Report by Karl Berry.
Ralf Wildenhues [Sat, 23 Jun 2007 08:30:46 +0000 (08:30 +0000)]
* aclocal.in (write_aclocal): Warn about autoconf
incompatibilities instead of making them fatal.
* tests/missing4.test: Adjust.
* NEWS: Update.
Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
Ralf Wildenhues [Thu, 3 May 2007 17:57:41 +0000 (17:57 +0000)]
* doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
* automake.in: Likewise.
(am_primary_prefixes): Keep the intentional typo there.
Eric Blake [Wed, 25 Apr 2007 17:55:15 +0000 (17:55 +0000)]
* doc/stamp-vti: Remove generated file from revision control.
* doc/version.texi: Likewise.
Ralf Wildenhues [Mon, 23 Apr 2007 16:36:58 +0000 (16:36 +0000)]
* doc/automake.texi (Python): Fix typo.
Ralf Wildenhues [Thu, 29 Mar 2007 23:26:48 +0000 (23:26 +0000)]
* lib/mdate-sh (ls_command): Use -n when available to avoid
problems with spaces in user/group names.
* tests/mdate5.test: New test.
* tests/Makefile.am: Adjust.
Ralf Wildenhues [Thu, 29 Mar 2007 23:02:05 +0000 (23:02 +0000)]
* automake.in (handle_tests): Rewrite XFAIL_TESTS just like
TESTS, appending $(EXEEXT), so that matching continues to work
on w32.
* NEWS: Mention this.
* doc/automake.texi (EXEEXT, Extending): Update.
* tests/check7.test: New test.
* tests/Makefile.am: Adjust.
Bug report by Ed Hartnett.
Ralf Wildenhues [Thu, 29 Mar 2007 22:40:41 +0000 (22:40 +0000)]
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
the whole file, but use sed to reduce the line length.
Fixes 1.10 regression. Report by David Byron.
* THANKS, NEWS: Update.
Ralf Wildenhues [Wed, 28 Mar 2007 23:08:06 +0000 (23:08 +0000)]
* lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
one. Fixes failure to catch dependencies with libtool and xlc
in case of enable_static=no (which is the default on AIX without
runtimelinking).
* tests/depcomp7.test: Run test once with --disable-shared and
once with --disable-static, to expose failure systematically.
* NEWS: Update.
Ralf Wildenhues [Wed, 28 Mar 2007 22:44:17 +0000 (22:44 +0000)]
* automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
* tests/pr401.test: Update to expose the error.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
Ralf Wildenhues [Wed, 28 Mar 2007 22:27:14 +0000 (22:27 +0000)]
* automake.in (scan_autoconf_config_files): Warn about leading
`./' in config file names.
* tests/canon-name.test: New test.
* tests/Makefile.am: Update.
* THANKS: Update.
Suggestion by Claudio Fontana.
Ralf Wildenhues [Wed, 28 Mar 2007 22:12:57 +0000 (22:12 +0000)]
* tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
as documented in the manual. Fixes parallel make failure.
Report by Dieter Jurzitza.
* THANKS: Update.
Ralf Wildenhues [Wed, 28 Mar 2007 22:04:12 +0000 (22:04 +0000)]
* ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
Ralf Wildenhues [Wed, 28 Mar 2007 21:57:54 +0000 (21:57 +0000)]
* TODO: Kill a couple of outdated items.
* tests/exdir3.test: New test.
* tests/Makefile.am: Update.
Ralf Wildenhues [Wed, 28 Mar 2007 21:48:37 +0000 (21:48 +0000)]
Regenerate with Autoconf 2.61.
Ralf Wildenhues [Sat, 27 Jan 2007 16:32:12 +0000 (16:32 +0000)]
* doc/automake.texi (Multiple Outputs): Fix the multiple outputs
with locking example.
Ralf Wildenhues [Sat, 27 Jan 2007 16:17:54 +0000 (16:17 +0000)]
* doc/automake.texi (Subpackages): Fix ambiguous wording.
Report and suggestions by Reuben Thomas.
* THANKS: Update.
Ralf Wildenhues [Wed, 10 Jan 2007 17:57:24 +0000 (17:57 +0000)]
* tests/defs.in (is_newest): Cope with multiple newer files.
* NEWS: mention `install-sh -C'.
Paul Eggert [Tue, 26 Dec 2006 16:20:52 +0000 (16:20 +0000)]
Fix typo in previous changelog entry.
Paul Eggert [Tue, 26 Dec 2006 05:20:52 +0000 (05:20 +0000)]
* lib/install-sh (initialize_posix_glob): New var.
Use it instead of setting posix_glob inline.
(posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
(cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
of Akim's patch.
Use LC_ALL before invoking 'ls' when we depend on its output format.
Don't use awk; just use the shell's builtin features.
Clean up $dsttmp -C detects no installation is needed.
* tests/defs.in (is_newest): Renamed from is_younger; the new
name is more accurate. All uses changed.
(old_timestamp): New var.
* tests/instsh2.test: Rewrite to avoid the need for sleeping.
2006-12-25 Akim Demaille <akim@epita.fr>
* lib/install-sh: Implement install-sh -C.
(This patch is the remaining part of the patch proposed in
<http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
(usage): Document it.
(copy_on_change): New var.
* tests/defs.in (is_younger): New function.
* tests/instsh2.test: Check install-sh -C.
Paul Eggert [Mon, 25 Dec 2006 06:30:28 +0000 (06:30 +0000)]
* lib/install-sh: Fix typo in previous patch for handling --.
Use more-consistent style for ';;'.
Prefer || to if-then-else-:.
* tests/install2.test: Rework to avoid set -e problems.
2006-12-24 Akim Demaille <akim@epita.fr>
Simplify install-sh and its test. This shouldn't change any behavior.
(This patch is a subset of the patch proposed in
<http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
* lib/install-sh (usage): Use usual GNU style.
(dstarg): Rename as...
(dst_arg): this for consistency.
Simplify quoting of assignments.
Sort them.
Don't use '\' to continue commands: && suffices.
Remove useless "continue" in the argument processing,
and factor the shifts.
* tests/defs.in: Some improvements to make it set -e clean.
Use the traditional ":" trick to protect loops from being empty.
Remove an empty straightforward piece of code prepared to define
additional variables.
Use test instead of [], for consistency.
* tests/install2.test: Use set -e, to simplify code.
Ralf Wildenhues [Tue, 19 Dec 2006 23:52:55 +0000 (23:52 +0000)]
* doc/automake.texi: Fix typo.
Ralf Wildenhues [Sun, 12 Nov 2006 18:02:41 +0000 (18:02 +0000)]
* doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
amhello, to prevent gmake from invoking make with MAKEFLAGS
it does not understand.
Report by Patrick Welche.
Ralf Wildenhues [Sun, 12 Nov 2006 09:49:50 +0000 (09:49 +0000)]
* lib/gnupload: Revert last change. Add pointer to upload
instructions of the GNU Maintenance Instructions.
Suggestion by Karl Berry.
Ralf Wildenhues [Wed, 8 Nov 2006 18:58:16 +0000 (18:58 +0000)]
* lib/gnupload: Add missing 'gnu' to example URL.
Report by Karl Berry.
Ralf Wildenhues [Sat, 28 Oct 2006 09:51:58 +0000 (09:51 +0000)]
* doc/automake.texi (amhello Explained): autoconf creates
configure, not configure.ac.
* THANKS: Update.
Ralf Wildenhues [Fri, 20 Oct 2006 17:17:57 +0000 (17:17 +0000)]
* doc/automake.texi (Dist, Dependency Tracking Evolution):
Fix some typos.
* lib/Automake/Condition.pm: Likewise.
* lib/Automake/DisjConditions.pm: Likewise.
* lib/Automake/ItemDef.pm: Likewise.
* lib/Automake/Options.pm: Likewise.
* lib/Automake/Rule.pm: Likewise.
* lib/Automake/VarDef.pm: Likewise.
* lib/Automake/Variable.pm: Likewise.
* lib/Automake/Wrap.pm: Likewise.
* lib/Automake/XFile.pm: Likewise.
* m4/substnot.m4: Likewise.
Alexandre Duret-Lutz [Mon, 16 Oct 2006 19:20:04 +0000 (19:20 +0000)]
* lib/gnupload: Update to version 1.1 of directive file.
Ralf Wildenhues [Mon, 16 Oct 2006 05:24:17 +0000 (05:24 +0000)]
* lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
right before the expanded source file name.
* automake.in (%sourceflags): New global: per-extension flag
to denote that the next compiler argument is the source file.
(scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
%sourceflags accordingly.
(handle_single_transform): Store source file extension in...
(%lang_specific_files): ...this and...
(handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
* doc/automake.texi (Optional): Add AC_FC_SRCEXT.
(Fortran 9x Support): Update.
* tests/fort2.test: New test.
* tests/Makefile.am: Adjust.
* NEWS, THANKS: Update.
Suggested by Steven G. Johnson.
Ralf Wildenhues [Mon, 16 Oct 2006 05:13:02 +0000 (05:13 +0000)]
For PR automake/480.
* automake.in (lang_f77_rewrite, lang_fc_rewrite)
(lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
return `lang_sub_obj' to support subdir-object mode for the
Fortran dialects.
* tests/fort4.test, tests/fort5.test: New tests.
* tests/Makefile.am: Update.
* NEWS, THANKS: Update.
Report by Davyd Madeley and Shannon L. Brown.
Ralf Wildenhues [Mon, 16 Oct 2006 05:00:33 +0000 (05:00 +0000)]
* lib/am/header-vars.am (pkglibexecdir): New variable.
* automake.in (%standard_prefix): Add it.
* doc/automake.texi (Uniform): Document it.
(Program Sources): Adjust.
* NEWS: Update.
* tests/libexec.test: New test.
* tests/Makefile.am: Update.
Suggested by Eric Blake.
Alexandre Duret-Lutz [Sun, 15 Oct 2006 19:21:50 +0000 (19:21 +0000)]
* configure.ac, NEWS: Bump version to 1.10a.
Alexandre Duret-Lutz [Sun, 15 Oct 2006 19:06:52 +0000 (19:06 +0000)]
* configure.ac, NEWS: Bump version to 1.10.
* doc/automake.texi (Releases): Update for 1.10.
Alexandre Duret-Lutz [Sun, 15 Oct 2006 17:04:16 +0000 (17:04 +0000)]
* lib/config.sub, lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz [Sun, 15 Oct 2006 17:02:34 +0000 (17:02 +0000)]
* lib/am/depend2.am: Typo.
* lib/depcomp (scriptversion): Bump, to account for recent changes.
Alexandre Duret-Lutz [Sun, 15 Oct 2006 16:49:57 +0000 (16:49 +0000)]
* doc/automake.texi (Examples): Introduce the example, and point
to Hello World.
(Hello): Remove this obsolete node.
Ralf Wildenhues [Sun, 15 Oct 2006 16:37:22 +0000 (16:37 +0000)]
For PR automake/507:
* lib/am/distdir.am (distdir): filename-length-max check is not
done in sub-packages.
* doc/automake.texi (Options): Document this.
* tests/fn99subdir.test: New test.
* tests/Makefile.am: Update.
* THANKS: Update.
Ralf Wildenhues [Sat, 14 Oct 2006 17:51:39 +0000 (17:51 +0000)]
* doc/automake.texi (Third-Party Makefiles): Fix typo.
* THANKS: Update.
Ralf Wildenhues [Sat, 14 Oct 2006 17:40:25 +0000 (17:40 +0000)]
* aclocal.in (write_aclocal): Improve warning for mismatched
Autoconf version.
Ralf Wildenhues [Sat, 14 Oct 2006 17:33:27 +0000 (17:33 +0000)]
* automake.in: For preprocessed assembler, add `$(DEFS)
$(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
* doc/automake.texi (Assembly Support): Update.
* NEWS: Update.
Suggested by Thomas Schwinge and Ralf Corsepius.
Ralf Wildenhues [Sat, 14 Oct 2006 17:26:43 +0000 (17:26 +0000)]
For PR automake/492.
* automake.in (output_flag): Set to `-o' for Assembler and
preprocessed Assembler, assuming that all understand `-c -o'.
* THANKS, NEWS: Update.
* tests/subobj10.test: New test.
* tests/Makefile.am: Update.
Report by Thomas Schwinge.
Ralf Wildenhues [Sat, 14 Oct 2006 17:20:36 +0000 (17:20 +0000)]
* automake.in (%_macro_for_cond): New variable.
(cond_stack_if): Use it for better error message about
missing dependency tracking conditionals.
* tests/asm2.test: New test, modeled after asm.test.
* tests/Makefile.am: Adjust.
Report by Ralf Corsepius.
Ralf Wildenhues [Sat, 14 Oct 2006 17:17:22 +0000 (17:17 +0000)]
* doc/automake.texi (Options): `no-dependencies' is similar
to `--ignore-deps', not `--include-deps'.
* m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
_AM_DEPENDENCIES.
* tests/nodep2.test: New test.
* tests/Makefile.am: Adjust.
Ralf Wildenhues [Sat, 14 Oct 2006 17:12:50 +0000 (17:12 +0000)]
* automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
LIBOBJDIR, then we should not add a DEPDIR prefix.
* tests/pr401.test: Update test.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
Report by Jim Meyering and Eric Blake.
Ralf Wildenhues [Sat, 14 Oct 2006 17:10:39 +0000 (17:10 +0000)]
* lib/depcomp (gcc3): Put dependency extraction flags before the
`-c' flag, so they appear at the same position as in %FASTDEP%
mode in depend2.am. Fixes build failure for FreeBSD's c89,
which ignores unknown options only after the first non-option.
Bug report against M4 by Nelson H. F. Beebe.
Ralf Wildenhues [Sat, 14 Oct 2006 17:02:13 +0000 (17:02 +0000)]
* automake.in ($seen_gettext_intl): New variable.
(handle_gettext): Consider it.
(scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
Set $seen_gettext_intl when it is seen.
* doc/automake.texi (gettext, Optional): Update.
* tests/gettext3.test: New test.
* tests/Makefile.am: Update.
Alexandre Duret-Lutz [Sat, 14 Oct 2006 13:37:32 +0000 (13:37 +0000)]
* lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory. In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system. We hope this is rare in practice, but it's clearly worth
fixing. Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.
Alexandre Duret-Lutz [Sat, 14 Oct 2006 13:36:40 +0000 (13:36 +0000)]
* lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory. In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system. We hope this is rare in practice, but it's clearly worth
fixing. Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.
Alexandre Duret-Lutz [Sat, 14 Oct 2006 13:27:35 +0000 (13:27 +0000)]
* m4/multi.m4: Non-default multilibs may be cross compilation.
Ralf Wildenhues [Sat, 14 Oct 2006 09:33:34 +0000 (09:33 +0000)]
* automake.in: Fix some typos in comments.
* lib/Automake/Variable.pm: Likewise.
Ralf Wildenhues [Tue, 10 Oct 2006 21:34:11 +0000 (21:34 +0000)]
* automake.in (handle_compile): Use subst, for maintainer-check.
Ralf Wildenhues [Mon, 9 Oct 2006 20:08:00 +0000 (20:08 +0000)]
Fix date.
Ralf Wildenhues [Mon, 9 Oct 2006 19:54:19 +0000 (19:54 +0000)]
For PR automake/505:
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
Fix typo: `config.status.lineno', not `configure.status.lineno'.
Ralf Wildenhues [Tue, 5 Sep 2006 18:58:16 +0000 (18:58 +0000)]
* NEWS: Mention that `install-sh' needs executable permissions.
* tests/nobase.test: Adjust.
Report by Patrick Welche.
Ralf Wildenhues [Fri, 1 Sep 2006 16:10:21 +0000 (16:10 +0000)]
* lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
against currently running test for the first and last element
of $(TESTS): add spacing so Solaris make does VPATH expansion
on these words, too.
* tests/check6.test: Update.
Alexandre Duret-Lutz [Thu, 31 Aug 2006 06:03:19 +0000 (06:03 +0000)]
fix ChangeLog
Paul Eggert [Thu, 31 Aug 2006 04:49:24 +0000 (04:49 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%): Likewise.
Abbreviate output a bit by not bothering to quote the .Po file
name (the quoting doesn't suffice in general anyway), and by not
bothering to remove junk .Tpo files (as they'll be removed later).
This also lets 'make' run faster by avoiding a subshell.
Ralf Wildenhues [Wed, 30 Aug 2006 20:35:56 +0000 (20:35 +0000)]
* automake.in: Fortran 77 and Fortran should require variables
F77 resp. FC to be defined, and suggest the respective Autoconf
macros otherwise.
* tests/fort1.test: New test.
* tests/Makefile.am: Update.
Ralf Wildenhues [Wed, 30 Aug 2006 20:22:57 +0000 (20:22 +0000)]
* tests/ext.test: Add extensions f95, F90, F95.
Alexandre Duret-Lutz [Wed, 30 Aug 2006 18:50:38 +0000 (18:50 +0000)]
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.
Ralf Wildenhues [Mon, 28 Aug 2006 16:04:24 +0000 (16:04 +0000)]
* doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
* NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
Alexandre Duret-Lutz [Wed, 23 Aug 2006 19:20:25 +0000 (19:20 +0000)]
* lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
is enabled by default with gnu and gnits strictness.
Report from Bruno Haible.
Alexandre Duret-Lutz [Tue, 22 Aug 2006 10:04:52 +0000 (10:04 +0000)]
* NEWS: Mark de-ANSI-fication as being obsolete.
* doc/automake.texi: Likewise.
Ralf Wildenhues [Mon, 21 Aug 2006 04:25:35 +0000 (04:25 +0000)]
* Makefile.am, THANKS: Fix typos.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 16:58:19 +0000 (16:58 +0000)]
* NEWS, configure.ac: Bump version to 1.9c.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 16:38:55 +0000 (16:38 +0000)]
* NEWS, configure.ac: Bump version to 1.9b.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 15:47:07 +0000 (15:47 +0000)]
* Makefile.am (maintainer-check): Check for mkdir_p in automake.in
too.
* automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 15:38:59 +0000 (15:38 +0000)]
* m4/mkdirp.m4: Typo in previous patch.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 14:54:33 +0000 (14:54 +0000)]
* Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
check so it doesn't complain about the '@ 's in node "Standard
Directory Variables".
Alexandre Duret-Lutz [Sun, 20 Aug 2006 14:32:53 +0000 (14:32 +0000)]
* INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
upstream versions.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 14:28:43 +0000 (14:28 +0000)]
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
$(top_builddir)/ if it is a relative directory.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 18:31:51 +0000 (18:31 +0000)]
* lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
* automake.in (handle_languages): Do not define MORE-THAN-ONE.
(yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
require ylwrap.
* doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
documentation of ylwrap.
* tests/lex.test, tests/lex4.test, tests/mmodely.test,
tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
tests/yaccpp.test: Adjust.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 16:18:21 +0000 (16:18 +0000)]
* doc/automake.texi (Releases): Update statistics until 1.9.6.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 15:55:53 +0000 (15:55 +0000)]
* Makefile.am (maintainer-check): Check for mkdir_p.
* automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
* 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/ltlib.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 mkdir_p.
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
mkdir_p without defining MKDIR_P.
* tests/distdir.test, tests/instman.test, tests/txinfo21.test:
Adjust.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 15:07:40 +0000 (15:07 +0000)]
* Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
* configure.ac (ACLOCAL): Use --acdir=m4 in addition to
-I m4. Running aclocal during the rebuild rules will fail
if the default acdir does not exist.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 13:58:03 +0000 (13:58 +0000)]
* 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 [Sat, 19 Aug 2006 13:53:52 +0000 (13:53 +0000)]
* doc/automake.texi (Standard Directory Variables): Fix multitable
width.
(Autotools Introduction): Fix @uref usage.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 13:35:39 +0000 (13:35 +0000)]
* doc/automake.texi: Fix some typos in the introduction,
adjust some spacing; spell `GNU Build System' consistently.
(menu): Unify node naming.
(Standard Directory Variables): Clarify that this list is not
exhaustive.
(DESTDIR): Fix example.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 13:28:25 +0000 (13:28 +0000)]
* doc/automake.texi (Autotools Introduction) New chapter.
Thanks to Ben Pfaff and Ralf Wildenhues for comments.
(Auxiliary Programs, Install, Dist, Third-Party Makefiles)
(distcleancheck): More cross references.
* doc/amhello/configure.ac, doc/amhello/README,
doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
doc/amhello/src/main.c: New files.
* doc/Makefile.am (dist_noinst_DATA): Distribute them.
($(srcdir)/amhello-1.0.tar.gz): New rule.
(dist_doc_DATA): Install amhello-1.0.tar.gz.
* Makefile.am (SUBDIRS): Update comment.
Ralf Wildenhues [Tue, 15 Aug 2006 06:45:25 +0000 (06:45 +0000)]
* doc/automake.texi: Fix some typos.
Alexandre Duret-Lutz [Mon, 14 Aug 2006 20:38:43 +0000 (20:38 +0000)]
* automake.in: Register "Unified Parallel C" as language.
(lang_upc_rewrite): New function.
(resolve_linker): Consider UPCLINK.
* lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
AM_PROG_UPC for UPC and UPCFLAGS.
* m4/upc.m4: New file.
* m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
* m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
* doc/automake.texi (Unified Parallel C Support): New node.
(Public macros): Mention AM_PROG_UPC.
(Program and Library Variables, Flag Variables Ordering):
Mention UPCFLAGS.
* tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
* tests/Makefile.am (TESTS): Add them.
* tests/ext.test: Also test upc files.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 16:27:38 +0000 (16:27 +0000)]
* doc/automake.texi (Scripts): Fix some errors in previous patch.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 16:14:40 +0000 (16:14 +0000)]
* doc/automake.texi (Scripts): Revamp. Show an example of script
built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
other built scripts.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 14:53:32 +0000 (14:53 +0000)]
* 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.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 12:54:30 +0000 (12:54 +0000)]
* automake.in (dist_dirs, fill_dist_dirs): Remove.
* lib/am/distdir.am (DISTDIRS): Remove.
* tests/distdir.test, tests/pr2.test: Do not grep, use
`make distdir' instead.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 10:23:14 +0000 (10:23 +0000)]
* doc/automake.texi (Conditionals): Split in two sections, "Usage"
and "Portability", and add a third one, "Limits" to explain how
conditional definitions inside multi-lines definitions can be
handled.
* automake.in (handle_options): Do not assume that
AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
definitions of AUTOMAKE_OPTIONS.
Report from Bas Wijnen.
* tests/amopt.test: New test.
* tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 08:42:54 +0000 (08:42 +0000)]
* aclocal.in (install_file): Cannot use /dev/null while diffing
new files, because Tru64's diff do not handle /dev/null. So
create an empty destination file before running diff on a new
file, and erase it afterward. Fall back to using /dev/null only
if we cannot create this file.
Report and initial patch from Ralf Wildenhues.
(unlink_tmp): New function.
* test/acloca18.test: Make sure the empty file has been erased.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 06:08:58 +0000 (06:08 +0000)]
* automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
to help BSD Make find the files also in a VPATH build.
Also return the same path, possibly prefixed, for correct
depdir computation.
* tests/pr401.test: Update to expose wrong depdir computation.
Rewrite to not use the same file name for library object and
main program.
* tests/pr401b.test, tests/pr401c.test: Likewise.
Paul Eggert [Sun, 9 Jul 2006 16:10:00 +0000 (16:10 +0000)]
Propagate fixes to install-sh and depcomp.
Paul Eggert [Sun, 9 Jul 2006 16:09:43 +0000 (16:09 +0000)]
in in -> in
Paul Eggert [Sun, 9 Jul 2006 16:09:31 +0000 (16:09 +0000)]
* lib/install-sh: Don't incorrectly claim that this implementation
can install only one file at a time.
(doit_exec): New var, for using 'exec' if possible, to save a process.
(test_mode, intermediate_mode): Remove.
(mode): Check for IFS or globbing characters in mode, since they might
cause weird behavior with the other changes below. All later uses
of '"$mode"' changed to '$mode', since the ""s no longer matter.
Use octal modes if the invoker specifies an octal mode, and use
octal umask values if 'umask' outputs octal values; this is more
likely to work with older operating systems since Automake uses
octal modes, and also works around a bug with HP-UX 11.23
'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
(cp_umask, mkdir_umask): New variables, to avoid
temporarily creating files or directories with too-permissive modes.
(mkdir_mode): Use the FreeBSD 'install' method for computing modes of
intermediate directories; this is safer.
(posix_mkdir): Also test mkdir -p -m ... by making a directory in
/tmp and checking the resulting mode with 'ls', to catch a bug in
HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
Use ':' for true, not 'true'; this is a bit faster on
traditional implementations.
Ralf Wildenhues [Thu, 6 Jul 2006 18:13:01 +0000 (18:13 +0000)]
* tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
for consistency with the recommendation prompted by this report:
<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
Ralf Wildenhues [Sat, 24 Jun 2006 05:35:44 +0000 (05:35 +0000)]
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
`'$(MKDIR_P)'', so that it retains the per-directory value
computed by config.status.
* lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
a changed directory. Bugs reported by Ralf Menzel.
* THANKS: Update.
Ralf Wildenhues [Sat, 24 Jun 2006 05:31:55 +0000 (05:31 +0000)]
* automake.in (scan_texinfo_file): Fix matching file extension.
* tests/txinfo31.test: New test.
* tests/Makefile.am: Update.
Alexandre Duret-Lutz [Wed, 7 Jun 2006 06:01:22 +0000 (06:01 +0000)]
* automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
Alexandre Duret-Lutz [Wed, 7 Jun 2006 05:38:29 +0000 (05:38 +0000)]
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
Ralf Wildenhues [Tue, 6 Jun 2006 21:10:25 +0000 (21:10 +0000)]
* lib/am/distdir.am: Do not call $(mkdir_p) for each
distributed file, collect them and create them in one run,
and strip $(srcdir) and $(top_srcdir) all at once.
Fix some comment typos.
Ralf Wildenhues [Tue, 6 Jun 2006 20:55:44 +0000 (20:55 +0000)]
* m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
7.4.4m may omit the first included header dependency information
with `-MDupdate'. Refine test to catch this.