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