Fri Nov 15 18:58:04 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (initialize_per_input): Init de_ansi_objects.
(handle_single_transform_list): Error if extension unrecognized.
Set elements of de_ansi_objects.
(get_object_extension): Don't push ANSI2KNR onto @all.
(handle_yacc_lex_cxx): Put ANSI2KNR into dependency of all ._o
files.
(pretty_print_internal): Initialize $bol depending on the column.
Fri Nov 15 16:22:15 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
* library.am: Fixed references to LIBRARY according to new scheme.
* libs.am, libs-clean.am: Removed references to LIBFILES.
* automake.texi (A Library): doc fix
* automake.in (handle_libraries): Deleted references to *LIBFILES,
since we now have the full library name in the *LIBRARIES
variable.
(am_install_var): Removed `-no-all' option, which was only required
for the LIBFILES hack.
Fri Nov 15 16:39:29 1996 Tom Tromey <tromey@cygnus.com>
* automake.in: Applied libtool-related patches from Gord.
(scan_configure): Set CC configure var if AM_PROG_LIBTOOL seen.
Also indicate that AC_CANONICAL_HOST was run.
* Makefile.am (pkgdata_DATA): Removed aclocal.m4.
Thu Nov 14 23:11:09 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_yacc_lex_cxx): Don't auto-define YACC, LEX,
CXX, CC.
* dejagnu.am: Print warning if runtest missing.
From Joerg-Martin Schwarz:
* automake.in (handle_aclocal_m4): Find aclocal.m4 in srcdir.
(require_file_internal): Unlink file before creating it.
* depend2.am (.deps/%.P): Don't print commands when running.
Mon Nov 11 10:35:08 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_single_transform_list): Simplified C++
matching expression.
Fri Nov 8 09:49:09 1996 Tom Tromey <tromey@cygnus.com>
* Released 1.1g.
* compile-kr.am ($(OBJECTS)): Removed.
* automake.in (get_object_extension): Define ANSI2KNR. Push onto
@all if ansi2knr is in this directory.
* configure.in: Don't run AC_ARG_PROGRAM, AC_PROG_MAKE_SET.
* m4/init.m4: Run AM_SANITY_CHECK.
* m4/sanity.m4: New file.
* automake.in (handle_dist_worker): In Cygnus mode, possibly find
files to dist in build dir, not srcdir.
(%omit_dependencies): New global.
(scan_dependency_file): Handle OMIT_DEPENDENCIES.
(scan_configure): Put rx.h, regex.h on %omit_dependencies. Ditto
libintl.h.
(handle_tests): Remove CYGNUS strings in Cygnus mode.
(handle_texinfo): Ditto.
* texinfos.am (dist-info): New target.
* automake.in (handle_dist_worker): Use DISTFILES, not
DEP_DISTFILES.
(initialize_per_input): Initialize dist_targets.
(handle_texinfo): Don't compute @infos_list; don't define or use
INFOS. Put dist-info onto @dist_targets.
(handle_dist_worker): Handle @dist_targets. Don't use the "echo
trick" for expanding DISTFILES any more.
* dist-vars.am (DEP_DISTFILES): Removed.
(DISTFILES): Don't include INFOS.
* automake.in (handle_texinfo): Handle Cygnus mode.
* texinfos.am (.texi.info, .texinfo.info): Handle Cygnus mode.
* automake.in (handle_single_transform_list): New sub.
(handle_source_transform): Use it.
(handle_built_sources): New sub.
Thu Nov 7 14:49:16 1996 Tom Tromey <tromey@cygnus.com>
* remake.am ($(srcdir)/Makefile.in): Pass @ARGS@ to automake.
* remake-subd.am ($(srcdir)/Makefile.in): Pass @ARGS@ to
automake.
* automake.in (handle_configure): Pass --cygnus when running
automake again.
* remake-hdr.am ($(srcdir)/stamp-h.in): Depend on @FILES@, not
ACCONFIG, CONFIG_TOP, CONFIG_BOT.
* automake.in (handle_aclocal_m4): Always find aclocal.m4 in
top_srcdir.
(handle_configure): Don't define ACCONFIG, CONFIG_TOP, CONFIG_BOT;
instead substitute files directly.
Wed Nov 6 10:22:26 1996 Tom Tromey <tromey@cygnus.com>
* remake-hdr.am (stamp-h): Look in top_builddir for
config.status.
($(srcdir)/stamp-h.in): Look in top_srcdir for configure.in.
Thu Oct 31 10:55:59 1996 Tom Tromey <tromey@cygnus.com>
* texinfos.am (.texi.dvi): Set MAKEINFO when running texi2dvi.
From Jim Meyering.
* automake.in (handle_texinfo): Push install-info-am, not
install-info.
(handle_merge_targets): Handle no-installinfo option.
* texinfos.am (install-info-am): Renamed from install-info.
* automake.in (handle_subdirs): Include install-info-recursive if
no-installinfo given.
* subdirs.am: Include INSTALLINFO token.
* automake.in (handle_texinfo): Explicitly define MAKEINFO,
TEXI2DVI.
(cygnus_mode): New global.
(handle_dist_worker): Pass --cygnus to automake.
(initialize_global_constants): Document --cygnus.
(check_cygnus): New sub.
(handle_texinfo): Don't require texinfo.tex in Cygnus mode.
* texi-vars.am: Removed.
* dejagnu.am (check-DEJAGNU): Don't define rootme.
* automake.in (handle_tests): Define EXPECT, RUNTEST.
* dejagnu.am (EXPECT): Removed.
(RUNTEST): Removed.
* automake.in (define_program_variable): New sub.
Mon Oct 28 10:43:48 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_dependencies): Use -M, not -MM, for C++
dependencies.
Thu Oct 24 20:21:50 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (check_libobjs_sources): New sub. Test
libobj4.test.
(handle_source_transform): Don't check for auto-discovered source
files here.
(handle_programs): Run check_libobjs_sources here.
(handle_libraries): Ditto.
* automake.in (define_configure_variable): New function.
(get_object_extension): Use define_configure_variable.
(handle_yacc_lex_cxx): Ditto.
(handle_emacs_lisp): Ditto.
(configure_vars): New global.
(AC_CHECK_PATTERN): New global.
(seen_ranlib, seen_prog_cc, seen_prog_cxx, seen_prog_lex):
Removed.
(handle_yacc_lex_cxx): Use configure_vars, not seen_prog_*.
(AC_SUBST_PATTERN): New global.
(scan_configure): Use AC_SUBST_PATTERN; don't set seen_prog_*.
(handle_libraries): Don't use seen_ranlib.
(read_am_file): Run define_configure_variable on each discovered
variable.
Mon Oct 21 23:06:49 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (scan_configure): Handle AM_INIT_GUILE_MODULE.
(handle_libraries): Pass configure substitutions directly on to
LIBFILES.
* automake.in (AM_PACKAGE_VERSION_PATTERN): New global.
(scan_configure): Use it. Test version.test.
Sun Oct 20 12:08:46 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_dist_worker): Explicitly pass distdir to
dist-hook make. From Tatu Ylonen.
* m4/strtod.m4: Use correct cache variable.
Thu Oct 17 13:45:20 1996 Tom Tromey <tromey@cygnus.com>
Lisp fixes from Erick Branderhorst:
* m4/lispdir.m4: Define lispdir, not LISPDIR.
* lisp.am: Added missing \.
Fri Oct 11 00:44:49 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_source_transform): Only rewrite c, yacc, lex
to use de-ansi-fication.
(scan_configure): Handle multi-line AC_REPLACE_FUNCS. Test
libobj5.test.
* automake.in (handle_lib_objects): Added $lex_seen argument.
Error if lex file used but LEXLIB not seen.
(handle_programs): Ditto.
(handle_yacc_lex_cxx): Define LEXLIB variable.
(handle_lib_objects): Don't allow LEXLIB to end up on dependency
list.
Thu Oct 10 16:12:38 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_gettext): Moved check for SUBDIRS and
ABOUT-NLS here.
* automake.in (handle_configure): Run mkinstalldirs under
$(SHELL).
(handle_yacc_lex_cxx): Run interlock under $(SHELL).
* remake-subd.am (Makefile): Run config.status under $(SHELL).
* remake-hdr.am (stamp-h): Run config.status under $(SHELL).
* remake.am (Makefile): Run config.status under $(SHELL).
(config.status): Ditto.
* automake.in (read_am_file): Removed UNMAINT code.
(file_contents_with_transform): Ditto.
* m4/maintainer.m4: Removed bogus UNMAINT code.
* automake.in (handle_emacs_lisp): Define EMACS variable.
(handle_emacs_lisp): Make sure EMACS is in environment when
elisp-comp is run.
* elisp-comp: Exit with status 1 if usage bad.
Use "emacs -q". Use EMACS environment variable if set (unless set
to t).
* m4/lispdir.m4: Unset EMACS if it is set to `t'.
* automake.in (handle_dist_worker): Allow EXTRA_DIST items to be
in subdirs.
(do_one_merge_target): Use all-am, not all, in subdirs case.
(handle_merge_targets): Always generate all-am in subdirs case.
* remake.am (Makefile): Depend on BUILT_SOURCES.
* remake-subd.am (Makefile): Depend on BUILT_SOURCES.
* depend.am (.deps/.P): Don't depend on BUILT_SOURCES.
* automake.in (handle_yacc_lex_cxx): Handle y.tab.h in non-ylwrap
case.
* ylwrap: Bug fix. From Jim Meyering.
Wed Oct 9 22:51:16 1996 Tom Tromey <tromey@cygnus.com>
* m4/mktime.m4: Don't define AC_HEADER_SYS_TIME_H; instead just
check directly for header.
Mon Oct 7 13:08:15 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX
are obsolete.
Sun Oct 6 00:43:01 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (AC_CONFIG_AUX_DIR_PATTERN): New global.
(AM_INIT_AUTOMAKE_PATTERN): New global.
(scan_configure): Use them.
* aclocal.in (add_file): Search contents of included files. Test
req.test.
(scan_m4_files): Don't skip acinclude.m4 when constructing
search. Test acsilent.test.
(scan_m4_files): Scan acinclude.m4.
* aclocal.in (add_file): Removed debugging print.
(scan_configure): Set $file_contents when scanning acinclude.m4.
Test acinclude.test.
* configure.in: Upped to 1.1g.
* Released 1.1f.
* texinfos.am: Run : after install-info.
* aclocal.in (parse_arguments): Better error message.
* automake.in (parse_arguments): Better error message.
* remake.am (Makefile): Depend on $(srcdir)/Makefile.in, to work
around broken makes. From David A. Swierczek.
* remake-subd.am (Makefile): Ditto.
Sat Oct 5 11:29:48 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (generate_makefile): Put BUILT_SOURCES onto @all if
appropriate.
(handle_source_transform): Error if discovered source file is
mentioned.
(do_one_merge_target): Move all-vs-check test here.
* m4/obstack.m4: New file.
* m4/error.m4: New file.
* automake.in (scan_configure): Support AM_FUNC_MKTIME,
AM_FUNC_ERROR_AT_LINE, AM_FUNC_OBSTACK.
* texinfo.tex: New version from texinfo 3.9.
* automake.in (handle_yacc_lex_cxx): Updated for new ylwrap.
Also, handle y.tab.h file when "yacc -d" is used.
(do_one_merge_target): Use pretty_print_rule.
* ylwrap: Changed usage.
* m4/mktime.m4: New file.
* m4: Renamed all .m4 files to fit into 14-char limits.
* m4/Makefile.am (EXTRA_DIST): New macro.
* aclocal.in ($ac_defun_rx, %map, %file_contents): New globals.
(scan_m4_files): Use $ac_defun_rx.
(add_file): Ditto.
Run scan_m4_files.
(scan_configure): Scan acinclude.m4 before anything else.
(scan_file): New sub.
(check_acinclude): New sub.
(add_file): Rewrote.
* progs-clean.am, progs.am: Renamed from programs-clean.am,
programs.am.
* libs-clean.am, libs.am: Renamed from libraries-clean.am,
libraries.am.
* texi-vars: Renamed from texinfos-vars.am.
* comp-vars.am: Renamed from compile-vars.am.
* texi-vers.am: Renamed from texi-version.am.
* automake.in (require_file_internal): Give error if symlink can't
be made.
(require_config_file): Error message references configure.in.
(handle_yacc_lex_cxx): Fix order of arguments to ylwrap; from
Joerg-Martin Schwarz.
(handle_texinfo): Use texi-vers, not texi-version.
(get_object_extension): Use comp-vars, not compile-vars.
(handle_texinfo): Use texi-vars, not texinfos-vars.
(handle_libraries): Use `libs' prefix, not `libraries'.
(handle_programs): Use `progs' prefix, not `programs'.
Fri Oct 4 01:14:08 1996 Tom Tromey <tromey@cygnus.com>
* aclocal.in (scan_m4_files): New sub.
* m4/AM_FUNC_STRTOD.m4 (am_cv_func_strtod_needs_libm): Set
am_cv_func_strtod_needs_libm, so we can avoid linking with -lm
everywhere.
Thu Oct 3 20:11:16 1996 Tom Tromey <tromey@cygnus.com>
* texinfos.am (uninstall-info): Run install-info --remove.
* automake.in (read_am_file): Define all variables after reading
.am file. Test vpath.test. Reported by Anthony Green.
Mon Sep 30 08:31:51 1996 Tom Tromey <tromey@cygnus.com>
* texinfos.am: Run install-info.
* automake.in (variable_value_as_list): Just return if comment
seen. Report from Mark Galassi.
(handle_options): Don't bother with explicit comment checking.
Tue Sep 24 09:15:46 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (read_am_file): Cleaned up dejagnu variables.
Mon Sep 23 00:04:48 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (parse_arguments): New usage to conform to GNU
standards.
* aclocal.in (parse_arguments): New usage to conform to GNU
standards.
* automake.in (handle_scripts): Push new target onto @check.
* scripts.am (check-@DIR@SCRIPTS): New target.
* automake.in (initialize_global_constants): Define %dist,
dist_header, dist_trailer.
(handle_dist): Make dist-all target.
(generate_makefile): Run check_typos later.
(examine_variable): New sub.
(handle_tags): Examine TAGS_DEPENDENCIES. Test spell3.test.
Error if TAGS_DEPENDENCIES but no sources used.
(handle_configure): Examine CONFIGURE_DEPENDENCIES.
Sat Sep 21 13:59:15 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (am_install_var): More error checking.
Fri Sep 20 09:06:37 1996 Tom Tromey <tromey@creche.cygnus.com>
* tags.am (TAGS): Minor cleanup.
* clean.am (distclean-generic): Don't remove CONFIG_HEADER.
* remake-hdr.am (mostlyclean-hdr, clean-hdr, distclean-hdr,
maintainer-clean-hdr): New targets.
* automake.in (handle_configure): Define CONFIG_HEADER correctly
when it is in current directory.
(handle_configure): Push "hdr" on @clean.
* remake-hdr.am (stamp-h): Run config.status in top_builddir.
($(srcdir)/stamp-h.in): Run autoheader in top_srcdir.
* automake.in (scan_configure): Check for install.sh here.
(basename): New sub.
(handle_configure): Handle case where config.h is in subdir.
(handle_configure): Make stamp-in.h for user if it doesn't already
exist.
(touch): New sub.
Tue Sep 17 23:35:14 1996 Tom Tromey <tromey@creche.cygnus.com>
* Makefile.am (EXTRA_DIST): Include pkgdata_DATA.
* dist-vars.am (DISTFILES): Don't distribute BUILT_SOURCES or
DATA.
(DEP_DISTFILES): Ditto.
Mon Sep 16 22:28:56 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (check_typos): Renamed.
(check_typos): Check for _LDADD, _LIBADD, and _DEPENDENCIES.
(variable_defined): Note variable as being "seen".
(handle_lib_objects): Don't push configure substitutions onto
_DEPENDENCIES.
Sun Sep 15 22:45:43 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (initialize_per_input): Init content_seen.
(variable_value_as_list): Set content_seen entry.
(define_variable): Ditto.
(define_pretty_variable): Ditto.
(check_source_typos): New sub.
(generate_makefile): Call it.
Thu Sep 12 15:03:19 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_source_transform): Removed extraneous
space. Test implicit.test.
(read_am_file): Make sure "canonical" variables are mentioned in
%contents.
(scan_configure): AC_CHECK_TOOL sets $seen_canonical to
$AC_CANONICAL_HOST conditionally.
(handle_footer): Don't use define_pretty_variable in all cases.
Wed Sep 11 11:54:44 1996 Tom Tromey <tromey@creche.cygnus.com>
* clean.am (distclean-generic): Remove CONFIG_CLEAN_FILES here,
per GNU/Gnits standards.
* libraries.am (install-@DIR@LIBRARIES): Use two loops, so new
NORMAL_INSTALL and POST_INSTALL variables can work when empty.
* automake.in (handle_options): Rewrote version handling. Now
returns error indicator.
(MACRO_PATTERN, BOGUS_MACRO_PATTERN): Handle `:=' definitions.
(RULE_PATTERN): Exclude `:=' from being a rule.
* m4/AM_PROG_CC_STDC.m4 (ac_save_CC): Bug fix from Jim Meyering.
* automake.in (variable_value_as_list): Always use am_line_error.
(define_variable): New sub.
(get_object_extension): Use define_variable.
(handle_yacc_lex_cxx): Ditto.
(handle_source_transform): Ditto.
(handle_programs): Ditto.
(handle_libraries): Ditto.
(handle_texinfo): Ditto.
(handle_man_pages): Ditto.
(handle_dependencies): Ditto.
(handle_aclocal_m4): Ditto.
(define_pretty_variable): New sub.
(handle_source_transform): Use define_pretty_variable.
(handle_lib_objects): Ditto.
(handle_libraries): Ditto.
(handle_dist): Ditto.
(handle_dependencies): Ditto.
(handle_configure): Ditto.
(handle_footer): Ditto.
(handle_emacs_lisp): Ditto.
(am_install_var): Ditto.
* Released version 1.1e.
* automake.in ($GNITS_VERSION_PATTERN): Handle non-alpha
releases.
* configure.in: Version 1.1e.
* automake.in (handle_texinfo): Distribute .info file.
Sun Sep 8 09:00:37 1996 Tom Tromey <tromey@creche.cygnus.com>
* Makefile.am (EXTRA_DIST): New macro.
(maintainer-clean): Don't run "make check".
(pathchk): New target.
* automake.in (check_gnits_standards): Only check version number
syntax at top level.
($package_version_line): New variable.
(scan_configure): Set it.
(check_gnits_standards): Use am_conf_line_error.
(scan_configure): Remove extraneous whitespace from version
number.
(handle_dist): Handle distcheck-hook.
* m4/AM_PROG_CC_STDC.m4: Applied patch from Jim Meyering.
* automake.in (scan_configure): Handle AM_WITH_REGEX.
(handle_lib_objects): Require .h files in %libsources but don't
generate dependencies for them.
(scan_configure): Also require rx.h and regex.h.
* m4/Makefile.am (m4data_DATA): Don't include AM_PROG_LIBTOOL,
AM_FEATURE_CTYPE, AM_FEATURE_ERRNO, AM_FEATURE_EXIT,
AM_SYSTEM_HEADER.
* texi-version.am: Use "cp; rm" and not "mv", to work around
broken mvs.
* automake.in ($package_version): New global.
(scan_configure): Set it.
(check_gnits_standards): Verify version string; require
README-alpha if alpha version.
(scan_configure): Recognize AM_FUNC_FNMATCH,
AM_REPLACE_GNU_GETOPT.
* Makefile.am (installcheck-local): Check all scripts.
Sat Sep 7 19:22:32 1996 Tom Tromey <tromey@creche.cygnus.com>
* tags-clean.am: Do deletions here again.
Thu Sep 5 09:06:23 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (usage): Include bug-reporting information.
(handle_lib_objects): Error if LIBOBJS seen but never set.
* aclocal.in ($acdir): Use @datadir@/aclocal.
(usage): Include bug-reporting information.
Wed Sep 4 11:36:06 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_source_transform): .deps no longer in
srcdir.
(handle_lib_objects): Ditto.
(handle_dist_worker): Pass --build-dir to automake.
($build_directory): New global.
(parse_arguments): Handle --build-dir.
(initialize_global_constants): Include --build-dir in help.
(scan_dependency_file): New sub.
(handle_dependencies): Use it. Also, use $build_directory.
(initialize_global_constants): Added --srcdir-name.
(parse_arguments): Ditto.
(handle_dist_worker): Ditto.
($srcdir_name): New global.
($srcdir_rx): New global.
(parse_arguments): Set it.
* depend2.am: Removed all mention of $(srcdir).
* depend.am (MKDEP): Use gcc -M, not gcc -MM.
Removed all mention of $(srcdir); dependencies now put into build
dir.
* depend2.am ($(srcdir)/.deps/%.P): Fixed computation of `top'.
Don't do work silently.
* automake.in (handle_merge_targets): Error if invalid uninstall
targets are given.
(read_am_file): Fix for test block.test.
Tue Sep 3 18:50:32 1996 Tom Tromey <tromey@creche.cygnus.com>
* texinfos.am (install-info): Added NORMAL_INSTALL.
* scripts.am (install-@DIR@SCRIPTS): Added NORMAL_INSTALL.
* programs.am (install-@DIR@PROGRAMS): Added NORMAL_INSTALL.
* lisp.am (install-@DIR@LISP): Added NORMAL_INSTALL.
* libraries.am (install-@DIR@LIBRARIES): Added NORMAL_INSTALL.
Also, use POST_INSTALL when running ranlib.
* header.am (install-@DIR@HEADERS): Added NORMAL_INSTALL.
* data.am (install-@DIR@DATA): Added NORMAL_INSTALL.
* automake.in (handle_man_pages): Added NORMAL_INSTALL invocation.
(handle_merge_targets): Ditto.
(handle_merge_targets): Error if PRE_INSTALL, POST_INSTALL, or
NORMAL_INSTALL defined.
* m4/AM_PROG_INSTALL.m4: INSTALL_SCRIPT defaults to
${INSTALL_PROGRAM}. From Fran