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