1 Mon Oct 28 10:43:48 1996 Tom Tromey <tromey@cygnus.com>
3 * automake.in (handle_dependencies): Use -M, not -MM, for C++
6 Thu Oct 24 20:21:50 1996 Tom Tromey <tromey@cygnus.com>
8 * automake.in (check_libobjs_sources): New sub. Test
10 (handle_source_transform): Don't check for auto-discovered source
12 (handle_programs): Run check_libobjs_sources here.
13 (handle_libraries): Ditto.
15 * automake.in (define_configure_variable): New function.
16 (get_object_extension): Use define_configure_variable.
17 (handle_yacc_lex_cxx): Ditto.
18 (handle_emacs_lisp): Ditto.
19 (configure_vars): New global.
20 (AC_CHECK_PATTERN): New global.
21 (seen_ranlib, seen_prog_cc, seen_prog_cxx, seen_prog_lex):
23 (handle_yacc_lex_cxx): Use configure_vars, not seen_prog_*.
24 (AC_SUBST_PATTERN): New global.
25 (scan_configure): Use AC_SUBST_PATTERN; don't set seen_prog_*.
26 (handle_libraries): Don't use seen_ranlib.
27 (read_am_file): Run define_configure_variable on each discovered
30 Mon Oct 21 23:06:49 1996 Tom Tromey <tromey@cygnus.com>
32 * automake.in (scan_configure): Handle AM_INIT_GUILE_MODULE.
33 (handle_libraries): Pass configure substitutions directly on to
36 * automake.in (AM_PACKAGE_VERSION_PATTERN): New global.
37 (scan_configure): Use it. Test version.test.
39 Sun Oct 20 12:08:46 1996 Tom Tromey <tromey@cygnus.com>
41 * automake.in (handle_dist_worker): Explicitly pass distdir to
42 dist-hook make. From Tatu Ylonen.
44 * m4/strtod.m4: Use correct cache variable.
46 Thu Oct 17 13:45:20 1996 Tom Tromey <tromey@cygnus.com>
48 Lisp fixes from Erick Branderhorst:
49 * m4/lispdir.m4: Define lispdir, not LISPDIR.
50 * lisp.am: Added missing \.
52 Fri Oct 11 00:44:49 1996 Tom Tromey <tromey@cygnus.com>
54 * automake.in (handle_source_transform): Only rewrite c, yacc, lex
55 to use de-ansi-fication.
56 (scan_configure): Handle multi-line AC_REPLACE_FUNCS. Test
59 * automake.in (handle_lib_objects): Added $lex_seen argument.
60 Error if lex file used but LEXLIB not seen.
61 (handle_programs): Ditto.
62 (handle_yacc_lex_cxx): Define LEXLIB variable.
63 (handle_lib_objects): Don't allow LEXLIB to end up on dependency
66 Thu Oct 10 16:12:38 1996 Tom Tromey <tromey@cygnus.com>
68 * automake.in (handle_gettext): Moved check for SUBDIRS and
71 * automake.in (handle_configure): Run mkinstalldirs under
73 (handle_yacc_lex_cxx): Run interlock under $(SHELL).
75 * remake-subd.am (Makefile): Run config.status under $(SHELL).
76 * remake-hdr.am (stamp-h): Run config.status under $(SHELL).
77 * remake.am (Makefile): Run config.status under $(SHELL).
78 (config.status): Ditto.
80 * automake.in (read_am_file): Removed UNMAINT code.
81 (file_contents_with_transform): Ditto.
82 * m4/maintainer.m4: Removed bogus UNMAINT code.
84 * automake.in (handle_emacs_lisp): Define EMACS variable.
85 (handle_emacs_lisp): Make sure EMACS is in environment when
88 * elisp-comp: Exit with status 1 if usage bad.
89 Use "emacs -q". Use EMACS environment variable if set (unless set
92 * m4/lispdir.m4: Unset EMACS if it is set to `t'.
94 * automake.in (handle_dist_worker): Allow EXTRA_DIST items to be
96 (do_one_merge_target): Use all-am, not all, in subdirs case.
97 (handle_merge_targets): Always generate all-am in subdirs case.
99 * remake.am (Makefile): Depend on BUILT_SOURCES.
100 * remake-subd.am (Makefile): Depend on BUILT_SOURCES.
101 * depend.am (.deps/.P): Don't depend on BUILT_SOURCES.
103 * automake.in (handle_yacc_lex_cxx): Handle y.tab.h in non-ylwrap
106 * ylwrap: Bug fix. From Jim Meyering.
108 Wed Oct 9 22:51:16 1996 Tom Tromey <tromey@cygnus.com>
110 * m4/mktime.m4: Don't define AC_HEADER_SYS_TIME_H; instead just
111 check directly for header.
113 Mon Oct 7 13:08:15 1996 Tom Tromey <tromey@cygnus.com>
115 * automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX
118 Sun Oct 6 00:43:01 1996 Tom Tromey <tromey@cygnus.com>
120 * automake.in (AC_CONFIG_AUX_DIR_PATTERN): New global.
121 (AM_INIT_AUTOMAKE_PATTERN): New global.
122 (scan_configure): Use them.
124 * aclocal.in (add_file): Search contents of included files. Test
126 (scan_m4_files): Don't skip acinclude.m4 when constructing
127 search. Test acsilent.test.
128 (scan_m4_files): Scan acinclude.m4.
130 * aclocal.in (add_file): Removed debugging print.
131 (scan_configure): Set $file_contents when scanning acinclude.m4.
134 * configure.in: Upped to 1.1g.
138 * texinfos.am: Run : after install-info.
140 * aclocal.in (parse_arguments): Better error message.
141 * automake.in (parse_arguments): Better error message.
143 * remake.am (Makefile): Depend on $(srcdir)/Makefile.in, to work
144 around broken makes. From David A. Swierczek.
145 * remake-subd.am (Makefile): Ditto.
147 Sat Oct 5 11:29:48 1996 Tom Tromey <tromey@cygnus.com>
149 * automake.in (generate_makefile): Put BUILT_SOURCES onto @all if
151 (handle_source_transform): Error if discovered source file is
153 (do_one_merge_target): Move all-vs-check test here.
155 * m4/obstack.m4: New file.
156 * m4/error.m4: New file.
158 * automake.in (scan_configure): Support AM_FUNC_MKTIME,
159 AM_FUNC_ERROR_AT_LINE, AM_FUNC_OBSTACK.
161 * texinfo.tex: New version from texinfo 3.9.
163 * automake.in (handle_yacc_lex_cxx): Updated for new ylwrap.
164 Also, handle y.tab.h file when "yacc -d" is used.
165 (do_one_merge_target): Use pretty_print_rule.
167 * ylwrap: Changed usage.
169 * m4/mktime.m4: New file.
171 * m4: Renamed all .m4 files to fit into 14-char limits.
173 * m4/Makefile.am (EXTRA_DIST): New macro.
175 * aclocal.in ($ac_defun_rx, %map, %file_contents): New globals.
176 (scan_m4_files): Use $ac_defun_rx.
179 (scan_configure): Scan acinclude.m4 before anything else.
180 (scan_file): New sub.
181 (check_acinclude): New sub.
184 * progs-clean.am, progs.am: Renamed from programs-clean.am,
186 * libs-clean.am, libs.am: Renamed from libraries-clean.am,
188 * texi-vars: Renamed from texinfos-vars.am.
189 * comp-vars.am: Renamed from compile-vars.am.
190 * texi-vers.am: Renamed from texi-version.am.
192 * automake.in (require_file_internal): Give error if symlink can't
194 (require_config_file): Error message references configure.in.
195 (handle_yacc_lex_cxx): Fix order of arguments to ylwrap; from
196 Joerg-Martin Schwarz.
197 (handle_texinfo): Use texi-vers, not texi-version.
198 (get_object_extension): Use comp-vars, not compile-vars.
199 (handle_texinfo): Use texi-vars, not texinfos-vars.
200 (handle_libraries): Use `libs' prefix, not `libraries'.
201 (handle_programs): Use `progs' prefix, not `programs'.
203 Fri Oct 4 01:14:08 1996 Tom Tromey <tromey@cygnus.com>
205 * aclocal.in (scan_m4_files): New sub.
207 * m4/AM_FUNC_STRTOD.m4 (am_cv_func_strtod_needs_libm): Set
208 am_cv_func_strtod_needs_libm, so we can avoid linking with -lm
211 Thu Oct 3 20:11:16 1996 Tom Tromey <tromey@cygnus.com>
213 * texinfos.am (uninstall-info): Run install-info --remove.
215 * automake.in (read_am_file): Define all variables after reading
216 .am file. Test vpath.test. Reported by Anthony Green.
218 Mon Sep 30 08:31:51 1996 Tom Tromey <tromey@cygnus.com>
220 * texinfos.am: Run install-info.
222 * automake.in (variable_value_as_list): Just return if comment
223 seen. Report from Mark Galassi.
224 (handle_options): Don't bother with explicit comment checking.
226 Tue Sep 24 09:15:46 1996 Tom Tromey <tromey@creche.cygnus.com>
228 * automake.in (read_am_file): Cleaned up dejagnu variables.
230 Mon Sep 23 00:04:48 1996 Tom Tromey <tromey@creche.cygnus.com>
232 * automake.in (parse_arguments): New usage to conform to GNU
235 * aclocal.in (parse_arguments): New usage to conform to GNU
238 * automake.in (handle_scripts): Push new target onto @check.
239 * scripts.am (check-@DIR@SCRIPTS): New target.
241 * automake.in (initialize_global_constants): Define %dist,
242 dist_header, dist_trailer.
243 (handle_dist): Make dist-all target.
244 (generate_makefile): Run check_typos later.
245 (examine_variable): New sub.
246 (handle_tags): Examine TAGS_DEPENDENCIES. Test spell3.test.
247 Error if TAGS_DEPENDENCIES but no sources used.
248 (handle_configure): Examine CONFIGURE_DEPENDENCIES.
250 Sat Sep 21 13:59:15 1996 Tom Tromey <tromey@creche.cygnus.com>
252 * automake.in (am_install_var): More error checking.
254 Fri Sep 20 09:06:37 1996 Tom Tromey <tromey@creche.cygnus.com>
256 * tags.am (TAGS): Minor cleanup.
258 * clean.am (distclean-generic): Don't remove CONFIG_HEADER.
260 * remake-hdr.am (mostlyclean-hdr, clean-hdr, distclean-hdr,
261 maintainer-clean-hdr): New targets.
263 * automake.in (handle_configure): Define CONFIG_HEADER correctly
264 when it is in current directory.
265 (handle_configure): Push "hdr" on @clean.
267 * remake-hdr.am (stamp-h): Run config.status in top_builddir.
268 ($(srcdir)/stamp-h.in): Run autoheader in top_srcdir.
270 * automake.in (scan_configure): Check for install.sh here.
272 (handle_configure): Handle case where config.h is in subdir.
273 (handle_configure): Make stamp-in.h for user if it doesn't already
277 Tue Sep 17 23:35:14 1996 Tom Tromey <tromey@creche.cygnus.com>
279 * Makefile.am (EXTRA_DIST): Include pkgdata_DATA.
281 * dist-vars.am (DISTFILES): Don't distribute BUILT_SOURCES or
283 (DEP_DISTFILES): Ditto.
285 Mon Sep 16 22:28:56 1996 Tom Tromey <tromey@creche.cygnus.com>
287 * automake.in (check_typos): Renamed.
288 (check_typos): Check for _LDADD, _LIBADD, and _DEPENDENCIES.
289 (variable_defined): Note variable as being "seen".
290 (handle_lib_objects): Don't push configure substitutions onto
293 Sun Sep 15 22:45:43 1996 Tom Tromey <tromey@creche.cygnus.com>
295 * automake.in (initialize_per_input): Init content_seen.
296 (variable_value_as_list): Set content_seen entry.
297 (define_variable): Ditto.
298 (define_pretty_variable): Ditto.
299 (check_source_typos): New sub.
300 (generate_makefile): Call it.
302 Thu Sep 12 15:03:19 1996 Tom Tromey <tromey@creche.cygnus.com>
304 * automake.in (handle_source_transform): Removed extraneous
305 space. Test implicit.test.
306 (read_am_file): Make sure "canonical" variables are mentioned in
308 (scan_configure): AC_CHECK_TOOL sets $seen_canonical to
309 $AC_CANONICAL_HOST conditionally.
310 (handle_footer): Don't use define_pretty_variable in all cases.
312 Wed Sep 11 11:54:44 1996 Tom Tromey <tromey@creche.cygnus.com>
314 * clean.am (distclean-generic): Remove CONFIG_CLEAN_FILES here,
315 per GNU/Gnits standards.
317 * libraries.am (install-@DIR@LIBRARIES): Use two loops, so new
318 NORMAL_INSTALL and POST_INSTALL variables can work when empty.
320 * automake.in (handle_options): Rewrote version handling. Now
321 returns error indicator.
322 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Handle `:=' definitions.
323 (RULE_PATTERN): Exclude `:=' from being a rule.
325 * m4/AM_PROG_CC_STDC.m4 (ac_save_CC): Bug fix from Jim Meyering.
327 * automake.in (variable_value_as_list): Always use am_line_error.
328 (define_variable): New sub.
329 (get_object_extension): Use define_variable.
330 (handle_yacc_lex_cxx): Ditto.
331 (handle_source_transform): Ditto.
332 (handle_programs): Ditto.
333 (handle_libraries): Ditto.
334 (handle_texinfo): Ditto.
335 (handle_man_pages): Ditto.
336 (handle_dependencies): Ditto.
337 (handle_aclocal_m4): Ditto.
338 (define_pretty_variable): New sub.
339 (handle_source_transform): Use define_pretty_variable.
340 (handle_lib_objects): Ditto.
341 (handle_libraries): Ditto.
342 (handle_dist): Ditto.
343 (handle_dependencies): Ditto.
344 (handle_configure): Ditto.
345 (handle_footer): Ditto.
346 (handle_emacs_lisp): Ditto.
347 (am_install_var): Ditto.
349 * Released version 1.1e.
351 * automake.in ($GNITS_VERSION_PATTERN): Handle non-alpha
354 * configure.in: Version 1.1e.
356 * automake.in (handle_texinfo): Distribute .info file.
358 Sun Sep 8 09:00:37 1996 Tom Tromey <tromey@creche.cygnus.com>
360 * Makefile.am (EXTRA_DIST): New macro.
361 (maintainer-clean): Don't run "make check".
362 (pathchk): New target.
364 * automake.in (check_gnits_standards): Only check version number
366 ($package_version_line): New variable.
367 (scan_configure): Set it.
368 (check_gnits_standards): Use am_conf_line_error.
369 (scan_configure): Remove extraneous whitespace from version
371 (handle_dist): Handle distcheck-hook.
373 * m4/AM_PROG_CC_STDC.m4: Applied patch from Jim Meyering.
375 * automake.in (scan_configure): Handle AM_WITH_REGEX.
376 (handle_lib_objects): Require .h files in %libsources but don't
377 generate dependencies for them.
378 (scan_configure): Also require rx.h and regex.h.
380 * m4/Makefile.am (m4data_DATA): Don't include AM_PROG_LIBTOOL,
381 AM_FEATURE_CTYPE, AM_FEATURE_ERRNO, AM_FEATURE_EXIT,
384 * texi-version.am: Use "cp; rm" and not "mv", to work around
387 * automake.in ($package_version): New global.
388 (scan_configure): Set it.
389 (check_gnits_standards): Verify version string; require
390 README-alpha if alpha version.
391 (scan_configure): Recognize AM_FUNC_FNMATCH,
392 AM_REPLACE_GNU_GETOPT.
394 * Makefile.am (installcheck-local): Check all scripts.
396 Sat Sep 7 19:22:32 1996 Tom Tromey <tromey@creche.cygnus.com>
398 * tags-clean.am: Do deletions here again.
400 Thu Sep 5 09:06:23 1996 Tom Tromey <tromey@creche.cygnus.com>
402 * automake.in (usage): Include bug-reporting information.
403 (handle_lib_objects): Error if LIBOBJS seen but never set.
405 * aclocal.in ($acdir): Use @datadir@/aclocal.
406 (usage): Include bug-reporting information.
408 Wed Sep 4 11:36:06 1996 Tom Tromey <tromey@creche.cygnus.com>
410 * automake.in (handle_source_transform): .deps no longer in
412 (handle_lib_objects): Ditto.
413 (handle_dist_worker): Pass --build-dir to automake.
414 ($build_directory): New global.
415 (parse_arguments): Handle --build-dir.
416 (initialize_global_constants): Include --build-dir in help.
417 (scan_dependency_file): New sub.
418 (handle_dependencies): Use it. Also, use $build_directory.
419 (initialize_global_constants): Added --srcdir-name.
420 (parse_arguments): Ditto.
421 (handle_dist_worker): Ditto.
422 ($srcdir_name): New global.
423 ($srcdir_rx): New global.
424 (parse_arguments): Set it.
426 * depend2.am: Removed all mention of $(srcdir).
428 * depend.am (MKDEP): Use gcc -M, not gcc -MM.
429 Removed all mention of $(srcdir); dependencies now put into build
432 * depend2.am ($(srcdir)/.deps/%.P): Fixed computation of `top'.
433 Don't do work silently.
435 * automake.in (handle_merge_targets): Error if invalid uninstall
437 (read_am_file): Fix for test block.test.
439 Tue Sep 3 18:50:32 1996 Tom Tromey <tromey@creche.cygnus.com>
441 * texinfos.am (install-info): Added NORMAL_INSTALL.
442 * scripts.am (install-@DIR@SCRIPTS): Added NORMAL_INSTALL.
443 * programs.am (install-@DIR@PROGRAMS): Added NORMAL_INSTALL.
444 * lisp.am (install-@DIR@LISP): Added NORMAL_INSTALL.
445 * libraries.am (install-@DIR@LIBRARIES): Added NORMAL_INSTALL.
446 Also, use POST_INSTALL when running ranlib.
447 * header.am (install-@DIR@HEADERS): Added NORMAL_INSTALL.
448 * data.am (install-@DIR@DATA): Added NORMAL_INSTALL.
450 * automake.in (handle_man_pages): Added NORMAL_INSTALL invocation.
451 (handle_merge_targets): Ditto.
452 (handle_merge_targets): Error if PRE_INSTALL, POST_INSTALL, or
453 NORMAL_INSTALL defined.
455 * m4/AM_PROG_INSTALL.m4: INSTALL_SCRIPT defaults to
456 ${INSTALL_PROGRAM}. From François Pinard.
458 Tue Aug 27 08:25:05 1996 Tom Tromey <tromey@creche.cygnus.com>
460 * automake.in (file_contents_with_transform): Correctly remove
461 @(UN)?MAINT@ from input when maintainer mode not active.
462 (handle_aclocal_m4): Handle no-maintainer-mode case.
464 * remake-hdr.am ($(CONFIG_HEADER)): Removed @MAINT@.
466 * m4/AM_SANITY_CHECK_CC.m4: New file (from Jim Meyering).
468 Mon Aug 26 21:37:32 1996 Tom Tromey <tromey@creche.cygnus.com>
470 * automake.in (handle_lib_objects): Bug fix from Steve M Robbins.
471 (handle_libraries): Don't include libraries from EXTRA_LIBRARIES
472 in LIBFILES definition. Reported by Steve M Robbins. Test
475 * automake.in (variable_value_as_list): New sub.
476 (handle_source_transform): Use it.
477 (handle_lib_objects): Ditto.
478 (handle_libraries): Ditto.
479 (handle_texinfo): Ditto.
480 (handle_man_pages): Ditto.
481 (am_install_var): Ditto.
482 (handle_options): Ditto.
484 Sat Aug 24 09:30:46 1996 Tom Tromey <tromey@creche.cygnus.com>
486 Reported by Jim Meyering:
487 * automake.in (get_object_extension): Look in "./" for ansi2knr if
489 (handle_aclocal_m4): Protect aclocal.m4 rule with @MAINT@.
491 * remake.am (.PHONY): New target.
493 * m4/AM_MAINTAINER_MODE.m4: Also define UNMAINT.
495 * automake.in (check_gnu_standards): Disallow no-installman,
497 (read_am_file): Sed out UNMAINT too.
498 (file_contents_with_transform): Ditto.
500 * acinstall: New file.
502 * m4/AM_INIT_AUTOMAKE.m4: Define PACKAGE and VERSION.
504 * m4/AM_WITH_REGEX.m4: New version from François Pinard.
506 * m4/AM_TYPE_PTRDIFF_T.m4: Use am_cv, not ac_cv.
507 * m4/AM_C_PROTOTYPES.m4: Ditto.
508 * m4/AM_FUNC_STRTOD.m4: Ditto.
509 * m4/AM_PROG_CC_STDC.m4: Ditto.
510 * m4/AM_PROG_LIBTOOL.m4: Ditto.
512 Fri Aug 23 22:23:50 1996 Tom Tromey <tromey@creche.cygnus.com>
514 * m4/Makefile.am (m4datadir): New macro
515 (m4data_DATA): Renamed.
517 * Makefile.am (cvs-dist): Depend on distcheck target.
519 Mon Aug 19 15:37:32 1996 Tom Tromey <tromey@creche.cygnus.com>
521 * automake.in (initialize_global_constants): [common_files]
522 Include acinclude.m4.
524 * m4/AM_PROG_CC_STDC.m4: Patch from Jim Meyering/Kaveh Ghazi.
526 Sat Aug 17 11:27:14 1996 Tom Tromey <tromey@creche.cygnus.com>
528 * automake.in (handle_dependencies): Push `depend'-clean targets
530 * depend.am (mostlyclean-depend, clean-depend, distclean-depend,
531 maintainer-clean-depend): New targets.
533 Tue Aug 13 17:53:58 1996 Tom Tromey <tromey@creche.cygnus.com>
535 * texinfos.am (.texinfo.info): New target.
536 (.texinfo.dvi): New target.
539 * automake.in (handle_texinfo): Use `.info[-0-9]*' as pattern to
541 (handle_texinfo): Handle `.texinfo' files.
543 Mon Aug 12 10:28:46 1996 Tom Tromey <tromey@creche.cygnus.com>
545 * automake.in (require_file_internal): Special-case `.' when
546 finding files to distribute. Test libobj2.test.
548 * aclocal.in (add_file): Fixed regexp for matching AC_DEFUN. Test
551 * m4/AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.m4: New file.
552 * m4/AM_SYS_POSIX_TERMIOS.m4: New file.
554 * compile-kr.am: Removed duplicate ansi2knr rules.
556 Sun Aug 11 00:20:16 1996 Tom Tromey <tromey@creche.cygnus.com>
558 * automake.in (handle_yacc_lex_cxx): Bug fix from Josh MacDonald.
559 (handle_yacc_lex_cxx): Put C++ extensions on suffix list.
562 * automake.in (initialize_global_constants): [common_files]
563 Include interlock and ylwrap.
565 * Released version 1.1c.
567 * aclocal.in (obsolete_macros): md_TYPE_PTRDIFF_T and
568 ud_PATH_LISPDIR are obsolete names.
570 * m4/AM_LC_MESSAGES.m4, m4/AM_WITH_NLS.m4, m4/AM_GNU_GETTEXT.m4:
573 * automake.in (handle_lib_objects): Changed interface. Now
574 generates _DEPENDENCIES variable if appropriate.
575 (handle_emacs_lisp): Use AM_PATH_LISPDIR.
576 (scan_configure): Ditto.
578 * Makefile.am (CLEANFILES): Removed.
580 * automake.in (handle_configure): Define CONFIG_CLEAN_FILES.
582 * clean.am (clean-generic): Remove $(CONFIG_CLEAN_FILES).
584 * compile-vars.am (CC, CFLAGS, COMPILE, LINK): Removed.
586 * automake.in (handle_yacc_lex_cxx): Require ylwrap in
588 (handle_source_transform): Changed return result.
589 (handle_programs): Use linker returned by
590 handle_source_transform.
591 (seen_prog_cc, seen_prog_cxx): New globals.
592 (scan_configure): Recognize AC_PROG_CC and AC_PROG_CXX.
593 (handle_yacc_lex_cxx): Error message if AC_PROG_CXX or
594 AC_PROG_YACC missing.
595 (seen_decl_yytext, seen_prog_lex): New globals.
596 (scan_configure): Set them.
597 (handle_yacc_lex_cxx): Warn about missing AC_PROG_LEX or
599 (handle_yacc_lex_cxx): Use $(LEX_OUTPUT_ROOT).
600 (initialize_per_input): Initialize seen_c_source.
601 (handle_yacc_lex_cxx): Define CC, CFLAGS, COMPILE, LINK only when
603 (handle_source_transform): Set seen_c_source.
605 * interlock: Changed usage.
609 * automake.in (handle_yacc_lex_cxx): Renamed.
611 * automake.in (handle_dependencies): Handle %cxx_extensions.
612 Include depend2.am when appropriate.
614 * depend2.am: New file; contents from depend.am but templatized.
616 * automake.in (initialize_per_input): Initialize
618 (handle_source_transform): Set %cxx_extensions.
620 Sat Aug 10 10:29:30 1996 Tom Tromey <tromey@creche.cygnus.com>
622 * interlock: New file.
624 * automake.in (handle_yacc_lex): New sub.
625 (handle_source_transform): Removed most yacc/lex handling.
626 (initialize_per_input): Init yacc_sources, lex_sources.
627 (generate_makefile): Run handle_yacc_lex.
628 (handle_merge_targets): Use `scalar' and not $# to find length of
631 * m4/AM_FEATURE_EXIT.m4: Wrote.
632 * m4/AM_FEATURE_CTYPE.m4: Wrote.
633 * m4/AM_FEATURE_ERRNO.m4: Wrote.
635 * aclocal.in (macro_seen): New global.
636 (add_file): Set macro_seen entry. Only push required macro on
637 @rlist if not already seen. Test defun.test.
639 * automake.in (get_object_extension): Handle directory prefix on
642 * kr-extra.am: New file.
644 * kr-vars.am: Removed.
646 * automake.in (handle_options): Handle directory prefix on
649 * automake.in (scan_configure): Recognize AM_FUNC_STRTOD.
651 * aclocal.in (add_file): Error if macro is duplicated. Test
654 Fri Aug 9 09:18:46 1996 Tom Tromey <tromey@creche.cygnus.com>
656 * automake.in (handle_programs): Substitute @XLINK@. Make sure
657 linker variable is transformed name.
658 * program.am (@PROGRAM@): Use @XLINK@ to link.
660 * automake.in (handle_scripts): Fixed call to
662 (handle_libraries): Better error message when AC_PROG_RANLIB
665 * automake.in (handle_libraries): Canonicalize library name. Test
667 * library.am (lib@LIBRARY@.a): Use @XLIBRARY@ where appropriate.
668 (lib@LIBRARY@.a): Look at _DEPENDENCIES variable.
670 Thu Aug 8 10:57:21 1996 Tom Tromey <tromey@creche.cygnus.com>
672 * automake.in (handle_scripts): Correctly compute
673 $scripts_installed. Test scripts.test.
675 Wed Aug 7 12:13:15 1996 Tom Tromey <tromey@creche.cygnus.com>
677 * ansi2knr.c: New version.
679 Tue Aug 6 10:58:37 1996 Tom Tromey <tromey@creche.cygnus.com>
681 * automake.in (handle_source_transform): Handle more C++ file
682 extensions. "Handle" Objective C. Handle more FORTRAN
685 * compile-vars.am (LEX): Removed.
688 * automake.in (handle_source_transform): Correctly handle lex
689 source. Test lex.test.
690 (handle_source_transform): Skip more C++ headers. Generate macro
691 definitions for YACC and LEX on first use.
693 * aclocal.in (parse_arguments): Mention GNU.
694 * automake.in (parse_arguments): Mention GNU.
696 Mon Aug 5 00:12:45 1996 Tom Tromey <tromey@creche.cygnus.com>
698 * automake.in (handle_programs): Define program_LINK.
699 * program.am (@PROGRAM@): Use program_LINK to link.
701 * Released version 1.1b
703 * automake.in (scan_configure): AM_INIT_AUTOMAKE sets
704 seen_prog_install to `2'.
706 * configure.in: Don't run AM_PROG_INSTALL.
708 * automake.in (parse_arguments): Use $PACKAGE.
709 ($PACKAGE): New global.
710 ($am_c_prototypes): Renamed.
711 (get_object_extension): Use am_c_prototypes.
712 (scan_configure): Ditto.
713 (scan_configure): Use AM_MAINTAINER_MODE.
714 (scan_configure): Warn about obsolete macros.
716 * aclocal.in (parse_arguments): Use $PACKAGE.
717 ($PACKAGE): New global.
719 * Makefile.am (CLEANFILES): Added aclocal.
720 (ETAGS_ARGS): Added aclocal.in.
721 (TAGS_DEPENDENCIES): Ditto.
722 (maintainer-check): Depend on aclocal.
723 (maintainer-check): Check aclocal.
724 (bin_SCRIPTS): Include aclocal.
726 * automake.in (scan_configure): Handle AM_INIT_AUTOMAKE.
727 (scan_configure): Use AM_PROG_INSTALL.
729 * configure.in: Use AM_INIT_AUTOMAKE.
731 * automake.in (keyed_aclocal_warning): Warning tells about
733 (handle_aclocal_m4): New sub.
734 (handle_configure): Use it.
736 * aclocal.in (output_file): New global.
737 (usage): Handle --output.
738 (parse_arguments): Handle --output.
740 * m4/AM_INIT_AUTOMAKE.m4: New file.
742 * m4/AM_PROG_CC_STDC.m4: Require AC_PROG_CC.
745 * automake.in (handle_dist_worker): Reverted erroneous "-chmod".
746 (handle_texinfo): Don't generate `.info-[0-9]' as a filename.
748 * texinfos.am (.texi.info): Force .info file to be built in
749 srcdir. From Franc,ois Pinard.
752 * m4/AM_PROG_CC_STDC.m4: (fp_PROG_CC_STDC): Include sys/stat.h in
753 test program so that DYNIX/ptx V4.1.3 doesn't use `-Xc
754 -D__EXTENSIONS__' -- with those options on that system, sys/stat.h
755 gets compile errors. With help from Marcus Daniels.
757 * automake.in (initialize_global_constants): Put elisp-comp into
758 @common_files. Bug from Glenn Amerine.
760 Sun Aug 4 12:52:43 1996 Tom Tromey <tromey@creche.cygnus.com>
762 * automake.in (handle_dist_worker): Use fgrep, not grep.
764 * m4/AM_C_PROTOTYPES.m4: Changes from François Pinard.
766 * automake.in (handle_emacs_lisp): Include lisp-clean.am in
768 (initialize_global_constants): [install_man_format] Don't hide
769 "ugliness" at install time.
771 * lisp-clean.am: New file.
773 * tags-clean.am (maintainer-clean-tags): Remove TAGS and ID here.
775 * automake.in (handle_man_pages): Patch from Janos Farkas to fix
776 bug when installing man pages. Test man.test.
777 (initialize_global_constants): [install_man_format] Make sure man
778 page can actually be found in either source or build dirs.
779 (handle_dist_worker): Use "755" permissions on distdir.
781 * automake.in (handle_dist): Allow chmod's to fail.
782 (am_primary_prefixes): New function.
783 (am_install_var): Use it.
784 (handle_libraries): Use it. Test libfiles.test.
785 (handle_dist): For dist-tarZ, assume traditional "tar" and
788 * m4/AM_FUNC_STRTOD.m4: New file.
790 * automake.in (handle_dist): Only generate `distdir' variable if
791 it doesn't already exist.
793 Fix for bug reported by Harlan Stenn. Test tags.test.
794 * automake.in (initialize_per_input): Define dir_holds_sources.
795 (handle_tags): Check dir_holds_headers.
796 (handle_headers): Set dir_holds_headers.
798 * automake.in (handle_texinfo): Generate "version.texi" dependency
799 for .dvi file. Bug reported by Glenn Amerine. Test vtexi2.test.
801 * automake.in (handle_configure): Require file $input, not
802 "$local.in". From Nyul Laszlo. Test colon.test.
804 Sun Jul 28 11:14:52 1996 Tom Tromey <tromey@creche.cygnus.com>
806 * aclocal.in: New file.
807 * configure.in: Generate m4/Makefile, aclocal.
808 * Makefile.am (SUBDIRS): Include m4.
809 * m4/Makefile.am: New file.
811 Fri Jul 19 10:12:27 1996 Tom Tromey <tromey@creche.cygnus.com>
813 * automake.in (initialize_global_constants): Put ansi2knr.c and
814 ansi2knr.1 into common_files. Bug report from François Pinard.
816 Mon Jul 15 10:28:29 1996 Tom Tromey <tromey@creche.cygnus.com>
818 * install-sh: Updated copyright notice.
820 Fri Jul 5 08:23:00 1996 Tom Tromey <tromey@creche.cygnus.com>
822 * subdirs.am (maintainer-clean-recursive): Don't be so noisy.
823 Report from Josh MacDonald.
825 Bugs from Gord Matzigkeit:
826 * automake.in (handle_footer): Push contents of $(SUFFIXES), not
828 (handle_dist): Ignore chmod return results.
830 * programs-clean.am (clean-@DIR@PROGRAMS): Work around failing
831 Solaris "rm -f". Bug from Kaveh R. Ghazi.
832 * libraries-clean.am (clean-@DIR@LIBRARIES): Likewise.
834 Fri Jun 21 10:42:06 1996 Tom Tromey <tromey@creche.cygnus.com>
836 * texinfos.am (install-info): Use "if", not "&&", to avoid
837 install problem when glob doesn't match.
839 * automake.in (initialize_global_constants): [USAGE] Added
841 (force_generation): New global.
842 (parse_arguments): Handle --no-force.
843 (generate_makefile): Handle --no-force.
845 * Makefile.am (maintainer-check): Ensure all invocations of
846 mkinstalldirs are correct.
848 Tue Jun 18 10:53:54 1996 Tom Tromey <tromey@creche.cygnus.com>
850 * automake.in (handle_tests): Don't directly generate site.exp.
852 Sun Jun 16 22:21:16 1996 Harlan Stenn <harlan@brown.pfcs.com>
854 * automake.in: Treat an initial `#' on a word in AUTOMAKE_OPTIONS
855 as a comment start. Add support for a dist-tarZ target.
857 Tue Jun 11 22:14:21 1996 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
859 * depend.am ($(srcdir)/.deps/%.P): Convert absolute $(top_srcdir)
860 paths into relative paths.
862 Mon Jun 10 21:11:20 1996 Tom Tromey <tromey@creche.cygnus.com>
864 * texinfo.tex: New version.
866 * automake.in: Look for AM_PROG_LIBTOOL. From Gord Matzigkeit.
867 (initialize_global_constants): Added libtool to
869 (handle_source_transform): Pass YFLAGS to yacc and LFLAGS to lex.
871 Sun Jun 9 17:45:48 1996 Tom Tromey <tromey@creche.cygnus.com>
873 * texinfos.am (install-info): Don't install ~ files. Bug report
875 * automake.in (handle_texinfo): Don't push '.info*' onto
878 * automake.in (handle_gettext): Ensure po and intl in SUBDIRS when
880 (handle_dist): Pass --with-included-gettext to configure if using
883 * compile-kr.am (._c._o): Pass -c to $(COMPILE).
885 * compile.am (.c.o): Pass -c to $(COMPILE).
886 * compile-vars.am (COMPILE): Don't include -c.
888 * remake.am ($(srcdir)/Makefile.in): Pass --strictness to
890 * automake.in (handle_configure): Supply --strictness arg to
893 Fri Jun 7 12:31:31 1996 Tom Tromey <tromey@creche.cygnus.com>
895 * automake.in (handle_tests): Fix quoting on `pwd`.
896 (handle_options): Recognize no-installinfo option.
897 (handle_man_pages): Don't put man directory on @installdirs if
898 no-installman is specified.
899 (handle_texinfo): Handle no-installinfo option.
900 (handle_options): Compare version against $num_version, not
902 (handle_source_transform): Generate rules for output of lex,
903 yacc. Bug report from Thomas Morgan. Test yacc.test.
904 (handle_dist): "distcheck" now runs "make dvi".
905 (handle_tests): Support $(TESTS_ENVIRONMENT). Idea from Ulrich
908 * dejagnu.am (check-DEJAGNU): Depend on site.exp.
910 Sun Jun 2 10:33:10 1996 Tom Tromey <tromey@creche.cygnus.com>
912 * automake.in (handle_emacs_lisp): New function.
913 (initialize_global_constants): Added elisp-comp to
915 (seen_lispdir): New global.
916 (scan_configure): Handle ud_PATH_LISPDIR.
918 * elisp-comp: New file.
922 * automake.in (generate_makefile): Run handle_emacs_lisp.
924 * aclocal.m4 (ud_PATH_LISPDIR): New macro, from Ulrich Drepper.
926 * automake.in (initialize_global_constants): Removed version.texi
927 from common_sometimes.
928 (initialize_global_constants): Added texinfo.tex to common_files.
930 (handle_tests): Allow dejagnu- and automake-style test suites to
931 coexist. Test dejagnu.test.
932 (initialize_global_constants): New constants AC_CANONICAL_HOST,
934 (scan_configure): Use new constants.
935 (handle_tests): Put target specific information into site.exp if
937 (read_am_file): Generate some extra variables when AC_CANONICAL_*
939 (handle_options): Allow version number to have letters appended.
940 (handle_tests): Error if RUNTEST, RUNTESTFLAGS defined but dejagnu
942 (initialize_global_constants): install_man_format changed to
943 handle built man pages.
945 Wed May 29 10:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
947 * config.guess, config.sub: New versions.
949 Tue May 28 19:27:11 1996 Tom Tromey <tromey@creche.cygnus.com>
951 * configure.in (VERSION): Upped to 1.0.
953 Sat May 25 10:19:53 1996 Tom Tromey <tromey@creche.cygnus.com>
955 * automake.in (handle_tests): Handle dejagnu.
956 (handle_options): Recognize dejagnu option.
958 * dejagnu.am: New file.
960 Thu May 23 10:01:13 1996 Tom Tromey <tromey@creche.cygnus.com>
962 * automake.in (handle_dist): Run installcheck target from
965 * configure.in (VERSION): Upped to 0.34.
967 * automake.in (scan_configure): Always allow upgrading to
968 fp_PROG_INSTALL. Test fpinstall.test.
970 Wed May 22 14:45:28 1996 Joshua Cowan <jcowan@hermit.reslife.okstate.edu>
972 (handle_dist): Make `distcheck' check `install' target, too.
974 Wed May 22 09:49:27 1996 Tom Tromey <tromey@creche.cygnus.com>
976 * automake.in (initialize_per_input): Don't initialize
977 $output_directory here; initialize it globally. From Joshua
978 Cowan. Test outdir.test.
980 Sat May 18 10:57:40 1996 Tom Tromey <tromey@creche.cygnus.com>
982 * automake.in (handle_tests): Don't push TESTS onto dist_common.
983 (initialize_global_constants): Put install-sh and mkinstalldirs
984 into @common_files. Test insh2.test.
986 Fri May 17 09:02:02 1996 Tom Tromey <tromey@creche.cygnus.com>
988 * automake.in (handle_source_transform): Don't generate _OBJECTS
989 when no source files specified. Test number.test.
991 From Joerg-Martin Schwarz:
992 * automake.in (seen_package, seen_version): New globals.
993 (scan_configure): Look for PACKAGE= and VERSION=.
995 * automake.in (handle_options): Recognize dist-zip.
996 (handle_dist): Handle dist-zip.
997 (handle_options): Use ' ', not \s+, with split. Test
999 (handle_source_transform): Likewise.
1000 (handle_lib_objects): Likewise.
1001 (handle_libraries): Likewise.
1002 (handle_texinfo): Likewise.
1003 (handle_man_pages): Likewise.
1004 (handle_subdirs): Likewise.
1005 (handle_gettext): Likewise.
1006 (handle_footer): Likewise.
1007 (handle_tests): Likewise.
1008 (scan_configure): Likewise.
1009 (am_install_var): Likewise.
1011 * Makefile.am (TAGS_DEPENDENCIES): New macro.
1013 * tags.am (tags-recursive): New target.
1014 (TAGS): Depend on it.
1016 * automake.in (handle_tags): Put tags-recursive on @phony.
1018 * tags-subd.am (TAGS): Depend on HEADERS, SOURCES,
1020 * tags.am (TAGS): Depend on HEADERS, SOURCES, TAGS_DEPENDENCIES.
1022 Thu May 16 09:21:48 1996 Tom Tromey <tromey@creche.cygnus.com>
1024 * remake.am (configure): Depend on $(CONFIGURE_DEPENDENCIES).
1026 * automake.in (scan_configure): Look for install-sh and
1028 (initialize_global_constants): Moved mdate-sh from
1029 common_sometimes to common_files. Test mdate2.test.
1031 Tue May 14 21:52:01 1996 Tom Tromey <tromey@creche.cygnus.com>
1033 * automake.in (seen_maint_mode): New global.
1034 (scan_configure): Handle jm_MAINTAINER_MODE.
1035 (read_am_file): Handle seen_maint_mode.
1036 (file_contents_with_transform): Handle seen_maint_mode.
1037 (handle_source_transform): Changed interface, all callers.
1040 * remake-hdr.am, remake-subd.am, remake.am, texi-version.am:
1042 * aclocal.m4 (jm_MAINTAINER_MODE): New macro.
1044 * automake.in (handle_configure): Check $config_aux_dir against
1045 empty string. From Markku Rossi. Test mkinstall.test.
1047 Fri May 10 14:38:47 1996 Gord Matzigkeit <gord@gnu.ai.mit.edu>
1049 * automake.in (distcheck): Added new rule to top level
1052 Wed May 8 21:57:21 1996 Gord Matzigkeit <gord@gnu.ai.mit.edu>
1054 * automake.in (scan_configure): Make sure that gm_PROG_LIBTOOL
1056 (generate_makefile): libtool, config.sub, and config.guess should
1057 only ever appear in the top directory of a package.
1059 Tue May 14 10:24:30 1996 Tom Tromey <tromey@creche.cygnus.com>
1061 * automake.in (initialize_global_constants): Added libversion.in
1064 * configure.in (VERSION): Upped to 0.33.
1066 * automake.in (am_install_var): Fixed problem in EXTRA_ handling.
1069 Mon May 13 10:41:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1071 * install-sh (transformbasename): Correct misspelling of
1072 transformbasename. From Ian Lance Taylor.
1074 Sat Apr 27 11:39:10 1996 Tom Tromey <tromey@creche.cygnus.com>
1076 * automake.in (handle_configure): Set mkinstalldirs variable
1078 (handle_dist_worker): Explicitly set distdir in subdir makes.
1079 (handle_dist): Handle separate distdir target.
1080 (handle_dist_worker): Only generate distdir target.
1082 * texinfos.am (install-info): Use $(mkinstalldirs).
1083 * scripts.am (install-@DIR@SCRIPTS): Use $(mkinstalldirs).
1084 * programs.am (install-@DIR@PROGRAMS): Use $(mkinstalldirs).
1085 * libraries.am (install-@DIR@LIBRARIES): Use $(mkinstalldirs).
1086 * header.am (install-@DIR@HEADERS): Use $(mkinstalldirs).
1087 * data.am (install-@DIR@DATA): Use $(mkinstalldirs).
1089 * automake.in (read_am_file): Set mkinstalldirs variable.
1090 (handle_man_pages): Use it.
1091 (handle_installdirs): Ditto.
1093 Fri Apr 26 15:10:48 1996 Tom Tromey <tromey@creche.cygnus.com>
1095 * automake.in (handle_man_pages): Fix mkinstalldirs invocation.
1097 Thu Apr 25 18:40:06 1996 Tom Tromey <tromey@creche.cygnus.com>
1099 * automake.in (handle_dist_worker): Use $(TAR), not tar.
1100 (handle_merge_targets): Make sure config header is built before
1101 recursing into subdirs.
1102 (handle_libraries): Generate LIBFILES for check_LIBRARIES.
1103 (handle_merge_targets): Handle case where nothing is installed but
1104 something must be built -- "make install" must still work.
1106 * dist-vars.am (TAR): New macro.
1108 * automake.in (scan_configure): Support AC_REPLACE_GNU_GETOPT.
1109 (handle_configure): Require stamp-h.in when config header used.
1111 Tue Apr 23 17:57:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1113 * doc/mdate-sh: Extract the last field from the date output, not
1114 the sixth, which will fail when the timezone name has more than
1115 one word or is missing.
1117 Wed Apr 24 20:29:26 1996 Tom Tromey <tromey@creche.cygnus.com>
1119 * automake.in (am_install_var): Use delete, not undef, to remove
1120 EXTRA entry. From Gord Matzigkeit.
1122 Mon Apr 22 17:48:50 1996 Tom Tromey <tromey@creche.cygnus.com>
1124 * automake.in (read_am_file): Handle case where last line doesn't
1127 Tue Apr 9 22:53:16 1996 Tom Tromey <tromey@creche.cygnus.com>
1129 * automake.in (variable_defined): New function.
1130 (read_am_file): Ensure a blank line comes before starting comments
1132 (initialize_per_input): Initialize %targets.
1133 (read_am_file): Set appropriate entry in %targets.
1134 Many changes to use variable_defined.
1135 (check_gnu_standards): Only require ChangeLog at top level. From
1137 (handle_tests): check-TESTS depends on $(TESTS). From Gord
1140 Mon Apr 8 22:51:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1142 * automake.in (parse_arguments): Added short options.
1143 (initialize_global_constants): Ditto.
1145 Fri Apr 5 00:22:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1147 * mkinstalldirs (errstatus): Don't necessarily die if mkdir
1150 * automake.in (handle_source_transform): Typo fix.
1152 Thu Apr 4 15:10:50 1996 Tom Tromey <tromey@creche.cygnus.com>
1154 * automake.in (handle_dist_worker): Renamed dist-local to
1156 (handle_merge_targets): Added install-data-hook and
1158 (handle_source_transform): Handle EXTRA_prog_SOURCES form.
1160 * automake.in (handle_scripts): Never allow scripts_installed to
1163 * scripts.am (install-@DIR@SCRIPTS): Scripts can be found in
1166 * automake.in (generate_makefile): Derived file names from given
1167 input; don't assume Makefile.in and Makefile.am.
1168 (am_file_name, in_file_name): New globals.
1169 (read_am_file): Use them.
1171 * program.am (@PROGRAM@): Use transformed program name.
1173 * remake-hdr.am (stamp-h): Actually touch stamp-h.
1175 Wed Apr 3 15:16:06 1996 Tom Tromey <tromey@creche.cygnus.com>
1177 * automake.in (require_file_internal): Use correct file for error
1178 messages. Test insh.test.
1180 Mon Apr 1 09:47:44 1996 Tom Tromey <tromey@creche.cygnus.com>
1182 * texinfos.am (.texi.info): Build output file in srcdir.
1184 * automake.in (require_file_internal): If $dir is ".",then look in
1186 (handle_texinfo): Canonicalize name of texi file before looking
1187 for dependency variable.
1189 Thu Mar 28 08:33:21 1996 Tom Tromey <tromey@creche.cygnus.com>
1191 * automake.in (require_conf_file_with_conf_line): Yet another
1192 function of this form.
1193 (libtool_line): New variable.
1194 (handle_libraries): Handle libtool.
1196 * libraries-vars.am: Removed.
1198 * automake.in (seen_libtool): New variable.
1199 (scan_configure): Look for gm_PROG_LIBTOOL or AC_PROG_LIBTOOL.
1201 * automake.in (handle_dist_worker): Handle dist-local.
1203 * Makefile.am (maintainer-check): Do "make check" after all syntax
1206 * texi-version.am (stamp-@VTI@): Look for mdate-sh in appropriate
1209 * automake.in ($seen_arg_prog): New global.
1210 (handle_programs): Error if AC_ARG_PROGRAM not seen.
1211 (handle_scripts): Ditto.
1212 (handle_configure): mkinstalldirs now a config file.
1213 (handle_installdirs): Find mkinstalldirs in config_aux_dir.
1214 (handle_dist_worker): Removed DIST_SUBDIRS.
1215 (require_file_path): New variable.
1216 (require_file_with_conf_line): Set it.
1217 (require_file_with_line): Ditto.
1218 (require_file): Ditto.
1219 (require_file_internal): Incorporated code from
1220 require_config_file.
1221 (require_config_file): Rewrote.
1222 (require_conf_file_with_line): New function.
1223 (handle_texinfo): Use it for mdate-sh.
1224 (handle_texinfo): Look for mdate-sh in appropriate directory.
1226 Tue Mar 26 13:47:54 1996 Tom Tromey <tromey@creche.cygnus.com>
1228 * Makefile.am (cvs-dist): Find NEWS in srcdir.
1229 * automake.in (handle_dist_worker): Find NEWS in srcdir.
1230 ($RULE_PATTERN): Include chars "$(){}/" in allowable patterns in a
1232 (require_config_file): Set config_aux_path when file found.
1233 ($config_aux_dir): New variable.
1234 (require_config_file): Set it.
1235 (handle_man_pages): Find mkinstalldirs in config_aux_dir.
1237 Mon Mar 25 15:32:57 1996 Tom Tromey <tromey@creche.cygnus.com>
1239 * data.am (install-@DIR@DATA): Also allow data to be in build
1242 Sun Mar 24 19:56:28 1996 Tom Tromey <tromey@creche.cygnus.com>
1244 * automake.in (am_install_var): Don't look in EXTRA_primary
1245 variable any more; it is handled in the main loop.
1247 Wed Mar 20 16:22:35 1996 Tom Tromey <tromey@creche.cygnus.com>
1249 * data.am (install-@DIR@DATA): Find data in srcdir.
1251 Fri Mar 15 18:30:31 1996 Tom Tromey <tromey@creche.cygnus.com>
1253 * automake.in (require_config_file): Use correct filename when
1254 looking for errors. Also, install file in `.' if not found. Bug
1255 reported by Gord Matzigkeit. Test installsh.test.
1257 Thu Mar 14 09:28:21 1996 Tom Tromey <tromey@creche.cygnus.com>
1259 * Makefile.am (cvs-diff): New target.
1261 Fix for bug when install var substitutes empty. Test empty.test.
1262 * header.am (install-@DIR@HEADERS): Allow empty list of headers.
1263 (uninstall-@DIR@HEADERS): Ditto.
1264 * scripts.am (install-@DIR@SCRIPTS): Allow empty list of scripts.
1265 (uninstall-@DIR@SCRIPTS): Ditto.
1266 * libraries.am (install-@DIR@LIBRARIES): Allow empty list of
1268 (uninstall-@DIR@LIBRARIES): Ditto.
1269 * data.am (install-@DIR@DATA): Allow empty list of data.
1270 (uninstall-@DIR@DATA): Ditto.
1271 * programs.am (install-@DIR@PROGRAMS): Added missing semicolon.
1272 From François Pinard.
1273 (install-@DIR@PROGRAMS): Fixed bug when list of programs empty.
1274 (uninstall-@DIR@PROGRAMS): Ditto.
1276 Wed Mar 13 19:50:23 1996 Tom Tromey <tromey@creche.cygnus.com>
1278 * tags-subd.am (ID): Name of ID file must be flush against -f.
1280 * configure.in (VERSION): Version 0.32.
1282 Mon Mar 11 17:50:58 1996 Tom Tromey <tromey@creche.cygnus.com>
1284 * automake.in (seen_linguas, all_linguas_line): New variables.
1285 (handle_gettext): New function.
1286 (generate_makefile): Run it.
1287 (scan_configure): Recognize ALL_LINGUAS.
1289 Mon Mar 11 14:34:36 1996 Gord Matzigkeit <gord@enci.ucalgary.ca>
1291 * automake.texi: doc fix.
1293 * automake.in (am_install_var): Added support for check and
1294 installcheck special prefixes.
1296 Sun Mar 10 10:44:42 1996 Tom Tromey <tromey@creche.cygnus.com>
1298 * automake.in (handle_subdirs): Don't do SUBDIRS check for
1301 Tue Mar 5 18:12:04 1996 Tom Tromey <tromey@creche.cygnus.com>
1303 * automake.in (OBJECT_PATTERN): Removed.
1304 (am_install_var): No error if name is invalid.
1305 (handle_programs): Canonicalize program names.
1306 (BOGUS_MACRO_PATTERN): New variable.
1307 (read_am_file): Error if bad macro name given.
1308 (require_file_internal): Use am_line_error, not am_conf_error.
1310 * program.am (@PROGRAM@): Recognize @PROGRAM@_DEPENDENCIES.
1312 Mon Mar 4 19:30:24 1996 Tom Tromey <tromey@creche.cygnus.com>
1314 * automake.in (handle_lib_objects): New function.
1315 (handle_libraries): Use it.
1316 (handle_programs): Ditto.
1317 (handle_dist_worker): Deprecate DIST_SUBDIRS.
1318 (am_install_var): Allow extended directory mechanism to work.
1321 * dist-vars.am (DISTFILES): Use EXTRA_DIST.
1322 (DEP_DISTFILES): Ditto.
1324 * automake.in (OBJECT_PATTERN): New variable.
1325 (am_install_var): Use it.
1326 (handle_dist): DIST_OTHER is an anachronism.
1328 Sat Mar 2 17:04:38 1996 Tom Tromey <tromey@creche.cygnus.com>
1330 * automake.in (handle_dist_worker): Only cause Automake to be
1331 re-run if not making a distribution. Fixes bug reported by
1332 Joerg-Martin Schwarz.
1333 (require_file_with_line): New function.
1334 (require_file): Use it.
1335 (am_line_error): Don't print line number if $symbol is empty.
1336 (get_object_extension): Use require_file_with_line.
1337 (handle_libraries): Use require_file_with_line.
1338 (handle_texinfo): Use require_file_with_line.
1339 (handle_configure): Use am_conf_line_error and
1340 require_file_with_conf_line.
1341 (handle_subdirs): Use require_file_with_conf_line.
1342 (handle_configure): Use require_file_with_conf_line.
1343 (handle_tests): Push check-TESTS on @phony.
1344 (am_conf_line_error): New function.
1345 (require_file_with_conf_line): New function.
1346 (require_file_internal): New function.
1347 (require_file_with_line): Use it.
1348 (require_file): Ditto.
1349 (am_conf_line_error): Handle empty line number.
1350 (ac_gettext_line, ac_output_line): New variables.
1351 (scan_configure): Set them.
1353 Fri Mar 1 00:13:04 1996 Tom Tromey <tromey@creche.cygnus.com>
1355 * automake.in (parse_arguments): Default strictness is gnu.
1356 Changed `normal' to `foreign' everywhere.
1357 (parse_arguments): Handle --foreign.
1358 (initialize_global_constants): Document --foreign.
1359 (handle_dependencies): Better error message.
1360 (handle_texinfo): Don't push $vtexi on @texis.
1361 (handle_texinfo): Only push $vtexi on @texi_deps if not null.
1362 (handle_configure): install-sh is a config file; require it as
1364 (parse_arguments): Renamed --install-missing to --add-missing.
1365 (add_missing): Renamed from install_missing.
1366 (am_install_var): Check to make sure contents of install variable
1367 are correct if primary requires it. Test badprog.test.
1368 (initialize_global_constants): Initialize
1369 %primary_uses_subobjects.
1370 (handle_source_transform): Skip configure substitutions. Test
1371 depend.test. Also, skip empty elements.
1373 Thu Feb 29 22:00:30 1996 Tom Tromey <tromey@creche.cygnus.com>
1375 * texinfo.tex: New version.
1377 * automake.in (am_install_var): Allow extended range of
1378 installation directories.
1380 * automake.in (get_object_extension): Don't allow
1381 @CONFIG_INCLUDE_SPEC@ in the Makefile.in when config.h not used.
1382 From Gord Matzigkeit. Test confincl.test.
1384 * texinfos.am (install-info): Changed usage of install-info (in
1385 comment). Per Feb 25 GNU Standards document.
1387 Wed Feb 28 07:40:55 1996 Tom Tromey <tromey@creche.cygnus.com>
1389 * automake.in (handle_tests): New function.
1390 (generate_makefile): Call it.
1391 (handle_subdirs): Skip directories whose names look like configure
1393 (handle_subdirs): Require intl and po, not @INTLSUB@ and @POSUB@,
1395 (scan_configure): Clear in_ac_output if "]" found. Test
1397 (require_config_file): New function.
1398 (generate_makefile): Use require_config_file.
1399 (config_aux_path): New variable.
1400 (scan_configure): Check for AC_CONFIG_AUX_DIR.
1401 (handle_merge_targets): Add install-strip rule.
1403 Tue Feb 27 20:00:36 1996 Tom Tromey <tromey@creche.cygnus.com>
1405 * mdate-sh: New version from Ulrich Drepper.
1407 * automake.in (handle_source_transform): Changed fill back to
1409 (handle_libraries): Ditto.
1410 (handle_dist): Ditto.
1411 (handle_dependencies): Ditto.
1412 (handle_footer): Ditto.
1413 (handle_phony): Ditto.
1415 * Makefile.am (DIST_SUBDIRS): Removed.
1416 (installcheck-local): Use Perl, not test -x.
1418 (maintainer-check): Use $(PERL), not @PERL@.
1420 * configure.in (VERSION): Upped to 0.31.
1422 Sat Feb 24 18:02:19 1996 Tom Tromey <tromey@creche.cygnus.com>
1424 * automake.in (scan_configure): AC_CHECK_TOOL requires config.sub
1427 * automake.in: Use keyed_aclocal_warning when warning about
1429 (get_object_extension): Use keyed_aclocal_warning when warning
1430 about fp_C_PROTOTYPES.
1431 (keyed_aclocal_warning): New function.
1433 * Makefile.am (pkgdata_DATA): Install aclocal.m4.
1434 * aclocal.m4: Include fp_C_PROTOTYPES, fp_PROG_CC_STDC.
1436 * automake.in (get_object_extension): Only give error about
1437 fp_C_PROTOTYPES once.
1439 * automake.in (seen_ranlib): New variable.
1440 (scan_configure): Recognized AC_PROG_RANLIB.
1441 (handle_libraries): Error if ranlib not checked for.
1443 * automake.in (default_strictness): Default to GNU.
1444 (default_strictness_name): Ditto.
1446 Wed Feb 21 18:15:02 1996 Tom Tromey <tromey@creche.cygnus.com>
1448 * automake.in (read_am_file): Removed @kr@ support.
1449 (get_object_extension): Ditto.
1451 * Makefile.am (pkgdata_DATA): Include ansi2knr.c and ansi2knr.1.
1453 Tue Feb 20 17:25:18 1996 Tom Tromey <tromey@creche.cygnus.com>
1455 * depend.am ($(srcdir)/.deps/%.P): Regexp fix.
1457 Mon Feb 19 19:53:09 1996 Tom Tromey <tromey@creche.cygnus.com>
1459 * remake.am ($(srcdir)/Makefile.in): Depend on configure.in.
1460 * remake-subd.am ($(srcdir)/Makefile.in): Depend on configure.in.
1462 * automake.in (handle_scripts): Ensure $scripts_installed set to
1463 boolean value. Test proginst.test.
1465 * Makefile.am (installcheck-local): New target.
1467 * automake.in (require_file): No error if missing file is
1470 Sun Feb 18 17:10:00 1996 Tom Tromey <tromey@creche.cygnus.com>
1472 * automake.in (handle_scripts): SCRIPTS no longer automatically
1473 cleaned. Now possible to install scripts in pkgdatadir.
1474 ($seen_canonical): New variable.
1475 (generate_makefile): Check for config.guess and config.sub here;
1476 fixes bug reported by Gord Matzigkeit.
1478 * Makefile.am (pkgdata_SCRIPTS): New variable.
1479 (CLEANFILES): New macro.
1481 * scripts-clean.am: Removed.
1483 Sat Feb 17 00:15:20 1996 Tom Tromey <tromey@creche.cygnus.com>
1485 * automake.in (am_install_var): Error if primary variable actually
1487 (am_install_var): Skip elements that look like configure
1489 (am_install_var): "EXTRA" is a valid prefix.
1490 (am_install_var): Push contents EXTRA_PRIMARY onto @result.
1491 (handle_merge_targets): Treat "all" target like "install".
1492 (handle_subdirs): Don't push all-recursive.
1494 * header.am (install-@DIR@HEADERS): Don't depend on all.
1495 * data.am (install-@DIR@DATA): Don't depend on all.
1496 * libraries.am (install-@DIR@LIBRARIES): Don't depend on all.
1497 * programs.am (install-@DIR@PROGRAMS): Don't depend on all.
1498 * scripts.am (install-@DIR@SCRIPTS): Don't depend on all.
1500 * automake.in (am_install_var): Push generated install targets
1503 * subdirs.am: No longer depend on Makefile and $(CONFIG_HEADER).
1504 * automake.in (handle_merge_targets): Correctly handle recursive
1505 calls of uninstall, install-exec, and install-data.
1506 (handle_merge_targets): Put Makefile, and possibly $config_name,
1508 (handle_merge_targets): Push 'all' onto @install as appropriate.
1510 Fri Feb 16 18:27:04 1996 Tom Tromey <tromey@creche.cygnus.com>
1512 * automake.in (handle_configure): config.status is in
1513 $(top_builddir), not $(top_srcdir). Reported by Anthony Green.
1515 * automake.in (scan_configure): Recognize (AC|fp)_FUNC_FNMATCH.
1517 Thu Feb 15 19:12:45 1996 Tom Tromey <tromey@creche.cygnus.com>
1519 * automake.in: (seen_prog_yacc): New variable.
1520 (scan_configure): Look for yacc.
1521 (handle_source_transform): Skipp C++ header files.
1522 (handle_source_transform): .cxx is a C++ source file.
1524 Wed Feb 14 08:36:02 1996 Tom Tromey <tromey@creche.cygnus.com>
1526 * depend.am ($(srcdir)/.deps/.P): Use "echo", not ":".
1528 Implemented --verbose feature; idea from Greg Woods:
1529 * automake.in (verbose): New global.
1530 (generate_makefile): Print creating message if verbose.
1531 (grep_for_vers_texi): Print message if verbose.
1532 (handle_dependencies): Ditto.
1533 (scan_configure): Ditto.
1534 (read_am_file): Ditto.
1535 (parse_arguments): Added --verbose.
1536 (initialize_global_constants): Ditto.
1538 * automake.in (get_object_extension): Use am_line_error.
1539 (handle_source_transform): Ditto.
1540 (handle_libraries): Ditto.
1541 (handle_texinfo): Ditto.
1542 (handle_man_pages): Ditto.
1543 (handle_dist): Ditto.
1544 (handle_dist): Ditto.
1545 (handle_subdirs): Ditto.
1546 (handle_configure): Ditto.
1547 (handle_merge_targets): Ditto.
1548 (am_install_var): Ditto.
1549 (am_line_error): Allow actual line number as argument.
1550 (handle_configure): Use am_line_error.
1551 (scan_configure): Set config_header_line.
1552 (config_header_line): New global.
1553 Use @PERL@ to find perl during exec. From Greg Woods.
1555 Tue Feb 13 22:06:51 1996 Tom Tromey <tromey@creche.cygnus.com>
1557 * automake.in (initialize_per_input): Init %content_lines.
1558 (read_am_file): Set appropriate content_lines elements while
1560 (am_line_error): New function.
1561 (read_am_file): Use it.
1562 (handle_options): Ditto.
1564 * automake.in (scan_configure): Handle case where more than one .o
1565 is put into LIBOBJS at once. Test libobj.test.
1567 Mon Feb 12 20:39:28 1996 Tom Tromey <tromey@creche.cygnus.com>
1569 * automake.in (scan_configure): Ignore "\" in AC_OUTPUT line.
1571 (handle_subdirs): Restored intl, po warnings.
1573 * automake.in (scan_configure): Delete everything after "," or
1574 ")". Test acoutnoq.test.
1575 (handle_dist): Use $relative_dir, not nonexistent $subdir.
1576 (handle_subdirs): 'po' and 'intl' are sometimes substituted into
1577 SUBDIRS; don't warn about their absence.
1579 Sun Feb 11 16:55:15 1996 Tom Tromey <tromey@creche.cygnus.com>
1581 * automake.in (handle_texinfo): Removed bogus error message.
1583 * automake.in (handle_texinfo): Push $(INFO_DEPS), not 'info',
1585 (handle_options): Handle version number.
1587 * automake.in ($maint_charset, $dist_charset): New variables.
1588 (initialize_per_input): Init $local_maint_charset.
1589 (handle_dist): Handle DIST_CHARSET and MAINT_CHARSET.
1590 (generate_makefile): Don't print "creating...".
1592 Sat Feb 10 16:45:07 1996 Tom Tromey <tromey@creche.cygnus.com>
1594 * automake.in (get_object_extension): Substitute
1595 @CONFIG_INCLUDE_SPEC@ if CONFIG_HEADER defined.
1596 (handle_source_transform): Use $1, not \1.
1597 (pretty_print_internal): Handle Tabs in fill when computing indent
1599 (handle_merge_targets): Always generate install-exec and
1600 install-data targets. Test instexec.test.
1601 Fixed error message if fp_PROG_INSTALL missing.
1603 * compile-vars.am (DEFS): Include -I., -I$(srcdir), and
1604 @CONFIG_INCLUDE_SPEC@.
1606 * automake.in (scan_configure): Delete everything after "]". Test
1609 * configure.in (AC_OUTPUT): Create tests/Makefile.
1610 * Makefile.am (SUBDIRS): New macro.
1612 * automake.in (handle_texinfo): Put $vtexi on texi_deps. From Jim
1615 * configure.in (AC_OUTPUT): Ensure automake is executable.
1617 Thu Feb 8 17:30:29 1996 Tom Tromey <tromey@creche.cygnus.com>
1619 * automake.in (handle_subdirs): Error if directory in SUBDIRS does
1622 * automake.in (handle_configure): Handle AC_OUTPUT ":" syntax.
1625 * libraries.am (install-@DIR@LIBRARIES): Depend on all, not
1627 * header.am (install-@DIR@HEADERS): Depend on all, not
1629 * data.am (install-@DIR@DATA): Depend on all, not $(@DIR@_DATA).
1630 * scripts.am (install-@DIR@SCRIPTS): Depend on all, not
1632 * programs.am (install-@DIR@PROGRAMS): Depend on all, not
1635 * automake.in (initialize_per_input): Initialize
1637 ($seen_path_xtra): New variable.
1638 (scan_configure): Look for AC_PATH_XTRA.
1639 (get_object_extension): Add variables to output if X seen.
1641 Thu Feb 8 10:02:45 1996 Greg A. Woods <woods@most.weird.com>
1643 * automake.in (handle_programs): add pkglib to list of
1645 (various): include a tab as fill for continuation lines
1646 printed with pretty_print*, esp. for macro variable assignments.
1647 [ changed to 4 spaced by me ]
1649 Wed Feb 7 18:00:29 1996 Tom Tromey <tromey@creche.cygnus.com>
1651 * configure.in (VERSION): Upped to 0.30.
1653 * Makefile.am (automake): Removed.
1654 (DIST_OTHER): Removed.
1656 * automake.in (handle_source_transform): All dep_files are
1657 relative to $(srcdir).
1658 (handle_libraries): Ditto.
1659 (scan_configure): Test for AC_PROG_INSTALL as well as
1660 fp_PROG_INSTALL. Don't error here.
1661 (seen_prog_install): Now global.
1662 (scripts_installed): New global.
1663 (handle_scripts): Set it.
1664 Give error if appropriate install macro not seen.
1665 (handle_subdirs): Ensure $seen_gettext before requiring
1666 gettext-specific files.
1667 (handle_configure): Automatically rebuild
1670 * automake.in (handle_source_transform): Use \W when quoting
1671 regexp. When blah_SOURCES not explicitly defined, still create
1673 * depend.am ($(srcdir)/.deps/%.P): Don't use \< in regexp.
1674 * subdirs.am (maintainer-clean-recursive): Now depends on
1675 $(CONFIG_HEADER) and Makefile.
1677 * automake.in (handle_source_transform): Skip macro references.
1679 Mon Feb 5 14:58:58 1996 Tom Tromey <tromey@creche.cygnus.com>
1681 * automake.in (handle_texinfo): Include "rm" when deleting files.
1683 * Makefile.am (maintainer-check): Expect only one ${...}.
1684 * texinfos.am (install-info): Remove unneeded ${...}. From Jim
1687 * automake.in (handle_configure): Only define CONFIG_HEADER if
1689 ($seen_gettext): New variable.
1690 (handle_subdirs): Do all gettext-related checking here.
1691 (scan_configure): Just set $seen_gettext.
1692 (handle_man_pages): Properly quote $(MANS).
1694 Wed Jan 31 09:51:30 1996 Tom Tromey (tromey@gerbil.cygnus.com)
1696 * depend.am: Don't use srcdir anywhere.
1697 * automake.in (handle_libraries): Don't make .deps relative to
1699 (handle_options): Recognize no-dependencies.
1701 * depend.am (MKDEP): From Jim Meyering: Do nothing if srcdir is
1702 ".". Properly quote regexp.
1704 Tue Jan 30 12:19:09 1996 Tom Tromey (tromey@gerbil.cygnus.com)
1706 * automake.in (handle_configure): Only defined CONFIG_HEADER if
1708 (read_am_file): Quote regexp when substituting top_builddir.
1709 (handle_source_transform, handle_libraries): Look in
1710 $(srcdir)/.deps for .P files.
1712 Fri Jan 26 00:15:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1714 * automake.in (am_conf_error): New function.
1715 (scan_configure): Use it.
1716 (scan_configure): A comma also ends AC_OUTPUT macro.
1718 * automake.in (read_am_file): Compute top_builddir when including
1720 (handle_configure): Use $top_builddir, not $top_reldir.
1721 (other_input_files): New variable.
1722 (dirname): Fixed bug where dirname of 'a/b/c' was 'a', not 'a/b'.
1724 Changes from Gord Matzigkeit to enabled hierarchies deeper than 2:
1725 * automake.in (input_files, seen_make_set): Declare globally.
1726 (parse_arguments): Use input_files, not make_list.
1727 Only scan configure.in once.
1728 (handle_dist): Use SUBDIRS to determine when to make
1729 subdirectories and recurisvely dist. Use $(topdir), not "..", to
1730 find top of dist tree.
1731 (handle_configure): Check for AC_PROG_MAKE_SET here. Don't require
1732 configure.in (done elsewhere).
1733 (scan_configure): seen_make_set is global. Allow arbitrary space
1734 in LIBOBJS assignment.
1735 (top_builddir): New variable.
1736 * header-vars.am (top_builddir): New variable.
1737 * remake-subd.am (Makefile): Look in top_builddir, not .., when
1739 * automake.in (handle_merge_targets): Run 'all' before
1742 * automake.in (file_contents_with_transform): Changed error
1744 (handle_configure): Define $contents{'CONFIG_HEADER'}.
1746 * texi-version.am: Many changes to support multiple .texi files.
1747 Replaced "version.texi" with "@VTEXI@". Replaced "vti" with
1749 * automake.in (handle_configure): install.sh is an anachronism.
1750 (handle_texinfo): Generalized for multiple .texi files. Handle
1751 'clean-info' internally.
1752 * texi-clean.am: Removed.
1753 * Makefile.am: Updated for removal.
1755 Wed Jan 24 22:55:32 1996 Tom Tromey <tromey@creche.cygnus.com>
1757 * automake.in (grep_for_vers_texi): New function.
1758 (handle_texinfo): Use grep_for_vers_texi, not system("grep").
1759 (handle_texinfo): Changes to generalize to multiple .texi files.
1761 Tue Jan 23 14:22:16 1996 Tom Tromey <tromey@creche.cygnus.com>
1763 Fixes from Gord Matzigkeit:
1764 * libraries.am (install-@DIR@LIBRARIES): Use top_srcdir, not
1766 * header.am: New file.
1767 * Makefile.am (pkgdata_DATA): Install header.am.
1768 * automake.in (handle_headers): Use header.am, not data.am.
1769 (am_install_var): Allow pattern to be compiled multiple times.
1771 * config.guess, config.sub: New files.
1772 * Makefile.am (pkgdata_DATA): Install config.guess and
1774 * automake.in (scan_configure): Recognize AC_CANONICAL_HOST and
1775 AC_CANONICAL_SYSTEM.
1777 Sun Jan 21 15:51:48 1996 Tom Tromey <tromey@creche.cygnus.com>
1779 * automake.in (handle_texinfo): Use info_TEXINFOS, not TEXINFOS.
1780 (handle_man_pages): Use man_MANS, not MANS.
1782 * Makefile.am (info_TEXINFOS): Renamed.
1784 * automake.in (scan_configure): Remove comments from input line.
1785 (am_variable): Removed.
1787 * remake-hdr.am (stamp-h): Use new macro CONFIG_HEADER_IN.
1789 * automake.in (config_name, config_header): New globals.
1790 (scan_configure): Look for AC_CONFIG_HEADER.
1791 (handle_configure): Handle more uses of AC_CONFIG_HEADER.
1793 Sat Jan 20 15:54:24 1996 Tom Tromey <tromey@creche.cygnus.com>
1795 * automake.in (handle_dist_worker): Bug fix.
1797 Fri Jan 19 00:50:29 1996 Tom Tromey <tromey@creche.cygnus.com>
1799 * automake.in (require_file): Install missing files only according
1800 to desired strictness.
1801 (initialize_per_input): Don't init libsources.
1802 (scan_configure): Reinit libsources.
1803 (handle_libraries): Search _LIBADD for @LIBOBJS@ and @ALLOCA@.
1804 (fp_c_prototypes): New global.
1805 (scan_configure): Set it.
1806 (get_object_extension): Error if fp_C_PROTOTYPES not in
1807 configure.in when using ansi2knr.
1808 (handle_source_transform): Skip header files.
1810 * automake.in (handle_dist_worker): Explicitly make 'dist' in
1813 Thu Jan 18 00:25:56 1996 Tom Tromey <tromey@creche.cygnus.com>
1815 From François Pinard:
1816 * automake.in (handle_source_transform): Transform $o file into .P
1818 (handle_dist_worker): Handle case where DISTFILES includes
1819 wildcard. Bug fix in subdir case.
1821 * automake.in (parse_arguments): Initialize strictness to
1824 Sun Jan 14 13:54:16 1996 Tom Tromey <tromey@creche.cygnus.com>
1826 * automake.in (scan_configure): Look for NLS support.
1828 Changes from François Pinard:
1829 * texinfos.am (install-info): Correctly install when build dir is
1831 * tags-subd.am (ID): Indentation change.
1832 * kr-vars.am (o): Use ".@U@o", not "@U@o".
1833 * depend.am ($(srcdir)/.deps/%.P): Remove temporary file.
1834 * automake.in (handle_dist_worker): Fixlets.
1835 (handle_dist): Sort keys going into dist_common.
1837 Sat Jan 13 00:18:06 1996 Tom Tromey <tromey@creche.cygnus.com>
1839 * automake.in (handle_dist_worker): If Gnits, don't allow release
1840 until NEWS is updated.
1842 * configure.in (VERSION): Version 0.29.
1844 * Makefile.am (maintainer-check): Look for perl4.036 in path.
1846 * dist-vars.am (DISTFILES): Include BUILT_SOURCES.
1847 (DEP_DISTFILES): Ditto.
1849 * automake.in (handle_dist_worker): Depend on DEP_DISTFILES.
1850 * dist-vars.am (DEP_DISTFILES): New variable.
1852 * automake.in (handle_options): Support dist-shar option.
1853 (handle_dist_worker): New function.
1854 (handle_dist): Use it.
1856 * texi-version.am (mostlyclean-vti): Remove version.tmp, not
1859 * automake.in (handle_dist): Chmod distdir 777. From François
1862 * automake.in (scan_configure): New function.
1863 (initialize_per_input): Init libsources.
1864 (generate_makefile): Run handle_configure first.
1865 (handle_configure): Run scan_configure.
1866 (handle_configure): Don't look for AC_PROG_MAKE_SET here.
1868 Thu Jan 11 23:14:18 1996 Tom Tromey <tromey@creche.cygnus.com>
1870 * Makefile.am (AUTOMAKE_OPTIONS): New variable.
1872 * automake.in (strictness, strictness_name): Renamed.
1873 (initialize_per_input): Set strictness, strictness_name.
1874 Initialize %options.
1875 (generate_makefile): Run handle_options.
1876 (handle_options): New function.
1877 (handle_man_pages): Make install-man depend on $(MANS). Turn off
1878 man page install if no-installman option given.
1879 (read_am_file): Deprecate @kr@.
1880 (get_object_extension): Look at ansi2knr option.
1881 (parse_arguments): Take global strictness from command-line
1884 Tue Jan 9 11:24:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1886 Fixes from François Pinard:
1887 * depend.am ($(srcdir)/.deps/%.P): Handle deansification.
1888 * automake.in (get_object_extension): Use $o, not $(kr)o.
1889 (handle_source_transform): Don't look for $(kr)c files.
1890 * kr-vars.am (o): New macro.
1893 * depend.am (DEP_FILES): Removed.
1894 * automake.in (handle_source_transform): Push .P file onto
1896 (initialize_per_input): New variable %dep_files.
1897 (handle_dependencies): Generate DEP_FILES here.
1899 Mon Jan 8 22:27:33 1996 Tom Tromey <tromey@creche.cygnus.com>
1901 * automake.in (do_one_clean_target): Only remove config.status in
1902 top-level directory.
1903 (handle_tags): Removed 'id' from .PHONY list. From Jim Meyering.
1905 * clean.am (maintainer-clean-generic): Remove BUILT_SOURCES.
1907 * automake.in (handle_dist): Make "ln" quiet.
1909 * tags-subd.am (ID): Depend on HEADERS and SOURCES.
1911 Sat Jan 6 10:58:23 1996 Tom Tromey <tromey@cambric.colorado.edu>
1913 * automake.in (handle_merge_targets): 'check' shouldn't depend on
1915 (file_contents_with_transform): New function.
1916 (am_install_var): Use file_contents_with_transform.
1917 (handle_programs): Ditto.
1918 (handle_libraries): Ditto.
1919 (handle_texinfo): Ditto.
1920 (handle_merge_targets): Let 'install' depend on 'all' if no other
1921 dependencies exist. From Jim Meyering.
1922 (check_gnu_standards): GNU requires AUTHORS file. (See
1924 (require_file): Put body in loop.
1925 (get_object_extension): Only call require_file once.
1926 (handle_configure): Ditto.
1929 * depend.am ($(srcdir)/.deps/.P): Depend on $(BUILT_SOURCES).
1930 * tags-subd.am (id): Removed.
1932 Fri Jan 5 10:31:19 1996 Tom Tromey <tromey@cambric.colorado.edu>
1934 * Added copyright notice to each .am file.
1936 * automake.in: Cleanups from François Pinard to avoid $#.
1937 (require_argument): Fixed sense of test.
1938 (set_strictness): Bug fix.
1940 Thu Jan 4 21:21:29 1996 Tom Tromey <tromey@cambric.colorado.edu>
1942 * Makefile.am (pkgdata_DATA): Removed old dist files.
1944 * dist-subd-top.am, dist-subd.am, dist.am: Removed.
1946 * automake.in (set_strictness): Set $strictness_name.
1947 (strictness_name): New variable.
1948 (handle_dist): Substantially rewrote.
1950 * configure.in: Point AC_INIT at automake.in.
1952 * automake.in (generate_makefile): Report errors against
1953 Makefile.in, not Makefile.am.
1955 Wed Jan 3 00:05:40 1996 Tom Tromey <tromey@cambric.colorado.edu>
1957 * mdate-sh: Bug fix from Jim Meyering.
1959 * dist.am (dist): Changed in parallel with dist-subd-top.am.
1961 * mkinstalldirs: Reverted.
1963 * automake.in (initialize_global_constants): Allow COPYING.LIB
1965 (check_gnits_standards): Disallow COPYING.LIB.
1967 * texinfos.am (install-info): Only look in $(srcdir) for info
1970 * automake.in (initialize_global_constants): New variable
1972 (read_am_file): Put a copyright in each Makefile.in.
1974 * dist-vars.am (DISTFILES): Put DIST_COMMON first.
1976 * automake.in (am_install_var): Put space before "=".
1977 (handle_dist): Put README first in DIST_COMMON.
1979 * Makefile.am (pkgdata_DATA): Include COPYING.
1981 * COPYING: New file.
1983 * automake.in (parse_arguments): Added --gnu and --gnits as
1985 (initialize_global_constants): Ditto.
1986 (initialize_global_constants): Don't auto-distribute COPYING.LIB.
1987 (initialize_global_constants): Look for README first.
1988 (initialize_global_constants): Auto-distribute AUTHORS, BACKLOG,
1990 (check_gnu_standards): Require file COPYING.
1992 From François Pinard:
1993 * automake.in (file_contents): Comment out "warn"s.
1994 (usage): Use 4 columns.
1995 (USAGE_FORMAT): Ditto.
1997 * texinfos.am (install-info): Look for info file relative to $$d.
1999 * Makefile.am (cvs-dist): Suppress output of "grep".
2001 * configure.in (VERSION): Version 0.28.
2003 * automake.in (pretty_print_internal): Fix for Perl 4
2006 * configure.in (VERSION): Version 0.27.
2008 * depend.am ($(srcdir)/.deps/%.P): Must regexp-quote srcdir in sed
2011 * automake.in (initialize_global_constants): Don't quote "@" in
2012 $install_man_format.
2013 (handle_merge_targets): use "@:" as empty command, not ":".
2015 Tue Jan 2 23:33:24 1996 Tom Tromey <tromey@cambric.colorado.edu>
2017 * texinfos.am (install-info): Look in $d for info files. From
2020 * depend.am ($(srcdir)/.deps/%.P): Fixed regexp.
2022 * automake.in (read_am_file): Correctly deal with continued
2023 variable definitions.
2025 Mon Jan 1 15:43:25 1996 Tom Tromey <tromey@cambric.colorado.edu>
2027 * automake.in (handle_merge_targets): 'check' target depends on
2029 (file_contents): Don't be so verbose.
2030 (read_am_file): Ditto.
2031 (read_am_file): Must use substr to check for trailing \.
2032 (am_install_var): Use push_phony_cleaners.
2033 (file_contents): Set $was_rule when assuming a rule is seen.
2034 (read_am_file): Ditto.
2035 (do_one_clean_target): Removed spurious newline.
2037 Some changes from François Pinard:
2038 * Removed trailing whitespace from all '.am' files.
2039 * tags-subd.am (ID): Use &&, not ;.
2041 * automake.in (parse_arguments): Removed useless message.
2042 (parse_arguments): Don't explicitly referenced STDERR.
2043 (require_argument): Ditto.
2045 (set_strictness): Ditto.
2046 (file_contents): Ditto.
2047 (read_am_file): Ditto.
2048 (generate_makefile): Style tweaks.
2049 (handle_programs): Ditto.
2050 (handle_libraries): Ditto.
2051 (handle_texinfo): Ditto.
2052 (handle_man_pages): Ditto.
2053 (handle_tags): Ditto.
2054 (handle_dist): Ditto.
2055 (handle_subdirs): Ditto.
2056 (handle_configure): Ditto.
2057 (handle_footer): Don't put newline before footer.am contents.
2058 (handle_merge_targets): Style tweaks.
2059 (do_one_clean_target): Ditto.
2061 (am_variable): Ditto.
2062 Defined some new constants.
2063 (generate_makefile): Don't call generate_header.
2064 (generate_header): Removed.
2065 (file_contents): Rewrote.
2066 (read_am_file): Rewrote.
2068 * automake.in (generate_makefile): Handle phony target.
2069 (do_one_clean_target): Pretty-print dependencies.
2070 (handle_installdirs): Pretty-print rule.
2072 * Makefile.am (maintainer-check): Made some commands silent.
2074 * automake.in (initialize_global_constants): Don't install or
2075 uninstall cat'd man pages.
2076 (initialize_per_input): Added phony target.
2077 (push_phony_cleaners): New function.
2078 (get_object_extension): Handle phony targets.
2079 (handle_texinfo): Ditto.
2080 (handle_man_pages): Ditto.
2081 (handle_tags): Ditto.
2082 (handle_dist): Ditto.
2083 (handle_subdirs): Ditto.
2084 (handle_installdirs): Ditto.
2085 (handle_merge_targets): Ditto.
2086 (handle_clean): Ditto.
2087 (do_one_merge_target): Ditto.
2088 (am_install_var): Ditto.
2089 (handle_phony): New function.
2090 (generate_makefile): Call it.
2091 (pretty_print_internal): New function.
2092 (pretty_print_rule): Ditto.
2094 Sun Dec 31 13:04:59 1995 Tom Tromey <tromey@cambric.colorado.edu>
2096 * automake.in (initialize_global_constants): Don't print body of
2099 Changes from François Pinard:
2100 * depend.am (MKDEP): Include DEFS, INCLUDES, CPPFLAGS, CFLAGS.
2101 (DEP_FILES): Put dependency files in $(srcdir).
2102 Look in $(srcdir) when including dependency files.
2103 ($(srcdir)/.deps/.P): .deps/.P is in $(srcdir).
2104 (.deps/%.P): MKDEP includes all macro expansions.
2105 * dist-subd-top.am (dist): Get absolute path for distdir. Don't
2107 * dist-subd.am (dist): Don't be so verbose.
2108 * dist.am (dist): Don't be so verbose.
2110 * automake.in (do_one_clean_target): Remove config.status in
2111 maintainer-clean. From Jim Meyering.
2113 * programs-clean.am (clean-@DIR@PROGRAMS): Bug fix. From Jim
2116 * automake.in (handle_merge_targets): Add dummy command for empty
2117 install target. From Jim Meyering.
2119 Tue Dec 12 10:06:28 1995 Tom Tromey <tromey@cambric.colorado.edu>
2121 * texinfos.am (uninstall-info): Bug fix.
2123 * Makefile.am (maintainer-check): Error if ${...} used.
2124 * depend.am (DEP_FILES): Prefer $(...).
2126 * scripts.am (install-@DIR@SCRIPTS): Only install script if it
2128 * libraries.am (install-@DIR@LIBRARIES): Only install library if
2130 * programs.am (install-@DIR@PROGRAMS): Only install program if it
2133 * texinfos-vars.am (TEXFILES): Removed.
2135 * Makefile.am (pkgdata_DATA): Removed libprograms.am.
2137 * automake.in (do_one_merge_target): Never generate trailing
2139 (pretty_print): New function.
2140 (handle_footer): Prettyprint definitions.
2141 (am_install_var): Ditto.
2142 (handle_source_transform): Ditto.
2143 (handle_dist): Ditto.
2144 (handle_libraries): Ditto.
2145 (read_am_file): Put comments nearer appropriate code.
2147 * texi-clean.am (mostlyclean-info): Use continued lines, not
2148 multiple rm's. From Jim Meyering.
2150 Sun Dec 10 11:59:33 1995 Tom Tromey <tromey@cambric.colorado.edu>
2152 * Makefile.am (pkgdata_DATA): Cause INSTALL, install-sh, mdate-sh,
2153 mkinstalldirs, texinfo.tex to be installed.
2154 * automake.in (symlink_exists): New global.
2155 (install_missing): Ditto.
2156 (require_file): Install missing files if possible.
2157 (parse_arguments): Handle --install-missing option.
2158 (initialize_global_constants): Document --install-missing.
2160 * Makefile.am (cvs-dist): Don't release unless NEWS updated.
2161 Ensure 'checks' pass before release.
2162 (maintainer-check): Renamed. Look in $(srcdir) for sources. From
2164 (cvs-dist): Depend on maintainer-check instead of explicitly
2167 * configure.in (VERSION): Version 0.26.
2169 * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense
2172 * depend.am (DEP_FILES): Bug fix.
2174 * automake.in (do_one_clean_target): Typo.
2176 * Makefile.am (check-local): Run syntax check under Perl 4.
2178 * automake.in: Fixes for Perl 4, from Gord Matzigkeit.
2179 (handle_source_transform): Loop variable is now $_. From Gor
2181 * Makefile.am (check-local): Check for 'true' in source.
2182 * texinfos.am (install-info): Can't use "true" in any rule.
2184 Sat Dec 9 10:16:48 1995 Tom Tromey <tromey@cambric.colorado.edu>
2186 * Makefile.am (cvs-dist): New target.
2188 * tags.am (TAGS): Use "test -z ... ||" to avoid spurious
2191 * texinfos.am (install-info): Don't do install-info for now.
2193 * clean.am (distclean-generic): Don't remove config.status here.
2194 * automake.in (do_one_clean_target): Remove config.status later,
2195 for 'make -j2'. From Jim Meyering.
2197 Fri Dec 8 16:30:48 1995 Tom Tromey <tromey@cambric.colorado.edu>
2199 * configure.in (VERSION): Version 0.25.
2201 * automake.in (handle_texinfo): Use "$? >> 8", not "$?".
2202 (handle_configure): Check for AC_PROG_MAKE_SET.
2204 * depend.am (DEP_FILES): Handle deANSIfication case. From Jim
2207 * automake.in (am_install_var): Changed how 'clean' handled for
2208 uniform name targets.
2209 * Makefile.am (pkgdata_DATA): Added new files.
2210 * data-clean.am: New file.
2211 * scripts-clean.am: New file.
2212 * libraries-clean.am: New file.
2213 * programs-clean.am: New file.
2215 Wed Dec 6 00:06:11 1995 Tom Tromey <tromey@cambric.colorado.edu>
2217 * automake.in (am_install_var): Error if variable name
2219 (handle_source_transform): Automatically include .c file
2220 corresponding to .y or .l.
2222 Tue Dec 5 00:46:14 1995 Tom Tromey <tromey@cambric.colorado.edu>
2224 * programs.am: Changed for uniform naming scheme.
2226 * automake.in (read_am_file): Allow '-' and '.' in target names.
2227 (generate_makefile): Don't pass arguments to handle_libraries.
2228 (initialize_per_input): Define @sources, @objects.
2229 (generate_makefile): Init @sources, @objects if needed.
2230 (handle_source_transform): Push onto @sources, @objects here.
2231 (am_install_var): Push primary onto @all, for configure-time
2233 (handle_programs): Use new uniform naming scheme.
2235 * Makefile.am (check-local): New target.
2237 * automake.in (handle_libraries): Use uniform naming scheme.
2239 * libraries.am: Rewrote for uniform naming scheme.
2241 * scripts.am: Updated names of all clean targets.
2243 * automake.in (handle_programs): Split on all whitespace.
2244 (handle_libraries): Ditto.
2245 (handle_texinfo): Ditto.
2246 (handle_man_pages): Ditto.
2247 (am_install_var): Changed return result.
2248 (am_install_var): Changed interface.
2249 (am_install_var): Push onto @clean@ if requested.
2250 (handle_scripts): Pass -clean to am_install_var.
2252 Mon Dec 4 11:55:36 1995 Tom Tromey <tromey@cambric.colorado.edu>
2254 * automake.in (am_install_var): Push target onto @all.
2255 (get_object_extension): Use $(...).
2256 (handle_source_transform): Ditto.
2257 (handle_programs): Ditto.
2259 * automake.in (require_argument): New function.
2260 (parse_arguments): Use it.
2261 (push_dist_common): New function.
2262 (generate_makefile): Use it.
2263 (handle_texinfo): Ditto.
2264 (handle_dist): Ditto.
2265 (handle_configure): Ditto.
2266 (require_file): Ditto.
2267 (generate_makefile): Don't pass arguments to handle_scripts.
2268 (handle_configure): Require configure.in.
2269 (check_gnu_standards): New function.
2270 (check_gnits_standards): Ditto.
2271 (generate_makefile): Check standards.
2273 * Makefile.am (bin_SCRIPTS): Changed name from SCRIPTS.
2275 * automake.in (LENIENT, GNU, GNITS): New constants.
2276 (initialize_per_input): New function.
2277 (generate_makefile): Use it.
2278 (initialize_global_constants): Renamed from init_globals.
2279 (require_file): Added strictness argument.
2280 (parse_arguments): Added --strict option.
2281 (set_strictness): New function.
2282 (parse_arguments): use it.
2283 (initialize_global_constants): Document --strictness.
2285 * automake.in: Use ${1+"$@"} to preserve quoting when running
2288 * texinfos.am (install-info): Don't use "true".
2289 * tags.am (TAGS): Don't use "true".
2291 * dist.am, dist-subd-top.am, remake-hdr.am, remake-subd.am,
2292 remake.am, subdirs.am, texinfos.am: Use "&&" after cd.
2294 * program.am (@PROGRAM@): Use LINK macro.
2295 * compile.am (.c.o): Use COMPILE macro.
2297 * clean.am, remake-hdr.am, remake.am, texinfos.am: Use $(...), not
2300 * subdirs.am (RECURSIVE): Removed macro.
2302 * clean.am: Changed to not be so verbose.
2304 * Makefile.am (pkgdata_DATA): Include texi-clean.am.
2305 * automake.in (handle_texinfo): Transform texi-clean and put into
2307 * texinfos-vars.am (TEXFILES): Removed.
2308 * texinfos.am: Removed 'clean' targets.
2309 * texi-clean.am: New file.
2311 * Makefile.am (ETAGS_ARGS): Just use 'automake.in'.
2313 * texinfos-vars.am (TEXFILES): Added *.op.
2315 * dist-vars.am (DISTFILES): Renamed from DIST_FILES, per GNU
2317 * dist.am (dist): Use DISTFILES.
2318 * dist-subd.am (dist): Use DISTFILES.
2319 * dist-subd-top.am (dist): Use DISTFILES.
2321 Sun Dec 3 00:24:08 1995 Tom Tromey <tromey@cambric.colorado.edu>
2323 * Makefile.am (ETAGS_ARGS): Define.
2325 * depend.am (.deps/.P): Use ":", not "echo timestamp". From Jim
2328 * dist-vars.am (DIST_FILES): Removed PACKAGEDATA.
2330 * automake.in (handle_scripts): Use am_install_var.
2332 * scripts.am: Rewrote for new uniform naming scheme.
2334 * Makefile.am (pkgdata_DATA): Removed libscripts.am.
2336 * libscripts.am: Removed.
2338 * packagedata.am: Removed.
2340 * Makefile.am (PACKAGEDATA): Removed packagedata.am.
2341 (pkgdata_DATA): Renamed from PACKAGEDATA.
2343 * automake.in (handle_data): Use am_install_var.
2344 (init_globals): Init %exec_dir_p.
2346 * data.am: Rewrote for new uniform naming scheme.
2348 * automake.in (get_object_extension): New function.
2349 (handle_programs): Use it.
2350 (dir_holds_sources): Changed interpretation.
2351 (handle_headers): New function.
2352 (am_install_var): New function.
2353 (generate_makefile): Call handle_headers.
2355 * header-vars.am (pkgdatadir): New macro.
2357 (pkgincludedir): Ditto.
2359 * automake.in (handle_source_transform): New function.
2360 (am_error): New function.
2361 (generate_makefile): Use it.
2362 (handle_source_transform): Ditto.
2363 (handle_texinfo): Ditto.
2364 (handle_dependencies): Ditto.
2365 (handle_merge_targets): Ditto.
2366 (require_file): Ditto.
2368 Sat Dec 2 21:39:56 1995 Tom Tromey <tromey@cambric.colorado.edu>
2370 * automake.in: Updated FSF address. From Jim Meyering.
2371 * header-vars.am: Updated FSF address.
2373 * distname.am: Removed.
2375 * automake.in (file_contents): Strip "##" comments.
2376 * Various files: Added "##" comments for strange things.
2378 * automake.in (handle_tags): Generate TAGS rule for every
2381 * subdirs.am (RECURSIVE): Include installcheck-recursive.
2382 * automake.in (installcheck): New variable.
2383 (generate_makefile): Initialize it.
2384 (handle_subdirs): Push 'installcheck-recursive'.
2385 (handle_merge_targets): Handle installcheck target.
2387 Thu Nov 30 20:13:16 1995 Tom Tromey <tromey@cambric>
2389 * automake.in ($PACKAGE): Removed.
2391 * header-vars.am (ALL): Removed.
2393 * automake.in: Reworked 'all' target handling.
2395 * automake.in (generate_makefile):
2396 Don't use AM_ forms in call to am_variable.
2398 * automake.in: Changes for Perl 5, from Gord Matzigkeit
2400 * clean.am (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
2402 * automake.in (handle_footer): Allow SUFFIXES variable.
2404 * automake.in (am_variable): New function.
2405 (handle_texinfo): Use it.
2406 (generate_makefile): Use it.
2408 * configure.in: Version 0.24.
2410 Wed Nov 29 23:50:14 1995 Tom Tromey <tromey@cambric>
2412 * automake.in (handle_libraries):
2413 Generate blah_LIBADD defines if required.
2415 * library.am (lib@LIBRARY@.a): Look at $(@LIBRARY@_LIBADD)
2417 * libraries-vars.am (LIBOBJS, ALLOCA): Removed.
2419 * compile-kr.am: ($(OBJECTS)): Depend on $(ANSI2KNR), not ansi2knr.
2421 * configure.in: Version 0.23
2423 * dist-subd-top.am (dist): Don't die if a subdirectory already exists.
2425 * dist-subd-top.am, dist.am (dist): Give automake --output-dir option.
2427 * automake.in: New option --output-dir
2429 * automake.in (handle_configure): Fixed typo.
2431 * automake.in (handle_installdirs): Always make installdirs target.
2433 * subdirs.am (RECURSIVE): Removed uninstall-data-recursive and
2434 uninstall-exec-recursive. Added installdirs-recursive.
2436 * automake.in (handle_installdirs): Handle installdirs-recursive.
2437 (handle_man_pages): 'all' depends on $(MANS)
2439 * Makefile.am: Removed mans.am.
2441 * automake.in: More man-related fixes
2443 * automake.in: Bug fixes
2445 * automake.in: Rewrote man page handling.
2447 * texi-version.am, remake-hdr.am, depend.am: Don't use touch.
2449 * automake.in (handle_installdirs): New function.
2450 (@installdirs): New global.
2451 Many changes to deal with installdirs.
2453 * clean.am (clean-generic): Always supply 'else' clause to 'if'
2455 * automake.in (generate_header): Don't use header.am.
2456 (handle_dist): Don't use dist-subd-vars.am.
2458 * Makefile.am (PACKAGEDATA): Removed dist-subd-vars.am, header.am.
2460 * Makefile.am (DISTCLEANFILES): Removed.
2462 * clean.am (clean-generic): Bug fix.
2464 * clean.am (clean-generic): Only remove CLEANFILES if nonempty
2466 * texi-version.am (clean-vti): No such macro as VTI
2468 Tue Nov 28 19:56:07 1995 Tom Tromey <tromey@cambric>
2470 * automake.in: Bug fix for maintainer-clean
2472 * automake.in (do_one_clean_target):
2473 Print special text in maintainer-clean.
2474 (handle_clean): Always include clean.am
2476 * clean.am: Use -generic clean targets.
2478 * compile.am: Added clean targets.
2480 * configure.in: Version 0.22.
2482 * automake.in (handle_dependencies):
2483 Put trailing newline after all deps.
2485 * automake.in (handle_dependencies): Another dependency bug fix.
2487 * automake.in (handle_dependencies):
2488 Bug fix when including dependencies.
2490 * automake.in (handle_configure):
2491 Verify existence of install-sh, mkinstalldirs
2493 * automake.in (handle_texinfo): Include stamp-vti in distribution
2495 * dist-subd-vars.am, dist-vars.am (DIST_FILES):
2496 Include DATA, PACKAGEDATA.
2498 * Makefile.am: Nothing
2500 * Makefile.am (DIST_OTHER): Don't distribute gettext-sh
2502 * automake.in (handle_texinfo): Typo
2504 * automake.in: If script ends up in shell, feed to perl
2506 * automake.in: Rewrote 'clean' rules.
2507 Documentation made and installed first.
2508 'all' depends on 'info'
2510 Mon Nov 27 23:57:29 1995 Tom Tromey <tromey@cambric>
2512 * configure.in, Makefile.am: Turned off internationalization.
2514 * clean-kr.am: Rewrote for new clean scheme.
2516 * tags-clean.am: Remove TAGS in distclean, not maintainer-clean
2518 * Makefile.am (PACKAGEDATA): Include tags-clean.am
2520 * subdirs.am: Removed bogus local clean targets
2522 * tags-clean.am: Initial revision
2524 * texi-version.am: Added clean targets
2526 * texinfos.am: Fixes to clean targets.
2528 * texinfos.am, libscripts.am, scripts.am, libraries.am, libprograms.am, programs.am:
2531 * compile-kr.am (ansi2knr.o): Depend on CONFIG_HEADER
2533 * automake.in: Completely revamped automatic de-ANSI-fication
2535 * compile-kr.am: (ansi2knr, $(OBJECTS)): New targets
2537 * compile-vars.am (LINK): New macro
2539 * kr-vars.am: Trailing blank line
2541 * compile-kr.am: Rewrote
2543 * compile-vars.am (COMPILE): New macro
2545 * compile-vars.am (ANSI2KNR): Removed
2547 * Makefile.am (PACKAGEDATA): Removed all sed scripts. Added kr-vars.am
2549 * kr-vars.am: Initial revision
2551 * automake.in (require_file): New function.
2552 (handle_texinfo): Require 'mdate-sh'
2553 (common_sometimes): New variable
2556 * texi-version.am (stamp-vti): Use Ulrich's mdate-sh script
2558 * mdate-sh: Initial revision
2560 * automake.in (handle_footer): Don't define SOURCES or OBJECTS if empty
2562 * automake.in (generate_makefile):
2563 Put Makefile.in, Makefile.am in @dist_common
2564 (handle_configure): Use @dist_common as appropriate
2566 * dist-subd-vars.am, dist-vars.am (DIST_CONF): Removed
2568 * configure.in: Abort if perl not found
2570 * configure.in: Look for perl
2572 * automake.in: Reimplemented in Perl
2574 * automake.in: Fixlet
2576 Sun Nov 26 08:09:30 1995 Tom Tromey <tromey@cambric>
2578 * automake.in: Always print ".SUFFIXES:" rule.
2580 * automake.in: Distribution config.h.in if required
2582 * automake.in: Bug fix when including texi-version.am
2584 * automake.in: Bug fix when looking for .texi file in $am_reldir
2586 * depend.am: Comment fix
2588 * automake.in: Look for .texi file in $am_reldir
2590 * automake.in: Fixlet
2592 * automake.in: Blank line after targets from user's Makefile.am
2594 * automake.in: Move footer items to actual footer
2596 * automake.in: Include stamp-h.in in DIST_COMMON if necessary
2598 * automake.in (common):
2599 Don't include acconfig.h, config.h.top, config.h.bot
2601 * Makefile.am (CONFIG_HEADER): Renamed from CONFIG_H
2603 * Makefile.am (CONFIG_H): Define
2605 * acconfig.h: Initial revision
2607 * configure.in: Use AC_CONFIG_HEADER.
2609 * automake.in: Put blah_TEXINFOS into DIST_COMMON
2611 * automake.in: .info file explicitly depends on primary .texi file
2613 * texinfos.am (install-info): Always supply 'else' clause to 'if'
2615 * tags.am (TAGS): Always supply 'else' clause to 'if'
2617 * subdirs.am (.NOEXPORT): Removed (now in footer.am)
2619 * automake.in: Always include footer.am in output
2621 * mans.am (install-man): Always supply 'else' clause to 'if'
2623 * automake.in: More version.texi fixes
2625 * automake.in: Only do version.texi processing if requested.
2627 * automake.in: Minor internationalization fixes.
2628 Subshell can now exit with nonzero status.
2629 Fixed up .texi handling; now uses texi-version.am
2630 Make sure '.c' and '.o' are in .SUFFIXES if required.
2632 * Makefile.am (PACKAGEDATA): Include texi-version.am
2633 (stamp-vti, version.texi): Removed
2634 (TEXINFOS): Don't reference version.texi
2636 * texi-version.am: Initial revision
2638 * dist.am, dist-subd-top.am (dist):
2639 [DIST_SUBDIRS] Follow symlinks when copying.
2641 * dist-subd-top.am (dist): Removed unneeded subdir= option to make
2643 Sat Nov 25 23:23:39 1995 Tom Tromey <tromey@cambric>
2645 * automake.in: Added --amdir option
2647 * Makefile.am, configure.in: Turned on internationalization
2649 * Makefile.am: Set EDITION
2651 * configure.in: Version 0.21
2653 * tags.am, tags-subd.am: Don't use double-colon rules
2655 * automake.in: Redid install-data, install-exec, uninstall handling
2657 * configure.in: Turn off i18n
2659 Fri Nov 24 23:51:37 1995 Tom Tromey <tromey@cambric>
2661 * automake.in (common): Remove NLS
2663 * automake.in (common): Include ABOUT-NLS.
2665 * automake.in: Test for install-sh and mkinstalldirs
2667 * automake.in: Blank line after OBJECTS= line
2669 * automake.in: Start subshell in loop after check for Makefile.am
2671 * automake.in: --use-deps now the default
2673 * automake.in (am_dir): Don't apply transform to install directory name
2675 * packagedata.am: Don't apply transform to install directory name
2677 * Makefile.am (SUBDIRS): Hold off on internationalization
2679 Thu Nov 23 18:02:38 1995 Tom Tromey <tromey@cambric>
2682 Write 'SOURCES =' line after copying Makefile.am variables
2684 * automake.in: Fixed bug in "--" option processing
2686 * subdirs.am: ($(RECURSIVE)): Removed trailing \ from last line
2688 * Makefile.am (DIST_OTHER): Include gettext-sh
2690 * Makefile.am (SUBDIRS): Define
2692 * configure.in: Include internationalization bits
2694 * automake.in: Many changes to avoid double-colon rules.
2696 * subdirs.am: ($(RECURSIVE)): Print name of target actually used
2698 * subdirs.am: Removed "::" rules
2700 * header.am: Removed install, uninstall
2702 * header.am: Added install, uninstall targets
2704 * hack-make.sed: Rewrite targets like "all-local" to "all_local"
2706 * header.am, libraries.am, mans.am, texinfos.am, footer.am:
2709 * Makefile.am (PACKAGEDATA): Include libscripts.am
2711 * libprograms.am: Don't install libscripts here
2713 * libscripts.am: Initial revision
2715 * scripts.am, programs.am, libprograms.am: Removed "::" rules
2717 * automake.in (am_dir): Run package name through name transform.
2719 * automake.in: Don't use packagedata.sed or data.sed
2721 * Makefile.am (PACKAGEDATA): Removed data.sed, packagedata.sed. Added
2724 * data.am: No longer run through sed
2726 * packagedata.am: Initial revision
2728 Wed Nov 22 22:31:02 1995 Tom Tromey <tromey@cambric>
2730 * automake.in: No blank line after Usage
2732 * automake.in: Removed "NLS nuisances" section.
2733 Now uniformly uses $echo for user-visible messages (in advance of
2734 internationalization)
2736 * subdirs.am (maintainer-clean): Don't use realclean-local
2738 * Makefile.am: Use PACKAGEDATA, not custom code
2740 * data.am: Use @LONG@, not $(@LONG@)
2742 * automake.in: Handle DATA and PACKAGEDATA
2744 * packagedata.sed: Initial revision
2746 * data.am: Use @DIR@, not $(@DIR@)
2748 * data.sed: Use $(datadir), not datadir
2750 * data.sed: Initial revision
2752 * data.am: Wrote uninstall targets
2754 * data.am: Initial revision
2756 * dist-subd.am (dist): Don't link a file that has already been linked
2758 * dist-subd-top.am, dist.am (dist):
2759 Run `automake --include-deps' before making distribution
2761 * automake.in: More dependency-tracking bug fixes
2763 * dist-vars.am (DIST_FILES): Rearranged to be like dist-vars-subd.am
2765 * dist-subd-vars.am (DIST_FILES): Include DIST_COMMON
2767 * tags-subd.am, tags.am: Added trailing blank line
2769 * depend.am: Use ".P", not "empty.P", as placeholder.
2771 * automake.in: Only include depend.am if SOURCES not empty
2773 * automake.in: Added --use-deps and --include-deps options.
2774 Handle auto-generating dependencies.
2776 * Makefile.am (am_DATA): Include depend.am
2778 * depend.am: Initial revision
2780 * automake.in: Look for acconfig.h, config.h.top, and config.h.bot
2782 * automake.in: Put blank line after .SUFFIXES
2784 * scripts.am: Added blank line at end
2786 * scripts.am: Removed unnecessary comment
2788 * scripts.am: Removed unnecessary workarounds
2790 * automake.in: Don't include programs.am if PROGRAMS empty
2792 * header-vars.am (INSTALL_SCRIPT): Typo
2794 * texinfos.am, compile-kr.am: Don't include .SUFFIXES
2796 * automake.in: Handle .SUFFIXES here.
2798 * configure.in: Use fp_PROG_INSTALL
2800 * header-vars.am: Changes for autoconf 2.5.
2801 Now includes INSTALL_SCRIPTS.
2803 * texinfos.am (install-info): Bug fix
2806 Include scripts.am or libscripts.am in output if appropriate
2808 * programs.am (install-programs, uninstall-programs):
2809 Don't install SCRIPTS
2811 * Makefile.am (am_DATA): Include scripts.am
2813 * scripts.am: Initial revision
2815 Tue Nov 21 09:11:38 1995 Tom Tromey <tromey@cambric>
2818 Cleaned up how "prog_SOURCES" variable is found in input.
2820 Put static sed scripts into separate, installed files.
2822 * Makefile.am (am_DATA): Include hack-make.sed and nl-remove.sed
2824 * hack-make.sed, nl-remove.sed: Initial revision
2826 * texinfos.am (install-info): Rewrote
2828 * subdirs.am (all-recursive): Put with other -recursive rules
2830 * configure.in: Version 0.20
2832 * automake.in: Another bug fix
2834 * automake.in: Bug fix when looking for texinfo.tex
2836 * texinfo.tex: Initial revision
2839 If TEXINFOS defined but texinfo.tex does not exist, give warning.
2841 * subdirs.am (all): Renamed from _all. Now uses all-recursive
2842 (all-recursive): Don't fail immediately if -k specified.
2844 Mon Nov 20 22:48:03 1995 Tom Tromey <tromey@cambric>
2846 * subdirs.am (_all):
2847 New target. Now use Jim Meyering's formulation of AIX
2849 (install-exec, install-data): New targets
2851 Sat Nov 18 19:07:30 1995 Tom Tromey <tromey@cambric>
2853 * remake.am (Makefile.in): automake "Makefile", not "Makefile.am"
2855 * automake.in: Use @datadir@
2857 * automake.in: Added @configure_input@ line
2859 Fri Nov 17 23:32:43 1995 Tom Tromey <tromey@cambric>
2861 * automake.in: "--help" option now prints auto-recognized file names.
2862 Allow AM_ overriding of more variables.
2864 * texinfos.am (install-info):
2865 Don't cd to srcdir to avoid breaking install-sh
2868 * Makefile.am: Handle automake.texi
2870 Thu Nov 16 18:43:43 1995 Tom Tromey <tromey@cambric>
2872 * subdirs.am (all): Separated out due to AIX 3.2.5 bug.
2874 * tags.am (TAGS): bug fix
2876 * automake.in: Use am_dir, not AM_DIR.
2877 Use version, not VERSION.
2878 Bug fix in TAGS code.
2880 * Makefile.am (am_DATA): Include tags.am and tags-subd.am
2882 * subdirs.am: TAGS target now in tags.am
2884 * footer.am: TAGS and ID targets now in tags-subd.am
2886 * tags-subd.am, tags.am: Initial revision
2888 * automake.in: Cleaned up AM_PROGRAM code.
2889 Handle TAGS target better
2891 * remake.am, remake-subd.am (Makefile.in): Bug fix.
2893 * automake.in (usage): Updated
2895 * remake-subd.am, remake.am:
2896 Added rule where Makefile.in depends on Makefile.am
2898 * automake.in: Entire body of 'for' loop now in subshell
2900 * automake.in (common): config.guess and config.sub are common files.
2902 * dist-subd-top.am, dist.am (dist): Bug fix.
2904 * Makefile.am (DIST_OTHER): Don't include TODO
2906 * automake.in: Auto-include TODO and THANKS files.
2908 * dist-subd-top.am, dist.am (dist): Don't depend on DIST_DIRS
2910 * automake.in: More bug fixes in "look for Makefile.am" code.
2912 * automake.in: Bug fix in "look for Makefile.am" code.
2915 If no arguments given, look for all Makefile.am's in this
2916 directory and in immediate subdirs
2918 * automake.in: Bug fixes for LDADD-override feature.
2920 * program.am: Use @PROGRAM@_LDADD, and put after LDFLAGS
2922 * automake.in: Allow `prog_LDADD', if specified, to override LDADD.
2924 * automake.in: Use AM_PROGRAMS, not ALLPROGRAMS, and invert sense.
2926 * header-vars.am (ALL): Use PROGRAMS, not ALLPROGRAMS.
2928 Wed Nov 15 01:54:43 1995 Tom Tromey <tromey@cambric>
2930 * automake.in: No longer look for _SOURCES or _OBJECTS
2933 Remove "automatically created" header (now in automake).
2936 * automake.in: Put version info in Makefile header
2938 Tue Nov 14 23:38:17 1995 Tom Tromey <tromey@cambric>
2940 * automake.in: Minor cleanups
2942 * dist-subd-top.am, dist.am (dist):
2943 Don't link or copy file if it already exists.
2946 Look for _SOURCES (common sources) and generate _OBJECTS.
2948 * footer.am (ID, TAGS): Include HEADERS
2950 * dist-vars.am, dist-subd-vars.am (DIST_FILES): Include HEADERS
2952 Mon Nov 13 22:20:02 1995 Tom Tromey <tromey@cambric>
2954 * dist-subd.am (distdir): Is relative to ".."
2956 * dist-subd-vars.am (PACKAGE, VERSION): Define
2958 * dist-subd.am (dist): Don't handle DIST_DIRS.
2960 * mans.am (uninstall-man): Another bug fix.
2962 * mans.am (uninstall-man): Bug fix.
2964 * dist.am, dist-subd-top.am (dist): Bug fix
2966 * Makefile.am (DIST_SUBDIRS): New macro
2968 * dist-subd-top.am, dist.am (dist): Handle DIST_SUBDIRS
2970 * Makefile.am (DIST_OTHER): Include automake.in
2972 * Makefile.am (DISTCLEANFILES): New macro.
2974 * automake.in (common): Include COPYING.LIB
2976 * Makefile.am (automake): New rule.
2978 * texinfos.am (install-info): Changed per GNU standards
2980 * remake-hdr.am (stamp-h.in):
2981 Use "touch", not "date", per GNU standards.
2983 * automake.in (common): Include texinfo.tex
2985 Sun Nov 12 23:59:08 1995 Tom Tromey <tromey@cambric>
2987 * automake.in: More fixes when finding common files.
2989 * Makefile.am (DIST_OTHER): Another removal.
2991 * automake.in: Special-case when amdir=.
2993 * Makefile.am (DIST_OTHER): Removed auto-detected files.
2996 Search for commonly-used files and auto-include them in distribution
2998 * dist-vars.am (DIST_FILES): Include DIST_COMMON.
2999 (DIST_CONF): Removed files searched for by automake.
3001 * automake.in: More arg-parsing bug fixes.
3003 * Makefile.am (DIST_OTHER): Include install-sh
3005 * Makefile.am (DIST_OTHER): Don't include auto-included files.
3007 * automake.in: Bug fixes to argument parsing code.
3009 * automake.in: Handle --version and --help.
3010 NLS stuff from autoconf.
3012 * Makefile.am (amdatadir): Fixed typo.
3013 (install): Make install directories
3015 * Makefile.am: Use "install::", not "install:"
3017 * install-sh, mkinstalldirs: Initial revision
3019 * configure.in: Use AC_PROG_INSTALL
3021 * automake.in: Set AM_DIR based on configure results.
3023 * Makefile.am (install): New target.
3024 (amdatadir): New variable.
3026 * automake.in: Use "#! /", not "#!/".
3028 * Makefile.am, configure.in: Initial revision
3030 * automake.in: Renamed from "automake".
3033 * dist.am (PACKAGE, VERSION): Now in dist-vars.am
3035 * automake.in: Insert remake-subd.am if appropriate.
3037 * subdirs.am (TAGS): Include $(CONFIG_HEADER) when making tags.
3039 * automake.in: Handle ALLPROGRAMS variable.
3041 * header-vars.am (ALL): Use ALLPROGRAMS, not PROGRAMS.
3043 * automake.in: Fixlet when printing "subdir=DIR"
3045 * automake.in: Put "subdir=DIR" into subdir Makefile
3047 * automake.in: Don't refer to distname.am.
3048 Only put footer.am in subdir Makefiles.
3050 * subdirs.am (id, ID): New target.
3051 (.NOEXPORT): Copied from footers.am.
3053 * subdirs.am (TAGS): Bug fixes.
3055 * subdirs.am (TAGS): Don't fail if a subdir doesn't have TAGS target.
3057 * subdirs.am (maintainer-clean-local): Remove TAGS
3059 * subdirs.am (TAGS): Make tags file that includes all subdir tags files
3061 * subdirs.am: Use maintainer-clean, per GNU standards
3063 * dist-subd-top.am: Some variables defined in dist-vars.am
3065 * dist-vars.am (PACKAGE, VERSION):
3066 New variables, initialized by configure
3068 * footer.am (id, ID): New targets
3069 (TAGS): Put TAGS file in build, not source, directory
3071 * remake-subd.am (Makefile): Don't assume subdir is 'src'
3073 * dist.am: Changed to assume PACKAGE and VERSION are set by configure.
3075 * dist-subd.am: Changed to conform to new top-level dist target.
3078 Changed to assume PACKAGE and VERSION are set by configure.
3080 * clean-kr.am, clean.am (maintainer-clean):
3081 Updated rules per GNU standards.
3083 * clean.am, clean-kr.am (maintainer-clean): Renamed from realclean.
3085 Sat Nov 5 14:39:50 1994 djm <djm@cambric>
3087 * automake.in, texinfos.am: kludge for multiple-part info files
3089 Thu Nov 3 13:33:44 1994 djm <djm@cambric>
3091 * clean.am, clean-kr.am: remove INFOS
3093 Wed Nov 2 06:15:42 1994 djm <djm@cambric>
3095 * texinfos.am: add path
3097 * remake.am, remake-hdr.am: account for VPATH limitations
3099 Mon Oct 24 23:01:59 1994 djm <djm@cambric>
3101 * automake.in, dist-subd-top.am, dist-subd.am, dist.am, header-vars.am, libprograms.am, programs.am:
3102 handle SCRIPTS and LIBSCRIPTS similar to PROGRAMS
3104 Sun Oct 23 01:50:41 1994 djm <djm@cambric>
3106 * texinfos.am: install-info depends on info files
3108 * dist-subd-vars.am, dist-vars.am: distrib info files
3110 Sun Oct 2 02:03:06 1994 djm <djm@cambric>
3112 * clean-kr.am, clean.am: fix up distclean
3114 * subdirs.am: fix typo
3116 * clean.am: do more in distclean
3118 Sat Oct 1 23:52:51 1994 djm <djm@cambric>
3120 * libraries.am: make install depend on all
3122 * automake.in: fix typo
3124 Wed Sep 28 21:15:26 1994 djm <djm@cambric>
3126 * dist-subd-vars.am, dist-vars.am, header-vars.am: fix doc bugs
3128 * automake.in, compile-vars.am, dist.am: fix dist for no subdirs
3130 * dist-subd-top.am: Initial revision
3132 * automake.in, header-vars.am, libraries-vars.am, mans-vars.am, texinfos-vars.am:
3133 centralize prefix var setting
3135 * header-vars.am: set all the std vars based on prefix
3137 Tue Sep 27 01:32:22 1994 djm <djm@cambric>
3139 * automake.in: don't add kr stuff if not needed
3141 * dist-vars.am: add config vars to dist
3143 Mon Sep 26 23:09:09 1994 djm <djm@cambric>
3145 * program.am: add LDADD
3147 * compile-vars.am: remove LDADD from LDFLAGS
3149 * clean.am: move knr stuff to another file
3151 * automake.in: use different clean file for ansi2knr
3153 * clean-kr.am: Initial revision
3155 Thu Sep 22 03:45:02 1994 djm <djm@cambric>
3157 * automake.in, dist-subd.am, dist.am: fix rules and dist
3159 Tue Sep 20 21:29:40 1994 djm <djm@cambric>
3161 * compile.am, automake.in: split out knr
3163 * compile-kr.am: Initial revision
3165 * libprograms.am: fix typo
3167 * automake.in, clean.am, compile-vars.am, header-vars.am, libprograms.am:
3168 make libprograms work
3170 * libprograms.am: Initial revision
3172 * automake.in, compile.am, header-vars.am: fix little bugs
3174 * compile.am: allow parallel K&R
3176 * clean.am: remove kerb temps
3178 * automake.in: fix recognizing start of rules
3180 * dist-subd.am, dist.am: fix dist
3182 * automake.in, compile.am, footer.am, texinfos.am: fix ansi2knr
3184 Mon Sep 19 23:39:21 1994 djm <djm@cambric>
3186 * automake.in: works on m4 too
3188 * automake.in, mans.am: works on fileutils
3190 * automake.in, clean.am, compile.am, dist-subd.am, dist.am, footer.am, header-vars.am, header.am, libraries.am, library.am, mans-vars.am, mans.am, programs.am, remake-hdr.am, remake-subd.am, remake.am, subdirs.am, texinfos.am:
3191 works on fileutils except for all
3193 * automake.in: vars thing
3195 * header-vars.am: Initial revision
3197 * texinfos-vars.am, mans-vars.am, libraries-vars.am, dist-vars.am, dist-subd-vars.am:
3200 * compile-vars.am: Initial revision
3202 * automake.in: many improvements
3204 * footer.am: Initial revision
3206 * dist.am: remove distname
3208 * automake.in: namespace cleanup
3210 * distname.am: Initial revision
3212 * automake.in, clean.am, compile.am, dist-subd.am, dist.am, header.am, libraries.am, library.am, mans.am, program.am, programs.am, remake-hdr.am, remake.am, subdirs.am, texinfos.am:
3215 * mans.am, libraries.am, texinfos.am, library.am, compile.am, program.am, programs.am, clean.am, subdirs.am, remake-subd.am, remake.am, remake-hdr.am, dist.am, dist-subd.am, header.am, automake.in: