summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/config.guess, lib/texinfo.tex: New upstream versions.Alexandre Duret-Lutz2004-11-012-17/+29
|
* * lib/install-sh: Fix the dirname emulation to ignore trailingAlexandre Duret-Lutz2004-10-221-3/+4
| | | | | | | slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This caused `install-sh a/b/' to fail. * tests/instsh2.test: Augment. Report from Пухальский Юрий Андреевич.
* * configure.ac: Export @am_AUTOCONF@.Alexandre Duret-Lutz2004-10-124-0/+4
| | | | | | | | | * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@, so the test suite runs `autoconf' and not `missing --run autoconf'. * tests/missing.test, tests/missing2.test: Arrange for missing to be used in front of autoconf even if the user has exported AUTOCONF. This fixes two spurious failures reported by Mark D. Baushke.
* * lib/compile: Handle output.obj in addition to output.o.Alexandre Duret-Lutz2004-10-121-1/+3
| | | | * tests/compile.test: Check for this.
* * configure.ac: Require Perl 5.6.Alexandre Duret-Lutz2004-09-261-10/+8
| | | | | | | | * lib/Automake/Config.in: Require Perl 5.6 (not done in lib/Automake/General.pm because it is shared with Autoconf), and use `our' instead of `use vars'. * aclocal.in (rel2abs): Remove. (scan_configure_dep): Use File::Spec->rel2abs instead.
* * lib/Automake/VarDef.pm (append): Strip comments from augmentedAlexandre Duret-Lutz2004-09-211-1/+11
| | | | | | | variables. * tests/comment8.test: New file. * tests/Makefile.am (TESTS): Add comment8.test. Report from Stepan Kasal.
* * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,Alexandre Duret-Lutz2004-09-194-65/+85
| | | | lib/texinfo.tex: New upstream versions.
* * lib/Automake/Channels.pm (_print_message): Handle uniq_part withAlexandre Duret-Lutz2004-09-101-5/+8
| | | | | | | arbitrary string. * automake.in (lang_c_rewrite): Set uniq_part so that the AM_PROG_CC_C_O diagnostic is output only once for subdir objects and only once for objects with per-target flags.
* * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $retAlexandre Duret-Lutz2004-09-104-15/+15
| | | | instead of $status which is read-only in Zsh.
* * lib/compile: Preserve spaces in arguments (for exampleAlexandre Duret-Lutz2004-09-101-38/+42
| | | | | | -DPACKAGE_STRING="foo 0.1"). * tests/compile.test: New file. * tests/Makefile.am (TESTS): Add compile.test.
* * tests/missing3.test: New file (check for Paolo's change below).Alexandre Duret-Lutz2004-09-071-42/+35
| | | | | | | | | * tests/Makefile.am (TESTS): Add missing3.test. * missing: Handle all command line options together. Add a separate case statement to detect failed runs, and fail silently there if --help or --version is passed to the program.
* * lib/config.guess, lib/texinfo.tex: New upstream versions.Alexandre Duret-Lutz2004-08-112-6/+23
|
* Fix PR automake/432:Alexandre Duret-Lutz2004-08-111-2/+4
| | | | | * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too. * tests/yacc7.test: Check this.
* * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'Alexandre Duret-Lutz2004-08-081-34/+33
| | | | | | | in place instead of as a side-effect of calling ->string and ->conds. This saves method-lookup time, simplify ->string and ->conds, and allows to create the object only when necessary. (string, conds): Simplify, now that the result is precomputed.
* * lib/Automake/Variable.pm (%_primary_dict): New hash.Alexandre Duret-Lutz2004-08-081-5/+30
| | | | | | | | (_new, variable_delete): Update %_primary_dict. (variables): Accept an optional $suffix argument. * automake.in (check_typos, am_primary_prefixes): Use that optional argument to restrict the loops over the variables we are interested in.
* * lib/Automake/Item.pm (def): Rewrite more concisely, it's fasterAlexandre Duret-Lutz2004-08-051-4/+7
| | | | this way.
* Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.Alexandre Duret-Lutz2004-08-034-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * automake.in (%required_aux_file): New hash. (handle_single_transform, lang_c_rewrite): Do note explicitly require 'compile', this is now an internal detail of AM_PROG_CC_C_O. (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill %required_aux_file. (scan_autoconf_files): Require all %required_aux_file instead of explicitly requiring install-sh and missing. (generate_makefile): Do not require config.sub and config.guess. (handle_single_transform): Pass $have_per_exec_flags to &lang_c_rewrite. * configure.ac, m4/init.m4: Require Autoconf 2.59a. * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE. (Program and Library Variables, Options, Public macros): AC_PROG_CC_C_O is required when per-target flags or subdir-objects are used with C sources. * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE. * m4/missing.m4: Require `missing' similarly. * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test, tests/specflg.test, tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test, tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
* * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...Alexandre Duret-Lutz2004-08-014-0/+4
| | | | | | | | | | (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): ... these. (scan_autoconf_traces): Scan for the latter three macros instead of the former two. (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%. * tests/hosts.test: New file. * tests/Makefile.am (TESTS): Add hosts.test. Report and test case from Norman Gray.
* Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODEAlexandre Duret-Lutz2004-08-012-10/+53
| | | | | | | | | | | | | | | | | | | is used and maintainer-mode disabled. * automake.in (Automake::struct): Define nodist_specific. Set it in languages yacc, yaccxx, lex, and lexxx. (register_language): Default nodist_specific to 0. (handle_single_transform): Honor nodist_specific. * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode. (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these rules when needed. * lib/am/lex.am (am__skiplex): Define this in maintainer mode. (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these rules when needed. * tests/mmodely.test: New file. * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_ parsers. * tests/Makefile.am (TESTS): ADd mmodely.test. * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
* * configure.ac, NEWS: Bump version to 1.9a.Alexandre Duret-Lutz2004-07-284-4/+4
|
* * configure.ac, NEWS: Bump version to 1.9.branchpoint-1-9Release-1-9Alexandre Duret-Lutz2004-07-284-8/+4
|
* * lib/texinfo.tex: New upstream version.Alexandre Duret-Lutz2004-07-281-86/+58
|
* revert hasty commit before releaseAlexandre Duret-Lutz2004-07-282-16/+0
|
* * lib/am/yacc.am, lib/am/lex.am: Only compile these targets inDerek R. Price2004-07-272-0/+16
| | | | | | | maintainer mode. * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode. * NEWS: Note same dependency. * tests/mmode-lexyacc.test: New file.
* * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.Alexandre Duret-Lutz2004-07-251-2/+2
|
* * configure.ac, NEWS: Bump version to 1.8e.Alexandre Duret-Lutz2004-07-174-4/+4
|
* * configure.ac, NEWS: Bump version to 1.8d.Release-1-8dAlexandre Duret-Lutz2004-07-174-7/+7
|
* * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:Alexandre Duret-Lutz2004-07-174-76/+86
| | | | New upstream versions.
* * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,Alexandre Duret-Lutz2004-07-171-5/+5
| | | | ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
* * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) nowAlexandre Duret-Lutz2004-07-171-1/+1
| | | | | | that it is always defined. This is less confusing for users reading the generated Makefiles. * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
* * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,Alexandre Duret-Lutz2004-07-171-5/+19
| | | | | | | | ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html on success. In case the target is a directory, this ensures its time stamp is updated and the no files are left over inside. * tests/txinfo21.test: Augment to test missing timestamp update reported by Akim Demaille.
* * lib/Automake/Variable.pm (define): Fix precondition check.Alexandre Duret-Lutz2004-07-111-1/+1
|
* Remove support for -b= and -t= options; thisPaul Eggert2004-07-051-44/+41
| | | | | | | | | has been moribund for a decade. Add support for -t and -T options (new in coreutils install). -c option now does nothing (the default is to copy), for compatibility with BSD and coreutils 'install'. Fix usage message; it referred to nonexistent variables. Don't assume 'lasterr' is unset in environment.
* * lib/am/clean.am (distclean-generic): Do noAlexandre Duret-Lutz2004-06-035-6/+6
| | | | | `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty. Report from Nicolas Joly.
* * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d insteadAlexandre Duret-Lutz2004-05-311-3/+6
| | | | | | | | of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output, and we will clean the second automatically during distclean. Using the latter and leaving the former as we did before cause "files left in build directory" failures during distcheck. Suggested by Nicolas Joly.
* * configure.ac, NEWS: Bump version to 1.8c.Alexandre Duret-Lutz2004-05-234-4/+4
|
* * configure.ac, NEWS: Bump version to 1.8b.Release-1-8bAlexandre Duret-Lutz2004-05-234-4/+4
|
* regenAlexandre Duret-Lutz2004-05-232-6/+10
|
* * lib/am/multilib.am: Add $(MAKE) comments to multido andAlexandre Duret-Lutz2004-05-231-7/+11
| | | | | multiclean lines, to enable parallel make. Based on a patch by Alexandre Oliva applied to newlib on 2003-10-15.
* Check directory names for unportable names. Shaking the codeAlexandre Duret-Lutz2004-05-222-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | to check this also led to the removal of the no-"/"-in-SUBDIRS restriction, and a fix to _do_recursive_traversal. * automake.in (check_directory): New function extracted from handle_subdirs, and augmented to check for reserved W32/DOS name. (check_directories_in_var): New function. (handle_subdirs): Call check_directories_in_var. Doing so also suppress the restriction that SUBDIRS should not contain slashes. (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory to ensure the argument exists and is safe. * doc/automake.texi (Top level): Do not say that src/subdir cannot be put in SUBDIRS. (Dist): Mention that distdir and top_distdir can be absolute. * lib/Automake/Variable.pm (_do_recursive_traversal) Support undefined $fun_collect, and fix two bugs introduced with skip_ac_subst on 2004-03-07. * lib/am/distdir.am (distdir): Use absolute distdir and top_distdir when recursing, because we can no longer prepend only `..' in case of SUBDIRS with `/'. * tests/auxdir4.test, tests/subdir9.test: New files. * tests/Makefile.am (TESTS): Add auxdir4.test. * tests/cond2.test, tests/subdir7.test: Augment to check location in diagnostics.
* * lib/texinfo.tex: New upstream version.Alexandre Duret-Lutz2004-05-161-12/+16
|
* * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):Alexandre Duret-Lutz2004-05-151-10/+5
| | | | | Fold a few lines to reduce the output by 5 lines. Suggested by Karl Berry.
* * lib/am/libs.am (AR, ARFLAGS): Move these definition ...Alexandre Duret-Lutz2004-05-141-11/+0
| | | | | | | | * automake.in (handle_libraries): ... here, so that they are output even for EXTRA_LIBRARIES. * tests/ar2.test: New file. * tests/Makefile.am (TESTS): Add it. Report from Kevin Ryde.
* regenAlexandre Duret-Lutz2004-05-133-8/+8
|
* Work even with FreeBSD "make", which uses sh -e and thus errors-out ifPaul Eggert2004-05-133-7/+7
| | | | a simple-command fails.
* * lib/texinfo.tex: New upstream version.Alexandre Duret-Lutz2004-04-251-2/+28
|
* * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.Alexandre Duret-Lutz2004-04-251-3/+3
|
* * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables intoAlexandre Duret-Lutz2004-04-243-6/+17
| | | | | | | | | VAR_PRETTY variables to work around make implementation with limited line length, such as OSF1/Tru64 make. * tests/longline.test: New file. * tests/Makefile.am (TESTS): Add it. * tests/pluseq3.test, tests/pluseq8.test: Adjust. Report from Simon Josefsson.
* * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags ifAlexandre Duret-Lutz2004-04-243-7/+14
| | | | | | --etags-include is used but no other files are supplied, so it creates the TAGS file anyway. Report from Akim Demaille.
* * lib/depcomp (tru64) [libtool]: Nicolas Joly reported onAlexandre Duret-Lutz2004-04-241-5/+11
| | | | | | 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d. Teun Burgers reported on 2004-03-30 they were in $dir.libs/$base.o.d. Try both.