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