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