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