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