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