2001-02-04 Kevin Ryde <user42@zip.com.au>
[automake.git] / ChangeLog
blob22377659890f5512da504b82b0886d12068c7f80
1 2001-02-04  Kevin Ryde <user42@zip.com.au>
3         * automake.in (handle_configure): Call config.status with empty
4         CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
6 2001-02-04  Tom Tromey  <tromey@redhat.com>
8         * depcomp (ddashmd): Removed case.
9         (sgi): Handle failure exit correctly
10         (aix): Likewise.  Also, add dummy `.h' targets.
12 2001-02-04  Akim Demaille  <akim@epita.fr>
14         * distdir.am (distdir): New file, extracted from...
15         * automake.in (handle_dist_worker): here.
16         Adjust.
18 2001-02-04  Akim Demaille  <akim@epita.fr>
20         * automake.in (@clean): Remove, replaced by...
21         ($dependencies{'clean'}): this.
22         Use `&depend' instead of push'ing into @clean.
23         (handle_factored_dependencies): For the time being, skip 'clean'.
24         (do_one_clean_target): Don't ask for argument 1 and 4 as they are
25         always `clean', and `@clean'.
27 2001-02-04  Akim Demaille  <akim@epita.fr>
29         * automake.in (%dependencies): Don't be initialize globally for
30         all the files, but in...
31         (&initialize_per_input): here.
32         (&depend): New.
33         (@phony): Replace all occurrences with the corresponding &depend
34         invocation.
36 2001-02-03  Tom Tromey  <tromey@redhat.com>
38         * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
39         * header-vars.am (INSTALL_HEADER): New macro.
41         * automake.texi (Rebuilding): New node.
43 2000-12-29  Derek Price  <derek.price@openavenue.com>
45         * automake.in (handle_dependencies): Switched the DEP_FILES
46         definition to be conditional on @AMDEP@.
48 2001-02-03  Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
50         * depcomp (aix): New side-effect dependency tracking mode, for
51         the C for AIX compiler.
52         * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
53         `conftest.h' for each test.
55 2001-02-03  Tom Tromey  <tromey@redhat.com>
57         * automake.texi (Dist): Updated to mention caveat of putting
58         directory in EXTRA_DIST and also providing a nice example of
59         removing the CVS dir.
60         From Ganesan Rajagopal.
62         * m4/depend.m4 (depcpp): Run tests in a subdir.  Fixes report from
63         Bob Proulx.
65         * automake.in (scan_one_autoconf_file): Disable warning about
66         AM_PROG_LIBTOOL.
68         * automake.in (handle_configure): Don't modify variable which
69         aliases list element.  Don't push @inputs onto the dist list.
70         Fixes colon7.test.
71         (initialize_per_input) [dist_dirs]: New variable.
72         (handle_dist_worker): Use global dist_dirs.
73         (handle_configure): Set dist_dirs entries at toplevel.
75 2001-02-02  Gordon Sadler <gbsadler1@lcisp.com>
77         * automake.texi (Java Support): Added index, @section.
79 2001-02-02  Pavel Roskin  <proski@gnu.org>
81         * automake.in (scan_autoconf_traces): Restore trace messages.
83         * automake.in (handle_aclocal_m4): Fix stripping of the initial
84         "./" from the dependencies of aclocal.m4.
85         Reported by Ralf Corsepius.
87 2001-02-01  Pavel Roskin  <proski@gnu.org>
89         * aclocal.in: Rename "verbosity" to "verbose". Always prepend
90         "aclocal: " to the verbose output.
92         * automake.in: Remove all debugging messages.
94 2001-01-31  Akim Demaille  <akim@epita.fr>
96         * automake.in (add_depend2): Quote properly $obj and $source.
98 2001-01-31  Akim Demaille  <akim@epita.fr>
100         * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
101         then replacing `$(@PFX@COMPILE)' for the files that need some
102         special flags, use only @COMPILE@.  Similarly for @LTCOMPILE@.
103         Try to document this file.
104         * automake.in (add_depend2): Adjust to these changes.
106 2001-01-31  Akim Demaille  <akim@epita.fr>
108         * automake.in (%factored_dependencies): New.
109         (file_contents): Use it.
110         (handle_phony): Rename as...
111         (handle_factored_dependencies): this.
112         * subdirs.am: No need for convolved syntax to declare .PHONY.
114 2001-01-31  Akim Demaille  <akim@epita.fr>
116         * automake.in: maintainer-check fixes.
118 2001-01-31  Akim Demaille  <akim@epita.fr>
120         * automake.in (file_contents): Rewrite: instead of trying to parse
121         it line by line, first swallow it completely into $CONTENTS,
122         *then*, parse it *paragraph* by paragraph.
124 2001-01-30  Akim Demaille  <akim@epita.fr>
126         * automake.in (file_contents): Remove.
127         (file_contents_with_transform): Swap the order of the arguments,
128         and rename as...
129         (file_contents): this.
130         Adjust all uses.
132 2001-01-30  Tom Tromey  <tromey@redhat.com>
134         * automake.in (scan_one_autoconf_file): Don't mention
135         omit_dependencies.
137 2001-01-29  Akim Demaille  <akim@epita.fr>
139         * automake.in (&scan_autoconf_config_files): Extract from
140         &scan_one_autoconf_file.
141         (&scan_one_autoconf_file): Use it.
142         (&scan_autoconf_traces): New.
143         ($scan_autoconf_files): Use it.
145 2001-01-29  Akim Demaille  <akim@epita.fr>
147         * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
148         .PHONY target.
149         * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
150         (handle_etags, handle_subdirs): Don't push into @phony.
152 2001-01-29  Akim Demaille  <akim@epita.fr>
154         * automake.in (scan_one_autoconf_file): Correctly recognize
155         configure.ac.
157 2001-01-29  Akim Demaille  <akim@epita.fr>
159         * automake.in (handle_tests_dejagnu): New, extracted from...
160         (handle_tests): here.  Use `.PHONY:'.
162 2001-01-29  Akim Demaille  <akim@epita.fr>
164         * automake.in (handle_phony): Sort.
165         (file_contents_with_transform): Catch `.PHONY:'.
166         (handle_tests): Instead dumping the hard coded target check-TESTS
167         and registering its .PHONYsm, get them from...
168         * check.am: here, new file.
170 2001-01-29  Akim Demaille  <akim@epita.fr>
172         * automake.in (add_depend2): Use &transform.
174 2001-01-29  Akim Demaille  <akim@epita.fr>
176         * automake.in (handle_tags): Use &transform.
177         (am_error, am_line_error, am_conf_error, read_am_file): Use
178         directly arrays in strings, no need for &join.
179         Require Perl 5.
180         * Makefile.am (maintainer-check): Use grep -w when looking for
181         words.
183 2001-01-29  Akim Demaille  <akim@epita.fr>
185         * automake.in (prog_error): New.
186         Spread its use.
188 2001-01-29  Akim Demaille  <akim@epita.fr>
190         * automake.in (handle_single_transform_list): if (@list) { foreach
191         (@list) ...} can be written as a simple `foreach' loop.
193 2001-01-29  Akim Demaille  <akim@epita.fr>
195         * automake.in (define_standard_variables): Use &transform instead
196         of build_rx.
198 2001-01-29  Akim Demaille  <akim@epita.fr>
200         * automake.in (handle_texinfo): Use the new $texinfodir instead of
201         the removed $texinfo_tex.
203 2001-01-29  Akim Demaille  <akim@epita.fr>
205         * automake.in (handle_libraries, handle_ltlibraries): Use
206         &transform.
208 2001-01-29  Akim Demaille  <akim@epita.fr>
210         * automake.in (handle_programs) <xexe>: Remove, replaced by
211         `exeext'.
212         Use it, and &transform.
214 2001-01-29  Akim Demaille  <akim@epita.fr>
216         * automake.in (get_object_extension) <$default_includes>: New.
217         Use it and &transform.
219 2001-01-28  Tom Tromey  <tromey@redhat.com>
221         * automake.in (variable_value_as_list_worker): Handle entries in
222         %am_var_defs.  Fixes listval.test.
224 2001-01-26  Akim Demaille  <akim@epita.fr>
226         * automake.in (handle_texinfo): Don't use $conf_pat, just
227         $conf_dir to transform MDDIR since now &transform handles the
228         escaping of RE special characters by itself.
230 2001-01-24  Akim Demaille  <akim@epita.fr>
232         * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
233         clear.
234         * m4/init.m4: Likewise.
235         * m4/sanity.m4: s/conftestfile/conftest.file/.
237 2001-01-24  Tom Tromey  <tromey@redhat.com>
239         * automake.in (handle_libraries): Use $configure_ac; typo fix.
241         * automake.in (transform): Quote substitution.
243 2001-01-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
244             Tom Tromey  <tromey@redhat.com>
246         * automake.in (obsolete_rx): Match whole macro names, not
247         substrings.
248         * aclocal.in (obsolete_rx): Likewise.
250 2001-01-21  Tom Tromey  <tromey@redhat.com>
252         * automake.texi: Changed dir category.
254 2001-01-18  Akim Demaille  <akim@epita.fr>
256         * automake.in (handle_texinfo): Use &transform, and transform
257         CONFIGURE_AC.
258         Reported by Lars Hecking, and diagnosed by Raja R Harinath.
260 2001-01-16  Akim Demaille  <akim@epita.fr>
262         Let Automake support `configure.ac'.
264         * automake.in: In the comments, prefer `configure.ac' to
265         `configure.in'.
266         When using &am_conf_error, don't repeat `in configure.in', since
267         the function already reports it.
268         When referring to `configure.in' use `$configure_ac' instead.
269         (configure_ac): New global variable.
270         (scan_configure, scan_one_configure_file): Rename as...
271         (scan_autoconf_files, scan_one_autoconf_file): this.
272         (scan_autoconf_files): Compute $configure_ac.
273         (transform): New function.
274         (handle_configure): Use it to transform CONFIGURE_AC in
275         `remake.am' and in `remake-hdr.am'.
276         (common_files): Also consider `configure.ac'.
277         Use consistently single quotes.
278         * aclocal.in (configure_ac): New variable.
279         Use it.
280         * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
281         * remake.am: Likewise.
282         * remake-hdr.am: Likewise.
284 2001-01-16  Akim Demaille  <akim@epita.fr>
286         * m4/multi.m4: Remove the hairy useless quotation of `$'.
287         Simplify `ifelse([$2],,,[$2])' into... `$2'!
288         * m4/minuso.m4: Don't use changequote!
289         * m4/cond.m4: Fix quotation.
290         * m4/sanity.m4: Follow the Autoconf coding style.
291         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
292         * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
293         Use AC_CACHE_CHECK.
295 2001-01-15  Tom Tromey  <tromey@redhat.com>
297         * automake.in (handle_single_transform_list): Don't print rule
298         here when source is in subdir and object is not.  Fixes
299         subobj4.test.
301         * automake.in (handle_single_transform_list): Correctly compute
302         $nonansi_obj.  Fixes cxxansi.test.
304         * automake.texi (Man pages): Updated to account for man1_MANS,
305         etc.
307 2001-01-13  Steve Robbins  <smr@debian.org>
308             Tom Tromey  <tromey@redhat.com>
310         * aclocal.in (scan_configure): Don't recognize macro assignments
311         or AC_SUBSTs.
312         (add_file): Likewise.
314 2001-01-13  Kevin Ryde <user42@zip.com.au>
316         * automake.in (handle_ltlibraries): Omit -rpath from
317         check_LTLIBRARIES, as per noinst_LTLIBRARIES.
319 2001-01-11  Tom Tromey  <tromey@redhat.com>
321         * depcomp (case gcc3): Use -MD, not -M.
323 2001-01-10  Tom Tromey  <tromey@redhat.com>
325         * depcomp: Handle gcc 3.
327 2000-12-23  Tom Tromey  <tromey@redhat.com>
329         * configure.in: Updated to 1.4c for cvs.
331         * configure.in: Updated to 1.4b and released.
333         * config.guess, config.sub, texinfo.tex: New versions.
335         * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
336         Re-fixes pr87.test.
338         * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
339         distclean and maintainer-clean.
340         * automake.texi (Top level): Document use of DIST_SUBDIRS.
342         From Rusty Ballinger:
343         * automake.in (handle_java): Don't skip `noinst' prefix.
345         * automake.texi (Invoking aclocal): Mention ## comments.
347 2000-12-22  Tom Tromey  <tromey@redhat.com>
349         From Raja R Harinath:
350         * automake.in (libtoolize_sometimes): New global.
351         (initialize_global_constants): Added libtoolize_sometimes to
352         common_files.
354         * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
356         * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
358 2000-12-21  Tom Tromey  <tromey@redhat.com>
360         * automake.texi (Tags): Document GTAGS target.
361         * tags.am (GTAGS): New target.
363         * automake.in (libtoolize_files): Removed ltconfig.
364         (initialize_global_constants): Added ltconfig to common_files.
366 2000-12-21  Kevin Ryde <user42@zip.com.au>
368         * automake.in (handle_footer): Generate .SUFFIXES target when user
369         defines suffixes but automake does not.
371 2000-12-20  Marc Espie <espie@openbsd.org>
373         * automake.in (handle_texinfo): Make path of $vtexi explicit in
374         dependency.
375         * texi-vers.am: Likewise.
377 2000-12-20  Tom Tromey  <tromey@redhat.com>
379         From Kevin Ryde:
380         * automake.in (handle_footer): Always push user suffixes at the
381         start of .SUFFIXES:.
382         * automake.texi (Suffixes): Updated to reflect new suffix
383         handling.
385 2000-12-18  Tom Tromey  <tromey@redhat.com>
387         * automake.in (handle_built_sources): Removed.
388         (handle_merge_targets): Handle BUILT_SOURCES.
389         * automake.texi (Sources): Updated documentation of
390         BUILT_SOURCES.
392 2000-12-17  Tom Tromey  <tromey@redhat.com>
394         * m4/protos.m4: Always do header checks.
396         * automake.in (handle_ltlibraries): Check for LDFLAGS variables
397         before using values.
399         * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
400         conditionally defined.  Fixes PR automake/77 and ldflags.test.
402 2000-11-25  Tom Tromey  <tromey@cygnus.com>
404         * automake.in (file_contents_with_transform): Added file name and
405         line number to error report.
406         (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
408 2000-11-23  Pavel Roskin  <proski@gnu.org>
410         * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
411         of M4 underquoting.
412         * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
413         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
414         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
415         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
416         * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
417         * m4/python.m4 (AM_PATH_PYTHON): Likewise.
418         * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
420 2000-11-23  Tom Tromey  <tromey@cygnus.com>
422         * automake.in (require_file_internal): Pass $file as second
423         argument to maybe_push_required_file.  Fixes PR automake/87.
425 2000-11-18  Tom Tromey  <tromey@cygnus.com>
427         * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
428         /dev/null.  From Paul Martinolich.
430 2000-11-16  Morten Eriksen  <mortene@sim.no>
432         * aclocal.in (write_aclocal): Set ``binmode'' after file has been
433         opened, otherwise it has no effect.
435 2000-10-23  Morten Eriksen  <mortene@sim.no>
437         * aclocal.in (write_aclocal): Don't write aclocal.m4 with
438         CRLFs. This circumvents a bug in Cygwin bash.
440         * automake.in (generate_makefile): Don't write Makefile.in
441         files with CRLFs, as it causes problems for the dependency-file
442         extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
444 2000-10-19  Alex Hornby  <alex@anvil.co.uk>
446         * automake.in (handle_merge_targets): Allow parallel install
447         with forced relink.
449 2000-10-19  Akim Demaille  <akim@epita.fr>
451         * subdir4.test (depcomp): Don't create it, defs does.
453 2000-10-17  Pavel Roskin  <proski@gnu.org>
455         * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
456         acinclude.m4 from the dependencies of aclocal.m4 to avoid
457         circular and duplicated dependencies. Strip "./" from the
458         dependencies.
460 2000-10-17  Lars J. Aas  <larsa@sim.no>
462         * aclocal.in (write_aclocal): Set up aclocal.m4 header with
463         normal comments (#) instead of m4 dnl-type comments.
465 2000-10-17  Alex Hornby <alex@anvil.com>
467         * depcomp: Altered sed clause to strip of inclusion depth
468         numbers generated by cpp. Also output in gcc style.
470 2000-10-16  Morten Eriksen  <mortene@sim.no>
472         * depcomp (msvisualcpp): New dependency tracking mode, for
473         Microsoft Visual C++.
475 2000-10-16  Morten Eriksen  <mortene@sim.no>
477         * depcomp: Fix a bug in SGI dependency tracking mode with source
478         files which do not dependend on any other source files.
480 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
482         * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
483         * automake.in, automake.texi: Likewise.
484         * clean-kr.am, clean.am: Likewise.
485         * comp-vars.am: Likewise.
486         * compile, compile.am: Likewise.
487         * data-clean.am: Likewise.
488         * data.am: Likewise.
489         * dejagnu.am: Likewise.
490         * depcomp: Likewise.
491         * depend.am, depend2.am: Likewise.
492         * dist-vars.am, dist.am: Likewise.
493         * elisp-comp: Likewise.
494         * footer.am: Likewise.
495         * header-vars.am, header.am: Likewise.
496         * java-clean.am java.am: Likewise.
497         * kr-extra.am: Likewise.
498         * library.am: Likewise.
499         * libs-clean.am, libs.am: Likewise.
500         * libtool.am: Likewise.
501         * lisp-clean.am lisp.am: Likewise.
502         * ltlib-clean.am ltlib.am: Likewise.
503         * ltlibrary.am: Likewise.
504         * m4/Makefile.in: Likewise.
505         * m4/strtod.m4: Likewise.
506         * mans-vars.am, mans.am: Likewise.
507         * mdate-sh: Likewise.
508         * missing: Likewise.
509         * multilib.am: Likewise.
510         * program.am: Likewise.
511         * progs-clean.am, progs.am: Likewise.
512         * python-clean.am, python.am: Likewise.
513         * remake-hdr.am, remake.am: Likewise.
514         * scripts.am: Likewise.
515         * subdirs.am: Likewise.
516         * tags-clean.am, tags.am: Likewise.
517         * texi-vers.am: Likewise.
518         * texinfos.am: Likewise.
519         * ylwrap: Likewise.
521 2000-10-09  Pavel Roskin  <proski@gnu.org>
523         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
524         assignments changing $? - it's broken in ash-0.2.
525         * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
527         * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
528         defined use it as the list of M4 files aclocal.m4 depends on.
530 2000-10-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
532         * aclocal.in (add_file): Strip comments while scanning for
533         macro dependencies.
535 2000-09-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
537         * automake.in (initialize_global_constants): End the
538         result of dist-bzip2 with tar.bz2, not bz2.
540 2000-08-30  Tom Tromey  <tromey@cygnus.com>
542         Fix for PR automake/72:
543         * automake.in (initialize_per_input): Define `need_link'.
544         (finish_languages): Use need_link.
545         (handle_source_transform): Set need_link if required.
547 2000-08-28  Tom Tromey  <tromey@cygnus.com>
549         * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
550         key.
551         (register_language): Default the `derived-autodep' option.
552         (handle_single_transform_list): Add to %dep_files if language has
553         `derived-autodep' set.  Re-fixes lex4.test.
555 2000-08-27  Tom Tromey  <tromey@cygnus.com>
557         * automake.in (handle_single_transform_list): Only add to
558         %dep_files if language is found and supports automatic dependency
559         tracking.  Fixes PR automake/75.
561         * automake.in (am_primary_prefixes): Don't set `valid' for
562         configure variables that don't satisfy the other constraints.
563         Fixes PR automake/68.
565 2000-04-14  Victor V. Vengerov <vvv@oktet.ru>
567         Fix for PR automake/67.
568         * automake.in (handle_multilib): remove .am suffix in fragment
569         name passed to file_contents.
570         * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
571         Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
572         Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
574 2000-08-26  Tom Tromey  <tromey@cygnus.com>
576         * subdirs.am (maintainer-clean-recursive): Always run clean rules
577         in `.' after all subdirs.  Fixes PR automake/3 and PR automake/24.
579         * automake.in (handle_man_pages): Generate install targets for man
580         even if man_MANS not defined.  From `danpb'.  Fixes PR automake/73.
582         * m4/depend.m4 (depcpp): Use `-o conftest.o'.
583         Fix for PR automake/74.  From js pendry.
585 2000-08-20  Eli Zaretskii  <eliz@is.elta.co.il>
587         * depcomp (gcc): Support DOS-style absolute file names with drive
588         letters.
590 2000-08-06  Jim Meyering  <meyering@lucent.com>
592         * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
593         if the depcomp file exists, before calling require_config_file on
594         `depcomp'.  This makes require_file_internal skip its buggy existence
595         test that would make automake fail (with `required file `lib/depcomp'
596         not found') when AC_CONFIG_AUX_DIR is not set.
598         This change change does not fix the existing bug where, if `depcomp'
599         is not present in the build directory (at the top level), automake
600         still gives the inaccurate diagnostic about *lib*/depcomp rather
601         than ./depcomp.
603 2000-08-05  Jim Meyering  <meyering@lucent.com>
605         * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
606         add missing closing bracket and closing parenthesis.
607         Don't quote the first argument to AC_OUTPUT_COMMANDS.
608         Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
610 2000-08-04  Tom Tromey  <tromey@cygnus.com>
612         Idea from Nicolas Thiery:
613         * automake.texi (Tests): Document DEJATOOL as a list.
614         * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
615         (check-DEJAGNU): Run runtest in a loop.
617 2000-08-02  Akim Demaille  <akim@epita.fr>
619         * m4: Quote properly the name of the macros being defined.
620         Use `#' instead of `dnl' where appropriate.
621         * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
622         quote.
623         Don't quote passive characters.
624         Pull the AC_PREREQ outside the macro.
625         * m4/init.m4: Pull the AC_PREREQ outside the macro.
627 2000-07-28  Tom Tromey  <tromey@cygnus.com>
629         * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
630         From Bruno Haible.
632 2000-07-13  Kevin Ryde <user42@zip.com.au>
634         * automake.in (am_install_var): Apply the $(EXEEXT) hack to
635         EXTRA_PROGRAMS as well as other _PROGRAMS.
637 2000-07-02  Jim Meyering  <meyering@lucent.com>
639         * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
641 2000-06-19  Paolo Bonzini    <bonzini@gnu.org>
643         * texi-vers.am: define UPDATED-MONTH variable (for an example, see
644         GNU make's manual)
646 2000-06-02  Morten Eriksen  <mortene@sim.no>
648         * depcomp: workaround for problem with SGI IRIX sed (it can only
649         handle lines of up to 8192 characters, the rest of the line will
650         be mangled).
652 2000-05-31  Morten Eriksen  <mortene@sim.no>
654         * depcomp: tell SGI MIPSpro compilers to generate dependencies
655         through the pre-processor (only CVS libtool has the -Wc option
656         yet).
658 2000-05-15  Brendan O'Dea  <bod@compusol.com.au>
660         * missing: Add support for `help2man'.
662 2000-05-11  Tom Tromey  <tromey@cygnus.com>
664         * automake.in (handle_tests): Work correctly if TESTS is empty;
665         print nothing if it is.  From Kevin Ryde.
667 2000-05-08  Tom Tromey  <tromey@cygnus.com>
669         * automake.texi (Texinfo): Mention vers*.texi.
671 2000-05-04  Akim Demaille  <akim@epita.fr>
673         AM_INIT_AUTOMAKE is no longer optional, so don't look for
674         `VERSION=' and `PACKAGE='.
675         * automake.in (seen_package, seen_version): Remove initializations of
676         unnecessary variables.
677         (scan_one_configure_file): Don't set them.
678         (scan_configure): Don't use them.
680 2000-05-01  Akim Demaille  <akim@epita.fr>
682         * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
683         (AM_INIT_AUTOMAKE): Update the writing conventions.
684         Quote the arguments properly.
685         Add a few missing `dnl'.
686         Use AC_PROVIDE_IFELSE.
688 2000-04-26  Jim Meyering  <meyering@lucent.com>
690         * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
691         macro.  Based on a patch from Harlan Stenn.
693 2000-04-13  Akim Demaille  <akim@epita.fr>
695         * compile: Remove unnecessary double quotes in assignments.
697 2000-04-13  Akim Demaille  <demaille@epita.fr>
699         * automake.in (scan_one_configure_file): Also recognize
700         AC_CONFIG_HEADERS.
701         Remove trailing blanks.
703 2000-04-05  Tom Tromey  <tromey@cygnus.com>
705         * header-vars.am (DESTDIR): Commented out definition.
707         * automake.in (require_file_internal): Pass --copy to libtoolize
708         if automake was run with `--copy'.
710 2000-03-22  Tom Tromey  <tromey@cygnus.com>
712         * automake.texi (Uniform): Fix definition of pkglibdir.
713         From thi <ttn@revel.glug.org>.
715 2000-03-19  Tom Tromey  <tromey@cygnus.com>
717         * aclocal.in (parse_arguments): Copyright 2000.
718         (write_aclocal): Likewise.
719         * automake.in (parse_arguments): Copyright 2000.
720         (initialize_global_constants): Likewise.
722         * automake.in (generate_makefile): Call handle_dist after
723         handle_dependencies and handle_tests.  Fixes subobj3.test and
724         pr19.test regressions.
726 2000-03-19  Gordon Matzigkeit  <gord@fig.org>
728         * depend2.am (@EXT@.o): Look for the source file in srcdir as well
729         as the current directory.
730         (@EXT@.lo): Likewise.
732 2000-03-19  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
734         * automake.in (handle_data): Pass -candist instead of
735         -defaultdist, for the compatibility.
737 2000-03-19  Tom Tromey  <tromey@cygnus.com>
739         Fix for test nodepcomp.test:
740         * automake.in (require_file_internal): Use readlink on symlinks.
741         Only unlink file if we are going to try to add it again.
742         (handle_dependencies): Require `depcomp' here.
743         (scan_configure): Don't require `depcomp'.
745 2000-03-16  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
747         * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
748         the rule to remake Makefile, whether $use_dependencies is true
749         or not. This was a historical one and doesn't make sense any
750         longer.
752 2000-03-19  Tom Tromey  <tromey@cygnus.com>
754         More for PR automake/38:
755         * automake.texi (Invoking Automake): Document --force-missing.
756         * automake.in (force_missing): New global.
757         (parse_arguments): Recognize --force-missing.
758         (initialize_global_constants): Document --force-missing.
759         (require_file_internal): Handle --force-missing.
761         Fix for PR automake/38:
762         * automake.in (require_file_internal): Check for and handle
763         dangling symlinks.  Fixes symlink2.test.
765         Fix for PR automake/45:
766         * automake.texi (configure): Mention requirement to run
767         AM_INIT_AUTOMAKE.
768         (Requirements): Removed most text.
769         * automake.in (seen_init_automake): New global.
770         (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
771         (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
772         Set seen_init_automake if needed.
774         Fix for PR automake/41:
775         * automake.in (require_file_found): New global.
776         (require_file_internal): Set require_file_found entry.
777         (handle_texinfo): Require file any number of times.
779         * automake.in (handle_dist_worker): Exit if `cp' fails.  Fixes
780         install2.test.
782         * tags.am: Don't reference $$here.  Report from Sven Verdoolaege.
784 2000-03-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
786         * m4/missing.m4: Print the backtick in a way that won't cause
787         autoconf CVS to emit any warnings.
789 2000-03-01  Jim Meyering  <meyering@lucent.com>
791         * automake.in (handle_dist_worker) [generating rules for distdir]:
792         Don't use `ln' (which was just a space optimization anyway) to
793         populate $(distdir).  Otherwise, the dist rules that change
794         permissions would end up affecting the master sources.
795         * texinfos.am (dist-info): Likewise.
797 2000-02-13  Jim Meyering  <meyering@lucent.com>
799         * automake.in (generate_makefile): Detect write/close failure.
801 2000-02-02  Assar Westerlund  <assar@sics.se>
803         * automake.in (handle_single_transform_list): do not use $< which
804         is not handled by all non-GNU makes.  Instead do explicit sh code
805         testing for the file in this directory and srcdir.  Based on a
806         suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
808 2000-01-12  Tom Tromey  <tromey@cygnus.com>
810         * m4/lispdir.m4: Added --with-lispdir argument processing.
811         From Kevin Dalley.
813 2000-01-06  Tom Tromey  <tromey@cygnus.com>
815         * automake.in (handle_configure): Don't check for
816         AC_PROG_MAKE_SET.
817         (scan_configure): Check for AC_PROG_MAKE_SET.
819         * header-vars.am (@SET_MAKE@): Added.
820         * subdirs.am (@SET_MAKE@): Removed.  Report from Motoyuki
821         Kasahara.
823 1999-12-19  Tom Tromey  <tromey@cygnus.com>
825         * automake.in (handle_dist_worker): Expand DIST_COMMON under all
826         conditions.
827         (require_file_internal): Corrected arguments to second invocation
828         of maybe_push_required_file.
830         Fix for PR automake/9:
831         * automake.in (make_dirs, make_dirs_set): New globals.
832         (is_make_dir): New function.
833         (handle_configure): Use it.
834         (require_file_internal): Push file if there is no Makefile in its
835         directory.
836         (initialize_per_input): Initialize handle_dist_run.
837         (push_dist_common): Inspect handle_dist_run.
838         (handle_dist): Set handle_dist_run.  Push items from
839         configure_dist_common onto dist_common if appropriate.
840         (configure_dist_common): New global.
841         (scan_configure): Set it.
842         (maybe_push_required_file): New function.
843         (require_file_internal): Use it.
845         * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
846         more subdirs are defined.  From Axel Belinfante.  Fixes
847         PR automake/2.
849 1999-12-18  Tom Tromey  <tromey@cygnus.com>
851         Partial fix for PR automake/40:
852         * lisp.am (install-@DIR@LISP): Handle nobase_ case.
853         (uninstall-@DIR@LISP): Likewise.
854         * header.am (install-@DIR@HEADERS): Handle nobase_ case.
855         (uninstall-@DIR@HEADERS): Likewise.
856         * data.am (install-@DIR@DATA): Handle nobase_ case.
857         (uninstall-@DIR@DATA): Likewise.
858         * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
859         (am_install_var): Recognize and handle `nobase_' prefix.
861 1999-12-17  Tom Tromey  <tromey@cygnus.com>
863         * automake.in (get_object_extension): Added space before `-I.'.
864         Report from Ralf Corsepius.
866 1999-12-15  Tom Tromey  <tromey@cygnus.com>
868         * aclocal.in: Don't pass $acdir to scan_m4_files.
869         (parse_arguments): Push $acdir on end of dirlist.
870         (scan_file): Don't warn if duplicate macro seen.
872 1999-12-13  Tom Tromey  <tromey@cygnus.com>
874         Fix for PR automake/30 and PR automake/23.  Fixes test
875         suffix3.test.
876         * automake.in (initialize_per_input): Initialize
877         source_suffix_pattern.
878         (derive_suffix): New function.
879         (handle_single_transform_list): Call it.
881         * automake.in (add_depend2): Handle the no-dependency-tracking
882         case.  Fixes test suffix2.test.
884         * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
886         * automake.in (get_object_extension): Fixed quoting on
887         -I$(srcdir).
889         * depend2.am: Removed erroneous comment.
891         * automake.texi (Program variables): Document nostdinc.
892         (Options): Likewise.
893         * automake.in (get_object_extension): Respect nostdinc option.
894         (handle_options): Recognize nostdinc.
895         * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
896         substitution.
898         * automake.in (read_am_file): Allow conditional includes.  Fixes
899         test condincl.test.
901         * depcomp: Handle case on SGI when libtool is `yes'.
902         * depend2.am (@EXT@.o): Set libtool.
903         (@EXT@.lo): Likewise.
904         (@EXT@.obj): Likewise.
906         * depcomp: Unify dashmstdout and dashXmstdout cases.  Move hp case
907         after gcc case.
909 1999-12-13  Pavel Roskin  <pavel_roskin@geocities.com>
911         * automake.in (add_depend2): substitute $rule in the rules
912         for individual files.  Fixes test specflags5.test.
914 1999-12-12  Tom Tromey  <tromey@cygnus.com>
916         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
917         to create directories.  Fixes test subobj3.test.
919 1999-12-10  Tom Tromey  <tromey@cygnus.com>
921         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
922         message when creating .deps files.
924         * automake.in (initialize_global_constants): If unreadable by
925         owner, make it readable by owner regardless of number of links.
926         Fixes more of install2.test.
928         * missing: Try to see if gnutar or gtar exist before invoking
929         them.
931         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
932         install_sh value.  Look for install-sh and install.sh in a
933         somewhat more sensible way.  Fixes test install2.test.  Partially
934         from Jim Meyering.
936 1999-12-09  Pavel Roskin  <pavel_roskin@geocities.com>
938         * m4/missing.m4: remove redundant backquote
940 1999-11-23  Tom Tromey  <tromey@cygnus.com>
942         * automake.in (initialize_global_constants): Use `bzip2 -9', not
943         `bzip --best'  Report from Jim Meyering.
945 1999-11-22  Tom Tromey  <tromey@cygnus.com>
947         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
948         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
949         AM_MISSING_INSTALL_SH.
950         * automake.in (scan_one_configure_file): Reverted previous
951         change.
953         * automake.in (scan_one_configure_file): Define `install_sh'
954         configure variable when AM_INIT_AUTOMAKE seen.  Report from Jim
955         Meyering.
957         * automake.in (handle_single_transform_list): Generate explicit
958         rule for subdir objects.  Fixes new addition to subobj.test.
960         * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
961         defined by AC_SUBST.  Fixes ltlibobjs.test.
963         Fix for sourcesub.test:
964         * automake.in (handle_single_transform_list): Added `var'
965         argument.  If config sub found, give error.
966         (handle_source_transform): Updated for new
967         handle_source_transform.
969         * py-compile: New file.
970         * m4/Makefile.am (m4data_DATA): Added python.m4.
971         * m4/python.m4: New file.
972         * automake.texi (Uniform): Mention PYTHON.
973         (Python): New node.
974         * Makefile.am (amfiles): Added python.am, python-clean.am.
975         (dist_script_DATA): Added py-compile.
976         * python.am: New file.
977         * python-clean.am: New file.
978         * automake.in (seen_pythondir): New global.
979         (generate_makefile): Call handle_python.
980         (handle_python): New function.
981         (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
982         seen.
983         (am_install_var): Special-case PYTHON like JAVA.
984         (scan_configure): Check for py-compile.
985         (initialize_global_constants): Added py-compile to @common_files.
987         * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
989 1999-11-21  Tom Tromey  <tromey@cygnus.com>
991         * automake.in (finish_languages): Only generate suffix rule when
992         not doing dependency tracking.
994         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
995         * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
997         * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
998         Always use `-o'.
1000 1999-11-19  Tom Tromey  <tromey@cygnus.com>
1002         * dist.am: Set `CDPATH=:' to avoid problems.  Merged from
1003         Alexandre's change on branch.
1005 1999-10-02  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1007         * Makefile.am (maintainer-check): Look for occurrences of ``cd'
1008         without `CDPATH'.
1009         * dejagnu.am: Set CDPATH before cd.
1010         * Makefile.in: Rebuilt.
1012         * automake.in (handle_single_transform_list): Change `\1' for `$1'
1013         in `s///' replacement.
1015         * automake.in (handle_dist): Set CDPATH before cd.
1016         * dejagnu.am (check-DEJAGNU): Likewise.
1017         * texinfos.am (install-info-am, dist-info): Likewise.
1018         * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1019         * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
1020         * aclocal.m4, configure, Makefile.in: Rebuilt.
1022         * AUTHORS: Added myself.
1024 1999-09-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1026         * m4/missing.m4: Support relative srcdir and ac_aux_dir.
1027         Reported by Tim Wilkinson <tim@transvirtual.com>
1028         * aclocal.m4, configure: Rebuilt.
1030 1999-08-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
1032         * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
1033         LEX program is found, use `${am_missing_run}flex'.
1035 1999-08-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
1037         * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
1038         with `o' in depfile.
1040         * automake.in (handle_lib_objects_cond): Remove second dot from
1041         dependency file names.
1043         * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
1044         regardless of OBJEXT.
1046         * automake.in (handle_dependencies): Add blank line after depend2.
1047         (handle_dependencies): Start DEP_FILES with `@AMDEP@'.  Output
1048         blank line before `include's, not after them.
1049         (scan_one_configure_file): Do not special-case `DEP_' any more.
1051         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
1052         if AMDEP is empty.
1053         * aclocal.m4, configure: Rebuilt.
1055         * m4/depend.m4 (AMDEPBACKSLASH): Define.
1056         * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
1058         * automake.in (handle_dependencies): Generate `include's for
1059         dependency files after `@AMDEP@'.
1061         * m4/missing.m4: Use eval, instead of a sub-shell, to test for
1062         --run support in the missing script, since SHELL is not exported.
1063         Reported by job bogan <job@piquin.uchicago.edu>
1064         * aclocal.m4, configure: Rebuilt.
1066 1999-08-15  Alexandre Oliva  <oliva@dcc.unicamp.br>
1068         * aclocal.m4, configure: Rebuilt with itself.
1069         * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
1071         * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
1072         Require AM_MISSING_HAS_RUN.  Use am_missing_run, defined by...
1073         (AM_MISSING_HAS_RUN): New macro.
1074         * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
1075         * automake.texi (Requirements): Likewise.
1076         * version.texi, stamp-vti: Rebuilt.
1078 1999-07-28  Tom Tromey  <tromey@cygnus.com>
1080         * depcomp: Handle the `hp' mode.
1082 1999-07-06  Tom Tromey  <tromey@cygnus.com>
1084         * depcomp: Work around HP-UX 10.20 sed bug.
1086 1999-07-05  Tom Tromey  <tromey@cygnus.com>
1088         * automake.in (handle_dependencies): Generate a separate include
1089         for each dep file.  Report from Alexandre Oliva.
1090         * depend.am: Don't include DEP_FILES.
1092 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
1094         * depend.am: Add @AMDEP@ before `include', so that dependency
1095         tracking can be disabled.
1096         * depend2.am: Ditto, before all lines related with dependency
1097         tracking.
1098         * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
1099         --enable/disable-dependency-tracking and sets AMDEP accordingly.
1100         It is implicitly disabled if depcomp is missing.
1101         (AM_DEPENDENCIES): Disable dependency tracking unless it can be
1102         generated by side-effect.
1103         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
1104         * automake.in (handle_dependencies): Add @AMDEP@ before the value
1105         of DEP_FILES.
1106         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
1107         starting with `#'.
1109         * depcomp: Support -xM for dependency generation, for Sun CC.
1110         Reported by Alex Hornby <alex@anvil.co.uk>
1111         * m4/depend.m4: Extract the list of supported dependency-tracking
1112         mechanisms from the depcomp script and use it to test each one.
1113         * THANKS: Added Alex Hornby.
1115         * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
1116         to leave $(...COMPILE) in a line by itself.
1118         * THANKS: Added Miles Bader.
1120 1999-06-01  Miles Bader  <miles@ccs.mt.nec.co.jp>
1122         * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
1123         Fix `dashmstdout' to ignore non-dependency-generating uses of the
1124         -M flag.
1125         * depcomp (makedepend): New dependency-generating method.
1127 1999-06-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
1129         * missing: If given `--run' as first argument, try to run the
1130         given program before falling back to the ``emulated'' behavior.
1131         Add support for `tar'.
1132         * automake.in: Use new `tar' support for `dist'.
1133         * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
1134         program, prepend `missing --run' to the given program name.
1135         * m4/init.m4: Remove AMTAR-related stuff.
1136         * NEWS: Updated.
1138         * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
1139         CONFIG_FILES.  Do not use temporary variable for list of
1140         dependency files, it breaks Cygwin.
1142 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
1144         * depcomp (gcc): Imported comments removed from depend2.am, so
1145         that we don't lose them.
1147         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1148         when not using ansi2knr.
1150 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
1152         * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1153         * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1155 1999-04-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1157         * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1158         so as not to compile an empty source; some compilers fail on this.
1159         Redirect stderr of depcc to /dev/null.  Test for -M with -o,
1160         because some compilers will output the rules to the output file.
1161         * depcomp (dashmstdout): Add --silent before --mode=compile, so
1162         that we don't get libtool output mixed up with make rules.
1164         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1165         * depend2.am: Set tmpdepfile too, to speed up depcomp.  Always use
1166         -o for libtool, otherwise it may try to deduce the object name
1167         from the dependency-generation flag.
1168         * depcomp: Assume depdir exists.  Preserve depfile on unsuccessful
1169         compilations.
1171         * libtool.am: Do not emit .c.lo here...
1172         * depend2.am: ... emit .*.lo here, only when using libtool.
1173         * automake.in (get_object_extension): No more @MINUSO@ here.
1174         (handle_single_transform_list): Set $depfile from $object.
1175         (handle_dependencies): Emit depend2.am for all used languages,
1176         regardless of $use_dependencies; the setting of depcomp makes the
1177         difference.
1178         (lang_cxx_finish): Do not emit compilation rules.
1179         (lang_objc_finish): Likewise.
1180         (lang_java_finish): Likewise.
1182 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1184         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1185         interpolate DEPDIR in DEP_FILES expansion.
1187 1999-04-20  Lee Iverson  <leei@Canada.AI.SRI.COM>
1189         * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1190         dependency updating.
1191         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1192         handle multi-line dependency lists.
1194 1999-11-12  Tom Tromey  <tromey@cygnus.com>
1196         Fix for PR automake/14:
1197         * aclocal.in: Added `ud_GNU_GETTEXT'.  Updated to mention
1198         AC_CYGWIN.
1199         * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1201         * m4/multi.m4: Added missing `]'.  From Akim Demaille.
1203         * Makefile.am (path-check): Make sure distdir is writeable before
1204         removing it.
1205         * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1206         (handle_dist_worker): Make sure distdir is writeable before
1207         removing it.
1208         (initialize_global_constants [$dist_trailer]): Make sure distdir
1209         is writeable before removing it.
1210         * dist.am (distcheck): Make the new source tree read-only before
1211         compiling.  Idea from Karl Berry.
1213         * automake.texi (Gnits): Allow COPYING.LIB again.
1214         * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1216 1999-11-11  Jim Meyering  <meyering@ascend.com>
1218         * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1219         files.
1221 1999-11-09  Tom Tromey  <tromey@cygnus.com>
1223         * automake.in (handle_dist): Typo fix.  From Jim Meyering.
1225 1999-11-09  Jim Meyering  <meyering@ascend.com>
1227         * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1228         markers, no matter what.
1230 1999-11-08  Tom Tromey  <tromey@cygnus.com>
1232         * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1233         line.
1235         * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1236         From Jim Meyering.  Also, don't mention file name in `cp'
1237         destination.  From Olly Betts.
1239 1999-10-27  Miodrag Vallat  <miodrag@ifrance.com>
1241         * texinfos.am (uninstall-info): Use installed info file, not one
1242         from srcdir or builddir.
1244 1999-11-07  Tom Tromey  <tromey@cygnus.com>
1246         * clean.am (maintainer-clean-generic): Remove Makefile.in.  From
1247         Jeff Bailey
1249         Fix for PR automake/18:
1250         * automake.in (handle_dist): Add contents of dist.am to the output
1251         rules.
1252         * Makefile.am (amfiles): Added dist.am.
1253         * dist.am: New file.
1254         (distcheck): Added uninstall and distclean checks.
1256         * automake.in (PATH_PATTERN): Added `-' as allowable character.
1257         Fixes PR automake/20.  From Matthew D. Langston.
1259         * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1260         allowed in suffixes.  Fixes PR 22.  From Matthias Clasen.
1262 1999-10-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1264         * m4/lispdir.m4: -batch must come before -q.
1265         * elisp-comp: Likewise.
1266         Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1267         * THANKS: Added Lars.
1269 1999-08-15  Tom Tromey  <tromey@cygnus.com>
1271         * automake.in (get_object_extension): Fixed quoting bug.  Fixes
1272         ansi4.test.
1274 1999-07-27  Tom Tromey  <tromey@cygnus.com>
1276         * config.guess, config.sub: New versions from autoconf.
1278 1999-07-13  Tom Tromey  <tromey@cygnus.com>
1280         Work around losing `awk'.  Report from Harlan Stenn.
1281         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1282         * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1284         * automake.in (handle_source_transform): Mark prefix as seen if
1285         corresponding _SOURCES variable exists.  Fixes empty2.test.
1287 1999-06-25  OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>
1289         * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1290         m4.
1291         (AUTOMAKE): Set --amdir to current directory.
1293 1999-06-20  Tom Tromey  <tromey@cygnus.com>
1295         * Makefile.am (TAGS_FILES): New macro.
1296         (ETAGS_ARGS): Moved files into TAGS_FILES.
1297         (TAGS_DEPENDENCIES): Likewise.
1298         (ETAGS_ARGS): Removed.
1299         (TAGS_DEPENDENCIES): Removed duplicate definition.
1301         * tags.am (ID): Handle VPATH correctly.  Use TAGS_FILES.  Report
1302         from Ganesan Rajagopal.
1303         (TAGS): Likewise.
1305 1999-06-18  Thomas Tanner  <tanner@ffii.org>
1307         * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1308         too.
1310 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1312         * ylwrap: Handle filenames output by the DOS version of Bison.
1314 1999-06-20  Tom Tromey  <tromey@cygnus.com>
1316         * ylwrap: Be less strict when recognizing DOS paths.  From Mark
1317         Elbrecht.
1319 1999-06-19  Tom Tromey  <tromey@cygnus.com>
1321         * automake.in (handle_dist_worker): Remove redundant entries from
1322         DIST_SUBDIRS.
1324         * automake.in (handle_lib_objects_cond): Better error message when
1325         unrecognized option passed in LDADD.
1327 1999-06-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
1329         * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1330         appropriate --acdir and --amdir arguments.
1332 1999-06-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1334         * automake.in (dist_header): Avoid changing permissions of files
1335         in the source tree, trying a complex `find/chmod' command before
1336         falling back to plain chmod.
1337         (handle_dist_worker): Do not create directories with mode 777, the
1338         find above will take care of that.
1339         * m4/init.m4: Set install_sh for find/chmod above.
1341         * THANKS: Added Shuhei Amakawa.
1343 1999-06-07  Shuhei Amakawa <sa264@cam.ac.uk>
1345         * mans.am: Strip dirname from given filename.
1347 1999-06-07  Jim Meyering  <meyering@ascend.com>
1349         * automake.in (handle_dist): Change emitted rules so that a failure
1350         in `$(MAKE) distcheck-hook' propagates to the outer make.
1352 1999-05-27  Tom Tromey  <tromey@cygnus.com>
1354         * automake.in (handle_single_transform_list): Replace AM_FLAG and
1355         not FLAG in compilation rule.
1356         (add_depend2): Likewise.
1358         * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1359         libtool.
1361         * m4/dmalloc.m4: Updated dmalloc site information.
1363 1999-05-19  Tom Tromey  <tromey@cygnus.com>
1365         * automake.in (handle_single_transform_list): Push object name
1366         without extension onto lang_specific_files.  Fixes
1367         specflags4.test.
1369         * automake.in (handle_single_transform_list): Added missing
1370         space.  Fixes specflags.test.
1372 1999-05-05  Tom Tromey  <tromey@cygnus.com>
1374         * automake.in: Disabled dependency tracking for Java.
1376 1999-05-04  Tom Tromey  <tromey@cygnus.com>
1378         * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1379         * automake.in (handle_libraries): Recognize _AR variable.
1381 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1383         * automake.in (finish_languages): Always use `-o $@' with
1384         libtool.  Define ltcompile and ltlink at outermost scope in
1385         function.
1386         * libtool.am (.c.lo): Removed.
1388         * automake.in (finish_languages): Put `.' before extension in
1389         suffix list, `.obj' rule, and `.lo' rule.  Look at `-flags', not
1390         `-flag'.  From Pavel Roskin.
1392 1999-04-28  Tom Tromey  <tromey@cygnus.com>
1394         * automake.in (finish_languages): Fixed scoping of ltcompile and
1395         ltlink.  From Pavel Roskin.
1397 1999-04-27  Tom Tromey  <tromey@cygnus.com>
1399         * automake.in (read_main_am_file): Don't start macro definition
1400         with backslash-newline.  Instead, append newline at the end if
1401         required.
1403         * automake.in (read_am_file): Insert a backslash before a trailing
1404         newline.  Fixes pluseq8.test.
1406         * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1407         macro name.
1408         (check_canonical_spelling): Don't insert `AM' before macro name
1409         (reverts Alexandre's 1999-04-27 patch).
1410         * automake.texi: Reverted documentation change for `AM' patch.
1412         * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1413         Minor rewrite for clarity.
1414         (check_canonical_spelling): Prefer `$1' over `\1'.
1416         * depend2.am (@OBJ@): Renamed.  Use @SOURCE@, @COMPILE@.  Always
1417         use `-o $@'.
1418         (@LTOBJ@): Likewise.
1419         * automake.in (handle_single_transform_list): Don't print rule if
1420         doing dependency tracking and the file's language supports it.
1421         (initialize_per_input): Initialize lang_specific_files.
1422         (add_depend2): New function.
1423         (handle_dependencies): Use it.
1425         * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1426         ratfor compiler name is `RCOMPILE'.  ppf77 compiler name changed
1427         to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1428         directory.
1429         (lang_ratfor_finish): Use lang_f77_finish.
1431         * compile.am (NOTDEPEND.c.o): Removed.
1432         (OBJEXT.c.obj): Likewise.
1433         * automake.in: Added `flags' attribute to all relevant languages.
1434         (handle_single_transform_list): Handle per-derived-object flags.
1435         Changed interface and all callers.
1436         (handle_built_sources): Don't call handle_single_transform_list.
1437         Added `compile' and `compiler-name' attribute to all relevant
1438         languages.
1439         (finish_languages): Define compiler variables here.
1440         (lang_cxx_finish): Don't call define_compiler_variable.  Don't
1441         define flag variable or .o rules.  Don't add to @suffixes.
1442         (lang_f77_finish): Likewise.
1443         (lang_ppf77_finish): Likewise.
1444         (lang_objc_finish): Likewise.
1445         (lang_java_finish): Likewise.
1446         (finish_languages): Define flag variable here.
1447         Added `output-arg' attribute to all relevant languages.
1448         (finish_languages): Define `.o' rules here.
1449         (finish_languages): Put extension on @suffixes.
1450         (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1452 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
1454         * automake.in (initialize_global_constants): Invoke gzip for
1455         dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1457         * automake.in (initialize_global_constants): Remove zip file
1458         before re-creating it.
1459         Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1461         * texinfos.am (uninstall-info): Look for info file in srcdir, just
1462         like in install-info-am.
1463         Reported by Tudor Hulubei <tudor@cs.unh.edu>
1465         * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1466         Let's use the good ol' substitution, then.
1467         Reported by Russ Allbery <rra@stanford.edu>
1469         * automake.in (check_canonical_spelling): Insert AM before names
1470         starting with non-letters.
1472         * automake.texi: Document it.
1474 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
1476         * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1477         doesn't work on perl4.  Maybe \Q and \E do.
1479 1999-04-24  Tom Tromey  <tromey@cygnus.com>
1481         * automake.in: Treat `.zip' and `.jar' files as Java.
1483         * automake.in (generate_makefile): Define `subdir' after reading
1484         .am file.
1485         (read_main_am_file): Give programming error if variable defined
1486         before invocation.
1488 1999-04-22  Tom Tromey  <tromey@cygnus.com>
1490         * automake.in (generate_makefile): Define `subdir' variable.
1491         (handle_dist): Don't define `subdir'.
1493         * automake.in (handle_texinfo): Change numbering scheme for
1494         stamp-vti files, to avoid problems with DOS.
1495         From Michel de Ruiter.
1497         * automake.texi: Don't mention AM_FUNC_MKTIME.
1498         * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1499         * automake.in (scan_one_configure_file): Recognize
1500         AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1501         (obsolete_macros): Mention AM_FUNC_MKTIME.
1502         * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1503         * m4/mktime.m4: Removed.
1505 1999-04-20  Tom Tromey  <tromey@cygnus.com>
1507         * automake.texi (Top level): Don't recommend substing SUBDIRS.
1509 1999-04-20  Brian Ford <ford@vss.fsi.com>
1511         * scripts.am: Change else if's to elif.
1513 1999-04-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
1515         * automake.in (handle_lib_objects_cond): Only require the source
1516         of a LIBOBJ if it's not in BUILT_SOURCES.
1517         Reported by Erez Zadok.
1519 1999-04-19  Tom Tromey  <tromey@cygnus.com>
1521         * automake.in: Treat `.class' files as Java source.
1522         (lang_java_finish): Handle `.class' files.
1524 1999-04-18  Alexandre Oliva  <oliva@dcc.unicamp.br>
1526         * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1528         * m4/lispdir.m4: Do not override lispdir if it's already defined.
1529         Run some emacs-lisp to find out the site-lisp directory, but
1530         relocate it into prefix.
1532 1999-04-17  Paul Eggert  <eggert@twinsun.com>
1534         * m4/mktime.m4 (bigtime_test, main): Move alarm from
1535         bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1536         even outside of bigtime_test.  Use a time limit of 60 seconds
1537         for the whole test, not 10 seconds per iteration.
1539 1999-04-17  Erez Zadok  <ezk@cs.columbia.edu>
1541         * automake.in: Create stamps for headers in appropriate
1542         directories, even if the input file lives in a different place.
1543         * remake-hdr.am: Likewise.
1545 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1547         From Brian Ford:
1548         * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1549         Invoke `sed' only once per program.
1550         * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1551         Invoke `sed' only once per program.
1553 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1555         * automake.in (handle_subdirs): Make `install-recursive' phony.
1556         From Michel de Ruiter.
1558         * automake.in (handle_ltlibraries): Added missing `check'.
1560 1999-04-12  Tom Tromey  <tromey@cygnus.com>
1562         * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1563         maintainer).
1565 1999-04-11  Tom Tromey  <tromey@cygnus.com>
1567         * automake.in (handle_dist): Use AMTAR.
1568         (initialize_global_constants): Likewise.
1569         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1571         * automake.in (lang_sub_obj): New function.
1572         (lang_cxx_rewrite): Use it.
1573         (lang_asm_rewrite): Likewise.
1574         (lang_objc_rewrite): Likewise.
1575         (lang_cxx_finish): Add `-o $@' to all C++ rules.
1576         (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1577         (lang_objc_finish): Add `-o $@' to all ObjC rules.
1578         (lang_java_finish): Likewise.
1580         * automake.in: Only register `asm' once.
1581         (lang_asm_finish): Put assembly suffixes on @suffixes.
1583         * libtool.am (.s.lo): Removed.
1584         (.S.lo): Likewise.
1585         * automake.in (lang_asm_finish): Handle libtool.
1587         * libtool.am (.c.o): Always pass -c to libtool.
1589         * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1590         (lang_yaccxx_rewrite): Likewise.
1591         (lang_lex_rewrite): Likewise.
1592         (lang_lexxx_rewrite): Likewise.
1594         Assembly code no longer included by default:
1595         * compile.am (.s.o): Removed.
1596         (.S.o): Likewise.
1597         * automake.in: Register `asm' language.
1598         (lang_asm_finish): Generate suffix rules for assembly.
1599         (get_object_extension): Don't add `.s' or `.S' to suffix list.
1601         * automake.in (get_object_extension): Substitute @MINUSO@ when
1602         including compile.am.
1603         * compile.am (.c.o): Added @MINUSO@.
1604         (.c.obj): Likewise.
1606         First cut at allowing objects in subdirectories:
1607         * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1608         * Makefile.am (dist_script_DATA): Added compile.
1609         * m4/minuso.m4: New file.
1610         * automake.in (initialize_global_constants): Added compile to
1611         common_files.
1612         (seen_cc_c_o): New global.
1613         (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1614         (handle_options): Recognize `subdir-objects' option.
1615         (lang_c_rewrite): Added directory argument.
1616         (lang_yacc_rewrite): Likewise.
1617         (lang_yaccxx_rewrite): Likewise.
1618         (lang_lex_rewrite): Likewise.
1619         (lang_lexxx_rewrite): Likewise.
1620         (handle_single_transform_list): Pass directory to _rewrite
1621         function.  Generate dependencies for dirstamp files for each .o;
1622         it is just the rules we want to create once.
1623         (lang_c_rewrite): Handle `subdir-objects' option.
1624         (lang_c_rewrite): Require `compile' program.
1625         * compile: New file.
1627         * automake.in (initialize_per_input): Initialize %directory_map.
1628         (handle_single_transform_list): Only create .dirstamp rules once
1629         per directory.
1631         * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1633         Fix for confh.test:
1634         * automake.in (configure_input_files): New global.
1635         (scan_configure): Set it.
1636         (handle_configure): Use configure_input_files when determining
1637         which subdirs have a Makefile.am.  Fixes confh.test.
1638         (handle_configure): Only recognize acconfig.h in top srcdir.
1640 1999-04-10  Tom Tromey  <tromey@cygnus.com>
1642         * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1643         (%.lo): Likewise.
1645         * automake.in (am_install_var): Remove redundancies from the
1646         result.  Fixes test cond8.test.
1648         * automake.in (handle_single_transform_list): Handle dependency
1649         tracking when files are created in subdirs.  Error if object in
1650         subdir has `..' component.
1652         * automake.in (initialize_global_constants): Use $(TAR), not tar.
1654         * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1656         * automake.in (lang_yacc_finish): Added missing `&'.
1658 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1660         * automake.in (handle_configure): Replace multiple occurrences of
1661         @STAMP@ in the same line; completes the patch for remake-hdr.am
1662         below.
1664         * automake.in (handle_dependencies): Fix test for `autodep'
1665         support.
1667         * automake.in (handle_source_transform): Add a pfx to used_pfx
1668         only if it's conditional or non-empty, to reduce the number of
1669         empty variables.  Emit _OBJECS variable based on program name if
1670         no SOURCES were explicitly specified.
1672         * remake-hdr.am: Create the stamp file before the header file,
1673         and just rename it after, so that the timestamps will be correct.
1674         Reported by Marc Horowitz <marc@mit.edu>
1676         * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1677         `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1678         Reported by Jim Meyering <meyering@ascend.com>
1680         * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1682 1999-04-10  Tom Tromey  <tromey@cygnus.com>
1684         * Makefile.am (EXTRA_DIST): New macro.
1685         * ChangeLog.1996, ChangeLog.1998: New files.
1687 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1689         * automake.in (handle_source_transform): Handle dist and nodist
1690         prefixes.
1691         (initialize_per_input): Initialize dist_sources.
1692         (check_libobjs_sources): Handle dist and nodist prefixes.
1693         (generate_makefile): Define DIST_SOURCES.
1694         * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1696         * automake.texi (Macros): Mention AM_PROG_GCJ.
1697         (Java Support): New node.
1698         (Dist): Documented dist_ and nodist_ prefixes.
1700         * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1702         * automake.in (lang_java_finish): Generate .lo rule for `.java'
1703         files, not `.gcj' files.
1705         * m4/gcj.m4: New file.
1706         * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1708         * automake.in: Register the `java' language.
1709         (resolve_linker): Handle GCJLINK.
1710         (lang_java_rewrite): New function.
1711         (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1712         (lang_c_rewrite): Use new constants.
1713         (lang_cxx_rewrite): Likewise.
1714         (lang_header_rewrite): Likewise.
1715         (lang_yacc_rewrite): Likewise.
1716         (lang_yaccxx_rewrite): Likewise.
1717         (lang_lex_rewrite): Likewise.
1718         (lang_lexxx_rewrite): Likewise.
1719         (lang_asm_rewrite): Likewise.
1720         (lang_f77_rewrite): Likewise.
1721         (lang_ppf77_rewrite): Likewise.
1722         (lang_ratfor_rewrite): Likewise.
1723         (lang_objc_rewrite): Likewise.
1724         (handle_single_transform_list): Likewise.  Handle LANG_SUBDIR
1725         return from rewrite function.
1726         (lang_java_finish): New function.
1727         (register_language): Changed interface and all calls.  Added
1728         `autodep' settings to various languages.
1729         (handle_dependencies): Use `autodep' property of language when
1730         including dependency-tracking code.
1732 1999-04-07  Tom Tromey  <tromey@cygnus.com>
1734         * automake.in (handle_texinfo): Indentation fixes.
1736 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1738         * automake.in (value_to_list): Skip *only* trailing backslashes.
1740 1999-04-07  Pavel Roskin  <pavel_roskin@geocities.com>
1742         * automake.in (value_to_list): Skip trailing backslashes.
1744 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
1746         * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1747         when appropriate.
1748         Reported by Per Cederqvist <ceder@lysator.liu.se>
1749         (handle_texinfo): Do not define texinfo_tex='.', use
1750         '$(srcdir)/texinfo.tex' instead; the directory name will be
1751         properly extracted.
1752         (require_conf_file_with_line): Fixed typo.
1754 1999-04-03  Raja R Harinath  <harinath@cs.umn.edu>
1756         * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1757         we do not depend on PATH starting with `.'.
1759 1999-03-31  Tom Tromey  <tromey@cygnus.com>
1761         * automake.in (quote_cond_val): Quote \n.
1762         (unquote_cond_val): Unquote \n.
1763         (read_am_file): If line ends with `\', preserve it and add a
1764         newline.
1765         (read_main_am_file): In conditional case, put conditional text at
1766         beginning of each generated line.
1768 1999-03-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1770         * automake.in (handle_tests): support XFAIL_TEST
1771         * automake.texi: document it
1773 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
1775         * End of merge from trunk.
1777 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
1779         * automake.in (cmdline_use_dependencies): Reintroduce it.
1780         (--ignore-deps): Set cmdline_use_dependencies again.
1781         (handle_dependencies): If use_dependencies is not set, define
1782         depcomp as empty.
1783         (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1784         (scan_configure): Do not require depcomp when ignoring
1785         dependencies.
1786         (initialize_global_constants): Reintroduce --ignore-deps.
1788 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
1790         * depcomp: New file.
1791         * Makefile.am (dist_script_DATA): Added depcomp.
1792         * automake.in (cmdline_use_dependencies, omit_dependencies,
1793         dependency_macros): Removed.
1794         (--ignore-deps): Just ignore.
1795         (handle_single_transform_list, dep_files): Named dependency files
1796         as \$(DEPDIR)/$base.P$obj
1797         (handle_lib_objects_cond): Likewise.
1798         (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1799         (scan_one_configure_file): Likewise.
1800         (handle_dependencies): Always enable auto-dep.  Define `depcomp'.
1801         Ignore OMIT_DEPENDENCIES.
1802         (handle_configure): Do not pass --ignore-deps.
1803         (scan_configure): Require `depcomp'.
1804         (initialize_global_constants): Make `depcomp' common.  Remove
1805         `--ignore-deps' from usage.
1806         (get_object_extension): No more NOTDEPEND in compile nor libtool.
1807         * compile.am: Remove rules for .c.o and .c.obj
1808         * depend.am (distclean-depend): Wipe out $(DEPDIR)
1809         * depend2.am (@FPFX@DEPMODE): Define from config.status.
1810         Use it and depcomp in suffix rules.
1811         * libtool.m4: Likewise.
1812         * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1813         * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1814         * m4/Makefile.am (dist_m4data_DATA): Likewise.
1815         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1816         from the Makefile and subst it in deps.  Report creation of deps
1817         files (for now).  Replace $U with `_' and the empty string.  Write
1818         a comment to each created file.
1819         * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1820         (AM_DEPENDENCIES): Accept CC, CXX and OBJC.  Just determine the
1821         dependency mode and AC_SUBST [$1]DEPMODE.
1822         * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1823         AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1824         appears in configure.in, before or after AM_INIT_AUTOMAKE.
1826 1999-04-02  Raja R Harinath  <harinath@cs.umn.edu>
1828         * depout.m4: Fix sed expression for extracting `dirpart'.
1830 1999-03-29  Tom Tromey  <tromey@cygnus.com>
1832         * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1834         * compile.am (.c.obj): Also disabled when dependency tracking
1835         enabled.
1836         * depend2.am (@EXT@.obj): New target.
1837         * automake.in (get_object_extension): Added explanatory comment.
1838         (generate_dependency_code): Handle $seen_objext.
1840         * depend.am: Removed obsolete comment.
1841         * depend2.am: Minor formatting fix.
1843 1999-03-28  Tom Tromey  <tromey@cygnus.com>
1845         * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1846         files.
1847         (EXTRA_DIST): Removed.
1848         * automake.in (dependency_macros): New global.
1849         (scan_one_configure_file): Recognize new dependency tracking
1850         macros, and define new resulting configure variables.
1851         (generate_dependency_code): New sub.
1852         (handle_dependencies): Use it.
1853         * depend2.am (DEP_@FPFX@COMPILE): New macro.
1854         (@EXT@.o): Use it.
1855         (@EXT@.lo): Likewise.
1856         * m4/depvars.m4: New file.
1857         * m4/objcdepend.m4: New file.
1858         * m4/cxxdepend.m4: New file.
1859         * m4/init.m4: Moved dependency handling code into depout.m4.
1860         * m4/depout.m4: New file.
1861         * m4/ccdepend.m4: New file.
1862         * m4/depend.m4: New file.
1864         * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1865         (@EXT@.lo): Likewise.
1866         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1867         longer needed.
1869         * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1870         will create the required .P files for dependency tracking.
1871         * automake.in (scan_dependency_file): Removed.
1872         (handle_dependencies): Never call scan_dependency_file.
1873         (generate_deps): Removed.
1874         (parse_arguments): Don't recognize --generate-deps, --build-dir,
1875         --srcdir-name, or --include-deps.  Do recognize --ignore-deps.
1876         (srcdir_name): Removed.
1877         (build_directory): Removed.
1878         (initialize_global_constants): Changed $USAGE to reflect argument
1879         parsing changes.
1880         (handle_dist_worker): Never run automake in `dist' rule.
1881         (handle_configure): Use --ignore-deps, not --include-deps.
1882         * depend.am (DEPS_MAGIC): Removed.
1883         (DEP_FILES): Unconditionally include.
1885 1999-03-27  Tom Tromey  <tromey@cygnus.com>
1887         * automake.in (saw_sources_p): Correctly count header extensions
1888         seen.
1889         (handle_headers): Fixed order of arguments to am_install_var.
1891         * automake.in (am_install_var): Don't error if EXTRA_foo is
1892         defined uselessly.
1894         * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1895         (uninstall-@DIR@SCRIPTS): Likewise.
1896         * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1897         (uninstall-@DIR@PROGRAMS): Likewise.
1898         * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1899         (uninstall-@DIR@LTLIBRARIES): Likewise.
1900         * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1901         (uninstall-@DIR@LISP): Likewise.
1902         * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1903         (uninstall-@DIR@LIBRARIES): Likewise.
1904         * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1905         (uninstall-@DIR@JAVA): Likewise.
1906         * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1907         (uninstall-@DIR@HEADERS): Likewise.
1908         * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1909         (uninstall-@DIR@DATA): Likewise.
1910         * Makefile.in: Rebuilt.
1911         * Makefile.am (dist_pkgdata_DATA): Renamed.
1912         (EXTRA_DIST): Removed.
1913         (install-data-hook): Added POST_INSTALL; print commands as they
1914         are run; respect DESTDIR.
1915         * dist-vars.am (DISTFILES): Removed $(HEADERS).
1916         * automake.in (am_install_var): Accept `-candist' and
1917         `-defaultdist' options.  Handle `dist_' and `nodist_' prefixes.
1918         (am_primary_prefixes): Added can_dist argument.  Recognize `dist_'
1919         and `nodist_' prefixes.
1920         (handle_scripts): Pass -candist to am_install_var.
1921         (handle_data): Pass -defaultdist to am_install_var.
1922         (handle_headers): Likewise.
1923         (handle_emacs_lisp): Pass -candist to am_install_var.
1924         (handle_java): Pass -candist to am_install_var.
1926 1999-03-26  Tom Tromey  <tromey@cygnus.com>
1928         * m4/init.m4: Fixed typo when invoking SHELL.
1930         * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1931         yacc header file.  From Ralf Corsepius.
1933         * Makefile.in: Rebuilt.
1934         * Makefile.am: Updated to reflect removal of TAR subst.
1935         * automake.texi (Options): Document dist-bzip2.
1936         * automake.in (TAR): Removed global.
1937         (initialize_global_constants): Changed `dist' to use pipe with
1938         gzip; work with non-GNU tar.
1939         (handle_dist): Handle non-GNU tar.  Don't define TAR.
1940         (initialize_global_constants): Added `dist-bzip2' entry.
1941         (handle_options): Recognize dist-bzip2 option.
1942         (handle_dist): Likewise.
1943         * configure: Rebuilt.
1944         * configure.in: Don't check for tar.
1945         * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'.  Substitute
1946         AMTARFLAGS.
1948         * automake.in (am_install_var): Removed obsolete comment.
1950         * texinfos.am (uninstall-info): Don't print loop but instead print
1951         commands.  Simplified pre-uninstall loop.
1952         * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1953         instead print commands.
1954         * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1955         print commands.
1956         * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1957         instead print commands.
1958         * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1959         (uninstall-@DIR@LISP): Likewise.  Also, don't print loop but
1960         instead print commands.
1961         * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1962         print commands.
1963         * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1964         print commands.
1965         * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1966         (uninstall-@DIR@HEADERS): Likewise.  Also, don't print loop but
1967         instead print commands.
1968         * data.am (install-@DIR@DATA): Strip subdir from file name.
1969         (uninstall-@DIR@DATA): Likewise.  Also, don't print loop but
1970         instead print commands.
1972         * automake.in (handle_merge_targets): `install-strip' is a phony
1973         target.  From Michel de Ruiter.
1975 1999-03-25  Tom Tromey  <tromey@cygnus.com>
1977         * automake.in (define_compiler_variable): Don't define variable
1978         with trailing `_'.
1980 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1982         * automake.in (LDADD): accept -dlopen and -dlpreopen here
1983         * automake.texi: ditto
1985 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
1987         * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1988         is absolute and != objdir.  dir="" or "$(srcdir)/" fixes it
1990 1999-03-24  Tom Tromey  <tromey@cygnus.com>
1992         * automake.in (define_compiler_variable): New sub.
1993         (finish_languages): Use it.
1994         (lang_cxx_finish): Likewise.
1995         (lang_f77_finish): Likewise.
1996         (lang_ppf77_finish): Likewise.
1997         (lang_ratfor_finish): Likewise.
1998         (lang_objc_finish): Likewise.
2000 1999-03-23  Tom Tromey  <tromey@cygnus.com>
2002         * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
2003         sed invocations.  From Elrond.
2004         (uninstall-@DIR@PROGRAMS): Likewise.
2006         * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
2007         From Ralf Corsepius.
2009 1999-02-01  Thomas Tanner  <tanner@gmx.de>
2011         * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
2012         warning when AM_PROG_LIBTOOL was found
2013         * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
2015 1999-03-22  Tom Tromey  <tromey@cygnus.com>
2017         Made `+=' more robust.  Fixes pluseq6.test and pluseq7.test.
2018         * automake.in (define_standard_variables): New sub.
2019         (read_main_am_file): Use two passes to scan standard variables.
2020         (read_am_file): Don't special-case configure variables with `+='.
2021         (initialize_per_input): Initialize %var_was_plus_eq.
2022         (read_am_file): Set var_was_plus_eq element correctly.
2023         (define_variable): Give error if variable assigned with `+=' is
2024         internally defined.
2025         (initialize_per_input): Initialize %am_var_defs.
2026         (file_contents_with_transform): Set element in %am_var_defs.
2027         (read_am_file): Use %am_var_defs.
2029 1999-03-21  Tom Tromey  <tromey@cygnus.com>
2031         * automake.in (initialize_per_input): Initialize %object_map.
2032         (handle_single_transform_list): Allow source files in
2033         subdirectories.
2035 1999-03-21  Jim Meyering  <meyering@na-net.ornl.gov>
2037         * automake.in (handle_dist): Add missing newline after the first
2038         semicolon.
2040 1999-03-11  Tom Tromey  <tromey@cygnus.com>
2042         * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
2043         m4/strtod.m4: Use $ac_objext, not `.o'.  From Jim Meyering.
2045         From Jim Meyering:
2046         * automake.in (handle_dist): Add `;\' to end of distcheck-hook
2047         line.
2048         (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
2049         legitimate ending.  Fixes libobj9.test.
2051         From Ralf Corsepius.  Fixes lex3.test.
2052         * automake.in (lang_yacc_finish): Include `.' in name pushed onto
2053         maintainer-clean list.
2054         (lang_lex_finish): Likewise.
2056 1999-03-02  Tom Tromey  <tromey@cygnus.com>
2058         * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
2059         construct to work around FreeBSD make/sh problem.  From Rich Wales.
2061 1999-03-01  Tom Tromey  <tromey@cygnus.com>
2063         Fixes from Pavel Roskin:
2064         * automake.in (variable_conditions_sub): Sort list passed to
2065         variable_conditions_permutations.
2066         (variable_conditions): Sort list before returning.
2068 1999-02-27  Tom Tromey  <tromey@cygnus.com>
2070         * automake.in (lang_extensions): New sub.
2071         (handle_dependencies): Use it.
2072         (cxx_extensions): Removed.
2073         (lang_cxx_finish): Use lang_extensions.
2074         (f77_extensions): Removed.
2075         (lang_f77_finish): Use lang_extensions.
2076         (objc_extensions): Removed.
2077         (lang_ppf77_finish): Put `.' before extension.  Fixes ext.test.
2078         Report from Dave Morrison.
2079         (lang_ratfor_finish): Likewise.
2081 1999-02-26  Tom Tromey  <tromey@cygnus.com>
2083         * automake.in (finish_languages): Added AM_LDFLAGS.
2084         (lang_cxx_finish): Likewise.
2085         (lang_f77_finish): Likewise.
2086         (lang_ppf77_finish): Likewise.
2087         (lang_ratfor_finish): Likewise.
2088         (lang_objc_finish): Likewise.
2090 1999-02-11  Tom Tromey  <tromey@cygnus.com>
2092         * aclocal.in (obsolete_macros): Copied from automake.in.
2093         (obsolete_rx): Use only keys of obsolete_macros.
2094         (scan_configure): Report replacement macro for an obsolete macro.
2095         * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
2097         * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
2098         entry.  Fixes obsolete2.test.
2100         * automake.in (obsolete_macros): Use empty string to indicate no
2101         substitution.
2102         (scan_one_configure_file): Likewise.
2104 1999-02-07  Paul Eggert  <eggert@twinsun.com>
2106         * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
2107         -D_HPUX_SOURCE, since -Ae allows `long long' and this is
2108         needed by some programs.
2110 1999-02-10  Tom Tromey  <tromey@cygnus.com>
2112         * automake.in (handle_texinfo): Added `pgs' to list of
2113         extensions.  From NISHIDA Keisuke.
2115 1999-02-04  Akim Demaille  <demaille@inf.enst.fr>
2117         * automake.in (handle_texinfo): remove texinfo.tex from
2118         TEXINFODIR.
2120 1999-02-02  Tom Tromey  <tromey@cygnus.com>
2122         * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
2123         * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
2124         * header-vars.am (INSTALL_PROGRAM): Removed
2125         AM_INSTALL_PROGRAM_FLAGS.
2126         (INSTALL_STRIP_FLAG): New macro.
2128         * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
2129         lex source.
2130         (lang_yacc_finish): Likewise.
2131         (lang_lex_finish): Likewise.
2133 1999-02-01  Tom Tromey  <tromey@cygnus.com>
2135         * automake.in (handle_dist_worker): Correctly find find in $$d,
2136         not $$.  From Bill Davidson.
2138         * automake.in (finish_languages): Use "&", not "do".  From Pavel
2139         Roskin.
2140         (handle_single_transform_list): Likewise.
2142 1999-01-29  Tom Tromey  <tromey@cygnus.com>
2144         * automake.in (handle_configure): Removed unused variable.  From
2145         Pavel Roskin.
2147         * ansi2knr.c: New version from L. Peter Deutsch.
2149 1999-01-22  Tom Tromey  <tromey@cygnus.com>
2151         * automake.in (require_file_internal): Correctly examine return
2152         value of `system'.  From Andris Pavenis.  Fixes copy.test.
2154         * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2156         * automake.in (lang_ppf77_rewrite): New function.  From Jochen
2157         Kuepper.  Fixes ppf77.test.
2158         (lang_ratfor_rewrite): New function
2160         * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2161         fix).  From Erez Zadok.
2163 1999-01-15  Tom Tromey  <tromey@cygnus.com>
2165         * configure.in: Version 1.4a (oops).
2167         * configure.in: Updated version to 1.5a.
2169 1999-01-14  Tom Tromey  <tromey@cygnus.com>
2171         * automake.in (handle_configure): Compute $header_dir based on
2172         $one_name, not $one_hdr.  Reported by Erez Zadok.  Fixes
2173         confh2.test.
2174         (handle_configure): Compute relative path to input header
2175         correctly in all cases.
2177         * automake.in (handle_tests): Avoid error messages from dejagnu
2178         test rules.  From Karl Heuer.
2180         * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2182         * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2184         * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2185         From Alexandre Oliva and Erez Zadok.
2187         * automake.in (create): Renamed from touch.
2188         (handle_configure): Use create, not touch.
2190         * config.sub, config.guess: New versions from autoconf.
2192         * mkinstalldirs: New version from autoconf.
2194 1999-01-12  Tom Tromey  <tromey@cygnus.com>
2196         * config.sub, config.guess, COPYING, texinfo.tex: New versions
2197         from FSF.
2199 1999-01-11  Marcus G. Daniels  <mgd@chama.santafe.edu>
2201         * automake.in (PATH_PATTERN): New variable:
2202         (INCLUDE_PATTERN): Use it.  Ignore all include commands using
2203         symbols besides $(top_srcdir) and $(srcdir).
2205 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
2207         * automake.in (handle_dist_worker): avoid failure in `make dist'
2208         if last file is a builddir-only file
2210 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
2212         * missing (autoheader): `s' was missing from sed script; grr
2214 1999-01-11  Tom Tromey  <tromey@cygnus.com>
2216         * remake-hdr.am (@STAMP@): Reverted timestamp change.
2217         ($(srcdir)/@STAMP@.in): Likewise.
2219 1999-01-10  Tom Tromey  <tromey@cygnus.com>
2221         * Makefile.am (scriptdir): New macro.
2222         (script_DATA): Likewise.
2223         (install-data-hook): Use them.
2224         (EXTRA_DIST): Added script_DATA.
2225         (installcheck-local): Use script_DATA.
2227         * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2229 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
2231         * missing (autoheader): accept multiple header files
2232         (automake): simplify sed processing
2234 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
2236         * automake.in (handle_configure, stamp_dir): create only one stamp
2237         file per header, instead of one in the top-level directory and one
2238         in the directory that contains the header.
2240 1999-01-10  Tom Tromey  <tromey@cygnus.com>
2242         * automake.in (lang_objc_finish): Formatting fix.
2244         * automake.in (objc_extensions): New sub.
2245         (handle_dependencies): Only generate dependency-tracking code for
2246         ObjC when ObjC source seen.