platform/upstream/automake.git
17 years ago* automake.in (%_macro_for_cond): New variable.
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.

17 years ago* doc/automake.texi (Options): `no-dependencies' is similar
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.

17 years ago* automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
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.

17 years ago* lib/depcomp (gcc3): Put dependency extraction flags before the
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.

17 years ago* automake.in ($seen_gettext_intl): New variable.
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.

17 years ago* lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
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.

17 years ago* lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
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.

17 years ago* m4/multi.m4: Non-default multilibs may be cross compilation.
Alexandre Duret-Lutz [Sat, 14 Oct 2006 13:27:35 +0000 (13:27 +0000)]
* m4/multi.m4: Non-default multilibs may be cross compilation.

17 years ago* automake.in: Fix some typos in comments.
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.

17 years ago* automake.in (handle_compile): Use subst, for maintainer-check.
Ralf Wildenhues [Tue, 10 Oct 2006 21:34:11 +0000 (21:34 +0000)]
* automake.in (handle_compile): Use subst, for maintainer-check.

17 years agoFix date.
Ralf Wildenhues [Mon, 9 Oct 2006 20:08:00 +0000 (20:08 +0000)]
Fix date.

17 years agoFor PR automake/505:
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'.

17 years ago* NEWS: Mention that `install-sh' needs executable permissions.
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.

17 years ago* lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
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.

17 years agofix ChangeLog
Alexandre Duret-Lutz [Thu, 31 Aug 2006 06:03:19 +0000 (06:03 +0000)]
fix ChangeLog

17 years ago* lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%): Likewise.
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.

17 years ago* automake.in: Fortran 77 and Fortran should require variables
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.

17 years ago* tests/ext.test: Add extensions f95, F90, F95.
Ralf Wildenhues [Wed, 30 Aug 2006 20:22:57 +0000 (20:22 +0000)]
* tests/ext.test: Add extensions f95, F90, F95.

17 years agoFor PR automake/500:
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.

17 years ago* doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
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.

17 years ago* lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
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.

17 years ago* NEWS: Mark de-ANSI-fication as being obsolete.
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.

17 years ago* Makefile.am, THANKS: Fix typos.
Ralf Wildenhues [Mon, 21 Aug 2006 04:25:35 +0000 (04:25 +0000)]
* Makefile.am, THANKS: Fix typos.

17 years ago* NEWS, configure.ac: Bump version to 1.9c.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 16:58:19 +0000 (16:58 +0000)]
* NEWS, configure.ac: Bump version to 1.9c.

17 years ago* NEWS, configure.ac: Bump version to 1.9b.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 16:38:55 +0000 (16:38 +0000)]
* NEWS, configure.ac: Bump version to 1.9b.

17 years ago* Makefile.am (maintainer-check): Check for mkdir_p in automake.in
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.

17 years ago* m4/mkdirp.m4: Typo in previous patch.
Alexandre Duret-Lutz [Sun, 20 Aug 2006 15:38:59 +0000 (15:38 +0000)]
* m4/mkdirp.m4: Typo in previous patch.

17 years ago* Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
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".

17 years ago* INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
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.

17 years ago* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
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.

17 years ago* lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
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.

17 years ago* doc/automake.texi (Releases): Update statistics until 1.9.6.
Alexandre Duret-Lutz [Sat, 19 Aug 2006 16:18:21 +0000 (16:18 +0000)]
* doc/automake.texi (Releases): Update statistics until 1.9.6.

17 years ago* Makefile.am (maintainer-check): Check for mkdir_p.
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.

17 years ago* Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
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.

17 years ago* NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
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.

17 years ago* doc/automake.texi (Standard Directory Variables): Fix multitable
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.

17 years ago* doc/automake.texi: Fix some typos in the introduction,
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.

17 years ago* doc/automake.texi (Autotools Introduction) New chapter.
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.

17 years ago* doc/automake.texi: Fix some typos.
Ralf Wildenhues [Tue, 15 Aug 2006 06:45:25 +0000 (06:45 +0000)]
* doc/automake.texi: Fix some typos.

17 years ago* automake.in: Register "Unified Parallel C" as language.
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.

17 years ago* doc/automake.texi (Scripts): Fix some errors in previous patch.
Alexandre Duret-Lutz [Fri, 4 Aug 2006 16:27:38 +0000 (16:27 +0000)]
* doc/automake.texi (Scripts): Fix some errors in previous patch.

17 years ago* doc/automake.texi (Scripts): Revamp. Show an example of script
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.

17 years ago* m4/init.m4: Suggest fixing the call to AC_INIT when
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.

17 years ago* automake.in (dist_dirs, fill_dist_dirs): Remove.
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.

17 years ago* doc/automake.texi (Conditionals): Split in two sections, "Usage"
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.

17 years ago* aclocal.in (install_file): Cannot use /dev/null while diffing
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.

17 years ago* automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
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.

18 years agoPropagate fixes to install-sh and depcomp.
Paul Eggert [Sun, 9 Jul 2006 16:10:00 +0000 (16:10 +0000)]
Propagate fixes to install-sh and depcomp.

18 years agoin in -> in
Paul Eggert [Sun, 9 Jul 2006 16:09:43 +0000 (16:09 +0000)]
in in -> in

18 years ago* lib/install-sh: Don't incorrectly claim that this implementation
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.

18 years ago* tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
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>.

18 years ago* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
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.

18 years ago* automake.in (scan_texinfo_file): Fix matching file extension.
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.

18 years ago* automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
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.

18 years ago* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
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.

18 years ago* lib/am/distdir.am: Do not call $(mkdir_p) for each
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.

18 years ago* m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
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.

18 years ago* configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
Ralf Wildenhues [Tue, 6 Jun 2006 20:54:18 +0000 (20:54 +0000)]
* configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
procedure.

18 years ago* tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
Ralf Wildenhues [Tue, 6 Jun 2006 20:49:10 +0000 (20:49 +0000)]
* tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
requires `config.rpath' to be present, and automake now enforces
this.  Test this, but only if the gettext installation works and
is recent enough to provide this diagnosis.
* tests/gettext.test: Provide a dummy `config.rpath' for all
subsequent checks.
* tests/gettext2.test, tests/subcond.test: Likewise.

18 years ago* tests/pr401.test: Replace "perl -i" with sed and mv, for
Ralf Wildenhues [Tue, 6 Jun 2006 20:42:37 +0000 (20:42 +0000)]
* tests/pr401.test: Replace "perl -i" with sed and mv, for
MinGW perl.
* tests/pr401b.test, tests/pr401c.test, tests/python11.test,
* tests/yacc6.test, tests/yacc8.test: Likewise.

18 years ago* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
Ralf Wildenhues [Tue, 6 Jun 2006 20:39:22 +0000 (20:39 +0000)]
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
plain `grep' on the Makefile, as its line length may exceed that
for grep.  Bug report against coreutils by Sam Sirlin.
* THANKS: Update.

18 years ago* doc/automake.texi (Options): Add anchor `tar-formats'.
Ralf Wildenhues [Fri, 26 May 2006 16:47:05 +0000 (16:47 +0000)]
* doc/automake.texi (Options): Add anchor `tar-formats'.

18 years ago* lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
Ralf Wildenhues [Thu, 25 May 2006 10:21:47 +0000 (10:21 +0000)]
* lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
ENOLCK.  Only mention `make -j' when applicable.  Only raise
fatal errors when `make -j' is involved.  Improve error message.

18 years ago* lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
Ralf Wildenhues [Wed, 17 May 2006 02:03:04 +0000 (02:03 +0000)]
* lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
`$configure_in' instead of `configure.in', to preserve
directory component.
* lib/Automake/Configure_ac.pm: Add note that Automake owns
this file.
* lib/Automake/Channels.pm: Likewise.
* lib/Automake/FileUtils.pm: Likewise.
* lib/Automake/Struct.pm: Likewise.

18 years ago* INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
Ralf Wildenhues [Tue, 16 May 2006 18:48:07 +0000 (18:48 +0000)]
* INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
New upstream versions.

18 years ago* doc/automake.texi (Auxiliary Programs): Fix URL to GCC
Ralf Wildenhues [Mon, 15 May 2006 16:01:38 +0000 (16:01 +0000)]
* doc/automake.texi (Auxiliary Programs): Fix URL to GCC
repository, they use SVN now.

18 years ago* lib/gnupload: Add support for savannah.gnu.org and
Ralf Wildenhues [Sat, 13 May 2006 17:53:38 +0000 (17:53 +0000)]
* lib/gnupload: Add support for savannah.gnu.org and
savannah.nongnu.org.

18 years ago* lib/Automake/Channels.pm, lib/Automake/Condition.pm,
Ralf Wildenhues [Sat, 13 May 2006 09:28:36 +0000 (09:28 +0000)]
* lib/Automake/Channels.pm, lib/Automake/Condition.pm,
lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.

18 years ago* lib/install-sh: Sync from Autoconf, as follows:
Paul Eggert [Thu, 11 May 2006 19:52:08 +0000 (19:52 +0000)]
* lib/install-sh: Sync from Autoconf, as follows:
Don't use 'path' to talk about file names,
as per GNU coding standards.  Close a race condition reported by Ralf
Wildenhues and Stepan Kasal.  There is still a race condition
on hosts that predate Posix 1003.1-1992, but we can't help this.
Don't mishandle weird characters like space on pre-Posix hosts.
Invoke mkdir at most once per dir arg on pre-Posix hosts.

18 years ago* tests/missing.test, tests/missing2.test: Do not require
Ralf Wildenhues [Thu, 11 May 2006 17:33:31 +0000 (17:33 +0000)]
* tests/missing.test, tests/missing2.test: Do not require
GNUmake.
* Makefile.am (maintainer-check): Make sure `required=' does not
follow `. ./defs' in the tests.

18 years ago* tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
Ralf Wildenhues [Thu, 11 May 2006 17:29:34 +0000 (17:29 +0000)]
* tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
ac_cv_prog_cc_stdc isn't just used by Automake code in
`configure'.
* tests/ansi6.test, tests/ansi7.test: Likewise.
* tests/ansi9.test: Likewise.  Do not override by setting
$U and $(ANSI2KNR) at `make' time; that will be fragile.
* tests/libobj8.test: Use AC_PROG_CC_STDC.
* tests/subobj3.test: Likewise.  Use `set -e'.

18 years ago* lib/install-sh: Initialize IFS, so field splitting isn't
Ralf Wildenhues [Thu, 11 May 2006 17:28:08 +0000 (17:28 +0000)]
* lib/install-sh: Initialize IFS, so field splitting isn't
turned off later.
* lib/mkinstalldirs: Likewise.

18 years ago* lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
Ralf Wildenhues [Thu, 11 May 2006 17:25:41 +0000 (17:25 +0000)]
* lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
the path of the prerequisite added; IRIX 6.5 make does not add
it, Solaris 2.6 make is inconsistent about adding it.  Fixes
java.test failure.

18 years ago* tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
Ralf Wildenhues [Thu, 11 May 2006 17:20:04 +0000 (17:20 +0000)]
* tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
files in the source tree.  Fixes failures with HP-UX and Tru64
make.

18 years ago* lib/am/ansi2knr.am (ansi2knr): Rename target as...
Ralf Wildenhues [Thu, 11 May 2006 17:16:47 +0000 (17:16 +0000)]
* lib/am/ansi2knr.am (ansi2knr): Rename target as...
(./ansi2knr): ...this, for BSD make.
(%ANSI2KNR-DIR%/ansi2knr): Adjust.

18 years ago* tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
Ralf Wildenhues [Wed, 10 May 2006 21:16:21 +0000 (21:16 +0000)]
* tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
/bin/sh -e issue with failing commands in if clauses.

18 years ago* tests/defs.in (Be Bourne compatible): Update from current
Ralf Wildenhues [Wed, 10 May 2006 21:14:36 +0000 (21:14 +0000)]
* tests/defs.in (Be Bourne compatible): Update from current
Autoconf.

18 years ago* configure.ac: Recommend perl-5.8.2.
Ralf Wildenhues [Wed, 10 May 2006 21:13:22 +0000 (21:13 +0000)]
* configure.ac: Recommend perl-5.8.2.
* tests/automake.test: Do not fail because of buggy Getopt::Long
in perl < 5.8.2.

18 years ago* tests/longlin2.test: Do not use `grep' on Makefile.am:
Ralf Wildenhues [Wed, 10 May 2006 21:01:26 +0000 (21:01 +0000)]
* tests/longlin2.test: Do not use `grep' on Makefile.am:
it has long lines and is thus not a text file; AIX 5.1 grep
fails to scan non-plain patterns from long lines.

18 years ago* tests/overrid.test: Change all regexes for warning messages to
Ralf Wildenhues [Wed, 10 May 2006 20:59:29 +0000 (20:59 +0000)]
* tests/overrid.test: Change all regexes for warning messages to
match after a colon, so that the prepended file names do not
cause false matches.  Tighten overrides regex.  Fix typo
`cleam-am-local' -> `clean-am-local'.

18 years ago* tests/java.test: `configure' uses a trap, so use `(exit 77);
Ralf Wildenhues [Wed, 10 May 2006 20:58:17 +0000 (20:58 +0000)]
* tests/java.test: `configure' uses a trap, so use `(exit 77);
exit 77' to portably set the exit status similar to AS_EXIT.
* tests/fn99.test: propagate nonzero exit status from subshell.

18 years ago* tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
Ralf Wildenhues [Wed, 10 May 2006 20:57:01 +0000 (20:57 +0000)]
* tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
if ``pwd`' contains the string `-p'.  Create the wrapper in a
subdirectory so that `.' in $PATH does not lead to an endless
loop.

18 years ago* lib/depcomp (ia64hp): Rename dependency style to..
Ralf Wildenhues [Wed, 10 May 2006 20:55:34 +0000 (20:55 +0000)]
* lib/depcomp (ia64hp): Rename dependency style to..
(hp2): ..this, as it works with aCC on HPPA, too; adjust
comment.  Report by Olivier Fourdan (PR automake/481).
* THANKS: Update.

18 years ago* tests/aclocal7.test: Add `$sleep's between file touching
Ralf Wildenhues [Wed, 10 May 2006 20:50:53 +0000 (20:50 +0000)]
* tests/aclocal7.test: Add `$sleep's between file touching
and automake resp aclocal+automake invocations, to ensure
they complete with a time stamp strictly later than the touched
file.

18 years ago* lib/missing: Remove superfluous quotes. Replace all uses of
Ralf Wildenhues [Wed, 10 May 2006 20:47:36 +0000 (20:47 +0000)]
* lib/missing: Remove superfluous quotes.  Replace all uses of
`[' by `test', for consistency, and for..
* tests/missing5.test: ..this new test.
* tests/Makefile.am: Update.

18 years agoRegenerate with current CVS Autoconf and Automake.
Ralf Wildenhues [Wed, 10 May 2006 20:46:03 +0000 (20:46 +0000)]
Regenerate with current CVS Autoconf and Automake.

18 years ago* lib/missing (sed_minuso, sed_output): New variables.
Ralf Wildenhues [Wed, 10 May 2006 20:37:36 +0000 (20:37 +0000)]
* lib/missing (sed_minuso, sed_output): New variables.
(autom4te, help2man, makeinfo): Use them.  Unifies detection of
`-o FILE', `--output FILE', `--output=FILE', stricter regex.
Fixes `missing' to detect `--output' for help2man.  Fixes
PR automake/483.  Report by Dennis J. Linse.
(autom4te): Document in `missing --help'.
* THANKS: Update.

18 years agoFix typo: install.sh -> install-sh.
Paul Eggert [Wed, 10 May 2006 19:15:59 +0000 (19:15 +0000)]
Fix typo: install.sh -> install-sh.

18 years ago* doc/automake.texi (Dependency Tracking Evolution): Fix typo.
Ralf Wildenhues [Wed, 26 Apr 2006 06:45:05 +0000 (06:45 +0000)]
* doc/automake.texi (Dependency Tracking Evolution): Fix typo.

18 years ago* lib/install-sh: Simplify the expr implementation of dirname.
Ralf Wildenhues [Tue, 25 Apr 2006 20:13:37 +0000 (20:13 +0000)]
* lib/install-sh: Simplify the expr implementation of dirname.

18 years agoUpdate scriptversion.
Paul Eggert [Mon, 24 Apr 2006 19:58:47 +0000 (19:58 +0000)]
Update scriptversion.

18 years ago* lib/install.sh: Handle --, and diagnose unknown options.
Paul Eggert [Mon, 24 Apr 2006 19:58:01 +0000 (19:58 +0000)]
* lib/install.sh: Handle --, and diagnose unknown options.
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
the other ways that mkdir_p might be set.

18 years ago* m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
Alexandre Duret-Lutz [Fri, 21 Apr 2006 19:02:29 +0000 (19:02 +0000)]
* m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
(AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
* aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
(write_aclocal): Output a check for Autoconf's version in aclocal.m4.
Doing so ensures that users cannot build configure and Makefiles
with two different autoconf versions.  Report from Noah Misch.
* tests/missing4.test: New file.
* tests/Makefile.am (TESTS): Add it.

18 years ago* lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
Ralf Wildenhues [Thu, 20 Apr 2006 16:24:15 +0000 (16:24 +0000)]
* lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
failed, instead of when the last one failed (PR automake/488).
Report from Paul Lunau.
* tests/dejagnu4.test: Update to expose this.
* THANKS: Update.

18 years agoRegenerate.
Ralf Wildenhues [Thu, 20 Apr 2006 16:23:46 +0000 (16:23 +0000)]
Regenerate.

18 years ago* lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
Ralf Wildenhues [Wed, 19 Apr 2006 16:41:32 +0000 (16:41 +0000)]
* lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
TABs as well as spaces.  Fixes PR automake/490.
* tests/check6.test: New test.
* tests/Makefile.am, THANKS: Update.
Report from Diab Jerius <djerius@cfa.harvard.edu>.

18 years ago* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
Ralf Wildenhues [Mon, 17 Apr 2006 12:14:07 +0000 (12:14 +0000)]
* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
description; eliminate the duplicate error message.
* doc/automake.texi (@direntry): `Invoking Automake' is the name
of the usage node for `automake'
* lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
comment.

18 years ago* m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
Ralf Wildenhues [Mon, 17 Apr 2006 08:23:35 +0000 (08:23 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
because it uses `datarootdir'.  Bump copyright year and serial.

18 years ago* NEWS: Fix typo.
Ralf Wildenhues [Mon, 10 Apr 2006 11:16:10 +0000 (11:16 +0000)]
* NEWS: Fix typo.

18 years ago* lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
Alexandre Duret-Lutz [Sun, 9 Apr 2006 13:56:33 +0000 (13:56 +0000)]
* lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
(_gen_varname): Use _hash_values, and return a flag indicating whether
the variable name was generated or reused.
(transform_variable_recursively): Do not redefine variables that
are reused, and try to reuse the variable being transformed.
* tests/check2.test: Make sure TESTS hasn't been redefined.
* tests/check5.test, tests/exeext4.test: Make sure variables have
been reused.
* tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.