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