d36f137b6ca855041bddbeb42fcad96a0e8e744f
[platform/upstream/automake.git] / ChangeLog
1 2001-01-30  Tom Tromey  <tromey@redhat.com>
2
3         * automake.in (scan_one_autoconf_file): Don't mention
4         omit_dependencies.
5
6 2001-01-29  Akim Demaille  <akim@epita.fr>
7
8         * automake.in (&scan_autoconf_config_files): Extract from
9         &scan_one_autoconf_file.
10         (&scan_one_autoconf_file): Use it.
11         (&scan_autoconf_traces): New.
12         ($scan_autoconf_files): Use it.
13
14 2001-01-29  Akim Demaille  <akim@epita.fr>
15
16         * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
17         .PHONY target.
18         * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
19         (handle_etags, handle_subdirs): Don't push into @phony.
20
21 2001-01-29  Akim Demaille  <akim@epita.fr>
22
23         * automake.in (scan_one_autoconf_file): Correctly recognize
24         configure.ac.
25         
26 2001-01-29  Akim Demaille  <akim@epita.fr>
27
28         * automake.in (handle_tests_dejagnu): New, extracted from...
29         (handle_tests): here.  Use `.PHONY:'.
30         
31 2001-01-29  Akim Demaille  <akim@epita.fr>
32
33         * automake.in (handle_phony): Sort.
34         (file_contents_with_transform): Catch `.PHONY:'.
35         (handle_tests): Instead dumping the hard coded target check-TESTS
36         and registering its .PHONYsm, get them from...
37         * check.am: here, new file.
38
39 2001-01-29  Akim Demaille  <akim@epita.fr>
40
41         * automake.in (add_depend2): Use &transform.
42
43 2001-01-29  Akim Demaille  <akim@epita.fr>
44
45         * automake.in (handle_tags): Use &transform.
46         (am_error, am_line_error, am_conf_error, read_am_file): Use
47         directly arrays in strings, no need for &join.
48         Require Perl 5.
49         * Makefile.am (maintainer-check): Use grep -w when looking for
50         words.
51
52 2001-01-29  Akim Demaille  <akim@epita.fr>
53
54         * automake.in (prog_error): New.
55         Spread its use.
56
57 2001-01-29  Akim Demaille  <akim@epita.fr>
58
59         * automake.in (handle_single_transform_list): if (@list) { foreach
60         (@list) ...} can be written as a simple `foreach' loop.
61
62 2001-01-29  Akim Demaille  <akim@epita.fr>
63
64         * automake.in (define_standard_variables): Use &transform instead
65         of build_rx.
66
67 2001-01-29  Akim Demaille  <akim@epita.fr>
68
69         * automake.in (handle_texinfo): Use the new $texinfodir instead of
70         the removed $texinfo_tex.
71
72 2001-01-29  Akim Demaille  <akim@epita.fr>
73
74         * automake.in (handle_libraries, handle_ltlibraries): Use
75         &transform.
76
77 2001-01-29  Akim Demaille  <akim@epita.fr>
78
79         * automake.in (handle_programs) <xexe>: Remove, replaced by
80         `exeext'.
81         Use it, and &transform.
82
83 2001-01-29  Akim Demaille  <akim@epita.fr>
84
85         * automake.in (get_object_extension) <$default_includes>: New.
86         Use it and &transform.
87
88 2001-01-28  Tom Tromey  <tromey@redhat.com>
89
90         * automake.in (variable_value_as_list_worker): Handle entries in
91         %am_var_defs.  Fixes listval.test.
92
93 2001-01-26  Akim Demaille  <akim@epita.fr>
94
95         * automake.in (handle_texinfo): Don't use $conf_pat, just
96         $conf_dir to transform MDDIR since now &transform handles the
97         escaping of RE special characters by itself.
98
99 2001-01-24  Akim Demaille  <akim@epita.fr>
100
101         * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
102         clear.
103         * m4/init.m4: Likewise.
104         * m4/sanity.m4: s/conftestfile/conftest.file/.
105
106 2001-01-24  Tom Tromey  <tromey@redhat.com>
107
108         * automake.in (handle_libraries): Use $configure_ac; typo fix.
109
110         * automake.in (transform): Quote substitution.
111
112 2001-01-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
113             Tom Tromey  <tromey@redhat.com>
114
115         * automake.in (obsolete_rx): Match whole macro names, not
116         substrings.
117         * aclocal.in (obsolete_rx): Likewise.
118
119 2001-01-21  Tom Tromey  <tromey@redhat.com>
120
121         * automake.texi: Changed dir category.
122
123 2001-01-18  Akim Demaille  <akim@epita.fr>
124
125         * automake.in (handle_texinfo): Use &transform, and transform
126         CONFIGURE_AC.
127         Reported by Lars Hecking, and diagnosed by Raja R Harinath.
128
129 2001-01-16  Akim Demaille  <akim@epita.fr>
130
131         Let Automake support `configure.ac'.
132
133         * automake.in: In the comments, prefer `configure.ac' to
134         `configure.in'.
135         When using &am_conf_error, don't repeat `in configure.in', since
136         the function already reports it.
137         When referring to `configure.in' use `$configure_ac' instead.
138         (configure_ac): New global variable.
139         (scan_configure, scan_one_configure_file): Rename as...
140         (scan_autoconf_files, scan_one_autoconf_file): this.
141         (scan_autoconf_files): Compute $configure_ac.
142         (transform): New function.
143         (handle_configure): Use it to transform CONFIGURE_AC in
144         `remake.am' and in `remake-hdr.am'.
145         (common_files): Also consider `configure.ac'.
146         Use consistently single quotes.
147         * aclocal.in (configure_ac): New variable.
148         Use it.
149         * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
150         * remake.am: Likewise.
151         * remake-hdr.am: Likewise.
152
153 2001-01-16  Akim Demaille  <akim@epita.fr>
154
155         * m4/multi.m4: Remove the hairy useless quotation of `$'.
156         Simplify `ifelse([$2],,,[$2])' into... `$2'!
157         * m4/minuso.m4: Don't use changequote!
158         * m4/cond.m4: Fix quotation.
159         * m4/sanity.m4: Follow the Autoconf coding style.
160         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
161         * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
162         Use AC_CACHE_CHECK.
163
164 2001-01-15  Tom Tromey  <tromey@redhat.com>
165
166         * automake.in (handle_single_transform_list): Don't print rule
167         here when source is in subdir and object is not.  Fixes
168         subobj4.test.
169
170         * automake.in (handle_single_transform_list): Correctly compute
171         $nonansi_obj.  Fixes cxxansi.test.
172
173         * automake.texi (Man pages): Updated to account for man1_MANS,
174         etc.
175
176 2001-01-13  Steve Robbins  <smr@debian.org>
177             Tom Tromey  <tromey@redhat.com>
178
179         * aclocal.in (scan_configure): Don't recognize macro assignments
180         or AC_SUBSTs.
181         (add_file): Likewise.
182
183 2001-01-13  Kevin Ryde <user42@zip.com.au>
184
185         * automake.in (handle_ltlibraries): Omit -rpath from
186         check_LTLIBRARIES, as per noinst_LTLIBRARIES.
187
188 2001-01-11  Tom Tromey  <tromey@redhat.com>
189
190         * depcomp (case gcc3): Use -MD, not -M.
191
192 2001-01-10  Tom Tromey  <tromey@redhat.com>
193
194         * depcomp: Handle gcc 3.
195
196 2000-12-23  Tom Tromey  <tromey@redhat.com>
197
198         * configure.in: Updated to 1.4c for cvs.
199
200         * configure.in: Updated to 1.4b and released.
201
202         * config.guess, config.sub, texinfo.tex: New versions.
203
204         * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
205         Re-fixes pr87.test.
206
207         * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
208         distclean and maintainer-clean.
209         * automake.texi (Top level): Document use of DIST_SUBDIRS.
210
211         From Rusty Ballinger:
212         * automake.in (handle_java): Don't skip `noinst' prefix.
213
214         * automake.texi (Invoking aclocal): Mention ## comments.
215
216 2000-12-22  Tom Tromey  <tromey@redhat.com>
217
218         From Raja R Harinath:
219         * automake.in (libtoolize_sometimes): New global.
220         (initialize_global_constants): Added libtoolize_sometimes to
221         common_files.
222
223         * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
224
225         * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
226
227 2000-12-21  Tom Tromey  <tromey@redhat.com>
228
229         * automake.texi (Tags): Document GTAGS target.
230         * tags.am (GTAGS): New target.
231
232         * automake.in (libtoolize_files): Removed ltconfig.
233         (initialize_global_constants): Added ltconfig to common_files.
234
235 2000-12-21  Kevin Ryde <user42@zip.com.au>
236
237         * automake.in (handle_footer): Generate .SUFFIXES target when user
238         defines suffixes but automake does not.
239
240 2000-12-20  Marc Espie <espie@openbsd.org>
241
242         * automake.in (handle_texinfo): Make path of $vtexi explicit in
243         dependency.
244         * texi-vers.am: Likewise.
245
246 2000-12-20  Tom Tromey  <tromey@redhat.com>
247
248         From Kevin Ryde:
249         * automake.in (handle_footer): Always push user suffixes at the
250         start of .SUFFIXES:.
251         * automake.texi (Suffixes): Updated to reflect new suffix
252         handling.
253
254 2000-12-18  Tom Tromey  <tromey@redhat.com>
255
256         * automake.in (handle_built_sources): Removed.
257         (handle_merge_targets): Handle BUILT_SOURCES.
258         * automake.texi (Sources): Updated documentation of
259         BUILT_SOURCES.
260
261 2000-12-17  Tom Tromey  <tromey@redhat.com>
262
263         * m4/protos.m4: Always do header checks.
264
265         * automake.in (handle_ltlibraries): Check for LDFLAGS variables
266         before using values.
267
268         * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
269         conditionally defined.  Fixes PR automake/77 and ldflags.test.
270
271 2000-11-25  Tom Tromey  <tromey@cygnus.com>
272
273         * automake.in (file_contents_with_transform): Added file name and
274         line number to error report.
275         (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
276
277 2000-11-23  Pavel Roskin  <proski@gnu.org>
278
279         * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
280         of M4 underquoting.
281         * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
282         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
283         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
284         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
285         * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
286         * m4/python.m4 (AM_PATH_PYTHON): Likewise.
287         * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
288
289 2000-11-23  Tom Tromey  <tromey@cygnus.com>
290
291         * automake.in (require_file_internal): Pass $file as second
292         argument to maybe_push_required_file.  Fixes PR automake/87.
293
294 2000-11-18  Tom Tromey  <tromey@cygnus.com>
295
296         * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
297         /dev/null.  From Paul Martinolich.
298
299 2000-11-16  Morten Eriksen  <mortene@sim.no>
300
301         * aclocal.in (write_aclocal): Set ``binmode'' after file has been
302         opened, otherwise it has no effect.
303
304 2000-10-23  Morten Eriksen  <mortene@sim.no>
305
306         * aclocal.in (write_aclocal): Don't write aclocal.m4 with
307         CRLFs. This circumvents a bug in Cygwin bash.
308
309         * automake.in (generate_makefile): Don't write Makefile.in
310         files with CRLFs, as it causes problems for the dependency-file
311         extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
312
313 2000-10-19  Alex Hornby  <alex@anvil.co.uk>
314
315         * automake.in (handle_merge_targets): Allow parallel install
316         with forced relink.
317
318 2000-10-19  Akim Demaille  <akim@epita.fr>
319
320         * subdir4.test (depcomp): Don't create it, defs does.
321
322 2000-10-17  Pavel Roskin  <proski@gnu.org>
323
324         * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
325         acinclude.m4 from the dependencies of aclocal.m4 to avoid
326         circular and duplicated dependencies. Strip "./" from the
327         dependencies.
328
329 2000-10-17  Lars J. Aas  <larsa@sim.no>
330
331         * aclocal.in (write_aclocal): Set up aclocal.m4 header with
332         normal comments (#) instead of m4 dnl-type comments.
333
334 2000-10-17  Alex Hornby <alex@anvil.com>
335
336         * depcomp: Altered sed clause to strip of inclusion depth
337         numbers generated by cpp. Also output in gcc style.
338
339 2000-10-16  Morten Eriksen  <mortene@sim.no>
340
341         * depcomp (msvisualcpp): New dependency tracking mode, for
342         Microsoft Visual C++.
343
344 2000-10-16  Morten Eriksen  <mortene@sim.no>
345
346         * depcomp: Fix a bug in SGI dependency tracking mode with source
347         files which do not dependend on any other source files.
348
349 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
350
351         * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
352         * automake.in, automake.texi: Likewise.
353         * clean-kr.am, clean.am: Likewise.
354         * comp-vars.am: Likewise.
355         * compile, compile.am: Likewise.
356         * data-clean.am: Likewise.
357         * data.am: Likewise.
358         * dejagnu.am: Likewise.
359         * depcomp: Likewise.
360         * depend.am, depend2.am: Likewise.
361         * dist-vars.am, dist.am: Likewise.
362         * elisp-comp: Likewise.
363         * footer.am: Likewise.
364         * header-vars.am, header.am: Likewise.
365         * java-clean.am java.am: Likewise.
366         * kr-extra.am: Likewise.
367         * library.am: Likewise.
368         * libs-clean.am, libs.am: Likewise.
369         * libtool.am: Likewise.
370         * lisp-clean.am lisp.am: Likewise.
371         * ltlib-clean.am ltlib.am: Likewise.
372         * ltlibrary.am: Likewise.
373         * m4/Makefile.in: Likewise.
374         * m4/strtod.m4: Likewise.
375         * mans-vars.am, mans.am: Likewise.
376         * mdate-sh: Likewise.
377         * missing: Likewise.
378         * multilib.am: Likewise.
379         * program.am: Likewise.
380         * progs-clean.am, progs.am: Likewise.
381         * python-clean.am, python.am: Likewise.
382         * remake-hdr.am, remake.am: Likewise.
383         * scripts.am: Likewise.
384         * subdirs.am: Likewise.
385         * tags-clean.am, tags.am: Likewise.
386         * texi-vers.am: Likewise.
387         * texinfos.am: Likewise.
388         * ylwrap: Likewise.
389
390 2000-10-09  Pavel Roskin  <proski@gnu.org>
391
392         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
393         assignments changing $? - it's broken in ash-0.2.
394         * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
395
396         * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
397         defined use it as the list of M4 files aclocal.m4 depends on.
398
399 2000-10-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
400
401         * aclocal.in (add_file): Strip comments while scanning for
402         macro dependencies.
403
404 2000-09-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
405
406         * automake.in (initialize_global_constants): End the
407         result of dist-bzip2 with tar.bz2, not bz2.
408
409 2000-08-30  Tom Tromey  <tromey@cygnus.com>
410
411         Fix for PR automake/72:
412         * automake.in (initialize_per_input): Define `need_link'.
413         (finish_languages): Use need_link.
414         (handle_source_transform): Set need_link if required.
415
416 2000-08-28  Tom Tromey  <tromey@cygnus.com>
417
418         * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
419         key.
420         (register_language): Default the `derived-autodep' option.
421         (handle_single_transform_list): Add to %dep_files if language has
422         `derived-autodep' set.  Re-fixes lex4.test.
423
424 2000-08-27  Tom Tromey  <tromey@cygnus.com>
425
426         * automake.in (handle_single_transform_list): Only add to
427         %dep_files if language is found and supports automatic dependency
428         tracking.  Fixes PR automake/75.
429
430         * automake.in (am_primary_prefixes): Don't set `valid' for
431         configure variables that don't satisfy the other constraints.
432         Fixes PR automake/68.
433
434 2000-04-14  Victor V. Vengerov <vvv@oktet.ru>
435
436         Fix for PR automake/67.
437         * automake.in (handle_multilib): remove .am suffix in fragment
438         name passed to file_contents.
439         * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
440         Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
441         Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
442
443 2000-08-26  Tom Tromey  <tromey@cygnus.com>
444
445         * subdirs.am (maintainer-clean-recursive): Always run clean rules
446         in `.' after all subdirs.  Fixes PR automake/3 and PR automake/24.
447
448         * automake.in (handle_man_pages): Generate install targets for man
449         even if man_MANS not defined.  From `danpb'.  Fixes PR automake/73.
450
451         * m4/depend.m4 (depcpp): Use `-o conftest.o'.
452         Fix for PR automake/74.  From js pendry.
453
454 2000-08-20  Eli Zaretskii  <eliz@is.elta.co.il>
455
456         * depcomp (gcc): Support DOS-style absolute file names with drive
457         letters.
458
459 2000-08-06  Jim Meyering  <meyering@lucent.com>
460
461         * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
462         if the depcomp file exists, before calling require_config_file on
463         `depcomp'.  This makes require_file_internal skip its buggy existence
464         test that would make automake fail (with `required file `lib/depcomp'
465         not found') when AC_CONFIG_AUX_DIR is not set.
466
467         This change change does not fix the existing bug where, if `depcomp'
468         is not present in the build directory (at the top level), automake
469         still gives the inaccurate diagnostic about *lib*/depcomp rather
470         than ./depcomp.
471
472 2000-08-05  Jim Meyering  <meyering@lucent.com>
473
474         * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
475         add missing closing bracket and closing parenthesis.
476         Don't quote the first argument to AC_OUTPUT_COMMANDS.
477         Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
478
479 2000-08-04  Tom Tromey  <tromey@cygnus.com>
480
481         Idea from Nicolas Thiery:
482         * automake.texi (Tests): Document DEJATOOL as a list.
483         * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
484         (check-DEJAGNU): Run runtest in a loop.
485
486 2000-08-02  Akim Demaille  <akim@epita.fr>
487
488         * m4: Quote properly the name of the macros being defined.
489         Use `#' instead of `dnl' where appropriate.
490         * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
491         quote.
492         Don't quote passive characters.
493         Pull the AC_PREREQ outside the macro.
494         * m4/init.m4: Pull the AC_PREREQ outside the macro.
495
496 2000-07-28  Tom Tromey  <tromey@cygnus.com>
497
498         * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
499         From Bruno Haible.
500
501 2000-07-13  Kevin Ryde <user42@zip.com.au>
502
503         * automake.in (am_install_var): Apply the $(EXEEXT) hack to
504         EXTRA_PROGRAMS as well as other _PROGRAMS.
505
506 2000-07-02  Jim Meyering  <meyering@lucent.com>
507
508         * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
509
510 2000-06-19  Paolo Bonzini    <bonzini@gnu.org>
511
512         * texi-vers.am: define UPDATED-MONTH variable (for an example, see
513         GNU make's manual)
514
515 2000-06-02  Morten Eriksen  <mortene@sim.no>
516
517         * depcomp: workaround for problem with SGI IRIX sed (it can only
518         handle lines of up to 8192 characters, the rest of the line will
519         be mangled).
520
521 2000-05-31  Morten Eriksen  <mortene@sim.no>
522
523         * depcomp: tell SGI MIPSpro compilers to generate dependencies
524         through the pre-processor (only CVS libtool has the -Wc option
525         yet).
526
527 2000-05-15  Brendan O'Dea  <bod@compusol.com.au>
528
529         * missing: Add support for `help2man'.
530
531 2000-05-11  Tom Tromey  <tromey@cygnus.com>
532
533         * automake.in (handle_tests): Work correctly if TESTS is empty;
534         print nothing if it is.  From Kevin Ryde.
535
536 2000-05-08  Tom Tromey  <tromey@cygnus.com>
537
538         * automake.texi (Texinfo): Mention vers*.texi.
539
540 2000-05-04  Akim Demaille  <akim@epita.fr>
541
542         AM_INIT_AUTOMAKE is no longer optional, so don't look for
543         `VERSION=' and `PACKAGE='.
544         * automake.in (seen_package, seen_version): Remove initializations of
545         unnecessary variables.
546         (scan_one_configure_file): Don't set them.
547         (scan_configure): Don't use them.
548
549 2000-05-01  Akim Demaille  <akim@epita.fr>
550
551         * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
552         (AM_INIT_AUTOMAKE): Update the writing conventions.
553         Quote the arguments properly.
554         Add a few missing `dnl'.
555         Use AC_PROVIDE_IFELSE.
556
557 2000-04-26  Jim Meyering  <meyering@lucent.com>
558
559         * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
560         macro.  Based on a patch from Harlan Stenn.
561
562 2000-04-13  Akim Demaille  <akim@epita.fr>
563
564         * compile: Remove unnecessary double quotes in assignments.
565
566 2000-04-13  Akim Demaille  <demaille@epita.fr>
567
568         * automake.in (scan_one_configure_file): Also recognize
569         AC_CONFIG_HEADERS.
570         Remove trailing blanks.
571
572 2000-04-05  Tom Tromey  <tromey@cygnus.com>
573
574         * header-vars.am (DESTDIR): Commented out definition.
575
576         * automake.in (require_file_internal): Pass --copy to libtoolize
577         if automake was run with `--copy'.
578
579 2000-03-22  Tom Tromey  <tromey@cygnus.com>
580
581         * automake.texi (Uniform): Fix definition of pkglibdir.
582         From thi <ttn@revel.glug.org>.
583
584 2000-03-19  Tom Tromey  <tromey@cygnus.com>
585
586         * aclocal.in (parse_arguments): Copyright 2000.
587         (write_aclocal): Likewise.
588         * automake.in (parse_arguments): Copyright 2000.
589         (initialize_global_constants): Likewise.
590
591         * automake.in (generate_makefile): Call handle_dist after
592         handle_dependencies and handle_tests.  Fixes subobj3.test and
593         pr19.test regressions.
594
595 2000-03-19  Gordon Matzigkeit  <gord@fig.org>
596
597         * depend2.am (@EXT@.o): Look for the source file in srcdir as well
598         as the current directory.
599         (@EXT@.lo): Likewise.
600
601 2000-03-19  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
602
603         * automake.in (handle_data): Pass -candist instead of
604         -defaultdist, for the compatibility.
605
606 2000-03-19  Tom Tromey  <tromey@cygnus.com>
607
608         Fix for test nodepcomp.test:
609         * automake.in (require_file_internal): Use readlink on symlinks.
610         Only unlink file if we are going to try to add it again.
611         (handle_dependencies): Require `depcomp' here.
612         (scan_configure): Don't require `depcomp'.
613
614 2000-03-16  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
615
616         * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
617         the rule to remake Makefile, whether $use_dependencies is true
618         or not. This was a historical one and doesn't make sense any
619         longer.
620
621 2000-03-19  Tom Tromey  <tromey@cygnus.com>
622
623         More for PR automake/38:
624         * automake.texi (Invoking Automake): Document --force-missing.
625         * automake.in (force_missing): New global.
626         (parse_arguments): Recognize --force-missing.
627         (initialize_global_constants): Document --force-missing.
628         (require_file_internal): Handle --force-missing.
629
630         Fix for PR automake/38:
631         * automake.in (require_file_internal): Check for and handle
632         dangling symlinks.  Fixes symlink2.test.
633
634         Fix for PR automake/45:
635         * automake.texi (configure): Mention requirement to run
636         AM_INIT_AUTOMAKE.
637         (Requirements): Removed most text.
638         * automake.in (seen_init_automake): New global.
639         (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
640         (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
641         Set seen_init_automake if needed.
642
643         Fix for PR automake/41:
644         * automake.in (require_file_found): New global.
645         (require_file_internal): Set require_file_found entry.
646         (handle_texinfo): Require file any number of times.
647
648         * automake.in (handle_dist_worker): Exit if `cp' fails.  Fixes
649         install2.test.
650
651         * tags.am: Don't reference $$here.  Report from Sven Verdoolaege.
652
653 2000-03-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
654
655         * m4/missing.m4: Print the backtick in a way that won't cause
656         autoconf CVS to emit any warnings.
657
658 2000-03-01  Jim Meyering  <meyering@lucent.com>
659
660         * automake.in (handle_dist_worker) [generating rules for distdir]:
661         Don't use `ln' (which was just a space optimization anyway) to
662         populate $(distdir).  Otherwise, the dist rules that change
663         permissions would end up affecting the master sources.
664         * texinfos.am (dist-info): Likewise.
665
666 2000-02-13  Jim Meyering  <meyering@lucent.com>
667
668         * automake.in (generate_makefile): Detect write/close failure.
669
670 2000-02-02  Assar Westerlund  <assar@sics.se>
671
672         * automake.in (handle_single_transform_list): do not use $< which
673         is not handled by all non-GNU makes.  Instead do explicit sh code
674         testing for the file in this directory and srcdir.  Based on a
675         suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
676
677 2000-01-12  Tom Tromey  <tromey@cygnus.com>
678
679         * m4/lispdir.m4: Added --with-lispdir argument processing.
680         From Kevin Dalley.
681
682 2000-01-06  Tom Tromey  <tromey@cygnus.com>
683
684         * automake.in (handle_configure): Don't check for
685         AC_PROG_MAKE_SET.
686         (scan_configure): Check for AC_PROG_MAKE_SET.
687
688         * header-vars.am (@SET_MAKE@): Added.
689         * subdirs.am (@SET_MAKE@): Removed.  Report from Motoyuki
690         Kasahara.
691
692 1999-12-19  Tom Tromey  <tromey@cygnus.com>
693
694         * automake.in (handle_dist_worker): Expand DIST_COMMON under all
695         conditions.
696         (require_file_internal): Corrected arguments to second invocation
697         of maybe_push_required_file.
698
699         Fix for PR automake/9:
700         * automake.in (make_dirs, make_dirs_set): New globals.
701         (is_make_dir): New function.
702         (handle_configure): Use it.
703         (require_file_internal): Push file if there is no Makefile in its
704         directory.
705         (initialize_per_input): Initialize handle_dist_run.
706         (push_dist_common): Inspect handle_dist_run.
707         (handle_dist): Set handle_dist_run.  Push items from
708         configure_dist_common onto dist_common if appropriate.
709         (configure_dist_common): New global.
710         (scan_configure): Set it.
711         (maybe_push_required_file): New function.
712         (require_file_internal): Use it.
713
714         * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
715         more subdirs are defined.  From Axel Belinfante.  Fixes
716         PR automake/2.
717
718 1999-12-18  Tom Tromey  <tromey@cygnus.com>
719
720         Partial fix for PR automake/40:
721         * lisp.am (install-@DIR@LISP): Handle nobase_ case.
722         (uninstall-@DIR@LISP): Likewise.
723         * header.am (install-@DIR@HEADERS): Handle nobase_ case.
724         (uninstall-@DIR@HEADERS): Likewise.
725         * data.am (install-@DIR@DATA): Handle nobase_ case.
726         (uninstall-@DIR@DATA): Likewise.
727         * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
728         (am_install_var): Recognize and handle `nobase_' prefix.
729
730 1999-12-17  Tom Tromey  <tromey@cygnus.com>
731
732         * automake.in (get_object_extension): Added space before `-I.'.
733         Report from Ralf Corsepius.
734
735 1999-12-15  Tom Tromey  <tromey@cygnus.com>
736
737         * aclocal.in: Don't pass $acdir to scan_m4_files.
738         (parse_arguments): Push $acdir on end of dirlist.
739         (scan_file): Don't warn if duplicate macro seen.
740
741 1999-12-13  Tom Tromey  <tromey@cygnus.com>
742
743         Fix for PR automake/30 and PR automake/23.  Fixes test
744         suffix3.test.
745         * automake.in (initialize_per_input): Initialize
746         source_suffix_pattern.
747         (derive_suffix): New function.
748         (handle_single_transform_list): Call it.
749
750         * automake.in (add_depend2): Handle the no-dependency-tracking
751         case.  Fixes test suffix2.test.
752
753         * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
754
755         * automake.in (get_object_extension): Fixed quoting on
756         -I$(srcdir).
757
758         * depend2.am: Removed erroneous comment.
759
760         * automake.texi (Program variables): Document nostdinc.
761         (Options): Likewise.
762         * automake.in (get_object_extension): Respect nostdinc option.
763         (handle_options): Recognize nostdinc.
764         * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
765         substitution.
766
767         * automake.in (read_am_file): Allow conditional includes.  Fixes
768         test condincl.test.
769
770         * depcomp: Handle case on SGI when libtool is `yes'.
771         * depend2.am (@EXT@.o): Set libtool.
772         (@EXT@.lo): Likewise.
773         (@EXT@.obj): Likewise.
774
775         * depcomp: Unify dashmstdout and dashXmstdout cases.  Move hp case
776         after gcc case.
777
778 1999-12-13  Pavel Roskin  <pavel_roskin@geocities.com>
779
780         * automake.in (add_depend2): substitute $rule in the rules
781         for individual files.  Fixes test specflags5.test.
782
783 1999-12-12  Tom Tromey  <tromey@cygnus.com>
784
785         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
786         to create directories.  Fixes test subobj3.test.
787
788 1999-12-10  Tom Tromey  <tromey@cygnus.com>
789
790         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
791         message when creating .deps files.
792
793         * automake.in (initialize_global_constants): If unreadable by
794         owner, make it readable by owner regardless of number of links.
795         Fixes more of install2.test.
796
797         * missing: Try to see if gnutar or gtar exist before invoking
798         them.
799
800         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
801         install_sh value.  Look for install-sh and install.sh in a
802         somewhat more sensible way.  Fixes test install2.test.  Partially
803         from Jim Meyering.
804
805 1999-12-09  Pavel Roskin  <pavel_roskin@geocities.com>
806
807         * m4/missing.m4: remove redundant backquote
808
809 1999-11-23  Tom Tromey  <tromey@cygnus.com>
810
811         * automake.in (initialize_global_constants): Use `bzip2 -9', not
812         `bzip --best'  Report from Jim Meyering.
813
814 1999-11-22  Tom Tromey  <tromey@cygnus.com>
815
816         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
817         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
818         AM_MISSING_INSTALL_SH.
819         * automake.in (scan_one_configure_file): Reverted previous
820         change.
821
822         * automake.in (scan_one_configure_file): Define `install_sh'
823         configure variable when AM_INIT_AUTOMAKE seen.  Report from Jim
824         Meyering.
825
826         * automake.in (handle_single_transform_list): Generate explicit
827         rule for subdir objects.  Fixes new addition to subobj.test.
828
829         * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
830         defined by AC_SUBST.  Fixes ltlibobjs.test.
831
832         Fix for sourcesub.test:
833         * automake.in (handle_single_transform_list): Added `var'
834         argument.  If config sub found, give error.
835         (handle_source_transform): Updated for new
836         handle_source_transform.
837
838         * py-compile: New file.
839         * m4/Makefile.am (m4data_DATA): Added python.m4.
840         * m4/python.m4: New file.
841         * automake.texi (Uniform): Mention PYTHON.
842         (Python): New node.
843         * Makefile.am (amfiles): Added python.am, python-clean.am.
844         (dist_script_DATA): Added py-compile.
845         * python.am: New file.
846         * python-clean.am: New file.
847         * automake.in (seen_pythondir): New global.
848         (generate_makefile): Call handle_python.
849         (handle_python): New function.
850         (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
851         seen.
852         (am_install_var): Special-case PYTHON like JAVA.
853         (scan_configure): Check for py-compile.
854         (initialize_global_constants): Added py-compile to @common_files.
855
856         * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
857
858 1999-11-21  Tom Tromey  <tromey@cygnus.com>
859
860         * automake.in (finish_languages): Only generate suffix rule when
861         not doing dependency tracking.
862
863         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
864         * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
865
866         * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
867         Always use `-o'.
868
869 1999-11-19  Tom Tromey  <tromey@cygnus.com>
870
871         * dist.am: Set `CDPATH=:' to avoid problems.  Merged from
872         Alexandre's change on branch.
873
874 1999-10-02  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
875
876         * Makefile.am (maintainer-check): Look for occurrences of ``cd'
877         without `CDPATH'.
878         * dejagnu.am: Set CDPATH before cd.
879         * Makefile.in: Rebuilt.
880
881         * automake.in (handle_single_transform_list): Change `\1' for `$1'
882         in `s///' replacement.
883
884         * automake.in (handle_dist): Set CDPATH before cd.
885         * dejagnu.am (check-DEJAGNU): Likewise.
886         * texinfos.am (install-info-am, dist-info): Likewise.
887         * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
888         * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
889         * aclocal.m4, configure, Makefile.in: Rebuilt.
890
891         * AUTHORS: Added myself.
892
893 1999-09-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
894
895         * m4/missing.m4: Support relative srcdir and ac_aux_dir.
896         Reported by Tim Wilkinson <tim@transvirtual.com>
897         * aclocal.m4, configure: Rebuilt.
898
899 1999-08-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
900
901         * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
902         LEX program is found, use `${am_missing_run}flex'.
903
904 1999-08-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
905
906         * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
907         with `o' in depfile.
908
909         * automake.in (handle_lib_objects_cond): Remove second dot from
910         dependency file names.
911
912         * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
913         regardless of OBJEXT.
914
915         * automake.in (handle_dependencies): Add blank line after depend2.
916         (handle_dependencies): Start DEP_FILES with `@AMDEP@'.  Output
917         blank line before `include's, not after them.
918         (scan_one_configure_file): Do not special-case `DEP_' any more.
919
920         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
921         if AMDEP is empty.
922         * aclocal.m4, configure: Rebuilt.
923
924         * m4/depend.m4 (AMDEPBACKSLASH): Define.
925         * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
926
927         * automake.in (handle_dependencies): Generate `include's for
928         dependency files after `@AMDEP@'.
929
930         * m4/missing.m4: Use eval, instead of a sub-shell, to test for
931         --run support in the missing script, since SHELL is not exported.
932         Reported by job bogan <job@piquin.uchicago.edu>
933         * aclocal.m4, configure: Rebuilt.
934
935 1999-08-15  Alexandre Oliva  <oliva@dcc.unicamp.br>
936
937         * aclocal.m4, configure: Rebuilt with itself.
938         * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
939
940         * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
941         Require AM_MISSING_HAS_RUN.  Use am_missing_run, defined by...
942         (AM_MISSING_HAS_RUN): New macro.
943         * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
944         * automake.texi (Requirements): Likewise.
945         * version.texi, stamp-vti: Rebuilt.
946
947 1999-07-28  Tom Tromey  <tromey@cygnus.com>
948
949         * depcomp: Handle the `hp' mode.
950
951 1999-07-06  Tom Tromey  <tromey@cygnus.com>
952
953         * depcomp: Work around HP-UX 10.20 sed bug.
954
955 1999-07-05  Tom Tromey  <tromey@cygnus.com>
956
957         * automake.in (handle_dependencies): Generate a separate include
958         for each dep file.  Report from Alexandre Oliva.
959         * depend.am: Don't include DEP_FILES.
960
961 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
962
963         * depend.am: Add @AMDEP@ before `include', so that dependency
964         tracking can be disabled.
965         * depend2.am: Ditto, before all lines related with dependency
966         tracking.
967         * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
968         --enable/disable-dependency-tracking and sets AMDEP accordingly.
969         It is implicitly disabled if depcomp is missing.
970         (AM_DEPENDENCIES): Disable dependency tracking unless it can be
971         generated by side-effect.
972         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
973         * automake.in (handle_dependencies): Add @AMDEP@ before the value
974         of DEP_FILES.
975         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
976         starting with `#'.
977
978         * depcomp: Support -xM for dependency generation, for Sun CC.
979         Reported by Alex Hornby <alex@anvil.co.uk>
980         * m4/depend.m4: Extract the list of supported dependency-tracking
981         mechanisms from the depcomp script and use it to test each one.
982         * THANKS: Added Alex Hornby.
983
984         * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
985         to leave $(...COMPILE) in a line by itself.
986
987         * THANKS: Added Miles Bader.
988
989 1999-06-01  Miles Bader  <miles@ccs.mt.nec.co.jp>
990
991         * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
992         Fix `dashmstdout' to ignore non-dependency-generating uses of the
993         -M flag.
994         * depcomp (makedepend): New dependency-generating method.
995
996 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
997
998         * missing: If given `--run' as first argument, try to run the
999         given program before falling back to the ``emulated'' behavior.
1000         Add support for `tar'.
1001         * automake.in: Use new `tar' support for `dist'.
1002         * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
1003         program, prepend `missing --run' to the given program name.
1004         * m4/init.m4: Remove AMTAR-related stuff.
1005         * NEWS: Updated.
1006
1007         * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
1008         CONFIG_FILES.  Do not use temporary variable for list of
1009         dependency files, it breaks Cygwin.
1010
1011 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
1012
1013         * depcomp (gcc): Imported comments removed from depend2.am, so
1014         that we don't lose them.
1015
1016         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1017         when not using ansi2knr.
1018
1019 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
1020
1021         * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1022         * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1023
1024 1999-04-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1025
1026         * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1027         so as not to compile an empty source; some compilers fail on this.
1028         Redirect stderr of depcc to /dev/null.  Test for -M with -o,
1029         because some compilers will output the rules to the output file.
1030         * depcomp (dashmstdout): Add --silent before --mode=compile, so
1031         that we don't get libtool output mixed up with make rules.
1032
1033         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1034         * depend2.am: Set tmpdepfile too, to speed up depcomp.  Always use
1035         -o for libtool, otherwise it may try to deduce the object name
1036         from the dependency-generation flag.
1037         * depcomp: Assume depdir exists.  Preserve depfile on unsuccessful
1038         compilations.
1039
1040         * libtool.am: Do not emit .c.lo here...
1041         * depend2.am: ... emit .*.lo here, only when using libtool.
1042         * automake.in (get_object_extension): No more @MINUSO@ here.
1043         (handle_single_transform_list): Set $depfile from $object.
1044         (handle_dependencies): Emit depend2.am for all used languages,
1045         regardless of $use_dependencies; the setting of depcomp makes the
1046         difference.
1047         (lang_cxx_finish): Do not emit compilation rules.
1048         (lang_objc_finish): Likewise.
1049         (lang_java_finish): Likewise.
1050
1051 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1052
1053         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1054         interpolate DEPDIR in DEP_FILES expansion.
1055
1056 1999-04-20  Lee Iverson  <leei@Canada.AI.SRI.COM>
1057
1058         * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1059         dependency updating.
1060         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1061         handle multi-line dependency lists.
1062
1063 1999-11-12  Tom Tromey  <tromey@cygnus.com>
1064
1065         Fix for PR automake/14:
1066         * aclocal.in: Added `ud_GNU_GETTEXT'.  Updated to mention
1067         AC_CYGWIN.
1068         * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1069
1070         * m4/multi.m4: Added missing `]'.  From Akim Demaille.
1071
1072         * Makefile.am (path-check): Make sure distdir is writeable before
1073         removing it.
1074         * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1075         (handle_dist_worker): Make sure distdir is writeable before
1076         removing it.
1077         (initialize_global_constants [$dist_trailer]): Make sure distdir
1078         is writeable before removing it.
1079         * dist.am (distcheck): Make the new source tree read-only before
1080         compiling.  Idea from Karl Berry.
1081
1082         * automake.texi (Gnits): Allow COPYING.LIB again.
1083         * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1084
1085 1999-11-11  Jim Meyering  <meyering@ascend.com>
1086
1087         * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1088         files.
1089
1090 1999-11-09  Tom Tromey  <tromey@cygnus.com>
1091
1092         * automake.in (handle_dist): Typo fix.  From Jim Meyering.
1093
1094 1999-11-09  Jim Meyering  <meyering@ascend.com>
1095
1096         * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1097         markers, no matter what.
1098
1099 1999-11-08  Tom Tromey  <tromey@cygnus.com>
1100
1101         * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1102         line.
1103
1104         * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1105         From Jim Meyering.  Also, don't mention file name in `cp'
1106         destination.  From Olly Betts.
1107
1108 1999-10-27  Miodrag Vallat  <miodrag@ifrance.com>
1109
1110         * texinfos.am (uninstall-info): Use installed info file, not one
1111         from srcdir or builddir.
1112
1113 1999-11-07  Tom Tromey  <tromey@cygnus.com>
1114
1115         * clean.am (maintainer-clean-generic): Remove Makefile.in.  From
1116         Jeff Bailey
1117
1118         Fix for PR automake/18:
1119         * automake.in (handle_dist): Add contents of dist.am to the output
1120         rules.
1121         * Makefile.am (amfiles): Added dist.am.
1122         * dist.am: New file.
1123         (distcheck): Added uninstall and distclean checks.
1124
1125         * automake.in (PATH_PATTERN): Added `-' as allowable character.
1126         Fixes PR automake/20.  From Matthew D. Langston.
1127
1128         * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1129         allowed in suffixes.  Fixes PR 22.  From Matthias Clasen.
1130
1131 1999-10-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1132
1133         * m4/lispdir.m4: -batch must come before -q.
1134         * elisp-comp: Likewise.
1135         Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1136         * THANKS: Added Lars.
1137
1138 1999-08-15  Tom Tromey  <tromey@cygnus.com>
1139
1140         * automake.in (get_object_extension): Fixed quoting bug.  Fixes
1141         ansi4.test.
1142
1143 1999-07-27  Tom Tromey  <tromey@cygnus.com>
1144
1145         * config.guess, config.sub: New versions from autoconf.
1146
1147 1999-07-13  Tom Tromey  <tromey@cygnus.com>
1148
1149         Work around losing `awk'.  Report from Harlan Stenn.
1150         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1151         * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1152
1153         * automake.in (handle_source_transform): Mark prefix as seen if
1154         corresponding _SOURCES variable exists.  Fixes empty2.test.
1155
1156 1999-06-25  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
1157
1158         * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1159         m4.
1160         (AUTOMAKE): Set --amdir to current directory.
1161
1162 1999-06-20  Tom Tromey  <tromey@cygnus.com>
1163
1164         * Makefile.am (TAGS_FILES): New macro.
1165         (ETAGS_ARGS): Moved files into TAGS_FILES.
1166         (TAGS_DEPENDENCIES): Likewise.
1167         (ETAGS_ARGS): Removed.
1168         (TAGS_DEPENDENCIES): Removed duplicate definition.
1169
1170         * tags.am (ID): Handle VPATH correctly.  Use TAGS_FILES.  Report
1171         from Ganesan Rajagopal.
1172         (TAGS): Likewise.
1173
1174 1999-06-18  Thomas Tanner  <tanner@ffii.org>
1175
1176         * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1177         too.
1178
1179 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1180
1181         * ylwrap: Handle filenames output by the DOS version of Bison.
1182
1183 1999-06-20  Tom Tromey  <tromey@cygnus.com>
1184
1185         * ylwrap: Be less strict when recognizing DOS paths.  From Mark
1186         Elbrecht.
1187
1188 1999-06-19  Tom Tromey  <tromey@cygnus.com>
1189
1190         * automake.in (handle_dist_worker): Remove redundant entries from
1191         DIST_SUBDIRS.
1192
1193         * automake.in (handle_lib_objects_cond): Better error message when
1194         unrecognized option passed in LDADD.
1195
1196 1999-06-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
1197
1198         * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1199         appropriate --acdir and --amdir arguments.
1200
1201 1999-06-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1202
1203         * automake.in (dist_header): Avoid changing permissions of files
1204         in the source tree, trying a complex `find/chmod' command before
1205         falling back to plain chmod.
1206         (handle_dist_worker): Do not create directories with mode 777, the
1207         find above will take care of that.
1208         * m4/init.m4: Set install_sh for find/chmod above.
1209
1210         * THANKS: Added Shuhei Amakawa.
1211
1212 1999-06-07  Shuhei Amakawa <sa264@cam.ac.uk>
1213
1214         * mans.am: Strip dirname from given filename.
1215
1216 1999-06-07  Jim Meyering  <meyering@ascend.com>
1217
1218         * automake.in (handle_dist): Change emitted rules so that a failure
1219         in `$(MAKE) distcheck-hook' propagates to the outer make.
1220
1221 1999-05-27  Tom Tromey  <tromey@cygnus.com>
1222
1223         * automake.in (handle_single_transform_list): Replace AM_FLAG and
1224         not FLAG in compilation rule.
1225         (add_depend2): Likewise.
1226
1227         * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1228         libtool.
1229
1230         * m4/dmalloc.m4: Updated dmalloc site information.
1231
1232 1999-05-19  Tom Tromey  <tromey@cygnus.com>
1233
1234         * automake.in (handle_single_transform_list): Push object name
1235         without extension onto lang_specific_files.  Fixes
1236         specflags4.test.
1237
1238         * automake.in (handle_single_transform_list): Added missing
1239         space.  Fixes specflags.test.
1240
1241 1999-05-05  Tom Tromey  <tromey@cygnus.com>
1242
1243         * automake.in: Disabled dependency tracking for Java.
1244
1245 1999-05-04  Tom Tromey  <tromey@cygnus.com>
1246
1247         * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1248         * automake.in (handle_libraries): Recognize _AR variable.
1249
1250 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1251
1252         * automake.in (finish_languages): Always use `-o $@' with
1253         libtool.  Define ltcompile and ltlink at outermost scope in
1254         function.
1255         * libtool.am (.c.lo): Removed.
1256
1257         * automake.in (finish_languages): Put `.' before extension in
1258         suffix list, `.obj' rule, and `.lo' rule.  Look at `-flags', not
1259         `-flag'.  From Pavel Roskin.
1260
1261 1999-04-28  Tom Tromey  <tromey@cygnus.com>
1262
1263         * automake.in (finish_languages): Fixed scoping of ltcompile and
1264         ltlink.  From Pavel Roskin.
1265
1266 1999-04-27  Tom Tromey  <tromey@cygnus.com>
1267
1268         * automake.in (read_main_am_file): Don't start macro definition
1269         with backslash-newline.  Instead, append newline at the end if
1270         required.
1271
1272         * automake.in (read_am_file): Insert a backslash before a trailing
1273         newline.  Fixes pluseq8.test.
1274
1275         * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1276         macro name.
1277         (check_canonical_spelling): Don't insert `AM' before macro name
1278         (reverts Alexandre's 1999-04-27 patch).
1279         * automake.texi: Reverted documentation change for `AM' patch.
1280
1281         * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1282         Minor rewrite for clarity.
1283         (check_canonical_spelling): Prefer `$1' over `\1'.
1284
1285         * depend2.am (@OBJ@): Renamed.  Use @SOURCE@, @COMPILE@.  Always
1286         use `-o $@'.
1287         (@LTOBJ@): Likewise.
1288         * automake.in (handle_single_transform_list): Don't print rule if
1289         doing dependency tracking and the file's language supports it.
1290         (initialize_per_input): Initialize lang_specific_files.
1291         (add_depend2): New function.
1292         (handle_dependencies): Use it.
1293
1294         * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1295         ratfor compiler name is `RCOMPILE'.  ppf77 compiler name changed
1296         to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1297         directory.
1298         (lang_ratfor_finish): Use lang_f77_finish.
1299
1300         * compile.am (NOTDEPEND.c.o): Removed.
1301         (OBJEXT.c.obj): Likewise.
1302         * automake.in: Added `flags' attribute to all relevant languages.
1303         (handle_single_transform_list): Handle per-derived-object flags.
1304         Changed interface and all callers.
1305         (handle_built_sources): Don't call handle_single_transform_list.
1306         Added `compile' and `compiler-name' attribute to all relevant
1307         languages.
1308         (finish_languages): Define compiler variables here.
1309         (lang_cxx_finish): Don't call define_compiler_variable.  Don't
1310         define flag variable or .o rules.  Don't add to @suffixes.
1311         (lang_f77_finish): Likewise.
1312         (lang_ppf77_finish): Likewise.
1313         (lang_objc_finish): Likewise.
1314         (lang_java_finish): Likewise.
1315         (finish_languages): Define flag variable here.
1316         Added `output-arg' attribute to all relevant languages.
1317         (finish_languages): Define `.o' rules here.
1318         (finish_languages): Put extension on @suffixes.
1319         (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1320
1321 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
1322
1323         * automake.in (initialize_global_constants): Invoke gzip for
1324         dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1325
1326         * automake.in (initialize_global_constants): Remove zip file
1327         before re-creating it.
1328         Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1329
1330         * texinfos.am (uninstall-info): Look for info file in srcdir, just
1331         like in install-info-am.
1332         Reported by Tudor Hulubei <tudor@cs.unh.edu>
1333
1334         * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1335         Let's use the good ol' substitution, then.
1336         Reported by Russ Allbery <rra@stanford.edu>
1337
1338         * automake.in (check_canonical_spelling): Insert AM before names
1339         starting with non-letters.
1340
1341         * automake.texi: Document it.
1342
1343 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
1344
1345         * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1346         doesn't work on perl4.  Maybe \Q and \E do.
1347
1348 1999-04-24  Tom Tromey  <tromey@cygnus.com>
1349
1350         * automake.in: Treat `.zip' and `.jar' files as Java.
1351
1352         * automake.in (generate_makefile): Define `subdir' after reading
1353         .am file.
1354         (read_main_am_file): Give programming error if variable defined
1355         before invocation.
1356
1357 1999-04-22  Tom Tromey  <tromey@cygnus.com>
1358
1359         * automake.in (generate_makefile): Define `subdir' variable.
1360         (handle_dist): Don't define `subdir'.
1361
1362         * automake.in (handle_texinfo): Change numbering scheme for
1363         stamp-vti files, to avoid problems with DOS.
1364         From Michel de Ruiter.
1365
1366         * automake.texi: Don't mention AM_FUNC_MKTIME.
1367         * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1368         * automake.in (scan_one_configure_file): Recognize
1369         AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1370         (obsolete_macros): Mention AM_FUNC_MKTIME.
1371         * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1372         * m4/mktime.m4: Removed.
1373
1374 1999-04-20  Tom Tromey  <tromey@cygnus.com>
1375
1376         * automake.texi (Top level): Don't recommend substing SUBDIRS.
1377
1378 1999-04-20  Brian Ford <ford@vss.fsi.com>
1379
1380         * scripts.am: Change else if's to elif.
1381
1382 1999-04-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
1383
1384         * automake.in (handle_lib_objects_cond): Only require the source
1385         of a LIBOBJ if it's not in BUILT_SOURCES.
1386         Reported by Erez Zadok.
1387
1388 1999-04-19  Tom Tromey  <tromey@cygnus.com>
1389
1390         * automake.in: Treat `.class' files as Java source.
1391         (lang_java_finish): Handle `.class' files.
1392
1393 1999-04-18  Alexandre Oliva  <oliva@dcc.unicamp.br>
1394
1395         * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1396
1397         * m4/lispdir.m4: Do not override lispdir if it's already defined.
1398         Run some emacs-lisp to find out the site-lisp directory, but
1399         relocate it into prefix.
1400
1401 1999-04-17  Paul Eggert  <eggert@twinsun.com>
1402
1403         * m4/mktime.m4 (bigtime_test, main): Move alarm from
1404         bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1405         even outside of bigtime_test.  Use a time limit of 60 seconds
1406         for the whole test, not 10 seconds per iteration.
1407
1408 1999-04-17  Erez Zadok  <ezk@cs.columbia.edu>
1409
1410         * automake.in: Create stamps for headers in appropriate
1411         directories, even if the input file lives in a different place.
1412         * remake-hdr.am: Likewise.
1413
1414 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1415
1416         From Brian Ford:
1417         * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1418         Invoke `sed' only once per program.
1419         * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1420         Invoke `sed' only once per program.
1421
1422 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1423
1424         * automake.in (handle_subdirs): Make `install-recursive' phony.
1425         From Michel de Ruiter.
1426
1427         * automake.in (handle_ltlibraries): Added missing `check'.
1428
1429 1999-04-12  Tom Tromey  <tromey@cygnus.com>
1430
1431         * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1432         maintainer).
1433
1434 1999-04-11  Tom Tromey  <tromey@cygnus.com>
1435
1436         * automake.in (handle_dist): Use AMTAR.
1437         (initialize_global_constants): Likewise.
1438         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1439
1440         * automake.in (lang_sub_obj): New function.
1441         (lang_cxx_rewrite): Use it.
1442         (lang_asm_rewrite): Likewise.
1443         (lang_objc_rewrite): Likewise.
1444         (lang_cxx_finish): Add `-o $@' to all C++ rules.
1445         (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1446         (lang_objc_finish): Add `-o $@' to all ObjC rules.
1447         (lang_java_finish): Likewise.
1448
1449         * automake.in: Only register `asm' once.
1450         (lang_asm_finish): Put assembly suffixes on @suffixes.
1451
1452         * libtool.am (.s.lo): Removed.
1453         (.S.lo): Likewise.
1454         * automake.in (lang_asm_finish): Handle libtool.
1455
1456         * libtool.am (.c.o): Always pass -c to libtool.
1457
1458         * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1459         (lang_yaccxx_rewrite): Likewise.
1460         (lang_lex_rewrite): Likewise.
1461         (lang_lexxx_rewrite): Likewise.
1462
1463         Assembly code no longer included by default:
1464         * compile.am (.s.o): Removed.
1465         (.S.o): Likewise.
1466         * automake.in: Register `asm' language.
1467         (lang_asm_finish): Generate suffix rules for assembly.
1468         (get_object_extension): Don't add `.s' or `.S' to suffix list.
1469
1470         * automake.in (get_object_extension): Substitute @MINUSO@ when
1471         including compile.am.
1472         * compile.am (.c.o): Added @MINUSO@.
1473         (.c.obj): Likewise.
1474
1475         First cut at allowing objects in subdirectories:
1476         * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1477         * Makefile.am (dist_script_DATA): Added compile.
1478         * m4/minuso.m4: New file.
1479         * automake.in (initialize_global_constants): Added compile to
1480         common_files.
1481         (seen_cc_c_o): New global.
1482         (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1483         (handle_options): Recognize `subdir-objects' option.
1484         (lang_c_rewrite): Added directory argument.
1485         (lang_yacc_rewrite): Likewise.
1486         (lang_yaccxx_rewrite): Likewise.
1487         (lang_lex_rewrite): Likewise.
1488         (lang_lexxx_rewrite): Likewise.
1489         (handle_single_transform_list): Pass directory to _rewrite
1490         function.  Generate dependencies for dirstamp files for each .o;
1491         it is just the rules we want to create once.
1492         (lang_c_rewrite): Handle `subdir-objects' option.
1493         (lang_c_rewrite): Require `compile' program.
1494         * compile: New file.
1495
1496         * automake.in (initialize_per_input): Initialize %directory_map.
1497         (handle_single_transform_list): Only create .dirstamp rules once
1498         per directory.
1499
1500         * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1501
1502         Fix for confh.test:
1503         * automake.in (configure_input_files): New global.
1504         (scan_configure): Set it.
1505         (handle_configure): Use configure_input_files when determining
1506         which subdirs have a Makefile.am.  Fixes confh.test.
1507         (handle_configure): Only recognize acconfig.h in top srcdir.
1508
1509 1999-04-10  Tom Tromey  <tromey@cygnus.com>
1510
1511         * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1512         (%.lo): Likewise.
1513
1514         * automake.in (am_install_var): Remove redundancies from the
1515         result.  Fixes test cond8.test.
1516
1517         * automake.in (handle_single_transform_list): Handle dependency
1518         tracking when files are created in subdirs.  Error if object in
1519         subdir has `..' component.
1520
1521         * automake.in (initialize_global_constants): Use $(TAR), not tar.
1522
1523         * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1524
1525         * automake.in (lang_yacc_finish): Added missing `&'.
1526
1527 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1528
1529         * automake.in (handle_configure): Replace multiple occurrences of
1530         @STAMP@ in the same line; completes the patch for remake-hdr.am
1531         below.
1532
1533         * automake.in (handle_dependencies): Fix test for `autodep'
1534         support.
1535
1536         * automake.in (handle_source_transform): Add a pfx to used_pfx
1537         only if it's conditional or non-empty, to reduce the number of
1538         empty variables.  Emit _OBJECS variable based on program name if
1539         no SOURCES were explicitly specified.
1540
1541         * remake-hdr.am: Create the stamp file before the header file,
1542         and just rename it after, so that the timestamps will be correct.
1543         Reported by Marc Horowitz <marc@mit.edu>
1544
1545         * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1546         `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1547         Reported by Jim Meyering <meyering@ascend.com>
1548
1549         * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1550
1551 1999-04-10  Tom Tromey  <tromey@cygnus.com>
1552
1553         * Makefile.am (EXTRA_DIST): New macro.
1554         * ChangeLog.1996, ChangeLog.1998: New files.
1555
1556 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1557
1558         * automake.in (handle_source_transform): Handle dist and nodist
1559         prefixes.
1560         (initialize_per_input): Initialize dist_sources.
1561         (check_libobjs_sources): Handle dist and nodist prefixes.
1562         (generate_makefile): Define DIST_SOURCES.
1563         * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1564
1565         * automake.texi (Macros): Mention AM_PROG_GCJ.
1566         (Java Support): New node.
1567         (Dist): Documented dist_ and nodist_ prefixes.
1568
1569         * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1570
1571         * automake.in (lang_java_finish): Generate .lo rule for `.java'
1572         files, not `.gcj' files.
1573
1574         * m4/gcj.m4: New file.
1575         * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1576
1577         * automake.in: Register the `java' language.
1578         (resolve_linker): Handle GCJLINK.
1579         (lang_java_rewrite): New function.
1580         (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1581         (lang_c_rewrite): Use new constants.
1582         (lang_cxx_rewrite): Likewise.
1583         (lang_header_rewrite): Likewise.
1584         (lang_yacc_rewrite): Likewise.
1585         (lang_yaccxx_rewrite): Likewise.
1586         (lang_lex_rewrite): Likewise.
1587         (lang_lexxx_rewrite): Likewise.
1588         (lang_asm_rewrite): Likewise.
1589         (lang_f77_rewrite): Likewise.
1590         (lang_ppf77_rewrite): Likewise.
1591         (lang_ratfor_rewrite): Likewise.
1592         (lang_objc_rewrite): Likewise.
1593         (handle_single_transform_list): Likewise.  Handle LANG_SUBDIR
1594         return from rewrite function.
1595         (lang_java_finish): New function.
1596         (register_language): Changed interface and all calls.  Added
1597         `autodep' settings to various languages.
1598         (handle_dependencies): Use `autodep' property of language when
1599         including dependency-tracking code.
1600
1601 1999-04-07  Tom Tromey  <tromey@cygnus.com>
1602
1603         * automake.in (handle_texinfo): Indentation fixes.
1604
1605 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1606
1607         * automake.in (value_to_list): Skip *only* trailing backslashes.
1608
1609 1999-04-07  Pavel Roskin  <pavel_roskin@geocities.com>
1610
1611         * automake.in (value_to_list): Skip trailing backslashes.
1612
1613 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1614
1615         * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1616         when appropriate.
1617         Reported by Per Cederqvist <ceder@lysator.liu.se>
1618         (handle_texinfo): Do not define texinfo_tex='.', use
1619         '$(srcdir)/texinfo.tex' instead; the directory name will be
1620         properly extracted.
1621         (require_conf_file_with_line): Fixed typo.
1622
1623 1999-04-03  Raja R Harinath  <harinath@cs.umn.edu>
1624
1625         * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1626         we do not depend on PATH starting with `.'.
1627
1628 1999-03-31  Tom Tromey  <tromey@cygnus.com>
1629
1630         * automake.in (quote_cond_val): Quote \n.
1631         (unquote_cond_val): Unquote \n.
1632         (read_am_file): If line ends with `\', preserve it and add a
1633         newline.
1634         (read_main_am_file): In conditional case, put conditional text at
1635         beginning of each generated line.
1636
1637 1999-03-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1638
1639         * automake.in (handle_tests): support XFAIL_TEST
1640         * automake.texi: document it
1641
1642 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
1643
1644         * End of merge from trunk.
1645
1646 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
1647
1648         * automake.in (cmdline_use_dependencies): Reintroduce it.
1649         (--ignore-deps): Set cmdline_use_dependencies again.
1650         (handle_dependencies): If use_dependencies is not set, define
1651         depcomp as empty.
1652         (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1653         (scan_configure): Do not require depcomp when ignoring
1654         dependencies.
1655         (initialize_global_constants): Reintroduce --ignore-deps.
1656
1657 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1658
1659         * depcomp: New file.
1660         * Makefile.am (dist_script_DATA): Added depcomp.
1661         * automake.in (cmdline_use_dependencies, omit_dependencies,
1662         dependency_macros): Removed.
1663         (--ignore-deps): Just ignore.
1664         (handle_single_transform_list, dep_files): Named dependency files
1665         as \$(DEPDIR)/$base.P$obj
1666         (handle_lib_objects_cond): Likewise.
1667         (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1668         (scan_one_configure_file): Likewise.
1669         (handle_dependencies): Always enable auto-dep.  Define `depcomp'.
1670         Ignore OMIT_DEPENDENCIES.
1671         (handle_configure): Do not pass --ignore-deps.
1672         (scan_configure): Require `depcomp'.
1673         (initialize_global_constants): Make `depcomp' common.  Remove
1674         `--ignore-deps' from usage.
1675         (get_object_extension): No more NOTDEPEND in compile nor libtool.
1676         * compile.am: Remove rules for .c.o and .c.obj
1677         * depend.am (distclean-depend): Wipe out $(DEPDIR)
1678         * depend2.am (@FPFX@DEPMODE): Define from config.status.
1679         Use it and depcomp in suffix rules.
1680         * libtool.m4: Likewise.
1681         * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1682         * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1683         * m4/Makefile.am (dist_m4data_DATA): Likewise.
1684         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1685         from the Makefile and subst it in deps.  Report creation of deps
1686         files (for now).  Replace $U with `_' and the empty string.  Write
1687         a comment to each created file.
1688         * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1689         (AM_DEPENDENCIES): Accept CC, CXX and OBJC.  Just determine the
1690         dependency mode and AC_SUBST [$1]DEPMODE.
1691         * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1692         AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1693         appears in configure.in, before or after AM_INIT_AUTOMAKE.
1694
1695 1999-04-02  Raja R Harinath  <harinath@cs.umn.edu>
1696
1697         * depout.m4: Fix sed expression for extracting `dirpart'.
1698
1699 1999-03-29  Tom Tromey  <tromey@cygnus.com>
1700
1701         * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1702
1703         * compile.am (.c.obj): Also disabled when dependency tracking
1704         enabled.
1705         * depend2.am (@EXT@.obj): New target.
1706         * automake.in (get_object_extension): Added explanatory comment.
1707         (generate_dependency_code): Handle $seen_objext.
1708
1709         * depend.am: Removed obsolete comment.
1710         * depend2.am: Minor formatting fix.
1711
1712 1999-03-28  Tom Tromey  <tromey@cygnus.com>
1713
1714         * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1715         files.
1716         (EXTRA_DIST): Removed.
1717         * automake.in (dependency_macros): New global.
1718         (scan_one_configure_file): Recognize new dependency tracking
1719         macros, and define new resulting configure variables.
1720         (generate_dependency_code): New sub.
1721         (handle_dependencies): Use it.
1722         * depend2.am (DEP_@FPFX@COMPILE): New macro.
1723         (@EXT@.o): Use it.
1724         (@EXT@.lo): Likewise.
1725         * m4/depvars.m4: New file.
1726         * m4/objcdepend.m4: New file.
1727         * m4/cxxdepend.m4: New file.
1728         * m4/init.m4: Moved dependency handling code into depout.m4.
1729         * m4/depout.m4: New file.
1730         * m4/ccdepend.m4: New file.
1731         * m4/depend.m4: New file.
1732
1733         * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1734         (@EXT@.lo): Likewise.
1735         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1736         longer needed.
1737
1738         * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1739         will create the required .P files for dependency tracking.
1740         * automake.in (scan_dependency_file): Removed.
1741         (handle_dependencies): Never call scan_dependency_file.
1742         (generate_deps): Removed.
1743         (parse_arguments): Don't recognize --generate-deps, --build-dir,
1744         --srcdir-name, or --include-deps.  Do recognize --ignore-deps.
1745         (srcdir_name): Removed.
1746         (build_directory): Removed.
1747         (initialize_global_constants): Changed $USAGE to reflect argument
1748         parsing changes.
1749         (handle_dist_worker): Never run automake in `dist' rule.
1750         (handle_configure): Use --ignore-deps, not --include-deps.
1751         * depend.am (DEPS_MAGIC): Removed.
1752         (DEP_FILES): Unconditionally include.
1753
1754 1999-03-27  Tom Tromey  <tromey@cygnus.com>
1755
1756         * automake.in (saw_sources_p): Correctly count header extensions
1757         seen.
1758         (handle_headers): Fixed order of arguments to am_install_var.
1759
1760         * automake.in (am_install_var): Don't error if EXTRA_foo is
1761         defined uselessly.
1762
1763         * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1764         (uninstall-@DIR@SCRIPTS): Likewise.
1765         * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1766         (uninstall-@DIR@PROGRAMS): Likewise.
1767         * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1768         (uninstall-@DIR@LTLIBRARIES): Likewise.
1769         * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1770         (uninstall-@DIR@LISP): Likewise.
1771         * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1772         (uninstall-@DIR@LIBRARIES): Likewise.
1773         * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1774         (uninstall-@DIR@JAVA): Likewise.
1775         * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1776         (uninstall-@DIR@HEADERS): Likewise.
1777         * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1778         (uninstall-@DIR@DATA): Likewise.
1779         * Makefile.in: Rebuilt.
1780         * Makefile.am (dist_pkgdata_DATA): Renamed.
1781         (EXTRA_DIST): Removed.
1782         (install-data-hook): Added POST_INSTALL; print commands as they
1783         are run; respect DESTDIR.
1784         * dist-vars.am (DISTFILES): Removed $(HEADERS).
1785         * automake.in (am_install_var): Accept `-candist' and
1786         `-defaultdist' options.  Handle `dist_' and `nodist_' prefixes.
1787         (am_primary_prefixes): Added can_dist argument.  Recognize `dist_'
1788         and `nodist_' prefixes.
1789         (handle_scripts): Pass -candist to am_install_var.
1790         (handle_data): Pass -defaultdist to am_install_var.
1791         (handle_headers): Likewise.
1792         (handle_emacs_lisp): Pass -candist to am_install_var.
1793         (handle_java): Pass -candist to am_install_var.
1794
1795 1999-03-26  Tom Tromey  <tromey@cygnus.com>
1796
1797         * m4/init.m4: Fixed typo when invoking SHELL.
1798
1799         * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1800         yacc header file.  From Ralf Corsepius.
1801
1802         * Makefile.in: Rebuilt.
1803         * Makefile.am: Updated to reflect removal of TAR subst.
1804         * automake.texi (Options): Document dist-bzip2.
1805         * automake.in (TAR): Removed global.
1806         (initialize_global_constants): Changed `dist' to use pipe with
1807         gzip; work with non-GNU tar.
1808         (handle_dist): Handle non-GNU tar.  Don't define TAR.
1809         (initialize_global_constants): Added `dist-bzip2' entry.
1810         (handle_options): Recognize dist-bzip2 option.
1811         (handle_dist): Likewise.
1812         * configure: Rebuilt.
1813         * configure.in: Don't check for tar.
1814         * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'.  Substitute
1815         AMTARFLAGS.
1816
1817         * automake.in (am_install_var): Removed obsolete comment.
1818
1819         * texinfos.am (uninstall-info): Don't print loop but instead print
1820         commands.  Simplified pre-uninstall loop.
1821         * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1822         instead print commands.
1823         * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1824         print commands.
1825         * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1826         instead print commands.
1827         * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1828         (uninstall-@DIR@LISP): Likewise.  Also, don't print loop but
1829         instead print commands.
1830         * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1831         print commands.
1832         * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1833         print commands.
1834         * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1835         (uninstall-@DIR@HEADERS): Likewise.  Also, don't print loop but
1836         instead print commands.
1837         * data.am (install-@DIR@DATA): Strip subdir from file name.
1838         (uninstall-@DIR@DATA): Likewise.  Also, don't print loop but
1839         instead print commands.
1840
1841         * automake.in (handle_merge_targets): `install-strip' is a phony
1842         target.  From Michel de Ruiter.
1843
1844 1999-03-25  Tom Tromey  <tromey@cygnus.com>
1845
1846         * automake.in (define_compiler_variable): Don't define variable
1847         with trailing `_'.
1848
1849 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1850
1851         * automake.in (LDADD): accept -dlopen and -dlpreopen here
1852         * automake.texi: ditto
1853
1854 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1855
1856         * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1857         is absolute and != objdir.  dir="" or "$(srcdir)/" fixes it
1858
1859 1999-03-24  Tom Tromey  <tromey@cygnus.com>
1860
1861         * automake.in (define_compiler_variable): New sub.
1862         (finish_languages): Use it.
1863         (lang_cxx_finish): Likewise.
1864         (lang_f77_finish): Likewise.
1865         (lang_ppf77_finish): Likewise.
1866         (lang_ratfor_finish): Likewise.
1867         (lang_objc_finish): Likewise.
1868
1869 1999-03-23  Tom Tromey  <tromey@cygnus.com>
1870
1871         * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1872         sed invocations.  From Elrond.
1873         (uninstall-@DIR@PROGRAMS): Likewise.
1874
1875         * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1876         From Ralf Corsepius.
1877
1878 1999-02-01  Thomas Tanner  <tanner@gmx.de>
1879
1880         * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1881         warning when AM_PROG_LIBTOOL was found
1882         * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1883
1884 1999-03-22  Tom Tromey  <tromey@cygnus.com>
1885
1886         Made `+=' more robust.  Fixes pluseq6.test and pluseq7.test.
1887         * automake.in (define_standard_variables): New sub.
1888         (read_main_am_file): Use two passes to scan standard variables.
1889         (read_am_file): Don't special-case configure variables with `+='.
1890         (initialize_per_input): Initialize %var_was_plus_eq.
1891         (read_am_file): Set var_was_plus_eq element correctly.
1892         (define_variable): Give error if variable assigned with `+=' is
1893         internally defined.
1894         (initialize_per_input): Initialize %am_var_defs.
1895         (file_contents_with_transform): Set element in %am_var_defs.
1896         (read_am_file): Use %am_var_defs.
1897
1898 1999-03-21  Tom Tromey  <tromey@cygnus.com>
1899
1900         * automake.in (initialize_per_input): Initialize %object_map.
1901         (handle_single_transform_list): Allow source files in
1902         subdirectories.
1903
1904 1999-03-21  Jim Meyering  <meyering@na-net.ornl.gov>
1905
1906         * automake.in (handle_dist): Add missing newline after the first
1907         semicolon.
1908
1909 1999-03-11  Tom Tromey  <tromey@cygnus.com>
1910
1911         * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1912         m4/strtod.m4: Use $ac_objext, not `.o'.  From Jim Meyering.
1913
1914         From Jim Meyering:
1915         * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1916         line.
1917         (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1918         legitimate ending.  Fixes libobj9.test.
1919
1920         From Ralf Corsepius.  Fixes lex3.test.
1921         * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1922         maintainer-clean list.
1923         (lang_lex_finish): Likewise.
1924
1925 1999-03-02  Tom Tromey  <tromey@cygnus.com>
1926
1927         * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1928         construct to work around FreeBSD make/sh problem.  From Rich Wales.
1929
1930 1999-03-01  Tom Tromey  <tromey@cygnus.com>
1931
1932         Fixes from Pavel Roskin:
1933         * automake.in (variable_conditions_sub): Sort list passed to
1934         variable_conditions_permutations.
1935         (variable_conditions): Sort list before returning.
1936
1937 1999-02-27  Tom Tromey  <tromey@cygnus.com>
1938
1939         * automake.in (lang_extensions): New sub.
1940         (handle_dependencies): Use it.
1941         (cxx_extensions): Removed.
1942         (lang_cxx_finish): Use lang_extensions.
1943         (f77_extensions): Removed.
1944         (lang_f77_finish): Use lang_extensions.
1945         (objc_extensions): Removed.
1946         (lang_ppf77_finish): Put `.' before extension.  Fixes ext.test.
1947         Report from Dave Morrison.
1948         (lang_ratfor_finish): Likewise.
1949
1950 1999-02-26  Tom Tromey  <tromey@cygnus.com>
1951
1952         * automake.in (finish_languages): Added AM_LDFLAGS.
1953         (lang_cxx_finish): Likewise.
1954         (lang_f77_finish): Likewise.
1955         (lang_ppf77_finish): Likewise.
1956         (lang_ratfor_finish): Likewise.
1957         (lang_objc_finish): Likewise.
1958
1959 1999-02-11  Tom Tromey  <tromey@cygnus.com>
1960
1961         * aclocal.in (obsolete_macros): Copied from automake.in.
1962         (obsolete_rx): Use only keys of obsolete_macros.
1963         (scan_configure): Report replacement macro for an obsolete macro.
1964         * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1965
1966         * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1967         entry.  Fixes obsolete2.test.
1968
1969         * automake.in (obsolete_macros): Use empty string to indicate no
1970         substitution.
1971         (scan_one_configure_file): Likewise.
1972
1973 1999-02-07  Paul Eggert  <eggert@twinsun.com>
1974
1975         * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1976         -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1977         needed by some programs.
1978
1979 1999-02-10  Tom Tromey  <tromey@cygnus.com>
1980
1981         * automake.in (handle_texinfo): Added `pgs' to list of
1982         extensions.  From NISHIDA Keisuke.
1983
1984 1999-02-04  Akim Demaille  <demaille@inf.enst.fr>
1985
1986         * automake.in (handle_texinfo): remove texinfo.tex from
1987         TEXINFODIR.
1988
1989 1999-02-02  Tom Tromey  <tromey@cygnus.com>
1990
1991         * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1992         * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1993         * header-vars.am (INSTALL_PROGRAM): Removed
1994         AM_INSTALL_PROGRAM_FLAGS.
1995         (INSTALL_STRIP_FLAG): New macro.
1996
1997         * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1998         lex source.
1999         (lang_yacc_finish): Likewise.
2000         (lang_lex_finish): Likewise.
2001
2002 1999-02-01  Tom Tromey  <tromey@cygnus.com>
2003
2004         * automake.in (handle_dist_worker): Correctly find find in $$d,
2005         not $$.  From Bill Davidson.
2006
2007         * automake.in (finish_languages): Use "&", not "do".  From Pavel
2008         Roskin.
2009         (handle_single_transform_list): Likewise.
2010
2011 1999-01-29  Tom Tromey  <tromey@cygnus.com>
2012
2013         * automake.in (handle_configure): Removed unused variable.  From
2014         Pavel Roskin.
2015
2016         * ansi2knr.c: New version from L. Peter Deutsch.
2017
2018 1999-01-22  Tom Tromey  <tromey@cygnus.com>
2019
2020         * automake.in (require_file_internal): Correctly examine return
2021         value of `system'.  From Andris Pavenis.  Fixes copy.test.
2022
2023         * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2024
2025         * automake.in (lang_ppf77_rewrite): New function.  From Jochen
2026         Kuepper.  Fixes ppf77.test.
2027         (lang_ratfor_rewrite): New function
2028
2029         * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2030         fix).  From Erez Zadok.
2031
2032 1999-01-15  Tom Tromey  <tromey@cygnus.com>
2033
2034         * configure.in: Version 1.4a (oops).
2035
2036         * configure.in: Updated version to 1.5a.
2037
2038 1999-01-14  Tom Tromey  <tromey@cygnus.com>
2039
2040         * automake.in (handle_configure): Compute $header_dir based on
2041         $one_name, not $one_hdr.  Reported by Erez Zadok.  Fixes
2042         confh2.test.
2043         (handle_configure): Compute relative path to input header
2044         correctly in all cases.
2045
2046         * automake.in (handle_tests): Avoid error messages from dejagnu
2047         test rules.  From Karl Heuer.
2048
2049         * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2050
2051         * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2052
2053         * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2054         From Alexandre Oliva and Erez Zadok.
2055
2056         * automake.in (create): Renamed from touch.
2057         (handle_configure): Use create, not touch.
2058
2059         * config.sub, config.guess: New versions from autoconf.
2060
2061         * mkinstalldirs: New version from autoconf.
2062
2063 1999-01-12  Tom Tromey  <tromey@cygnus.com>
2064
2065         * config.sub, config.guess, COPYING, texinfo.tex: New versions
2066         from FSF.
2067
2068 1999-01-11  Marcus G. Daniels  <mgd@chama.santafe.edu>
2069
2070         * automake.in (PATH_PATTERN): New variable:
2071         (INCLUDE_PATTERN): Use it.  Ignore all include commands using
2072         symbols besides $(top_srcdir) and $(srcdir).
2073
2074 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
2075
2076         * automake.in (handle_dist_worker): avoid failure in `make dist'
2077         if last file is a builddir-only file
2078
2079 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
2080
2081         * missing (autoheader): `s' was missing from sed script; grr
2082
2083 1999-01-11  Tom Tromey  <tromey@cygnus.com>
2084
2085         * remake-hdr.am (@STAMP@): Reverted timestamp change.
2086         ($(srcdir)/@STAMP@.in): Likewise.
2087
2088 1999-01-10  Tom Tromey  <tromey@cygnus.com>
2089
2090         * Makefile.am (scriptdir): New macro.
2091         (script_DATA): Likewise.
2092         (install-data-hook): Use them.
2093         (EXTRA_DIST): Added script_DATA.
2094         (installcheck-local): Use script_DATA.
2095
2096         * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2097
2098 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
2099
2100         * missing (autoheader): accept multiple header files
2101         (automake): simplify sed processing
2102
2103 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
2104
2105         * automake.in (handle_configure, stamp_dir): create only one stamp
2106         file per header, instead of one in the top-level directory and one
2107         in the directory that contains the header.
2108
2109 1999-01-10  Tom Tromey  <tromey@cygnus.com>
2110
2111         * automake.in (lang_objc_finish): Formatting fix.
2112
2113         * automake.in (objc_extensions): New sub.
2114         (handle_dependencies): Only generate dependency-tracking code for
2115         ObjC when ObjC source seen.