platform/upstream/automake.git
22 years ago* Makefile.am (maintainer-check): Fix $MAKE -e detection.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 09:49:24 +0000 (09:49 +0000)]
* Makefile.am (maintainer-check): Fix $MAKE -e detection.
* tests/yacc7.test: Use rm -f.

22 years ago* tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 09:39:14 +0000 (09:39 +0000)]
* tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
* tests/subpkg.test: New file.
* tests/Makefile.am (TESTS): Add subpkg.test.

22 years agoFor PR automake/318:
Alexandre Duret-Lutz [Sun, 9 Jun 2002 11:12:35 +0000 (11:12 +0000)]
For PR automake/318:
* tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
_PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
* lib/am/scripts.am (install-%DIR%SCRIPTS,
uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
default.
(?%DIR%SCRIPT_INSTALL): New variable.
* lib/am/header-vars.am (install_sh_SCRIPT): New variable.
Reported by Eric Siegerman.

22 years ago* automake.in (lang_yacc_target_hook): Add rule to recover from
Alexandre Duret-Lutz [Sat, 8 Jun 2002 17:22:28 +0000 (17:22 +0000)]
* automake.in (lang_yacc_target_hook): Add rule to recover from
the removal of $header.
* lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
output by lang_yacc_target_hook).
* tests/yacc7.test: Try to recreate foo.h after its removal.
* tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
parse.h too.
Reported by Bernd Jendrissek.

22 years agoFor PR automake/317:
Alexandre Duret-Lutz [Sat, 8 Jun 2002 16:56:11 +0000 (16:56 +0000)]
For PR automake/317:
* Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
suggest `list='$(FILES)'; for f in $$list' instead.
* lib/am/distdir.am (distdir): Adjust `for' usage.
* lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
* tests/dollar.test: New file.
* tests/Makefile.am (TESTS): Add dollar.test.
Reported by Eric Siegerman and Philip Fong.

22 years agoFor PR automake/47 (fixed a long time ago):
Alexandre Duret-Lutz [Thu, 6 Jun 2002 17:22:10 +0000 (17:22 +0000)]
For PR automake/47 (fixed a long time ago):
* tests/yacc7.test: Also check that parser sources are distributed.

22 years ago* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
Alexandre Duret-Lutz [Thu, 6 Jun 2002 08:34:43 +0000 (08:34 +0000)]
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
(distclean): Use it.
(maintainer-clean): Delete autom4te.cache and
$(am__CONFIG_DISTCLEAN_FILES).
* tests/maintclean.test: New file.
* tests/Makefile.am (TESTS): Add maintclean.test.

22 years ago2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
Alexandre Duret-Lutz [Wed, 5 Jun 2002 09:06:13 +0000 (09:06 +0000)]
2002-06-05  Miloslav Trmac  <trmac@popelka.ms.mff.cuni.cz>

* lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
target_alias.

22 years ago* Makefile.am (maintainer-check): Check for egrep and fgrep.
Alexandre Duret-Lutz [Fri, 31 May 2002 18:05:08 +0000 (18:05 +0000)]
* Makefile.am (maintainer-check): Check for egrep and fgrep.

* test/cond22.test: Set SHELL when calling $MAKE -e.

22 years ago2002-05-31 Richard Boulton <richard@tartarus.org>
Alexandre Duret-Lutz [Fri, 31 May 2002 17:46:22 +0000 (17:46 +0000)]
2002-05-31  Richard Boulton <richard@tartarus.org>

        Fix PR automake/326:
        * automake.in (define_objects_from_sources): Calculate the result in
        all conditions before passing this to subobjname to pick a name to
        store the result in.
        (subobjname): Expect a list of condition/value pairs as input.
        Combine this list and use it as the key to determine the variable name.
        * test/cond22.test: New file.
        * tests/Makefile.am (TESTS): Add cond21.test

22 years ago* lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
Paul Eggert [Thu, 30 May 2002 12:16:32 +0000 (12:16 +0000)]
* lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
instead, use shell pattern matching.

22 years ago(distdir): Don't assume that 'grep -F' works; instead, use shell
Paul Eggert [Thu, 30 May 2002 12:15:26 +0000 (12:15 +0000)]
(distdir): Don't assume that 'grep -F' works; instead, use shell
pattern matching.

22 years agoDon't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
Paul Eggert [Thu, 30 May 2002 06:09:07 +0000 (06:09 +0000)]
Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
longer requires them.

* Makefile.am (maintainer-check): Use grep -E and grep -F instead
of egrep and fgrep.  Omit unnecessary -E and -F.
Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
* lib/am/distdir.am (distdir): fgrep -> grep -F.
Use $(), not ${}, for Make variables.
* lib/am/texinfos.am (install-info-am, uninstall-info-am):
fgrep -> grep
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/defs: Set FGREP and EGREP.

* tests/aclocali.test, tests/acoutput2.test, tests/all.test,
tests/ansi.test, tests/ansi4.test, tests/colon3.test,
tests/cond21.test, tests/condlib.test, tests/confh4.test,
tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
tests/depend4.test, tests/discover.test, tests/distname.test,
tests/dup3.test, tests/empty4.test, tests/fo.test,
tests/implicit.test, tests/insh2.test, tests/interp.test,
tests/lex.test, tests/lex3.test, tests/lex4.test,
tests/libobj5.test, tests/libobj7.test, tests/make.test,
tests/makevars.test, tests/nostdinc.test, tests/parse.test,
tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
tests/pr2.test, tests/pr9.test, tests/seenc.test,
tests/specflags.test, tests/specflags3.test,
tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP

22 years agofgrep -> $FGREP, egrep -> $EGREP
Paul Eggert [Thu, 30 May 2002 06:05:05 +0000 (06:05 +0000)]
fgrep -> $FGREP, egrep -> $EGREP

22 years agoSet FGREP and EGREP.
Paul Eggert [Thu, 30 May 2002 06:04:09 +0000 (06:04 +0000)]
Set FGREP and EGREP.

22 years ago(AM_MAKE_INCLUDE): fgrep -> grep
Paul Eggert [Thu, 30 May 2002 05:55:50 +0000 (05:55 +0000)]
(AM_MAKE_INCLUDE): fgrep -> grep

22 years ago(install-info-am, uninstall-info-am): fgrep -> grep
Paul Eggert [Thu, 30 May 2002 05:54:55 +0000 (05:54 +0000)]
(install-info-am, uninstall-info-am): fgrep -> grep

22 years ago(distdir): fgrep -> grep -F.
Paul Eggert [Thu, 30 May 2002 05:54:05 +0000 (05:54 +0000)]
(distdir): fgrep -> grep -F.
Use $(), not ${}, for Make variables.

22 years ago(maintainer-check): Use grep -E and grep -F instead
Paul Eggert [Thu, 30 May 2002 05:51:33 +0000 (05:51 +0000)]
(maintainer-check): Use grep -E and grep -F instead
of egrep and fgrep.  Omit unnecessary -E and -F.
Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".

22 years agoFor PR automake/323:
Alexandre Duret-Lutz [Fri, 24 May 2002 10:36:20 +0000 (10:36 +0000)]
For PR automake/323:
* m4/depend.m4: Missing comma.
* tests/gcj4.test: New file.
* tests/Makefile.am (TESTS): Add gcj4.test.
Reported by David Pashley.

22 years ago* tests/defs (confiugre.in): Don't double-quote $me.
Alexandre Duret-Lutz [Wed, 22 May 2002 09:50:54 +0000 (09:50 +0000)]
* tests/defs (confiugre.in): Don't double-quote $me.
* tests/sinclude.test: Overwrite configure.in and use
`am__sinclude' instead of `sinclude' as package name.
Excercise `m4_sinclude' instead of `sinclude'.

22 years ago* automake.in (conditional_implies_one_of): Rename as ...
Alexandre Duret-Lutz [Mon, 20 May 2002 20:42:02 +0000 (20:42 +0000)]
* automake.in (conditional_implies_one_of): Rename as ...
(conditional_implies_any): ... this.
* tests/pluseq9.test: Exercise another case with the new
`C' variable.
Suggested by Raja R Harinath.

22 years ago* tests/defs (configure.in): Quote macro arguments.
Alexandre Duret-Lutz [Mon, 20 May 2002 17:55:48 +0000 (17:55 +0000)]
* tests/defs (configure.in): Quote macro arguments.
Reported by Nicolas Joly.

22 years ago* lib/am/header-vars.am (build_triplet, host_triplet,
Alexandre Duret-Lutz [Fri, 17 May 2002 13:55:57 +0000 (13:55 +0000)]
* lib/am/header-vars.am (build_triplet, host_triplet,
target_triplet): Define.  Were removed by mistake on 2002-04-13.

22 years agoFor PR automake/186:
Alexandre Duret-Lutz [Fri, 17 May 2002 10:49:55 +0000 (10:49 +0000)]
For PR automake/186:
* lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
* tests/destdir.test: New file.
* tests/Makefile.am (TESTS): Add destdir.test.

22 years ago* automake.in (conditional_true_when): Return false if $WHEN == FALSE.
Alexandre Duret-Lutz [Thu, 16 May 2002 20:36:36 +0000 (20:36 +0000)]
* automake.in (conditional_true_when): Return false if $WHEN == FALSE.
(conditional_is_redundant): Simplify.
(conditional_implies_one_of,
variable_not_always_defined_in_cond): New functions
(macro_define): Reject appends if the variable is not defined in
all conditions where `+=' applies.
(invert_conditions): Rewrite.  Before this patch,
invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
wrong (these conditions implies "A_FALSE").  Now it outputs (),
which just means the input conditions cover all cases.
(variable_conditions_permutations): Never output FALSE conditions.
* tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
in the CHECK_FALSE condition to fix the test.
* tests/pluseq5.test: Actually check the diagnostic.
* tests/pluseq9.test: New file.
* tests/Makefile.am (TESTS): Add pluseq9.test.

22 years agoFix for PR automake/322:
Alexandre Duret-Lutz [Tue, 14 May 2002 14:12:21 +0000 (14:12 +0000)]
Fix for PR automake/322:
* automake.in (read_am_file): Rename $was_rule as $prev_state, and
set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
Handle comments continued by backslashes.
* tests/comment6.test: New file.
* tests/Makefile.am (TESTS): Add comment6.test.
Reported by Braden N. McDaniel.

22 years ago2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
Alexandre Duret-Lutz [Wed, 8 May 2002 08:56:43 +0000 (08:56 +0000)]
2002-05-08  Charles Wilson  <cwilson@ece.gatech.edu>
            Alexandre Duret-Lutz  <duret_g@epita.fr>

* lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
both `program$(EXEEXT)' and `program'; needed under Cygwin.
* tests/libtool3.test: New file.
* tests/Makefile.am (TESTS): Add libtool3.test.

22 years ago* TODO: Undust.
Alexandre Duret-Lutz [Tue, 7 May 2002 07:06:36 +0000 (07:06 +0000)]
* TODO: Undust.

22 years ago* Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
Alexandre Duret-Lutz [Mon, 6 May 2002 19:29:37 +0000 (19:29 +0000)]
* Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.

22 years agoErase stamps from the Makefile that generates them.
Alexandre Duret-Lutz [Mon, 6 May 2002 19:10:42 +0000 (19:10 +0000)]
Erase stamps from the Makefile that generates them.

* automake.in (handle_configure): Append each used stamp to
@distclean_config.  Don't warn about stamp-h in AC_OUTPUT, this
file is not used anymore.
* lib/am/clean.am (distclean-generic): Don't erase stamp-h and
stamp-h[0-9]*.
* tests/subdir6.test: New file.
* tests/Makefile.am (TESTS): Add it.

22 years agoFix for condd.test (conditional `+='):
Alexandre Duret-Lutz [Mon, 6 May 2002 06:51:05 +0000 (06:51 +0000)]
Fix for condd.test (conditional `+='):
* automake.in (%appendvar): New.
(initialize_per_input): Clear it.
(macro_define): Handle += for variable defined in another condition.
* automake.texi (Conditional Sources): Use conditional += in
the example.
(General Operation, Conditionals): Remove note about broken +=.
* tests/cond21.test: New file.
* tests/condd.test: Also test conditional append to a _SOURCE
variable.  Create missing directories.
* tests/Makefile.am (TESTS): Add cond21.test.
(XFAILS): Remove condd.test.

22 years ago * automake.texi (Program and Library Variables): Mention _LFLAGS.
Tom Tromey [Mon, 6 May 2002 06:15:13 +0000 (06:15 +0000)]
* automake.texi (Program and Library Variables): Mention _LFLAGS.

22 years ago* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
Alexandre Duret-Lutz [Tue, 30 Apr 2002 22:13:50 +0000 (22:13 +0000)]
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
files.  Fix subobj9.test on OSF and IRIX.
Reported by Nelson H. F. Beebe.

22 years ago * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
Tom Tromey [Fri, 26 Apr 2002 19:21:37 +0000 (19:21 +0000)]
* lib/am/dejagnu.am (distclean-DEJAGNU): New target.
For Debian bug 14421.

22 years ago* tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
Alexandre Duret-Lutz [Fri, 26 Apr 2002 15:58:18 +0000 (15:58 +0000)]
* tests/man2.test: Use `pwd`, not $PWD.  Use $MAKE -e.

22 years ago* automake.in (subobjname): Use the length of %subobjvar
Alexandre Duret-Lutz [Thu, 25 Apr 2002 16:47:04 +0000 (16:47 +0000)]
* automake.in (subobjname): Use the length of %subobjvar
instead of $subobjnamenum.
(subobjnamenum): Remove.

22 years agoFor PR automake/307:
Alexandre Duret-Lutz [Thu, 25 Apr 2002 07:55:04 +0000 (07:55 +0000)]
For PR automake/307:
* lib/depcomp: Never compute dependencies in the background, this
can cause races with libtool.  Compute the dependencies after
the actual compilation.  Don't make libtool silent now that
it's run in the foreground.
* tests/pr307.test: New file.
* tests/Makefile.am (TESTS): Add pr307.test.
Reported by Laurent Morichetti.

22 years ago* lib/am/check.am: Show skipped tests. Display the
Alexandre Duret-Lutz [Thu, 25 Apr 2002 07:48:34 +0000 (07:48 +0000)]
* lib/am/check.am: Show skipped tests.  Display the
$(PACKAGE_BUGREPORT) address on failure.

22 years agoFix PR automake/315:
Alexandre Duret-Lutz [Wed, 24 Apr 2002 07:36:00 +0000 (07:36 +0000)]
Fix PR automake/315:
* automake.in (subobjname): Rewrite to generate variable name
unique for each content.
(%substnums): Remove.
(%subobjvar): New hash.
(initialize_per_input): Clear %subobjvar.
(define_objects_from_sources): Return the name of the variable
defined, in addition to the linker.  Call subobjname only once
the content of the variable to define is known.
(handle_source_transform): Adjust call to define_objects_from_sources.
* tests/specflags8.test: Mention PR 315.
* tests/subobjname.test: New file.
* tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
(TESTS): Add subobjname.test.

22 years ago* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
Alexandre Duret-Lutz [Tue, 23 Apr 2002 16:59:58 +0000 (16:59 +0000)]
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
the whole file for 'generated by automake', not only the
first line.  This accounts for post-processed Makefile.in's.
* tests/postproc.test: New file.
* tests/Makefile.am (TESTS): Add postproc.test.

22 years agoFor PR automake/151 and PR automake/314:
Alexandre Duret-Lutz [Mon, 22 Apr 2002 18:39:45 +0000 (18:39 +0000)]
For PR automake/151 and PR automake/314:
* automake.texi (A Program): Split into
(Program Sources, Linking, Conditional Sources, Conditional
Programs): ... these subsections; moving the Linking node
before the Conditional discussions.
(Conditional Sources): More details.  Notably, mention
hello_DEPENDENCIES.
(Conditionals): Adjust reference to Conditional Programs.

22 years agoFix some bugs when using "$@" when there might be zero positional
Paul Eggert [Fri, 19 Apr 2002 20:59:18 +0000 (20:59 +0000)]
Fix some bugs when using "$@" when there might be zero positional
arguments in cases where this matters.  Zsh doesn't support
the workaround ${1+"$@"} that has been used by Automake since
the Mon Dec  4 11:55:36 1995 change.

* aclocal.in: Use 'case' statement to work around problem.
* automake.in: Likewise.
* lib/ylwrap: Likewise.
* lib/missing: No need for workaround, as the command is never
invoked with zero arguments.
* tests/ccnoco.test: Likewise.
* missing: Update from lib/missing.

22 years agoNo need for ${1+"$@"} workaround, as the command is never invoked with
Paul Eggert [Fri, 19 Apr 2002 20:58:51 +0000 (20:58 +0000)]
No need for ${1+"$@"} workaround, as the command is never invoked with
zero arguments.  The workaround breaks with Zsh.

22 years agoUpdate from lib/missing.
Paul Eggert [Fri, 19 Apr 2002 20:56:21 +0000 (20:56 +0000)]
Update from lib/missing.

22 years agoNo need for ${1+"$@"} workaround, as the command is never invoked with
Paul Eggert [Fri, 19 Apr 2002 20:55:59 +0000 (20:55 +0000)]
No need for ${1+"$@"} workaround, as the command is never invoked with
zero arguments.  The workaround breaks with Zsh, so go back to "$@".

22 years agoUse 'case' statement to work around ${1+"$@"} problem with Zsh.
Paul Eggert [Fri, 19 Apr 2002 20:54:45 +0000 (20:54 +0000)]
Use 'case' statement to work around ${1+"$@"} problem with Zsh.

22 years ago* automake.in (initialize_per_input): Clear %require_file_found.
Alexandre Duret-Lutz [Fri, 19 Apr 2002 10:21:34 +0000 (10:21 +0000)]
* automake.in (initialize_per_input): Clear %require_file_found.
(%require_file_found): Group the declaration with the other
variables initialized by initialize_per_input.
* tests/required.test: New file.
* tests/Makefile.am (TESTS): Add it.
Reported by Marius Vollmer.

22 years ago* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
Alexandre Duret-Lutz [Fri, 19 Apr 2002 10:13:34 +0000 (10:13 +0000)]
* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
(_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
* m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
* tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
files.
* tests/confh5.test: New file.
* tests/Makefile.am (TESTS): Add confh5.test.
* automake.texi (Optional, Public macros): Update descriptions
of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.

22 years ago* tests/man2.test: New file.
Alexandre Duret-Lutz [Sat, 13 Apr 2002 21:48:35 +0000 (21:48 +0000)]
* tests/man2.test: New file.
* tests/Makefile.am (TESTS): Add man2.test.
* lib/am/mans.am (install-man%SECTION%): Change the extension
of the man pages being installed, as documented.

22 years agoEnable traces; wipe out the old configure.in parser.
Alexandre Duret-Lutz [Sat, 13 Apr 2002 21:26:36 +0000 (21:26 +0000)]
Enable traces; wipe out the old configure.in parser.

* automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
'autoconf'.  Honnor the $filename argument.
(scan_autoconf_files): Don't call scan_one_autoconf_file.
Always call scan_autoconf_traces.
(scan_one_autoconf_file): Remove, with it associated regexes.
(obsolete, obsolete_rx): Remove.
(register_language, handle_languages): Remove the 'define_flag'
support.  Remove it from the struct and language definitions too.
(unquote_m4_arg): Remove.
* lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
are now generated automatically.
* aclocal.in (obsolete_macros): Don't mention obsolete_macros in
automake.in.
* automake.texi (Invoking Automake): Mention the AUTOCONF envvar.

22 years ago* tests/version6.test: New file.
Alexandre Duret-Lutz [Sat, 13 Apr 2002 19:59:25 +0000 (19:59 +0000)]
* tests/version6.test: New file.
* tests/Makefile.am (TESTS): Add tests/version6.test.
* automake.in (version_check): Return 0 on equality.

22 years ago2002-04-13 Andreas Schwab <schwab@suse.de>
Tom Tromey [Sat, 13 Apr 2002 19:01:09 +0000 (19:01 +0000)]
2002-04-13  Andreas Schwab  <schwab@suse.de>

* THANKS: Update my mail address.

22 years ago* tests/discover.test: Use a full configure.in that calls AC_INIT.
Alexandre Duret-Lutz [Fri, 12 Apr 2002 16:37:28 +0000 (16:37 +0000)]
* tests/discover.test: Use a full configure.in that calls AC_INIT.
Use AC_LIBOBJ.  Grep the error message.
* test/ldadd.test: Don't use LIBOBJS.  Use a full configure.in.
Grep the error message.  Require libtool.
* tests/ldflags.test:  Don't use LIBOBJS.
* tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
error messages for CC and CXX.

22 years ago* automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
Alexandre Duret-Lutz [Fri, 12 Apr 2002 15:28:15 +0000 (15:28 +0000)]
* automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
and AMDEPBACKSLASH.
* tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
* tests/ext.test: Enable dependencies for OBJC.
* tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
Delete.  They tests for different flavors of $LIBOBJS assignments
that wont be supported anymore.
* tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
* tests/obsolete.test: Don't test Automake.
* tests/suffix5.test: Require libtool.
* tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
libobj9.test.

22 years ago* configure.in (APIVERSION): Fix definition.
Alexandre Duret-Lutz [Wed, 10 Apr 2002 20:45:16 +0000 (20:45 +0000)]
* configure.in (APIVERSION): Fix definition.

22 years ago* NEWS: Catch up with changes since 1.6.
Alexandre Duret-Lutz [Wed, 10 Apr 2002 20:02:51 +0000 (20:02 +0000)]
* NEWS: Catch up with changes since 1.6.

22 years ago* tests/yacc8.test: Don't assume GNU make, run config.status
Alexandre Duret-Lutz [Wed, 10 Apr 2002 17:30:43 +0000 (17:30 +0000)]
* tests/yacc8.test: Don't assume GNU make, run config.status
to regenerate the Makefile.

22 years ago* tests/yacc8.test: Don't assume GNU make, run config.status
Alexandre Duret-Lutz [Wed, 10 Apr 2002 16:39:56 +0000 (16:39 +0000)]
* tests/yacc8.test: Don't assume GNU make, run config.status
to regenerate the Makefile.

22 years ago* Makefile.am (maintainer-check): Make sure `$MAKE -e' is
Alexandre Duret-Lutz [Wed, 10 Apr 2002 16:20:58 +0000 (16:20 +0000)]
* Makefile.am (maintainer-check): Make sure `$MAKE -e' is
always followed by a SHELL setting.
* tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
SHELL when calling `$MAKE -e'.

22 years ago* tests/subobj9.test: Use configure.in, not configure.ac,
Alexandre Duret-Lutz [Wed, 10 Apr 2002 15:35:40 +0000 (15:35 +0000)]
* tests/subobj9.test: Use configure.in, not configure.ac,
otherwise this fails with old libtool versions.

22 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Wed, 10 Apr 2002 14:34:17 +0000 (14:34 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.

22 years ago* ChangeLog.2001: New file, extracted from ChangeLog.
Alexandre Duret-Lutz [Wed, 10 Apr 2002 07:54:31 +0000 (07:54 +0000)]
* ChangeLog.2001: New file, extracted from ChangeLog.
* Makefile.am (EXTRA_DIST): Add it.

22 years ago* automake.texi (Canonicalization): The sources for libmumble++.a
Alexandre Duret-Lutz [Tue, 9 Apr 2002 18:45:34 +0000 (18:45 +0000)]
* automake.texi (Canonicalization): The sources for libmumble++.a
go into libmumble___a_SOURCES.

22 years ago* Makefile.am (maintainer-check): Check for `sleep 1' uses in the
Alexandre Duret-Lutz [Sun, 7 Apr 2002 21:35:02 +0000 (21:35 +0000)]
* Makefile.am (maintainer-check): Check for `sleep 1' uses in the
test suite.  Suggest `sleep 2' instead.
* tests/confsub.test: Use `sleep 2'.

22 years ago* lib/am/subdirs.am:
Akim Demaille [Thu, 4 Apr 2002 10:42:27 +0000 (10:42 +0000)]
* lib/am/subdirs.am:
($(RECURSIVE_TARGETS), maintainer-clean-recursive):
$(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
MAKEFLAGS contains '$(...)'.

22 years ago* tests/specflags8.test: Typo.
Alexandre Duret-Lutz [Tue, 2 Apr 2002 16:20:15 +0000 (16:20 +0000)]
* tests/specflags8.test: Typo.

22 years ago* tests/specflags6.test: Run aclocal.
Alexandre Duret-Lutz [Tue, 2 Apr 2002 13:33:45 +0000 (13:33 +0000)]
* tests/specflags6.test: Run aclocal.
* tests/Makefile.am (TESTS): Add specflags6.test.

22 years ago* tests/specflags7.test, tests/specflags8.test: New files.
Alexandre Duret-Lutz [Tue, 2 Apr 2002 13:11:14 +0000 (13:11 +0000)]
* tests/specflags7.test, tests/specflags8.test: New files.
* tests/Makefile.am (TESTS): Add them.
(XFAIL_TESTS): Add specflags8.test.

22 years ago * automake.in (check_typos): Examine AM_LDFLAGS.
Tom Tromey [Sat, 30 Mar 2002 00:31:43 +0000 (00:31 +0000)]
* automake.in (check_typos): Examine AM_LDFLAGS.
Fixes PR automake/311.

22 years ago For PR automake/312:
Tom Tromey [Sat, 30 Mar 2002 00:26:06 +0000 (00:26 +0000)]
For PR automake/312:
* lib/am/libtool.am (clean-libtool): Use LTRMS.
* automake.in (handle_single_transform_list): When processing a
libtool object, clean the ordinary object and register the
directory.
(libtool_clean_directories): New global.
(initialize_per_input): Initialize it.
(generate_makefile): Call handle_libtool later.
(handle_libtool): Handle libtool_clean_directories.
* tests/subobj9.test: New file.
* tests/Makefile.am (TESTS): Added subobj9.test.

22 years ago* tests/extra6.test, tests/subdir5.test: Require GNU make.
Alexandre Duret-Lutz [Tue, 26 Mar 2002 14:34:00 +0000 (14:34 +0000)]
* tests/extra6.test, tests/subdir5.test: Require GNU make.

22 years ago* tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
Alexandre Duret-Lutz [Tue, 26 Mar 2002 11:11:49 +0000 (11:11 +0000)]
* tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.

22 years ago* tests/extra7.test: New file.
Alexandre Duret-Lutz [Tue, 26 Mar 2002 10:48:37 +0000 (10:48 +0000)]
* tests/extra7.test: New file.
* tests/Makefile.am: Add it.
* lib/am/distdir.an (distdir): When a distribuable directory
exists both in `.' and $(srcdir), merge both directories.  This
works around a failure of extra6.test on Tru64 reported by
Nicolas Joly.

22 years ago* tests/pr87.test, tests/yaccvpath.test: Require GNU make.
Alexandre Duret-Lutz [Tue, 26 Mar 2002 10:36:57 +0000 (10:36 +0000)]
* tests/pr87.test, tests/yaccvpath.test: Require GNU make.

22 years ago* Makefile.am (maintainer-check): Catch occurrences of
Alexandre Duret-Lutz [Tue, 26 Mar 2002 09:38:47 +0000 (09:38 +0000)]
* Makefile.am (maintainer-check): Catch occurrences of
`$MAKE foo=bar' in the testsuite.  Suggest using
`foo=bar $MAKE -e' instead.
* tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
Use $MAKE -e.  This fixes a ansi5.test failure with Solaris make.
* tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
* tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.

22 years agoFix for PR automake/310:
Alexandre Duret-Lutz [Tue, 26 Mar 2002 09:24:53 +0000 (09:24 +0000)]
Fix for PR automake/310:
* lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
so it never appears as a plain word.

22 years ago2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
Tom Tromey [Tue, 26 Mar 2002 06:04:19 +0000 (06:04 +0000)]
2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>

* lib/depcomp (tru64): Correctly compute `base'.

22 years ago* tests/pr211.test: s/requires/required/, otherwise the test fails
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.

22 years ago* tests/dirname.test: Don't use $SHELL when calling ./configure.
Alexandre Duret-Lutz [Thu, 21 Mar 2002 11:27:17 +0000 (11:27 +0000)]
* tests/dirname.test: Don't use $SHELL when calling ./configure.

22 years ago* tests/dirname.test: Use --quiet to fix failure on installations
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.

22 years ago* Makefile.am (maintainer-check): Check for misuses of make,
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.

22 years agoAdd support for two-dot versions.
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.

22 years agoFix for PR automake/306:
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.

22 years ago Fix for PR automake/295:
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.

22 years ago * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
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.

22 years ago2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
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.

22 years agoautomake.in (check_typos): Allow variables with reserved
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.

22 years agotests/acsubst.test: New test, by Alexandre Duret-Lutz
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.

22 years agotests/acsubst.test: New test, by Alexandre Duret-Lutz
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

22 years ago2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
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.

22 years agoFix for PR automake/303:
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.

22 years ago* tests/pr300-lib.test, tests/pr300-ltlib.test,
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.

22 years ago * configure.in: Upped version to 1.6a.
Tom Tromey [Wed, 6 Mar 2002 06:47:51 +0000 (06:47 +0000)]
* configure.in: Upped version to 1.6a.

22 years agoupdated HACKING with release info
Tom Tromey [Wed, 6 Mar 2002 06:24:50 +0000 (06:24 +0000)]
updated HACKING with release info

22 years ago * configure.in: Released 1.6.
Tom Tromey [Wed, 6 Mar 2002 04:45:32 +0000 (04:45 +0000)]
* configure.in: Released 1.6.

22 years agoFix for PR automake/300:
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.

22 years ago * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
Tom Tromey [Tue, 5 Mar 2002 18:52:40 +0000 (18:52 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.

22 years ago* tests/yacc8.test: Add a command between "test" and "cd" to
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.

22 years agoFix for PR automake/294:
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.