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