.
[platform/upstream/automake.git] / ChangeLog
1 2000-02-13  Jim Meyering  <meyering@lucent.com>
2
3         * automake.in (generate_makefile): Detect write/close failure.
4
5 2000-02-02  Assar Westerlund  <assar@sics.se>
6
7         * automake.in (handle_single_transform_list): do not use $< which
8         is not handled by all non-GNU makes.  Instead do explicit sh code
9         testing for the file in this directory and srcdir.  Based on a
10         suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11
12 2000-01-12  Tom Tromey  <tromey@cygnus.com>
13
14         * m4/lispdir.m4: Added --with-lispdir argument processing.
15         From Kevin Dalley.
16
17 2000-01-06  Tom Tromey  <tromey@cygnus.com>
18
19         * automake.in (handle_configure): Don't check for
20         AC_PROG_MAKE_SET.
21         (scan_configure): Check for AC_PROG_MAKE_SET.
22
23         * header-vars.am (@SET_MAKE@): Added.
24         * subdirs.am (@SET_MAKE@): Removed.  Report from Motoyuki
25         Kasahara.
26
27 1999-12-19  Tom Tromey  <tromey@cygnus.com>
28
29         * automake.in (handle_dist_worker): Expand DIST_COMMON under all
30         conditions.
31         (require_file_internal): Corrected arguments to second invocation
32         of maybe_push_required_file.
33
34         Fix for PR automake/9:
35         * automake.in (make_dirs, make_dirs_set): New globals.
36         (is_make_dir): New function.
37         (handle_configure): Use it.
38         (require_file_internal): Push file if there is no Makefile in its
39         directory.
40         (initialize_per_input): Initialize handle_dist_run.
41         (push_dist_common): Inspect handle_dist_run.
42         (handle_dist): Set handle_dist_run.  Push items from
43         configure_dist_common onto dist_common if appropriate.
44         (configure_dist_common): New global.
45         (scan_configure): Set it.
46         (maybe_push_required_file): New function.
47         (require_file_internal): Use it.
48
49         * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
50         more subdirs are defined.  From Axel Belinfante.  Fixes
51         PR automake/2.
52
53 1999-12-18  Tom Tromey  <tromey@cygnus.com>
54
55         Partial fix for PR automake/40:
56         * lisp.am (install-@DIR@LISP): Handle nobase_ case.
57         (uninstall-@DIR@LISP): Likewise.
58         * header.am (install-@DIR@HEADERS): Handle nobase_ case.
59         (uninstall-@DIR@HEADERS): Likewise.
60         * data.am (install-@DIR@DATA): Handle nobase_ case.
61         (uninstall-@DIR@DATA): Likewise.
62         * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
63         (am_install_var): Recognize and handle `nobase_' prefix.
64
65 1999-12-17  Tom Tromey  <tromey@cygnus.com>
66
67         * automake.in (get_object_extension): Added space before `-I.'.
68         Report from Ralf Corsepius.
69
70 1999-12-15  Tom Tromey  <tromey@cygnus.com>
71
72         * aclocal.in: Don't pass $acdir to scan_m4_files.
73         (parse_arguments): Push $acdir on end of dirlist.
74         (scan_file): Don't warn if duplicate macro seen.
75
76 1999-12-13  Tom Tromey  <tromey@cygnus.com>
77
78         Fix for PR automake/30 and PR automake/23.  Fixes test
79         suffix3.test.
80         * automake.in (initialize_per_input): Initialize
81         source_suffix_pattern.
82         (derive_suffix): New function.
83         (handle_single_transform_list): Call it.
84
85         * automake.in (add_depend2): Handle the no-dependency-tracking
86         case.  Fixes test suffix2.test.
87
88         * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
89
90         * automake.in (get_object_extension): Fixed quoting on
91         -I$(srcdir).
92
93         * depend2.am: Removed erroneous comment.
94
95         * automake.texi (Program variables): Document nostdinc.
96         (Options): Likewise.
97         * automake.in (get_object_extension): Respect nostdinc option.
98         (handle_options): Recognize nostdinc.
99         * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
100         substitution.
101
102         * automake.in (read_am_file): Allow conditional includes.  Fixes
103         test condincl.test.
104
105         * depcomp: Handle case on SGI when libtool is `yes'.
106         * depend2.am (@EXT@.o): Set libtool.
107         (@EXT@.lo): Likewise.
108         (@EXT@.obj): Likewise.
109
110         * depcomp: Unify dashmstdout and dashXmstdout cases.  Move hp case
111         after gcc case.
112
113 1999-12-13  Pavel Roskin  <pavel_roskin@geocities.com>
114
115         * automake.in (add_depend2): substitute $rule in the rules
116         for individual files.  Fixes test specflags5.test.
117
118 1999-12-12  Tom Tromey  <tromey@cygnus.com>
119
120         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
121         to create directories.  Fixes test subobj3.test.
122
123 1999-12-10  Tom Tromey  <tromey@cygnus.com>
124
125         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
126         message when creating .deps files.
127
128         * automake.in (initialize_global_constants): If unreadable by
129         owner, make it readable by owner regardless of number of links.
130         Fixes more of install2.test.
131
132         * missing: Try to see if gnutar or gtar exist before invoking
133         them.
134
135         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
136         install_sh value.  Look for install-sh and install.sh in a
137         somewhat more sensible way.  Fixes test install2.test.  Partially
138         from Jim Meyering.
139
140 1999-12-09  Pavel Roskin  <pavel_roskin@geocities.com>
141
142         * m4/missing.m4: remove redundant backquote
143
144 1999-11-23  Tom Tromey  <tromey@cygnus.com>
145
146         * automake.in (initialize_global_constants): Use `bzip2 -9', not
147         `bzip --best'  Report from Jim Meyering.
148
149 1999-11-22  Tom Tromey  <tromey@cygnus.com>
150
151         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
152         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
153         AM_MISSING_INSTALL_SH.
154         * automake.in (scan_one_configure_file): Reverted previous
155         change.
156
157         * automake.in (scan_one_configure_file): Define `install_sh'
158         configure variable when AM_INIT_AUTOMAKE seen.  Report from Jim
159         Meyering.
160
161         * automake.in (handle_single_transform_list): Generate explicit
162         rule for subdir objects.  Fixes new addition to subobj.test.
163
164         * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
165         defined by AC_SUBST.  Fixes ltlibobjs.test.
166
167         Fix for sourcesub.test:
168         * automake.in (handle_single_transform_list): Added `var'
169         argument.  If config sub found, give error.
170         (handle_source_transform): Updated for new
171         handle_source_transform.
172
173         * py-compile: New file.
174         * m4/Makefile.am (m4data_DATA): Added python.m4.
175         * m4/python.m4: New file.
176         * automake.texi (Uniform): Mention PYTHON.
177         (Python): New node.
178         * Makefile.am (amfiles): Added python.am, python-clean.am.
179         (dist_script_DATA): Added py-compile.
180         * python.am: New file.
181         * python-clean.am: New file.
182         * automake.in (seen_pythondir): New global.
183         (generate_makefile): Call handle_python.
184         (handle_python): New function.
185         (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
186         seen.
187         (am_install_var): Special-case PYTHON like JAVA.
188         (scan_configure): Check for py-compile.
189         (initialize_global_constants): Added py-compile to @common_files.
190
191         * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
192
193 1999-11-21  Tom Tromey  <tromey@cygnus.com>
194
195         * automake.in (finish_languages): Only generate suffix rule when
196         not doing dependency tracking.
197
198         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
199         * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
200
201         * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
202         Always use `-o'.
203
204 1999-11-19  Tom Tromey  <tromey@cygnus.com>
205
206         * dist.am: Set `CDPATH=:' to avoid problems.  Merged from
207         Alexandre's change on branch.
208
209 1999-10-02  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
210
211         * Makefile.am (maintainer-check): Look for occurrences of ``cd'
212         without `CDPATH'.
213         * dejagnu.am: Set CDPATH before cd.
214         * Makefile.in: Rebuilt.
215
216         * automake.in (handle_single_transform_list): Change `\1' for `$1'
217         in `s///' replacement.
218
219         * automake.in (handle_dist): Set CDPATH before cd.
220         * dejagnu.am (check-DEJAGNU): Likewise.
221         * texinfos.am (install-info-am, dist-info): Likewise.
222         * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
223         * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
224         * aclocal.m4, configure, Makefile.in: Rebuilt.
225
226         * AUTHORS: Added myself.
227
228 1999-09-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
229
230         * m4/missing.m4: Support relative srcdir and ac_aux_dir.
231         Reported by Tim Wilkinson <tim@transvirtual.com>
232         * aclocal.m4, configure: Rebuilt.
233
234 1999-08-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
235
236         * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
237         LEX program is found, use `${am_missing_run}flex'.
238
239 1999-08-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
240
241         * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
242         with `o' in depfile.
243
244         * automake.in (handle_lib_objects_cond): Remove second dot from
245         dependency file names.
246
247         * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
248         regardless of OBJEXT.
249
250         * automake.in (handle_dependencies): Add blank line after depend2.
251         (handle_dependencies): Start DEP_FILES with `@AMDEP@'.  Output
252         blank line before `include's, not after them.
253         (scan_one_configure_file): Do not special-case `DEP_' any more.
254
255         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
256         if AMDEP is empty.
257         * aclocal.m4, configure: Rebuilt.
258
259         * m4/depend.m4 (AMDEPBACKSLASH): Define.
260         * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
261
262         * automake.in (handle_dependencies): Generate `include's for
263         dependency files after `@AMDEP@'.
264
265         * m4/missing.m4: Use eval, instead of a sub-shell, to test for
266         --run support in the missing script, since SHELL is not exported.
267         Reported by job bogan <job@piquin.uchicago.edu>
268         * aclocal.m4, configure: Rebuilt.
269
270 1999-08-15  Alexandre Oliva  <oliva@dcc.unicamp.br>
271
272         * aclocal.m4, configure: Rebuilt with itself.
273         * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
274
275         * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
276         Require AM_MISSING_HAS_RUN.  Use am_missing_run, defined by...
277         (AM_MISSING_HAS_RUN): New macro.
278         * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
279         * automake.texi (Requirements): Likewise.
280         * version.texi, stamp-vti: Rebuilt.
281
282 1999-07-28  Tom Tromey  <tromey@cygnus.com>
283
284         * depcomp: Handle the `hp' mode.
285
286 1999-07-06  Tom Tromey  <tromey@cygnus.com>
287
288         * depcomp: Work around HP-UX 10.20 sed bug.
289
290 1999-07-05  Tom Tromey  <tromey@cygnus.com>
291
292         * automake.in (handle_dependencies): Generate a separate include
293         for each dep file.  Report from Alexandre Oliva.
294         * depend.am: Don't include DEP_FILES.
295
296 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
297
298         * depend.am: Add @AMDEP@ before `include', so that dependency
299         tracking can be disabled.
300         * depend2.am: Ditto, before all lines related with dependency
301         tracking.
302         * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
303         --enable/disable-dependency-tracking and sets AMDEP accordingly.
304         It is implicitly disabled if depcomp is missing.
305         (AM_DEPENDENCIES): Disable dependency tracking unless it can be
306         generated by side-effect.
307         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
308         * automake.in (handle_dependencies): Add @AMDEP@ before the value
309         of DEP_FILES.
310         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
311         starting with `#'.
312
313         * depcomp: Support -xM for dependency generation, for Sun CC.
314         Reported by Alex Hornby <alex@anvil.co.uk>
315         * m4/depend.m4: Extract the list of supported dependency-tracking
316         mechanisms from the depcomp script and use it to test each one.
317         * THANKS: Added Alex Hornby.
318
319         * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
320         to leave $(...COMPILE) in a line by itself.
321
322         * THANKS: Added Miles Bader.
323
324 1999-06-01  Miles Bader  <miles@ccs.mt.nec.co.jp>
325
326         * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
327         Fix `dashmstdout' to ignore non-dependency-generating uses of the
328         -M flag.
329         * depcomp (makedepend): New dependency-generating method.
330
331 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
332
333         * missing: If given `--run' as first argument, try to run the
334         given program before falling back to the ``emulated'' behavior.
335         Add support for `tar'.
336         * automake.in: Use new `tar' support for `dist'.
337         * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
338         program, prepend `missing --run' to the given program name.
339         * m4/init.m4: Remove AMTAR-related stuff.
340         * NEWS: Updated.
341
342         * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
343         CONFIG_FILES.  Do not use temporary variable for list of
344         dependency files, it breaks Cygwin.
345
346 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
347
348         * depcomp (gcc): Imported comments removed from depend2.am, so
349         that we don't lose them.
350
351         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
352         when not using ansi2knr.
353
354 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
355
356         * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
357         * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
358
359 1999-04-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
360
361         * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
362         so as not to compile an empty source; some compilers fail on this.
363         Redirect stderr of depcc to /dev/null.  Test for -M with -o,
364         because some compilers will output the rules to the output file.
365         * depcomp (dashmstdout): Add --silent before --mode=compile, so
366         that we don't get libtool output mixed up with make rules.
367
368         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
369         * depend2.am: Set tmpdepfile too, to speed up depcomp.  Always use
370         -o for libtool, otherwise it may try to deduce the object name
371         from the dependency-generation flag.
372         * depcomp: Assume depdir exists.  Preserve depfile on unsuccessful
373         compilations.
374
375         * libtool.am: Do not emit .c.lo here...
376         * depend2.am: ... emit .*.lo here, only when using libtool.
377         * automake.in (get_object_extension): No more @MINUSO@ here.
378         (handle_single_transform_list): Set $depfile from $object.
379         (handle_dependencies): Emit depend2.am for all used languages,
380         regardless of $use_dependencies; the setting of depcomp makes the
381         difference.
382         (lang_cxx_finish): Do not emit compilation rules.
383         (lang_objc_finish): Likewise.
384         (lang_java_finish): Likewise.
385
386 1999-04-21  Tom Tromey  <tromey@cygnus.com>
387
388         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
389         interpolate DEPDIR in DEP_FILES expansion.
390
391 1999-04-20  Lee Iverson  <leei@Canada.AI.SRI.COM>
392
393         * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
394         dependency updating.
395         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
396         handle multi-line dependency lists.
397
398 1999-11-12  Tom Tromey  <tromey@cygnus.com>
399
400         Fix for PR automake/14:
401         * aclocal.in: Added `ud_GNU_GETTEXT'.  Updated to mention
402         AC_CYGWIN.
403         * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
404
405         * m4/multi.m4: Added missing `]'.  From Akim Demaille.
406
407         * Makefile.am (path-check): Make sure distdir is writeable before
408         removing it.
409         * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
410         (handle_dist_worker): Make sure distdir is writeable before
411         removing it.
412         (initialize_global_constants [$dist_trailer]): Make sure distdir
413         is writeable before removing it.
414         * dist.am (distcheck): Make the new source tree read-only before
415         compiling.  Idea from Karl Berry.
416
417         * automake.texi (Gnits): Allow COPYING.LIB again.
418         * automake.in (check_gnits_standards): Allow COPYING.LIB again.
419
420 1999-11-11  Jim Meyering  <meyering@ascend.com>
421
422         * dist.am (distcheck): Remove $(distdir).tar.gz before counting
423         files.
424
425 1999-11-09  Tom Tromey  <tromey@cygnus.com>
426
427         * automake.in (handle_dist): Typo fix.  From Jim Meyering.
428
429 1999-11-09  Jim Meyering  <meyering@ascend.com>
430
431         * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
432         markers, no matter what.
433
434 1999-11-08  Tom Tromey  <tromey@cygnus.com>
435
436         * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
437         line.
438
439         * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
440         From Jim Meyering.  Also, don't mention file name in `cp'
441         destination.  From Olly Betts.
442
443 1999-10-27  Miodrag Vallat  <miodrag@ifrance.com>
444
445         * texinfos.am (uninstall-info): Use installed info file, not one
446         from srcdir or builddir.
447
448 1999-11-07  Tom Tromey  <tromey@cygnus.com>
449
450         * clean.am (maintainer-clean-generic): Remove Makefile.in.  From
451         Jeff Bailey
452
453         Fix for PR automake/18:
454         * automake.in (handle_dist): Add contents of dist.am to the output
455         rules.
456         * Makefile.am (amfiles): Added dist.am.
457         * dist.am: New file.
458         (distcheck): Added uninstall and distclean checks.
459
460         * automake.in (PATH_PATTERN): Added `-' as allowable character.
461         Fixes PR automake/20.  From Matthew D. Langston.
462
463         * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
464         allowed in suffixes.  Fixes PR 22.  From Matthias Clasen.
465
466 1999-10-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
467
468         * m4/lispdir.m4: -batch must come before -q.
469         * elisp-comp: Likewise.
470         Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
471         * THANKS: Added Lars.
472
473 1999-08-15  Tom Tromey  <tromey@cygnus.com>
474
475         * automake.in (get_object_extension): Fixed quoting bug.  Fixes
476         ansi4.test.
477
478 1999-07-27  Tom Tromey  <tromey@cygnus.com>
479
480         * config.guess, config.sub: New versions from autoconf.
481
482 1999-07-13  Tom Tromey  <tromey@cygnus.com>
483
484         Work around losing `awk'.  Report from Harlan Stenn.
485         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
486         * tags.am (ID, TAGS): Use $(AWK), not `awk'.
487
488         * automake.in (handle_source_transform): Mark prefix as seen if
489         corresponding _SOURCES variable exists.  Fixes empty2.test.
490
491 1999-06-25  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
492
493         * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
494         m4.
495         (AUTOMAKE): Set --amdir to current directory.
496
497 1999-06-20  Tom Tromey  <tromey@cygnus.com>
498
499         * Makefile.am (TAGS_FILES): New macro.
500         (ETAGS_ARGS): Moved files into TAGS_FILES.
501         (TAGS_DEPENDENCIES): Likewise.
502         (ETAGS_ARGS): Removed.
503         (TAGS_DEPENDENCIES): Removed duplicate definition.
504
505         * tags.am (ID): Handle VPATH correctly.  Use TAGS_FILES.  Report
506         from Ganesan Rajagopal.
507         (TAGS): Likewise.
508
509 1999-06-18  Thomas Tanner  <tanner@ffii.org>
510
511         * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
512         too.
513
514 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
515
516         * ylwrap: Handle filenames output by the DOS version of Bison.
517
518 1999-06-20  Tom Tromey  <tromey@cygnus.com>
519
520         * ylwrap: Be less strict when recognizing DOS paths.  From Mark
521         Elbrecht.
522
523 1999-06-19  Tom Tromey  <tromey@cygnus.com>
524
525         * automake.in (handle_dist_worker): Remove redundant entries from
526         DIST_SUBDIRS.
527
528         * automake.in (handle_lib_objects_cond): Better error message when
529         unrecognized option passed in LDADD.
530
531 1999-06-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
532
533         * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
534         appropriate --acdir and --amdir arguments.
535
536 1999-06-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
537
538         * automake.in (dist_header): Avoid changing permissions of files
539         in the source tree, trying a complex `find/chmod' command before
540         falling back to plain chmod.
541         (handle_dist_worker): Do not create directories with mode 777, the
542         find above will take care of that.
543         * m4/init.m4: Set install_sh for find/chmod above.
544
545         * THANKS: Added Shuhei Amakawa.
546
547 1999-06-07  Shuhei Amakawa <sa264@cam.ac.uk>
548
549         * mans.am: Strip dirname from given filename.
550
551 1999-06-07  Jim Meyering  <meyering@ascend.com>
552
553         * automake.in (handle_dist): Change emitted rules so that a failure
554         in `$(MAKE) distcheck-hook' propagates to the outer make.
555
556 1999-05-27  Tom Tromey  <tromey@cygnus.com>
557
558         * automake.in (handle_single_transform_list): Replace AM_FLAG and
559         not FLAG in compilation rule.
560         (add_depend2): Likewise.
561
562         * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
563         libtool.
564
565         * m4/dmalloc.m4: Updated dmalloc site information.
566
567 1999-05-19  Tom Tromey  <tromey@cygnus.com>
568
569         * automake.in (handle_single_transform_list): Push object name
570         without extension onto lang_specific_files.  Fixes
571         specflags4.test.
572
573         * automake.in (handle_single_transform_list): Added missing
574         space.  Fixes specflags.test.
575
576 1999-05-05  Tom Tromey  <tromey@cygnus.com>
577
578         * automake.in: Disabled dependency tracking for Java.
579
580 1999-05-04  Tom Tromey  <tromey@cygnus.com>
581
582         * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
583         * automake.in (handle_libraries): Recognize _AR variable.
584
585 1999-04-30  Tom Tromey  <tromey@cygnus.com>
586
587         * automake.in (finish_languages): Always use `-o $@' with
588         libtool.  Define ltcompile and ltlink at outermost scope in
589         function.
590         * libtool.am (.c.lo): Removed.
591
592         * automake.in (finish_languages): Put `.' before extension in
593         suffix list, `.obj' rule, and `.lo' rule.  Look at `-flags', not
594         `-flag'.  From Pavel Roskin.
595
596 1999-04-28  Tom Tromey  <tromey@cygnus.com>
597
598         * automake.in (finish_languages): Fixed scoping of ltcompile and
599         ltlink.  From Pavel Roskin.
600
601 1999-04-27  Tom Tromey  <tromey@cygnus.com>
602
603         * automake.in (read_main_am_file): Don't start macro definition
604         with backslash-newline.  Instead, append newline at the end if
605         required.
606
607         * automake.in (read_am_file): Insert a backslash before a trailing
608         newline.  Fixes pluseq8.test.
609
610         * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
611         macro name.
612         (check_canonical_spelling): Don't insert `AM' before macro name
613         (reverts Alexandre's 1999-04-27 patch).
614         * automake.texi: Reverted documentation change for `AM' patch.
615
616         * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
617         Minor rewrite for clarity.
618         (check_canonical_spelling): Prefer `$1' over `\1'.
619
620         * depend2.am (@OBJ@): Renamed.  Use @SOURCE@, @COMPILE@.  Always
621         use `-o $@'.
622         (@LTOBJ@): Likewise.
623         * automake.in (handle_single_transform_list): Don't print rule if
624         doing dependency tracking and the file's language supports it.
625         (initialize_per_input): Initialize lang_specific_files.
626         (add_depend2): New function.
627         (handle_dependencies): Use it.
628
629         * automake.in (lang_ppf77_finish): Use lang_f77_finish.
630         ratfor compiler name is `RCOMPILE'.  ppf77 compiler name changed
631         to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
632         directory.
633         (lang_ratfor_finish): Use lang_f77_finish.
634
635         * compile.am (NOTDEPEND.c.o): Removed.
636         (OBJEXT.c.obj): Likewise.
637         * automake.in: Added `flags' attribute to all relevant languages.
638         (handle_single_transform_list): Handle per-derived-object flags.
639         Changed interface and all callers.
640         (handle_built_sources): Don't call handle_single_transform_list.
641         Added `compile' and `compiler-name' attribute to all relevant
642         languages.
643         (finish_languages): Define compiler variables here.
644         (lang_cxx_finish): Don't call define_compiler_variable.  Don't
645         define flag variable or .o rules.  Don't add to @suffixes.
646         (lang_f77_finish): Likewise.
647         (lang_ppf77_finish): Likewise.
648         (lang_objc_finish): Likewise.
649         (lang_java_finish): Likewise.
650         (finish_languages): Define flag variable here.
651         Added `output-arg' attribute to all relevant languages.
652         (finish_languages): Define `.o' rules here.
653         (finish_languages): Put extension on @suffixes.
654         (get_object_extension): Don't transform NOTDEPEND or MINUSO.
655
656 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
657
658         * automake.in (initialize_global_constants): Invoke gzip for
659         dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
660
661         * automake.in (initialize_global_constants): Remove zip file
662         before re-creating it.
663         Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
664
665         * texinfos.am (uninstall-info): Look for info file in srcdir, just
666         like in install-info-am.
667         Reported by Tudor Hulubei <tudor@cs.unh.edu>
668
669         * automake.in (handle_lib_objects_cond): \Q doesn't work either.
670         Let's use the good ol' substitution, then.
671         Reported by Russ Allbery <rra@stanford.edu>
672
673         * automake.in (check_canonical_spelling): Insert AM before names
674         starting with non-letters.
675
676         * automake.texi: Document it.
677
678 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
679
680         * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
681         doesn't work on perl4.  Maybe \Q and \E do.
682
683 1999-04-24  Tom Tromey  <tromey@cygnus.com>
684
685         * automake.in: Treat `.zip' and `.jar' files as Java.
686
687         * automake.in (generate_makefile): Define `subdir' after reading
688         .am file.
689         (read_main_am_file): Give programming error if variable defined
690         before invocation.
691
692 1999-04-22  Tom Tromey  <tromey@cygnus.com>
693
694         * automake.in (generate_makefile): Define `subdir' variable.
695         (handle_dist): Don't define `subdir'.
696
697         * automake.in (handle_texinfo): Change numbering scheme for
698         stamp-vti files, to avoid problems with DOS.
699         From Michel de Ruiter.
700
701         * automake.texi: Don't mention AM_FUNC_MKTIME.
702         * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
703         * automake.in (scan_one_configure_file): Recognize
704         AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
705         (obsolete_macros): Mention AM_FUNC_MKTIME.
706         * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
707         * m4/mktime.m4: Removed.
708
709 1999-04-20  Tom Tromey  <tromey@cygnus.com>
710
711         * automake.texi (Top level): Don't recommend substing SUBDIRS.
712
713 1999-04-20  Brian Ford <ford@vss.fsi.com>
714
715         * scripts.am: Change else if's to elif.
716
717 1999-04-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
718
719         * automake.in (handle_lib_objects_cond): Only require the source
720         of a LIBOBJ if it's not in BUILT_SOURCES.
721         Reported by Erez Zadok.
722
723 1999-04-19  Tom Tromey  <tromey@cygnus.com>
724
725         * automake.in: Treat `.class' files as Java source.
726         (lang_java_finish): Handle `.class' files.
727
728 1999-04-18  Alexandre Oliva  <oliva@dcc.unicamp.br>
729
730         * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
731
732         * m4/lispdir.m4: Do not override lispdir if it's already defined.
733         Run some emacs-lisp to find out the site-lisp directory, but
734         relocate it into prefix.
735
736 1999-04-17  Paul Eggert  <eggert@twinsun.com>
737
738         * m4/mktime.m4 (bigtime_test, main): Move alarm from
739         bigtime_test to main, since Solaris 7 (64-bit) mktime loops
740         even outside of bigtime_test.  Use a time limit of 60 seconds
741         for the whole test, not 10 seconds per iteration.
742
743 1999-04-17  Erez Zadok  <ezk@cs.columbia.edu>
744
745         * automake.in: Create stamps for headers in appropriate
746         directories, even if the input file lives in a different place.
747         * remake-hdr.am: Likewise.
748
749 1999-04-16  Tom Tromey  <tromey@cygnus.com>
750
751         From Brian Ford:
752         * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
753         Invoke `sed' only once per program.
754         * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
755         Invoke `sed' only once per program.
756
757 1999-04-13  Tom Tromey  <tromey@cygnus.com>
758
759         * automake.in (handle_subdirs): Make `install-recursive' phony.
760         From Michel de Ruiter.
761
762         * automake.in (handle_ltlibraries): Added missing `check'.
763
764 1999-04-12  Tom Tromey  <tromey@cygnus.com>
765
766         * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
767         maintainer).
768
769 1999-04-11  Tom Tromey  <tromey@cygnus.com>
770
771         * automake.in (handle_dist): Use AMTAR.
772         (initialize_global_constants): Likewise.
773         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
774
775         * automake.in (lang_sub_obj): New function.
776         (lang_cxx_rewrite): Use it.
777         (lang_asm_rewrite): Likewise.
778         (lang_objc_rewrite): Likewise.
779         (lang_cxx_finish): Add `-o $@' to all C++ rules.
780         (lang_asm_finish): Add `-o' to suffix rules when appropriate.
781         (lang_objc_finish): Add `-o $@' to all ObjC rules.
782         (lang_java_finish): Likewise.
783
784         * automake.in: Only register `asm' once.
785         (lang_asm_finish): Put assembly suffixes on @suffixes.
786
787         * libtool.am (.s.lo): Removed.
788         (.S.lo): Likewise.
789         * automake.in (lang_asm_finish): Handle libtool.
790
791         * libtool.am (.c.o): Always pass -c to libtool.
792
793         * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
794         (lang_yaccxx_rewrite): Likewise.
795         (lang_lex_rewrite): Likewise.
796         (lang_lexxx_rewrite): Likewise.
797
798         Assembly code no longer included by default:
799         * compile.am (.s.o): Removed.
800         (.S.o): Likewise.
801         * automake.in: Register `asm' language.
802         (lang_asm_finish): Generate suffix rules for assembly.
803         (get_object_extension): Don't add `.s' or `.S' to suffix list.
804
805         * automake.in (get_object_extension): Substitute @MINUSO@ when
806         including compile.am.
807         * compile.am (.c.o): Added @MINUSO@.
808         (.c.obj): Likewise.
809
810         First cut at allowing objects in subdirectories:
811         * m4/Makefile.am (m4data_DATA): Added minuso.m4.
812         * Makefile.am (dist_script_DATA): Added compile.
813         * m4/minuso.m4: New file.
814         * automake.in (initialize_global_constants): Added compile to
815         common_files.
816         (seen_cc_c_o): New global.
817         (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
818         (handle_options): Recognize `subdir-objects' option.
819         (lang_c_rewrite): Added directory argument.
820         (lang_yacc_rewrite): Likewise.
821         (lang_yaccxx_rewrite): Likewise.
822         (lang_lex_rewrite): Likewise.
823         (lang_lexxx_rewrite): Likewise.
824         (handle_single_transform_list): Pass directory to _rewrite
825         function.  Generate dependencies for dirstamp files for each .o;
826         it is just the rules we want to create once.
827         (lang_c_rewrite): Handle `subdir-objects' option.
828         (lang_c_rewrite): Require `compile' program.
829         * compile: New file.
830
831         * automake.in (initialize_per_input): Initialize %directory_map.
832         (handle_single_transform_list): Only create .dirstamp rules once
833         per directory.
834
835         * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
836
837         Fix for confh.test:
838         * automake.in (configure_input_files): New global.
839         (scan_configure): Set it.
840         (handle_configure): Use configure_input_files when determining
841         which subdirs have a Makefile.am.  Fixes confh.test.
842         (handle_configure): Only recognize acconfig.h in top srcdir.
843
844 1999-04-10  Tom Tromey  <tromey@cygnus.com>
845
846         * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
847         (%.lo): Likewise.
848
849         * automake.in (am_install_var): Remove redundancies from the
850         result.  Fixes test cond8.test.
851
852         * automake.in (handle_single_transform_list): Handle dependency
853         tracking when files are created in subdirs.  Error if object in
854         subdir has `..' component.
855
856         * automake.in (initialize_global_constants): Use $(TAR), not tar.
857
858         * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
859
860         * automake.in (lang_yacc_finish): Added missing `&'.
861
862 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
863
864         * automake.in (handle_configure): Replace multiple occurrences of
865         @STAMP@ in the same line; completes the patch for remake-hdr.am
866         below.
867
868         * automake.in (handle_dependencies): Fix test for `autodep'
869         support.
870
871         * automake.in (handle_source_transform): Add a pfx to used_pfx
872         only if it's conditional or non-empty, to reduce the number of
873         empty variables.  Emit _OBJECS variable based on program name if
874         no SOURCES were explicitly specified.
875
876         * remake-hdr.am: Create the stamp file before the header file,
877         and just rename it after, so that the timestamps will be correct.
878         Reported by Marc Horowitz <marc@mit.edu>
879
880         * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
881         `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
882         Reported by Jim Meyering <meyering@ascend.com>
883
884         * automake.in (lang_yacc_finish): $hname must not contain a `.'.
885
886 1999-04-10  Tom Tromey  <tromey@cygnus.com>
887
888         * Makefile.am (EXTRA_DIST): New macro.
889         * ChangeLog.1996, ChangeLog.1998: New files.
890
891 1999-04-09  Tom Tromey  <tromey@cygnus.com>
892
893         * automake.in (handle_source_transform): Handle dist and nodist
894         prefixes.
895         (initialize_per_input): Initialize dist_sources.
896         (check_libobjs_sources): Handle dist and nodist prefixes.
897         (generate_makefile): Define DIST_SOURCES.
898         * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
899
900         * automake.texi (Macros): Mention AM_PROG_GCJ.
901         (Java Support): New node.
902         (Dist): Documented dist_ and nodist_ prefixes.
903
904         * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
905
906         * automake.in (lang_java_finish): Generate .lo rule for `.java'
907         files, not `.gcj' files.
908
909         * m4/gcj.m4: New file.
910         * m4/Makefile.am (m4data_DATA): Added gcj.m4.
911
912         * automake.in: Register the `java' language.
913         (resolve_linker): Handle GCJLINK.
914         (lang_java_rewrite): New function.
915         (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
916         (lang_c_rewrite): Use new constants.
917         (lang_cxx_rewrite): Likewise.
918         (lang_header_rewrite): Likewise.
919         (lang_yacc_rewrite): Likewise.
920         (lang_yaccxx_rewrite): Likewise.
921         (lang_lex_rewrite): Likewise.
922         (lang_lexxx_rewrite): Likewise.
923         (lang_asm_rewrite): Likewise.
924         (lang_f77_rewrite): Likewise.
925         (lang_ppf77_rewrite): Likewise.
926         (lang_ratfor_rewrite): Likewise.
927         (lang_objc_rewrite): Likewise.
928         (handle_single_transform_list): Likewise.  Handle LANG_SUBDIR
929         return from rewrite function.
930         (lang_java_finish): New function.
931         (register_language): Changed interface and all calls.  Added
932         `autodep' settings to various languages.
933         (handle_dependencies): Use `autodep' property of language when
934         including dependency-tracking code.
935
936 1999-04-07  Tom Tromey  <tromey@cygnus.com>
937
938         * automake.in (handle_texinfo): Indentation fixes.
939
940 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
941
942         * automake.in (value_to_list): Skip *only* trailing backslashes.
943
944 1999-04-07  Pavel Roskin  <pavel_roskin@geocities.com>
945
946         * automake.in (value_to_list): Skip trailing backslashes.
947
948 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
949
950         * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
951         when appropriate.
952         Reported by Per Cederqvist <ceder@lysator.liu.se>
953         (handle_texinfo): Do not define texinfo_tex='.', use
954         '$(srcdir)/texinfo.tex' instead; the directory name will be
955         properly extracted.
956         (require_conf_file_with_line): Fixed typo.
957
958 1999-04-03  Raja R Harinath  <harinath@cs.umn.edu>
959
960         * automake.in (handle_tests): Test `dir=./' before `dir=', so that
961         we do not depend on PATH starting with `.'.
962
963 1999-03-31  Tom Tromey  <tromey@cygnus.com>
964
965         * automake.in (quote_cond_val): Quote \n.
966         (unquote_cond_val): Unquote \n.
967         (read_am_file): If line ends with `\', preserve it and add a
968         newline.
969         (read_main_am_file): In conditional case, put conditional text at
970         beginning of each generated line.
971
972 1999-03-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
973
974         * automake.in (handle_tests): support XFAIL_TEST
975         * automake.texi: document it
976
977 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
978
979         * End of merge from trunk.
980
981 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
982
983         * automake.in (cmdline_use_dependencies): Reintroduce it.
984         (--ignore-deps): Set cmdline_use_dependencies again.
985         (handle_dependencies): If use_dependencies is not set, define
986         depcomp as empty.
987         (handle_configure): Pass --ignore-deps to generated Makefile.ins.
988         (scan_configure): Do not require depcomp when ignoring
989         dependencies.
990         (initialize_global_constants): Reintroduce --ignore-deps.
991
992 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
993
994         * depcomp: New file.
995         * Makefile.am (dist_script_DATA): Added depcomp.
996         * automake.in (cmdline_use_dependencies, omit_dependencies,
997         dependency_macros): Removed.
998         (--ignore-deps): Just ignore.
999         (handle_single_transform_list, dep_files): Named dependency files
1000         as \$(DEPDIR)/$base.P$obj
1001         (handle_lib_objects_cond): Likewise.
1002         (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1003         (scan_one_configure_file): Likewise.
1004         (handle_dependencies): Always enable auto-dep.  Define `depcomp'.
1005         Ignore OMIT_DEPENDENCIES.
1006         (handle_configure): Do not pass --ignore-deps.
1007         (scan_configure): Require `depcomp'.
1008         (initialize_global_constants): Make `depcomp' common.  Remove
1009         `--ignore-deps' from usage.
1010         (get_object_extension): No more NOTDEPEND in compile nor libtool.
1011         * compile.am: Remove rules for .c.o and .c.obj
1012         * depend.am (distclean-depend): Wipe out $(DEPDIR)
1013         * depend2.am (@FPFX@DEPMODE): Define from config.status.
1014         Use it and depcomp in suffix rules.
1015         * libtool.m4: Likewise.
1016         * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1017         * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1018         * m4/Makefile.am (dist_m4data_DATA): Likewise.
1019         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1020         from the Makefile and subst it in deps.  Report creation of deps
1021         files (for now).  Replace $U with `_' and the empty string.  Write
1022         a comment to each created file.
1023         * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1024         (AM_DEPENDENCIES): Accept CC, CXX and OBJC.  Just determine the
1025         dependency mode and AC_SUBST [$1]DEPMODE.
1026         * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1027         AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1028         appears in configure.in, before or after AM_INIT_AUTOMAKE.
1029
1030 1999-04-02  Raja R Harinath  <harinath@cs.umn.edu>
1031
1032         * depout.m4: Fix sed expression for extracting `dirpart'.
1033
1034 1999-03-29  Tom Tromey  <tromey@cygnus.com>
1035
1036         * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1037
1038         * compile.am (.c.obj): Also disabled when dependency tracking
1039         enabled.
1040         * depend2.am (@EXT@.obj): New target.
1041         * automake.in (get_object_extension): Added explanatory comment.
1042         (generate_dependency_code): Handle $seen_objext.
1043
1044         * depend.am: Removed obsolete comment.
1045         * depend2.am: Minor formatting fix.
1046
1047 1999-03-28  Tom Tromey  <tromey@cygnus.com>
1048
1049         * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1050         files.
1051         (EXTRA_DIST): Removed.
1052         * automake.in (dependency_macros): New global.
1053         (scan_one_configure_file): Recognize new dependency tracking
1054         macros, and define new resulting configure variables.
1055         (generate_dependency_code): New sub.
1056         (handle_dependencies): Use it.
1057         * depend2.am (DEP_@FPFX@COMPILE): New macro.
1058         (@EXT@.o): Use it.
1059         (@EXT@.lo): Likewise.
1060         * m4/depvars.m4: New file.
1061         * m4/objcdepend.m4: New file.
1062         * m4/cxxdepend.m4: New file.
1063         * m4/init.m4: Moved dependency handling code into depout.m4.
1064         * m4/depout.m4: New file.
1065         * m4/ccdepend.m4: New file.
1066         * m4/depend.m4: New file.
1067
1068         * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1069         (@EXT@.lo): Likewise.
1070         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1071         longer needed.
1072
1073         * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1074         will create the required .P files for dependency tracking.
1075         * automake.in (scan_dependency_file): Removed.
1076         (handle_dependencies): Never call scan_dependency_file.
1077         (generate_deps): Removed.
1078         (parse_arguments): Don't recognize --generate-deps, --build-dir,
1079         --srcdir-name, or --include-deps.  Do recognize --ignore-deps.
1080         (srcdir_name): Removed.
1081         (build_directory): Removed.
1082         (initialize_global_constants): Changed $USAGE to reflect argument
1083         parsing changes.
1084         (handle_dist_worker): Never run automake in `dist' rule.
1085         (handle_configure): Use --ignore-deps, not --include-deps.
1086         * depend.am (DEPS_MAGIC): Removed.
1087         (DEP_FILES): Unconditionally include.
1088
1089 1999-03-27  Tom Tromey  <tromey@cygnus.com>
1090
1091         * automake.in (saw_sources_p): Correctly count header extensions
1092         seen.
1093         (handle_headers): Fixed order of arguments to am_install_var.
1094
1095         * automake.in (am_install_var): Don't error if EXTRA_foo is
1096         defined uselessly.
1097
1098         * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1099         (uninstall-@DIR@SCRIPTS): Likewise.
1100         * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1101         (uninstall-@DIR@PROGRAMS): Likewise.
1102         * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1103         (uninstall-@DIR@LTLIBRARIES): Likewise.
1104         * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1105         (uninstall-@DIR@LISP): Likewise.
1106         * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1107         (uninstall-@DIR@LIBRARIES): Likewise.
1108         * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1109         (uninstall-@DIR@JAVA): Likewise.
1110         * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1111         (uninstall-@DIR@HEADERS): Likewise.
1112         * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1113         (uninstall-@DIR@DATA): Likewise.
1114         * Makefile.in: Rebuilt.
1115         * Makefile.am (dist_pkgdata_DATA): Renamed.
1116         (EXTRA_DIST): Removed.
1117         (install-data-hook): Added POST_INSTALL; print commands as they
1118         are run; respect DESTDIR.
1119         * dist-vars.am (DISTFILES): Removed $(HEADERS).
1120         * automake.in (am_install_var): Accept `-candist' and
1121         `-defaultdist' options.  Handle `dist_' and `nodist_' prefixes.
1122         (am_primary_prefixes): Added can_dist argument.  Recognize `dist_'
1123         and `nodist_' prefixes.
1124         (handle_scripts): Pass -candist to am_install_var.
1125         (handle_data): Pass -defaultdist to am_install_var.
1126         (handle_headers): Likewise.
1127         (handle_emacs_lisp): Pass -candist to am_install_var.
1128         (handle_java): Pass -candist to am_install_var.
1129
1130 1999-03-26  Tom Tromey  <tromey@cygnus.com>
1131
1132         * m4/init.m4: Fixed typo when invoking SHELL.
1133
1134         * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1135         yacc header file.  From Ralf Corsepius.
1136
1137         * Makefile.in: Rebuilt.
1138         * Makefile.am: Updated to reflect removal of TAR subst.
1139         * automake.texi (Options): Document dist-bzip2.
1140         * automake.in (TAR): Removed global.
1141         (initialize_global_constants): Changed `dist' to use pipe with
1142         gzip; work with non-GNU tar.
1143         (handle_dist): Handle non-GNU tar.  Don't define TAR.
1144         (initialize_global_constants): Added `dist-bzip2' entry.
1145         (handle_options): Recognize dist-bzip2 option.
1146         (handle_dist): Likewise.
1147         * configure: Rebuilt.
1148         * configure.in: Don't check for tar.
1149         * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'.  Substitute
1150         AMTARFLAGS.
1151
1152         * automake.in (am_install_var): Removed obsolete comment.
1153
1154         * texinfos.am (uninstall-info): Don't print loop but instead print
1155         commands.  Simplified pre-uninstall loop.
1156         * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1157         instead print commands.
1158         * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1159         print commands.
1160         * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1161         instead print commands.
1162         * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1163         (uninstall-@DIR@LISP): Likewise.  Also, don't print loop but
1164         instead print commands.
1165         * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1166         print commands.
1167         * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1168         print commands.
1169         * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1170         (uninstall-@DIR@HEADERS): Likewise.  Also, don't print loop but
1171         instead print commands.
1172         * data.am (install-@DIR@DATA): Strip subdir from file name.
1173         (uninstall-@DIR@DATA): Likewise.  Also, don't print loop but
1174         instead print commands.
1175
1176         * automake.in (handle_merge_targets): `install-strip' is a phony
1177         target.  From Michel de Ruiter.
1178
1179 1999-03-25  Tom Tromey  <tromey@cygnus.com>
1180
1181         * automake.in (define_compiler_variable): Don't define variable
1182         with trailing `_'.
1183
1184 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1185
1186         * automake.in (LDADD): accept -dlopen and -dlpreopen here
1187         * automake.texi: ditto
1188
1189 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1190
1191         * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1192         is absolute and != objdir.  dir="" or "$(srcdir)/" fixes it
1193
1194 1999-03-24  Tom Tromey  <tromey@cygnus.com>
1195
1196         * automake.in (define_compiler_variable): New sub.
1197         (finish_languages): Use it.
1198         (lang_cxx_finish): Likewise.
1199         (lang_f77_finish): Likewise.
1200         (lang_ppf77_finish): Likewise.
1201         (lang_ratfor_finish): Likewise.
1202         (lang_objc_finish): Likewise.
1203
1204 1999-03-23  Tom Tromey  <tromey@cygnus.com>
1205
1206         * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1207         sed invocations.  From Elrond.
1208         (uninstall-@DIR@PROGRAMS): Likewise.
1209
1210         * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1211         From Ralf Corsepius.
1212
1213 1999-02-01  Thomas Tanner  <tanner@gmx.de>
1214
1215         * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1216         warning when AM_PROG_LIBTOOL was found
1217         * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1218
1219 1999-03-22  Tom Tromey  <tromey@cygnus.com>
1220
1221         Made `+=' more robust.  Fixes pluseq6.test and pluseq7.test.
1222         * automake.in (define_standard_variables): New sub.
1223         (read_main_am_file): Use two passes to scan standard variables.
1224         (read_am_file): Don't special-case configure variables with `+='.
1225         (initialize_per_input): Initialize %var_was_plus_eq.
1226         (read_am_file): Set var_was_plus_eq element correctly.
1227         (define_variable): Give error if variable assigned with `+=' is
1228         internally defined.
1229         (initialize_per_input): Initialize %am_var_defs.
1230         (file_contents_with_transform): Set element in %am_var_defs.
1231         (read_am_file): Use %am_var_defs.
1232
1233 1999-03-21  Tom Tromey  <tromey@cygnus.com>
1234
1235         * automake.in (initialize_per_input): Initialize %object_map.
1236         (handle_single_transform_list): Allow source files in
1237         subdirectories.
1238
1239 1999-03-21  Jim Meyering  <meyering@na-net.ornl.gov>
1240
1241         * automake.in (handle_dist): Add missing newline after the first
1242         semicolon.
1243
1244 1999-03-11  Tom Tromey  <tromey@cygnus.com>
1245
1246         * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1247         m4/strtod.m4: Use $ac_objext, not `.o'.  From Jim Meyering.
1248
1249         From Jim Meyering:
1250         * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1251         line.
1252         (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1253         legitimate ending.  Fixes libobj9.test.
1254
1255         From Ralf Corsepius.  Fixes lex3.test.
1256         * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1257         maintainer-clean list.
1258         (lang_lex_finish): Likewise.
1259
1260 1999-03-02  Tom Tromey  <tromey@cygnus.com>
1261
1262         * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1263         construct to work around FreeBSD make/sh problem.  From Rich Wales.
1264
1265 1999-03-01  Tom Tromey  <tromey@cygnus.com>
1266
1267         Fixes from Pavel Roskin:
1268         * automake.in (variable_conditions_sub): Sort list passed to
1269         variable_conditions_permutations.
1270         (variable_conditions): Sort list before returning.
1271
1272 1999-02-27  Tom Tromey  <tromey@cygnus.com>
1273
1274         * automake.in (lang_extensions): New sub.
1275         (handle_dependencies): Use it.
1276         (cxx_extensions): Removed.
1277         (lang_cxx_finish): Use lang_extensions.
1278         (f77_extensions): Removed.
1279         (lang_f77_finish): Use lang_extensions.
1280         (objc_extensions): Removed.
1281         (lang_ppf77_finish): Put `.' before extension.  Fixes ext.test.
1282         Report from Dave Morrison.
1283         (lang_ratfor_finish): Likewise.
1284
1285 1999-02-26  Tom Tromey  <tromey@cygnus.com>
1286
1287         * automake.in (finish_languages): Added AM_LDFLAGS.
1288         (lang_cxx_finish): Likewise.
1289         (lang_f77_finish): Likewise.
1290         (lang_ppf77_finish): Likewise.
1291         (lang_ratfor_finish): Likewise.
1292         (lang_objc_finish): Likewise.
1293
1294 1999-02-11  Tom Tromey  <tromey@cygnus.com>
1295
1296         * aclocal.in (obsolete_macros): Copied from automake.in.
1297         (obsolete_rx): Use only keys of obsolete_macros.
1298         (scan_configure): Report replacement macro for an obsolete macro.
1299         * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1300
1301         * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1302         entry.  Fixes obsolete2.test.
1303
1304         * automake.in (obsolete_macros): Use empty string to indicate no
1305         substitution.
1306         (scan_one_configure_file): Likewise.
1307
1308 1999-02-07  Paul Eggert  <eggert@twinsun.com>
1309
1310         * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1311         -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1312         needed by some programs.
1313
1314 1999-02-10  Tom Tromey  <tromey@cygnus.com>
1315
1316         * automake.in (handle_texinfo): Added `pgs' to list of
1317         extensions.  From NISHIDA Keisuke.
1318
1319 1999-02-04  Akim Demaille  <demaille@inf.enst.fr>
1320
1321         * automake.in (handle_texinfo): remove texinfo.tex from
1322         TEXINFODIR.
1323
1324 1999-02-02  Tom Tromey  <tromey@cygnus.com>
1325
1326         * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1327         * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1328         * header-vars.am (INSTALL_PROGRAM): Removed
1329         AM_INSTALL_PROGRAM_FLAGS.
1330         (INSTALL_STRIP_FLAG): New macro.
1331
1332         * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1333         lex source.
1334         (lang_yacc_finish): Likewise.
1335         (lang_lex_finish): Likewise.
1336
1337 1999-02-01  Tom Tromey  <tromey@cygnus.com>
1338
1339         * automake.in (handle_dist_worker): Correctly find find in $$d,
1340         not $$.  From Bill Davidson.
1341
1342         * automake.in (finish_languages): Use "&", not "do".  From Pavel
1343         Roskin.
1344         (handle_single_transform_list): Likewise.
1345
1346 1999-01-29  Tom Tromey  <tromey@cygnus.com>
1347
1348         * automake.in (handle_configure): Removed unused variable.  From
1349         Pavel Roskin.
1350
1351         * ansi2knr.c: New version from L. Peter Deutsch.
1352
1353 1999-01-22  Tom Tromey  <tromey@cygnus.com>
1354
1355         * automake.in (require_file_internal): Correctly examine return
1356         value of `system'.  From Andris Pavenis.  Fixes copy.test.
1357
1358         * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1359
1360         * automake.in (lang_ppf77_rewrite): New function.  From Jochen
1361         Kuepper.  Fixes ppf77.test.
1362         (lang_ratfor_rewrite): New function
1363
1364         * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1365         fix).  From Erez Zadok.
1366
1367 1999-01-15  Tom Tromey  <tromey@cygnus.com>
1368
1369         * configure.in: Version 1.4a (oops).
1370
1371         * configure.in: Updated version to 1.5a.
1372
1373 1999-01-14  Tom Tromey  <tromey@cygnus.com>
1374
1375         * automake.in (handle_configure): Compute $header_dir based on
1376         $one_name, not $one_hdr.  Reported by Erez Zadok.  Fixes
1377         confh2.test.
1378         (handle_configure): Compute relative path to input header
1379         correctly in all cases.
1380
1381         * automake.in (handle_tests): Avoid error messages from dejagnu
1382         test rules.  From Karl Heuer.
1383
1384         * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1385
1386         * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1387
1388         * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1389         From Alexandre Oliva and Erez Zadok.
1390
1391         * automake.in (create): Renamed from touch.
1392         (handle_configure): Use create, not touch.
1393
1394         * config.sub, config.guess: New versions from autoconf.
1395
1396         * mkinstalldirs: New version from autoconf.
1397
1398 1999-01-12  Tom Tromey  <tromey@cygnus.com>
1399
1400         * config.sub, config.guess, COPYING, texinfo.tex: New versions
1401         from FSF.
1402
1403 1999-01-11  Marcus G. Daniels  <mgd@chama.santafe.edu>
1404
1405         * automake.in (PATH_PATTERN): New variable:
1406         (INCLUDE_PATTERN): Use it.  Ignore all include commands using
1407         symbols besides $(top_srcdir) and $(srcdir).
1408
1409 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
1410
1411         * automake.in (handle_dist_worker): avoid failure in `make dist'
1412         if last file is a builddir-only file
1413
1414 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
1415
1416         * missing (autoheader): `s' was missing from sed script; grr
1417
1418 1999-01-11  Tom Tromey  <tromey@cygnus.com>
1419
1420         * remake-hdr.am (@STAMP@): Reverted timestamp change.
1421         ($(srcdir)/@STAMP@.in): Likewise.
1422
1423 1999-01-10  Tom Tromey  <tromey@cygnus.com>
1424
1425         * Makefile.am (scriptdir): New macro.
1426         (script_DATA): Likewise.
1427         (install-data-hook): Use them.
1428         (EXTRA_DIST): Added script_DATA.
1429         (installcheck-local): Use script_DATA.
1430
1431         * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1432
1433 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1434
1435         * missing (autoheader): accept multiple header files
1436         (automake): simplify sed processing
1437
1438 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1439
1440         * automake.in (handle_configure, stamp_dir): create only one stamp
1441         file per header, instead of one in the top-level directory and one
1442         in the directory that contains the header.
1443
1444 1999-01-10  Tom Tromey  <tromey@cygnus.com>
1445
1446         * automake.in (lang_objc_finish): Formatting fix.
1447
1448         * automake.in (objc_extensions): New sub.
1449         (handle_dependencies): Only generate dependency-tracking code for
1450         ObjC when ObjC source seen.