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