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