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