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