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