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.
Ralf Wildenhues [Tue, 6 Jun 2006 20:54:18 +0000 (20:54 +0000)]
* configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
procedure.
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.
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.
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.
Ralf Wildenhues [Fri, 26 May 2006 16:47:05 +0000 (16:47 +0000)]
* doc/automake.texi (Options): Add anchor `tar-formats'.
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.
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.
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.
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.
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.
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.
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.
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.
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'.
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.
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.
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.
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.
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.
Ralf Wildenhues [Wed, 10 May 2006 21:14:36 +0000 (21:14 +0000)]
* tests/defs.in (Be Bourne compatible): Update from current
Autoconf.
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.
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.
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'.
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.
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.
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.
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.
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.
Ralf Wildenhues [Wed, 10 May 2006 20:46:03 +0000 (20:46 +0000)]
Regenerate with current CVS Autoconf and Automake.
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.
Paul Eggert [Wed, 10 May 2006 19:15:59 +0000 (19:15 +0000)]
Fix typo: install.sh -> install-sh.
Ralf Wildenhues [Wed, 26 Apr 2006 06:45:05 +0000 (06:45 +0000)]
* doc/automake.texi (Dependency Tracking Evolution): Fix typo.
Ralf Wildenhues [Tue, 25 Apr 2006 20:13:37 +0000 (20:13 +0000)]
* lib/install-sh: Simplify the expr implementation of dirname.
Paul Eggert [Mon, 24 Apr 2006 19:58:47 +0000 (19:58 +0000)]
Update scriptversion.
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.
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.
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.
Ralf Wildenhues [Thu, 20 Apr 2006 16:23:46 +0000 (16:23 +0000)]
Regenerate.
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>.
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.
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.
Ralf Wildenhues [Mon, 10 Apr 2006 11:16:10 +0000 (11:16 +0000)]
* NEWS: Fix typo.
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.
Alexandre Duret-Lutz [Sun, 9 Apr 2006 07:46:56 +0000 (07:46 +0000)]
* automake.in (%ignored_configure_vars): New variable.
(scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
%ignored_configure_vars.
(define_configure_variable): Declare ignored configure variables
as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
w.r.t. VAR_SILENT.
* m4/substign.m4: New file.
* m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
* m4/cond.m4: _AM_SUBST_IGNORE $1_TRUE and $1_FALSE (PR automake/477).
* m4/depend.m4: _AM_SUBST_IGNORE AMDEPBACKSLASH.
* m4/protos.m4: _AM_SUBST_IGNORE ANSI2KNR.
* tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
* tests/amsubst.test: New file.
* tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz [Sun, 9 Apr 2006 07:18:33 +0000 (07:18 +0000)]
* automake.in (handle_single_transform): Preserve directories in
direct suffix rules.
* tests/suffix12.test: New test.
* tests/Makefile.am (TESTS): Add it.
Report from John Ratliff.
Alexandre Duret-Lutz [Sun, 26 Mar 2006 07:52:08 +0000 (07:52 +0000)]
* aclocal.in ($m4_include_rx): Do not recognize `include', and
adjust scan_configure_dep and scan_file accordingly.
(scan_configure_dep): Do not search white lines.
(scan_file): Strip comments from current line after checking
for serial, so that aclocal does not trip on `m4_include' macros
in comments. Report from Mike Frysinger.
* tests/acloca21.test: New file.
* tests/Makefile.am (TESTS): Add it.
Ralf Wildenhues [Fri, 24 Mar 2006 18:14:43 +0000 (18:14 +0000)]
Update copyright year
Ralf Wildenhues [Fri, 24 Mar 2006 18:13:32 +0000 (18:13 +0000)]
* tests/mmodely.test: Fix the test on systems with no lex.
Ralf Wildenhues [Thu, 23 Mar 2006 06:35:15 +0000 (06:35 +0000)]
* automake.in (libtool_new_api): Fix a typo in the comment.
* lib/Automake/Makefile.am (Config.pm): Likewise.
* lib/am/depend2.am: Likewise.
* tests/xsource.test: With `set -e', `|| exit 1' is no longer
needed.
Ralf Wildenhues [Thu, 23 Mar 2006 06:30:06 +0000 (06:30 +0000)]
* tests/depcomp6.test, tests/depcomp7.test: Change back to
using `$MAKE && exit 1', but make sure the last command in the
test is successful.
Ralf Wildenhues [Tue, 21 Mar 2006 19:09:21 +0000 (19:09 +0000)]
* aclocal.in (parse_arguments): Added wildcard support to the
dirlist parser.
* doc/automake.texi (Macro search path): Document it.
* tests/dirlist2.test: New test.
* m4/dirlist, tests/Makefile.am: Adjust.
* NEWS, THANKS: Update.
Ralf Wildenhues [Mon, 20 Mar 2006 20:31:29 +0000 (20:31 +0000)]
* 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.
Ralf Wildenhues [Sun, 19 Mar 2006 17:49:17 +0000 (17:49 +0000)]
* lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
Ralf Wildenhues [Sun, 19 Mar 2006 06:13:41 +0000 (06:13 +0000)]
* tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
to work with `set -e'.
Ralf Wildenhues [Sun, 19 Mar 2006 05:45:33 +0000 (05:45 +0000)]
* tests/depcomp6.test, tests/depcomp7.test: New tests,
for general `depcomp' functionality, with and without
`subdir-objects', with and without `libtool'.
* tests/Makefile.am: Adjust.
Ralf Wildenhues [Sun, 19 Mar 2006 05:09:11 +0000 (05:09 +0000)]
* aclocal.in (write_aclocal): Unlink `aclocal.m4' before
writing into it, to break a symlinked file.
* tests/acloca20.test: New test.
* tests/Makefile.am: Updated.
Ralf Wildenhues [Sun, 19 Mar 2006 05:04:29 +0000 (05:04 +0000)]
Allow package trees (packages with subpackages) to share
common distributed auxiliary files (and directories) that
reside within a subpackage.
* lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
`$(distdir)' already exists.
(%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
removal of subpackage trees for distribution.
* tests/subpkg3.test: New test.
* tests/Makefile.am: Update.
Alexandre Duret-Lutz [Sat, 18 Mar 2006 06:32:36 +0000 (06:32 +0000)]
* tests/check5.test, tests/nobast.test: Fix $MAKE and rm
invocations to please maintainer-check.
Alexandre Duret-Lutz [Fri, 10 Mar 2006 12:02:26 +0000 (12:02 +0000)]
* automake.in (lang_c_rewrite): Typo in previous change.
* tests/ccnoco2.test: New file.
* tests/Makefile.am (TESTS): Add ccnoco2.test.
Alexandre Duret-Lutz [Fri, 10 Mar 2006 10:52:19 +0000 (10:52 +0000)]
* automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
a 'portability' warning, so that people can ignore it. Suggested
by Ralf Wildenhues.
Alexandre Duret-Lutz [Fri, 10 Mar 2006 10:52:00 +0000 (10:52 +0000)]
* lib/Automake/ChannelDefs.pm: Make -Wportability the default in
gnu and gnits modes.
* doc/automake.texi (Invoking Automake): Adjust.
Alexandre Duret-Lutz [Tue, 21 Feb 2006 20:29:25 +0000 (20:29 +0000)]
* doc/automake.texi (Yacc and Lex): Document that `.ypp' and
`.lpp' file extensions are recognized.
Alexandre Duret-Lutz [Tue, 21 Feb 2006 20:27:05 +0000 (20:27 +0000)]
* doc/automake.texi (Complete, Extending aclocal, Public macros)
(Python, Conditionals, API versioning): Always quote macro arguments.
Report from Stepan Kasal.
Alexandre Duret-Lutz [Thu, 16 Feb 2006 21:03:05 +0000 (21:03 +0000)]
* doc/automake.texi (Python): More examples.
Alexandre Duret-Lutz [Sun, 5 Feb 2006 05:53:38 +0000 (05:53 +0000)]
* doc/automake.texi (distcleancheck): Fix bad wording. Report
from Bob Rossi.
(Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
Alexandre Duret-Lutz [Sun, 29 Jan 2006 17:35:12 +0000 (17:35 +0000)]
Append $(EXEEXT) to programs that may be listed in TESTS.
Report from Simon Josefsson.
* automake.in (%known_programs): New global.
(initialize_per_input): Reset it.
(append_exeext): Take a predicate as first argument to select
the filename to rewrite.
(handle_programs): Fill %known_programs.
(handle_tests): Append $(EXEEXT) to all tests that are in
%known_programs.
(am_install_var): Update call to append_exeext.
* doc/automake.texi (EXEEXT): TESTS is also rewritten.
(Tests): More about the difference between check_PROGRAMS and TESTS.
Give an example of TEST_ENVIRONMENT.
* tests/cond32.test: Augment with a nested condition.
* tests/exeext4.test: Also check TESTS.
* tests/check5.test: New file.
* tests/Makefile.am (TESTS): Add check5.test.
Alexandre Duret-Lutz [Thu, 12 Jan 2006 21:11:14 +0000 (21:11 +0000)]
* lib/install-sh (dstdir): Don't use semicolons inside { } in
sed scripts, as Posix says it's not portable.
* lib/missing (file): Likewise.
* lib/am/distdir.am (distcheck): Likewise.
* tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
* tests/distcom2.test, tests/distcom3.test: Likewise.
* tests/distcom4.test, tests/distcom5.test: Likewise.
* tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
Alexandre Duret-Lutz [Thu, 12 Jan 2006 20:11:48 +0000 (20:11 +0000)]
* ChangeLog: Move 2004's entries to ...
* ChangeLog.04: ... this new file.
* Makefile.am (EXTRA_DIST): Add ChangeLog.04.
Alexandre Duret-Lutz [Thu, 12 Jan 2006 19:54:02 +0000 (19:54 +0000)]
2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
* tests/txinfo13.test: Test fix below.
2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
extra files in distribution. Reported by Vincent Lefevre.
Alexandre Duret-Lutz [Fri, 6 Jan 2006 00:45:22 +0000 (00:45 +0000)]
* doc/automake.texi (Linking, Program and Library Variables):
Mention the file extensions that usually appear in _DEPENDENCIES,
and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
couple of people have been listing sources files in _DEPENDENCIES
lately.
Alexandre Duret-Lutz [Thu, 5 Jan 2006 23:47:36 +0000 (23:47 +0000)]
* doc/automake.texi: Bump copyright year.
* automake.in ($gen_copyright, version): Likewise.
* aclocal.in (write_aclocal, version): Likewise.
Alexandre Duret-Lutz [Thu, 5 Jan 2006 23:32:35 +0000 (23:32 +0000)]
* automake.in (top_srcdir): New global.
(generate_makefile): Compute it.
(fill_dist_dirs): New function extracted from handle_dist.
(handle_dist, handle_configure): Use fill_dist_dirs.
* tests/distdir.test: Test for cases where $(top_srcdir) or
$(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
Alexandre Duret-Lutz [Thu, 5 Jan 2006 21:14:48 +0000 (21:14 +0000)]
* lib/depcomp: Add 'ia64hp' dependency style.
Zack's original patch was contributed to GCC on 2005-06-13.
(tru64): Typo.
Paul Eggert [Tue, 8 Nov 2005 07:51:13 +0000 (07:51 +0000)]
Update scriptversion.
Paul Eggert [Tue, 8 Nov 2005 07:41:05 +0000 (07:41 +0000)]
* lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
the code is portable to both POSIX and pre-POSIX shells.
Paul Eggert [Tue, 8 Nov 2005 07:40:53 +0000 (07:40 +0000)]
Use "trap '' 0" instead of "trap - 0", so that
the code is portable to both POSIX and pre-POSIX shells.
Alexandre Duret-Lutz [Mon, 17 Oct 2005 21:08:42 +0000 (21:08 +0000)]
* tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
suggested by Eric Blake.
Alexandre Duret-Lutz [Mon, 17 Oct 2005 20:59:29 +0000 (20:59 +0000)]
* doc/automake.texi (Program and Library Variables): Typo.
* lib/Automake/Variable.pm (transform_variable_recursively): Typo
in a comment.
Alexandre Duret-Lutz [Mon, 3 Oct 2005 20:52:27 +0000 (20:52 +0000)]
* ChangeLog.03, automake.in, tests/overrid.test: Typos.
Alexandre Duret-Lutz [Mon, 3 Oct 2005 20:48:59 +0000 (20:48 +0000)]
2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
* tests/nobase.test: Exercise previous patch.
2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
* lib/am/distdir.am: Remove $(SHELL) when calling install_sh
* m4/strip.m4: Ditto.
* m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
Paul Eggert [Tue, 13 Sep 2005 23:14:57 +0000 (23:14 +0000)]
* doc/automake.texi (limitations on file names): New section.
* lib/install-sh: Rewrite to support '*' in file names.
Also, tune so that we don't invoke so many commands in the usual case.
* tests/instspc.test: The "*" test is now fixed.
Alexandre Duret-Lutz [Tue, 13 Sep 2005 20:16:33 +0000 (20:16 +0000)]
* automake.in (Languages) <cppasm>: Fix typo in the comment.
Alexandre Duret-Lutz [Tue, 13 Sep 2005 20:12:41 +0000 (20:12 +0000)]
* lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
shell in verbose mode.
Alexandre Duret-Lutz [Sun, 7 Aug 2005 09:56:09 +0000 (09:56 +0000)]
* lib/Automake/Variable.pm (variable_value): Do not read the TRUE
value of a conditionally defined variable.
Report from Juergen Leising.
Alexandre Duret-Lutz [Sun, 7 Aug 2005 09:48:30 +0000 (09:48 +0000)]
* automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
$(MAKE) invocations.
* lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
Likewise.
* lib/am/texi-vers.am (%STAMPVTI%): Likewise.
* lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
* Makefile.am (maintainer-check): Check for this.
Report from Stepan Kasal.