Sat Feb 24 15:02:19 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (scan_configure): AC_CHECK_TOOL requires config.sub
and config.guess.
* automake.in: Use keyed_aclocal_warning when warning about
fp_PROG_INSTALL.
(get_object_extension): Use keyed_aclocal_warning when warning
about fp_C_PROTOTYPES.
(keyed_aclocal_warning): New function.
* Makefile.am (pkgdata_DATA): Install aclocal.m4.
* aclocal.m4: Include fp_C_PROTOTYPES, fp_PROG_CC_STDC.
* automake.in (get_object_extension): Only give error about
fp_C_PROTOTYPES once.
* automake.in (seen_ranlib): New variable.
(scan_configure): Recognized AC_PROG_RANLIB.
(handle_libraries): Error if ranlib not checked for.
* automake.in (default_strictness): Default to GNU.
(default_strictness_name): Ditto.
Wed Feb 21 18:15:02 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (read_am_file): Removed @kr@ support.
(get_object_extension): Ditto.
* Makefile.am (pkgdata_DATA): Include ansi2knr.c and ansi2knr.1.
Tue Feb 20 17:25:18 1996 Tom Tromey <tromey@creche.cygnus.com>
* depend.am ($(srcdir)/.deps/%.P): Regexp fix.
Mon Feb 19 09:53:09 1996 Tom Tromey <tromey@creche.cygnus.com>
* remake.am ($(srcdir)/Makefile.in): Depend on configure.in.
* remake-subd.am ($(srcdir)/Makefile.in): Depend on configure.in.
* automake.in (handle_scripts): Ensure $scripts_installed set to
boolean value. Test proginst.test.
* Makefile.am (installcheck-local): New target.
* automake.in (require_file): No error if missing file is
installed.
Sun Feb 18 17:10:00 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_scripts): SCRIPTS no longer automatically
cleaned. Now possible to install scripts in pkgdatadir.
($seen_canonical): New variable.
(generate_makefile): Check for config.guess and config.sub here;
fixes bug reported by Gord Matzigkeit.
* Makefile.am (pkgdata_SCRIPTS): New variable.
(CLEANFILES): New macro.
* scripts-clean.am: Removed.
Sat Feb 17 00:15:20 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (am_install_var): Error if primary variable actually
defined.
(am_install_var): Skip elements that look like configure
substitutions.
(am_install_var): "EXTRA" is a valid prefix.
(am_install_var): Push contents EXTRA_PRIMARY onto @result.
(handle_merge_targets): Treat "all" target like "install".
(handle_subdirs): Don't push all-recursive.
* header.am (install-@DIR@HEADERS): Don't depend on all.
* data.am (install-@DIR@DATA): Don't depend on all.
* libraries.am (install-@DIR@LIBRARIES): Don't depend on all.
* programs.am (install-@DIR@PROGRAMS): Don't depend on all.
* scripts.am (install-@DIR@SCRIPTS): Don't depend on all.
* automake.in (am_install_var): Push generated install targets
onto @phony.
* subdirs.am: No longer depend on Makefile and $(CONFIG_HEADER).
* automake.in (handle_merge_targets): Correctly handle recursive
calls of uninstall, install-exec, and install-data.
(handle_merge_targets): Put Makefile, and possibly $config_name,
onto @all.
(handle_merge_targets): Push 'all' onto @install as appropriate.
Fri Feb 16 08:27:04 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_configure): config.status is in
$(top_builddir), not $(top_srcdir). Reported by Anthony Green.
* automake.in (scan_configure): Recognize (AC|fp)_FUNC_FNMATCH.
Thu Feb 15 09:12:45 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in: (seen_prog_yacc): New variable.
(scan_configure): Look for yacc.
(handle_source_transform): Skipp C++ header files.
(handle_source_transform): .cxx is a C++ source file.
Wed Feb 14 08:36:02 1996 Tom Tromey <tromey@creche.cygnus.com>
* depend.am ($(srcdir)/.deps/.P): Use "echo", not ":".
Implemented --verbose feature; idea from Greg Woods:
* automake.in (verbose): New global.
(generate_makefile): Print creating message if verbose.
(grep_for_vers_texi): Print message if verbose.
(handle_dependencies): Ditto.
(scan_configure): Ditto.
(read_am_file): Ditto.
(parse_arguments): Added --verbose.
(initialize_global_constants): Ditto.
* automake.in (get_object_extension): Use am_line_error.
(handle_source_transform): Ditto.
(handle_libraries): Ditto.
(handle_texinfo): Ditto.
(handle_man_pages): Ditto.
(handle_dist): Ditto.
(handle_dist): Ditto.
(handle_subdirs): Ditto.
(handle_configure): Ditto.
(handle_merge_targets): Ditto.
(am_install_var): Ditto.
(am_line_error): Allow actual line number as argument.
(handle_configure): Use am_line_error.
(scan_configure): Set config_header_line.
(config_header_line): New global.
Use @PERL@ to find perl during exec. From Greg Woods.
Tue Feb 13 12:06:51 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (initialize_per_input): Init %content_lines.
(read_am_file): Set appropriate content_lines elements while
reading.
(am_line_error): New function.
(read_am_file): Use it.
(handle_options): Ditto.
* automake.in (scan_configure): Handle case where more than one .o
is put into LIBOBJS at once. Test libobj.test.
Mon Feb 12 10:39:28 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (scan_configure): Ignore "\" in AC_OUTPUT line.
Test acouttbs.test.
(handle_subdirs): Restored intl, po warnings.
* automake.in (scan_configure): Delete everything after "," or
")". Test acoutnoq.test.
(handle_dist): Use $relative_dir, not nonexistent $subdir.
(handle_subdirs): 'po' and 'intl' are sometimes substituted into
SUBDIRS; don't warn about their absence.
Sun Feb 11 15:55:15 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_texinfo): Removed bogus error message.
* automake.in (handle_texinfo): Push $(INFO_DEPS), not 'info',
onto @all.
(handle_options): Handle version number.
* automake.in ($maint_charset, $dist_charset): New variables.
(initialize_per_input): Init $local_maint_charset.
(handle_dist): Handle DIST_CHARSET and MAINT_CHARSET.
(generate_makefile): Don't print "creating...".
Sat Feb 10 16:45:07 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (get_object_extension): Substitute
@CONFIG_INCLUDE_SPEC@ if CONFIG_HEADER defined.
(handle_source_transform): Use $1, not \1.
(pretty_print_internal): Handle Tabs in fill when computing indent
on new line.
(handle_merge_targets): Always generate install-exec and
install-data targets. Test instexec.test.
Fixed error message if fp_PROG_INSTALL missing.
* compile-vars.am (DEFS): Include -I., -I$(srcdir), and
@CONFIG_INCLUDE_SPEC@.
* automake.in (scan_configure): Delete everything after "]". Test
acoutput.test.
* configure.in (AC_OUTPUT): Create tests/Makefile.
* Makefile.am (SUBDIRS): New macro.
* automake.in (handle_texinfo): Put $vtexi on texi_deps. From Jim
Meyering.
* configure.in (AC_OUTPUT): Ensure automake is executable.
Thu Feb 8 15:30:29 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_subdirs): Error if directory in SUBDIRS does
not exist.
* automake.in (handle_configure): Handle AC_OUTPUT ":" syntax.
From Jim Meyering:
* libraries.am (install-@DIR@LIBRARIES): Depend on all, not
(@DIR@_LIBFILES).
* header.am (install-@DIR@HEADERS): Depend on all, not
$(@DIR@_HEADERS).
* data.am (install-@DIR@DATA): Depend on all, not $(@DIR@_DATA).
* scripts.am (install-@DIR@SCRIPTS): Depend on all, not
$(@DIR@_SCRIPTS).
* programs.am (install-@DIR@PROGRAMS): Depend on all, not
$(@DIR@_PROGRAMS).
* automake.in (initialize_per_input): Initialize
$use_dependencies.
($seen_path_xtra): New variable.
(scan_configure): Look for AC_PATH_XTRA.
(get_object_extension): Add variables to output if X seen.
Thu Feb 8 10:02:45 1996 Greg A. Woods <woods@most.weird.com>
* automake.in (handle_programs): add pkglib to list of
directories for C
(various): include a tab as fill for continuation lines
printed with pretty_print*, esp. for macro variable assignments.
[ changed to 4 spaced by me ]
Wed Feb 7 18:00:29 1996 Tom Tromey <tromey@creche.cygnus.com>
* configure.in (VERSION): Upped to 0.30.
* Makefile.am (automake): Removed.
(DIST_OTHER): Removed.
* automake.in (handle_source_transform): All dep_files are
relative to $(srcdir).
(handle_libraries): Ditto.
(scan_configure): Test for AC_PROG_INSTALL as well as
fp_PROG_INSTALL. Don't error here.
(seen_prog_install): Now global.
(scripts_installed): New global.
(handle_scripts): Set it.
Give error if appropriate install macro not seen.
(handle_subdirs): Ensure $seen_gettext before requiring
gettext-specific files.
(handle_configure): Automatically rebuild
From Jim Meyering:
* automake.in (handle_source_transform): Use \W when quoting
regexp. When blah_SOURCES not explicitly defined, still create
entry in %deps.
* depend.am ($(srcdir)/.deps/%.P): Don't use \< in regexp.
* subdirs.am (maintainer-clean-recursive): Now depends on
$(CONFIG_HEADER) and Makefile.
* automake.in (handle_source_transform): Skip macro references.
Mon Feb 5 14:58:58 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_texinfo): Include "rm" when deleting files.
* Makefile.am (maintainer-check): Expect only one ${...}.
* texinfos.am (install-info): Remove unneeded ${...}. From Jim
Meyering.
* automake.in (handle_configure): Only define CONFIG_HEADER if
$config_name.
($seen_gettext): New variable.
(handle_subdirs): Do all gettext-related checking here.
(scan_configure): Just set $seen_gettext.
(handle_man_pages): Properly quote $(MANS).
Wed Jan 31 09:51:30 1996 Tom Tromey (tromey@gerbil.cygnus.com)
* depend.am: Don't use srcdir anywhere.
* automake.in (handle_libraries): Don't make .deps relative to
srcdir.
(handle_options): Recognize no-dependencies.
* depend.am (MKDEP): From Jim Meyering: Do nothing if srcdir is
".". Properly quote regexp.
Tue Jan 30 12:19:09 1996 Tom Tromey (tromey@gerbil.cygnus.com)
* automake.in (handle_configure): Only defined CONFIG_HEADER if
$config_name.
(read_am_file): Quote regexp when substituting top_builddir.
(handle_source_transform, handle_libraries): Look in
$(srcdir)/.deps for .P files.
Fri Jan 26 00:15:25 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (am_conf_error): New function.
(scan_configure): Use it.
(scan_configure): A comma also ends AC_OUTPUT macro.
* automake.in (read_am_file): Compute top_builddir when including
header-vars.am.
(handle_configure): Use $top_builddir, not $top_reldir.
(other_input_files): New variable.
(dirname): Fixed bug where dirname of 'a/b/c' was 'a', not 'a/b'.
Changes from Gord Matzigkeit to enabled hierarchies deeper than 2:
* automake.in (input_files, seen_make_set): Declare globally.
(parse_arguments): Use input_files, not make_list.
Only scan configure.in once.
(handle_dist): Use SUBDIRS to determine when to make
subdirectories and recurisvely dist. Use $(topdir), not "..", to
find top of dist tree.
(handle_configure): Check for AC_PROG_MAKE_SET here. Don't require
configure.in (done elsewhere).
(scan_configure): seen_make_set is global. Allow arbitrary space
in LIBOBJS assignment.
(top_builddir): New variable.
* header-vars.am (top_builddir): New variable.
* remake-subd.am (Makefile): Look in top_builddir, not .., when
remaking.
* automake.in (handle_merge_targets): Run 'all' before
check-recursive.
* automake.in (file_contents_with_transform): Changed error
message.
(handle_configure): Define $contents{'CONFIG_HEADER'}.
* texi-version.am: Many changes to support multiple .texi files.
Replaced "version.texi" with "@VTEXI@". Replaced "vti" with
"@VTI@".
* automake.in (handle_configure): install.sh is an anachronism.
(handle_texinfo): Generalized for multiple .texi files. Handle
'clean-info' internally.
* texi-clean.am: Removed.
* Makefile.am: Updated for removal.
Wed Jan 24 22:55:32 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (grep_for_vers_texi): New function.
(handle_texinfo): Use grep_for_vers_texi, not system("grep").
(handle_texinfo): Changes to generalize to multiple .texi files.
Tue Jan 23 14:22:16 1996 Tom Tromey <tromey@creche.cygnus.com>
Fixes from Gord Matzigkeit:
* libraries.am (install-@DIR@LIBRARIES): Use top_srcdir, not
topsrcdir.
* header.am: New file.
* Makefile.am (pkgdata_DATA): Install header.am.
* automake.in (handle_headers): Use header.am, not data.am.
(am_install_var): Allow pattern to be compiled multiple times.
* config.guess, config.sub: New files.
* Makefile.am (pkgdata_DATA): Install config.guess and
config.sub.
* automake.in (scan_configure): Recognize AC_CANONICAL_HOST and
AC_CANONICAL_SYSTEM.
Sun Jan 21 15:51:48 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_texinfo): Use info_TEXINFOS, not TEXINFOS.
(handle_man_pages): Use man_MANS, not MANS.
* Makefile.am (info_TEXINFOS): Renamed.
* automake.in (scan_configure): Remove comments from input line.
(am_variable): Removed.
* remake-hdr.am (stamp-h): Use new macro CONFIG_HEADER_IN.
* automake.in (config_name, config_header): New globals.
(scan_configure): Look for AC_CONFIG_HEADER.
(handle_configure): Handle more uses of AC_CONFIG_HEADER.
Sat Jan 20 15:54:24 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_dist_worker): Bug fix.
Fri Jan 19 00:50:29 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (require_file): Install missing files only according
to desired strictness.
(initialize_per_input): Don't init libsources.
(scan_configure): Reinit libsources.
(handle_libraries): Search _LIBADD for @LIBOBJS@ and @ALLOCA@.
(fp_c_prototypes): New global.
(scan_configure): Set it.
(get_object_extension): Error if fp_C_PROTOTYPES not in
configure.in when using ansi2knr.
(handle_source_transform): Skip header files.
* automake.in (handle_dist_worker): Explicitly make 'dist' in
subdirs.
Thu Jan 18 00:25:56 1996 Tom Tromey <tromey@creche.cygnus.com>
From Fran