12003-12-31 Alexandre Duret-Lutz <adl@gnu.org> 2 3 * automake.in (generate_makefile): Update misleading comment. 4 5 * automake.in (handle_languages): Define %DEPBASE% conditionally 6 on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files 7 here ... 8 (lang_c_finish): ... do it here. 9 (handle_single_transform_list): Do not output specific rules for 10 subdir-objects files which are not renamed. This should reduce 11 the size of Makefiles with lots of subdirectory sources. 12 * lib/depcomp: Simplify computation of dependency output, and use 13 DEPDIR. 14 * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call 15 to depcomp. Compute depbase on-the-fly in generic fastdep rules 16 for subdir-objects. 17 * tests/ansi9.test: Do not grep for an explicit rule that 18 we no longer expect. Really run $MAKE to make sure the chain 19 of rules works. 20 * tests/yacc5.test: Do not grep for an explicit rule that 21 we no longer expect. Adjust to use set -e. 22 232003-12-27 Alexandre Duret-Lutz <adl@gnu.org> 24 25 * automake.in (@common_files): Move configure, configure.ac, and 26 configure.in ... 27 (@common_sometimes): ... here so that these files do not appear 28 twice in DIST_COMMON. 29 30 * automake.in (maybe_push_required_file): Add $(srcdir) in front 31 a required files outside the current directory or its subdirectories. 32 * lib/am/distdir.am (distdir): Update comment. 33 Report from Nicolas Joly. 34 352003-12-26 Alexandre Duret-Lutz <adl@gnu.org> 36 37 * doc/automake.texi (@copying): Do not repeat the version. 38 (Top): Use @insertcopying. Add a @detailmenu, this works around 39 Emacs 21's inability to lookup indices in sub-nodes (reported 40 by Kevin Ryde). 41 (C++ Support, Assembly Support, Fortran 77 Support, Java Support, 42 Support for Other Languages, Preprocessing Fortran 77, Compiling 43 Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker 44 is Chosen): Add missing descriptions in menus. 45 (Fortran 77 and Autoconf): Remove, this node was just saying "use 46 Autoconf 2.53 or greater". 47 482003-12-26 Santiago Vila <sanvila@unex.es> (tiny change) 49 50 * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/ 51 522003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change) 53 54 * doc/automake.texi (Conditional Sources): Typo. 55 562003-12-25 Alexandre Duret-Lutz <adl@gnu.org> 57 58 * lib/Automake/Config.in: Require Exporter. 59 Report from Kevin Ryde (failure with Perl 5.005_03). 60 612003-12-15 Alexandre Duret-Lutz <adl@gnu.org> 62 63 * tests/aclocal6.test: Check for autom4te.cache only if it has 64 been created. 65 * tests/maintclean.test: Update comment. 66 Report from Bruno Haible. 67 68 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test: 69 Require texi2dvi-o. 70 Report from Václav Haisman. 71 722003-12-10 Alexandre Duret-Lutz <adl@gnu.org> 73 74 * configure.ac, NEWS: Bump version to 1.8a. 75 76 * configure.ac, NEWS: Bump version to 1.8. 77 78 * lib/texinfo.tex: New upstream version. 79 80 * Makefile.am (INSTALL): Copy the source from $(srcdir). 81 822003-12-09 Alexandre Duret-Lutz <adl@gnu.org> 83 84 * lib/Automake/Rule.pm (define): Remove debugging traces. 85 Report from Akim Demaille. 86 872003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) 88 Alexandre Duret-Lutz <adl@gnu.org> 89 90 * Makefile.am (do_subst): Fix the substitution of @configure_input@. 91 (automake, aclocal): Create the output atomically and make it 92 read-only, as done in the Autoconf package. 93 * lib/Automake/Makefile.am (do_subst): Fix the substitution of 94 @configure_input@. 95 (Config.pm): Create the output atomically and make it read-only. 96 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute 97 @configure_input@ and make the output read-only. 98 * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in, 99 tests/automake.in, tests/defs.in: Add a @configure_input@ line. 100 1012003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) 102 103 * doc/automake.texi (Local Macros, CVS): Typos. 104 1052003-12-08 Alexandre Duret-Lutz <adl@gnu.org> 106 107 * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&. 108 Perl 5.6.0 will not accept a reference sub reference for the 109 latter. 110 * automake.in (var_SUFFIXES_trigger): Adjust registration via 111 Automake::Variable::hook. 112 (handle_texinfo_helper): Make sure `inner_expand => 1' appears 113 on one line, so that Perl 5.6.0 does not complain about 114 inner_expand being a bare identifier. 115 1162003-12-05 Alexandre Duret-Lutz <adl@gnu.org> 117 118 * aclocal.in (check_acinclude, scan_file): Output `warning:' in 119 front of warnings. 120 Report from Pavel Roskin. 121 1222003-12-04 Alexandre Duret-Lutz <adl@gnu.org> 123 124 * TODO: Remove some old entries. 125 126 * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES 127 and CONFIG_STATUS_DEPENDENCIES. Move this sections later 128 in the manual since it's pretty advanced material. 129 130 * automake.in ($config_header_location): Remove. Use 131 %ac_config_files_location instead. 132 (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/ 133 at the top-level. 134 (handle_configure): Use rewrite_inputs_into_dependencies to 135 distribute and compute AC_CONFIG_HEADERS dependencies. 136 (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill 137 %ac_config_files_location. 138 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ... 139 (%CONFIG_HIN%): ... this. $(srcdir) is already added in 140 scan_autoconf_traces. 141 * tests/Makefile.am (TESTS): Add confh5.test. 142 * tests/confh5.test: New file. 143 144 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am, 145 $< is not portable and the source is in $(srcdir). 146 1472003-12-03 Paolo Bonzini <bonzini@gnu.org> 148 Alexandre Duret-Lutz <adl@gnu.org> 149 150 * automake.in (handle_configure): Do not require link sources if 151 they contain a dollar, or if they were built. Likewise, do not 152 clean link destination if they contain a dollar. 153 (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate 154 %ac_config_files_location with link destinations. Do not 155 store locations in @config_links, now that %ac_config_files_location 156 have them. 157 * tests/conflnk3.test: New file. 158 * tests/Makefile.am (TESTS): Add conflnk3.test. 159 1602003-12-02 Alexandre Duret-Lutz <adl@gnu.org> 161 162 * configure.ac, NEWS: Bump version to 1.7i. 163 164 * configure.ac, NEWS: Bump version to 1.7h. 165 166 * doc/automake.texi (Default _SOURCES): Fix reference to true. 167 168 * lib/texinfo.tex: New upstream version. 169 1702003-11-30 Alexandre Duret-Lutz <adl@gnu.org> 171 172 * automake.in (handle_source_transform): If it's present, use 173 libfoo_la.c instead of libfoo.c as the default source of 174 libfoo.la, and issue an -Wobsolete diagnostic. Do not be 175 greedy in the suffix replacement regex. 176 * doc/automake.texi (Default _SOURCES): New node. 177 (Program Sources, Libtool Modules): Refer to it. 178 * tests/ltlibsrc.test: Update to check for old default source files. 179 1802003-11-30 Gary V. Vaughan <gary@gnu.org> 181 182 * automake.in (&handle_source_transform): Calculate a default file 183 for use in the absence of an appropriate _SOURCES declaration by 184 first stripping any suffix from the unxformed target name, and 185 appending `.c'. 186 * doc/automake.texi (Program Sources, Libtool Modules): Document this. 187 * tests/ltlibsrc.test: New file. 188 * tests/Makefile.am (TESTS): Add ltlibsrc.test. 189 1902003-11-29 Alexandre Duret-Lutz <adl@gnu.org> 191 192 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive, 193 _value_as_list_recursive_worker): Merge into ... 194 (value_as_list_recursive): ... this function. Pass options 195 as a hash argument, and use the `location' option to trigger 196 the behavior of loc_and_value_as_list_recursive. 197 (traverse_recursively, transform_variable_recursively): Take 198 options as a %options argument. 199 (_do_recursive_traversal): Perform expansion of inner variables 200 (as in `$(FILE).ext') on request. 201 * automake.in (handle_options, check_libobjs_sources) 202 (handle_source_transform, handle_LIBOBJS, handle_ltlibraries) 203 (handle_ltlibraries, handle_man_pages, handle_dist) 204 (handle_gettext, am_install_var): Adjust usage of 205 value_as_list_recursive. 206 (handle_texinfo_helper): Pass inner_expand to 207 value_as_list_recursive. 208 * tests/txinfo28.test: New file. 209 * tests/Makefile.am (TESTS): Add txinfo28.test. 210 Report from Ralf Corsepius. 211 212 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not 213 update @_substfroms and @_substfroms for undefined variables. 214 * tests/substre2.test: New file. 215 * tests/Makefile.am (TESTS): Add substre2.test. 216 217 * lib/Automake/VarDef.pm (value): Rename as ... 218 (raw_value): ... this. 219 (value): New method, strip # and \\\n. 220 (dump): Use raw_value. 221 * lib/Automake/Variable.pm (output): Use raw_value. 222 (value_as_list): Simplify, now that backslash and comments 223 are already removed. 224 * tests/txinfo22.test: Make sure Automake isn't confused 225 by comments in variables. 226 2272003-11-27 Alexandre Duret-Lutz <adl@gnu.org> 228 229 * doc/automake.texi: More target vs. rule editing. Back out some 230 of the previous changes. It's OK to talk about targets as "entry 231 points", or as thing to build, but targets cannot be run: rules 232 are run. 233 234 * doc/automake.texi: s/target/rule/ where appropriate. A target 235 is the destination of a target rule, not the rule itself. 236 Suggested by Bruno Haible. 237 2382003-11-25 Alexandre Duret-Lutz <adl@gnu.org> 239 240 * configure.ac, NEWS: Bump version to 1.7g. 241 242 * configure.ac, NEWS: Bump version to 1.7f. 243 244 * automake.in (prepend_srcdir): Parenthesize @inputs to remove 245 a maintainer-check warning. 246 * tests/subst2.test: Rewrite the $MAKE invocation to please 247 maintainer-check. 248 249 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream 250 versions. 251 252 * doc/automake.texi (Program variables): Mention per-target 253 _CPPFLAGS in the documentation of INCLUDES. 254 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic. 255 Report from Bob Friesenhahn. 256 257 * doc/automake.texi (Extending): Elaborate on overriding. 258 * NEWS: Likewise. 259 Suggested by Bruno Haible. 260 2612003-11-24 Alexandre Duret-Lutz <adl@gnu.org> 262 263 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable 264 definitions that end with a line full of @substitutions@ that 265 would confuse HP-UX Make if it were blank. 266 (transform_variable_recursively): Make sure not to erase empty 267 variables. 268 * tests/Makefile.am (TESTS): Add subst2.test. 269 * tests/subst2.test: New file. 270 Report from Harlan Stenn. 271 272 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a 273 Texinfo 4.1 bug. 274 Report from Dalibor Topic. 275 2762003-11-22 Alexandre Duret-Lutz <adl@gnu.org> 277 278 Fix for PR automake/411: 279 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename 280 into ... 281 (prepend_srcdir): ... this. 282 (rewrite_inputs_into_dependencies): New function, extracted from ... 283 (handle_configure): ... here. Adjust to use prepend_srcdir 284 or rewrite_inputs_into_dependencies where needed. Especially, 285 using (the new) rewrite_inputs_into_dependencies to compute 286 Makefile dependencies will fix PR/411. 287 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's 288 already distributed by rewrite_inputs_into_dependencies. 289 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test. 290 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE 291 invocation refer to zardoz. Make sure two.in and three.in 292 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies. 293 * tests/distcom.test: Delete. This is covered by tests/output9.test. 294 * tests/output10.test: New file, for PR/411. 295 2962003-11-21 Alexandre Duret-Lutz <adl@gnu.org> 297 298 * automake.in (append_exeext): Do not append $(EXEEXT) to 299 @substitutions@. 300 * tests/exeext4.test: New file. 301 * tests/Makefile.am (TESTS): Add exeext4.test. 302 3032003-11-19 Alexandre Duret-Lutz <adl@gnu.org> 304 305 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%, 306 mistakenly added on 2001-03-05. 307 * tests/remake5.test: New file. 308 * tests/Makefile.am (TESTS): Add remake5.test. 309 Report from Ralf Corsepius. 310 3112003-11-18 Alexandre Duret-Lutz <adl@gnu.org> 312 313 * configure.ac, NEWS: Bump version to 1.7e. 314 315 * configure.ac, NEWS: Bump version to 1.7d. 316 317 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New 318 upstream versions. 319 3202003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change) 321 Alexandre Duret-Lutz <adl@gnu.org> 322 323 * lib/am/texinfos.am (install-info): Depend on 324 install-info-recursive or install-info-am even if no-installinfo. 325 * tests/txinfo27.test: New file. 326 * tests/Makefile.am (TESTS): Add txinfo26.test. 327 3282003-11-18 Paolo Bonzini <bonzini@gnu.org> 329 Alexandre Duret-Lutz <adl@gnu.org> 330 331 * lib/ylwrap: Do not overwrite headers if they haven't changed. 332 Fix the include guard substitution. 333 * tests/yacc6.test: Augment to run ylwrap, and make sure it 334 does not needlessly update headers. 335 * tests/yacc8.test: Make sure headers are not needlessly updated 336 with ylwrap is not used. Move `test -f foo.o' into the 337 Makefile as `test -f foo.$(OBJEXT)' for portability. 338 3392003-11-17 Alexandre Duret-Lutz <adl@gnu.org> 340 341 * automake.in (generate_makefile): Define SUBDIRS if it is 342 not defined and DIST_SUBDIRS is. 343 * tests/subpkg2.test: New file. 344 * tests/Makefile.am (TESTS): Add subpkg2.test. 345 Report from Gary V. Vaughan. 346 347 * tests/suffix11.test: Check for suffixes containing `-'. 348 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in 349 suffixes. 350 351 * lib/Automake/Rule.pm (define): Suggest using target-local instead 352 of target-am, not target-am-local. 353 * tests/overrid.test: Check the diagnostic for clean-am. 354 Report from Bruno Haible. 355 3562003-11-17 Jim Meyering <jim@meyering.net> 357 358 * bootstrap: Require not only that `perl' have the executable 359 bit set, but also that it is not a directory. 360 361 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'. 362 3632003-11-17 Alexandre Duret-Lutz <adl@gnu.org> 364 365 * automake.in (ac_config_files_location): Declare as a hash. 366 (handle_configure): Rewrite the computation of AC_CONFIG_FILES 367 dependencies; make sure we don't use $(srcdir) or $(top_srcdir) 368 for inputs which are also outputs, and do not check inputs 369 relatively to the current directory. 370 (scan_autoconf_config_files): Take $where as argument, and 371 fill $ac_config_files_location. 372 * tests/output8.test, tests/output9.test: New files. 373 * tests/Makefile.am (TESTS): Add output8.test and output9.test. 374 Report from Bruno Haible. 375 3762003-11-14 Alexandre Duret-Lutz <adl@gnu.org> 377 378 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test, 379 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test, 380 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test, 381 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test, 382 tests/all.test, tests/alpha.test, tests/amassign.test, 383 tests/ammissing.test, tests/ansi.test, tests/ansi10.test, 384 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test, 385 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, 386 tests/ansi7.test, tests/ansi9.test, tests/ar.test, 387 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test, 388 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test, 389 tests/badprog.test, tests/block.test, tests/canon2.test, 390 tests/canon3.test, tests/canon4.test, tests/canon5.test, 391 tests/ccnoco.test, tests/check.test, tests/check2.test, 392 tests/check3.test, tests/checkall.test, tests/clean.test, 393 tests/colneq2.test, tests/colon.test, tests/colon2.test, 394 tests/colon3.test, tests/colon4.test, tests/colon5.test, 395 tests/colon6.test, tests/colon7.test, tests/comment.test, 396 tests/comment2.test, tests/comment4.test, tests/comment6.test, 397 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test, 398 tests/cond10.test, tests/cond11.test, tests/cond13.test, 399 tests/cond14.test, tests/cond15.test, tests/cond16.test, 400 tests/cond17.test, tests/cond18.test, tests/cond19.test, 401 tests/cond21.test, tests/cond22.test, tests/cond25.test, 402 tests/cond26.test, tests/cond28.test, tests/cond3.test, 403 tests/cond4.test, tests/cond5.test, tests/cond6.test, 404 tests/cond7.test, tests/cond8.test, tests/cond9.test, 405 tests/condd.test, tests/condinc.test, tests/condlib.test, 406 tests/condman.test, tests/condman2.test, tests/conf2.test, 407 tests/confdeps.test, tests/confh.test, tests/confh4.test, 408 tests/config.test, tests/confincl.test, tests/conflnk.test, 409 tests/conflnk2.test, tests/confsub.test, tests/confvar.test, 410 tests/confvar2.test, tests/copy.test, tests/ctarget1.test, 411 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test, 412 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test, 413 tests/cxxo.test, tests/cygwin32.test, tests/dash.test, 414 tests/defun.test, tests/defun2.test, tests/dejagnu.test, 415 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test, 416 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test, 417 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test, 418 tests/depdist.test, tests/depend.test, tests/depend2.test, 419 tests/depend3.test, tests/depend4.test, tests/destdir.test, 420 tests/dirlist.test, tests/discover.test, tests/distcom.test, 421 tests/distcom2.test, tests/distdir.test, tests/distname.test, 422 tests/dollar.test, tests/double.test, tests/dup2.test, 423 tests/empty.test, tests/empty2.test, tests/empty3.test, 424 tests/empty4.test, tests/error.test, tests/exdir.test, 425 tests/exeext.test, tests/exeext3.test, tests/exsource.test, 426 tests/ext.test, tests/ext2.test, tests/extra.test, 427 tests/extra2.test, tests/extra3.test, tests/extra4.test, 428 tests/extra5.test, tests/extra6.test, tests/extra7.test, 429 tests/flibs.test, tests/fnoc.test, tests/fo.test, 430 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, 431 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test, 432 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test, 433 tests/header.test, tests/implicit.test, tests/include.test, 434 tests/include2.test, tests/info.test, tests/insh2.test, 435 tests/install2.test, tests/installdir.test, tests/instdat.test, 436 tests/instdat2.test, tests/instexec.test, tests/insthook.test, 437 tests/instman.test, tests/instman2.test, tests/instsh.test, 438 tests/instsh2.test, tests/interp.test, tests/interp2.test, 439 tests/java.test, tests/java2.test, tests/javaprim.test, 440 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, 441 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test, 442 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test, 443 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, 444 tests/library.test, tests/libtool.test, tests/libtool2.test, 445 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test, 446 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test, 447 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test, 448 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, 449 tests/maintclean.test, tests/make.test, tests/makej.test, 450 tests/makevars.test, tests/man.test, tests/man2.test, 451 tests/mclean.test, tests/mdate.test, tests/mdate2.test, 452 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test, 453 tests/mkinstall.test, tests/nobase.test, tests/nodef.test, 454 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test, 455 tests/nodist.test, tests/nodist2.test, tests/nodist3.test, 456 tests/noinst.test, tests/noinstdir.test, tests/nolink.test, 457 tests/nostdinc.test, tests/number.test, tests/obsolete.test, 458 tests/order.test, tests/outdir.test, tests/output.test, 459 tests/output2.test, tests/output3.test, tests/output4.test, 460 tests/parse.test, tests/phony.test, tests/pluseq.test, 461 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test, 462 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test, 463 tests/postproc.test, tests/ppf77.test, tests/pr2.test, 464 tests/pr204.test, tests/pr220.test, tests/pr224.test, 465 tests/pr229.test, tests/pr243.test, tests/pr266.test, 466 tests/pr279-2.test, tests/pr279.test, tests/pr287.test, 467 tests/pr300-lib.test, tests/pr300-ltlib.test, 468 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test, 469 tests/pr87.test, tests/pr9.test, tests/prefix.test, 470 tests/proginst.test, tests/python.test, tests/python3.test, 471 tests/python4.test, tests/python5.test, tests/python6.test, 472 tests/python7.test, tests/python8.test, tests/python9.test, 473 tests/recurs2.test, tests/remake.test, tests/remake2.test, 474 tests/remake3.test, tests/req.test, tests/reqd.test, 475 tests/rulepat.test, tests/scripts.test, tests/sinclude.test, 476 tests/space.test, tests/specflg3.test, tests/specflg6.test, 477 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, 478 tests/spell3.test, tests/spelling.test, tests/spy.test, 479 tests/stamph2.test, tests/stdlib2.test, tests/strip.test, 480 tests/subcond.test, tests/subcond2.test, tests/subcond3.test, 481 tests/subdir.test, tests/subdir2.test, tests/subdir3.test, 482 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, 483 tests/subdirbuiltsources.test, tests/subobj.test, 484 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, 485 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, 486 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, 487 tests/subpkg.test, tests/subst.test, tests/substref.test, 488 tests/suffix.test, tests/suffix10.test, tests/suffix2.test, 489 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, 490 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, 491 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test, 492 tests/tags.test, tests/tagsub.test, tests/target-cflags.test, 493 tests/transform.test, tests/txinfo.test, tests/txinfo10.test, 494 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test, 495 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test, 496 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test, 497 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test, 498 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test, 499 tests/unused.test, tests/vars.test, tests/vars3.test, 500 tests/vartar.test, tests/version.test, tests/version2.test, 501 tests/version4.test, tests/version6.test, tests/version7.test, 502 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, 503 tests/werror.test, tests/whoami.test, tests/yacc.test, 504 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test, 505 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test, 506 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer 507 to Automake, not autoconf. 508 509 Fix for PR automake/408: 510 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix 511 from $file, as already done for dist-info. 512 * tests/Makefile.am (TESTS): Add txinfo26.test. 513 * tests/txinfo26.test: New file. 514 Report from Nicholas Wourms. 515 5162003-11-13 Alexandre Duret-Lutz <adl@gnu.org> 517 518 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before 519 running AC_CHECK_PROGS(EMACS). 520 * lib/am/lisp.am (elc-stamp): Quote $(EMACS). 521 Report from Jens Petersen. 522 523 * tests/mkinst2.test: Rewrite. 524 525 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND. 526 5272003-11-12 Alexandre Duret-Lutz <adl@gnu.org> 528 529 * automake.in (scan_autoconf_traces): Honor sinclude. 530 * tests/sinclude.test: Check for sinclude. 531 Report from Roberto Bagnara. 532 5332003-11-11 Alexandre Duret-Lutz <adl@gnu.org> 534 535 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck' 536 already build the tarballs. Commit files right before tagging. 537 Check NEWS before running distcheck. 538 539 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space. 540 541 * configure.ac, NEWS: Bump version to 1.7c. 542 543 * configure.ac, NEWS: Bump version to 1.7b. 544 * Makefile.am (maintainer-check): Ignore comments while 545 scanning for rm without -f. 546 547 * Makefile.am (fetch): Get all files from savannah. Do not 548 postprocess Struct.pm and XFiles.pm, since we now are the master 549 of these. 550 * lib/config.sub, lib/config.guess, lib/config-ml.in, 551 lib/texinfo.tex: New upstream versions. 552 553 * configure.ac: Check that autoconf is installed, that it works, 554 and that it is recent enough in three steps, not one. 555 556 * NEWS: Minor edits. 557 558 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ... 559 (dist_pkgvdata_DATA): ... here. 560 561 * tests/spy.test: Document overlapping ::-rules incompatibilities, 562 and check only non-overlapping ::-rules. 563 564 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML, 565 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI, 566 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table. 567 (Uniform): Do not speak of missing HTML support, this is 568 confusing. 569 * lib/Automake/Variable.pm (_silent_variable_override): Add 570 AM_MAKEINFOHTMLFLAGS. 571 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and 572 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS. 573 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define. 574 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS. 575 5762003-11-10 Alexandre Duret-Lutz <adl@gnu.org> 577 578 * tests/spy.test: New file. 579 * tests/Makefile.am (TESTS): Add spy.test. 580 581 * automake.in (handle_configure): Distribute and define mkinstalldirs 582 only if it is already present in the package. 583 (scan_autoconf_files): Do not require mkinstalldirs. 584 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). 585 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, 586 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am, 587 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, 588 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). 589 * m4/mkdirp.m4: New file. 590 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. 591 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. 592 * tests/Makefile.am (TESTS): Remove insh.test. 593 * tests/insh.test: Delete. 594 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. 595 * tests/auxdir.test: Install mkinstalldirs. 596 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use 597 $(mkdir_p), not $(mkinstalldirs). 598 * tests/empty.test: Run configure, do not substitute things by hand. 599 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh 600 as an example, not mkinstalldirs. 601 (Auxiliary Programs) <mkinstalldirs>: Update. 602 603 * tests/defs.in: Handle required=bzip2. 604 605 * tests/defs.in: Export SHELL. 606 * tests/cond11.test: Missing quotes. 607 * tests/nogzip2.test: Require bzip2. 608 6092003-11-09 Alexandre Duret-Lutz <adl@gnu.org> 610 611 * NEWS: Add news entries from 1.6.x and 1.7.x. 612 613 * automake.texi (Optional) <AC_SUBST>: Grammar fixes. 614 615 * automake.in (check_gnu_standards): Install COPYING only if 616 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not 617 overwrite the license otherwise. 618 * tests/Makefile.am (TESTS): Add license.test. 619 * tests/license.test: New file. 620 621 * lib/mkinstalldirs: Mention automake-patches@gnu.org and 622 bug-automake@gnu.org. 623 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh: 624 Likewise. Also add support for --help and --version. 625 * lib/py-compile, lib/ylwrap: Likewise, and reindent. 626 6272003-11-08 Alexandre Duret-Lutz <adl@gnu.org> 628 629 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove. 630 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove. 631 * lib/am/java.am (JAVACFLAGS): Remove. 632 * tests/dejagnu3.test: Check that the environment value 633 of RUNTESTFLAGS get passed down to runtest. 634 Suggested by Mark Mitchell. 635 636 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) 637 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this 638 breaks `make -s'. Instead, fold the compile command on two lines, 639 so that it take less space on the display. 640 Suggested by Karl Berry and William Fulton. 641 642 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ... 643 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC? 644 to select $(srcdir) or `.' builds. 645 (INFO_DEPS): Define here. 646 * lib/am/texinfos.am (dist-info): Strip filename starting with 647 "$(srcdir)/". 648 * automake.in (output_texinfo_build_rules): Take a new argument 649 $insrc, and adjust substitutions in 'texibuild'. 650 (handle_texinfo_helper): Compute a regex of all user-cleaned 651 files, and use this to select whether to build .info files in `.' 652 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle. 653 Alway build the version.texi and stamp files in $(srcdir). Do not 654 define INFO_DEPS. 655 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test, 656 and txinfo25.test. 657 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test: 658 New files. 659 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test, 660 tests/vtexi.test: Adjust to new rules. 661 6622003-11-05 Alexandre Duret-Lutz <adl@gnu.org> 663 664 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58. 665 * configure.ac: Require Autoconf 2.58a, and check for 2.58. 666 6672003-10-27 Alexandre Duret-Lutz <adl@gnu.org> 668 669 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%. 670 * tests/Makefile.am (TESTS): Add autohdr3.test 671 * tests/autohdr3.test: New file. 672 673 * automake.in (handle_configure): Rename am__configure_deps 674 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and 675 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps 676 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define 677 ACLOCAL_M4_DEPS while processing configure.am. 678 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused. 679 (scan_aclocal_m4): Do not distribute aclocal.m4, this 680 is done from lib/am/configure.am. 681 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON, 682 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using 683 $(am__configure_deps) or $(am__aclocal_m4_deps). 684 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise. 685 6862003-10-26 Alexandre Duret-Lutz <adl@gnu.org> 687 688 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on 689 $(am__configure_deps). 690 691 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS 692 sources, and without using require_file. Define %CONFIG_H_DEPS% 693 and %FIRST_CONFIG_HIN% while processing remake-hdr.am. 694 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead 695 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN% 696 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%). 697 * tests/autohdr4.test: New file. 698 * tests/Makefile.am (TESTS): Add autohdr4.test. 699 * tests/config.test: Do not grep, run things to see if they work. 700 7012003-10-25 Alexandre Duret-Lutz <adl@gnu.org> 702 703 * tests/output7.test: Populate sub/ with a dummy file, so that it 704 is not empty. This fixes a failure reported by Patrick Welche. 705 * lib/am/distdir.am: Add note about tar's `-o' option and empty 706 directories. 707 7082003-10-24 Didier Cassirame <faded@free.fr> (tiny change) 709 710 * lib/ylwrap: Typo in regex. 711 7122003-10-23 Paul Eggert <eggert@twinsun.com> 713 714 * lib/Automake/XFile.pm: Don't assume -j is solo. 715 Issue a more-informative diagnostic. 716 Problems reported by Eric Sunshine. 717 7182003-10-21 Alexandre Duret-Lutz <adl@gnu.org> 719 720 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs. 721 Always define lispdir. 722 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check 723 $(EMACS) to decide whether _LISP files must be installed, 724 not $(lispdir). 725 * doc/automake.texi (Emacs Lisp): Mention the two ways to install 726 non byte-compiled Emacs lisp files. 727 * tests/lisp4.test, tests/lisp5.test: Check "make install" 728 when EMACS=no. 729 Suggested by Simon Josefsson. 730 731 * NEWS: Clarify the entry about multiple conditional definitions 732 of _PROGRAMS, _LDADD, and _LIBADD. 733 Report from Simon Josefsson. 734 735 * lib/am/install.am (install-strip): Override install_sh_PROGRAM 736 too. 737 Report from Elmar Hoffmann. 738 7392003-10-07 Alexandre Duret-Lutz <adl@gnu.org> 740 741 * aclocal.in ("MAIN", usage, parse_arguments): Move near 742 the end, so "MAIN" can use prototypes. 743 (scan_configure): Move later too, for the sake of prototypes. 744 (scan_configure_dep): Fix setting of $scanned_configure_dep. 745 (trace_used_macros): Do not take any argument. 746 7472003-10-06 Alexandre Duret-Lutz <adl@gnu.org> 748 749 * tests/stdlib2.test: Check AM_LDFLAGS alone. 750 751 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream 752 versions. 753 754 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'. 755 * tests/stdlib2.test: New file. 756 * tests/Makefile.am (TESTS): Add stdlib2.test. 757 Report from Kevin P. Fleming. 758 7592003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) 760 761 * tests/defs.in: For required=runtest, check that we are using 762 a DejaGnu that supports specifying the program on the command-line. 763 7642003-10-03 Alexandre Duret-Lutz <adl@gnu.org> 765 766 For Debian Bug #213524: 767 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge 768 stderr and stdout, and grep only the first line while testing 769 install-info --version's output. This revert part of the change 770 from 2001-05-18. 771 7722003-10-01 Akim Demaille <akim@epita.fr> 773 774 * m4/amversion.in: Add (C) to the Copyright notice. 775 7762003-10-01 Paul Eggert <eggert@twinsun.com> 777 778 * lib/Automake/XFile.pm: Use Errno. 779 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in 780 <https://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>. 781 7822003-09-30 Tom Tromey <tromey@redhat.com> 783 784 * lib/Automake/Options.pm (_process_option_list): Recognize 785 no-dist. 786 * NEWS: Update. 787 * doc/automake.texi (Options): Document no-dist. 788 * automake.in (check_cygnus): Set no-dist option. 789 (handle_dist): Recognize no-dist. 790 * tests/nodist3.test: New file. 791 * tests/Makefile.am (TESTS): Added nodist3.test. 792 7932003-09-29 Alexandre Duret-Lutz <adl@gnu.org> 794 795 * automake.in (handle_clean): Take $makefile as argument, and 796 define %MAKEFILE% while processing clean.am. 797 (generate_makefile): Pass $makefile to handle_clean. 798 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%, 799 not Makefile. 800 * tests/gnumake.test: New file. 801 * tests/Makefile.am (TESTS): Add gnumake.test. 802 Report from Braden N. McDaniel. 803 8042003-09-26 Alexandre Duret-Lutz <adl@gnu.org> 805 806 * doc/automake.texi (Scripts): Update the example about automake. 807 Mention `dist_' for distributed scripts. 808 809 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir. 810 Suggested by Eric Sunshine. 811 8122003-09-25 Alexandre Duret-Lutz <adl@gnu.org> 813 814 * README: More mailing lists. 815 816 * NEWS: Mention the switch to GNU FDL for the manual. 817 8182003-09-24 Alexandre Duret-Lutz <adl@gnu.org> 819 820 * lib/install-sh (src, dst): Protect names starting with `-', 821 as in mkinstalldirs. 822 823 * configure.in: Rename as ... 824 * configure.ac: ... this. 825 * README: s/configure.in/configure.ac/. 826 827 * doc/fdl.texi: New file. 828 * doc/Makefile.am (automake_TEXINFOS): New variable. 829 * doc/automake.texi (Copying This Manual): New appendix, include 830 fdl.texi. 831 (Macro and Variable Index, General Index): Move as subsections of ... 832 (Indices): This new appendix. 833 834 * doc/automake.texi: Refer to configure.ac instead of configure.in. 835 836 * automake.texi: Move ... 837 * doc/automake.texi: ... here. 838 * doc/Makefile.am: New file. 839 * configure.in: Output doc/Makefile. 840 * Makefile.am (SUBDIRS): Add doc. 841 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am. 842 8432003-09-23 Alexandre Duret-Lutz <adl@gnu.org> 844 845 * aclocal.in (write_aclocal): Consider files with relative 846 paths as local to the project, i.e., subject to m4_include. 847 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include 848 is also used for .m4 files in the outer project. 849 850 Support for multiple inputs in AC_CONFIG_FILES. 851 Requested long ago by Harlan Stenn. 852 * automake.in (handle_dist): Remove unused argument $makefile. 853 (handle_subdirs): Expect SUBDIRS elements in $relative_dir, 854 not $am_relative_dir. 855 (rewrite_inputs_into_dependencies): Allow $add_srcdir to 856 be a filename that must always be prefixed by $(srcdir) or 857 $(top_srcdir). 858 (handle_configure, generate_makefile): Revamp to make the 859 Makefile.am, Makefile.in, Makefile more independent. 860 (locate_am): New function. 861 (scan_configure_dep, parse_arguments): Use locate_am. 862 (MAIN): Adjust call to generate_makefile. 863 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies 864 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%. 865 * tests/output6.test, tests/output7.test: New files. 866 * tests/Makefile.am (TESTS): Add them. 867 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how 868 multiple inputs are scanned. 869 8702003-09-13 Alexandre Duret-Lutz <adl@gnu.org> 871 872 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm 873 and lib/Automake/Struct.pm from Autoconf. 874 * lib/Automake/XFile.pm: Update comment, Automake is now 875 the master for this file. Cosmetic changes. 876 8772003-09-09 Akim Demaille <akim@epita.fr> 878 879 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g. 880 Reported by Gary Vaughan. 881 (&find_file): Walk the @include in forward order. 882 8832003-09-09 Akim Demaille <akim@epita.fr> 884 885 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave 886 trailing files. 887 8882003-09-07 Alexandre Duret-Lutz <adl@gnu.org> 889 890 Changes to m4_included files should also cause aclocal.m4 to change. 891 * aclocal.in (m4_include_rx): New variable. 892 (scan_configure_dep): New function. 893 (scan_configure, add_file): Simplify using scan_configure_dep. 894 * tests/Makefile.am (TESTS): Add acloca13.test. 895 * tests/aclocal13.test: New file. 896 897 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now 898 that we have fake version in the $PATH. 899 900 * aclocal.in (add_file): Remove useless filling of $output, probably 901 left a after CVS conflict. This code is now in write_aclocal. 902 903 * aclocal.in (configure_ac): Do not call require_configure_ac 904 before parsing the options. 905 * automake.in (configure_ac): Likewise. 906 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac, 907 find it. 908 * lib/Automake/Configure_ac.pm (require_configure_ac): 909 find_configure_ac never return an undefined value, so test 910 the file's existence instead. 911 * tests/Makefile.am (TESTS): Add help.test. 912 * tests/help.test: New file. 913 9142003-09-06 Alexandre Duret-Lutz <adl@gnu.org> 915 916 * lib/Automake/XFile.pm: Update to use ChannelDefs. 917 (close): Call Automake::FileUtils::handle_exec_errors on errors. 918 * automake.in (scan_autoconf_files): Exit with $?=63 on version 919 mismatch. 920 (scan_autoconf_traces): Likewise. Close the autoconf pipe to 921 capture abnormal exits. 922 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code 923 instead. 924 (trace_used_macros): Close the autom4te pipe to capture abnormal exits. 925 * lib/missing: When a tool has run and exited with $?=63, emulate 926 it. Adjust the diagnostic and pretend the tool is tool old in this 927 case. Use an emacs-updated "scriptversion" variable. 928 * configure.in: Output tests/aclocal-${APIVERSION} and 929 tests/automake-${APIVERSION}. 930 * tests/aclocal.in, tests/automake.in, 931 tests/missing.test, tests/missing2.test: New files. 932 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define 933 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION. 934 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are 935 already testing for this. 936 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix 937 configure.in so that aclocal works. 938 * tests/defun.test: Quote the AC_DEFUN body. 939 * tests/Makefile.am (TESTS): Add missing.test and missing2.test, 940 and remove dup3.test. 941 (check_SCRIPTS): Add aclocal and automake. 942 943 * tests/unused.test: Quote AC_DEFUN arguments. 944 9452003-09-05 Paul Eggert <eggert@twinsun.com> 946 947 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c, 948 lib/depcomp, lib/missing, lib/py-compile, 949 lib/Automake/Channels.pm, lib/Automake/Rule.pm, 950 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl, 951 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am, 952 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4, 953 m4/python.m4, tests/backsl4.test, tests/defs.in, 954 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test, 955 tests/error.test, tests/getopt.test, tests/gnuwarn.test, 956 tests/include2.test, tests/libobj10.test, tests/libtool5.test, 957 tests/libtool6.test, tests/lisp3.test, tests/phony.test, 958 tests/pr220.test, tests/subcond2.test, tests/subcond3.test, 959 tests/vtexi.test: 960 Spelling and minor grammar fixes. 961 9622003-09-01 Alexandre Duret-Lutz <adl@gnu.org> 963 964 * lib/config.sub, lib/config.guess, lib/texinfo.tex, 965 lib/config-ml.in, lib/symlink-tree: New upstream versions. 966 9672003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change) 968 969 * tests/yacc7.test: Require bison. 970 9712003-08-31 Alexandre Duret-Lutz <adl@gnu.org> 972 973 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN. 974 ($underquoted_manual_once): New variable. 975 * automake.texi (Extending aclocal): Document this. 976 9772003-08-29 Alexandre Duret-Lutz <adl@gnu.org> 978 979 * aclocal.in (@file_order): New variable, to make sure 980 files are output in the opposite order of the -I arguments. 981 (scan_file): Fill it. 982 (trace_used_macros, write_aclocal): Use it. 983 (scan_m4_files): Reverse the directory contents, so that 984 macros from the lexicographically greatest files are preferred. 985 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test: 986 New files. 987 * tests/Makefile.am (TESTS): Add them. 988 9892003-08-24 Alexandre Duret-Lutz <adl@gnu.org> 990 991 For Debian Bug #206299: 992 * automake.in ($configure_deps_greatest_timestamp, 993 $output_deps_greatest_timestamp): New variables. 994 (initialize_per_input): Reset $output_deps_greatest_timestamp. 995 (scan_autoconf_traces, scan_autoconf_files, read_am_file): 996 Update $configure_deps_greatest_timestamp and 997 $output_deps_greatest_timestamp 998 (generate_makefile): Rewrite the logic to decide whether 999 to rewrite the output. Move the leading dup_channel_setup 1000 and trailing drop_channel_setup to MAIN, so that 1001 drop_channel_setup is executed for all exit paths. 1002 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force 1003 * tests/distcom6.test: New file. Report from Scott James Remnant. 1004 * tests/Makefile.am (TESTS): Add distcom6.test. 1005 1006 * configure.in: Require Autoconf 2.57b to be sure 1007 aclocal can use autom4te --language Autoconf-without-aclocal-m4. 1008 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow 1009 calls inside the AM_INIT_AUTOMAKE macro. 1010 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move 1011 AC_PREREQ calls inside the macros. 1012 * m4/header.m4: Remove AC_PREREQ. 1013 1014 * automake.in (file_contents_internal): Do not add newlines before 1015 empty actions. 1016 1017 * aclocal.in (write_aclocal): Take an output file and list of 1018 used macros in arguments and make up the file contents here. 1019 (trace_used_macros): New function. 1020 (add_file): Do not update $output. 1021 ($output): Delete. 1022 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only 1023 for these traced macros. This should shorten aclocal.m4 by 1024 stripping out unused macros. 1025 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}. 1026 * tests/aclibobj.test: Make sure configure.in exists by the time 1027 aclocal runs. 1028 * tests/aclocal8.test: New file. 1029 * tests/Makefile.am (TESTS): Add aclocal8.test. 1030 Suggested by Bruno Haible and Akim Demaille. 1031 10322003-08-21 Akim Demaille <akim@epita.fr> 1033 1034 * lib/Automake/Configure_ac.pm (&find_configure_ac) 1035 (&require_configure_ac): Accept an optional directory argument. 1036 ($configure_ac): Remove. 1037 * aclocal.in, automake.in ($configure_ac): New. 1038 * lib/Automake/Variable.pm: Don't use $configure_ac, just 1039 configure.ac. 1040 10412003-08-20 Akim Demaille <akim@epita.fr> 1042 1043 * lib/Automake/FileUtils.pm: More perldoc. 1044 (&up_to_date_p): New. 1045 10462003-08-17 Alexandre Duret-Lutz <adl@gnu.org> 1047 1048 Fix for PR automake/398: 1049 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already 1050 set. Display `none' instead of `:' and $PYTHON is set to `:' 1051 when no suitable interpreter is found. Honor ACTION-IF-FOUND and 1052 ACTION-IF-NOT-FOUND. 1053 * automake.texi (Python): Document ACTION-IF-FOUND and 1054 ACTION-IF-NOT-FOUND. 1055 * tests/python4.test, tests/python5.test, tests/python6.test, 1056 tests/python7.test, tests/python8.test, tests/python9.test: New 1057 files. 1058 * tests/Makefile.am (TESTS): Add them. 1059 Report from Per Cederqvist. 1060 10612003-08-13 Alexandre Duret-Lutz <adl@gnu.org> 1062 1063 Fix for PR automake/399: 1064 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG. 1065 Report from Per Cederqvist. 1066 10672003-08-12 Raja R Harinath <harinath@acm.org> 1068 1069 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'. 1070 (not): Replace loop with 'map'. 1071 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise. 1072 * lib/Automake/Item.pm (not_alwasy_defined_in_cond): 1073 Don't 'simplify' result of 'invert', since it's already in 1074 canonical form. 1075 * lib/Automake/Rule.pm (define): Replace loop with 1076 'not_always_defined_in_cond'. 1077 1078 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment. 1079 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise. 1080 (define): Reword comment slightly. 1081 * Variable.pm (_var_order, msg_cond_var): Typo in comment. 1082 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid 1083 spurious automake error exit. 1084 10852003-08-12 Alexandre Duret-Lutz <adl@gnu.org> 1086 1087 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files. 1088 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files. 1089 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them. 1090 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef. 1091 (new): Adjust to call Automake::ItemDef::new. 1092 (comment, location, owner): Delete. Now inherited from ItemDef. 1093 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item. 1094 (_new): Adjust to call Automake::Item::new. 1095 (name, def, rdef, _set, conditions, not_always_defined_in_cond): 1096 Delete. How inherited from Item, where `_set' is called `set'. 1097 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule. 1098 (suffix_rules_default): Delete. Now 1099 Automake::Rule::_suffix_rules_default 1100 (suffixes): Delete. Now Automake::Rule::suffixes. 1101 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now 1102 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER. 1103 (%targets, %target_source, %target_name, %target_owner): Delete, 1104 replaced by the Rule and RuleDef classes. 1105 (dependencies, depend, actions): Delete. Now in Automake::Rule. 1106 (suffix_rules, register_suffix_rule): Likewise. 1107 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise. 1108 (known_extensions_list): Delete. Now 1109 Automake::Rule::_known_extensions_list. 1110 (target_conditions): Delete. Now inherited by Automake::Rule 1111 from Automake::Item::conditions. 1112 (rule_define): Delete. Now Automake::Rule::define. Adjust all 1113 callers. 1114 (target_defined): Delete. Now Automake::Rule::rule. Adjust all 1115 callers. 1116 (initialize_per_input): Adjust to call Automake::Rule::reset. 1117 (err_target, err_cond_target, msg_cond_target, msg_target, 1118 reject_target): Delete. Now defined in Automake::Rule as 1119 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target. 1120 Adjust all callers. 1121 (handle_languages): Call suffix_rules_count. 1122 * tests/location.test: Adjust expected diagnostics. We now display 1123 $(EXEEXT) accurately. 1124 11252003-08-10 Alexandre Duret-Lutz <adl@gnu.org> 1126 1127 Revert the fix for PR automake/291: 1128 * lib/Automake/Variable.pm (define): Do not warn about variables 1129 starting with `_' which are an issue on NEWS-OS 4.2R. According 1130 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version 1131 was released on 1996 and is not in wide use. On the other hand, 1132 variables starting with `_' are mandatory in several situations, 1133 so diagnosing them is more annoying than useful. 1134 * tests/canon5.test: Do not use -Wno-portability. 1135 * tests/vars2.test: Delete. 1136 * tests/Makefile.am (TESTS): Remove vars2.test. 1137 Suggested by Jim Meyering. 1138 11392003-08-09 Raja R Harinath <harinath@acm.org> 1140 1141 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly. 1142 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test 1143 Automake::Disjunctions::ambiguous_p. 1144 11452003-08-07 Alexandre Duret-Lutz <adl@gnu.org> 1146 1147 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ... 1148 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here. 1149 * automake.in (rule_define): Adjust usage. 1150 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise. 1151 1152 * lib/Automake/Options.pm: New file. 1153 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm. 1154 * automake.in (FOREIGN, GNU, GNITS, $default_strictness) 1155 ($default_strictness_name, $strictness, $strictness_name) 1156 (%options, %global_options, process_option_list) 1157 (set_strictness): Remove, now in Options.pm. 1158 (initialize_per_input): Call Automake::Options::reset. 1159 (handle_options, get_object_extension, get_object_extension) 1160 (handle_languages, handle_single_transform_list, handle_compile) 1161 (handle_texinfo_helper, handle_man_pages, handle_dist) 1162 (handle_configure, do_check_merge_target) 1163 (handle_factored_dependencies, handle_tests) 1164 (handle_minor_options, scan_autoconf_traces, check_cygnus) 1165 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define) 1166 (make_paragraphs, am_install_var, parse_arguments): Adjust 1167 to set and read options via the new interface. 1168 11692003-08-07 Raja R Harinath <harinath@acm.org> 1170 1171 * Makefile.am (maintainer-check): Update perllibdir. 1172 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too. 1173 (EXTRA_DIST): Add Config.in. 1174 * Makefile.in, lib/Automake/Makefile.in: Regenerate. 1175 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in 1176 $perllibdir. 1177 11782003-08-06 Raja R Harinath <harinath@acm.org> 1179 1180 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory 1181 from the builddir too, to pick up Automake::Config. 1182 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise. 1183 * configure: Regenerate. 1184 * automake.in (BEGIN): Handle multiple directories in $perllibdir. 1185 * aclocal.in (BEGIN): Likewise. 1186 11872003-08-07 Alexandre Duret-Lutz <adl@gnu.org> 1188 1189 * tests/ltcond.test: Thinko. 1190 11912003-08-06 Alexandre Duret-Lutz <adl@gnu.org> 1192 1193 * lib/Automake/Config.in: New file. 1194 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst, 1195 CLEANFILES): New variables. 1196 (Config.pm): New rule. 1197 * Makefile.am (maintainer-check): Adjust expected differences 1198 between automake.in and automake. 1199 * aclocal.in, automake.in: Use Automake::Config. 1200 12012003-08-05 Alexandre Duret-Lutz <adl@gnu.org> 1202 1203 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check. 1204 1205 * automake.in (handle_texinfo_helper): Use the user definition 1206 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR. 1207 * tests/txinfo22.test: New file. 1208 * tests/Makefile.am (TESTS): Add txinfo22.test. 1209 Report from Tom Tromey. 1210 12112003-08-03 Raja R Harinath <harinath@acm.org> 1212 1213 * lib/Automake/Variable.pm (@EXPORT): Remove 1214 traverse_variable_recursively and 1215 require_variables_for_variable. 1216 (require_variables_for_variable, traverse_variable_recursively) 1217 (_traverse_variable_recursively_worker): Convert to 1218 Automake::Variable methods, remove support for being 1219 invoked with variable names, and rename to ... 1220 (requires_variables, traverse_recursively) 1221 (_do_recursive_traversal): ... these. 1222 (_value_as_list_recursive_worker, transform_variable_recursively): 1223 Update to reflect changes. 1224 * automake.in (handle_LIBOBJS, handle_ALLOCA) 1225 (handle_libraries, handle_ltlibraries, am_primary_prefixes): 1226 Likewise. 1227 (define_objects_from_sources): Fix typo in comment. 1228 12292003-08-02 Raja R Harinath <harinath@acm.org> 1230 1231 * automake.in (handle_source_transform): Replace 'grep' with 'map'. 1232 (register_language): Replace 'grep' with 'foreach' modifier. 1233 12342003-08-01 Raja R Harinath <harinath@acm.org> 1235 1236 * lib/Automake/Variables.pm (variables): Return a list of 1237 Automake::Variable instances, not a list of strings. 1238 (dump): Remove support for being invoked with a string. 1239 (variables_dump): Adapt to these changes. 1240 * automake.in (check_typos): Likewise. 1241 (am_primary_prefixes): Likewise. 1242 12432003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) 1244 1245 * lib/depcomp (aix): Support AIX Compiler version 6. 1246 12472003-07-31 Alexandre Duret-Lutz <adl@gnu.org> 1248 1249 * automake.texi (A Shared Library): Rewrite and split into 1250 subsections. Valuable comments from Norman Gray, Harlan Stenn, 1251 Tim Van Holder, and Guido Draheim. 1252 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files. 1253 * tests/Makefile.am (TESTS): Add them. 1254 12552003-07-30 Alexandre Duret-Lutz <adl@gnu.org> 1256 1257 * automake.in (handle_single_transform_list): Complain about 1258 foo.$(OBJEXT) being created both with libtool and without, not 1259 about foo.lo. 1260 Report from Tim Van Holder. 1261 12622003-07-29 Alexandre Duret-Lutz <adl@gnu.org> 1263 1264 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and 1265 symlink-tree. 1266 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New 1267 upstream versions. 1268 12692003-07-28 Alexandre Duret-Lutz <adl@gnu.org> 1270 1271 * automake.in (handle_configure): Cosmetic change to avoid 1272 a maintainer-check complaint. 1273 12742003-07-27 Alexandre Duret-Lutz <adl@gnu.org> 1275 1276 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump. 1277 (variable_dump): Replace by ... 1278 (dump): ... this method. 1279 (rdef, _check_ambiguous_condition): Adjust to use ->dump. 1280 (define, variables_dump): Adjust to use Automake::Variable::dump 1281 1282 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps. 1283 * automake.texi (Built sources example): Adjust example. 1284 12852003-07-26 Alexandre Duret-Lutz <adl@gnu.org> 1286 1287 * automake.in (get_object_extension, handle_languages) 1288 (handle_single_transform_list, handle_compile, handle_compile) 1289 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages) 1290 (handle_tests, handle_minor_options, check_gnu_standards) 1291 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define): 1292 Simplify "if (defined $options{'X'})" into "if ($options{'X'})". 1293 1294 Complete changes from 2003-07-08. 1295 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove, 1296 replaced by $options{'no-dependencies'}. 1297 ($global_options): Remove. 1298 (%global_options): New variable. 1299 (initialize_per_input): Empty %options. 1300 (process_option_list): Take a location and %options ref argument, 1301 process no-dependencies as other options. 1302 (handle_options): Do not reparse the global options, just initialize 1303 %options from %global_options and fill it with local options. 1304 (handle_languages, handle_single_transform_list) 1305 (handle_configure, check_cygnus): Adjust usage of 1306 $options{'no-dependencies'}. 1307 (make_paragraphs): Adjust usage of $options{'cygnus'}. 1308 (parse_arguments): Set cygnus and no-dependencies in %global_options. 1309 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list 1310 to fill %global_options. 1311 13122003-07-25 Alexandre Duret-Lutz <adl@gnu.org> 1313 1314 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to 1315 avoid the use of tar. 1316 13172003-07-24 Alexandre Duret-Lutz <adl@gnu.org> 1318 1319 * tests/gnuwarn2.test: Typo. 1320 1321 * tests/insthook.test: Use $MAKE, not make. 1322 1323 Fix missing rebuilds during `make dist' with BSD make. 1324 * automake.in (generate_makefile): Do not push Makefile.in, and 1325 Makefile.am into DIST_COMMON here. 1326 * lib/am/configure.am (DIST_COMMON): Do it here, and use 1327 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON 1328 actually match the targets. Prefix `configure' with `$(srcdir)/' 1329 to match the target. 1330 * tests/remake4.test: New file. 1331 * tests/Makefile.am (TESTS): Add remake4.test. 1332 Report from Akim Demaille. 1333 13342003-07-23 Alexandre Duret-Lutz <adl@gnu.org> 1335 1336 * automake.in (handle_multilib): Register all-multi. 1337 (file_contents_internal): Insert \n when concatenating actions 1338 from "factored" rules. 1339 * lib/config-ml.in: New file, from GCC, including a patch 1340 from Ralf Corsepius (see GCC's PR 11526). 1341 * lib/symlink-tree.in: New file, from GCC. 1342 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and 1343 symlink-tree. 1344 * lib/am/clean.am (distclean-generic): Do not delete Makefile here... 1345 (distclean, maintainer-clean): ... do it here. 1346 * lib/am/depend.am (distclean-depend): Likewise, replace by 1347 (distclean, maintainer-clean): ... these. 1348 * lib/am/multilib.am (all-recursive, install-recursive, 1349 mostlyclean-recursive, clean-recursive, distclean-recursive, 1350 maintainer-clean-recursive): Remove these rules. 1351 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace 1352 by ... 1353 (mostlyclean, clean, distclean, maintainer-clean): ... these. 1354 (all-am): Remove, done in handle_multilib. 1355 (install-am): Replace by ... 1356 (install-exec-am): ... this. 1357 * tests/Makefile.am (TESTS): Add multlib.test. 1358 * tests/multlib.test: New file, based on a test case by 1359 Ralf Corsepius 1360 13612003-07-23 Tom Tromey <tromey@redhat.com> 1362 1363 * lib/missing (autom4te): Typo. 1364 13652003-07-16 Derek Price <derek@ximbiot.com> 1366 1367 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS. 1368 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to 1369 distclean targets (CONFIG_CLEAN_FILES makefile var). 1370 * NEWS: Note new handling of AC_CONFIG_LINKS. 1371 * automake.texi (Other things Automake recognizes): Ditto. 1372 * tests/Makefile.am (TESTS): Add new tests. 1373 * tests/conflnk.test: New test that links are cleaned on distclean. 1374 * tests/conflnk2.test: New test that source files for links are 1375 distributed. 1376 13772003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) 1378 1379 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to 1380 render $seen_multilib functional again. 1381 13822003-07-10 Raja R Harinath <harinath@cs.umn.edu> 1383 1384 Avoid using refs as hash keys. 1385 * lib/Automake/Variable.pm ($_traversal): New. 1386 (reset): Reset $_traversal. 1387 (_new): New attribute 'scanned'. 1388 (%_vars_scanned): Remove. 1389 (traverse_variable_recursively) 1390 (traverse_variable_recursively_worker): 1391 Use $_traversal instead of %_vars_scanned to detect recursively 1392 defined variables. 1393 1394 * lib/am/configure.am (am--refresh): Silence. 1395 13962003-07-10 Alexandre Duret-Lutz <adl@gnu.org> 1397 1398 * lib/Automake/Variable.pm (define): Make clear the diagnostic 1399 about variable names starting with `_' is about *Make* variables. 1400 1401 For Debian Bug #193907: 1402 * automake.texi (Clean): make maintainer-clean should still 1403 allow ./configure && make to run. 1404 1405 * automake.texi (CVS): Typo. 1406 14072003-07-09 Alexandre Duret-Lutz <adl@gnu.org> 1408 1409 * aclocal.in: Use Automake::FileUtils. 1410 (parse_arguments, scan_configure, scan_m4_files): Never call 1411 "die" to print an error message. Use print and exit. 1412 * automake.in: Use Automake::FileUtils. 1413 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose, 1414 $version, &debug, &getopt, &mktmpdir, &verbose): Remove. 1415 (END): Do not massage Perl's exit code. Do not clean any temporary 1416 directory. 1417 (find_file, mtime, update_file, xsystem, contents): Move to ... 1418 * lib/Automake/FileUtils.pm: ... this new file. Adjust to 1419 report errors using Channels. 1420 (handle_exec_errors, xqx): New functions, from Autoconf. 1421 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm. 1422 1423 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): 1424 Return the empty list on recursively defined variable. This 1425 supersedes my change of 2003-07-02. 1426 14272003-07-08 Akim Demaille <akim@epita.fr> 1428 1429 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}. 1430 Adjust all dependencies. 1431 (&depend): Move next to %dependencies and prototype. 1432 (&initialize_per_input): Initialize the 'cygnus' field of 1433 '%options' to spare the code from 'exists' or 'defined' when 1434 testing it. 1435 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype. 1436 (&parse_arguments): Rename '%options' and '%options_1st_pass' as 1437 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and 1438 inconsistencies. 1439 14402003-07-07 Alexandre Duret-Lutz <adl@gnu.org> 1441 1442 * automake.in (generate_makefile): Move near the end of the 1443 file, after the definition of all called functions, so that 1444 prototypes can be enforced. 1445 14462003-07-06 Akim Demaille <akim@epita.fr> 1447 1448 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive, 1449 install-exec-recursive, install-data-recursive and 1450 uninstall-recursive addition to... 1451 * lib/am/install.am: here. 1452 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY 1453 declaration of RECURSIVE_TARGETS. 1454 14552003-07-06 Akim Demaille <akim@epita.fr> 1456 1457 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED): 1458 New variable type. 1459 Handle it. 1460 * automake.in (&handle_subdirs): Prototype. 1461 Adjust callers. 1462 Make RECURSIVE_TARGETS a VAR_SORTED. 1463 14642003-07-06 Akim Demaille <akim@epita.fr> 1465 1466 * automake.in (&define_files_variable): New. 1467 (&handle_texinfo_helper): Move the handling of user variables from 1468 here, to... 1469 (&handle_texinfo): here. 1470 This is to balance the size of these functions, and to match the 1471 convention of other _helper functions. 1472 (&handle_texinfo_helper): Use &define_files_variable. 1473 Move some code to use less variables. 1474 Rename $info_cursor as $texi. 1475 (&handle_texinfo): Do not call handle_texinfo_helper if there are 1476 no TEXINFOS. 1477 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps 1478 and html. 1479 Remove *-recursive targets from .PHONY, they are part of 1480 $(RECURSIVE_TARGETS) anyway. 1481 (install-info, mostlyclean-aminfo): Are .PHONY. 1482 14832003-07-05 Akim Demaille <akim@epita.fr> 1484 1485 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for 1486 sed complex commands, as required by NetBSD sed. 1487 Reported by Patrick Welche. 1488 14892003-07-05 Alexandre Duret-Lutz <adl@gnu.org> 1490 1491 * lib/config.guess, lib/config.sub: New upstream version. 1492 14932003-07-04 Alexandre Duret-Lutz <adl@gnu.org> 1494 1495 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files 1496 are automatically distributed. 1497 1498 * lib/depcomp (icc): Update to grok ICC 7.1's output. 1499 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation 1500 in a subdirectory, and with many dependencies. This 1501 catches more failures of depcomp. 1502 Reports from Ralf Wildenhues and Akim Demaille. 1503 15042003-07-04 Akim Demaille <akim@epita.fr> 1505 1506 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules, 1507 (&handle_texinfo_helper, &handle_texinfo): Formatting changes. 1508 Prototype properly. 1509 Don't use & when calling functions. 1510 15112003-07-03 Alexandre Duret-Lutz <adl@gnu.org> 1512 1513 * NEWS: Categorize entries. 1514 Suggested by Jim Meyering. 1515 1516 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'. 1517 Ignore @...@ substitutions in comments. 1518 * tests/defs.in: Try to make the shell more POSIX compliant. 1519 (AUTOMAKE_run, AUTOMAKE_fails): New functions. 1520 * tests/README: Mention AUTOMAKE_fails. 1521 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test, 1522 * tests/asm.test, tests/backsl3.test, tests/backsl4.test, 1523 * tests/badline.test, tests/badopt.test, tests/canon.test, 1524 * tests/canon5.test, tests/colneq.test, tests/comment3.test, 1525 * tests/comment5.test, tests/cond2.test, tests/cond20.test, 1526 * tests/cond23.test, tests/cond24.test, tests/cond27.test, 1527 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test, 1528 * tests/dejagnu2.test, tests/dirforbid.test, 1529 * tests/distcom3.test, tests/else.test, tests/exdir2.test, 1530 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test, 1531 * tests/getopt.test, tests/gettext.test, tests/gettext2.test, 1532 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test, 1533 * tests/insh.test, tests/lex2.test, tests/libobj10.test, 1534 * tests/libobj12.test, tests/libobj13.test, 1535 * tests/libobj3.test, tests/library2.test, 1536 * tests/library3.test, tests/libtool4.test, 1537 * tests/libtool6.test, tests/lisp2.test, tests/location.test, 1538 * tests/nogzip2.test, tests/output5.test, tests/overrid.test, 1539 * tests/percent.test, tests/percent2.test, 1540 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test, 1541 * tests/pr211.test, tests/primary.test, tests/primary2.test, 1542 * tests/python2.test, tests/recurs.test, tests/reqd2.test, 1543 * tests/seenc.test, tests/specflg.test, tests/specflg2.test, 1544 * tests/spell.test, tests/spell2.test, tests/srcsub.test, 1545 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test, 1546 * tests/substtarg.test, tests/suffix11.test, 1547 * tests/symlink.test, tests/syntax.test, 1548 * tests/targetclash.test, tests/txinfo4.test, 1549 * tests/version3.test, tests/warnopts.test, 1550 * tests/xsource.test, tests/yacc2.test: Use set -e, 1551 AUTOMAKE_fails, and always grep error message. 1552 1553 * automake.in (handle_ltlibraries): Fix call to msg. 1554 1555 * tests/stamph.test: Delete. 1556 * tests/Makefile.am (TESTS): Remove stamph.test. 1557 1558 * automake.in (handle_single_transform_list): Use $var->name 1559 to print variable in the configure-substitution diagnostic. 1560 Do not mention the parent when it is the variable itself. 1561 1562 * tests/package.test: Delete. 1563 * tests/Makefile.am (TESTS): Remove package.test. 1564 1565 * automake.in (cond_stack_else): Return FALSE if `if' was not 1566 used. 1567 (cond_stack_endif): Return TRUE if `if' was not used. Do not 1568 display $negate and $cond, they are irrelevant and maybe undefined. 1569 15702003-07-02 Alexandre Duret-Lutz <adl@gnu.org> 1571 1572 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): 1573 Do not return undef when a variable is recursively defined, this 1574 causes warnings all over the place. Return the empty string instead. 1575 1576 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES 1577 from empty DIST_ARCHIVES. 1578 15792003-07-01 Alexandre Duret-Lutz <adl@gnu.org> 1580 1581 * automake.in (scan_autoconf_traces): Check the expected 1582 number of arguments of each traced macro. 1583 * tests/overrid.test: Fix call to AM_CONDITIONAL. 1584 * tests/conff2.test: New files. 1585 * tests/Makefile.am (TESTS): Add conff2.test. 1586 Report from Paolo Bonzini. 1587 15882003-06-30 Alexandre Duret-Lutz <adl@gnu.org> 1589 1590 * automake.in ($SUBST_REF_PATTERN): Do not define. 1591 (%gen_varname): Move to Variable.pm, as %_gen_varname. 1592 (initialize_per_input): Do not clean %gen_varname. 1593 (handle_options, check_libobjs_sources, handle_source_transform, 1594 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper, 1595 handle_man_pages, handle_dist, handle_subdirs, handle_gettext, 1596 am_install_var): Adjust to use value_as_list_recursive, 1597 loc_and_value_as_list_recursive, and has_conditional_contents. 1598 (require_file_with_macro): Accept an Automake::Variable as argument. 1599 (traverse_variable_recursively, 1600 traverse_variable_recursively_worker, gen_varname, 1601 transform_variable_recursively): Move ... 1602 * lib/Automake/Variable.pm (traverse_variable_recursively, 1603 _traverse_variable_recursively_worker, 1604 _gen_varname, transform_variable_recursively): ... here. 1605 * automake.in (variable_conditionally_defined, 1606 variable_value_as_list_recursive_worker, 1607 variable_value_as_list_recursive 1608 variable_loc_and_value_as_list_recursive): Move ... 1609 * lib/Automake/Variable.pm (has_conditional_contents, 1610 _value_as_list_recursive_worker, 1611 value_as_list_recursive, loc_and_value_as_list_recursive): ... here. 1612 (reset): Reset %_gen_varname. 1613 (require_variables_for_variable): Accept an Automake::Variable 1614 as argument. 1615 16162003-06-27 Alexandre Duret-Lutz <adl@gnu.org> 1617 1618 * tests/aclocal6.test: Test maintainer-clean in VPATH 1619 builds. (For Ralf's fix.) 1620 16212003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) 1622 1623 * lib/am/configure.am (maintainer-clean): Remove 1624 $(top_srcdir)/autom4te.cache, not autom4te.cache. 1625 16262003-06-27 Akim Demaille <akim@epita.fr> 1627 1628 * automake.texi: Use @node with a single argument. 1629 16302003-06-27 Alexandre Duret-Lutz <adl@gnu.org> 1631 1632 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4. 1633 1634 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir) 1635 at the end of distcheck. This was mistakenly removed on 1636 2003-06-15. 1637 * tests/subpkg.test: Make sure distcheck cleans up after itself. 1638 1639 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ... 1640 ($(top_srcdir)/m4/amversion.m4): ... this. 1641 (DISTCLEANFILES): Remove. 1642 (nodist_m4data_DATA): Remove. amversion.m4 is automatically 1643 distributed. 1644 (EXTRA_DIST): Add amversion.in. 1645 16462003-06-25 Akim Demaille <akim@epita.fr> 1647 1648 * automake.texi (Top): Use @copying and @insertcopying. 1649 Make Alexandre an author. 1650 * automake.in ($gen_copyright): Add the "(C)" to Copyright. 1651 * lib/depcomp: Likewise. 1652 16532003-06-23 Alexandre Duret-Lutz <adl@gnu.org> 1654 1655 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions. 1656 (variable_defined, examine_variable): Remove. 1657 (%_ac_macro_for_var): Add an entry for ALLOCA. 1658 (require_variables): Use vardef instead of variable_defined. 1659 Do not use _cvar. 1660 * automake.in (generate_makefile): Do not push $(SOURCE) into 1661 @sources. Use define_pretty_variable to define SOURCES. 1662 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable 1663 to require LIBOBJS, LTLIBOBJS and ALLOCA. 1664 (handle_programs, handle_ltlibraries): Do not define an empty 1665 _DEPENDENCIES or _LDFLAGS variable when none is defined. 1666 (define_configure_variable): Do not check whether the variable 1667 already exists (it's Automake::Variable::define's job). 1668 (require_build_directory): Likewise, do not check 1669 the existence of am__dirstamp. 1670 (generate_makefile, handle_options, handle_languages) 1671 (check_libobjs_sources, handle_single_transform_list) 1672 (traverse_variable_recursively_worker, handle_source_transform) 1673 (handle_lib_objects, handle_LIBOBJS, handle_compile) 1674 (handle_libtool, handle_programs, handle_libraries) 1675 (handle_ltlibraries, check_typos, handle_texinfo_helper) 1676 (handle_man_pages, handle_tags, handle_dist, handle_subdirs) 1677 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install) 1678 (handle_all, do_check_merge_target, handle_clean, lang_c_finish) 1679 (handle_tests, lang_yacc_target_hook, define_pretty_variable) 1680 (define_compiler_variable, define_linker_variable) 1681 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to 1682 call var, vardef, or set_seen, instead of variable_defined. Use 1683 set_seen only for variables which are actually checked by 1684 check_typos. 1685 * tests/target.test: Delete. 1686 * tests/alloca.test, tests/alloca2.test: New files. 1687 * tests/libobj3.test: Check error message. 1688 * tests/distcom4.test: Make sure configure is in DIST_COMMON. 1689 This replace confdist.test. 1690 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test. 1691 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test. 1692 16932003-06-20 Alexandre Duret-Lutz <adl@gnu.org> 1694 1695 * automake.in (handle_dist): Delete DIST_COMMON before redefining 1696 it. Bug report from Akim Demaille. 1697 (rewrite_inputs_into_dependencies): Make sure we always return 1698 something, even when $add_srcdir is 0. 1699 * tests/distcom4.test, tests/distcom5.test: New files. 1700 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test. 1701 1702 * tests/cond29.test: Also check for _SOURCES. 1703 Report from Paolo Bonzini. 1704 17052003-06-20 Akim Demaille <akim@epita.fr> 1706 1707 * lib/am/configure.am: Replace leading spaces with a real tab. 1708 17092003-06-15 Alexandre Duret-Lutz <adl@gnu.org> 1710 1711 * tests/nogzip.test, tests/nogzip2.test: New files. 1712 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test 1713 17142003-06-15 Akim Demaille <akim@epita.fr> 1715 1716 * automake.in (&make_paragraphs): Define %GZIP%. 1717 (&process_option_list): Accept no-dist-gzip2. 1718 (&handle_dist): Complain when no archive format is enabled. 1719 * lib/am/distdir.am (DIST_ARCHIVES): New variable. 1720 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer 1721 conditioned. 1722 (dist): Build $(distdir).tar.gz conditionally. 1723 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and 1724 to list built archives. Run $(MAKE) dist instead of dist-gzip. 1725 * automake.texi (Options, The types of distributions): Adjust. 1726 17272003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change) 1728 1729 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with 1730 POSIXLY_CORRECT=1. 1731 17322003-06-14 Karl Berry <karl@gnu.org> 1733 Alexandre Duret-Lutz <adl@gnu.org> 1734 1735 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks 1736 to update it each time the file is written, as in install-sh. 1737 (usage): Improve message. 1738 (--version): New option. 1739 (--help): Output to stdout, not stderr. 1740 17412003-06-13 Paul Eggert <eggert@twinsun.com> 1742 1743 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names; 1744 it's not guaranteed by POSIX and it doesn't work on OpenVMS. 1745 Bug reported by Bernard Giroud in: 1746 https://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html 1747 17482003-06-05 Alexandre Duret-Lutz <adl@gnu.org> 1749 1750 * automake.in (check_gnu_standards): Use no-installman and 1751 no-installinfo's locations. 1752 (process_option_list): Fill %options with locations. 1753 (check_cygnus) Fill $options{'no-installinfo'} and 1754 $options{'no-dependencies'} with $cygnus_mode, so that it 1755 remains a Location. 1756 * tests/gnuwarn2.test: New file. 1757 * tests/Makefile.am (TESTS): Add gnuwarn2.test. 1758 17592003-06-04 Alexandre Duret-Lutz <adl@gnu.org> 1760 1761 * automake.in (process_option_list): Record the location 1762 of ansi2knr's definition. 1763 (handle_compile): Use it. 1764 * tests/ansi3.test: Make sure the location appears correctly. 1765 Update to use set -e. 1766 * tests/ansi3b.test: New file. 1767 * tests/Makefile.am (TESTS): Add ansi3b.test. 1768 1769 * tests/alpha.test: Really run $MAKE. Augment to test 1770 subdirectories, and check-news report. 1771 * tests/alpha2.test: New file. Bug report from Akim Demaille. 1772 * tests/gnits2.test: Make sure README-alpha is not distributed. 1773 * tests/Makefile.am (TESTS): Add alpha2.test. 1774 * automake.in (handle_minor_options): Distribute README-alpha 1775 using push_dist_common, not require_file_with_macro. 1776 17772003-06-03 Alexandre Duret-Lutz <adl@gnu.org> 1778 1779 * lib/Automake/Configure_ac.pm 1780 (search_configure_ac, find_configure_ac): Rename as ... 1781 (find_configure_ac, require_configure_ac): ... these. 1782 * aclocal.in (scan_configure): Adjust call to require_configure_ac. 1783 * automake.in (scan_autoconf_files): Likewise. 1784 Suggested by Tim Van Holder. 1785 1786 * alocal.in: Use Automake::Configure_ac. 1787 ($configure_ac): Delete. 1788 (scan_configure): Adjust use of find_configure_ac; 1789 * automake.in: Use Automake::Configure_ac. 1790 ($configure_ac): Delete. 1791 (scan_autoconf_files): Adjust use of find_configure_ac; 1792 * lib/Automake/Configure_ac.pm: New file. 1793 * lib/Automake/General.pm (find_configure_ac): Delete. Now 1794 replaced by Automake::Configure_ac::search_configure_ac. 1795 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm. 1796 * lib/Automake/Variable.pm: Use Automake::Configure_ac. 1797 (require_variables): Adjust use of $configure_ac. 1798 17992003-06-02 Akim Demaille <akim@epita.fr> 1800 1801 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am, 1802 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am, 1803 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am, 1804 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am, 1805 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am, 1806 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am, 1807 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am, 1808 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am, 1809 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am, 1810 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am, 1811 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4, 1812 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4, 1813 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4, 1814 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4, 1815 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4, 1816 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4, 1817 * m4/Makefile.am: White space changes and Copyright updates. 1818 18192003-05-29 Alexandre Duret-Lutz <adl@gnu.org> 1820 1821 * lib/Automake/Variable.pm (check_defined_unconditionally): Add 1822 the $parent_cond argument. 1823 (output): Use $self->name in diagnostic not $self. 1824 (variable_value_as_list): Rename as ... 1825 (value_as_list): ... this. Declare as a method. Take a $parent_cond 1826 argument and pass it to check_defined_unconditionally. Do not call 1827 variable_assert, now that this is a method. 1828 (variable_assert): Delete (unused). 1829 * automake.in (traverse_variable_recursively_worker): Adjust to 1830 use check_defined_unconditionally and value_as_list as a methods. 1831 1832 * lib/Automake/Variable.pm (output): Declare as a method, since it 1833 is only used this way. 1834 (define): Fix documentation of $cond. 1835 Suggested by Raja R. Harinath. 1836 18372003-05-25 Alexandre Duret-Lutz <adl@gnu.org> 1838 1839 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files. 1840 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm 1841 and VarDef.pm. 1842 * automake.in: Use Automake::Variable and Automake::VarDef. 1843 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN. 1844 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var. 1845 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var. 1846 (silent_variable_override): Delete. Now 1847 Automake::Variable::_silent_variable_override. 1848 (var_value, var_location, var_comment, var_type, var_owner, 1849 var_pretty, content_seen): Delete. This functionality is now 1850 offered by Automake::Variable and Automake::VarDef. 1851 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY): 1852 Delete. Now defined in Automake::VarDef. 1853 (var_order): Delete. Now Automake::Variable::_var_order. 1854 (appendvar): Delete. Now Automake::Variable::_appendvar. 1855 (var_SUFFIX_trigger): Register using Automake::Variable::hook. 1856 (initialize_per_input): Call Automake::Variable::reset. 1857 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now 1858 defined in Automake::Variable. 1859 (generate_makefile, process_option_list, handle_languages) 1860 (traverse_variable_recursively_worker) 1861 (transform_variable_recursively, handle_compile) 1862 (handle_libraries, handle_ltlibraries) 1863 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files): 1864 Adjust to use Automake::Variable functions. 1865 (check_ambiguous_condition): Delete. Now 1866 Automake::Variable::_check_ambiguous_condition. 1867 (condition_ambiguous_p): Delete. Now 1868 Automake::Variable::condition_ambiguous_p. 1869 (variable_not_always_defined_in_cond): Delete. Now 1870 Automake::Variable::not_always_defined_in_cond. 1871 (macro_define): Delete. Now Automake::Variable::define. 1872 (macro_delete): Delete. Now Automake::Variable::variable_delete. 1873 (macro_dump): Delete. Now Automake::Variable::variable_dump. 1874 (macros_dump): Delete. Now Automake::Variable::variables_dump. 1875 (variable_defined): Delete. Now 1876 Automake::Variable::variable_defined, with the target check 1877 temporarily disabled. 1878 (variable_assert): Delete. Now Automake::Variable::variable_assert. 1879 (examine_variable): Delete. Now 1880 Automake::Variable::examine_variable. 1881 (variable_conditions): Delete. Now Automake::Variable::conditions. 1882 (scan_variable_expansions): Delete. Now 1883 Automake::Variable::scan_variable_expansions. 1884 (check_variable_expansions): Delete. Now 1885 Automake::Variable::check_variable_expansions. 1886 (check_variable_defined_unconditionally): Delete. Now 1887 Automake::Variable::check_defined_unconditionally. 1888 (variable_value): Delete. Now Automake::Variable::variable_value. 1889 (variable_value_as_list): Delete. Now 1890 Automake::Variable::variable_value_as_list. 1891 (variable_value_as_list_recursive_worker): Adjust to use 1892 Automake::Variable functions. 1893 (variable_output): Delete. Now Automake::Variable::output. 1894 (define_pretty_variable, define_configure_variable, read_am_file) 1895 (define_standard_variables, read_main_am_file): Adjust to use 1896 Automake::Variable functions. 1897 (handle_variables): Delete. Now Automake::Variable::output_variables. 1898 (file_contents_internal, am_primary_prefixes, am_install_var) 1899 (require_file_with_macro, require_conf_file_with_macro) 1900 (push_dist_common): : Adjust to use 1901 Automake::Variable functions. 1902 (require_variables): Delete. Now 1903 Automake::Variable::require_variables. 1904 (require_variables_for_macro): Delete. Now 1905 Automake::Variable::require_variables_for_variable. 1906 * tests/Makefile.am (XFAIL_TESTS): Add target.test. 1907 19082003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change) 1909 1910 * tests/dejagnu7.test: Check if runtest supports --status. 1911 19122003-05-23 Alexandre Duret-Lutz <adl@gnu.org> 1913 1914 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position 1915 is undefined. 1916 1917 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when 1918 $self contains only one Condition. 1919 1920 * automake.in: Use plain strict, including refs. 1921 (macro_define, handle_single_transform_list): Use \&{'name'} to 1922 build references to named subroutines. 1923 19242003-05-22 Karl Berry <karl@gnu.org> 1925 1926 * automake.texi: Update @dircategory to match the Free Software 1927 Directory. End directory entries with dots. 1928 19292003-05-22 Alexandre Duret-Lutz <adl@gnu.org> 1930 1931 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/. 1932 1933 * lib/elisp-comp: s/François/Franc,ois/. 1934 Suggested by Paul Eggert. 1935 1936 * automake.in: Move the "main" code at the end. 1937 (parse_arguments): Move near the end. 1938 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list, 1939 accept_extensions, var_SUFFIXES_trigger): Move these definitions 1940 before any call to register_language. 1941 (am_file): Move the definition with all other global variables, 1942 do not use local to define it. 1943 * Makefile.am (maintainer-check): Expect no `local' in Automake. 1944 19452003-05-21 Alexandre Duret-Lutz <adl@gnu.org> 1946 1947 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files. 1948 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm. 1949 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl. 1950 * automake.in (handle_texinfo_helper, pretty_print_rule) 1951 (variable_output): Adjust to use makefile_wrap instead of 1952 pretty_print_internal. 1953 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap 1954 and augmented to accept the $eol and $max_len arguments. 1955 19562003-05-18 Alexandre Duret-Lutz <adl@gnu.org> 1957 1958 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub, 1959 lib/texinfo.tex: New upstream versions. 1960 19612003-05-17 Alexandre Duret-Lutz <adl@gnu.org> 1962 1963 * lib/am/install.am (install, install-exec, install-data, uninstall): 1964 Declare conditionally using a if/else/endif block instead of 1965 using ?SUBDIRS?-style conditions. The latter fail when 1966 %maybe_BUILT_SOURCES% is replaced by several lines. 1967 This fixes a bug introduced on 2003-04-06. 1968 * tests/bsource.test: New file. 1969 * tests/Makefile.am (TESTS): Add bsource.test. 1970 Reported by Bruno Haible. 1971 19722003-05-11 Alexandre Duret-Lutz <adl@gnu.org> 1973 1974 * automake.texi (renamed objects): New node. 1975 (Program and Library Variables): Move maude_DEPENDENCIES closer 1976 to maude_LDADD. Define and use `per-target compilation flags' in the 1977 explanation for maude_CFLAGS et al. Link to the `renamed objects' 1978 node. Illustrate maude_SHORTNAME. 1979 19802003-05-09 Alexandre Duret-Lutz <adl@gnu.org> 1981 1982 * lib/install-sh: Update copyright notice and license to that of 1983 X11R6. This removes an advertising clause reported as Debian bug 1984 #191717. 1985 19862003-05-07 Alexandre Duret-Lutz <adl@gnu.org> 1987 1988 * configure.in (ACLOCAL): Do not use -I, --acdir is enough. 1989 1990 * m4/make.m4: Rename the doit target as am__doit, 1991 and make it phony. 1992 Reported by Philip S Tellis. 1993 19942003-05-07 Alexandre Duret-Lutz <adl@gnu.org> 1995 1996 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit 1997 status. 1998 * tests/makej.test: New file (test Autom4te's cache locking, 1999 new in CVS Autoconf). 2000 * tests/Makefile.am (TESTS): Add makej.test. 2001 20022003-05-06 Alexandre Duret-Lutz <adl@gnu.org> 2003 2004 * lib/Automake/General.pm (contents): New function. 2005 * aclocal.in (greatest_mtime, force_output): New globals. 2006 (scan_configure, add_file): Update $greatest_mtime. 2007 (parse_arguments): Parse --force. 2008 (write_aclocal): Do not overwrite $output_file unless needed. 2009 * automake.texi (aclocal options): Document --force. 2010 * tests/aclocal7.test: New file. 2011 * tests/Makefile.am (TESTS): Add aclocal7.test. 2012 20132003-05-05 Alexandre Duret-Lutz <adl@gnu.org> 2014 2015 * automake.texi (Optional): Document m4_include. 2016 (Invoking aclocal): Shake a bit to introduce the various uses 2017 of aclocal and explain that aclocal will use m4_include for 2018 local files. 2019 (Extending aclocal): Show how to install installable macros 2020 in $(datadir)/aclocal, and make it clearer that writing installable 2021 macros is not the only way to extend aclocal. 2022 (Local Macros, Future of aclocal): New sections. 2023 20242003-04-27 Alexandre Duret-Lutz <adl@gnu.org> 2025 2026 * automake.in (@common_files): Remove acinclude.m4 since 2027 it will be m4_included by aclocal.m4 and files are always 2028 distributed. 2029 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore. 2030 We will get this dependency when tracing m4_includes. 2031 * tests/aclocal6.test: Make sure acinclude.m4 is distributed 2032 when used. 2033 * tests/acinclude.test: Delete. 2034 * tests/Makefile.am (TESTS): Remove acinclude.test. 2035 20362003-04-25 Alexandre Duret-Lutz <adl@gnu.org> 2037 2038 * automake.in (handle_configure): Don't add @configure_deps to 2039 DIST_COMMON, we do this from lib/am/configure.am now. 2040 Define the am__configure_deps variable instead of substituing 2041 %CONFIGURE_DEPS%. 2042 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure, 2043 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%. 2044 (DIST_COMMON): Add $(am__configure_deps). 2045 2046 * tests/aclocal6.test: New file. 2047 * lib/am/configure.am (am--refresh): New rule. 2048 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status, 2049 $(top_srcdir)/configure): Call the top-level am--refresh from 2050 subdirectories. 2051 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the 2052 top-level am--refresh when not in the top-level directory. 2053 Fix jump directories for VPATH builds. 2054 Suggested by Raja R. Harinath. 2055 20562003-04-24 Alexandre Duret-Lutz <adl@gnu.org> 2057 2058 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS 2059 and glob for m4_files (We've got all local m4 files while 2060 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete. 2061 Distribute aclocal.m4 only at the top-level. 2062 (my_glob): Remove. This fixes PR automake/11. 2063 (handle_dist): Strip leading `./' from directories. 2064 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead 2065 of copying local files. 2066 (write_aclocal, parse_arguments): Bump copyright date. 2067 * configure.in: De not build m4/amversion.m4 from here ... 2068 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here. 2069 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead 2070 of amversion.m4. 2071 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test. 2072 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice. 2073 * tests/aclocal2.test: Delete (pointless). 2074 * tests/aclocal5.test: Make sure configure's dependencies are 2075 distributed. 2076 * tests/acinclude.test: Adjust to search for m4_include. 2077 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep 2078 configure instead of aclocal.m4. 2079 2080 For PR automake/46: 2081 * automake.in (scan_aclocal_m4): Work in all directories, not only 2082 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4 2083 dependency. 2084 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)): 2085 Define rebuild rules in each directory. 2086 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies 2087 from the top-level directory. 2088 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies 2089 from a subdirectory. 2090 * tests/Makefile.am (TESTS): Add aclocal5.test. 2091 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test. 2092 20932003-04-24 Akim Demaille <akim@epita.fr> 2094 Alexandre Duret-Lutz <adl@gnu.org> 2095 2096 For PR automake/46: 2097 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt 2098 because of one of configure's dependencies, run automake without 2099 argument to update the whole tree at once. Depend upon 2100 %CONFIGURE_DEPS%. 2101 (%MAKEFILE%): If Makefile is rebuilt because config.status has 2102 been updated, run config.status without arguments. 2103 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir) 2104 before all files in @configure_deps. 2105 * tests/subdir5.test: Modernize configure.in, make sure 2106 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%. 2107 * tests/subdir8.test: New file. 2108 * tests/Makefile.am (TESTS): Add subdir8.test. 2109 (XFAIL_TESTS): Replace subdir5.test by subdir8.test. 2110 21112003-04-23 Alexandre Duret-Lutz <adl@gnu.org> 2112 2113 * automake.texi (Requirements): Typo in index 2114 s/AC_CONFIG_FILE/AC_CONFIG_FILES/. 2115 2116 * lib/texinfo.tex: New upstream version. 2117 21182003-04-21 Jim Meyering <jim@meyering.net> 2119 2120 * lib/mkinstalldirs: Remove each sequence of spaces before a 2121 TAB character. 2122 * lib/depcomp: Search for TAB-SPC, not SPC-TAB. 2123 21242003-04-19 Alexandre Duret-Lutz <adl@gnu.org> 2125 2126 Fix for PR automake/389: 2127 * automake.in (handle_configure): Don't put $colon_infile in 2128 CONFIG-MAKEFILE. 2129 * tests/conff.test: New file. 2130 * tests/Makefile.am (TESTS): Add conff.test. 2131 Reported by Alexander Turbov. 2132 21332003-04-18 Alexandre Duret-Lutz <adl@gnu.org> 2134 2135 * tests/defs.in: Handle required=etags to work around 2136 Exuberant Ctags. 2137 2138 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream 2139 versions. 2140 2141 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test: 2142 Distribute dejagnu test cases, so that distcheck actually runs them. 2143 21442003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk> 2145 2146 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp, 2147 because we set that by invoking runtest with --tool. 2148 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test, 2149 dejagnu6.test, dejagnu7.test. 2150 * tests/dejagnu4.test: New test. 2151 * tests/dejagnu5.test: New test. 2152 * tests/dejagnu6.test: New test. 2153 * tests/dejagnu7.test: New test. 2154 2155 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run. 2156 21572003-04-18 Jim Meyering <jim@meyering.net> 2158 2159 * automake.in (variable_output): Fix typo in comment s/is/if/. 2160 2161 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect 2162 directly to $@. Instead, redirect to $@t and rename upon success. 2163 Also, move the commands that update $@ so they are last. Otherwise, 2164 this rule could leave the user with an up to date target (.c file) 2165 but with a missing or corrupted corresponding .h file. 2166 21672003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk> 2168 2169 * tests/defs.in: Handle required=runtest, to detect runtest 2170 from DejaGnu. 2171 * tests/Makefile.am (TESTS): Add dejagnu3.test. 2172 * tests/dejagnu3.test: New test. 2173 21742003-04-16 Alexandre Duret-Lutz <adl@gnu.org> 2175 2176 * automake.in (rule_define): If the user tries to override 2177 an Automake which has a -local variant, suggest using the 2178 -local variant in the -Woverride diagnostic. 2179 (handle_factored_dependencies): Register factored 2180 rules with rule_define, and define them only in undefined 2181 conditions. 2182 * tests/Makefile.am (TESTS): Add override.test. 2183 * tests/overrid.test: New file. 2184 * tests/phony.test: Count the number of .PHONY targets. 2185 21862003-04-15 Alexandre Duret-Lutz <adl@gnu.org> 2187 2188 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence 2189 these rules, so that we don't confuse users by echoing 2190 "echo ERROR:" commands which are not run. 2191 21922003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk> 2193 Alexandre Duret-Lutz <adl@gnu.org> 2194 2195 * automake.in (output_texinfo_build_rules, handle_texinfo_helper, 2196 initialize_per_input): Add infrastructure for generating HTML 2197 documentation from texinfo source. 2198 * lib/am/texinfos.am: Add rules for building HTML documentation 2199 from texinfo source. 2200 * lib/am/texibuild.am: Likewise. 2201 * automake.texi (Texinfo): Document rules for building 2202 HTML documentation from texinfo source. 2203 * tests/txinfo21.test: New file. 2204 * tests/Makefile.am (TESTS): Add txinfo21.test. 2205 * tests/defs.in: Handle required=makeinfo-html. 2206 22072003-04-14 Alexandre Duret-Lutz <adl@gnu.org> 2208 2209 * automake.in (%silent_variable_override): New variable. 2210 (macro_define): Warn about variable definitions overriding 2211 Automake variables. 2212 (rule_define): Warn about target definitions overriding 2213 Automake variables. Fix $condmsg definition. 2214 * automake.texi (Invoking Automake): Document the `override' 2215 category. 2216 * lib/Automake/ChannelDefs.pm (usage): Likewise. 2217 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define, 2218 this is already done in m4/init.m4. 2219 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use 2220 -Wno-override, and make sure we get a warning without. 2221 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override, 2222 and make sure we get a warning without. 2223 * tests/exeext3.test, tests/java2.test, tests/nolink.test, 2224 tests/subpkg.test, tests/vartest.test: Use -Wno-override. 2225 * tests/txinfo13.test: Use installcheck-local instead of overriding 2226 installcheck. 2227 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test 2228 used to succeed thanks to a failure...) 2229 * tests/location.test: Adjust expected messages. 2230 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test. 2231 22322003-04-12 Raja R Harinath <harinath@acm.org> 2233 2234 * lib/Automake/DisjConditions.pm (true): Don't cache answer. 2235 (invert): Update comment. 2236 (_simplify): Remove. 2237 (simplify): Implement using invert(). 2238 * lib/Automake/tests/DisjConditions.pl (test_simplify): 2239 Update to reflect changes. 2240 22412003-04-12 Alexandre Duret-Lutz <adl@gnu.org> 2242 2243 * automake.in (scan_autoconf_files): Augment the error message 2244 about AM_INIT_AUTOMAKE not found. 2245 Suggested by Bruno Haible. 2246 2247 * lib/Automake/Version.pm: New file. 2248 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm. 2249 * lib/Automake/tests/Version.pl: New file. 2250 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl. 2251 * tests/Makefile.am (TESTS): Remove version5.test. 2252 * tests/version5.test: Delete. Move the tests to Version.pl. 2253 * automake.in (version_split, version_compare, version_check): Move ... 2254 * lib/Automake/Version.pm (split, compare, check): ... here. 2255 22562003-04-11 Alexandre Duret-Lutz <adl@gnu.org> 2257 2258 * lib/Automake/tests/Condition.pl (test_reduce_and) 2259 (test_reduce_or): Cosmetics. 2260 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions): 2261 Fix a comment. 2262 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...> 2263 in comment. 2264 * tests/yacc8.test, configure.in: Update copyright year. 2265 22662003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk> 2267 2268 * configure.in: Get the build platform name. Define 2269 MODIFICATION_DELAY as the time to wait after modifying a file, 2270 to cope with timestamp granularity issues, depending 2271 on the platform. 2272 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY. 2273 22742003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change) 2275 2276 * automake.texi (Public macros): Clarify that the new 2277 AM_INIT_AUTOMAKE variant is preferred, and the old one 2278 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item. 2279 (Hello): Caution that the example uses the deprecated 2280 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion. 2281 22822003-04-10 Alexandre Duret-Lutz <adl@gnu.org> 2283 2284 Retain all variable definitions until the whole Makefile.am has 2285 been processed, then output all variables in one step, at the top 2286 of Makefile.in. (Older revisions used to output user variables 2287 before generating Automake targets, and to mix Automake variables 2288 with Automake targets, preventing redefinitions of previously 2289 output variables.) 2290 2291 * automake.in (%var_pretty): New variable. 2292 (VAR_ASIS, VAR_PRETTY): New constants. 2293 (@var_list): Rename as ... 2294 (@var_order): ... this. 2295 (initialize_per_input): Clear %var_pretty. 2296 (handle_variables): New function, extracted from ... 2297 (read_main_am_file): ... here. 2298 (generate_makefile): Call handle_variable after everything else. 2299 (handle_dist): Use define_pretty_variable, not pretty_print. 2300 (pretty_print): Delete. 2301 (macro_define): Augment with $COMMENT and $PRETTY parameters. 2302 Update %var_comment, %var_pretty, and @var_order. Adjust callers. 2303 (variable_pretty_output): Merge with ... 2304 (variable_output): ... this, and choose the prettiness on a 2305 per-condition basis. 2306 (append_comments): Delete. This work is now done by macro_define. 2307 (read_am_file, file_contents_internal): Don't call append_comments 2308 nor update @var_list, adjust calls to macro_define. 2309 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS, 2310 just mark it as VAR_PRETTY. 2311 * tests/exeext.test: Make sure bin_PROGRAMS is output only once. 2312 Report from Jim Meyering. 2313 23142003-04-06 Alexandre Duret-Lutz <adl@gnu.org> 2315 2316 * automake.in (handle_installdirs): Rename as ... 2317 (handle_install): ... this. Define maybe_BUILT_SOURCES. 2318 (generate_makefile): Adjust call to handle_install. 2319 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%. 2320 * automake.texi (Sources, Built sources example): BUILT_SOURCES 2321 is honored by `make install' too. 2322 * tests/check3.test: Make sure that `make install' also depends 2323 upon BUILT_SOURCES. 2324 Report from Alexander Turbov. 2325 2326 * lib/am/libs.am (ARFLAGS): Define. 2327 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of 2328 hard-coding `cru'. 2329 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB 2330 are used, and how they can be overridden. 2331 (Program and Library Variables): Adjust to show `$(ARFLAGS)' 2332 instead of `cru' 2333 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB. 2334 * tests/ranlib.test: Delete, obsoleted by ar.test. 2335 * tests/Makefile.am (TESTS): Remove ranlib.test. 2336 Report from Paul Thomas. 2337 23382003-04-03 Alexandre Duret-Lutz <adl@gnu.org> 2339 2340 * automake.in (check_trailing_slash): New function (variation on 2341 a patch by Peter Muir). Diagnose whitespaces following trailing 2342 backslash. 2343 (read_am_file): Use it. 2344 * tests/backsl4.test: New file. 2345 * tests/Makefile.am (TESTS): Add backsl4.test. 2346 Reported by Peter Muir. 2347 23482003-03-29 Raja R Harinath <harinath@acm.org> 2349 2350 Speedup Automake::DisjConditions::invert(). 2351 * lib/Automake/Condition.pm (multiply): New. 2352 * lib/Automake/DisjConditions.pm (_multiply): Use it. 2353 (sub_conditions): Likewise. 2354 2355 * lib/Automake/Condition.pm (reduce): Rename to ... 2356 (reduce_and): ... this. 2357 (reduce_or): New. 2358 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or(). 2359 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ... 2360 (test_reduce_and): ... this. 2361 (test_reduce_or): New. 2362 * lib/Automake/tests/DisjConditions.pl 2363 (test_invert): Update to reflect effect of reduce_or(). 2364 (test_simplify): Don't skip invert() on larger inputs. 2365 23662003-03-29 Raja R Harinath <harinath@cs.umn.edu> 2367 2368 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so 2369 that timestamp will change. 2370 23712003-03-23 Akim Demaille <akim@epita.fr> 2372 Alexandre Duret-Lutz <adl@gnu.org> 2373 2374 * lib/am/tags.am (TAGS): Use --etags-include instead of --include, 2375 when supported by etags (Exuberant Ctags). 2376 * tests/tagsub.test: Rewrite to _run_ the `tags' rule. 2377 23782003-03-20 Alexandre Duret-Lutz <adl@gnu.org> 2379 2380 For Debian Bug #185388: 2381 * automake.texi (Extending): Augment the install-exec-hook 2382 discussion with an example how to symlink a versioned binary. 2383 * tests/insthook.test: Rewrite to test the above example. 2384 Report from James R. Van Zandt. 2385 23862003-03-19 Alexandre Duret-Lutz <adl@gnu.org> 2387 2388 * Makefile.am (maintainer-check): Allow `automake:' tokens, 2389 occurring in location.test. Automake now has 5 legitimate 2390 unsubstituted @strings@. 2391 2392 * tests/aclocal4.test: Require GNU make. 2393 23942003-03-14 Alexandre Duret-Lutz <adl@gnu.org> 2395 2396 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below. 2397 * tests/Makefile.am (TESTS): Add aclocal4.test. 2398 23992003-03-14 Jim Meyering <jim@meyering.net> 2400 2401 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in 2402 subdirectories. Makefile.in depends on that variable. 2403 24042003-03-13 Alexandre Duret-Lutz <adl@gnu.org> 2405 2406 * m4/init.m4: Remove a leftover comment from the pre-1.7 era. 2407 2408 Fix for PR automake/386: 2409 * m4/init.m4: Require Autoconf 2.55. 2410 Reported by Owen Taylor. 2411 2412 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) 2413 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode. 2414 Suggested by Matthias Andree. 2415 2416 * tests/README: Typo. 2417 24182003-03-08 Alexandre Duret-Lutz <adl@gnu.org> 2419 2420 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) 2421 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP. 2422 Just echo the gcc command. 2423 Suggested by Karl Berry. 2424 24252003-03-06 Alexandre Duret-Lutz <adl@gnu.org> 2426 2427 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use 2428 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when 2429 outputing suffix rules. This follows 2003-02-25's change. 2430 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. 2431 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. 2432 24332003-03-05 Alexandre Duret-Lutz <adl@gnu.org> 2434 2435 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed 2436 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't 2437 pretend otherwise. 2438 Reported by Rafael Laboissiere. 2439 24402003-03-04 Andreas Buening <andreas.buening@nexgo.de> 2441 2442 * lib/mdate-sh: Find out which column of the ls -l output contains 2443 the month. Do not assume it is at least the fifth column. 2444 24452003-02-26 Alexandre Duret-Lutz <adl@gnu.org> 2446 2447 * automake.texi (Emacs Lisp): Mention that `dist_' can be used. 2448 2449 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA 2450 instead of lisp_LISP when they don't want byte-compilation. 2451 Don't mention ELCFILES anymore. 2452 * automake.in (handle_data): Allow lisp_DATA. 2453 * tests/lisp5.test: New file. 2454 * tests/Makefile.am (TESTS): Add lisp5.test. 2455 2456 * automake.in (handle_emacs_lisp): Don't build *.elc files 2457 if ELCFILES was set empty. 2458 * tests/lisp4.test: New file. 2459 * tests/Makefile.am (TESTS): Add lisp4.test. 2460 Reported by Simon Josefsson. 2461 2462 * tests/lex3.test, tests/lex5.test: Require flex. 2463 Reported by Leo Davis. 2464 24652003-02-25 Alexandre Duret-Lutz <adl@gnu.org> 2466 2467 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not 2468 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search 2469 when outputing suffix rules. 2470 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi) 2471 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise. 2472 Suggested by Bruno Haible. 2473 2474 * automake.in (read_am_file): Catch trailing backslashes on last line. 2475 * tests/backsl3.test: New file. 2476 * tests/Makefile.am (TESTS): Add backsl3.test. 2477 Reported by Akim Demaille. 2478 24792003-02-24 Alexandre Duret-Lutz <adl@gnu.org> 2480 2481 * ChangeLog: Move 2002's entries to ... 2482 * ChangeLog.02: ... this new file. 2483 * Makefile.am (EXTRA_DIST): Add ChangeLog.02. 2484 24852003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk> 2486 2487 * tests/version7.test: Use $sleep to sleep before updating 2488 the version, to work around timestamp inconsistencies in Windows. 2489 24902003-02-24 Bruno Haible <bruno@clisp.org> 2491 Alexandre Duret-Lutz <adl@gnu.org> 2492 2493 * lib/am/texibuild.am: Don't remove the target info files. Instead, 2494 back up and restore them if makeinfo fails. 2495 * tests/txinfo20.test: New file. 2496 * tests/Makefile.am (TESTS): Add txinfo20.test. 2497 24982003-02-23 Alexandre Duret-Lutz <adl@gnu.org> 2499 2500 * automake.texi (FAQ, CVS, maintainer-mode, wildcards) 2501 (distcleancheck): Fix typos and other errors reported by Karl 2502 Berry. 2503 25042003-02-20 Alexandre Duret-Lutz <adl@gnu.org> 2505 2506 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...) 2507 instead of ${...}. 2508 2509 * tests/defs.in: Handle required=ro-dir. 2510 * tests/destdir.test: Use this. 2511 25122003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk> 2513 2514 * lib/am/distdir.am (distcheck): Strip any leading DOS drive 2515 from dc_install_base. 2516 25172003-02-19 Alexandre Duret-Lutz <adl@gnu.org> 2518 2519 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install 2520 DJGPP-style *.iNN info files. 2521 (maintainer-clean-aminfo): Rewrite using the same pattern 2522 as in uninstall-info-am. 2523 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase 2524 DJGPP-style *.iNN info files before running $(MAKEINFO). 2525 * tests/txinfo19.test: New file. 2526 * tests/Makefile.am (TESTS): Add txinfo19.test. 2527 25282003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk> 2529 2530 * lib/depcomp (dashmstdout): Cope with DOS filenames in 2531 dependencies. 2532 25332003-02-17 Alexandre Duret-Lutz <adl@gnu.org> 2534 2535 * lib/depcomp (makedepend): Don't pass $object to makedepend. 2536 Reported by Stepan Kasal. 2537 25382003-02-12 Alexandre Duret-Lutz <adl@gnu.org> 2539 2540 * tests/defs.in: Handle required=makedepend. 2541 2542 * Makefile.am (maintainer-check): Update the diff check 2543 to account for the recent @SHELL@ substitution. 2544 25452003-02-11 Alexandre Duret-Lutz <adl@gnu.org> 2546 2547 * lib/depcomp: Do not put comments on the `icc)' line. 2548 2549 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream 2550 versions. 2551 2552 Fix for PR automake/381: 2553 * automake.in (handle_gettext): Do not print diagnostics 2554 about po/ and intl/ missing from SUBDIRS if po/ does not 2555 exist. Warn if `SUBDIRS = intl' is used although libintl 2556 is 'external'. 2557 * tests/gettext.test: Make sure diagnostics are not output 2558 when po/ does not exist. 2559 * tests/gettext2.test: Test for unwanted intl/. 2560 PR from Alexander Turbov, fix suggested by Bruno Haible. 2561 2562 * m4/depend.m4: Grep depcomp's stderr for icc warnings about 2563 ignored options. 2564 * lib/depcomp (icc): New mode. 2565 * tests/depcomp5.test: New file. 2566 * tests/defs.in: Handle required=icc. 2567 * tests/Makefile.am (TESTS): Add it. 2568 2569 Temporary hack for PR automake/381: 2570 * automake.in (handle_gettext): Turn missing po/ and intl/ errors 2571 into -Wsyntax warnings. 2572 25732003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk> 2574 2575 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in. 2576 This makes the setting of SHELL work for DJGPP. 2577 25782003-02-10 Alexandre Duret-Lutz <adl@gnu.org> 2579 2580 For PR automake/385: 2581 * lib/depcomp (makedepend): Strip any libtool call, before 2582 running makedepends. 2583 * tests/depcomp4.test: New file. 2584 * tests/Makefile.am (TESTS): Add it. 2585 Reported by Jeff Squyres. 2586 2587 Related to PR automake/385: 2588 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will 2589 write dependencies to /dev/null. `-o /dev/null' was added 2590 on 2002-06-13 just because I tried to replace `-o foo.o' by something 2591 else and didn't thought about removing it entirely. 2592 * tests/depcomp3.test: New file. 2593 * tests/Makefile.am (TESTS): Add it. 2594 2595 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's 2596 SHELL for DJGPP. 2597 Suggested by Richard Dawe. 2598 25992003-02-09 Alexandre Duret-Lutz <adl@gnu.org> 2600 2601 * automake.texi (FAQ, CVS, maintainer-mode, wildcards) 2602 (distcleancheck): New nodes. 2603 26042003-02-06 Alexandre Duret-Lutz <adl@gnu.org> 2605 2606 * automake.in (scan_autoconf_files): Don't complain that 2607 AM_INIT_AUTOMAKE comes from an old version if it was not found. 2608 26092003-02-05 Alexandre Duret-Lutz <adl@gnu.org> 2610 2611 * automake.in (am_install_var): Simplify filtering of 2612 variable_loc_and_value_as_list_recursive's output. 2613 26142003-02-04 Alexandre Duret-Lutz <adl@gnu.org> 2615 2616 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute 2617 indexes of header files so we create stamp files with 2618 the right numbers when config.status is run on some headers. 2619 * tests/stamph2.test: Check for this. 2620 Reported by Sander Niemeijer. 2621 26222003-02-02 Alexandre Duret-Lutz <adl@gnu.org> 2623 2624 * automake.in (vars_scanned): Move near traverse_variable_recursively. 2625 (traverse_variable_recursively, 2626 traverse_variable_recursively_worker): Accept a $COND_FILTER argument 2627 to filter out conditions during recursion. Don't recurse into 2628 undefined variables. Don't pass empty results to &FUN_COLLECT. 2629 (value_to_list): Remove, was used by 2630 variable_value_as_list_recursive_worker only. 2631 (variable_value_as_list_recursive_worker): Rewrite using 2632 traverse_variable_recursively. Remove the $parent argument. 2633 (variable_value_as_list_recursive, 2634 variable_loc_and_value_as_list_recursive): Adjust calls 2635 to variable_value_as_list_recursive_worker. Don't reset 2636 %vars_scanned. 2637 * tests/cond3.test: Don't expect empty helper variables, 2638 we don't output them anymore. 2639 * tests/cond30.test: Use an undefined variable. 2640 2641 * automake.in (handle_programs): Strip $(EXEEXT) before 2642 calling &check_canonical_spelling. 2643 * tests/exeext.test: Make sure we don't use a 2644 maude3__EXEEXT__OBJECTS variable. 2645 26462003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change) 2647 2648 For Debian Bug #39542: 2649 * automake.texi (Invoking Automake, Optional): Document how 2650 AC_CONFIG_AUX_DIR interacts with missing files. 2651 26522003-02-02 Alexandre Duret-Lutz <adl@gnu.org> 2653 2654 * lib/Automake/DisjConditions.pm (_permutations_worker) 2655 (permutations): Remove, so that people aren't tempted to use it. 2656 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove. 2657 2658 * automake.in (variable_conditions_recursive): Remove. 2659 (variable_conditionally_defined): Rewrite using 2660 traverse_variable_recursively. 2661 2662 * automake.in (traverse_variable_recursively, 2663 traverse_variable_recursively_worker): Pass one merged Condition 2664 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT. 2665 (transform_variable_recursively, define_objects_from_sources) 2666 (handle_lib_objects, variable_conditions_recursive): Adjust usage. 2667 26682003-02-01 Alexandre Duret-Lutz <adl@gnu.org> 2669 2670 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables 2671 using transform_variable_recursively instead of 2672 variable_conditions_recursive and variable_value_as_list_recursive 2673 to avoid combinatorial explosion. 2674 (handle_lib_objects_cond): Merge into handle_lib_objects. 2675 * tests/cond11.test: Don't grep internal details in Makefile.in, 2676 run $MAKE to make sure the resulting Makefile runs as expected. 2677 * tests/cond29.test: Also exercise conditional _LDADD. 2678 * tests/cond31.test, tests/cond32.test: New files. 2679 * tests/Makefile.am (TESTS): Add tests/cond31.test and 2680 tests/cond32.test. 2681 26822003-01-31 Alexandre Duret-Lutz <adl@gnu.org> 2683 2684 * automake.in (handle_lib_objects_cond): Ignore -dlopen and 2685 -dlpreopen in _LIBADD variables too. 2686 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from 2687 handle_lib_objects_cond. 2688 * tests/libtool7.test: New file. 2689 * tests/Makefile.am (TESTS): Add libtool7.test. 2690 2691 * automake.texi (Program and Library Variables): Clarify that 2692 _LIBADD is for libraries and _LDADD for programs. 2693 2694 * automake.in (handle_source_transform): Correct typo from 2003-01-23. 2695 26962003-01-28 Alexandre Duret-Lutz <adl@gnu.org> 2697 2698 Fix for PR automake/352: 2699 * automake.in (transform_variable_recursively): If the destination 2700 and the source variables are the same, delete the source variable 2701 before defining the destination variable. 2702 (handle_programs): Strip any $(EXEEXT) suffix from $one_file, 2703 or this will confuse handle_source_transform. 2704 (append_exeext): Rewrite using transform_variable_recursively. 2705 * tests/cond29.test, tests/cond30.test: New files. 2706 * tests/exeext.test: Run ./configure and make, this uncovered 2707 the above handle_programs issue. 2708 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test. 2709 2710 * automake.in (%subobjvar): Replace by ... 2711 (%gen_varname): ... this. 2712 (subobjname): Replace by ... 2713 (gen_varname): ... this. 2714 (initialize_per_input): Clean gen_varname instead of subobjname. 2715 (transform_variable_recursively): New function, extracted 2716 from define_objects_from_sources. 2717 (define_objects_from_sources): Use transform_variable_recursively. 2718 Remove the unused $parent argument. 2719 (handle_source_transform): Adjust call to define_objects_from_sources. 2720 27212003-01-23 Alexandre Duret-Lutz <adl@gnu.org> 2722 2723 * automake.in (@substfroms, @substtos): Move near 2724 traverse_variable_recursively. 2725 (traverse_variable_recursively, traverse_variable_recursively_worker): 2726 New functions, extracted from define_objects_from_sources. 2727 (define_objects_from_sources): Rewrite using 2728 traverse_variable_recursively. 2729 (handle_source_transform): Use variables_conditionally_defined 2730 instead of calling variable_conditions_recursive directly. 2731 Adjust the call to define_objects_from_sources; there is no need 2732 to reset @substtos, @substfroms, and %vars_scanned now. 2733 (variable_conditions_recursive): Rewrite using 2734 traverse_variable_recursively. 2735 (variable_conditions_recursive_sub): Remove. 2736 (variable_conditionally_defined): Fix condition comparison (the 2737 consequence was that DIST_SUBDIRS was always output). 2738 * lib/Automake/Condition.pm (merge): Allow merging several 2739 conditions at once. 2740 27412003-01-22 Alexandre Duret-Lutz <adl@gnu.org> 2742 2743 * automake.texi (Python): Explain that directory variables start 2744 with either ${prefix} or ${exec_prefix}, and point to the 2745 `Installation Directory Variables' section of the Autoconf manual. 2746 27472003-01-21 Alexandre Duret-Lutz <adl@gnu.org> 2748 2749 * lib/am/distdir.am (top_distdir, distdir): Define these 2750 variables only in top level Makefile. Redefine $(top_distdir) 2751 as $(distdir). 2752 (distdir): Fix passing of $(top_distdir) to sub-makes. 2753 * automake.in (handle_dist): Do not define the DISTDIR and 2754 TOP_DISTDIR transformations. We don't need them anymore. 2755 * automake.texi (Dist): Reorder the dist-hook section, and move 2756 the DIST_SUBDIRS paragraph earlier. Document distdir and 2757 top_distdir. 2758 * tests/subpkg.test: Update to check for $(distdir) and 2759 $(top_distdir). 2760 27612003-01-19 Alexandre Duret-Lutz <adl@gnu.org> 2762 2763 Rename more files to accommodate 8+3 file systems, and adjust the 2764 vocabulary at the same time: AM_CONDITIONAL defines "conditionals", 2765 and we call "condition" a conjunction of "conditionals". 2766 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm. 2767 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl. 2768 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm. 2769 * lib/am/tests/ConditionalSet.pl: Rename to 2770 lib/am/tests/DisjConditions.pl 2771 * lib/am/Conditional.pm (condition_negate): Rename to ... 2772 * lib/am/Condition.pm (conditional_negate): ... this. 2773 * automake.in: Adjust references to Condition and DisjConditions. 2774 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ... 2775 (check_ambiguous_condition, condition_ambiguous_p): ... these. 2776 2777 * tests/README: New file. 2778 2779 * automake.texi (Conditional Programs): Show a sample Makefile.am. 2780 Remind $(EXEEXT) must be appended to configure substitutions. 2781 Show how Automake conditionals can be used instead. 2782 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also 2783 appended to conditionally defined programs. 2784 27852003-01-16 Jim Meyering <jim@meyering.net> 2786 2787 Accept --help and --version, and lots of syntactic clean-up. 2788 * lib/install-sh: Use consistent indentation, two spaces per level. 2789 (scriptversion): New variable. 2790 Change initializations like `variable=""' to `variable='. 2791 (usage): New variable. 2792 Use `test', not `['. 2793 Use `test -z "$var"', not `[ x"$var" = x ]'. 2794 Use `test -n "$var"', not `[ x"$var" != x ]'. 2795 Alphabetize case entries. 2796 Accept --help and --version options. 2797 Remove unnecessary `else :' clauses. 2798 Add a `Local variables' eval block to help emacs users update 2799 the time-stamp variable added above. 2800 Mostly from Karl Berry. 2801 28022003-01-16 Alexandre Duret-Lutz <adl@gnu.org> 2803 2804 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add 2805 python2.3. 2806 2807 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir' 2808 or `pyexecdir', for the sake of 64-bit distributions that usually 2809 use lib64/ instead of lib/. Fall back to the default directory 2810 if it doesn't work. 2811 Suggested by Gwenole Beauchesne. 2812 28132003-01-14 Alexandre Duret-Lutz <adl@gnu.org> 2814 2815 For PR automake/382: 2816 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'. 2817 Explain BUILT_SOURCES is usually needed in this case. 2818 Reported by William S Fulton. 2819 28202003-01-13 Alexandre Duret-Lutz <adl@gnu.org> 2821 2822 Rename some files for the sake of 8+3 file systems. 2823 * tests/aclocali.test: Rename to tests/aclocal.test. 2824 * tests/aclocali1.test: Rename to tests/aclocal2.test. 2825 * tests/aclocalii.test: Rename to tests/aclocal3.test. 2826 * tests/acoutput.test: Rename to tests/acoutpt.test. 2827 * tests/acoutput2.test: Rename to tests/acoutpt2.test. 2828 * tests/acouttbs.test: Rename to tests/acoutbs.test. 2829 * tests/acouttbs2.test: Rename to tests/acoutbs2.test. 2830 * tests/autoheader.test: Rename to tests/autohdr.test. 2831 * tests/autoheader2.test: Rename to tests/autohdr2.test. 2832 * tests/condincl.test: Rename to tests/condinc.test. 2833 * tests/condincl2.test: Rename to tests/condinc2.test. 2834 * tests/distcommon.test: Rename to tests/distcom.test. 2835 * tests/distcommon2.test: Rename to tests/distcom2.test. 2836 * tests/distcommon3.test: Rename to tests/distcom3.test. 2837 * tests/installsh.test: Rename to tests/instsh.test. 2838 * tests/installsh2.test: Rename to tests/instsh2.test. 2839 * tests/instdata.test: Rename to tests/instdat.test. 2840 * tests/instdata2.test: Rename to tests/instdat2.test. 2841 * tests/libobj12b.test: Rename to tests/libobj13.test. 2842 * tests/link_f_c.test: Rename to tests/link_fc.test. 2843 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test. 2844 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test. 2845 * tests/nodefine.test: Rename to tests/nodef.test. 2846 * tests/nodefine2.test: Rename to tests/nodef2.test. 2847 * tests/required.test: Rename to tests/reqd.test. 2848 * tests/required2.test: Rename to tests/reqd2.test. 2849 * tests/sourcesub.test: Rename to tests/srcsub.test. 2850 * tests/sourcesub2.test: Rename to tests/srcsub2.test. 2851 * tests/specflags.test: Rename to tests/specflg.test. 2852 * tests/specflags2.test: Rename to tests/specflg2.test. 2853 * tests/specflags3.test: Rename to tests/specflg3.test. 2854 * tests/specflags6.test: Rename to tests/specflg6.test. 2855 * tests/specflags7.test: Rename to tests/specflg7.test. 2856 * tests/specflags8.test: Rename to tests/specflg8.test. 2857 * tests/specflags9.test: Rename to tests/specflg9.test. 2858 * tests/subdircond.test: Rename to tests/subcond.test. 2859 * tests/subdircond2.test: Rename to tests/subcond2.test. 2860 * tests/subdircond3.test: Rename to tests/subcond3.test. 2861 * tests/texinfo.test: Rename to tests/txinfo.test. 2862 * tests/texinfo2.test: Rename to tests/txinfo2.test. 2863 * tests/texinfo3.test: Rename to tests/txinfo3.test. 2864 * tests/texinfo4.test: Rename to tests/txinfo4.test. 2865 * tests/texinfo5.test: Rename to tests/txinfo5.test. 2866 * tests/texinfo6.test: Rename to tests/txinfo6.test. 2867 * tests/texinfo7.test: Rename to tests/txinfo7.test. 2868 * tests/texinfo8.test: Rename to tests/txinfo8.test. 2869 * tests/texinfo9.test: Rename to tests/txinfo9.test. 2870 * tests/texinfo10.test: Rename to tests/txinfo10.test. 2871 * tests/texinfo13.test: Rename to tests/txinfo13.test. 2872 * tests/texinfo16.test: Rename to tests/txinfo16.test. 2873 * tests/texinfo17.test: Rename to tests/txinfo17.test. 2874 * tests/texinfo18.test: Rename to tests/txinfo18.test. 2875 * tests/Makefile.am (TESTS): Adjust. 2876 * ChangeLog.1996: Rename to ChangeLog.96. 2877 * ChangeLog.1998: Rename to ChangeLog.98. 2878 * ChangeLog.2000: Rename to ChangeLog.00. 2879 * ChangeLog.2001: Rename to ChangeLog.01. 2880 * Makefile.am (EXTRA_DIST): Adjust. 2881 Reported by Richard Dawe. 2882 28832003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) 2884 2885 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. 2886 Use '_build' and '_inst' instead of '=build' and '=inst'. 2887 * tests/man2.test: Reflect change automake: check for files in 2888 '_build' and '_inst' directories instead of '=build' and '=inst'. 2889 28902003-01-13 Alexandre Duret-Lutz <adl@gnu.org> 2891 2892 Use `_dirstamp' when the file-system doesn't support `.dirstamp'. 2893 * m4/lead-dot.m4: New file. 2894 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4 2895 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.: 2896 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define 2897 DEPDIR using am__leading_dot. 2898 * automake.in (require_build_directory): Define am__dirstamp, a new 2899 variable for the dirstamp basename, based on am__leading_dot. 2900 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can 2901 use $(am__dirstamp). 2902 Reported by Richard Dawe. 2903 2904 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test: 2905 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when 2906 testing for programs. 2907 Reported by Richard Dawe. 2908 29092003-01-10 Alexandre Duret-Lutz <adl@gnu.org> 2910 2911 * Makefile.am (maintainer-check): Suggest using $sleep instead of 2912 sleep 2. 2913 * tests/defs.in (sleep): New variable. 2914 * tests/asm.test, tests/confsub.test, tests/lisp3.test, 2915 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test: 2916 Use $sleep instead of sleep 2, to work around timestamp 2917 inconsistencies in Windows. 2918 Reported by Richard Dawe. 2919 2920 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh 2921 after $MAKE -e. 2922 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test, 2923 tests/man2.test, tests/subobj3.test, tests/suffix8.test, 2924 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e. 2925 $SHELL is overridden by tests/defs, so it won't hurt even 2926 if $MAKE -e uses the $SHELL envvar. 2927 * tests/ansi.test, tests/insh2.test, tests/texinfo.test, 2928 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh. 2929 Reported by Richard Dawe. 2930 2931 Build elisp files all at once instead of one by one. 2932 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add 2933 elc-stamp to all's dependencies. 2934 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files. 2935 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist. 2936 (clean-lisp): Clean elc-stamp. 2937 * lib/elisp-comp: Reindent. Erase the temporatry directory 2938 from a trap. Propagate Emacs's exit status. 2939 * tests/lisp3.test: New file. 2940 * tests/Makefile.am (TESTS): Add lisp3.test. 2941 Reported by Ryan T. Sammartino. 2942 29432003-01-09 Akim Demaille <akim@epita.fr> 2944 2945 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation. 2946 29472003-01-08 Alexandre Duret-Lutz <adl@gnu.org> 2948 2949 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious 2950 variables. Suggested by Ryan T. Sammartino. 2951 29522003-01-05 Alexandre Duret-Lutz <adl@gnu.org> 2953 2954 * automake.in (macro_define): Add missing `{$cond}' (typo from 2955 2002-09-18). 2956 ($gen_copyright): Append year 2003. 2957 (version): Increase year. 2958 2959 * tests/defs.in: Substitute aclocaldir instead of running 2960 the installed aclocal. Otherwise Libtool and Gettext 2961 tests get skipped when aclocal doesn't preexist. 2962 Reported by Imacat. 2963 * tests/listval.test, tests/suffix2.test: Remove pointless -I 2964 argument to aclocal. 2965 2966----- 2967 2968Copyright (C) 2003-2021 Free Software Foundation, Inc. 2969 2970Copying and distribution of this file, with or without modification, are 2971permitted provided the copyright notice and this notice are preserved. 2972