From: Alexandre Oliva Date: Mon, 12 Apr 1999 14:57:27 +0000 (+0000) Subject: merge from trunk X-Git-Tag: user-dep-gen-merge-branchpoint~19 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a8d4c7f44c71ddafcfa3048b9ab01c27add5bd6c;p=thirdparty%2Fautomake.git merge from trunk --- diff --git a/ChangeLog b/ChangeLog index fb1dc58ed..969af264a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,219 @@ +1999-04-12 Alexandre Oliva + + * Start of merge from trunk. + +1999-04-11 Tom Tromey + + * automake.in (handle_dist): Use AMTAR. + (initialize_global_constants): Likewise. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR. + + * automake.in (lang_sub_obj): New function. + (lang_cxx_rewrite): Use it. + (lang_asm_rewrite): Likewise. + (lang_objc_rewrite): Likewise. + (lang_cxx_finish): Add `-o $@' to all C++ rules. + (lang_asm_finish): Add `-o' to suffix rules when appropriate. + (lang_objc_finish): Add `-o $@' to all ObjC rules. + (lang_java_finish): Likewise. + + * automake.in: Only register `asm' once. + (lang_asm_finish): Put assembly suffixes on @suffixes. + + * libtool.am (.s.lo): Removed. + (.S.lo): Likewise. + * automake.in (lang_asm_finish): Handle libtool. + + * libtool.am (.c.o): Always pass -c to libtool. + + * automake.in (lang_yacc_rewrite): Handle sources in subdirs. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + + Assembly code no longer included by default: + * compile.am (.s.o): Removed. + (.S.o): Likewise. + * automake.in: Register `asm' language. + (lang_asm_finish): Generate suffix rules for assembly. + (get_object_extension): Don't add `.s' or `.S' to suffix list. + + * automake.in (get_object_extension): Substitute @MINUSO@ when + including compile.am. + * compile.am (.c.o): Added @MINUSO@. + (.c.obj): Likewise. + + First cut at allowing objects in subdirectories: + * m4/Makefile.am (m4data_DATA): Added minuso.m4. + * Makefile.am (dist_script_DATA): Added compile. + * m4/minuso.m4: New file. + * automake.in (initialize_global_constants): Added compile to + common_files. + (seen_cc_c_o): New global. + (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen. + (handle_options): Recognize `subdir-objects' option. + (lang_c_rewrite): Added directory argument. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (handle_single_transform_list): Pass directory to _rewrite + function. Generate dependencies for dirstamp files for each .o; + it is just the rules we want to create once. + (lang_c_rewrite): Handle `subdir-objects' option. + (lang_c_rewrite): Require `compile' program. + * compile: New file. + + * automake.in (initialize_per_input): Initialize %directory_map. + (handle_single_transform_list): Only create .dirstamp rules once + per directory. + + * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG. + + Fix for confh.test: + * automake.in (configure_input_files): New global. + (scan_configure): Set it. + (handle_configure): Use configure_input_files when determining + which subdirs have a Makefile.am. Fixes confh.test. + (handle_configure): Only recognize acconfig.h in top srcdir. + +1999-04-10 Tom Tromey + + * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'. + (%.lo): Likewise. + + * automake.in (am_install_var): Remove redundancies from the + result. Fixes test cond8.test. + + * automake.in (handle_single_transform_list): Handle dependency + tracking when files are created in subdirs. Error if object in + subdir has `..' component. + + * automake.in (initialize_global_constants): Use $(TAR), not tar. + + * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES. + + * automake.in (lang_yacc_finish): Added missing `&'. + +1999-04-10 Alexandre Oliva + + * automake.in (handle_configure): Replace multiple occurrences of + @STAMP@ in the same line; completes the patch for remake-hdr.am + below. + + * automake.in (handle_dependencies): Fix test for `autodep' + support. + + * automake.in (handle_source_transform): Add a pfx to used_pfx + only if it's conditional or non-empty, to reduce the number of + empty variables. Emit _OBJECS variable based on program name if + no SOURCES were explicitly specified. + + * remake-hdr.am: Create the stamp file before the header file, + and just rename it after, so that the timestamps will be correct. + Reported by Marc Horowitz + + * automake.in (lang_yacc_finish): Generate and dist a `.h' for a + `.y' iff YFLAGS or AM_YFLAGS contain `-d'. + Reported by Jim Meyering + + * automake.in (lang_yacc_finish): $hname must not contain a `.'. + +1999-04-10 Tom Tromey + + * Makefile.am (EXTRA_DIST): New macro. + * ChangeLog.1996, ChangeLog.1998: New files. + +1999-04-09 Tom Tromey + + * automake.in (handle_source_transform): Handle dist and nodist + prefixes. + (initialize_per_input): Initialize dist_sources. + (check_libobjs_sources): Handle dist and nodist prefixes. + (generate_makefile): Define DIST_SOURCES. + * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES. + + * automake.texi (Macros): Mention AM_PROG_GCJ. + (Java Support): New node. + (Dist): Documented dist_ and nodist_ prefixes. + + * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ. + + * automake.in (lang_java_finish): Generate .lo rule for `.java' + files, not `.gcj' files. + + * m4/gcj.m4: New file. + * m4/Makefile.am (m4data_DATA): Added gcj.m4. + + * automake.in: Register the `java' language. + (resolve_linker): Handle GCJLINK. + (lang_java_rewrite): New function. + (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants. + (lang_c_rewrite): Use new constants. + (lang_cxx_rewrite): Likewise. + (lang_header_rewrite): Likewise. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (lang_asm_rewrite): Likewise. + (lang_f77_rewrite): Likewise. + (lang_ppf77_rewrite): Likewise. + (lang_ratfor_rewrite): Likewise. + (lang_objc_rewrite): Likewise. + (handle_single_transform_list): Likewise. Handle LANG_SUBDIR + return from rewrite function. + (lang_java_finish): New function. + (register_language): Changed interface and all calls. Added + `autodep' settings to various languages. + (handle_dependencies): Use `autodep' property of language when + including dependency-tracking code. + +1999-04-07 Tom Tromey + + * automake.in (handle_texinfo): Indentation fixes. + +1999-04-07 Alexandre Oliva + + * automake.in (value_to_list): Skip *only* trailing backslashes. + +1999-04-07 Pavel Roskin + + * automake.in (value_to_list): Skip trailing backslashes. + +1999-04-07 Alexandre Oliva + + * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir + when appropriate. + Reported by Per Cederqvist + (handle_texinfo): Do not define texinfo_tex='.', use + '$(srcdir)/texinfo.tex' instead; the directory name will be + properly extracted. + (require_conf_file_with_line): Fixed typo. + +1999-04-03 Raja R Harinath + + * automake.in (handle_tests): Test `dir=./' before `dir=', so that + we do not depend on PATH starting with `.'. + +1999-03-31 Tom Tromey + + * automake.in (quote_cond_val): Quote \n. + (unquote_cond_val): Unquote \n. + (read_am_file): If line ends with `\', preserve it and add a + newline. + (read_main_am_file): In conditional case, put conditional text at + beginning of each generated line. + +1999-03-31 Alexandre Oliva + + * automake.in (handle_tests): support XFAIL_TEST + * automake.texi: document it + +1999-04-12 Alexandre Oliva + + * End of merge from trunk. + 1999-04-12 Alexandre Oliva * automake.in (cmdline_use_dependencies): Reintroduce it. @@ -469,5866 +685,3 @@ (handle_dependencies): Only generate dependency-tracking code for ObjC when ObjC source seen. -1998-12-22 Marcus G. Daniels - - * automake.in (handle_dependencies): Transform EXT & PFX in - Objective C case. - -1998-12-11 Marcus G. Daniels - - * automake.in: Register Objective C language. - (finish_languages): Consider Objective C to be non_c. - (lang_objc_rewrite, lang_objc_finish): New functions. - (resolve_linker): Recognize OBJCLINK before LINK. - -1999-01-10 Tom Tromey - - * automake.in (handle_texinfo): Handle empty $config_aux_dir. - - * automake.in (handle_texinfo): Set $conf_pat correctly when - config_aux_dir not used. - (handle_texinfo): Run maintainer-clean-aminfo rules in srcdir. - From Erez Zadok. - * texi-vers.am (maintainer-clean-@VTI@): Prefix file names with - $(srcdir). From Erez Zadok. - ($(srcdir)/stamp-@VTI@): Don't run mdate-sh from srcdir. - -1999-01-08 Thomas Tanner - - * depend.am: remove the dependencies (.deps) - in "make distclean", not "make maintainer-clean" - -1999-01-10 Tom Tromey - - * aclocal.in (write_aclocal): Updated copyright. - (parse_arguments): Likewise. - * automake.in (parse_arguments): Updated copyright. - (initialize_global_constants): Likewise. - - * Makefile.am (pkgdata_DATA): Renamed from pkgdata_SCRIPTS. - (install-data-hook): New hook. Report from Petter Reinholdtsen. - - * remake-hdr.am: Provide `else' clause for each `if'. - -1999-01-10 Alexandre Oliva - - * remake-hdr.am: recover from removal of config headers, and try - to get real timestamps, which is useful for CVS files - -1999-01-10 Tom Tromey - - * automake.in (handle_merge_targets): Don't special-case "-local" - targets. Test all.test. - - * automake.in (handle_texinfo): Prepend $(srcdir) to directory - used to find texinfo.tex. Report from Glenn Amerine. - -1999-01-07 Tom Tromey - - Based on report from Marcus G. Daniels. Fixes include.test. - * automake.in (generate_makefile): Call read_main_am_file. - (read_main_am_file): New sub. - (read_am_file): Moved header generation code into - read_main_am_file. - -1999-01-06 Gary V. Vaughan - - * automake.in (require_file_internal): qub perl on win32 hangs - on a call to unlink for a non-existant file, which in turn causes - tests/symlink.test to hang on win32. Check that the file exists - before unlinking it! - -1998-12-24 Thomas Tanner - - * automake.in (handle_ltlibraries): check whether -module was - defined for libraries names without 'lib' prefix. - -Fri Dec 11 10:20:42 1998 Matthew D. Langston - - * compile_f_c_cxx.test: Change to use F77 and F77LINK instead of - FC and FLINK, respectively. - * flibs.test: same - * fnoc.test: same - * fo.test: same - * fonly.test: same - * link_f_c.test: same - * link_f_c_cxx.test: same - * link_f_cxx.test: same - * link_f_only.test: same - -Fri Dec 11 10:23:17 1998 Matthew D. Langston - - * automake.in, automake.texi: Change all of the Fortran 77 code to - use the new `F77' prefix instead of the older `FC' prefix. - Specifically this changed FC, FCOMPILE, LTFCOMPILE, FLINK and FLD - to F77, F77COMPILE, LTF77COMPILE, F77LINK and F77LD, respectively. - -1999-01-05 Tom Tromey - - * depend2.am (%.o): Use \012, not \n, to avoid losing `tr's. From - Bill Currie. - (%.lo): Likewise. - -1998-12-22 Alexandre Oliva - - * depend2.am: Don't assume backslash can't occur in the middle of - filename; it loses on M$W - -1998-12-21 Tom Tromey - - * automake.in (handle_libraries): Reverted Thomas Tanner's - change. Non-libtool libraries still must fit naming - requirements. - -1998-12-21 Alexandre Oliva - - * automake.in (handle_configure): Dist inputs for AC_OUTPUT. - -1998-12-21 Alexandre Oliva - - * depend2.am: don't use .p and .P for dependencies; it loses on - case-insensitive filesystems. - Reported by Henrik Frystyk Nielsen - -1998-12-20 Thomas Tanner - - * automake.in (handle_libraries, handle_ltlibraries): relax the - name checking to not enforce `^lib.*' for the sake of building libtool - modules. - -1998-12-21 Tom Tromey - - * automake.in (do_one_merge_target): Special case - install-data-hook and install-exec-hook. - (handle_merge_targets): Removed install-data-hook and - install-exec-hook code. Test insthook.test. - -1998-12-16 Tom Tromey - - * tags.am (ID): Uniquify list of sources. Report from Jim - Meyering. - -1998-12-11 Tom Tromey - - Bug report from Paul D. Smith: - * automake.in (handle_merge_targets): Set - AM_INSTALL_PROGRAM_FLAGS, not INSTALL_PROGRAM. - * header-vars.am (INSTALL_PROGRAM): Added - AM_INSTALL_PROGRAM_FLAGS. - -1998-12-03 Tom Tromey - - * automake.in (handle_dist): Print prettier banner when - `make dist' succeeds. From Akim Demaille. - -1998-12-02 Tom Tromey - - * configure.in: Upped version to 1.3e (1.3d was just released). - - * configure.in: Upped version to 1.3d. - - * texinfo.tex, config.guess, config.sub, install-sh: New - versions. - * ansi2knr.c: New version. - - * automake.in (handle_configure): Quote @MAINTAINER_MODE_TRUE@ to - avoid problems where AM_MAINTAINER_MODE is put into automake's own - configure.in. - - * Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir. - - Some bugs from François Pinard: - * automake.in (usage): Remove duplicates in file list. - - * automake.in (usage): Print files in column-major order. - (handle_gettext): Only require ABOUT-NLS for GNU programs. - -1998-12-01 Tom Tromey - - * automake.texi (Dist): Documented GZIP_ENV. - * automake.in (handle_dist): Define and use GZIP_ENV, not GZIP. - (initialize_global_constants): Use GZIP_ENV, not GZIP. - -1998-11-27 Tom Tromey - - * automake.in (quote_cond_val): Use "\002", not '\002', to - represent null string. - (unquote_cond_val): Removing all "\002" strings from result. Test - cond7.test. - - * automake.texi: Formatting changes for latest texinfo. - - * automake.in (handle_java): Removed debugging print. - -1998-11-18 Tom Tromey - - * automake.in (finish_languages): Use CCLD, not CLD. - - * automake.in (finish_languages): Define CLD; use it in LINK - definition. - (lang_cxx_finish): Define CXXLD; use it in CXXLINK definition. - (lang_f77_finish): Define FLD; use it in FLINK definition. - (lang_ppf77_finish): Likewise. - (lang_ratfor_finish): Likewise. - -1998-11-10 Matthew D. Langston - - * automake.in (scan_one_configure_file): Recognize - AC_F77_LIBRARY_LDFLAGS, and recognize FLIBS as a configure - substitution. - - * automake.texi: Fix several little Fortran 77 references to now - point to autoconf.texi. Rename associated Fortran 77 macros from - `AM_' to `AC_'. - -1998-11-10 Tom Tromey - - * automake.in (read_am_file): Handle configure_vars case. Test - pluseq4.test. - -1998-11-09 Tom Tromey - - * automake.in (read_am_file): `conditional_stack' isn't a - function. Correctly add new value to existing value in `+=' - case. - -1998-10-29 Gary V. Vaughan - - * automake.in (parse_arguments): Fixed type of -c for copying - -1998-10-30 Tom Tromey - - * automake.texi (Install): Documented DESTDIR more fully. From - Jeff Garzik. - - * automake.in (MACRO_PATTERN): Recognize `+='. - (BOGUS_MACRO_PATTERN): Likewise. - (read_am_file): Handle `+=' assignments. - -1998-10-28 Tom Tromey - - * Makefile.am (maintainer-check): Changed code to be acceptable to - bash 2.01.1. - - * automake.in (do_one_clean_target): Special-case config.status. - Report from Jeff Garzik. - - * m4/Makefile.am (m4data_DATA): Don't mention f77.m4. - * m4/f77.m4: Removed; macro now in autoconf proper. - -1998-10-24 Tom Tromey - - * automake.in (handle_dist_worker): Typo fix in code testing to - see if subdir is `.'. From Raja R Harinath. - - * m4/lispdir.m4: Fixed sed invocation. From Akim Demaille. - -1998-10-20 Tom Tromey - - * automake.in (scan_dependency_file): Fixed test on `while' loop. - Fixes depend2.test. Report from Akim Demaille. - -1998-10-16 Tom Tromey - - * automake.in (handle_ltlibraries): Specify `noinst' when - computing valid prefixes. From Ulrich Drepper. - - * automake.in (scan_dependency_file): Don't give an error if there - is text after the last line. Report from Matthew D. Langston. - - * m4/mktime.m4: Detect glibc mktime bug. From Jim Meyering. - - * Makefile.am (SUBDIRS): Added `.' again. - - * Makefile.am (EXTRA_DIST): Removed automake.spec.in. From - Matthew D. Langston. - (info_TEXINFOS): Removed am-f77.texi. - - * automake.in (handle_ltlibraries): Allow `noinst' LTLIBRARIES. - These are libtool convenience libraries. - -1998-10-13 Tom Tromey - - * m4/f77.m4: New file. - * m4/Makefile.am (m4data_DATA): Added f77.m4. - -Thu Oct 8 15:00:57 1998 Matthew D. Langston - - * automake.in (resolve_linker): Put the Fortran 77 linker where it - needs to be. - - * automake.in (lang_f77_finish): Add support for Fortran 77. - - * automake.in (f77_extensions): New helper function for function - `lang_f77_finish'. - - * automake.in (lang_f77_rewrite): Change to return success. - - * automake.in (scan_one_configure_file): Add test for the Fortran - 77 compiler. - - * automake.in (finish_languages): Changed tests for "C++ only" to - "C++ and/or Fortran 77 only", and renamed `all_cxx' to `non_c'. - - * automake.in: Registered the ppf77 language (`.F' extension) for - preprocessed Fortran 77. - - * automake.in: Registered the ratfor language (`.r' extension). - - * automake.in: Registered Fortran 77 header files with the "header - language" (`.inc' extension). - -Tue Sep 8 14:50:50 1998 Matthew D. Langston - - * automake.texi: Added several new index entries. - -Sun Aug 30 16:10:31 1998 Matthew D. Langston - - * automake.texi: - - Add `@ovindex' (output variable index). - - Merge `@defmac' (Autoconf macros) and `@ovindex' to the General - Index. - - * automake.texi (Macros): - - Changed the `@table @code' list of macros to `@defmac'. - - Add `AC_PROG_FC' and `MDL_F77_LIBRARY_LDFLAGS' to the list. - -Tue Aug 11 10:42:39 1998 Matthew D. Langston - - * automake.texi (C++): Change `@table' to `@vtable'. - - * automake.texi (Fortran 77): Add Fortran 77 documentation. - -1998-10-11 Tom Tromey - - Preliminary (completely untested) multilib support. - * automake.texi (Macros): Document AM_ENABLE_MULTILIB. - * m4/Makefile.am (m4data_DATA): Added multi.m4. - * Makefile.am (amfiles): Added multilib.am. - * automake.in (seen_multilib): New global. - (scan_one_configure_file): Recognize AM_ENABLE_MULTILIB. - (generate_makefile): Call handle_multilib. - (handle_multilib): New function. - * multilib.am: New file. - * m4/multi.m4: New file. - -1998-10-08 Tom Tromey - - * automake.in (handle_dist): Always include configure.in and - configure in distribution. Fixes confdist.test. - - * automake.in (do_one_merge_target): Be silent when running - install-exec-am and install-data-am. Fixes extra3.test and - extra4.test. - -1998-10-07 Tom Tromey - - * automake.in (am_install_var): Added -noextra option. - (handle_data): Pass -noextra to am_install_var. - -Sun Oct 4 22:24:10 1998 Tom Tromey - - * m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use - 3-argument form of AC_DEFINE. - * m4/regex.m4 (AM_WITH_REGEX): Use 3-argument form of AC_DEFINE. - * m4/ptrdiff.m4 (AM_TYPE_PTRDIFF_T): Use 3-argument form of - AC_DEFINE. - * m4/protos.m4 (AM_C_PROTOTYPES):Use 3-argument form of - AC_DEFINE. - * m4/obstack.m4 (AM_FUNC_OBSTACK): Use 3-argument form of - AC_DEFINE. - * m4/init.m4 (AM_INIT_AUTOMAKE): Use 3-argument form of - AC_DEFINE. - * m4/dmalloc.m4 (AM_WITH_DMALLOC): Use 3-argument form of - AC_DEFINE. - -Tue Oct 6 00:02:15 1998 Tom Tromey - - * depend2.am (%.lo): Handle case where compiler does not put space - before ":". From Raja R Harinath. - -Mon Oct 5 13:05:43 1998 Tom Tromey - - * automake.in (scan_one_configure_file): AC_CONFIG_HEADER is not - obsolete; it simply isn't preferred with automake. - (scan_one_configure_file): Likewise for AC_DECL_YYTEXT and - AC_PROG_LEX. - - * automake.in (am_line_error): Handle case where variable defined - in configure.in. Fixes test badline.test. - (%configure_vars): Redefined meaning of values. - (scan_one_configure_file): Set $configure_vars values - appropriately. - -Sat Oct 3 14:53:34 1998 Tom Tromey - - * automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE - conditional. - (handle_configure): Likewise. - (read_am_file): Likewise. - (file_contents_with_transform): Likewise. - (scan_one_configure_file): Recognize that AM_MAINTAINER_MODE - defines a conditional. - * automake.texi (Optional): Document new AM_MAINTAINER_MODE. - * texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE - conditional. - (maintainer-clean-@VTI@): Likewise. - * remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE - conditional. - * remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at - MAINTAINER_MODE conditional. - * m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE - conditional. - -1998-10-03 Jim Blandy - - * depend2.am (%.lo): When editing the dependency file to add the - .lo file to the targets, allow for whitespace between the end of - the filename and the colon. Some compilers (notably the Cygnus - release of GCC 2.7-97r1) put space there: "alist.o : ..." - -Sat Oct 3 12:07:21 1998 Tom Tromey - - * automake.in (handle_configure): Handle case where there is no - Makefile in the config header directory. Fixes test config.test. - -Thu Oct 1 00:51:51 1998 Tom Tromey - - * depend2.am (%.o): Append sed results to .P file in this case - too. From Raja R Harinath. - - * m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and - xemacs install directories. From Robert Bihlmeyer. - - * depend2.am: Don't bother trying to delete source file from - list. - - * depend2.am (%.o): Handle deleted header file problem. - (%.lo): Likewise. - - * texinfos.am (install-info-am): Handle case where INFO_DEPS is - empty. Reported by Andrew Cagney. - (uninstall-info): Likewise. - (dist-info): Likewise. - - * automake.in (handle_texinfo): Error if user tries to generate - HTML. - -Wed Sep 30 00:41:40 1998 Tom Tromey - - * automake.in (do_one_clean_target): Don't push previous clean - target if this target is `mostly'. Report from Raja R Harinath. - - * subdirs.am (mostlyclean-recursive ...): Build local_target, not - target. From Raja R Harinath. - - Completely changed how languages and source files are handled: - * automake.in: Call register_language for each language. - (lang_c_rewrite): New function. - (lang_cxx_rewrite): Likewise. - (lang_header_rewrite): Likewise. - (lang_yacc_rewrite): Likewise. - (lang_yaccxx_rewrite): Likewise. - (lang_lex_rewrite): Likewise. - (lang_lexxx_rewrite): Likewise. - (lang_asm_rewrite): Likewise. - (lang_fortran_rewrite): Likewise. - (register_language): Likewise. - (extension_map): New global. - (language_map): Likewise. - (resolve_linker): New function. - (handle_single_transform_list): Rewrote to use lang_X_rewrite - functions. Changed meaning of first argument. - (initialize_per_input): Removed seen_any_source. Initialize - language_scratch, extension_seen. Removed cxx_extensions, - seen_c_source, dir_holds_headers, dir_holds_sources. - (handle_source_transform): Don't compute $objpat. Pass $obj - directly to handle_single_transform_list. - (handle_built_sources): Fixed call to - handle_single_transform_list. - (lang_c_finish): New function. - (lang_cxx_finish): Likewise. - (lang_header_finish): Likewise. - (lang_yacc_finish): Likewise. - (lang_yaccxx_finish): Likewise. - (lang_lex_finish): Likewise. - (lang_lexxx_finish): Likewise.. - (lang_asm_finish): Likewise. - (lang_fortran_finish): Likewise. - (yacc_lex_finish_helper): Likewise. - (libtool_compiler): Likewise. - (saw_extension): New function. - (handle_lib_objects_cond): Use saw_extension, not old variables. - (handle_yacc_lex_cxx): Removed. - (finish_languages): New function. - (get_object_extension): Don't set dir_holds_sources. - (handle_headers): Don't set dir_holds_headers. Instead, call - saw_extension. - (saw_sources_p): New function. - (handle_tags): Use it. - (handle_dependencies): Likewise. - (cxx_extensions): New function. - (handle_dependencies): Use it. - (generate_makefile): Call finish_languages, not - handle_yacc_lex_cxx. - -1998-05-24 Andreas Schwab - - * texi-vers.am: Use the correct target names. Fix generation of - stamp file. - - * automake.in (handle_tests): In commands generating site.exp copy - the old contents from site.exp, not site.bak, which does not - exist. - -Tue Sep 29 00:10:22 1998 Tom Tromey - - Fixed noinst.test again: - * automake.in (do_one_merge_target): Special-case `install-am'. - (handle_merge_targets): Don't compute @install variable. - - Fixes for recurs2.test. Report from Jim Meyering. - * automake.in (vars_scanned): Define globally. - (variable_value_as_list_worker): Delete $var entry in - %vars_scanned after local work is done. - -1998-05-26 Marcus G. Daniels - - * automake.in: New pattern: INCLUDE_PATTERN. - (read_am_file): Make AM_FILE a local filehandle. - For INCLUDE_PATTERN, store included paths on @include_stack and call - read_am_file with argument. - (handle_configure): When printing the dependencies for - Makefile.in, print the items on include_stack (if any) as - dependencies, too. - - * automake.texi: Make a command index `cm' that goes into the - concept index. Put if, endif, else, and include in the command index. - (Include): Show usage of include directive. - -Mon Sep 28 00:03:45 1998 Tom Tromey - - `.' in SUBDIRS changes order of builds: - * Makefile.am (SUBDIRS): Added `.'. Put tests last. - * tags.am (TAGS): Don't look for TAGS file in `.'. - * automake.texi (Top level): Document SUBDIRS change. - * automake.in (handle_installdirs): Create separate installdirs-am - target. - (handle_merge_targets): Don't put all-am onto @all. Fixed error - message. Correctly handle install-info. Give error if - install-info-local inappropriately defined. Don't special-case - install-data, install-exec, install, uninstall, or all. - (handle_subdirs): Don't push `-recursive' target names onto - corresponding lists. - (do_one_merge_target): Always define `-am' form of rule, and point - ordinary form to `-am' or `-recursive' as appropriate. - Special-case `all'. - (do_check_merge_target): Generate check-am target. - (handle_dist_worker): Use target_defined. - (handle_dist): Likewise. - (handle_merge_targets): Likewise. - (do_one_merge_target): Likewise. - (do_check_merge_target): Likewise. - (do_one_clean_target): Likewise. - (initialize_per_input): Initialize $all_target. - (do_one_clean_target): Always generate -am form of rule; other - changes for new SUBDIRS change. - (handle_clean): Always generate clean-am form of rule. - (handle_tags): Only build subdir if not `.'. - (handle_dist_worker): Skip `.' directory. - * subdirs.am: Allow `.' to be specified in SUBDIRS. - -Sun Sep 27 20:02:21 1998 Tom Tromey - - * automake.texi (Dist): Document EXTRA_DIST change. - * automake.in (handle_dist_worker): Allow subdirs in EXTRA_DIST. - - * automake.in (handle_ltlibraries): Wrote better comment about - EXTRA_LTLIBRARIES. - - * automake.texi (Invoking Automake): Document --copy. - * automake.in (copy_missing): New global. - (parse_arguments): Recognize --copy/-c. - (require_file_internal): Handle $copy_missing. Fixed error - message. - (initialize_global_constants): Document -c/--copy. - - * automake.texi: Document LIBOBJS trick. - - * automake.in (handle_dist_worker): If DIST_SUBDIRS defined, use - it even when SUBDIRS not conditional. - - * automake.in (quote_cond_val): Turn tabs into \003. - (unquote_cond_val): Turn \003 back into tabs. Fixes test - cond6.test. - - * automake.in (read_am_file): Treat backslash-newline as - whitespace. Test parse.test. - -Sat Sep 26 19:31:22 1998 Tom Tromey - - * configure: Rebuilt. - * configure.in: Upped version to 1.3c. - - Track recent autoconf changes: - * m4/Makefile.in: Rebuilt. - * m4/Makefile.am (m4data_DATA): Updated for deleted files. - * m4/init.m4 (AM_INIT_AUTOMAKE): Use AC_PROG_INSTALL. - * m4/mingw.m4: Removed. - * m4/cygwin.m4: Removed. - * m4/install.m4: Removed. - * m4/exeext.m4: Removed. - * automake.in (scan_one_configure_file): Don't look for - AM_EXEEXT. - (check_cygnus): Only mention AC_EXEEXT. - (obsolete_macros): Mention AM_PROG_INSTALL, AM_EXEEXT, - AM_CYGWIN32, AM_MINGW32. - ($seen_prog_install): Changed interpretation; changed all users. - (scan_one_configure_file): Don't look for AM_PROG_INSTALL. - ($scripts_installed): Removed. - (handle_scripts): Use local $scripts_installed. - * aclocal.in (obsolete_macros): Added AM_PROG_INSTALL, AM_EXEEXT, - AM_CYGWIN32, AM_MINGW32. - -Mon Jul 6 14:52:49 1998 Ian Lance Taylor - - * compile.am (mostlyclean-compile): If OBJEXT, remove *.$(OBJEXT) - along with *.o. - -Thu May 28 18:49:47 1998 Ian Lance Taylor - - * automake.in (seen_objext): New variable. - (get_object_extension): If seen_objext, use .$(OBJEXT) rather than - .o. When including compile.am, keep or discard OBJEXT lines - according to whether seen_objext is set. If seen_objext, add .obj - to @suffixes. If seen_objext, use .$(OBJEXT) rather than .o when - building ansi2knr. - (handle_yacc_lex_cxx): If seen_objext, add a rule to create .obj - files. If seen_objext, use .$(OBJEXT) rather than .o when - building ansi2knr. - (scan_one_configure_file): Check for .obj as well as .o in - LIBOBJS. Set seen_exeext if we see AC_EXEEXT. Look for - AC_OBJEXT, and if found set seen_objext and set OBJEXT in - configure_vars. - (check_cygnus): Change error message to permit AC_EXEEXT. - * compile.am: Add OBJEXT lines for .c.obj compilation. - * Makefile.in: Rebuild. - * m4/Makefile.in: Rebuild. - * tests/Makefile.in: Rebuild. - -Mon Sep 11 16:07:55 1997 Chris Provenzano - - * header-vars.am: SHELL=@SHELL@ - Ran aclocal, autoconf, and automake. - -Sat Sep 26 16:31:29 1998 Tom Tromey - - * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA). - -Mon Sep 14 08:27:38 1998 Per Cederqvist - - * automake.in (handle_texinfo): The logic for when to provide - texinfo.tex was broken. Attempt to fix. - -Mon Sep 14 00:55:12 1998 Per Cederqvist - - Fix for Dynix 3.1.1. - * automake.in (handle_yacc_lex_cxx): Transform "# " to "#line"; - some compilers (such as /bin/cc on Dynix 3.1.1) don't accept the - output from the preprocessor. - -Tue Aug 25 18:40:51 1998 Tom Tromey - - * automake.in (handle_tests): Don't create site.exp target if it - is already in Makefile.am. - -Sun Aug 16 23:26:26 1998 Tom Tromey - - * automake.in (handle_configure): Use @inputs, not - @rewritten_inputs, when constructing CONFIG_FILES. Use different - list to test for file existence. Test colon6.test. - (rewrite_inputs_into_dependencies): Added add_srcdir argument. - Updated all callers. - -Wed Aug 12 14:16:57 1998 Tom Tromey - - * Released 1.3b. - -Tue Aug 11 12:18:59 1998 Tom Tromey - - * automake.in (handle_clean): Added missing close-paren. Quote - `$' so it doesn't expand when replacing. From Markus - F.X.J. Oberhumer. - - * aclocal.in (usage): Changed bug address. - * automake.in (usage): Changed bug address. - - * clean.am (distclean-generic): Don't mention - DISTCONFIGCLEANFILES. From Markus F.X.J. Oberhumer. - -Mon Aug 10 20:57:35 1998 Tom Tromey - - * automake.in (handle_yacc_lex_cxx): Redirect ansi2knr output to - correct file. From Kave Ghazi. - -Sun Aug 2 16:05:16 1998 Tom Tromey - - * Released 1.3a. - - * config.sub, config.guess, texinfo.tex: New versions from FSF. - -Sun Jul 19 00:04:25 1998 Tom Tromey - - * automake.in (variable_conditions): Initialize %vars_scanned. - (variable_conditions_sub): Check it. Test cond5.test. - -Sat Jul 18 00:24:14 1998 Tom Tromey - - * automake.in (variable_value_as_list_worker): Renamed from - variable_value_as_list. Set entry in vars_scanned, and give error - if variable recursively defined. Test recurs.test. - (value_to_list): Call it instead. - (variable_value_as_list): New function. - - * automake.in (variable_conditions_sub): If var is not - conditional, but does have conditional subvariables, then return - value should be all permutations of subvariable conditions. Test - cond4.test. - (handle_source_transform): Define _OBJECTS variable with each - condition; no need to define multiple new variables. - -Fri Jul 17 12:56:14 1998 Tom Tromey - - * automake.in (am_install_var): Use DESTDIR, not DATADIR. From - Motoyuki Kasahara. - - * automake.in (scan_dependency_file): Recognize DOS-style paths as - absolute. - * ylwrap: Recognize DOS-style paths as absolute. From Ian Lance - Taylor. - -Fri Jul 17 07:37:20 1998 H.J. Lu (hjl@gnu.org) - - * ylwrap: Don't use absolute path if the input is in the - current directory. - -Fri Jul 17 11:58:27 1998 Ian Lance Taylor - - * automake.in: Use $(AM_MAKEFLAGS) in every invocation of $(MAKE). - * subdirs.am: Likewise. - -Thu Jul 16 18:09:03 1998 Ian Lance Taylor - - * remake.am (config.status): Depend upon - $(CONFIG_STATUS_DEPENDENCIES). - * automake.in (handle_configure): Examine - CONFIG_STATUS_DEPENDENCIES. - -Tue Jul 14 13:37:48 1998 Tom Tromey - - * Makefile.am: Always look in srcdir for automake.in. - -Tue Jun 23 14:00:27 1998 Ian Lance Taylor - - * progs.am: Don't let $(EXEEXT) interfere with $(transform). - Report from Mike Stump . - -Tue Jun 2 13:27:34 1998 Tom Tromey - - * automake.in (scan_one_configure_file): Make CONFIGURE file - handle local. From Kevin Street. - - * automake.in (read_am_file): Error if blank line or comment - follows trailing backslash. Test syntax.test. - (file_contents_with_transform): Likewise. - -Thu May 28 18:49:47 1998 Ian Lance Taylor - - * automake.in (handle_configure): Always use $(SHELL) when running - config.status. - -Mon Jun 1 14:23:29 1998 Tom Tromey - - * automake.in (handle_yacc_lex_cxx): Use AM_CPPFLAGS, AM_CXXFLAGS, - AM_CFLAGS. - (output_yacc_build_rule): Use AM_YFLAGS, AM_LFLAGS. - (handle_dependencies): Don't define CXXMKDEP. - - * clean.am (mostlyclean-generic): Prefix rule with MOSTLYCLEAN. - (clean-generic): Prefix rule with CLEAN. - (distclean-generic): Prefix rule with DISTCLEAN. - (maintainer-clean-generic): Prefix rule with MAINTAINERCLEAN. - BUILT_SOURCES now handled in automake itself. - * automake.in (initialize_per_input): Initialize - maintainer_clean_files. - (handle_yacc_lex_cxx): Put lex and yacc output files onto - @maintainer_clean_files. - (handle_clean): Handle @maintainer_clean_files. Transform - clean.am when installing; try to remove unnecessary tests in - generated code. - - * automake.in (do_check_merge_target): Only generate $(MAKE) - command if there are check targets to make. Report from Karl - Heuer. - -Sun May 17 23:05:55 1998 Tom Tromey - - * aclocal.in (write_aclocal): Fixed generated copyright message. - From Eleftherios Gkioulekas. - - * automake.in (parse_arguments): Typo fix from Paul D. Smith. - -Fri May 8 12:14:03 1998 Tom Tromey - - * automake.in (handle_yacc_lex_cxx): Put lex and yacc output files - onto @clean. - -Wed May 6 01:18:05 1998 Tom Tromey - - * header-vars.am (DESTDIR): Changed from DISTDIR. - -Fri Apr 24 10:16:20 1998 Tom Tromey - - * libs.am: Don't display loop while it runs. - -Sun Apr 5 13:58:24 1998 Tom Tromey - - * Released 1.3. - - * automake.in (handle_options): Correctly handle trailing alpha - version letter or lack thereof. Test version3.test. - - * automake.in (am_conf_line_warning): Perl 4 fixlet; typo fix. - - * automake.in (handle_ltlibraries): Examine _DEPENDENCIES - variable. Report from Chris Provenzano. Test library.test. - (handle_libraries): Likewise. - - * m4/lex.m4: Allow AM_PROG_LEX to be called with no arguments. - -Sun Apr 5 13:54:25 1998 Alexandre Oliva - - * automake.in (scan_one_configure_file): Only warn about - AC_DECL_YYTEXT and AC_PROG_LEXX. - (am_conf_line_warning): New function. - -Fri Apr 3 15:43:46 1998 Doug Evans - - * automake.in (handle_configure): Fix setting of colon_infile - in case where multiple files are used to build Makefile. - [ Test colon5.test ] - -Fri Apr 3 13:07:58 1998 Tom Tromey - - * ansi2knr.c, texinfo.tex: New versions from respective - maintainers. - - * automake.in (scan_one_configure_file): Exclude INSTALL_DATA from - configure_vars. Test instdata.test. - -Tue Mar 31 21:07:42 1998 Tom Tromey - - * automake.in (handle_yacc_lex_cxx): Changed to use new version of - ansi2knr. - * ansi2knr.c: New version from L. Peter Deutsch. - -Thu Mar 26 11:00:04 1998 Tom Tromey - - * m4/exeext.m4: Correctly eliminate bad cases when computing - am_cv_exeext. Report from Markus F.X.J. Oberhumer. - -Wed Mar 25 15:09:56 1998 Tom Tromey - - * automake.in (handle_options): Support alpha version numbers. - - * lisp.am (install-@DIR@LISP): Allow .el files to appear in build - directory. From Gary V Vaughan. - -Mon Mar 23 07:55:04 1998 Tom Tromey - - * Released 1.2h. - - * header.am (install-@DIR@HEADERS): A header can appear in the - build directory as well as the source directory. From Gary V - Vaughan. - - * automake.in (handle_yacc_lex_cxx): Push lib sources onto - de_ansi_files before generating ._c dependencies. Test - libobj8.test. - - * m4/mktime.m4: New version from Jim Meyering. - - * aclocal.in (usage): Document --print-ac-dir. - (parse_arguments): Added --print-ac-dir. - - * ansi2knr.c, ansi2knr.1: New versions from ghostscript. - (main): Reapplied "-" change from Harlan Stenn. - -Fri Mar 20 22:42:30 1998 Tom Tromey - - * automake.in (scan_one_configure_file): Use &am_conf_line_error, - not warn. Check to make sure warnings happen only for - configure.in, not for "not aclocal.m4". - -Fri Mar 20 22:35:31 1998 Alexandre Oliva - - * automake.in: understand AM_PROG_LEX as a replacement for - AC_PROG_LEX and AC_DECL_YYTEXT - warn if the replaced macros are used. - * m4/Makefile.am: add lex.m4 - * m4/lex.m4 (AM_PROG_LEX): new file and macro - * missing: added lex/flex support - instead of touching flex and bison output files, try to copy - them from a filename based on the last given argument - -Fri Mar 20 00:26:10 1998 Tom Tromey - - * m4/protos.m4: Require AC_PROG_CPP. - - * aclocal.in (add_file): If &search fails, and macro matches AM_, - then print error. Test aclocalii.test. - - De-ansi-fication fixes from Harlan Stenn: - * ansi2knr.c (main): Accept "-" argument to mean stdin. - * automake.in (handle_yacc_lex_cxx): Preprocess C source before - running through ANSI2KNR. - (get_object_extension): Generate rule for /ansi2knr.o. - - * texinfos.am: Include $(DESTDIR). - * lisp.am: Include $(DESTDIR). - * java.am: Include $(DESTDIR). - * mans.am (install-man@SECTION@): Include $(DESTDIR). - * automake.in (handle_man_pages): Include $(DESTDIR) in - installdirs variable. - (handle_texinfo): Likewise. - (am_install_var): Likewise. - * header-vars.am (DISTDIR): Define. - * data.am, header.am, libs.am, ltlib.am, progs.am, scripts.am: - Support $(DESTDIR) at install time. From Assar Westerlund. - - * automake.in (handle_java): Put Java sources in distribution. - -Thu Mar 19 01:33:35 1998 Tom Tromey - - * automake.in (handle_java): Put JAVACFLAGS after -d option. From - Per Bothner. - - * automake.in (handle_java): Use $(JAVAROOT) in place of `../..' - in default CLASSPATH. - (am_install_var): Allow `JAVA' variable to be defined. Don't - define `JAVA' primary. - - * automake.in (scan_one_configure_file): Check for `sinclude' and - turn into recursive call. - - * automake.in (initialize_per_input): Set $output_all. - (generate_makefile): Don't set $output_header or generate - `default' target. Print $output_all before $output_header. - (handle_merge_targets): Put `all' target into $output_all. - -Wed Mar 18 14:48:44 1998 Tom Tromey - - * automake.in (handle_configure): Put secondary dependencies from - multi-":" AC_OUTPUT entry into dependency list for file created by - config.status, not file created by automake. Test colon3.test. - (generate_makefile): Pass $output, not $makefile, to - handle_merge_targets. - - * Makefile.am (pkgdata_DATA): Added java.am, java-clean.am. - * java-clean.am: New file. - * java.am: New file. - * automake.in (generate_makefile): Call handle_java. - (handle_java): New sub. - (am_install_var): Only push primary variable on @all if not doing - Java. - -Sun Mar 8 15:43:09 1998 Tom Tromey - - * automake.in (handle_configure): When recognizing AC_OUTPUT ":" - syntax, make regexp less greedy. From Maciej W. Rozycki. Test - colon4.test. - -Fri Mar 6 21:20:53 1998 Tom Tromey - - * m4/exeext.m4 (AM_EXEEXT): Ignore am_c_test.o. From Bruno - Haible. - -Tue Feb 24 12:10:44 1998 Tom Tromey - - * Released 1.2f. - - * mans.am (install-man@SECTION@, uninstall-man@SECTION@): Quote - `$' in sed expression. - - * config.guess, config.sub, texinfo.tex: New versions from FSF. - - * Makefile.am (pkgdata_DATA): Added mans.am. - * automake.in (handle_man_pages): Rewrote for new man page - handling. - (initialize_global_constants): Removed install_man_format, - uninstall_man_format. - * mans.am: New file. - - * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, - scripts.am, texinfos.am: Put `@' before NORMAL_UNINSTALL - invocation. - -Mon Feb 23 13:38:56 1998 Tom Tromey - - * automake.in (get_object_extension): Remove .c.lo rule from - libtool when dependencies turned on. - * libtool.am (.c.lo): Disable when dependency checking turned on. - - Dependency fixes from Alexandre Oliva: - * automake.in (handle_dependencies): Fixed quoting when - substituting @PFX@ and @EXT@. Don't look for the `.P' file. - * depend2.am (%.o): Use @PFX@ and @EXT@. - (%.lo): New rule. - - * texinfos.am (.txi.info, .txi.dvi, .txi): New rules. - * automake.in (handle_texinfo): Recognize .txi files. From Karl - Berry. - - * automake.in (handle_single_transform_list): $objpat now a - parameter. Set $objpat when suffix rule found. - - * aclocal.in (parse_arguments): Only put current year in --version - output. - * automake.in (parse_arguments): Only put current year in - --version output. - -Mon Feb 16 00:12:03 1998 Tom Tromey - - * automake.in (handle_aclocal_m4): When processing -I options, - directory is separate argument. Test aclocali.test. - -Fri Feb 13 14:35:39 1998 Ian Lance Taylor - - * automake.in (handle_texinfo): Correct condition for whether - texinfo.tex is required. [Test texinfo5.test] - -Fri Feb 13 00:28:53 1998 Tom Tromey - - * Released 1.2e. - - * Makefile.am: Removed bogus line. - -Thu Feb 12 22:27:05 1998 Tom Tromey - - * automake.in (get_object_extension): Conditionally include .c.o - rule from compile.am. - (handle_dependencies): Generate correct code when including new - depend2.am. - (file_contents_with_transform): Better error reporting. - * depend.am (MKDEP): Removed. - (.deps/.P): Removed. Don't include .deps/.P. - * compile.am (.c.o): Now conditional on dependencies not being - generated by compiles. - * depend2.am (%.o): New rule. - (.deps/%.P): Removed. - - * tags.am (TAGS): Uniquify list of files. From Harlan Stenn. - - * aclocal.in (scan_m4_files): Reverse-sort keys when constructing - `search' function. From Johan Danielsson. - -Tue Sep 16 14:13:15 1997 Paul D. Smith - - * automake.in: Create new option --generate-deps. This option has - automake generate a .dep_segment file containing just the - dependencies created from the .P list. This is needed to maintain - other makefiles that automake doesn't deal with (Makefile.DOS, - SMakefile, etc.) - * automake.texi (Invoking Automake): Document it. - -Thu Feb 12 19:45:16 1998 Tom Tromey - - * aclocal.in (scan_configure): Tightened regexp a bit. Test - whoami.test. From Johan Danielsson. - - Report from H.J. Lu. - * automake.in (output_yacc_build_rule): Don't write rule to create - `.h' file. - (handle_yacc_lex_cxx): Generate rule to build each .h file. - - * automake.in (handle_options): Set readme-alpha and check-news - for Gnits after main processing. Test alpha.test. From Jim - Meyering. - - * aclocal.in (usage): Updated bug-reporting address. - * automake.in (usage): Updated bug-reporting address. - - * compile.am: Remove *.core for 4.4BSD systems. From Assar - Westerlund. - - * automake.in (handle_single_transform_list): Don't set - seen_any_source if all sources are C++. - -Wed Feb 11 17:30:01 1998 Tom Tromey - - * aclocal.in (write_aclocal): Write to $output_file, not - aclocal.m4. From Alexandre Oliva. - -Thu Feb 5 13:38:55 1998 Tom Tromey - - * automake.in (scan_one_configure_file): Put CXCPP before CXX in - regexp. From Garth Corral. Test cxxxcpp.test. - -Sun Jan 25 11:16:53 1998 Tom Tromey - - * automake.in (generate_makefile): Run handle_minor_options before - handle_dist, to make sure README-alpha ends up in distribution. - From Jim Meyering. - -Tue Jan 13 09:19:33 1998 Tom Tromey - - * aclocal.in (add_file): Hack for Perl 4. From Seth Alves. - -Thu Dec 11 12:29:46 1997 Ian Lance Taylor - - * scripts.am: Don't add @EXEEXT@ to installed scripts. Scripts - are not executables. - -Tue Dec 2 20:07:18 1997 Tom Tromey - - * automake.in (initialize_global_constants): Bug fix in - uninstall_man_format. Report from Eric Backus. - -Mon Dec 1 13:52:39 1997 Tom Tromey - - * automake.in (handle_source_transform): Correctly generate - _OBJECTS when _SOURCES is defined conditionally. Reported by Rob - Savoye. Test cond3.test. - - Fixes for test objc.test: - * automake.in (initialize_per_input): New global seen_any_source. - (handle_yacc_lex_cxx): Use seen_any_source to decide when to - define LINK, et al. - (handle_single_transform_list): Set seen_any_source. - (handle_lib_objects_cond): Likewise. - -Wed Nov 26 13:41:57 1997 Tom Tromey - - * Released 1.2d. - - * m4/ccstdc.m4: Don't force AM_PROG_CC_STDC before AC_PROG_CPP. - Temporary hack. - - * m4/mktime.m4 (AM_FUNC_MTIME): New version from Paul Eggert. - - * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL, - NORMAL_UNINSTALL, PRE_UNINSTALL, POST_UNINSTALL): Define as `:', - not `true'. - - * automake.in (output_yacc_build_rule): Don't overwrite .h file in - non-ylwrap case. - - * tags.am (ID): Scan lisp files. - (TAGS): Make tags for lisp files. - -Tue Nov 25 14:20:42 1997 Tom Tromey - - * ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM. From Gord - Matzigkeit. - -Fri Nov 21 15:15:50 1997 Tom Tromey - - * m4/mingw.m4, m4/cygwin.m4: Argument to AC_TRY_COMPILE is - function body, not entire function. From Ian Taylor. - -Sat Oct 25 12:39:19 1997 Tom Tromey - - * automake.in (scan_one_configure_file): Skip empty string for - Perl 4. From Assar Westerlund. - - * config.guess, config.sub, texinfo.tex: New versions from FSF. - -Fri Oct 24 23:15:09 1997 Tom Tromey - - * automake.in (output_yacc_build_rule): Use YFLAGS again. - (handle_yacc_lex_cxx): Error if YACCFLAGS used. - -Wed Aug 27 19:26:45 1997 Rob Savoye - - * compile.am: Add suffix rules for ".s.o" and ".S.o" so assembler - files can be used. - * libtool.am: Add suffix rules for ".s.lo" and ".S.lo" so assembler - files can be used. - * automake.in: Add .S and .s to the standard list of suffixes so - assembler files can be used. - -Fri Oct 24 13:39:01 1997 Tom Tromey - - * m4/exeext.m4: Require AM_MINGW32. Check MINGW32 setting. - -Thu Oct 23 21:16:28 1997 Tom Tromey - - * m4/init.m4 (missing_dir): AC_REQUIRE AM_SANITY_CHECK, - AC_ARG_PROGRAM, and AC_PROG_MAKE_SET. - -Tue Oct 21 16:49:36 1997 Tom Tromey - - * automake.in (handle_options): Recognize `cygnus'. - -Tue Sep 9 17:09:47 1997 Rob Savoye - - * m4/mingw.m4: New file for mingw32 support. - * m4/exeext.m4: Also check for the mingw32 environment. - -Tue Oct 21 00:39:44 1997 Tom Tromey - - * m4/Makefile.am (m4data_DATA): Added mingw.m4. - - * automake.in (handle_lib_objects_cond): Don't require @LEXLIB@. - (handle_programs): Likewise. - - * subdirs.am (check-recursive installcheck-recursive - info-recursive dvi-recursive): Handle case when SUBDIRS is empty. - (maintainer-clean-recursive): Likewise. From Assar Westerlund. - - * aclocal.in (scan_m4_files): If macro recognized, &search will - return 1. - (scan_configure): If AM_ macro not found, give error. - - * m4/sanity.m4: If `ls' completely fails, die. From Jim - Meyering. - -Mon Oct 20 16:13:48 1997 Tom Tromey - - * automake.in (handle_single_transform_list): Fixlet for Fortran. - From Bernard Urban. - - * libtool.am: Remove _libs, for libtool 1.0d. From Gord - Matzigkeit. - -Sun Oct 19 22:59:35 1997 Tom Tromey - - * texinfos.am: Bug fix. From John W. Coomes. - -Mon Sep 29 12:57:00 1997 Tom Tromey - - * Released 1.2c. - - * automake.in (handle_dist_worker): In topmost directory of - project, use `distdir', not `top_distdir', as argument to - --output-dir; likewise when building in subdirs. - -Sun Sep 28 15:55:46 1997 Tom Tromey - - * m4/sanity.m4: Test $*, not $@. From Akim Demaille. - - * automake.in (handle_minor_options): New sub. - (check_gnits_standards): Don't handle README-alpha here. - (handle_dist_worker): Check NEWS file if `check-news' option - requested. - (generate_makefile): Run handle_minor_options. - (handle_options): Handle readme-alpha and check-news. Set them if - --gnits. - - * depend.am (MKDEP): Use $(CC), not gcc. - -Wed Sep 24 23:48:26 1997 Tom Tromey - - * Release 1.2b. - - * m4/ccstdc.m4 (AM_PROG_CC_STDC): Make sure this is run before - AC_PROG_CPP. From Markus Oberhumer. - -Fri Sep 12 00:04:19 1997 Paul Eggert - - * m4/ccstdc.m4 (AM_PROG_CC_STDC): Don't look at __STDC__; - look only at whether function prototypes are supported. - -Wed Sep 24 16:10:37 1997 Tom Tromey - - * Various: Put "-" before each `rm' line. This avoids a bug in - some losing makes (Ultrix, 4.3 BSD). - - * automake.in (handle_dist_worker): Correctly handle subdirs that - have their own configure.in. From Peter Mattis. - - * automake.in (handle_yacc_lex_cxx): Handle de-ansi-fied sources - in srcdir as well as build dir. - - * automake.in (scan_one_configure_file): Detect AC_OUTPUT(). - (handle_single_transform_list): Don't apply length() to a list. - - * automake.in (handle_programs): Define _DEPENDENCIES variable if - not defined by user. - -Thu Sep 18 19:43:38 1997 Tom Tromey - - * m4/sanity.m4: Quote "$@" for m4. From Gord Matzigkeit. - -Mon Sep 1 23:50:38 1997 Tom Tromey - - * automake.in (handle_texinfo): Set need_texi_file only when - TEXINFO_TEX not defined. - -Thu Aug 28 09:37:29 1997 Tom Tromey - - From Juergen Erhard: - * automake.in (SUFFIX_RULE_PATTERN): New global. - (handle_single_transform_list): If suffix matches a source suffix, - rewrite. - (read_am_file): Add suffix rules to %suffix_rules. - (initialize_per_input): Initialize %suffix_rules. - -Wed Aug 27 12:56:50 1997 Tom Tromey - - * automake.in (handle_texinfo): Also remove .kys and .ps files. - - * automake.in (handle_yacc_lex_cxx): Quoting fixlet. From Kaveh - Ghazi. - - * aclocal.in (write_aclocal): Print copyright and copying - permissions. From RMS. - * automake.in (initialize_global_constants): More copyright stuff - from RMS. - - * automake.in (handle_texinfo): Only require texinfo.tex in - appropriate situations. Report from Paul D. Smith. - -Mon Aug 25 15:45:52 1997 Tom Tromey - - * automake.in (scan_dependency_file): Fix so that - OMIT_DEPENDENCIES will work. From Alexander Lukyanov. - - * automake.in (handle_texinfo): texi2dvi can generate `.cn' - files. From Akim Demaille. - -Wed Aug 6 10:51:37 1997 Tom Tromey - - * automake.in (handle_texinfo): Reversed sense of test. - -Tue Aug 5 17:49:54 1997 Tom Tromey - - * automake.in (handle_dependencies): Always mark OMIT_DEPENDENCIES - as seen. - - * automake.in (handle_yacc_lex_cxx): Make each _.c file depend on - ansi2knr. - - * automake.in (handle_yacc_lex_cxx): Fix for makes which don't - allow $< in non-suffix rules. From Akim Demaille. - - * automake.in (value_to_list): If variable name contains configure - substitution, then just ignore it. - - * automake.in (variable_defined): Mark variable is seen, even if - only conditionally seen. - - * Makefile.am: Check for bad splits. - * automake.in (various): Use split(' ',...), not split(/ /,...). - -Tue Aug 5 14:08:51 1997 Ian Lance Taylor - - * ylwrap: If the program is a relative path, force it to be - absolute. - -Tue Aug 5 16:59:41 1997 Tom Tromey - - * missing: Examine A[CM]_CONFIG_HEADER for name of files to - touch. From Markus F.X.J. Oberhumer. - - * automake.in (require_file_internal): Better error message when - installing. - - * automake.in (handle_texinfo): Smarter test when deleting output - of makeinfo. - -Sat Aug 2 13:32:45 1997 Tom Tromey - - * automake.in (do_check_merge_target): In --cygnus mode, check - doesn't depend on all. - - * automake.in (output_yacc_build_rule): Use YACCFLAGS, not - YFLAGS. Per GNU Standards. - - * dejagnu.am (RUNTESTDEFAULTFLAGS): New macro. - (check-DEJAGNU): Use it. - - * subdirs.am (maintainer-clean-recursive): Actually reverse subdir - list. From Alexander Lukyanov. - - * automake.in (initialize_global_constants): Changed generated - copyright. From RMS. - - * automake.in (handle_configure): Pass correct value for - CONFIG_FILES. From Ian Taylor. - -Thu Jul 31 17:36:10 1997 Ian Lance Taylor - - * ylwrap (pairlist): Shift out trailing "--"; don't pass it to - $prog. - -Thu Jul 24 00:52:02 1997 Tom Tromey - - * automake.in (initialize_global_constants): Changed index names - in dist hash so that alternate dist targets will be generated. - Report from Glenn Amerine. - - Suggestion from Karl Berry: - * automake.in (usage): Added short info line. - - * aclocal.in (usage): Updated bug-reporting address. Added short - info line. - - * automake.in (handle_emacs_lisp): Put contents of lisp-clean.am - into output. Report from Karl Berry. - -Mon Aug 25 16:14:32 1997 Tom Tromey - - * automake.in (handle_configure): Only generate ":" syntax for - CONFIG_FILES when really needed. - -Wed Aug 6 14:47:12 1997 Ian Lance Taylor - - * remake-hdr.am (@CONFIG_HEADER@): Use a dummy command to force - GNU make to recheck the file modification time. - -Tue Aug 5 14:44:10 1997 Ian Lance Taylor - - * ylwrap: If the program is a relative path, force it to be - absolute. - -Mon Aug 4 14:52:08 1997 Ian Lance Taylor - - * automake.in ($RULE_PATTERN): Accept $ in body of rule name. - (handle_programs): Don't append $(EXEEXT) if the - program name contains '.'. - (am_install_var): When rewriting _PROGRAMS, don't append $(EXEEXT) - if the program names contains '.'. Also, handle conditionals. - -Sat Aug 2 14:43:41 1997 Tom Tromey - - * m4/exeext.m4: Fixed quoting. - - * m4/exeext.m4 (am_cv_exeext): Use echo, not ls. - - * automake.in (handle_programs): Transform @EXEEXT@ when including - program.am. - -Fri Aug 1 17:09:09 1997 Tom Tromey - - * automake.in (handle_programs): Don't transform CYGWIN or - NOTCYGWIN. - (am_install_var): Likewise. - - * progs-clean.am (clean-@DIR@PROGRAMS): Never include EXEEXT. - - * progs.am: Removed @EXEEXT@; it is now implicit. - * program.am: Add @EXEEXT@ in appropriate places; removed - cygwin-dependent code. - * automake.in (seen_exeext): Renamed from seen_cygwin32. - (handle_programs): Use seen_exeext. - (scan_one_configure_file): Look for AM_EXEEXT, not AM_CYGWIN32. - (check_cygnus): Use seen_exeext. - (am_install_var): Likewise. - (am_install_var): When handling PROGRAMS primary, append EXELIST - to program names as necessary. - * m4/exeext.m4: Require AM_CYGWIN32. - -Thu Jul 31 17:36:10 1997 Ian Lance Taylor - - * ylwrap (pairlist): Shift out trailing "--"; don't pass it to - $prog. - - * texinfos.am: Add -I $(srcdir) when invoking $(MAKEINFO) for - CYGNUS .texinfo.info case and .texinfo case. - - * automake.in (handle_configure): Correct handling of inputs for - for AC_OUTPUT files when invoking config.status. - -Mon Jul 28 15:29:25 1997 Rob Savoye - - * m4/cygwin.m4: Set a variable CYGWIN32, rather than EXEEXT. - * m4/exeext.m4: New autoconf test for an executable suffix. - * m4/Makefile.in: Install the new exeext.m4 test. - -Sun Jun 22 14:01:59 1997 Tom Tromey - - * Released version 1.2. - - * automake.in (handle_texinfo): Look for texinfo.tex in aux dir. - - * automake.in (require_file_internal): Only print "installing" - when actually installing. From Gord Matzigkeit. - - * automake.in (handle_tests): Exit status `77' means `ignore - test'. From François Pinard. - (handle_tests) Also, make banner same size as text. - - * automake.in (handle_configure): Don't handle PRE_BUILT_SOURCES. - (handle_built_sources): Likewise; don't have `all' depend on - BUILT_SOURCES. - - * depend.am (DEPS_MAGIC): New variable. - (.deps/.P): Depend on BUILT_SOURCES again. - - * texinfos.am: Use ||, not ;. - -Tue Jun 10 11:04:16 1997 Tom Tromey - - * m4/cygwin.m4: Examine output of compiler to see if .exe needed. - -Sun Jun 1 13:16:05 1997 Tom Tromey - - * automake.in (handle_built_sources): Handle PRE_BUILT_SOURCES. - (handle_configure): Likewise. - - * depend2.am (.deps/%.P): Don't generate file if MKDEP fails. - From Alexandre Oliva. - - * depend.am (.deps/.P): Depend on PRE_BUILT_SOURCES, not - BUILT_SOURCES. - - * automake.in (initialize_global_constants): Added 1997 to - copyright info. - - * automake.in (output_yacc_build_rule): Never move y.tab.c over - the .h file. From Jim Meyering. - -Thu May 29 23:16:02 1997 Tom Tromey - - * automake.in (scan_one_configure_file): Avoid defining ACLOCAL, - AUTOCONF, AUTOMAKE, AUTOHEADER. From David Zaroski. - -Sat Feb 22 16:05:24 1997 Gordon Matzigkeit - - * Makefile.am (pkgdata_DATA): Under this new scheme, we no longer - need compile-kr.am. Delete it. - - * automake.in (handle_yacc_lex_cxx, get_object_extension): Use - _.c, _.o, _.lo instead of ._c, ._o, .l_o for de-ansification. - - * ansi2knr.c (main): Parse our arguments a little differently so - that we don't create null output files when we can't read the - input file. - -Wed May 28 23:40:33 1997 Tom Tromey - - * depend.am (.deps/.P): Depend on $(BUILT_SOURCES) again. From - Gord Matzigkeit. - -Mon May 26 22:50:49 1997 Tom Tromey - - * remake-hdr.am ($(srcdir)/@STAMP@.in): Make echo silent. Report - from Alexandre Oliva. - - * automake.in (generate_makefile): If --no-force, check - Makefile.in against configure.in and aclocal.m4. Report from - Alexandre Oliva. - - * automake.in (handle_dist_worker): Put --include-deps on command - line if specified originally. - (handle_configure): Likewise. - - * configure.in: Error if Perl 5.001 is used. - - * ylwrap: Don't quote $prog when executing it. From Jim - Meyering. - -Thu May 15 12:05:20 1997 Tom Tromey - - * automake.in (handle_merge_targets): Set INSTALL_SCRIPT in - install-strip target. - -Tue May 13 08:20:02 1997 Tom Tromey - - * automake.in (handle_dependencies): Don't generate dependencies - if DEP_FILES would be empty. - -Sun May 11 13:59:14 1997 Tom Tromey - - * config.guess: New version from FSF. - - * automake.in (get_object_extension): If ansi2knr in another - directory, always define ANSI2KNR to full path. From Akim - Demaille. - - * kr-extra.am (clean-krextra): Remove ansi2knr here, not in - distclean-krextra. - - * missing: Regularized grammar. From François Pinard. - -Sat May 10 16:48:47 1997 Tom Tromey - - * Released 1.1p. - - * m4/init.m4: Error if source directory already configured. - - * automake.in (scan_dependency_file): Always use srcdir name as - passed in on command line. - -Thu May 1 12:53:46 1997 Ian Lance Taylor - - * automake.in (value_to_list): Don't fail when a variable - substitution is not a complete word. - -Tue May 6 15:22:41 1997 Ian Lance Taylor - - * subdirs.am: Fix check for make -k to use $(MAKEFLAGS) and to not - get fooled by command line arguments. - -Sat May 10 15:48:46 1997 Tom Tromey - - * m4/ccstdc.m4: Print "none needed" if compiler accepts ANSI C by - default. - -Mon May 5 23:24:09 1997 Tom Tromey - - * mkinstalldirs, config.guess, config.sub, COPYING, texinfo.tex: - New versions from FSF. - -Sun May 4 15:21:22 1997 Tom Tromey - - * texinfos.am (install-info): Avoid the Debian install-info. - (uninstall-info): Likewise. - - * automake.in (handle_single_transform_list): Strip any directory - name before processing name. - -Thu May 1 19:24:08 1997 Tom Tromey - - * depend2.am (.deps/%.P): Don't put $(srcdir)/ into dependency. - -Wed Apr 30 19:15:47 1997 Tom Tromey - - * automake.in (handle_dist_worker): Change how top_distdir is - computed. Based on patch from Ian Taylor. - (handle_dist): Define top_distdir. - - * automake.in (handle_yacc_lex_cxx): Include CXXFLAGS in CXXLINK. - (handle_yacc_lex_cxx): Include CFLAGS in LINK. - -Wed Apr 30 14:46:37 1997 Ian Lance Taylor - - * automake.in (handle_dist_worker): When building a distribution, - if SUBDIRS is defined conditionaly, recur into each possible - subdirectory. - - * clean.am (distclean-generic): Remove stamp-h[0-9]*. - -Tue Apr 29 19:11:45 1997 Tom Tromey - - * INSTALL, mkinstalldirs, install-sh: Update from François - Pinard. - - * aclocal.in (add_macro): If AC_ macro was defined, then mark it - as seen. Report from Janos Farkas. - - * subdirs.am: Clean targets now run in reverse order. From Kevin - Dalley. - - * automake.in (handle_texinfo): Put `aminfo', not `info' on - @clean. - - * mdate-sh: New version from Ulrich Drepper. - -Mon Apr 28 01:18:05 1997 Tom Tromey - - * automake.in (handle_configure): Makefile only depends on - BUILT_SOURCES when generating dependencies. - - * Released 1.1o. - -Sun Apr 27 23:58:20 1997 Tom Tromey - - * automake.in (handle_dist): Use variable_value, not - variable_contents. - -Wed Apr 23 14:04:28 1997 Ian Lance Taylor - - * automake.in (IF_PATTERN): Define. - (ELSE_PATTERN, ENDIF_PATTERN): Define. - (AM_CONDITIONAL_PATTERN): Define. - (%configure_cond): New global hash table. - (handle_source_transform): If xx_SOURCES is defined conditionally, - define xx_OBJECTS using the same conditions. - (handle_lib_objects): If variable is defined conditionally, define - xx_DEPENDENCIES conditionally. Most code moved into subroutine. - (handle_lib_objects_cond): New function, broken out of - handle_lib_objects. - (scan_one_configure_file): Look for $AM_CONDITIONAL_PATTERN. - (conditional_true_when): New function. - (variable_defined): Add new parameter: cond. Change some - callers. - (variable_conditions): New function. - (variable_conditionally_defined): New function. - (variable_value): New function. Change most uses of $contents to - call variable_value instead. - (value_to_list): New function, from variable_value_as_list. - (variable_value_as_list): Add new parameter: cond. Change all - callers. Move some code into subroutine value_to_list. - (define_pretty_variable): Add new parameter: cond. Change call - callers. - (read_am_file): Handle conditionals. - (initialize_per_input): Initialize %conditional and - @conditional_stack. - * m4/cond.m4: New file. - * m4/Makefile.am (m4data_DATA): Add cond.m4. - -Sun Apr 27 11:03:36 1997 Tom Tromey - - * automake.in (handle_dist_worker): Run automake once per - directory, instead of once at the top. - (handle_dist_worker): Changed interface. - (handle_dist): Likewise. - (generate_makefile): Better error message if can't write the - file. - (handle_dist_worker): Pass top_distdir to subdir makes. - - * automake.in (handle_dist_worker): Use mode 777 on directories in - distribution. GNU Standards compliance. - - * automake.in (handle_yacc_lex_cxx): Don't use interlock. - (output_yacc_build_rule): Don't use interlock; just use new ylwrap - instead. The new ylwrap builds in a subdir; idea from Mark - Eichin. - (output_lex_build_rule): Likewise. - (initialize_global_constants): [common_files] Don't include - interlock. - - * Makefile.am (pkgdata_SCRIPTS): Removed interlock. - * interlock: Removed. - * ylwrap: Changed interface. Now runs command in subdir. - - * remake.am (config.status): Look in srcdir for config header. - ($(srcdir)/configure): Likewise. - * remake-hdr.am (@STAMP@): Look in srcdir for config header. From - Phil Nelson. - ($(srcdir)/@CONFIG_HEADER_IN@): Likewise. - - * automake.in (handle_aclocal_m4): Make target $(ACLOCAL_M4), not - value spelled out. From Phil Nelson - - * automake.in (handle_configure): Don't skip Makefiles; instead - skip automake inputs. - (handle_merge_targets): Changed interface; put $makefile at - beginning of @all (rather than Makefile at end). - - * automake.in (handle_yacc_lex_cxx): Correctly compute - de_ansi_sources. - - * clean-kr.am (distclean-kr): Do nothing; ansi2knr is removed in - kr-extra.am. - - * Makefile.am: Check to make sure there are no accidental - configure substitutions. - - * automake.in (handle_texinfo): Don't allow configure substitution - on @MAKEINFO@ here. - - * automake.in (handle_yacc_lex_cxx): ._c and ._o files both depend - on $(ANSI2KNR). - - * kr-extra.am (ansi2knr): Removed. - (ansi2knr.o): Likewise. - - * automake.in (get_object_extension): Allow ansi2knr to be built - from any directory. - -Fri Apr 25 12:33:23 1997 Tom Tromey - - * missing: Changed bison text. From Ian Taylor. - - * m4/missing.m4: Redirect stdin of testee. From Bill Fenner. - - * automake.in (output_yacc_build_rule): Generate rule to create .h - file. - (handle_footer): Generate unique, sorted list of suffixes. - - * automake.in (scan_one_configure_file): Recognize AC_PROG_AWK, - _CPP, _CXCPP, _LN_S. From Ralph Schleicher. - -Mon Apr 21 12:35:57 1997 Ian Lance Taylor - - * automake.in (@config_fullnames): New array. - (@config_names): New array, replacing $config_name. - (@config_headers): New array, replacing $config_header. - (get_object_extension): Handle multiple header files. - (handle_tags, handle_merge_targets): Likewise. - (scan_one_configure_file): Likewise. - (handle_configure): Likewise. Don't check for the configuration - header file in AC_OUTPUT; it won't be there. - * remake-hdr.am: Handle multiple header files. - * clean-hdr.am: New file, broken out of remake-hdr.am. - * m4/header.m4: Handle multiple header files. - * Makefile.am (pkgdata_DATA): Add clean-hdr.am. - -Wed Apr 16 00:05:47 1997 Tom Tromey - - * texinfos.am (.texi.info, .texi, .texinfo.info, .info): Remove - - * automake.in (define_program_variable): Added `override' argument. - (handle_texinfo): Pass override arg when defining MAKEINFO. - (AC_MISSING_PROG): New constant. - (scan_one_configure_file): Use it. - -Tue Apr 15 12:12:28 1997 Tom Tromey - - * automake.in (handle_texinfo): In --cygnus mode, reserve - clean-info for the user. - - * automake.in (handle_subdirs): Typo fix. From Akim Demaille. - - * automake.in (handle_tags): Only use SUBDIRS if it is actually - defined. Report from Ian Taylor. - - * tags.am: Added prefix to SUBDIRS rules. - -Wed Apr 9 17:09:40 1997 Tom Tromey - - * automake.in (handle_ltlibraries): Use correct rpath - substitution. Bug from Jim Blandy. - -Mon Apr 7 17:40:18 1997 Tom Tromey - - * automake.in (AM_INIT_AUTOMAKE_PATTERN): Fixed for new 3rd arg. - Test version2.test. - -Thu Apr 3 19:07:59 1997 Tom Tromey - - * Released 1.1n. - - * tags.am (TAGS): Run "cd && etags" in subshell for proper - associativity. - - * texinfos.am (install-info-am): If --cygnus, then info file can - be in build dir. From David Zaroski. - - * ltlibrary.am (@LTLIBRARY@): use @RPATH@, not explicit -rpath. - - * automake.in (handle_ltlibraries): Treat EXTRA_ libraries - specially. - -Wed Apr 2 00:03:50 1997 Tom Tromey - - * automake.in (handle_source_transform): Don't generate dependency - on config.h. - (scan_dependency_file): Strip the .P file from the target. - - * automake.in (handle_tags): Use single, not double, quotes when - setting list variable. - - * data.am, header.am, libs.am, lisp.am, ltlib.am, progs-clean.am, - progs.am, scripts.am, tags.am: Use single quotes to fill list - variable; otherwise `$' in filename will not work. From Per - Bothner. - - * mdate-sh: Use "ls -d" so mdate-sh can be run on a directory. - From Bruno Haible. - - * automake.in (handle_programs): Error if LIBADD used where LDADD - meant. - (handle_libraries): Error if LDADD used where LIBADD meant. - (handle_ltlibraries): Likewise. - -Tue Apr 1 22:46:33 1997 Tom Tromey - - * automake.in (check_canonical_spelling): New sub. - (handle_programs): Use it. - (handle_libraries): Likewise. - (handle_ltlibraries): Likewise. - -Mon Mar 31 12:13:08 1997 Tom Tromey - - * depend2.am (.deps/%.P): Make .P file depend on everything the .c - file includes. - -Fri Mar 28 23:34:49 1997 Tom Tromey - - * automake.in (handle_configure): Error if stamp-h appears in - AC_OUTPUT line. - -Thu Mar 27 17:28:47 1997 Tom Tromey - - * automake.in (handle_dist_worker): Avoid automake rules in - generated Makefile when no-dependencies specified. From Greg - Woods. - - * m4/lispdir.m4: Don't AC_SUBST ELCFILES. From Greg Woods. - - * texi-vers.am (stamp-@VTI@): Make commands silent. - - * Makefile.am (maintainer-check): "true" is ok now. - - * m4/init.m4: Added optional 3rd argument, which avoids - AC_DEFINE. - - * automake.in (scan_one_configure_file): Explicitly avoid - INSTALL_SCRIPT to avoid defining it twice. - - * header-vars.am: Change _INSTALL variable definitions to `true'. - Updated all users to put `@' before invocation. - -Tue Mar 25 22:09:45 1997 Tom Tromey - - Update to follow GNU Standards: - * automake.in (handle_man_pages): Use NORMAL_UNINSTALL before - uninstall-man. - * texinfos.am (uninstall-info): Use two loops, and have - PRE_UNINSTALL before running install-info. - * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, - scripts.am, texinfos.am: Use NORMAL_UNINSTALL. - * header-vars.am (PRE_UNINSTALL, POST_UNINSTALL, - NORMAL_UNINSTALL): Define. - - * automake.in (scan_one_configure_file): Don't define ANSI2KNR as - a configure varriable. - - * m4/missing.m4: Run test in a subshell. From Gord Matzigkeit. - -Mon Mar 24 23:28:59 1997 Tom Tromey - - * m4/sanity.m4: Sleep before creating temp file. - - * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL): - Define. - -Sat Mar 22 00:06:00 1997 Tom Tromey - - * automake.in (am_install_var): Make sure to delete - CYGWIN/NOTCYGWIN tokens as appropriate. - (handle_programs): Remove NOTCYGWIN tokens as well. - (file_contents_with_transform): A single newline makes an empty - line. - - * program.am: Remove executable before linking. - - * texinfos.am (.texi.dvi): Look in @TEXINFODIR@ for texinfo.tex. - (.texinfo.dvi): Likewise. - - * automake.in (handle_texinfo): TEXINFO_TEX variable can set - location of texinfo.tex. - -Fri Mar 21 10:22:51 1997 Tom Tromey - - * texinfos.am (.texinfo.dvi): Mirror .texi.dvi. - - * ansi2knr.c, ansi2knr.1: New versions from L. Peter Deutsch. - - * scripts.am: Add @EXEEXT@ to installed scripts. - -Wed Jan 22 20:12:31 1997 Jim Meyering - - * m4/mktime.m4 (AM_FUNC_MKTIME): Run tests for each of a few values - for the TZ environment variable. Andre Novaes Cunha provided the - hairy TZ setting that exercized the Solaris tzset bug. - -1997-01-22 Paul Eggert - - * m4/mktime.m4: (AM_FUNC_MKTIME): Fix bug in mktime test -- don't - test now, test a couple of thousand times. - -Thu Mar 20 00:16:54 1997 Tom Tromey - - * automake.in (handle_programs): Remove CYGWIN lines unless - AM_CYGWIN32 seen. - (am_install_var): Remove CYGWIN lines from -clean file as well. - - * progs.am: Put @EXEEXT@ where appropriate. - - * program.am (@PROGRAM@): If using Cygwin32, then create actual - name in addition to ".exe" name. - - * progs-clean.am (clean-@DIR@PROGRAMS): Conditionalize on CYGWIN. - - * automake.in (check_cygnus): Require AM_CYGWIN32 in --cygnus mode. - (am_install_var): If AM_CYGWIN32 not seen, then remove @EXEEXT@ - from .am files. - - * automake.in (seen_cygwin32): New global. - (scan_one_configure_file): Check for AM_CYGWIN32. - - * m4/cygwin.m4: New file. - - * automake.in (scan_one_configure_file): Explicitly handle - AC_CONFIG_HEADER so we can avoid spurious warnings. - (obsolete_macros): Removed AC_CONFIG_HEADER. - - * automake.in (handle_yacc_lex_cxx): Perl 4 fixes. From Greg - A. Woods. - -Wed Mar 19 00:35:13 1997 Tom Tromey - - * Released 1.1m. - - * m4/missing.m4: Print message saying what is happening. - - * m4/sanity.m4: sleep before testing. - -Tue Mar 18 17:20:03 1997 Tom Tromey - - * config.guess, config.sub: New from the FSF. - - * automake.in (initialize_global_constants): [common_files] - Include `missing'. - (scan_configure): Require `missing'. - - * header-vars.am (MAKEINFO): Don't define. - - * m4/init.m4 (missing_dir): Use AM_MISSING_PROG. - * m4/missing.m4: New file. - - `missing' changes from François Pinard: - * Everywhere: Use ACLOCAL_M4 to name aclocal.m4 file; ACLOCAL now - names aclocal program. - * m4/init.m4: Replace programs with `missing' if not found. - * automake.in (handle_texinfo): Define MAKEINFO as @MAKEINFO@. - (AC_CHECK_PATTERN): Check for alphanumeric names only. - (handle_aclocal_m4): Use ACLOCAL, not aclocal. - * Makefile.am (pkgdata_SCRIPTS): Include missing. - * missing: New file. - - * automake.in (target_defined): New sub. - (handle_footer): Error if target .SUFFIXES used. - -Sun Mar 16 14:33:41 1997 Tom Tromey - - * automake.in (handle_lib_objects): Set seen_c_source to line - number. - (handle_yacc_lex_cxx): Use seen_c_source as line number. - (am_line_error): Line of -1 means skip line-number check. - - * automake.in (read_am_file): Change to keep perl -w quiet. - (check_typos): Removed extra check of EXTRA_ containing config - subs. - -Mon Mar 10 23:17:19 1997 Tom Tromey - - * remake-hdr.am (stamp-h): Set CONFIG_HEADERS to - $(CONFIG_HEADER_FULL). - * automake.in (handle_configure): Define CONFIG_HEADER_FULL. - - * automake.in (handle_lib_objects): Set seen_c_source as - appropriate. From Alexander V. Lukyanov. Test cxxlibobj.test. - -Sat Mar 8 22:54:35 1997 Tom Tromey - - * texinfo.tex: New version. - - * automake.in (handle_emacs_lisp): If EMACS is `no', then we - couldn't find an Emacs. So don't bother running elisp-comp. From - Ulrich Drepper. - - * automake.in (handle_texinfo): Added .tr and .cv to list of - texinfo clean extensions. From Karl Berry. - -Fri Feb 28 22:14:53 1997 Tom Tromey - - * Makefile.am: Make sure we never use "undef". - - * automake.in (usage): Changed bug-reporting address. - (handle_dist): Use undef, not delete. - -Wed Feb 26 08:41:11 1997 Gordon Matzigkeit - - * automake.in (%obsolete_macros): Reintroduce, with hints for what - to do to upgrade the support. - - * automake.in, ltlib-clean.am, ltlib.am, ltlibrary.am: Revamped - libtool support to use the _LTLIBRARIES primary. - -Wed Feb 26 00:20:39 1997 Tom Tromey - - * automake.in (handle_tags): In default case, add @tags_deps to - dependencies of tags target. - -Tue Feb 25 23:46:29 1997 Tom Tromey - - * automake.in (handle_tests): If a test failed, then make should - fail. From Jim Meyering. - -Mon Feb 24 19:02:21 1997 Tom Tromey - - * texi-vers.am (@VTEXI@): Copy stamp file into output. - -Sun Feb 23 00:10:36 1997 Tom Tromey - - * automake.in (handle_programs): Give correct error line for lex - error. - (am_line_error): Avoid uninitialized value errors from perl -w. - - * aclocal.in (scan_m4_files): Fixed perl -w warning. - - * texinfos.am (.texi, .texinfo): New targets. - - * automake.in (scan_texinfo_file): Renamed. - (handle_texinfo): Handle files without ".info" extension. - - * automake.in (handle_subdirs): Error if directory contains "/". - (handle_yacc_lex_cxx): Quoting fix. - (handle_single_transform_list): Use transformed (non-ansi) version - of $obj instead of explicit ".o". From Gord Matzigkeit. - - * m4/sanity.m4: Pass -L to ls if possible. - -Sat Feb 22 15:22:31 1997 Tom Tromey - - * dist-vars.am (DISTFILES): Don't distribute MANS. - - * automake.in (handle_dist): Use define_variable to define TAR, - GZIP. - (handle_dist): Pass GZIP in environment to tar. - (initialize_global_constants): Likewise. - - From Kaveh Ghazi: - * m4/protos.m4: Don't put any dependencies on AC_C_INLINE or - AC_C_CONST. - * m4/ccstdc.m4: Force AM_PROG_CC_STDC to come before AC_C_INLINE - or AC_C_CONST. - -Fri Feb 21 00:39:17 1997 Tom Tromey - - From The Crimson Binome: - * automake.in (handle_yacc_lex_cxx): Handle C++ yacc/lex source. - (output_yacc_build_rule): New sub for C++ yacc/lex. - - * automake.in (my_glob): New sub. - (handle_dependencies): Use my_glob. - (handle_aclocal_m4): Scan ACLOCAL_AMFLAGS for dependencies. - - * ltlibs.am, lisp.am, libs.am, header.am, data.am, progs.am, - scripts.am, texinfos.am: Add leading space to echo. - - * automake.in (handle_texinfo): Added .tps and .vrs to list of TeX - endings. From Jim Blandy. - (install_man_format): Make rule silent; instead print actual - command. - -Tue Feb 4 18:29:42 1997 Tom Tromey - - * dist-vars.am (TAR): Removed. - * automake.in (TAR): New variable. - (handle_dist): Explicitly define TAR. - * configure.in: Compute TAR. - - * automake.in (handle_lib_objects): Put @ALLOCA@ on @dep_list, not - @dep_files. - (AC_SUBST_PATTERN): Typo fix. - (handle_aclocal_m4): Use ACLOCAL_AMFLAGS. - (handle_clean): Put -recursive target before -am target. - (handle_merge_targets): Put basename of $config_name on @all. - Test confsub.test. From Ramón García Fernández. - -Tue Jan 28 22:19:04 1997 Tom Tromey - - * automake.in (initialize_global_constants): Put libtoolize files - into @common_files, not @common_sometimes. From Gord Matzigkeit. - -Sun Jan 26 17:46:08 1997 Tom Tromey - - * texinfos.am (.texi.info): If --cygnus, set -I $(srcdir). From - Per Bothner. - -Sun Jan 12 18:28:16 1997 Fred Fish (fnf@ninemoons.com) - - * automake.in: Use 'interlock' and 'ylwrap' from source - directory or aux config directory, not build directory. - -Tue Jan 7 18:35:10 1997 Tom Tromey - - * aclocal.in (parse_arguments): Handle -I. - (usage): Ditto. - (scan_m4_files): Ditto. - - * automake.in (handle_single_transform_list): Don't give error - message if extension unrecognized. - -Tue Dec 17 11:18:20 1996 Andreas Schwab - - * m4/header.m4 (AM_CONFIG_HEADER): Check for $CONFIG_HEADERS, not - $CONFIG_HEADER. - -Tue Jan 7 17:59:26 1997 Tom Tromey - - * automake.in (scan_one_configure_file): AM_INIT_GUILE_MODULE runs - AM_PROG_INSTALL, not AC_PROG_INSTALL. From Jim Blandy. - (handle_texinfo): Handle no-texinfo.tex option. - (handle_options): Ditto. - -Thu Jan 2 14:16:17 1997 Tom Tromey - - * automake.in (am_install_var): Ignore EXTRA libtool libraries. - From Marius Vollmer. - -Wed Dec 18 15:27:09 1996 Tom Tromey - - * automake.in (read_am_file): Sort configure_vars before adding to - output_vars. - (handle_yacc_lex_cxx): Sort de_ansi_objects. - (handle_man_pages): Sort %section keys. - -Tue Dec 10 00:41:17 1996 Tom Tromey - - * automake.in (AC_SUBST_PATTERN): Check for alphanumeric variable - names only. Test subst.test. - (scan_one_configure_file): Skip AC_DEFUN lines. Test - defun2.test. - -Mon Dec 9 08:18:42 1996 Tom Tromey - - * automake.in (file_contents_with_transform): Use ne, not !=, to - compare strings. Compare against correct string. From Jim - Meyering. - (handle_texinfo): Use rm -f to remove info files. From Gord - Matzigkeit. - - * Released 1.1l. - - * automake.in (handle_texinfo): Put .ps on @suffixes. - -Sun Dec 8 12:29:52 1996 Tom Tromey - - * automake.in (am_install_var): Directory with 'exec' in its name - is installed by install-exec. - - * subdirs.am (maintainer-clean-recursive): Make commands quiet. - * texinfos.am: Make commands quiet. - * scripts.am: Make commands quiet. - * progs.am: Make commands quiet. - * ltlibs.am: Make comamnds quiet. - * lisp.am: Make commands quiet. - * libs.am: Make commands quiet. - * header.am: Make commands quiet. - * data.am: Make commands quiet. - - * automake.in (variable_value_as_list): Handle := substitution - references. - (am_conf_line_error): Take file argument. Changed all callers. - (scan_one_configure_file): Skip config header of [$1]. - (scan_dependency_file): Don't add top_builddir to regex if it is - ".". Don't include top_builddir in output if it is ".". - (scan_one_configure_file): Skip version of [$2]. - -Sat Dec 7 11:34:39 1996 Tom Tromey - - * automake.in (scan_one_configure_file): New sub. - (scan_configure): Scan aclocal.m4 as well as configure.in. - (handle_configure): Makefile.in now depends on $(ACLOCAL), because - automake scans it. - - * automake.in (handle_configure): Put full path to file onto - @rewritten_inputs. Test output4.test. - - * automake.in (handle_configure): Put proper name onto @inputs. - Test output3.test. - - * automake.in (handle_configure): Pass correct args to automake - invocations. Test remake2.test. - - * automake.in (handle_configure): Check dirname of $file, not of - $local. Test output2.test. - - * automake.in (handle_dependencies): Added some missing ";"s in - transforms. - (get_object_extension): Ditto. - (handle_tags): Ditto. - (handle_tests): Ditto. - (read_am_file): Ditto. - (am_install_var): Ditto. - (file_contents_with_transform): Die if transform missing trailing - ";". - - * automake.in (am_install_var): Quote $ in regexp substitution. - From Ulrich Drepper. - -Fri Dec 6 18:54:10 1996 Tom Tromey - - * automake.in (handle_configure): Require actual input files, not - rewritten input files. From Ulrich Drepper. - -Thu Dec 5 02:52:20 1996 Tom Tromey - - Suggestion from Mark Galassi: - * texinfos.am (DVIPS): New macro. - (.dvi.ps): New rule. - - * automake.in (handle_dependencies): Check to make sure - --build-directory specified before searching for .P files. - (handle_configure): Correctly handle ":" syntax when running - config.status. - - * remake.am: Removed rules to regenerate Makefile and Makefile.in; - now handled by handle_configure. - - * remake-subd.am: Removed. - - * automake.in (scan_configure): Handle multiple ":"s in AC_OUTPUT - arg. - (parse_arguments): Ditto. - (handle_configure): Ditto. - (%other_output_files): Removed. - (rewrite_inputs_into_dependencies): New sub. - (handle_configure): Use it. - (handle_configure): Ditto. - - From Gord Matzigkeit: - * automake.in (generate_makefile): Handle ":" in AC_OUTPUT arg. - (handle_configure): Ditto. - - * automake.in (handle_single_transform_list): .S is assembly - source. From Anthony Green. - - * automake.in (handle_single_transform_list): Correctly rewrite - C++ and Fortran source to objects ending in ".o". Test - cxxo.test. - - * automake.in: Better error message if file missing. - - * aclocal.in (@obsolete_macros): ud_GNU_GETTEXT is obsolete. - * automake.in (handle_gettext): Use AM_GNU_GETTEXT, not - ud_GNU_GETTEXT. - (scan_configure): Ditto. ud_GNU_GETTEXT is now obsolete. - -Wed Dec 4 00:41:23 1996 Tom Tromey - - * automake.in (scan_configure): Skip empty elements when adding to - libsources. Perl 4 bug reported by Greg A Woods. - - * Makefile.am (perl4-check): New target. - (cvs-dist): Run perl4-check. - - Perl 4 fixes. Reported by Greg A. Woods: - * automake.in (file_contents_with_transform): If transform caused - all chars to go away, then skip rest of loop. - (handle_texinfo): Don't use "next" in arg to - file_contents_with_transform. - (handle_dependencies): Ditto. - (handle_tests): Ditto. - - * m4/regex.m4 (AM_WITH_REGEX): Check for GNU regex in libc. From - Andreas Schwab. - - * automake.in (parse_arguments): Removed --strictness. - (handle_dist_worker): Don't use --strictness. - (handle_configure): Ditto. - (initialize_global_constants): Don't mention --strictness. - - * automake.in (handle_merge_targets): Use all-recursive-am instead - of all-recursive-hack. The latter is ugly, according to Joel - Weber. - - * automake.in (handle_emacs_lisp): Push $(ELCFILES) onto @all. - - * automake.in (do_one_clean_target): Allow -local version of clean - targets. - -Tue Dec 3 18:58:40 1996 Tom Tromey - - * automake.in (handle_dependencies): Skip C-only lines in - depend2.am when appropriate. - * depend2.am (.deps/%.P): Omit modification of $o if language is - not C. - -Tue Dec 3 11:29:01 1996 Gordon Matzigkeit - - * compile-kr.am: Quote arguments to echo. - - * progs.am: Fix up problems when LIBTOOL is not defined (by - setting shell variable instprog to the installation program). - - * aclocal.in (scan_file): Allow the acinclude.m4 file to override - any other macro files (but still prevent multiple definitions - within acinclude.m4). - -Tue Dec 3 10:40:48 1996 Tom Tromey - - From Ulrich Drepper: - * automake.in (handle_emacs_lisp): Typo fix. - (scan_configure): Only recognize VERSION after whitespace. - - * texinfos.am: install-info requires path to info file. - - * progs.am: Use @LIBTOOL@, not $(LIBTOOL). - - * automake.in (am_install_var): If -ltlibs passed, substitute - @LIBTOOL@. - -Mon Dec 2 13:51:11 1996 Gordon Matzigkeit - - * automake.in (get_object_extension): Unshift ansi2knr onto the - all target, so that it builds before any other targets. - [de_ansi_objects]: Delete, since unshifting ansi2knr is an easier - solution. - -Mon Dec 2 12:13:27 1996 Tom Tromey - - * Released 1.1i. - - From Janos Farkas: - * automake.in (handle_texinfo): Must quote $ for make. - -Sun Dec 1 15:08:09 1996 Tom Tromey - - * automake.in (handle_configure): Correctly handle common case of - multiple non-Makefiles in AC_OUTPUT. Require all input files when - using ":" syntax. - -Sun Nov 24 00:33:50 1996 Tom Tromey - - * automake.in (handle_source_transform): Don't define - EXTRA_prog_SOURCES unnecessarily. Test extra2.test. - - * automake.in (initialize_per_input): New variables - included_generic_compile, included_knr_compile, - included_libtool_compile. - (get_object_extension): Use them. - - * automake.in (handle_single_transform_list): Removed - Objective-C/C++ support (didn't really work anyway). - (handle_single_transform_list): Handle assembly specially. - - * automake.in (handle_yacc_lex_cxx): Set --mode=compile or - --mode=link when running libtool. - - * ltlibs.am: Set --mode=install when running libtool. - (uninstall-@DIR@PROGRAMS): Set --mode=uninstall when running - libtool. - * libtool.am (.c.lo): Set --mode=compile when running libtool. - * progs.am: Set --mode=install when running libtool. - - Fix for bug reported by François Pinard: - * automake.in (do_check_merge_target): New sub. - (do_one_merge_target): No longer handle `check'. - (handle_merge_targets): Use do_check_merge_target. - (initialize_per_input): Set @check_tests. - (handle_tests): Push onto @check_tests, not @check. - - * automake.in (am_install_var): Typo fix. - (handle_configure): Require $inputs[0]. - -Fri Nov 22 00:01:45 1996 Tom Tromey - - * automake.in (handle_lib_objects): Fixed error message - processing. - -Thu Nov 21 22:29:30 1996 Tom Tromey - - * automake.in (scan_configure): AC_FUNC_FNMATCH doesn't add to - LIBOBJS. - (handle_configure): Support multi-":" mode for AC_OUTPUT. - - * m4/header.m4: New file. - - * automake.in (scan_configure): Recognize AM_CONFIG_HEADER. - -Wed Nov 20 00:23:42 1996 Tom Tromey - - * acinstall: Allow commentary at end of "serial" line. From Gord - Matzigkeit. - - * automake.in (handle_yacc_lex_cxx): Only replace output header if - it has changed. - -Tue Nov 19 19:03:30 1996 Tom Tromey - - * automake.in (am_primary_prefixes): Allow configure variables to - be named after primary. - (am_install_var): Ditto. - - * automake.in (initialize_per_input): Initialize output_header. - (generate_makefile): Set up output_header; print it before - output_rules. - (handle_footer): Put .SUFFIXES into output_header, for AIX. - -Mon Nov 18 19:11:53 1996 Gordon Matzigkeit - - * automake.in: Added a lot of libtool support. New variable - prog_LDFLAGS to pass linker flags. Use libtoolize to install - libtool support files. - -Mon Nov 18 13:29:55 1996 Tom Tromey - - * automake.in (handle_lib_objects): Push @LIBOBJS@ and @ALLOCA@ - onto dependency list. - - * aclocal.in (obsolete_macros): Include AM_SANITY_CHECK_CC; now - part of autoconf proper. - * m4/ccsanity.m4: Removed. - -Sun Nov 17 12:25:17 1996 Tom Tromey - - * automake.in (check_typos): Check to make sure EXTRA_ variables - don't contain configure subs. - (handle_dist_worker): Removed EXTRA_DIST_DIRS; not needed. - -Fri Nov 15 18:58:04 1996 Tom Tromey - - * tags-subd.am: Removed. - - * tags.am (tags-recursive): Removed. - (TAGS): Depend on @DIRS@, @CONFIG@. Use @CONFIG@ in rule. - (ID): From tags-subd.am. - - * aclocal.in (obsolete_macros): Include AM_FUNC_FNMATCH. - * automake.in (scan_configure): Recognize AC_FUNC_FNMATCH. - * m4/fnmatch.m4: Removed (now in autoconf). - - * 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 - - * 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 - - * 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 - - * 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 - - * automake.in (handle_single_transform_list): Simplified C++ - matching expression. - -Fri Nov 8 09:49:09 1996 Tom Tromey - - * 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 - - * 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 - - * 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 - - * 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 - - * automake.in (handle_dependencies): Use -M, not -MM, for C++ - dependencies. - -Thu Oct 24 20:21:50 1996 Tom Tromey - - * 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 - - * 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 - - * 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 - - 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 - - * 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 - - * 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 - - * 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 - - * automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX - are obsolete. - -Sun Oct 6 00:43:01 1996 Tom Tromey - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * automake.in (read_am_file): Cleaned up dejagnu variables. - -Mon Sep 23 00:04:48 1996 Tom Tromey - - * 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 - - * automake.in (am_install_var): More error checking. - -Fri Sep 20 09:06:37 1996 Tom Tromey - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * tags-clean.am: Do deletions here again. - -Thu Sep 5 09:06:23 1996 Tom Tromey - - * 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 - - * 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 - - * 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çois Pinard. - -Tue Aug 27 08:25:05 1996 Tom Tromey - - * automake.in (file_contents_with_transform): Correctly remove - @(UN)?MAINT@ from input when maintainer mode not active. - (handle_aclocal_m4): Handle no-maintainer-mode case. - - * remake-hdr.am ($(CONFIG_HEADER)): Removed @MAINT@. - - * m4/AM_SANITY_CHECK_CC.m4: New file (from Jim Meyering). - -Mon Aug 26 21:37:32 1996 Tom Tromey - - * automake.in (handle_lib_objects): Bug fix from Steve M Robbins. - (handle_libraries): Don't include libraries from EXTRA_LIBRARIES - in LIBFILES definition. Reported by Steve M Robbins. Test - alllib.test. - - * automake.in (variable_value_as_list): New sub. - (handle_source_transform): Use it. - (handle_lib_objects): Ditto. - (handle_libraries): Ditto. - (handle_texinfo): Ditto. - (handle_man_pages): Ditto. - (am_install_var): Ditto. - (handle_options): Ditto. - -Sat Aug 24 09:30:46 1996 Tom Tromey - - Reported by Jim Meyering: - * automake.in (get_object_extension): Look in "./" for ansi2knr if - no path found. - (handle_aclocal_m4): Protect aclocal.m4 rule with @MAINT@. - - * remake.am (.PHONY): New target. - - * m4/AM_MAINTAINER_MODE.m4: Also define UNMAINT. - - * automake.in (check_gnu_standards): Disallow no-installman, - no-installinfo. - (read_am_file): Sed out UNMAINT too. - (file_contents_with_transform): Ditto. - - * acinstall: New file. - - * m4/AM_INIT_AUTOMAKE.m4: Define PACKAGE and VERSION. - - * m4/AM_WITH_REGEX.m4: New version from François Pinard. - - * m4/AM_TYPE_PTRDIFF_T.m4: Use am_cv, not ac_cv. - * m4/AM_C_PROTOTYPES.m4: Ditto. - * m4/AM_FUNC_STRTOD.m4: Ditto. - * m4/AM_PROG_CC_STDC.m4: Ditto. - * m4/AM_PROG_LIBTOOL.m4: Ditto. - -Fri Aug 23 22:23:50 1996 Tom Tromey - - * m4/Makefile.am (m4datadir): New macro - (m4data_DATA): Renamed. - - * Makefile.am (cvs-dist): Depend on distcheck target. - -Mon Aug 19 15:37:32 1996 Tom Tromey - - * automake.in (initialize_global_constants): [common_files] - Include acinclude.m4. - - * m4/AM_PROG_CC_STDC.m4: Patch from Jim Meyering/Kaveh Ghazi. - -Sat Aug 17 11:27:14 1996 Tom Tromey - - * automake.in (handle_dependencies): Push `depend'-clean targets - on @clean. - * depend.am (mostlyclean-depend, clean-depend, distclean-depend, - maintainer-clean-depend): New targets. - -Tue Aug 13 17:53:58 1996 Tom Tromey - - * texinfos.am (.texinfo.info): New target. - (.texinfo.dvi): New target. - - From Jim Meyering: - * automake.in (handle_texinfo): Use `.info[-0-9]*' as pattern to - match info files. - (handle_texinfo): Handle `.texinfo' files. - -Mon Aug 12 10:28:46 1996 Tom Tromey - - * automake.in (require_file_internal): Special-case `.' when - finding files to distribute. Test libobj2.test. - - * aclocal.in (add_file): Fixed regexp for matching AC_DEFUN. Test - order.test. - - * m4/AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.m4: New file. - * m4/AM_SYS_POSIX_TERMIOS.m4: New file. - - * compile-kr.am: Removed duplicate ansi2knr rules. - -Sun Aug 11 00:20:16 1996 Tom Tromey - - * automake.in (handle_yacc_lex_cxx): Bug fix from Josh MacDonald. - (handle_yacc_lex_cxx): Put C++ extensions on suffix list. - (mkdir): Removed. - - * automake.in (initialize_global_constants): [common_files] - Include interlock and ylwrap. - - * Released version 1.1c. - - * aclocal.in (obsolete_macros): md_TYPE_PTRDIFF_T and - ud_PATH_LISPDIR are obsolete names. - - * m4/AM_LC_MESSAGES.m4, m4/AM_WITH_NLS.m4, m4/AM_GNU_GETTEXT.m4: - Removed. - - * automake.in (handle_lib_objects): Changed interface. Now - generates _DEPENDENCIES variable if appropriate. - (handle_emacs_lisp): Use AM_PATH_LISPDIR. - (scan_configure): Ditto. - - * Makefile.am (CLEANFILES): Removed. - - * automake.in (handle_configure): Define CONFIG_CLEAN_FILES. - - * clean.am (clean-generic): Remove $(CONFIG_CLEAN_FILES). - - * compile-vars.am (CC, CFLAGS, COMPILE, LINK): Removed. - - * automake.in (handle_yacc_lex_cxx): Require ylwrap in - multi-lex/yacc case. - (handle_source_transform): Changed return result. - (handle_programs): Use linker returned by - handle_source_transform. - (seen_prog_cc, seen_prog_cxx): New globals. - (scan_configure): Recognize AC_PROG_CC and AC_PROG_CXX. - (handle_yacc_lex_cxx): Error message if AC_PROG_CXX or - AC_PROG_YACC missing. - (seen_decl_yytext, seen_prog_lex): New globals. - (scan_configure): Set them. - (handle_yacc_lex_cxx): Warn about missing AC_PROG_LEX or - AC_DECL_YYTEXT. - (handle_yacc_lex_cxx): Use $(LEX_OUTPUT_ROOT). - (initialize_per_input): Initialize seen_c_source. - (handle_yacc_lex_cxx): Define CC, CFLAGS, COMPILE, LINK only when - C source seen. - (handle_source_transform): Set seen_c_source. - - * interlock: Changed usage. - - * ylwrap: New file. - - * automake.in (handle_yacc_lex_cxx): Renamed. - - * automake.in (handle_dependencies): Handle %cxx_extensions. - Include depend2.am when appropriate. - - * depend2.am: New file; contents from depend.am but templatized. - - * automake.in (initialize_per_input): Initialize - %cxx_extensions. - (handle_source_transform): Set %cxx_extensions. - -Sat Aug 10 10:29:30 1996 Tom Tromey - - * interlock: New file. - - * automake.in (handle_yacc_lex): New sub. - (handle_source_transform): Removed most yacc/lex handling. - (initialize_per_input): Init yacc_sources, lex_sources. - (generate_makefile): Run handle_yacc_lex. - (handle_merge_targets): Use `scalar' and not $# to find length of - array. - - * m4/AM_FEATURE_EXIT.m4: Wrote. - * m4/AM_FEATURE_CTYPE.m4: Wrote. - * m4/AM_FEATURE_ERRNO.m4: Wrote. - - * aclocal.in (macro_seen): New global. - (add_file): Set macro_seen entry. Only push required macro on - @rlist if not already seen. Test defun.test. - - * automake.in (get_object_extension): Handle directory prefix on - `ansi2knr' option. - - * kr-extra.am: New file. - - * kr-vars.am: Removed. - - * automake.in (handle_options): Handle directory prefix on - `ansi2knr' option. - - * automake.in (scan_configure): Recognize AM_FUNC_STRTOD. - - * aclocal.in (add_file): Error if macro is duplicated. Test - dup.test. - -Fri Aug 9 09:18:46 1996 Tom Tromey - - * automake.in (handle_programs): Substitute @XLINK@. Make sure - linker variable is transformed name. - * program.am (@PROGRAM@): Use @XLINK@ to link. - - * automake.in (handle_scripts): Fixed call to - am_primary_prefixes. - (handle_libraries): Better error message when AC_PROG_RANLIB - required. - - * automake.in (handle_libraries): Canonicalize library name. Test - canon4.test. - * library.am (lib@LIBRARY@.a): Use @XLIBRARY@ where appropriate. - (lib@LIBRARY@.a): Look at _DEPENDENCIES variable. - -Thu Aug 8 10:57:21 1996 Tom Tromey - - * automake.in (handle_scripts): Correctly compute - $scripts_installed. Test scripts.test. - -Wed Aug 7 12:13:15 1996 Tom Tromey - - * ansi2knr.c: New version. - -Tue Aug 6 10:58:37 1996 Tom Tromey - - * automake.in (handle_source_transform): Handle more C++ file - extensions. "Handle" Objective C. Handle more FORTRAN - extensions. - - * compile-vars.am (LEX): Removed. - (YACC): Removed. - - * automake.in (handle_source_transform): Correctly handle lex - source. Test lex.test. - (handle_source_transform): Skip more C++ headers. Generate macro - definitions for YACC and LEX on first use. - - * aclocal.in (parse_arguments): Mention GNU. - * automake.in (parse_arguments): Mention GNU. - -Mon Aug 5 00:12:45 1996 Tom Tromey - - * automake.in (handle_programs): Define program_LINK. - * program.am (@PROGRAM@): Use program_LINK to link. - - * Released version 1.1b - - * automake.in (scan_configure): AM_INIT_AUTOMAKE sets - seen_prog_install to `2'. - - * configure.in: Don't run AM_PROG_INSTALL. - - * automake.in (parse_arguments): Use $PACKAGE. - ($PACKAGE): New global. - ($am_c_prototypes): Renamed. - (get_object_extension): Use am_c_prototypes. - (scan_configure): Ditto. - (scan_configure): Use AM_MAINTAINER_MODE. - (scan_configure): Warn about obsolete macros. - - * aclocal.in (parse_arguments): Use $PACKAGE. - ($PACKAGE): New global. - - * Makefile.am (CLEANFILES): Added aclocal. - (ETAGS_ARGS): Added aclocal.in. - (TAGS_DEPENDENCIES): Ditto. - (maintainer-check): Depend on aclocal. - (maintainer-check): Check aclocal. - (bin_SCRIPTS): Include aclocal. - - * automake.in (scan_configure): Handle AM_INIT_AUTOMAKE. - (scan_configure): Use AM_PROG_INSTALL. - - * configure.in: Use AM_INIT_AUTOMAKE. - - * automake.in (keyed_aclocal_warning): Warning tells about - aclocal. - (handle_aclocal_m4): New sub. - (handle_configure): Use it. - - * aclocal.in (output_file): New global. - (usage): Handle --output. - (parse_arguments): Handle --output. - - * m4/AM_INIT_AUTOMAKE.m4: New file. - - * m4/AM_PROG_CC_STDC.m4: Require AC_PROG_CC. - Don't touch CFLAGS. - - * automake.in (handle_dist_worker): Reverted erroneous "-chmod". - (handle_texinfo): Don't generate `.info-[0-9]' as a filename. - - * texinfos.am (.texi.info): Force .info file to be built in - srcdir. From Franc,ois Pinard. - - From Jim Meyering: - * m4/AM_PROG_CC_STDC.m4: (fp_PROG_CC_STDC): Include sys/stat.h in - test program so that DYNIX/ptx V4.1.3 doesn't use `-Xc - -D__EXTENSIONS__' -- with those options on that system, sys/stat.h - gets compile errors. With help from Marcus Daniels. - - * automake.in (initialize_global_constants): Put elisp-comp into - @common_files. Bug from Glenn Amerine. - -Sun Aug 4 12:52:43 1996 Tom Tromey - - * automake.in (handle_dist_worker): Use fgrep, not grep. - - * m4/AM_C_PROTOTYPES.m4: Changes from François Pinard. - - * automake.in (handle_emacs_lisp): Include lisp-clean.am in - output. - (initialize_global_constants): [install_man_format] Don't hide - "ugliness" at install time. - - * lisp-clean.am: New file. - - * tags-clean.am (maintainer-clean-tags): Remove TAGS and ID here. - - * automake.in (handle_man_pages): Patch from Janos Farkas to fix - bug when installing man pages. Test man.test. - (initialize_global_constants): [install_man_format] Make sure man - page can actually be found in either source or build dirs. - (handle_dist_worker): Use "755" permissions on distdir. - - * automake.in (handle_dist): Allow chmod's to fail. - (am_primary_prefixes): New function. - (am_install_var): Use it. - (handle_libraries): Use it. Test libfiles.test. - (handle_dist): For dist-tarZ, assume traditional "tar" and - "compress". - - * m4/AM_FUNC_STRTOD.m4: New file. - - * automake.in (handle_dist): Only generate `distdir' variable if - it doesn't already exist. - - Fix for bug reported by Harlan Stenn. Test tags.test. - * automake.in (initialize_per_input): Define dir_holds_sources. - (handle_tags): Check dir_holds_headers. - (handle_headers): Set dir_holds_headers. - - * automake.in (handle_texinfo): Generate "version.texi" dependency - for .dvi file. Bug reported by Glenn Amerine. Test vtexi2.test. - - * automake.in (handle_configure): Require file $input, not - "$local.in". From Nyul Laszlo. Test colon.test. - -Sun Jul 28 11:14:52 1996 Tom Tromey - - * aclocal.in: New file. - * configure.in: Generate m4/Makefile, aclocal. - * Makefile.am (SUBDIRS): Include m4. - * m4/Makefile.am: New file. - -Fri Jul 19 10:12:27 1996 Tom Tromey - - * automake.in (initialize_global_constants): Put ansi2knr.c and - ansi2knr.1 into common_files. Bug report from François Pinard. - -Mon Jul 15 10:28:29 1996 Tom Tromey - - * install-sh: Updated copyright notice. - -Fri Jul 5 08:23:00 1996 Tom Tromey - - * subdirs.am (maintainer-clean-recursive): Don't be so noisy. - Report from Josh MacDonald. - - Bugs from Gord Matzigkeit: - * automake.in (handle_footer): Push contents of $(SUFFIXES), not - `$(SUFFIXES)'. - (handle_dist): Ignore chmod return results. - - * programs-clean.am (clean-@DIR@PROGRAMS): Work around failing - Solaris "rm -f". Bug from Kaveh R. Ghazi. - * libraries-clean.am (clean-@DIR@LIBRARIES): Likewise. - -Fri Jun 21 10:42:06 1996 Tom Tromey - - * texinfos.am (install-info): Use "if", not "&&", to avoid - install problem when glob doesn't match. - - * automake.in (initialize_global_constants): [USAGE] Added - --no-force. - (force_generation): New global. - (parse_arguments): Handle --no-force. - (generate_makefile): Handle --no-force. - - * Makefile.am (maintainer-check): Ensure all invocations of - mkinstalldirs are correct. - -Tue Jun 18 10:53:54 1996 Tom Tromey - - * automake.in (handle_tests): Don't directly generate site.exp. - -Sun Jun 16 22:21:16 1996 Harlan Stenn - - * automake.in: Treat an initial `#' on a word in AUTOMAKE_OPTIONS - as a comment start. Add support for a dist-tarZ target. - -Tue Jun 11 22:14:21 1996 Marcus Daniels - - * depend.am ($(srcdir)/.deps/%.P): Convert absolute $(top_srcdir) - paths into relative paths. - -Mon Jun 10 21:11:20 1996 Tom Tromey - - * texinfo.tex: New version. - - * automake.in: Look for AM_PROG_LIBTOOL. From Gord Matzigkeit. - (initialize_global_constants): Added libtool to - @common_sometimes. - (handle_source_transform): Pass YFLAGS to yacc and LFLAGS to lex. - -Sun Jun 9 17:45:48 1996 Tom Tromey - - * texinfos.am (install-info): Don't install ~ files. Bug report - from Greg McGary. - * automake.in (handle_texinfo): Don't push '.info*' onto - @infos_list. - - * automake.in (handle_gettext): Ensure po and intl in SUBDIRS when - using gettext. - (handle_dist): Pass --with-included-gettext to configure if using - gettext. - - * compile-kr.am (._c._o): Pass -c to $(COMPILE). - (.c._o): Ditto. - * compile.am (.c.o): Pass -c to $(COMPILE). - * compile-vars.am (COMPILE): Don't include -c. - - * remake.am ($(srcdir)/Makefile.in): Pass --strictness to - automake. - * automake.in (handle_configure): Supply --strictness arg to - automake. - -Fri Jun 7 12:31:31 1996 Tom Tromey - - * automake.in (handle_tests): Fix quoting on `pwd`. - (handle_options): Recognize no-installinfo option. - (handle_man_pages): Don't put man directory on @installdirs if - no-installman is specified. - (handle_texinfo): Handle no-installinfo option. - (handle_options): Compare version against $num_version, not - $VERSION. - (handle_source_transform): Generate rules for output of lex, - yacc. Bug report from Thomas Morgan. Test yacc.test. - (handle_dist): "distcheck" now runs "make dvi". - (handle_tests): Support $(TESTS_ENVIRONMENT). Idea from Ulrich - Drepper. - - * dejagnu.am (check-DEJAGNU): Depend on site.exp. - -Sun Jun 2 10:33:10 1996 Tom Tromey - - * automake.in (handle_emacs_lisp): New function. - (initialize_global_constants): Added elisp-comp to - @common_sometimes. - (seen_lispdir): New global. - (scan_configure): Handle ud_PATH_LISPDIR. - - * elisp-comp: New file. - - * lisp.am: New file. - - * automake.in (generate_makefile): Run handle_emacs_lisp. - - * aclocal.m4 (ud_PATH_LISPDIR): New macro, from Ulrich Drepper. - - * automake.in (initialize_global_constants): Removed version.texi - from common_sometimes. - (initialize_global_constants): Added texinfo.tex to common_files. - Test texinfo.test. - (handle_tests): Allow dejagnu- and automake-style test suites to - coexist. Test dejagnu.test. - (initialize_global_constants): New constants AC_CANONICAL_HOST, - AC_CANONICAL_SYSTEM. - (scan_configure): Use new constants. - (handle_tests): Put target specific information into site.exp if - AC_CANONICAL_* used. - (read_am_file): Generate some extra variables when AC_CANONICAL_* - used. - (handle_options): Allow version number to have letters appended. - (handle_tests): Error if RUNTEST, RUNTESTFLAGS defined but dejagnu - option not specd. - (initialize_global_constants): install_man_format changed to - handle built man pages. - -Wed May 29 10:35:01 1996 Tom Tromey - - * config.guess, config.sub: New versions. - -Tue May 28 19:27:11 1996 Tom Tromey - - * configure.in (VERSION): Upped to 1.0. - -Sat May 25 10:19:53 1996 Tom Tromey - - * automake.in (handle_tests): Handle dejagnu. - (handle_options): Recognize dejagnu option. - - * dejagnu.am: New file. - -Thu May 23 10:01:13 1996 Tom Tromey - - * automake.in (handle_dist): Run installcheck target from - distcheck. - - * configure.in (VERSION): Upped to 0.34. - - * automake.in (scan_configure): Always allow upgrading to - fp_PROG_INSTALL. Test fpinstall.test. - -Wed May 22 14:45:28 1996 Joshua Cowan - - (handle_dist): Make `distcheck' check `install' target, too. - -Wed May 22 09:49:27 1996 Tom Tromey - - * automake.in (initialize_per_input): Don't initialize - $output_directory here; initialize it globally. From Joshua - Cowan. Test outdir.test. - -Sat May 18 10:57:40 1996 Tom Tromey - - * automake.in (handle_tests): Don't push TESTS onto dist_common. - (initialize_global_constants): Put install-sh and mkinstalldirs - into @common_files. Test insh2.test. - -Fri May 17 09:02:02 1996 Tom Tromey - - * automake.in (handle_source_transform): Don't generate _OBJECTS - when no source files specified. Test number.test. - - From Joerg-Martin Schwarz: - * automake.in (seen_package, seen_version): New globals. - (scan_configure): Look for PACKAGE= and VERSION=. - - * automake.in (handle_options): Recognize dist-zip. - (handle_dist): Handle dist-zip. - (handle_options): Use ' ', not \s+, with split. Test - backsl.test. - (handle_source_transform): Likewise. - (handle_lib_objects): Likewise. - (handle_libraries): Likewise. - (handle_texinfo): Likewise. - (handle_man_pages): Likewise. - (handle_subdirs): Likewise. - (handle_gettext): Likewise. - (handle_footer): Likewise. - (handle_tests): Likewise. - (scan_configure): Likewise. - (am_install_var): Likewise. - - * Makefile.am (TAGS_DEPENDENCIES): New macro. - - * tags.am (tags-recursive): New target. - (TAGS): Depend on it. - - * automake.in (handle_tags): Put tags-recursive on @phony. - - * tags-subd.am (TAGS): Depend on HEADERS, SOURCES, - TAGS_DEPENDENCIES. - * tags.am (TAGS): Depend on HEADERS, SOURCES, TAGS_DEPENDENCIES. - -Thu May 16 09:21:48 1996 Tom Tromey - - * remake.am (configure): Depend on $(CONFIGURE_DEPENDENCIES). - - * automake.in (scan_configure): Look for install-sh and - mkinstalldirs here. - (initialize_global_constants): Moved mdate-sh from - common_sometimes to common_files. Test mdate2.test. - -Tue May 14 21:52:01 1996 Tom Tromey - - * automake.in (seen_maint_mode): New global. - (scan_configure): Handle jm_MAINTAINER_MODE. - (read_am_file): Handle seen_maint_mode. - (file_contents_with_transform): Handle seen_maint_mode. - (handle_source_transform): Changed interface, all callers. - - From Jim Meyering: - * remake-hdr.am, remake-subd.am, remake.am, texi-version.am: - Handle @MAINT@. - * aclocal.m4 (jm_MAINTAINER_MODE): New macro. - - * automake.in (handle_configure): Check $config_aux_dir against - empty string. From Markku Rossi. Test mkinstall.test. - -Fri May 10 14:38:47 1996 Gord Matzigkeit - - * automake.in (distcheck): Added new rule to top level - Makefile.in. - -Wed May 8 21:57:21 1996 Gord Matzigkeit - - * automake.in (scan_configure): Make sure that gm_PROG_LIBTOOL - sets seen_ranlib. - (generate_makefile): libtool, config.sub, and config.guess should - only ever appear in the top directory of a package. - -Tue May 14 10:24:30 1996 Tom Tromey - - * automake.in (initialize_global_constants): Added libversion.in - to @common_files. - - * configure.in (VERSION): Upped to 0.33. - - * automake.in (am_install_var): Fixed problem in EXTRA_ handling. - Test extra.test. - -Mon May 13 10:41:41 1996 Tom Tromey - - * install-sh (transformbasename): Correct misspelling of - transformbasename. From Ian Lance Taylor. - -Sat Apr 27 11:39:10 1996 Tom Tromey - - * automake.in (handle_configure): Set mkinstalldirs variable - here. - (handle_dist_worker): Explicitly set distdir in subdir makes. - (handle_dist): Handle separate distdir target. - (handle_dist_worker): Only generate distdir target. - - * texinfos.am (install-info): Use $(mkinstalldirs). - * scripts.am (install-@DIR@SCRIPTS): Use $(mkinstalldirs). - * programs.am (install-@DIR@PROGRAMS): Use $(mkinstalldirs). - * libraries.am (install-@DIR@LIBRARIES): Use $(mkinstalldirs). - * header.am (install-@DIR@HEADERS): Use $(mkinstalldirs). - * data.am (install-@DIR@DATA): Use $(mkinstalldirs). - - * automake.in (read_am_file): Set mkinstalldirs variable. - (handle_man_pages): Use it. - (handle_installdirs): Ditto. - -Fri Apr 26 15:10:48 1996 Tom Tromey - - * automake.in (handle_man_pages): Fix mkinstalldirs invocation. - -Thu Apr 25 18:40:06 1996 Tom Tromey - - * automake.in (handle_dist_worker): Use $(TAR), not tar. - (handle_merge_targets): Make sure config header is built before - recursing into subdirs. - (handle_libraries): Generate LIBFILES for check_LIBRARIES. - (handle_merge_targets): Handle case where nothing is installed but - something must be built -- "make install" must still work. - - * dist-vars.am (TAR): New macro. - - * automake.in (scan_configure): Support AC_REPLACE_GNU_GETOPT. - (handle_configure): Require stamp-h.in when config header used. - -Tue Apr 23 17:57:13 1996 Andreas Schwab - - * doc/mdate-sh: Extract the last field from the date output, not - the sixth, which will fail when the timezone name has more than - one word or is missing. - -Wed Apr 24 20:29:26 1996 Tom Tromey - - * automake.in (am_install_var): Use delete, not undef, to remove - EXTRA entry. From Gord Matzigkeit. - -Mon Apr 22 17:48:50 1996 Tom Tromey - - * automake.in (read_am_file): Handle case where last line doesn't - end in newline. - -Tue Apr 9 22:53:16 1996 Tom Tromey - - * automake.in (variable_defined): New function. - (read_am_file): Ensure a blank line comes before starting comments - from Makefile.am. - (initialize_per_input): Initialize %targets. - (read_am_file): Set appropriate entry in %targets. - Many changes to use variable_defined. - (check_gnu_standards): Only require ChangeLog at top level. From - Gord Matzigkeit. - (handle_tests): check-TESTS depends on $(TESTS). From Gord - Matzigkeit. - -Mon Apr 8 22:51:41 1996 Tom Tromey - - * automake.in (parse_arguments): Added short options. - (initialize_global_constants): Ditto. - -Fri Apr 5 00:22:14 1996 Tom Tromey - - * mkinstalldirs (errstatus): Don't necessarily die if mkdir - fails. - - * automake.in (handle_source_transform): Typo fix. - -Thu Apr 4 15:10:50 1996 Tom Tromey - - * automake.in (handle_dist_worker): Renamed dist-local to - dist-hook. - (handle_merge_targets): Added install-data-hook and - install-exec-hook. - (handle_source_transform): Handle EXTRA_prog_SOURCES form. - - * automake.in (handle_scripts): Never allow scripts_installed to - become 0. - - * scripts.am (install-@DIR@SCRIPTS): Scripts can be found in - srcdir. - - * automake.in (generate_makefile): Derived file names from given - input; don't assume Makefile.in and Makefile.am. - (am_file_name, in_file_name): New globals. - (read_am_file): Use them. - - * program.am (@PROGRAM@): Use transformed program name. - - * remake-hdr.am (stamp-h): Actually touch stamp-h. - -Wed Apr 3 15:16:06 1996 Tom Tromey - - * automake.in (require_file_internal): Use correct file for error - messages. Test insh.test. - -Mon Apr 1 09:47:44 1996 Tom Tromey - - * texinfos.am (.texi.info): Build output file in srcdir. - - * automake.in (require_file_internal): If $dir is ".",then look in - relative directory. - (handle_texinfo): Canonicalize name of texi file before looking - for dependency variable. - -Thu Mar 28 08:33:21 1996 Tom Tromey - - * automake.in (require_conf_file_with_conf_line): Yet another - function of this form. - (libtool_line): New variable. - (handle_libraries): Handle libtool. - - * libraries-vars.am: Removed. - - * automake.in (seen_libtool): New variable. - (scan_configure): Look for gm_PROG_LIBTOOL or AC_PROG_LIBTOOL. - - * automake.in (handle_dist_worker): Handle dist-local. - - * Makefile.am (maintainer-check): Do "make check" after all syntax - checks. - - * texi-version.am (stamp-@VTI@): Look for mdate-sh in appropriate - directory. - - * automake.in ($seen_arg_prog): New global. - (handle_programs): Error if AC_ARG_PROGRAM not seen. - (handle_scripts): Ditto. - (handle_configure): mkinstalldirs now a config file. - (handle_installdirs): Find mkinstalldirs in config_aux_dir. - (handle_dist_worker): Removed DIST_SUBDIRS. - (require_file_path): New variable. - (require_file_with_conf_line): Set it. - (require_file_with_line): Ditto. - (require_file): Ditto. - (require_file_internal): Incorporated code from - require_config_file. - (require_config_file): Rewrote. - (require_conf_file_with_line): New function. - (handle_texinfo): Use it for mdate-sh. - (handle_texinfo): Look for mdate-sh in appropriate directory. - -Tue Mar 26 13:47:54 1996 Tom Tromey - - * Makefile.am (cvs-dist): Find NEWS in srcdir. - * automake.in (handle_dist_worker): Find NEWS in srcdir. - ($RULE_PATTERN): Include chars "$(){}/" in allowable patterns in a - rule. - (require_config_file): Set config_aux_path when file found. - ($config_aux_dir): New variable. - (require_config_file): Set it. - (handle_man_pages): Find mkinstalldirs in config_aux_dir. - -Mon Mar 25 15:32:57 1996 Tom Tromey - - * data.am (install-@DIR@DATA): Also allow data to be in build - directory. - -Sun Mar 24 19:56:28 1996 Tom Tromey - - * automake.in (am_install_var): Don't look in EXTRA_primary - variable any more; it is handled in the main loop. - -Wed Mar 20 16:22:35 1996 Tom Tromey - - * data.am (install-@DIR@DATA): Find data in srcdir. - -Fri Mar 15 18:30:31 1996 Tom Tromey - - * automake.in (require_config_file): Use correct filename when - looking for errors. Also, install file in `.' if not found. Bug - reported by Gord Matzigkeit. Test installsh.test. - -Thu Mar 14 09:28:21 1996 Tom Tromey - - * Makefile.am (cvs-diff): New target. - - Fix for bug when install var substitutes empty. Test empty.test. - * header.am (install-@DIR@HEADERS): Allow empty list of headers. - (uninstall-@DIR@HEADERS): Ditto. - * scripts.am (install-@DIR@SCRIPTS): Allow empty list of scripts. - (uninstall-@DIR@SCRIPTS): Ditto. - * libraries.am (install-@DIR@LIBRARIES): Allow empty list of - libraries. - (uninstall-@DIR@LIBRARIES): Ditto. - * data.am (install-@DIR@DATA): Allow empty list of data. - (uninstall-@DIR@DATA): Ditto. - * programs.am (install-@DIR@PROGRAMS): Added missing semicolon. - From François Pinard. - (install-@DIR@PROGRAMS): Fixed bug when list of programs empty. - (uninstall-@DIR@PROGRAMS): Ditto. - -Wed Mar 13 19:50:23 1996 Tom Tromey - - * tags-subd.am (ID): Name of ID file must be flush against -f. - - * configure.in (VERSION): Version 0.32. - -Mon Mar 11 17:50:58 1996 Tom Tromey - - * automake.in (seen_linguas, all_linguas_line): New variables. - (handle_gettext): New function. - (generate_makefile): Run it. - (scan_configure): Recognize ALL_LINGUAS. - -Mon Mar 11 14:34:36 1996 Gord Matzigkeit - - * automake.texi: doc fix. - - * automake.in (am_install_var): Added support for check and - installcheck special prefixes. - -Sun Mar 10 10:44:42 1996 Tom Tromey - - * automake.in (handle_subdirs): Don't do SUBDIRS check for - gettext. - -Tue Mar 5 18:12:04 1996 Tom Tromey - - * automake.in (OBJECT_PATTERN): Removed. - (am_install_var): No error if name is invalid. - (handle_programs): Canonicalize program names. - (BOGUS_MACRO_PATTERN): New variable. - (read_am_file): Error if bad macro name given. - (require_file_internal): Use am_line_error, not am_conf_error. - - * program.am (@PROGRAM@): Recognize @PROGRAM@_DEPENDENCIES. - -Mon Mar 4 19:30:24 1996 Tom Tromey - - * automake.in (handle_lib_objects): New function. - (handle_libraries): Use it. - (handle_programs): Ditto. - (handle_dist_worker): Deprecate DIST_SUBDIRS. - (am_install_var): Allow extended directory mechanism to work. - Test exdir.test. - - * dist-vars.am (DISTFILES): Use EXTRA_DIST. - (DEP_DISTFILES): Ditto. - - * automake.in (OBJECT_PATTERN): New variable. - (am_install_var): Use it. - (handle_dist): DIST_OTHER is an anachronism. - -Sat Mar 2 17:04:38 1996 Tom Tromey - - * automake.in (handle_dist_worker): Only cause Automake to be - re-run if not making a distribution. Fixes bug reported by - Joerg-Martin Schwarz. - (require_file_with_line): New function. - (require_file): Use it. - (am_line_error): Don't print line number if $symbol is empty. - (get_object_extension): Use require_file_with_line. - (handle_libraries): Use require_file_with_line. - (handle_texinfo): Use require_file_with_line. - (handle_configure): Use am_conf_line_error and - require_file_with_conf_line. - (handle_subdirs): Use require_file_with_conf_line. - (handle_configure): Use require_file_with_conf_line. - (handle_tests): Push check-TESTS on @phony. - (am_conf_line_error): New function. - (require_file_with_conf_line): New function. - (require_file_internal): New function. - (require_file_with_line): Use it. - (require_file): Ditto. - (am_conf_line_error): Handle empty line number. - (ac_gettext_line, ac_output_line): New variables. - (scan_configure): Set them. - -Fri Mar 1 00:13:04 1996 Tom Tromey - - * automake.in (parse_arguments): Default strictness is gnu. - Changed `normal' to `foreign' everywhere. - (parse_arguments): Handle --foreign. - (initialize_global_constants): Document --foreign. - (handle_dependencies): Better error message. - (handle_texinfo): Don't push $vtexi on @texis. - (handle_texinfo): Only push $vtexi on @texi_deps if not null. - (handle_configure): install-sh is a config file; require it as - such. - (parse_arguments): Renamed --install-missing to --add-missing. - (add_missing): Renamed from install_missing. - (am_install_var): Check to make sure contents of install variable - are correct if primary requires it. Test badprog.test. - (initialize_global_constants): Initialize - %primary_uses_subobjects. - (handle_source_transform): Skip configure substitutions. Test - depend.test. Also, skip empty elements. - -Thu Feb 29 22:00:30 1996 Tom Tromey - - * texinfo.tex: New version. - - * automake.in (am_install_var): Allow extended range of - installation directories. - - * automake.in (get_object_extension): Don't allow - @CONFIG_INCLUDE_SPEC@ in the Makefile.in when config.h not used. - From Gord Matzigkeit. Test confincl.test. - - * texinfos.am (install-info): Changed usage of install-info (in - comment). Per Feb 25 GNU Standards document. - -Wed Feb 28 07:40:55 1996 Tom Tromey - - * automake.in (handle_tests): New function. - (generate_makefile): Call it. - (handle_subdirs): Skip directories whose names look like configure - substitutions. - (handle_subdirs): Require intl and po, not @INTLSUB@ and @POSUB@, - when using gettext. - (scan_configure): Clear in_ac_output if "]" found. Test - acoutqnl.test. - (require_config_file): New function. - (generate_makefile): Use require_config_file. - (config_aux_path): New variable. - (scan_configure): Check for AC_CONFIG_AUX_DIR. - (handle_merge_targets): Add install-strip rule. - -Tue Feb 27 20:00:36 1996 Tom Tromey - - * mdate-sh: New version from Ulrich Drepper. - - * automake.in (handle_source_transform): Changed fill back to - empty string. - (handle_libraries): Ditto. - (handle_dist): Ditto. - (handle_dependencies): Ditto. - (handle_footer): Ditto. - (handle_phony): Ditto. - - * Makefile.am (DIST_SUBDIRS): Removed. - (installcheck-local): Use Perl, not test -x. - (PERL): New macro. - (maintainer-check): Use $(PERL), not @PERL@. - - * configure.in (VERSION): Upped to 0.31. - -Sat Feb 24 18:02:19 1996 Tom Tromey - - * 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 - - * 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 - - * depend.am ($(srcdir)/.deps/%.P): Regexp fix. - -Mon Feb 19 19:53:09 1996 Tom Tromey - - * 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 - - * 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 - - * 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 18:27:04 1996 Tom Tromey - - * 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 19:12:45 1996 Tom Tromey - - * 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 - - * 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 22:06:51 1996 Tom Tromey - - * 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 20:39:28 1996 Tom Tromey - - * 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 16:55:15 1996 Tom Tromey - - * 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 - - * 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 17:30:29 1996 Tom Tromey - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - 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 - - * 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 - - * automake.in (handle_dist_worker): Bug fix. - -Fri Jan 19 00:50:29 1996 Tom Tromey - - * 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 - - From François Pinard: - * automake.in (handle_source_transform): Transform $o file into .P - file. - (handle_dist_worker): Handle case where DISTFILES includes - wildcard. Bug fix in subdir case. - - * automake.in (parse_arguments): Initialize strictness to - 'normal'. - -Sun Jan 14 13:54:16 1996 Tom Tromey - - * automake.in (scan_configure): Look for NLS support. - - Changes from François Pinard: - * texinfos.am (install-info): Correctly install when build dir is - not srcdir. - * tags-subd.am (ID): Indentation change. - * kr-vars.am (o): Use ".@U@o", not "@U@o". - * depend.am ($(srcdir)/.deps/%.P): Remove temporary file. - * automake.in (handle_dist_worker): Fixlets. - (handle_dist): Sort keys going into dist_common. - -Sat Jan 13 00:18:06 1996 Tom Tromey - - * automake.in (handle_dist_worker): If Gnits, don't allow release - until NEWS is updated. - - * configure.in (VERSION): Version 0.29. - - * Makefile.am (maintainer-check): Look for perl4.036 in path. - - * dist-vars.am (DISTFILES): Include BUILT_SOURCES. - (DEP_DISTFILES): Ditto. - - * automake.in (handle_dist_worker): Depend on DEP_DISTFILES. - * dist-vars.am (DEP_DISTFILES): New variable. - - * automake.in (handle_options): Support dist-shar option. - (handle_dist_worker): New function. - (handle_dist): Use it. - - * texi-version.am (mostlyclean-vti): Remove version.tmp, not - *.tmp. - - * automake.in (handle_dist): Chmod distdir 777. From François - Pinard. - - * automake.in (scan_configure): New function. - (initialize_per_input): Init libsources. - (generate_makefile): Run handle_configure first. - (handle_configure): Run scan_configure. - (handle_configure): Don't look for AC_PROG_MAKE_SET here. - -Thu Jan 11 23:14:18 1996 Tom Tromey - - * Makefile.am (AUTOMAKE_OPTIONS): New variable. - - * automake.in (strictness, strictness_name): Renamed. - (initialize_per_input): Set strictness, strictness_name. - Initialize %options. - (generate_makefile): Run handle_options. - (handle_options): New function. - (handle_man_pages): Make install-man depend on $(MANS). Turn off - man page install if no-installman option given. - (read_am_file): Deprecate @kr@. - (get_object_extension): Look at ansi2knr option. - (parse_arguments): Take global strictness from command-line - options. - -Tue Jan 9 11:24:14 1996 Tom Tromey - - Fixes from François Pinard: - * depend.am ($(srcdir)/.deps/%.P): Handle deansification. - * automake.in (get_object_extension): Use $o, not $(kr)o. - (handle_source_transform): Don't look for $(kr)c files. - * kr-vars.am (o): New macro. - (kr): Removed. - - * depend.am (DEP_FILES): Removed. - * automake.in (handle_source_transform): Push .P file onto - dep_files. - (initialize_per_input): New variable %dep_files. - (handle_dependencies): Generate DEP_FILES here. - -Mon Jan 8 22:27:33 1996 Tom Tromey - - * automake.in (do_one_clean_target): Only remove config.status in - top-level directory. - (handle_tags): Removed 'id' from .PHONY list. From Jim Meyering. - - * clean.am (maintainer-clean-generic): Remove BUILT_SOURCES. - - * automake.in (handle_dist): Make "ln" quiet. - - * tags-subd.am (ID): Depend on HEADERS and SOURCES. - -Sat Jan 6 10:58:23 1996 Tom Tromey - - * automake.in (handle_merge_targets): 'check' shouldn't depend on - 'all' at top level. - (file_contents_with_transform): New function. - (am_install_var): Use file_contents_with_transform. - (handle_programs): Ditto. - (handle_libraries): Ditto. - (handle_texinfo): Ditto. - (handle_merge_targets): Let 'install' depend on 'all' if no other - dependencies exist. From Jim Meyering. - (check_gnu_standards): GNU requires AUTHORS file. (See - maintain.text). - (require_file): Put body in loop. - (get_object_extension): Only call require_file once. - (handle_configure): Ditto. - - From Jim Meyering: - * depend.am ($(srcdir)/.deps/.P): Depend on $(BUILT_SOURCES). - * tags-subd.am (id): Removed. - -Fri Jan 5 10:31:19 1996 Tom Tromey - - * Added copyright notice to each .am file. - - * automake.in: Cleanups from François Pinard to avoid $#. - (require_argument): Fixed sense of test. - (set_strictness): Bug fix. - -Thu Jan 4 21:21:29 1996 Tom Tromey - - * Makefile.am (pkgdata_DATA): Removed old dist files. - - * dist-subd-top.am, dist-subd.am, dist.am: Removed. - - * automake.in (set_strictness): Set $strictness_name. - (strictness_name): New variable. - (handle_dist): Substantially rewrote. - - * configure.in: Point AC_INIT at automake.in. - - * automake.in (generate_makefile): Report errors against - Makefile.in, not Makefile.am. - -Wed Jan 3 00:05:40 1996 Tom Tromey - - * mdate-sh: Bug fix from Jim Meyering. - - * dist.am (dist): Changed in parallel with dist-subd-top.am. - - * mkinstalldirs: Reverted. - - * automake.in (initialize_global_constants): Allow COPYING.LIB - again. - (check_gnits_standards): Disallow COPYING.LIB. - - * texinfos.am (install-info): Only look in $(srcdir) for info - files. - - * automake.in (initialize_global_constants): New variable - gen_copyright. - (read_am_file): Put a copyright in each Makefile.in. - - * dist-vars.am (DISTFILES): Put DIST_COMMON first. - - * automake.in (am_install_var): Put space before "=". - (handle_dist): Put README first in DIST_COMMON. - - * Makefile.am (pkgdata_DATA): Include COPYING. - - * COPYING: New file. - - * automake.in (parse_arguments): Added --gnu and --gnits as - synonyms. - (initialize_global_constants): Ditto. - (initialize_global_constants): Don't auto-distribute COPYING.LIB. - (initialize_global_constants): Look for README first. - (initialize_global_constants): Auto-distribute AUTHORS, BACKLOG, - ABOUT-GNU. - (check_gnu_standards): Require file COPYING. - - From François Pinard: - * automake.in (file_contents): Comment out "warn"s. - (usage): Use 4 columns. - (USAGE_FORMAT): Ditto. - - * texinfos.am (install-info): Look for info file relative to $$d. - - * Makefile.am (cvs-dist): Suppress output of "grep". - - * configure.in (VERSION): Version 0.28. - - * automake.in (pretty_print_internal): Fix for Perl 4 - compatibility. - - * configure.in (VERSION): Version 0.27. - - * depend.am ($(srcdir)/.deps/%.P): Must regexp-quote srcdir in sed - invocation. - - * automake.in (initialize_global_constants): Don't quote "@" in - $install_man_format. - (handle_merge_targets): use "@:" as empty command, not ":". - -Tue Jan 2 23:33:24 1996 Tom Tromey - - * texinfos.am (install-info): Look in $d for info files. From - François Pinard. - - * depend.am ($(srcdir)/.deps/%.P): Fixed regexp. - - * automake.in (read_am_file): Correctly deal with continued - variable definitions. - -Mon Jan 1 15:43:25 1996 Tom Tromey - - * automake.in (handle_merge_targets): 'check' target depends on - 'all'. - (file_contents): Don't be so verbose. - (read_am_file): Ditto. - (read_am_file): Must use substr to check for trailing \. - (am_install_var): Use push_phony_cleaners. - (file_contents): Set $was_rule when assuming a rule is seen. - (read_am_file): Ditto. - (do_one_clean_target): Removed spurious newline. - - Some changes from François Pinard: - * Removed trailing whitespace from all '.am' files. - * tags-subd.am (ID): Use &&, not ;. - (TAGS): Ditto. - * automake.in (parse_arguments): Removed useless message. - (parse_arguments): Don't explicitly referenced STDERR. - (require_argument): Ditto. - (am_error): Ditto. - (set_strictness): Ditto. - (file_contents): Ditto. - (read_am_file): Ditto. - (generate_makefile): Style tweaks. - (handle_programs): Ditto. - (handle_libraries): Ditto. - (handle_texinfo): Ditto. - (handle_man_pages): Ditto. - (handle_tags): Ditto. - (handle_dist): Ditto. - (handle_subdirs): Ditto. - (handle_configure): Ditto. - (handle_footer): Don't put newline before footer.am contents. - (handle_merge_targets): Style tweaks. - (do_one_clean_target): Ditto. - (dirname): Ditto. - (am_variable): Ditto. - Defined some new constants. - (generate_makefile): Don't call generate_header. - (generate_header): Removed. - (file_contents): Rewrote. - (read_am_file): Rewrote. - - * automake.in (generate_makefile): Handle phony target. - (do_one_clean_target): Pretty-print dependencies. - (handle_installdirs): Pretty-print rule. - - * Makefile.am (maintainer-check): Made some commands silent. - - * automake.in (initialize_global_constants): Don't install or - uninstall cat'd man pages. - (initialize_per_input): Added phony target. - (push_phony_cleaners): New function. - (get_object_extension): Handle phony targets. - (handle_texinfo): Ditto. - (handle_man_pages): Ditto. - (handle_tags): Ditto. - (handle_dist): Ditto. - (handle_subdirs): Ditto. - (handle_installdirs): Ditto. - (handle_merge_targets): Ditto. - (handle_clean): Ditto. - (do_one_merge_target): Ditto. - (am_install_var): Ditto. - (handle_phony): New function. - (generate_makefile): Call it. - (pretty_print_internal): New function. - (pretty_print_rule): Ditto. - -Sun Dec 31 13:04:59 1995 Tom Tromey - - * automake.in (initialize_global_constants): Don't print body of - loop at make time. - - Changes from François Pinard: - * depend.am (MKDEP): Include DEFS, INCLUDES, CPPFLAGS, CFLAGS. - (DEP_FILES): Put dependency files in $(srcdir). - Look in $(srcdir) when including dependency files. - ($(srcdir)/.deps/.P): .deps/.P is in $(srcdir). - (.deps/%.P): MKDEP includes all macro expansions. - * dist-subd-top.am (dist): Get absolute path for distdir. Don't - be so verbose. - * dist-subd.am (dist): Don't be so verbose. - * dist.am (dist): Don't be so verbose. - - * automake.in (do_one_clean_target): Remove config.status in - maintainer-clean. From Jim Meyering. - - * programs-clean.am (clean-@DIR@PROGRAMS): Bug fix. From Jim - Meyering. - - * automake.in (handle_merge_targets): Add dummy command for empty - install target. From Jim Meyering. - -Tue Dec 12 10:06:28 1995 Tom Tromey - - * texinfos.am (uninstall-info): Bug fix. - - * Makefile.am (maintainer-check): Error if ${...} used. - * depend.am (DEP_FILES): Prefer $(...). - - * scripts.am (install-@DIR@SCRIPTS): Only install script if it - exists. - * libraries.am (install-@DIR@LIBRARIES): Only install library if - it exists. - * programs.am (install-@DIR@PROGRAMS): Only install program if it - exists. - - * texinfos-vars.am (TEXFILES): Removed. - - * Makefile.am (pkgdata_DATA): Removed libprograms.am. - - * automake.in (do_one_merge_target): Never generate trailing - whitespace. - (pretty_print): New function. - (handle_footer): Prettyprint definitions. - (am_install_var): Ditto. - (handle_source_transform): Ditto. - (handle_dist): Ditto. - (handle_libraries): Ditto. - (read_am_file): Put comments nearer appropriate code. - - * texi-clean.am (mostlyclean-info): Use continued lines, not - multiple rm's. From Jim Meyering. - -Sun Dec 10 11:59:33 1995 Tom Tromey - - * Makefile.am (pkgdata_DATA): Cause INSTALL, install-sh, mdate-sh, - mkinstalldirs, texinfo.tex to be installed. - * automake.in (symlink_exists): New global. - (install_missing): Ditto. - (require_file): Install missing files if possible. - (parse_arguments): Handle --install-missing option. - (initialize_global_constants): Document --install-missing. - - * Makefile.am (cvs-dist): Don't release unless NEWS updated. - Ensure 'checks' pass before release. - (maintainer-check): Renamed. Look in $(srcdir) for sources. From - Franc,ois Pinard. - (cvs-dist): Depend on maintainer-check instead of explicitly - running check. - - * configure.in (VERSION): Version 0.26. - - * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense - of 'if' test. - - * depend.am (DEP_FILES): Bug fix. - - * automake.in (do_one_clean_target): Typo. - - * Makefile.am (check-local): Run syntax check under Perl 4. - - * automake.in: Fixes for Perl 4, from Gord Matzigkeit. - (handle_source_transform): Loop variable is now $_. From Gor - - * Makefile.am (check-local): Check for 'true' in source. - * texinfos.am (install-info): Can't use "true" in any rule. - -Sat Dec 9 10:16:48 1995 Tom Tromey - - * Makefile.am (cvs-dist): New target. - - * tags.am (TAGS): Use "test -z ... ||" to avoid spurious - failures. - - * texinfos.am (install-info): Don't do install-info for now. - - * clean.am (distclean-generic): Don't remove config.status here. - * automake.in (do_one_clean_target): Remove config.status later, - for 'make -j2'. From Jim Meyering. - -Fri Dec 8 16:30:48 1995 Tom Tromey - - * configure.in (VERSION): Version 0.25. - - * automake.in (handle_texinfo): Use "$? >> 8", not "$?". - (handle_configure): Check for AC_PROG_MAKE_SET. - - * depend.am (DEP_FILES): Handle deANSIfication case. From Jim - Meyering. - - * automake.in (am_install_var): Changed how 'clean' handled for - uniform name targets. - * Makefile.am (pkgdata_DATA): Added new files. - * data-clean.am: New file. - * scripts-clean.am: New file. - * libraries-clean.am: New file. - * programs-clean.am: New file. - -Wed Dec 6 00:06:11 1995 Tom Tromey - - * automake.in (am_install_var): Error if variable name - "misspelled". - (handle_source_transform): Automatically include .c file - corresponding to .y or .l. - -Tue Dec 5 00:46:14 1995 Tom Tromey - - * programs.am: Changed for uniform naming scheme. - - * automake.in (read_am_file): Allow '-' and '.' in target names. - (generate_makefile): Don't pass arguments to handle_libraries. - (initialize_per_input): Define @sources, @objects. - (generate_makefile): Init @sources, @objects if needed. - (handle_source_transform): Push onto @sources, @objects here. - (am_install_var): Push primary onto @all, for configure-time - customization. - (handle_programs): Use new uniform naming scheme. - - * Makefile.am (check-local): New target. - - * automake.in (handle_libraries): Use uniform naming scheme. - - * libraries.am: Rewrote for uniform naming scheme. - - * scripts.am: Updated names of all clean targets. - - * automake.in (handle_programs): Split on all whitespace. - (handle_libraries): Ditto. - (handle_texinfo): Ditto. - (handle_man_pages): Ditto. - (am_install_var): Changed return result. - (am_install_var): Changed interface. - (am_install_var): Push onto @clean@ if requested. - (handle_scripts): Pass -clean to am_install_var. - -Mon Dec 4 11:55:36 1995 Tom Tromey - - * automake.in (am_install_var): Push target onto @all. - (get_object_extension): Use $(...). - (handle_source_transform): Ditto. - (handle_programs): Ditto. - - * automake.in (require_argument): New function. - (parse_arguments): Use it. - (push_dist_common): New function. - (generate_makefile): Use it. - (handle_texinfo): Ditto. - (handle_dist): Ditto. - (handle_configure): Ditto. - (require_file): Ditto. - (generate_makefile): Don't pass arguments to handle_scripts. - (handle_configure): Require configure.in. - (check_gnu_standards): New function. - (check_gnits_standards): Ditto. - (generate_makefile): Check standards. - - * Makefile.am (bin_SCRIPTS): Changed name from SCRIPTS. - - * automake.in (LENIENT, GNU, GNITS): New constants. - (initialize_per_input): New function. - (generate_makefile): Use it. - (initialize_global_constants): Renamed from init_globals. - (require_file): Added strictness argument. - (parse_arguments): Added --strict option. - (set_strictness): New function. - (parse_arguments): use it. - (initialize_global_constants): Document --strictness. - - * automake.in: Use ${1+"$@"} to preserve quoting when running - under sh. - - * texinfos.am (install-info): Don't use "true". - * tags.am (TAGS): Don't use "true". - - * dist.am, dist-subd-top.am, remake-hdr.am, remake-subd.am, - remake.am, subdirs.am, texinfos.am: Use "&&" after cd. - - * program.am (@PROGRAM@): Use LINK macro. - * compile.am (.c.o): Use COMPILE macro. - - * clean.am, remake-hdr.am, remake.am, texinfos.am: Use $(...), not - ${...}. - - * subdirs.am (RECURSIVE): Removed macro. - - * clean.am: Changed to not be so verbose. - - * Makefile.am (pkgdata_DATA): Include texi-clean.am. - * automake.in (handle_texinfo): Transform texi-clean and put into - output rules. - * texinfos-vars.am (TEXFILES): Removed. - * texinfos.am: Removed 'clean' targets. - * texi-clean.am: New file. - - * Makefile.am (ETAGS_ARGS): Just use 'automake.in'. - - * texinfos-vars.am (TEXFILES): Added *.op. - - * dist-vars.am (DISTFILES): Renamed from DIST_FILES, per GNU - standards. - * dist.am (dist): Use DISTFILES. - * dist-subd.am (dist): Use DISTFILES. - * dist-subd-top.am (dist): Use DISTFILES. - -Sun Dec 3 00:24:08 1995 Tom Tromey - - * Makefile.am (ETAGS_ARGS): Define. - - * depend.am (.deps/.P): Use ":", not "echo timestamp". From Jim - Meyering. - - * dist-vars.am (DIST_FILES): Removed PACKAGEDATA. - - * automake.in (handle_scripts): Use am_install_var. - - * scripts.am: Rewrote for new uniform naming scheme. - - * Makefile.am (pkgdata_DATA): Removed libscripts.am. - - * libscripts.am: Removed. - - * packagedata.am: Removed. - - * Makefile.am (PACKAGEDATA): Removed packagedata.am. - (pkgdata_DATA): Renamed from PACKAGEDATA. - - * automake.in (handle_data): Use am_install_var. - (init_globals): Init %exec_dir_p. - - * data.am: Rewrote for new uniform naming scheme. - - * automake.in (get_object_extension): New function. - (handle_programs): Use it. - (dir_holds_sources): Changed interpretation. - (handle_headers): New function. - (am_install_var): New function. - (generate_makefile): Call handle_headers. - - * header-vars.am (pkgdatadir): New macro. - (pkglibdir): Ditto. - (pkgincludedir): Ditto. - - * automake.in (handle_source_transform): New function. - (am_error): New function. - (generate_makefile): Use it. - (handle_source_transform): Ditto. - (handle_texinfo): Ditto. - (handle_dependencies): Ditto. - (handle_merge_targets): Ditto. - (require_file): Ditto. - -Sat Dec 2 21:39:56 1995 Tom Tromey - - * automake.in: Updated FSF address. From Jim Meyering. - * header-vars.am: Updated FSF address. - - * distname.am: Removed. - - * automake.in (file_contents): Strip "##" comments. - * Various files: Added "##" comments for strange things. - - * automake.in (handle_tags): Generate TAGS rule for every - directory. - - * subdirs.am (RECURSIVE): Include installcheck-recursive. - * automake.in (installcheck): New variable. - (generate_makefile): Initialize it. - (handle_subdirs): Push 'installcheck-recursive'. - (handle_merge_targets): Handle installcheck target. - -Thu Nov 30 20:13:16 1995 Tom Tromey - - * automake.in ($PACKAGE): Removed. - - * header-vars.am (ALL): Removed. - - * automake.in: Reworked 'all' target handling. - - * automake.in (generate_makefile): - Don't use AM_ forms in call to am_variable. - - * automake.in: Changes for Perl 5, from Gord Matzigkeit - - * clean.am (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. - - * automake.in (handle_footer): Allow SUFFIXES variable. - - * automake.in (am_variable): New function. - (handle_texinfo): Use it. - (generate_makefile): Use it. - - * configure.in: Version 0.24. - -Wed Nov 29 23:50:14 1995 Tom Tromey - - * automake.in (handle_libraries): - Generate blah_LIBADD defines if required. - - * library.am (lib@LIBRARY@.a): Look at $(@LIBRARY@_LIBADD) - - * libraries-vars.am (LIBOBJS, ALLOCA): Removed. - - * compile-kr.am: ($(OBJECTS)): Depend on $(ANSI2KNR), not ansi2knr. - - * configure.in: Version 0.23 - - * dist-subd-top.am (dist): Don't die if a subdirectory already exists. - - * dist-subd-top.am, dist.am (dist): Give automake --output-dir option. - - * automake.in: New option --output-dir - - * automake.in (handle_configure): Fixed typo. - - * automake.in (handle_installdirs): Always make installdirs target. - - * subdirs.am (RECURSIVE): Removed uninstall-data-recursive and - uninstall-exec-recursive. Added installdirs-recursive. - - * automake.in (handle_installdirs): Handle installdirs-recursive. - (handle_man_pages): 'all' depends on $(MANS) - - * Makefile.am: Removed mans.am. - - * automake.in: More man-related fixes - - * automake.in: Bug fixes - - * automake.in: Rewrote man page handling. - - * texi-version.am, remake-hdr.am, depend.am: Don't use touch. - - * automake.in (handle_installdirs): New function. - (@installdirs): New global. - Many changes to deal with installdirs. - - * clean.am (clean-generic): Always supply 'else' clause to 'if' - - * automake.in (generate_header): Don't use header.am. - (handle_dist): Don't use dist-subd-vars.am. - - * Makefile.am (PACKAGEDATA): Removed dist-subd-vars.am, header.am. - - * Makefile.am (DISTCLEANFILES): Removed. - - * clean.am (clean-generic): Bug fix. - - * clean.am (clean-generic): Only remove CLEANFILES if nonempty - - * texi-version.am (clean-vti): No such macro as VTI - -Tue Nov 28 19:56:07 1995 Tom Tromey - - * automake.in: Bug fix for maintainer-clean - - * automake.in (do_one_clean_target): - Print special text in maintainer-clean. - (handle_clean): Always include clean.am - - * clean.am: Use -generic clean targets. - - * compile.am: Added clean targets. - - * configure.in: Version 0.22. - - * automake.in (handle_dependencies): - Put trailing newline after all deps. - - * automake.in (handle_dependencies): Another dependency bug fix. - - * automake.in (handle_dependencies): - Bug fix when including dependencies. - - * automake.in (handle_configure): - Verify existence of install-sh, mkinstalldirs - - * automake.in (handle_texinfo): Include stamp-vti in distribution - - * dist-subd-vars.am, dist-vars.am (DIST_FILES): - Include DATA, PACKAGEDATA. - - * Makefile.am: Nothing - - * Makefile.am (DIST_OTHER): Don't distribute gettext-sh - - * automake.in (handle_texinfo): Typo - - * automake.in: If script ends up in shell, feed to perl - - * automake.in: Rewrote 'clean' rules. - Documentation made and installed first. - 'all' depends on 'info' - -Mon Nov 27 23:57:29 1995 Tom Tromey - - * configure.in, Makefile.am: Turned off internationalization. - - * clean-kr.am: Rewrote for new clean scheme. - - * tags-clean.am: Remove TAGS in distclean, not maintainer-clean - - * Makefile.am (PACKAGEDATA): Include tags-clean.am - - * subdirs.am: Removed bogus local clean targets - - * tags-clean.am: Initial revision - - * texi-version.am: Added clean targets - - * texinfos.am: Fixes to clean targets. - - * texinfos.am, libscripts.am, scripts.am, libraries.am, libprograms.am, programs.am: - Added clean targets - - * compile-kr.am (ansi2knr.o): Depend on CONFIG_HEADER - - * automake.in: Completely revamped automatic de-ANSI-fication - - * compile-kr.am: (ansi2knr, $(OBJECTS)): New targets - - * compile-vars.am (LINK): New macro - - * kr-vars.am: Trailing blank line - - * compile-kr.am: Rewrote - - * compile-vars.am (COMPILE): New macro - - * compile-vars.am (ANSI2KNR): Removed - - * Makefile.am (PACKAGEDATA): Removed all sed scripts. Added kr-vars.am - - * kr-vars.am: Initial revision - - * automake.in (require_file): New function. - (handle_texinfo): Require 'mdate-sh' - (common_sometimes): New variable - (usage): Use it. - - * texi-version.am (stamp-vti): Use Ulrich's mdate-sh script - - * mdate-sh: Initial revision - - * automake.in (handle_footer): Don't define SOURCES or OBJECTS if empty - - * automake.in (generate_makefile): - Put Makefile.in, Makefile.am in @dist_common - (handle_configure): Use @dist_common as appropriate - - * dist-subd-vars.am, dist-vars.am (DIST_CONF): Removed - - * configure.in: Abort if perl not found - - * configure.in: Look for perl - - * automake.in: Reimplemented in Perl - - * automake.in: Fixlet - -Sun Nov 26 08:09:30 1995 Tom Tromey - - * automake.in: Always print ".SUFFIXES:" rule. - - * automake.in: Distribution config.h.in if required - - * automake.in: Bug fix when including texi-version.am - - * automake.in: Bug fix when looking for .texi file in $am_reldir - - * depend.am: Comment fix - - * automake.in: Look for .texi file in $am_reldir - - * automake.in: Fixlet - - * automake.in: Blank line after targets from user's Makefile.am - - * automake.in: Move footer items to actual footer - - * automake.in: Include stamp-h.in in DIST_COMMON if necessary - - * automake.in (common): - Don't include acconfig.h, config.h.top, config.h.bot - - * Makefile.am (CONFIG_HEADER): Renamed from CONFIG_H - - * Makefile.am (CONFIG_H): Define - - * acconfig.h: Initial revision - - * configure.in: Use AC_CONFIG_HEADER. - - * automake.in: Put blah_TEXINFOS into DIST_COMMON - - * automake.in: .info file explicitly depends on primary .texi file - - * texinfos.am (install-info): Always supply 'else' clause to 'if' - - * tags.am (TAGS): Always supply 'else' clause to 'if' - - * subdirs.am (.NOEXPORT): Removed (now in footer.am) - - * automake.in: Always include footer.am in output - - * mans.am (install-man): Always supply 'else' clause to 'if' - - * automake.in: More version.texi fixes - - * automake.in: Only do version.texi processing if requested. - - * automake.in: Minor internationalization fixes. - Subshell can now exit with nonzero status. - Fixed up .texi handling; now uses texi-version.am - Make sure '.c' and '.o' are in .SUFFIXES if required. - - * Makefile.am (PACKAGEDATA): Include texi-version.am - (stamp-vti, version.texi): Removed - (TEXINFOS): Don't reference version.texi - - * texi-version.am: Initial revision - - * dist.am, dist-subd-top.am (dist): - [DIST_SUBDIRS] Follow symlinks when copying. - - * dist-subd-top.am (dist): Removed unneeded subdir= option to make - -Sat Nov 25 23:23:39 1995 Tom Tromey - - * automake.in: Added --amdir option - - * Makefile.am, configure.in: Turned on internationalization - - * Makefile.am: Set EDITION - - * configure.in: Version 0.21 - - * tags.am, tags-subd.am: Don't use double-colon rules - - * automake.in: Redid install-data, install-exec, uninstall handling - - * configure.in: Turn off i18n - -Fri Nov 24 23:51:37 1995 Tom Tromey - - * automake.in (common): Remove NLS - - * automake.in (common): Include ABOUT-NLS. - - * automake.in: Test for install-sh and mkinstalldirs - - * automake.in: Blank line after OBJECTS= line - - * automake.in: Start subshell in loop after check for Makefile.am - - * automake.in: --use-deps now the default - - * automake.in (am_dir): Don't apply transform to install directory name - - * packagedata.am: Don't apply transform to install directory name - - * Makefile.am (SUBDIRS): Hold off on internationalization - -Thu Nov 23 18:02:38 1995 Tom Tromey - - * automake.in: - Write 'SOURCES =' line after copying Makefile.am variables - - * automake.in: Fixed bug in "--" option processing - - * subdirs.am: ($(RECURSIVE)): Removed trailing \ from last line - - * Makefile.am (DIST_OTHER): Include gettext-sh - - * Makefile.am (SUBDIRS): Define - - * configure.in: Include internationalization bits - - * automake.in: Many changes to avoid double-colon rules. - - * subdirs.am: ($(RECURSIVE)): Print name of target actually used - - * subdirs.am: Removed "::" rules - - * header.am: Removed install, uninstall - - * header.am: Added install, uninstall targets - - * hack-make.sed: Rewrite targets like "all-local" to "all_local" - - * header.am, libraries.am, mans.am, texinfos.am, footer.am: - Removed "::" rules - - * Makefile.am (PACKAGEDATA): Include libscripts.am - - * libprograms.am: Don't install libscripts here - - * libscripts.am: Initial revision - - * scripts.am, programs.am, libprograms.am: Removed "::" rules - - * automake.in (am_dir): Run package name through name transform. - - * automake.in: Don't use packagedata.sed or data.sed - - * Makefile.am (PACKAGEDATA): Removed data.sed, packagedata.sed. Added - packagedata.am - - * data.am: No longer run through sed - - * packagedata.am: Initial revision - -Wed Nov 22 22:31:02 1995 Tom Tromey - - * automake.in: No blank line after Usage - - * automake.in: Removed "NLS nuisances" section. - Now uniformly uses $echo for user-visible messages (in advance of - internationalization) - - * subdirs.am (maintainer-clean): Don't use realclean-local - - * Makefile.am: Use PACKAGEDATA, not custom code - - * data.am: Use @LONG@, not $(@LONG@) - - * automake.in: Handle DATA and PACKAGEDATA - - * packagedata.sed: Initial revision - - * data.am: Use @DIR@, not $(@DIR@) - - * data.sed: Use $(datadir), not datadir - - * data.sed: Initial revision - - * data.am: Wrote uninstall targets - - * data.am: Initial revision - - * dist-subd.am (dist): Don't link a file that has already been linked - - * dist-subd-top.am, dist.am (dist): - Run `automake --include-deps' before making distribution - - * automake.in: More dependency-tracking bug fixes - - * dist-vars.am (DIST_FILES): Rearranged to be like dist-vars-subd.am - - * dist-subd-vars.am (DIST_FILES): Include DIST_COMMON - - * tags-subd.am, tags.am: Added trailing blank line - - * depend.am: Use ".P", not "empty.P", as placeholder. - - * automake.in: Only include depend.am if SOURCES not empty - - * automake.in: Added --use-deps and --include-deps options. - Handle auto-generating dependencies. - - * Makefile.am (am_DATA): Include depend.am - - * depend.am: Initial revision - - * automake.in: Look for acconfig.h, config.h.top, and config.h.bot - - * automake.in: Put blank line after .SUFFIXES - - * scripts.am: Added blank line at end - - * scripts.am: Removed unnecessary comment - - * scripts.am: Removed unnecessary workarounds - - * automake.in: Don't include programs.am if PROGRAMS empty - - * header-vars.am (INSTALL_SCRIPT): Typo - - * texinfos.am, compile-kr.am: Don't include .SUFFIXES - - * automake.in: Handle .SUFFIXES here. - - * configure.in: Use fp_PROG_INSTALL - - * header-vars.am: Changes for autoconf 2.5. - Now includes INSTALL_SCRIPTS. - - * texinfos.am (install-info): Bug fix - - * automake.in: - Include scripts.am or libscripts.am in output if appropriate - - * programs.am (install-programs, uninstall-programs): - Don't install SCRIPTS - - * Makefile.am (am_DATA): Include scripts.am - - * scripts.am: Initial revision - -Tue Nov 21 09:11:38 1995 Tom Tromey - - * automake.in: - Cleaned up how "prog_SOURCES" variable is found in input. - Ditto prog_OBJECTS. - Put static sed scripts into separate, installed files. - - * Makefile.am (am_DATA): Include hack-make.sed and nl-remove.sed - - * hack-make.sed, nl-remove.sed: Initial revision - - * texinfos.am (install-info): Rewrote - - * subdirs.am (all-recursive): Put with other -recursive rules - - * configure.in: Version 0.20 - - * automake.in: Another bug fix - - * automake.in: Bug fix when looking for texinfo.tex - - * texinfo.tex: Initial revision - - * automake.in: - If TEXINFOS defined but texinfo.tex does not exist, give warning. - - * subdirs.am (all): Renamed from _all. Now uses all-recursive - (all-recursive): Don't fail immediately if -k specified. - -Mon Nov 20 22:48:03 1995 Tom Tromey - - * subdirs.am (_all): - New target. Now use Jim Meyering's formulation of AIX - workaround. - (install-exec, install-data): New targets - -Sat Nov 18 19:07:30 1995 Tom Tromey - - * remake.am (Makefile.in): automake "Makefile", not "Makefile.am" - - * automake.in: Use @datadir@ - - * automake.in: Added @configure_input@ line - -Fri Nov 17 23:32:43 1995 Tom Tromey - - * automake.in: "--help" option now prints auto-recognized file names. - Allow AM_ overriding of more variables. - - * texinfos.am (install-info): - Don't cd to srcdir to avoid breaking install-sh - Other bug fixes - - * Makefile.am: Handle automake.texi - -Thu Nov 16 18:43:43 1995 Tom Tromey - - * subdirs.am (all): Separated out due to AIX 3.2.5 bug. - - * tags.am (TAGS): bug fix - - * automake.in: Use am_dir, not AM_DIR. - Use version, not VERSION. - Bug fix in TAGS code. - - * Makefile.am (am_DATA): Include tags.am and tags-subd.am - - * subdirs.am: TAGS target now in tags.am - - * footer.am: TAGS and ID targets now in tags-subd.am - - * tags-subd.am, tags.am: Initial revision - - * automake.in: Cleaned up AM_PROGRAM code. - Handle TAGS target better - - * remake.am, remake-subd.am (Makefile.in): Bug fix. - - * automake.in (usage): Updated - - * remake-subd.am, remake.am: - Added rule where Makefile.in depends on Makefile.am - - * automake.in: Entire body of 'for' loop now in subshell - - * automake.in (common): config.guess and config.sub are common files. - - * dist-subd-top.am, dist.am (dist): Bug fix. - - * Makefile.am (DIST_OTHER): Don't include TODO - - * automake.in: Auto-include TODO and THANKS files. - - * dist-subd-top.am, dist.am (dist): Don't depend on DIST_DIRS - - * automake.in: More bug fixes in "look for Makefile.am" code. - - * automake.in: Bug fix in "look for Makefile.am" code. - - * automake.in: - If no arguments given, look for all Makefile.am's in this - directory and in immediate subdirs - - * automake.in: Bug fixes for LDADD-override feature. - - * program.am: Use @PROGRAM@_LDADD, and put after LDFLAGS - - * automake.in: Allow `prog_LDADD', if specified, to override LDADD. - - * automake.in: Use AM_PROGRAMS, not ALLPROGRAMS, and invert sense. - - * header-vars.am (ALL): Use PROGRAMS, not ALLPROGRAMS. - -Wed Nov 15 01:54:43 1995 Tom Tromey - - * automake.in: No longer look for _SOURCES or _OBJECTS - - * header-vars.am: - Remove "automatically created" header (now in automake). - Updated copyright. - - * automake.in: Put version info in Makefile header - -Tue Nov 14 23:38:17 1995 Tom Tromey - - * automake.in: Minor cleanups - - * dist-subd-top.am, dist.am (dist): - Don't link or copy file if it already exists. - - * automake.in: - Look for _SOURCES (common sources) and generate _OBJECTS. - - * footer.am (ID, TAGS): Include HEADERS - - * dist-vars.am, dist-subd-vars.am (DIST_FILES): Include HEADERS - -Mon Nov 13 22:20:02 1995 Tom Tromey - - * dist-subd.am (distdir): Is relative to ".." - - * dist-subd-vars.am (PACKAGE, VERSION): Define - - * dist-subd.am (dist): Don't handle DIST_DIRS. - - * mans.am (uninstall-man): Another bug fix. - - * mans.am (uninstall-man): Bug fix. - - * dist.am, dist-subd-top.am (dist): Bug fix - - * Makefile.am (DIST_SUBDIRS): New macro - - * dist-subd-top.am, dist.am (dist): Handle DIST_SUBDIRS - - * Makefile.am (DIST_OTHER): Include automake.in - - * Makefile.am (DISTCLEANFILES): New macro. - - * automake.in (common): Include COPYING.LIB - - * Makefile.am (automake): New rule. - - * texinfos.am (install-info): Changed per GNU standards - - * remake-hdr.am (stamp-h.in): - Use "touch", not "date", per GNU standards. - - * automake.in (common): Include texinfo.tex - -Sun Nov 12 23:59:08 1995 Tom Tromey - - * automake.in: More fixes when finding common files. - - * Makefile.am (DIST_OTHER): Another removal. - - * automake.in: Special-case when amdir=. - - * Makefile.am (DIST_OTHER): Removed auto-detected files. - - * automake.in: - Search for commonly-used files and auto-include them in distribution - - * dist-vars.am (DIST_FILES): Include DIST_COMMON. - (DIST_CONF): Removed files searched for by automake. - - * automake.in: More arg-parsing bug fixes. - - * Makefile.am (DIST_OTHER): Include install-sh - - * Makefile.am (DIST_OTHER): Don't include auto-included files. - - * automake.in: Bug fixes to argument parsing code. - - * automake.in: Handle --version and --help. - NLS stuff from autoconf. - - * Makefile.am (amdatadir): Fixed typo. - (install): Make install directories - - * Makefile.am: Use "install::", not "install:" - - * install-sh, mkinstalldirs: Initial revision - - * configure.in: Use AC_PROG_INSTALL - - * automake.in: Set AM_DIR based on configure results. - - * Makefile.am (install): New target. - (amdatadir): New variable. - - * automake.in: Use "#! /", not "#!/". - - * Makefile.am, configure.in: Initial revision - - * automake.in: Renamed from "automake". - Set VERSION. - - * dist.am (PACKAGE, VERSION): Now in dist-vars.am - - * automake.in: Insert remake-subd.am if appropriate. - - * subdirs.am (TAGS): Include $(CONFIG_HEADER) when making tags. - - * automake.in: Handle ALLPROGRAMS variable. - - * header-vars.am (ALL): Use ALLPROGRAMS, not PROGRAMS. - - * automake.in: Fixlet when printing "subdir=DIR" - - * automake.in: Put "subdir=DIR" into subdir Makefile - - * automake.in: Don't refer to distname.am. - Only put footer.am in subdir Makefiles. - - * subdirs.am (id, ID): New target. - (.NOEXPORT): Copied from footers.am. - - * subdirs.am (TAGS): Bug fixes. - - * subdirs.am (TAGS): Don't fail if a subdir doesn't have TAGS target. - - * subdirs.am (maintainer-clean-local): Remove TAGS - - * subdirs.am (TAGS): Make tags file that includes all subdir tags files - - * subdirs.am: Use maintainer-clean, per GNU standards - - * dist-subd-top.am: Some variables defined in dist-vars.am - - * dist-vars.am (PACKAGE, VERSION): - New variables, initialized by configure - - * footer.am (id, ID): New targets - (TAGS): Put TAGS file in build, not source, directory - - * remake-subd.am (Makefile): Don't assume subdir is 'src' - - * dist.am: Changed to assume PACKAGE and VERSION are set by configure. - - * dist-subd.am: Changed to conform to new top-level dist target. - - * dist-subd-top.am: - Changed to assume PACKAGE and VERSION are set by configure. - - * clean-kr.am, clean.am (maintainer-clean): - Updated rules per GNU standards. - - * clean.am, clean-kr.am (maintainer-clean): Renamed from realclean. - -Sat Nov 5 14:39:50 1994 djm - - * automake.in, texinfos.am: kludge for multiple-part info files - -Thu Nov 3 13:33:44 1994 djm - - * clean.am, clean-kr.am: remove INFOS - -Wed Nov 2 06:15:42 1994 djm - - * texinfos.am: add path - - * remake.am, remake-hdr.am: account for VPATH limitations - -Mon Oct 24 23:01:59 1994 djm - - * automake.in, dist-subd-top.am, dist-subd.am, dist.am, header-vars.am, libprograms.am, programs.am: - handle SCRIPTS and LIBSCRIPTS similar to PROGRAMS - -Sun Oct 23 01:50:41 1994 djm - - * texinfos.am: install-info depends on info files - - * dist-subd-vars.am, dist-vars.am: distrib info files - -Sun Oct 2 02:03:06 1994 djm - - * clean-kr.am, clean.am: fix up distclean - - * subdirs.am: fix typo - - * clean.am: do more in distclean - -Sat Oct 1 23:52:51 1994 djm - - * libraries.am: make install depend on all - - * automake.in: fix typo - -Wed Sep 28 21:15:26 1994 djm - - * dist-subd-vars.am, dist-vars.am, header-vars.am: fix doc bugs - - * automake.in, compile-vars.am, dist.am: fix dist for no subdirs - - * dist-subd-top.am: Initial revision - - * automake.in, header-vars.am, libraries-vars.am, mans-vars.am, texinfos-vars.am: - centralize prefix var setting - - * header-vars.am: set all the std vars based on prefix - -Tue Sep 27 01:32:22 1994 djm - - * automake.in: don't add kr stuff if not needed - - * dist-vars.am: add config vars to dist - -Mon Sep 26 23:09:09 1994 djm - - * program.am: add LDADD - - * compile-vars.am: remove LDADD from LDFLAGS - - * clean.am: move knr stuff to another file - - * automake.in: use different clean file for ansi2knr - - * clean-kr.am: Initial revision - -Thu Sep 22 03:45:02 1994 djm - - * automake.in, dist-subd.am, dist.am: fix rules and dist - -Tue Sep 20 21:29:40 1994 djm - - * compile.am, automake.in: split out knr - - * compile-kr.am: Initial revision - - * libprograms.am: fix typo - - * automake.in, clean.am, compile-vars.am, header-vars.am, libprograms.am: - make libprograms work - - * libprograms.am: Initial revision - - * automake.in, compile.am, header-vars.am: fix little bugs - - * compile.am: allow parallel K&R - - * clean.am: remove kerb temps - - * automake.in: fix recognizing start of rules - - * dist-subd.am, dist.am: fix dist - - * automake.in, compile.am, footer.am, texinfos.am: fix ansi2knr - -Mon Sep 19 23:39:21 1994 djm - - * automake.in: works on m4 too - - * automake.in, mans.am: works on fileutils - - * 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: - works on fileutils except for all - - * automake.in: vars thing - - * header-vars.am: Initial revision - - * texinfos-vars.am, mans-vars.am, libraries-vars.am, dist-vars.am, dist-subd-vars.am: - entered into RCS - - * compile-vars.am: Initial revision - - * automake.in: many improvements - - * footer.am: Initial revision - - * dist.am: remove distname - - * automake.in: namespace cleanup - - * distname.am: Initial revision - - * 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: - might work - - * 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: - Initial revision - diff --git a/ChangeLog.1996 b/ChangeLog.1996 new file mode 100644 index 000000000..9027b0df0 --- /dev/null +++ b/ChangeLog.1996 @@ -0,0 +1,3678 @@ +Wed Dec 18 15:27:09 1996 Tom Tromey + + * automake.in (read_am_file): Sort configure_vars before adding to + output_vars. + (handle_yacc_lex_cxx): Sort de_ansi_objects. + (handle_man_pages): Sort %section keys. + +Tue Dec 10 00:41:17 1996 Tom Tromey + + * automake.in (AC_SUBST_PATTERN): Check for alphanumeric variable + names only. Test subst.test. + (scan_one_configure_file): Skip AC_DEFUN lines. Test + defun2.test. + +Mon Dec 9 08:18:42 1996 Tom Tromey + + * automake.in (file_contents_with_transform): Use ne, not !=, to + compare strings. Compare against correct string. From Jim + Meyering. + (handle_texinfo): Use rm -f to remove info files. From Gord + Matzigkeit. + + * Released 1.1l. + + * automake.in (handle_texinfo): Put .ps on @suffixes. + +Sun Dec 8 12:29:52 1996 Tom Tromey + + * automake.in (am_install_var): Directory with 'exec' in its name + is installed by install-exec. + + * subdirs.am (maintainer-clean-recursive): Make commands quiet. + * texinfos.am: Make commands quiet. + * scripts.am: Make commands quiet. + * progs.am: Make commands quiet. + * ltlibs.am: Make comamnds quiet. + * lisp.am: Make commands quiet. + * libs.am: Make commands quiet. + * header.am: Make commands quiet. + * data.am: Make commands quiet. + + * automake.in (variable_value_as_list): Handle := substitution + references. + (am_conf_line_error): Take file argument. Changed all callers. + (scan_one_configure_file): Skip config header of [$1]. + (scan_dependency_file): Don't add top_builddir to regex if it is + ".". Don't include top_builddir in output if it is ".". + (scan_one_configure_file): Skip version of [$2]. + +Sat Dec 7 11:34:39 1996 Tom Tromey + + * automake.in (scan_one_configure_file): New sub. + (scan_configure): Scan aclocal.m4 as well as configure.in. + (handle_configure): Makefile.in now depends on $(ACLOCAL), because + automake scans it. + + * automake.in (handle_configure): Put full path to file onto + @rewritten_inputs. Test output4.test. + + * automake.in (handle_configure): Put proper name onto @inputs. + Test output3.test. + + * automake.in (handle_configure): Pass correct args to automake + invocations. Test remake2.test. + + * automake.in (handle_configure): Check dirname of $file, not of + $local. Test output2.test. + + * automake.in (handle_dependencies): Added some missing ";"s in + transforms. + (get_object_extension): Ditto. + (handle_tags): Ditto. + (handle_tests): Ditto. + (read_am_file): Ditto. + (am_install_var): Ditto. + (file_contents_with_transform): Die if transform missing trailing + ";". + + * automake.in (am_install_var): Quote $ in regexp substitution. + From Ulrich Drepper. + +Fri Dec 6 18:54:10 1996 Tom Tromey + + * automake.in (handle_configure): Require actual input files, not + rewritten input files. From Ulrich Drepper. + +Thu Dec 5 02:52:20 1996 Tom Tromey + + Suggestion from Mark Galassi: + * texinfos.am (DVIPS): New macro. + (.dvi.ps): New rule. + + * automake.in (handle_dependencies): Check to make sure + --build-directory specified before searching for .P files. + (handle_configure): Correctly handle ":" syntax when running + config.status. + + * remake.am: Removed rules to regenerate Makefile and Makefile.in; + now handled by handle_configure. + + * remake-subd.am: Removed. + + * automake.in (scan_configure): Handle multiple ":"s in AC_OUTPUT + arg. + (parse_arguments): Ditto. + (handle_configure): Ditto. + (%other_output_files): Removed. + (rewrite_inputs_into_dependencies): New sub. + (handle_configure): Use it. + (handle_configure): Ditto. + + From Gord Matzigkeit: + * automake.in (generate_makefile): Handle ":" in AC_OUTPUT arg. + (handle_configure): Ditto. + + * automake.in (handle_single_transform_list): .S is assembly + source. From Anthony Green. + + * automake.in (handle_single_transform_list): Correctly rewrite + C++ and Fortran source to objects ending in ".o". Test + cxxo.test. + + * automake.in: Better error message if file missing. + + * aclocal.in (@obsolete_macros): ud_GNU_GETTEXT is obsolete. + * automake.in (handle_gettext): Use AM_GNU_GETTEXT, not + ud_GNU_GETTEXT. + (scan_configure): Ditto. ud_GNU_GETTEXT is now obsolete. + +Wed Dec 4 00:41:23 1996 Tom Tromey + + * automake.in (scan_configure): Skip empty elements when adding to + libsources. Perl 4 bug reported by Greg A Woods. + + * Makefile.am (perl4-check): New target. + (cvs-dist): Run perl4-check. + + Perl 4 fixes. Reported by Greg A. Woods: + * automake.in (file_contents_with_transform): If transform caused + all chars to go away, then skip rest of loop. + (handle_texinfo): Don't use "next" in arg to + file_contents_with_transform. + (handle_dependencies): Ditto. + (handle_tests): Ditto. + + * m4/regex.m4 (AM_WITH_REGEX): Check for GNU regex in libc. From + Andreas Schwab. + + * automake.in (parse_arguments): Removed --strictness. + (handle_dist_worker): Don't use --strictness. + (handle_configure): Ditto. + (initialize_global_constants): Don't mention --strictness. + + * automake.in (handle_merge_targets): Use all-recursive-am instead + of all-recursive-hack. The latter is ugly, according to Joel + Weber. + + * automake.in (handle_emacs_lisp): Push $(ELCFILES) onto @all. + + * automake.in (do_one_clean_target): Allow -local version of clean + targets. + +Tue Dec 3 18:58:40 1996 Tom Tromey + + * automake.in (handle_dependencies): Skip C-only lines in + depend2.am when appropriate. + * depend2.am (.deps/%.P): Omit modification of $o if language is + not C. + +Tue Dec 3 11:29:01 1996 Gordon Matzigkeit + + * compile-kr.am: Quote arguments to echo. + + * progs.am: Fix up problems when LIBTOOL is not defined (by + setting shell variable instprog to the installation program). + + * aclocal.in (scan_file): Allow the acinclude.m4 file to override + any other macro files (but still prevent multiple definitions + within acinclude.m4). + +Tue Dec 3 10:40:48 1996 Tom Tromey + + From Ulrich Drepper: + * automake.in (handle_emacs_lisp): Typo fix. + (scan_configure): Only recognize VERSION after whitespace. + + * texinfos.am: install-info requires path to info file. + + * progs.am: Use @LIBTOOL@, not $(LIBTOOL). + + * automake.in (am_install_var): If -ltlibs passed, substitute + @LIBTOOL@. + +Mon Dec 2 13:51:11 1996 Gordon Matzigkeit + + * automake.in (get_object_extension): Unshift ansi2knr onto the + all target, so that it builds before any other targets. + [de_ansi_objects]: Delete, since unshifting ansi2knr is an easier + solution. + +Mon Dec 2 12:13:27 1996 Tom Tromey + + * Released 1.1i. + + From Janos Farkas: + * automake.in (handle_texinfo): Must quote $ for make. + +Sun Dec 1 15:08:09 1996 Tom Tromey + + * automake.in (handle_configure): Correctly handle common case of + multiple non-Makefiles in AC_OUTPUT. Require all input files when + using ":" syntax. + +Sun Nov 24 00:33:50 1996 Tom Tromey + + * automake.in (handle_source_transform): Don't define + EXTRA_prog_SOURCES unnecessarily. Test extra2.test. + + * automake.in (initialize_per_input): New variables + included_generic_compile, included_knr_compile, + included_libtool_compile. + (get_object_extension): Use them. + + * automake.in (handle_single_transform_list): Removed + Objective-C/C++ support (didn't really work anyway). + (handle_single_transform_list): Handle assembly specially. + + * automake.in (handle_yacc_lex_cxx): Set --mode=compile or + --mode=link when running libtool. + + * ltlibs.am: Set --mode=install when running libtool. + (uninstall-@DIR@PROGRAMS): Set --mode=uninstall when running + libtool. + * libtool.am (.c.lo): Set --mode=compile when running libtool. + * progs.am: Set --mode=install when running libtool. + + Fix for bug reported by François Pinard: + * automake.in (do_check_merge_target): New sub. + (do_one_merge_target): No longer handle `check'. + (handle_merge_targets): Use do_check_merge_target. + (initialize_per_input): Set @check_tests. + (handle_tests): Push onto @check_tests, not @check. + + * automake.in (am_install_var): Typo fix. + (handle_configure): Require $inputs[0]. + +Fri Nov 22 00:01:45 1996 Tom Tromey + + * automake.in (handle_lib_objects): Fixed error message + processing. + +Thu Nov 21 22:29:30 1996 Tom Tromey + + * automake.in (scan_configure): AC_FUNC_FNMATCH doesn't add to + LIBOBJS. + (handle_configure): Support multi-":" mode for AC_OUTPUT. + + * m4/header.m4: New file. + + * automake.in (scan_configure): Recognize AM_CONFIG_HEADER. + +Wed Nov 20 00:23:42 1996 Tom Tromey + + * acinstall: Allow commentary at end of "serial" line. From Gord + Matzigkeit. + + * automake.in (handle_yacc_lex_cxx): Only replace output header if + it has changed. + +Tue Nov 19 19:03:30 1996 Tom Tromey + + * automake.in (am_primary_prefixes): Allow configure variables to + be named after primary. + (am_install_var): Ditto. + + * automake.in (initialize_per_input): Initialize output_header. + (generate_makefile): Set up output_header; print it before + output_rules. + (handle_footer): Put .SUFFIXES into output_header, for AIX. + +Mon Nov 18 19:11:53 1996 Gordon Matzigkeit + + * automake.in: Added a lot of libtool support. New variable + prog_LDFLAGS to pass linker flags. Use libtoolize to install + libtool support files. + +Mon Nov 18 13:29:55 1996 Tom Tromey + + * automake.in (handle_lib_objects): Push @LIBOBJS@ and @ALLOCA@ + onto dependency list. + + * aclocal.in (obsolete_macros): Include AM_SANITY_CHECK_CC; now + part of autoconf proper. + * m4/ccsanity.m4: Removed. + +Sun Nov 17 12:25:17 1996 Tom Tromey + + * automake.in (check_typos): Check to make sure EXTRA_ variables + don't contain configure subs. + (handle_dist_worker): Removed EXTRA_DIST_DIRS; not needed. + +Fri Nov 15 18:58:04 1996 Tom Tromey + + * tags-subd.am: Removed. + + * tags.am (tags-recursive): Removed. + (TAGS): Depend on @DIRS@, @CONFIG@. Use @CONFIG@ in rule. + (ID): From tags-subd.am. + + * aclocal.in (obsolete_macros): Include AM_FUNC_FNMATCH. + * automake.in (scan_configure): Recognize AC_FUNC_FNMATCH. + * m4/fnmatch.m4: Removed (now in autoconf). + + * 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 + + * 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 + + * 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 + + * 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 + + * automake.in (handle_single_transform_list): Simplified C++ + matching expression. + +Fri Nov 8 09:49:09 1996 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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 + + * automake.in (handle_dependencies): Use -M, not -MM, for C++ + dependencies. + +Thu Oct 24 20:21:50 1996 Tom Tromey + + * 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 + + * 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 + + * 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 + + 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 + + * 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 + + * 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 + + * 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 + + * automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX + are obsolete. + +Sun Oct 6 00:43:01 1996 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * automake.in (read_am_file): Cleaned up dejagnu variables. + +Mon Sep 23 00:04:48 1996 Tom Tromey + + * 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 + + * automake.in (am_install_var): More error checking. + +Fri Sep 20 09:06:37 1996 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * tags-clean.am: Do deletions here again. + +Thu Sep 5 09:06:23 1996 Tom Tromey + + * 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 + + * 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 + + * 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çois Pinard. + +Tue Aug 27 08:25:05 1996 Tom Tromey + + * automake.in (file_contents_with_transform): Correctly remove + @(UN)?MAINT@ from input when maintainer mode not active. + (handle_aclocal_m4): Handle no-maintainer-mode case. + + * remake-hdr.am ($(CONFIG_HEADER)): Removed @MAINT@. + + * m4/AM_SANITY_CHECK_CC.m4: New file (from Jim Meyering). + +Mon Aug 26 21:37:32 1996 Tom Tromey + + * automake.in (handle_lib_objects): Bug fix from Steve M Robbins. + (handle_libraries): Don't include libraries from EXTRA_LIBRARIES + in LIBFILES definition. Reported by Steve M Robbins. Test + alllib.test. + + * automake.in (variable_value_as_list): New sub. + (handle_source_transform): Use it. + (handle_lib_objects): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (am_install_var): Ditto. + (handle_options): Ditto. + +Sat Aug 24 09:30:46 1996 Tom Tromey + + Reported by Jim Meyering: + * automake.in (get_object_extension): Look in "./" for ansi2knr if + no path found. + (handle_aclocal_m4): Protect aclocal.m4 rule with @MAINT@. + + * remake.am (.PHONY): New target. + + * m4/AM_MAINTAINER_MODE.m4: Also define UNMAINT. + + * automake.in (check_gnu_standards): Disallow no-installman, + no-installinfo. + (read_am_file): Sed out UNMAINT too. + (file_contents_with_transform): Ditto. + + * acinstall: New file. + + * m4/AM_INIT_AUTOMAKE.m4: Define PACKAGE and VERSION. + + * m4/AM_WITH_REGEX.m4: New version from François Pinard. + + * m4/AM_TYPE_PTRDIFF_T.m4: Use am_cv, not ac_cv. + * m4/AM_C_PROTOTYPES.m4: Ditto. + * m4/AM_FUNC_STRTOD.m4: Ditto. + * m4/AM_PROG_CC_STDC.m4: Ditto. + * m4/AM_PROG_LIBTOOL.m4: Ditto. + +Fri Aug 23 22:23:50 1996 Tom Tromey + + * m4/Makefile.am (m4datadir): New macro + (m4data_DATA): Renamed. + + * Makefile.am (cvs-dist): Depend on distcheck target. + +Mon Aug 19 15:37:32 1996 Tom Tromey + + * automake.in (initialize_global_constants): [common_files] + Include acinclude.m4. + + * m4/AM_PROG_CC_STDC.m4: Patch from Jim Meyering/Kaveh Ghazi. + +Sat Aug 17 11:27:14 1996 Tom Tromey + + * automake.in (handle_dependencies): Push `depend'-clean targets + on @clean. + * depend.am (mostlyclean-depend, clean-depend, distclean-depend, + maintainer-clean-depend): New targets. + +Tue Aug 13 17:53:58 1996 Tom Tromey + + * texinfos.am (.texinfo.info): New target. + (.texinfo.dvi): New target. + + From Jim Meyering: + * automake.in (handle_texinfo): Use `.info[-0-9]*' as pattern to + match info files. + (handle_texinfo): Handle `.texinfo' files. + +Mon Aug 12 10:28:46 1996 Tom Tromey + + * automake.in (require_file_internal): Special-case `.' when + finding files to distribute. Test libobj2.test. + + * aclocal.in (add_file): Fixed regexp for matching AC_DEFUN. Test + order.test. + + * m4/AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.m4: New file. + * m4/AM_SYS_POSIX_TERMIOS.m4: New file. + + * compile-kr.am: Removed duplicate ansi2knr rules. + +Sun Aug 11 00:20:16 1996 Tom Tromey + + * automake.in (handle_yacc_lex_cxx): Bug fix from Josh MacDonald. + (handle_yacc_lex_cxx): Put C++ extensions on suffix list. + (mkdir): Removed. + + * automake.in (initialize_global_constants): [common_files] + Include interlock and ylwrap. + + * Released version 1.1c. + + * aclocal.in (obsolete_macros): md_TYPE_PTRDIFF_T and + ud_PATH_LISPDIR are obsolete names. + + * m4/AM_LC_MESSAGES.m4, m4/AM_WITH_NLS.m4, m4/AM_GNU_GETTEXT.m4: + Removed. + + * automake.in (handle_lib_objects): Changed interface. Now + generates _DEPENDENCIES variable if appropriate. + (handle_emacs_lisp): Use AM_PATH_LISPDIR. + (scan_configure): Ditto. + + * Makefile.am (CLEANFILES): Removed. + + * automake.in (handle_configure): Define CONFIG_CLEAN_FILES. + + * clean.am (clean-generic): Remove $(CONFIG_CLEAN_FILES). + + * compile-vars.am (CC, CFLAGS, COMPILE, LINK): Removed. + + * automake.in (handle_yacc_lex_cxx): Require ylwrap in + multi-lex/yacc case. + (handle_source_transform): Changed return result. + (handle_programs): Use linker returned by + handle_source_transform. + (seen_prog_cc, seen_prog_cxx): New globals. + (scan_configure): Recognize AC_PROG_CC and AC_PROG_CXX. + (handle_yacc_lex_cxx): Error message if AC_PROG_CXX or + AC_PROG_YACC missing. + (seen_decl_yytext, seen_prog_lex): New globals. + (scan_configure): Set them. + (handle_yacc_lex_cxx): Warn about missing AC_PROG_LEX or + AC_DECL_YYTEXT. + (handle_yacc_lex_cxx): Use $(LEX_OUTPUT_ROOT). + (initialize_per_input): Initialize seen_c_source. + (handle_yacc_lex_cxx): Define CC, CFLAGS, COMPILE, LINK only when + C source seen. + (handle_source_transform): Set seen_c_source. + + * interlock: Changed usage. + + * ylwrap: New file. + + * automake.in (handle_yacc_lex_cxx): Renamed. + + * automake.in (handle_dependencies): Handle %cxx_extensions. + Include depend2.am when appropriate. + + * depend2.am: New file; contents from depend.am but templatized. + + * automake.in (initialize_per_input): Initialize + %cxx_extensions. + (handle_source_transform): Set %cxx_extensions. + +Sat Aug 10 10:29:30 1996 Tom Tromey + + * interlock: New file. + + * automake.in (handle_yacc_lex): New sub. + (handle_source_transform): Removed most yacc/lex handling. + (initialize_per_input): Init yacc_sources, lex_sources. + (generate_makefile): Run handle_yacc_lex. + (handle_merge_targets): Use `scalar' and not $# to find length of + array. + + * m4/AM_FEATURE_EXIT.m4: Wrote. + * m4/AM_FEATURE_CTYPE.m4: Wrote. + * m4/AM_FEATURE_ERRNO.m4: Wrote. + + * aclocal.in (macro_seen): New global. + (add_file): Set macro_seen entry. Only push required macro on + @rlist if not already seen. Test defun.test. + + * automake.in (get_object_extension): Handle directory prefix on + `ansi2knr' option. + + * kr-extra.am: New file. + + * kr-vars.am: Removed. + + * automake.in (handle_options): Handle directory prefix on + `ansi2knr' option. + + * automake.in (scan_configure): Recognize AM_FUNC_STRTOD. + + * aclocal.in (add_file): Error if macro is duplicated. Test + dup.test. + +Fri Aug 9 09:18:46 1996 Tom Tromey + + * automake.in (handle_programs): Substitute @XLINK@. Make sure + linker variable is transformed name. + * program.am (@PROGRAM@): Use @XLINK@ to link. + + * automake.in (handle_scripts): Fixed call to + am_primary_prefixes. + (handle_libraries): Better error message when AC_PROG_RANLIB + required. + + * automake.in (handle_libraries): Canonicalize library name. Test + canon4.test. + * library.am (lib@LIBRARY@.a): Use @XLIBRARY@ where appropriate. + (lib@LIBRARY@.a): Look at _DEPENDENCIES variable. + +Thu Aug 8 10:57:21 1996 Tom Tromey + + * automake.in (handle_scripts): Correctly compute + $scripts_installed. Test scripts.test. + +Wed Aug 7 12:13:15 1996 Tom Tromey + + * ansi2knr.c: New version. + +Tue Aug 6 10:58:37 1996 Tom Tromey + + * automake.in (handle_source_transform): Handle more C++ file + extensions. "Handle" Objective C. Handle more FORTRAN + extensions. + + * compile-vars.am (LEX): Removed. + (YACC): Removed. + + * automake.in (handle_source_transform): Correctly handle lex + source. Test lex.test. + (handle_source_transform): Skip more C++ headers. Generate macro + definitions for YACC and LEX on first use. + + * aclocal.in (parse_arguments): Mention GNU. + * automake.in (parse_arguments): Mention GNU. + +Mon Aug 5 00:12:45 1996 Tom Tromey + + * automake.in (handle_programs): Define program_LINK. + * program.am (@PROGRAM@): Use program_LINK to link. + + * Released version 1.1b + + * automake.in (scan_configure): AM_INIT_AUTOMAKE sets + seen_prog_install to `2'. + + * configure.in: Don't run AM_PROG_INSTALL. + + * automake.in (parse_arguments): Use $PACKAGE. + ($PACKAGE): New global. + ($am_c_prototypes): Renamed. + (get_object_extension): Use am_c_prototypes. + (scan_configure): Ditto. + (scan_configure): Use AM_MAINTAINER_MODE. + (scan_configure): Warn about obsolete macros. + + * aclocal.in (parse_arguments): Use $PACKAGE. + ($PACKAGE): New global. + + * Makefile.am (CLEANFILES): Added aclocal. + (ETAGS_ARGS): Added aclocal.in. + (TAGS_DEPENDENCIES): Ditto. + (maintainer-check): Depend on aclocal. + (maintainer-check): Check aclocal. + (bin_SCRIPTS): Include aclocal. + + * automake.in (scan_configure): Handle AM_INIT_AUTOMAKE. + (scan_configure): Use AM_PROG_INSTALL. + + * configure.in: Use AM_INIT_AUTOMAKE. + + * automake.in (keyed_aclocal_warning): Warning tells about + aclocal. + (handle_aclocal_m4): New sub. + (handle_configure): Use it. + + * aclocal.in (output_file): New global. + (usage): Handle --output. + (parse_arguments): Handle --output. + + * m4/AM_INIT_AUTOMAKE.m4: New file. + + * m4/AM_PROG_CC_STDC.m4: Require AC_PROG_CC. + Don't touch CFLAGS. + + * automake.in (handle_dist_worker): Reverted erroneous "-chmod". + (handle_texinfo): Don't generate `.info-[0-9]' as a filename. + + * texinfos.am (.texi.info): Force .info file to be built in + srcdir. From Franc,ois Pinard. + + From Jim Meyering: + * m4/AM_PROG_CC_STDC.m4: (fp_PROG_CC_STDC): Include sys/stat.h in + test program so that DYNIX/ptx V4.1.3 doesn't use `-Xc + -D__EXTENSIONS__' -- with those options on that system, sys/stat.h + gets compile errors. With help from Marcus Daniels. + + * automake.in (initialize_global_constants): Put elisp-comp into + @common_files. Bug from Glenn Amerine. + +Sun Aug 4 12:52:43 1996 Tom Tromey + + * automake.in (handle_dist_worker): Use fgrep, not grep. + + * m4/AM_C_PROTOTYPES.m4: Changes from François Pinard. + + * automake.in (handle_emacs_lisp): Include lisp-clean.am in + output. + (initialize_global_constants): [install_man_format] Don't hide + "ugliness" at install time. + + * lisp-clean.am: New file. + + * tags-clean.am (maintainer-clean-tags): Remove TAGS and ID here. + + * automake.in (handle_man_pages): Patch from Janos Farkas to fix + bug when installing man pages. Test man.test. + (initialize_global_constants): [install_man_format] Make sure man + page can actually be found in either source or build dirs. + (handle_dist_worker): Use "755" permissions on distdir. + + * automake.in (handle_dist): Allow chmod's to fail. + (am_primary_prefixes): New function. + (am_install_var): Use it. + (handle_libraries): Use it. Test libfiles.test. + (handle_dist): For dist-tarZ, assume traditional "tar" and + "compress". + + * m4/AM_FUNC_STRTOD.m4: New file. + + * automake.in (handle_dist): Only generate `distdir' variable if + it doesn't already exist. + + Fix for bug reported by Harlan Stenn. Test tags.test. + * automake.in (initialize_per_input): Define dir_holds_sources. + (handle_tags): Check dir_holds_headers. + (handle_headers): Set dir_holds_headers. + + * automake.in (handle_texinfo): Generate "version.texi" dependency + for .dvi file. Bug reported by Glenn Amerine. Test vtexi2.test. + + * automake.in (handle_configure): Require file $input, not + "$local.in". From Nyul Laszlo. Test colon.test. + +Sun Jul 28 11:14:52 1996 Tom Tromey + + * aclocal.in: New file. + * configure.in: Generate m4/Makefile, aclocal. + * Makefile.am (SUBDIRS): Include m4. + * m4/Makefile.am: New file. + +Fri Jul 19 10:12:27 1996 Tom Tromey + + * automake.in (initialize_global_constants): Put ansi2knr.c and + ansi2knr.1 into common_files. Bug report from François Pinard. + +Mon Jul 15 10:28:29 1996 Tom Tromey + + * install-sh: Updated copyright notice. + +Fri Jul 5 08:23:00 1996 Tom Tromey + + * subdirs.am (maintainer-clean-recursive): Don't be so noisy. + Report from Josh MacDonald. + + Bugs from Gord Matzigkeit: + * automake.in (handle_footer): Push contents of $(SUFFIXES), not + `$(SUFFIXES)'. + (handle_dist): Ignore chmod return results. + + * programs-clean.am (clean-@DIR@PROGRAMS): Work around failing + Solaris "rm -f". Bug from Kaveh R. Ghazi. + * libraries-clean.am (clean-@DIR@LIBRARIES): Likewise. + +Fri Jun 21 10:42:06 1996 Tom Tromey + + * texinfos.am (install-info): Use "if", not "&&", to avoid + install problem when glob doesn't match. + + * automake.in (initialize_global_constants): [USAGE] Added + --no-force. + (force_generation): New global. + (parse_arguments): Handle --no-force. + (generate_makefile): Handle --no-force. + + * Makefile.am (maintainer-check): Ensure all invocations of + mkinstalldirs are correct. + +Tue Jun 18 10:53:54 1996 Tom Tromey + + * automake.in (handle_tests): Don't directly generate site.exp. + +Sun Jun 16 22:21:16 1996 Harlan Stenn + + * automake.in: Treat an initial `#' on a word in AUTOMAKE_OPTIONS + as a comment start. Add support for a dist-tarZ target. + +Tue Jun 11 22:14:21 1996 Marcus Daniels + + * depend.am ($(srcdir)/.deps/%.P): Convert absolute $(top_srcdir) + paths into relative paths. + +Mon Jun 10 21:11:20 1996 Tom Tromey + + * texinfo.tex: New version. + + * automake.in: Look for AM_PROG_LIBTOOL. From Gord Matzigkeit. + (initialize_global_constants): Added libtool to + @common_sometimes. + (handle_source_transform): Pass YFLAGS to yacc and LFLAGS to lex. + +Sun Jun 9 17:45:48 1996 Tom Tromey + + * texinfos.am (install-info): Don't install ~ files. Bug report + from Greg McGary. + * automake.in (handle_texinfo): Don't push '.info*' onto + @infos_list. + + * automake.in (handle_gettext): Ensure po and intl in SUBDIRS when + using gettext. + (handle_dist): Pass --with-included-gettext to configure if using + gettext. + + * compile-kr.am (._c._o): Pass -c to $(COMPILE). + (.c._o): Ditto. + * compile.am (.c.o): Pass -c to $(COMPILE). + * compile-vars.am (COMPILE): Don't include -c. + + * remake.am ($(srcdir)/Makefile.in): Pass --strictness to + automake. + * automake.in (handle_configure): Supply --strictness arg to + automake. + +Fri Jun 7 12:31:31 1996 Tom Tromey + + * automake.in (handle_tests): Fix quoting on `pwd`. + (handle_options): Recognize no-installinfo option. + (handle_man_pages): Don't put man directory on @installdirs if + no-installman is specified. + (handle_texinfo): Handle no-installinfo option. + (handle_options): Compare version against $num_version, not + $VERSION. + (handle_source_transform): Generate rules for output of lex, + yacc. Bug report from Thomas Morgan. Test yacc.test. + (handle_dist): "distcheck" now runs "make dvi". + (handle_tests): Support $(TESTS_ENVIRONMENT). Idea from Ulrich + Drepper. + + * dejagnu.am (check-DEJAGNU): Depend on site.exp. + +Sun Jun 2 10:33:10 1996 Tom Tromey + + * automake.in (handle_emacs_lisp): New function. + (initialize_global_constants): Added elisp-comp to + @common_sometimes. + (seen_lispdir): New global. + (scan_configure): Handle ud_PATH_LISPDIR. + + * elisp-comp: New file. + + * lisp.am: New file. + + * automake.in (generate_makefile): Run handle_emacs_lisp. + + * aclocal.m4 (ud_PATH_LISPDIR): New macro, from Ulrich Drepper. + + * automake.in (initialize_global_constants): Removed version.texi + from common_sometimes. + (initialize_global_constants): Added texinfo.tex to common_files. + Test texinfo.test. + (handle_tests): Allow dejagnu- and automake-style test suites to + coexist. Test dejagnu.test. + (initialize_global_constants): New constants AC_CANONICAL_HOST, + AC_CANONICAL_SYSTEM. + (scan_configure): Use new constants. + (handle_tests): Put target specific information into site.exp if + AC_CANONICAL_* used. + (read_am_file): Generate some extra variables when AC_CANONICAL_* + used. + (handle_options): Allow version number to have letters appended. + (handle_tests): Error if RUNTEST, RUNTESTFLAGS defined but dejagnu + option not specd. + (initialize_global_constants): install_man_format changed to + handle built man pages. + +Wed May 29 10:35:01 1996 Tom Tromey + + * config.guess, config.sub: New versions. + +Tue May 28 19:27:11 1996 Tom Tromey + + * configure.in (VERSION): Upped to 1.0. + +Sat May 25 10:19:53 1996 Tom Tromey + + * automake.in (handle_tests): Handle dejagnu. + (handle_options): Recognize dejagnu option. + + * dejagnu.am: New file. + +Thu May 23 10:01:13 1996 Tom Tromey + + * automake.in (handle_dist): Run installcheck target from + distcheck. + + * configure.in (VERSION): Upped to 0.34. + + * automake.in (scan_configure): Always allow upgrading to + fp_PROG_INSTALL. Test fpinstall.test. + +Wed May 22 14:45:28 1996 Joshua Cowan + + (handle_dist): Make `distcheck' check `install' target, too. + +Wed May 22 09:49:27 1996 Tom Tromey + + * automake.in (initialize_per_input): Don't initialize + $output_directory here; initialize it globally. From Joshua + Cowan. Test outdir.test. + +Sat May 18 10:57:40 1996 Tom Tromey + + * automake.in (handle_tests): Don't push TESTS onto dist_common. + (initialize_global_constants): Put install-sh and mkinstalldirs + into @common_files. Test insh2.test. + +Fri May 17 09:02:02 1996 Tom Tromey + + * automake.in (handle_source_transform): Don't generate _OBJECTS + when no source files specified. Test number.test. + + From Joerg-Martin Schwarz: + * automake.in (seen_package, seen_version): New globals. + (scan_configure): Look for PACKAGE= and VERSION=. + + * automake.in (handle_options): Recognize dist-zip. + (handle_dist): Handle dist-zip. + (handle_options): Use ' ', not \s+, with split. Test + backsl.test. + (handle_source_transform): Likewise. + (handle_lib_objects): Likewise. + (handle_libraries): Likewise. + (handle_texinfo): Likewise. + (handle_man_pages): Likewise. + (handle_subdirs): Likewise. + (handle_gettext): Likewise. + (handle_footer): Likewise. + (handle_tests): Likewise. + (scan_configure): Likewise. + (am_install_var): Likewise. + + * Makefile.am (TAGS_DEPENDENCIES): New macro. + + * tags.am (tags-recursive): New target. + (TAGS): Depend on it. + + * automake.in (handle_tags): Put tags-recursive on @phony. + + * tags-subd.am (TAGS): Depend on HEADERS, SOURCES, + TAGS_DEPENDENCIES. + * tags.am (TAGS): Depend on HEADERS, SOURCES, TAGS_DEPENDENCIES. + +Thu May 16 09:21:48 1996 Tom Tromey + + * remake.am (configure): Depend on $(CONFIGURE_DEPENDENCIES). + + * automake.in (scan_configure): Look for install-sh and + mkinstalldirs here. + (initialize_global_constants): Moved mdate-sh from + common_sometimes to common_files. Test mdate2.test. + +Tue May 14 21:52:01 1996 Tom Tromey + + * automake.in (seen_maint_mode): New global. + (scan_configure): Handle jm_MAINTAINER_MODE. + (read_am_file): Handle seen_maint_mode. + (file_contents_with_transform): Handle seen_maint_mode. + (handle_source_transform): Changed interface, all callers. + + From Jim Meyering: + * remake-hdr.am, remake-subd.am, remake.am, texi-version.am: + Handle @MAINT@. + * aclocal.m4 (jm_MAINTAINER_MODE): New macro. + + * automake.in (handle_configure): Check $config_aux_dir against + empty string. From Markku Rossi. Test mkinstall.test. + +Fri May 10 14:38:47 1996 Gord Matzigkeit + + * automake.in (distcheck): Added new rule to top level + Makefile.in. + +Wed May 8 21:57:21 1996 Gord Matzigkeit + + * automake.in (scan_configure): Make sure that gm_PROG_LIBTOOL + sets seen_ranlib. + (generate_makefile): libtool, config.sub, and config.guess should + only ever appear in the top directory of a package. + +Tue May 14 10:24:30 1996 Tom Tromey + + * automake.in (initialize_global_constants): Added libversion.in + to @common_files. + + * configure.in (VERSION): Upped to 0.33. + + * automake.in (am_install_var): Fixed problem in EXTRA_ handling. + Test extra.test. + +Mon May 13 10:41:41 1996 Tom Tromey + + * install-sh (transformbasename): Correct misspelling of + transformbasename. From Ian Lance Taylor. + +Sat Apr 27 11:39:10 1996 Tom Tromey + + * automake.in (handle_configure): Set mkinstalldirs variable + here. + (handle_dist_worker): Explicitly set distdir in subdir makes. + (handle_dist): Handle separate distdir target. + (handle_dist_worker): Only generate distdir target. + + * texinfos.am (install-info): Use $(mkinstalldirs). + * scripts.am (install-@DIR@SCRIPTS): Use $(mkinstalldirs). + * programs.am (install-@DIR@PROGRAMS): Use $(mkinstalldirs). + * libraries.am (install-@DIR@LIBRARIES): Use $(mkinstalldirs). + * header.am (install-@DIR@HEADERS): Use $(mkinstalldirs). + * data.am (install-@DIR@DATA): Use $(mkinstalldirs). + + * automake.in (read_am_file): Set mkinstalldirs variable. + (handle_man_pages): Use it. + (handle_installdirs): Ditto. + +Fri Apr 26 15:10:48 1996 Tom Tromey + + * automake.in (handle_man_pages): Fix mkinstalldirs invocation. + +Thu Apr 25 18:40:06 1996 Tom Tromey + + * automake.in (handle_dist_worker): Use $(TAR), not tar. + (handle_merge_targets): Make sure config header is built before + recursing into subdirs. + (handle_libraries): Generate LIBFILES for check_LIBRARIES. + (handle_merge_targets): Handle case where nothing is installed but + something must be built -- "make install" must still work. + + * dist-vars.am (TAR): New macro. + + * automake.in (scan_configure): Support AC_REPLACE_GNU_GETOPT. + (handle_configure): Require stamp-h.in when config header used. + +Tue Apr 23 17:57:13 1996 Andreas Schwab + + * doc/mdate-sh: Extract the last field from the date output, not + the sixth, which will fail when the timezone name has more than + one word or is missing. + +Wed Apr 24 20:29:26 1996 Tom Tromey + + * automake.in (am_install_var): Use delete, not undef, to remove + EXTRA entry. From Gord Matzigkeit. + +Mon Apr 22 17:48:50 1996 Tom Tromey + + * automake.in (read_am_file): Handle case where last line doesn't + end in newline. + +Tue Apr 9 22:53:16 1996 Tom Tromey + + * automake.in (variable_defined): New function. + (read_am_file): Ensure a blank line comes before starting comments + from Makefile.am. + (initialize_per_input): Initialize %targets. + (read_am_file): Set appropriate entry in %targets. + Many changes to use variable_defined. + (check_gnu_standards): Only require ChangeLog at top level. From + Gord Matzigkeit. + (handle_tests): check-TESTS depends on $(TESTS). From Gord + Matzigkeit. + +Mon Apr 8 22:51:41 1996 Tom Tromey + + * automake.in (parse_arguments): Added short options. + (initialize_global_constants): Ditto. + +Fri Apr 5 00:22:14 1996 Tom Tromey + + * mkinstalldirs (errstatus): Don't necessarily die if mkdir + fails. + + * automake.in (handle_source_transform): Typo fix. + +Thu Apr 4 15:10:50 1996 Tom Tromey + + * automake.in (handle_dist_worker): Renamed dist-local to + dist-hook. + (handle_merge_targets): Added install-data-hook and + install-exec-hook. + (handle_source_transform): Handle EXTRA_prog_SOURCES form. + + * automake.in (handle_scripts): Never allow scripts_installed to + become 0. + + * scripts.am (install-@DIR@SCRIPTS): Scripts can be found in + srcdir. + + * automake.in (generate_makefile): Derived file names from given + input; don't assume Makefile.in and Makefile.am. + (am_file_name, in_file_name): New globals. + (read_am_file): Use them. + + * program.am (@PROGRAM@): Use transformed program name. + + * remake-hdr.am (stamp-h): Actually touch stamp-h. + +Wed Apr 3 15:16:06 1996 Tom Tromey + + * automake.in (require_file_internal): Use correct file for error + messages. Test insh.test. + +Mon Apr 1 09:47:44 1996 Tom Tromey + + * texinfos.am (.texi.info): Build output file in srcdir. + + * automake.in (require_file_internal): If $dir is ".",then look in + relative directory. + (handle_texinfo): Canonicalize name of texi file before looking + for dependency variable. + +Thu Mar 28 08:33:21 1996 Tom Tromey + + * automake.in (require_conf_file_with_conf_line): Yet another + function of this form. + (libtool_line): New variable. + (handle_libraries): Handle libtool. + + * libraries-vars.am: Removed. + + * automake.in (seen_libtool): New variable. + (scan_configure): Look for gm_PROG_LIBTOOL or AC_PROG_LIBTOOL. + + * automake.in (handle_dist_worker): Handle dist-local. + + * Makefile.am (maintainer-check): Do "make check" after all syntax + checks. + + * texi-version.am (stamp-@VTI@): Look for mdate-sh in appropriate + directory. + + * automake.in ($seen_arg_prog): New global. + (handle_programs): Error if AC_ARG_PROGRAM not seen. + (handle_scripts): Ditto. + (handle_configure): mkinstalldirs now a config file. + (handle_installdirs): Find mkinstalldirs in config_aux_dir. + (handle_dist_worker): Removed DIST_SUBDIRS. + (require_file_path): New variable. + (require_file_with_conf_line): Set it. + (require_file_with_line): Ditto. + (require_file): Ditto. + (require_file_internal): Incorporated code from + require_config_file. + (require_config_file): Rewrote. + (require_conf_file_with_line): New function. + (handle_texinfo): Use it for mdate-sh. + (handle_texinfo): Look for mdate-sh in appropriate directory. + +Tue Mar 26 13:47:54 1996 Tom Tromey + + * Makefile.am (cvs-dist): Find NEWS in srcdir. + * automake.in (handle_dist_worker): Find NEWS in srcdir. + ($RULE_PATTERN): Include chars "$(){}/" in allowable patterns in a + rule. + (require_config_file): Set config_aux_path when file found. + ($config_aux_dir): New variable. + (require_config_file): Set it. + (handle_man_pages): Find mkinstalldirs in config_aux_dir. + +Mon Mar 25 15:32:57 1996 Tom Tromey + + * data.am (install-@DIR@DATA): Also allow data to be in build + directory. + +Sun Mar 24 19:56:28 1996 Tom Tromey + + * automake.in (am_install_var): Don't look in EXTRA_primary + variable any more; it is handled in the main loop. + +Wed Mar 20 16:22:35 1996 Tom Tromey + + * data.am (install-@DIR@DATA): Find data in srcdir. + +Fri Mar 15 18:30:31 1996 Tom Tromey + + * automake.in (require_config_file): Use correct filename when + looking for errors. Also, install file in `.' if not found. Bug + reported by Gord Matzigkeit. Test installsh.test. + +Thu Mar 14 09:28:21 1996 Tom Tromey + + * Makefile.am (cvs-diff): New target. + + Fix for bug when install var substitutes empty. Test empty.test. + * header.am (install-@DIR@HEADERS): Allow empty list of headers. + (uninstall-@DIR@HEADERS): Ditto. + * scripts.am (install-@DIR@SCRIPTS): Allow empty list of scripts. + (uninstall-@DIR@SCRIPTS): Ditto. + * libraries.am (install-@DIR@LIBRARIES): Allow empty list of + libraries. + (uninstall-@DIR@LIBRARIES): Ditto. + * data.am (install-@DIR@DATA): Allow empty list of data. + (uninstall-@DIR@DATA): Ditto. + * programs.am (install-@DIR@PROGRAMS): Added missing semicolon. + From François Pinard. + (install-@DIR@PROGRAMS): Fixed bug when list of programs empty. + (uninstall-@DIR@PROGRAMS): Ditto. + +Wed Mar 13 19:50:23 1996 Tom Tromey + + * tags-subd.am (ID): Name of ID file must be flush against -f. + + * configure.in (VERSION): Version 0.32. + +Mon Mar 11 17:50:58 1996 Tom Tromey + + * automake.in (seen_linguas, all_linguas_line): New variables. + (handle_gettext): New function. + (generate_makefile): Run it. + (scan_configure): Recognize ALL_LINGUAS. + +Mon Mar 11 14:34:36 1996 Gord Matzigkeit + + * automake.texi: doc fix. + + * automake.in (am_install_var): Added support for check and + installcheck special prefixes. + +Sun Mar 10 10:44:42 1996 Tom Tromey + + * automake.in (handle_subdirs): Don't do SUBDIRS check for + gettext. + +Tue Mar 5 18:12:04 1996 Tom Tromey + + * automake.in (OBJECT_PATTERN): Removed. + (am_install_var): No error if name is invalid. + (handle_programs): Canonicalize program names. + (BOGUS_MACRO_PATTERN): New variable. + (read_am_file): Error if bad macro name given. + (require_file_internal): Use am_line_error, not am_conf_error. + + * program.am (@PROGRAM@): Recognize @PROGRAM@_DEPENDENCIES. + +Mon Mar 4 19:30:24 1996 Tom Tromey + + * automake.in (handle_lib_objects): New function. + (handle_libraries): Use it. + (handle_programs): Ditto. + (handle_dist_worker): Deprecate DIST_SUBDIRS. + (am_install_var): Allow extended directory mechanism to work. + Test exdir.test. + + * dist-vars.am (DISTFILES): Use EXTRA_DIST. + (DEP_DISTFILES): Ditto. + + * automake.in (OBJECT_PATTERN): New variable. + (am_install_var): Use it. + (handle_dist): DIST_OTHER is an anachronism. + +Sat Mar 2 17:04:38 1996 Tom Tromey + + * automake.in (handle_dist_worker): Only cause Automake to be + re-run if not making a distribution. Fixes bug reported by + Joerg-Martin Schwarz. + (require_file_with_line): New function. + (require_file): Use it. + (am_line_error): Don't print line number if $symbol is empty. + (get_object_extension): Use require_file_with_line. + (handle_libraries): Use require_file_with_line. + (handle_texinfo): Use require_file_with_line. + (handle_configure): Use am_conf_line_error and + require_file_with_conf_line. + (handle_subdirs): Use require_file_with_conf_line. + (handle_configure): Use require_file_with_conf_line. + (handle_tests): Push check-TESTS on @phony. + (am_conf_line_error): New function. + (require_file_with_conf_line): New function. + (require_file_internal): New function. + (require_file_with_line): Use it. + (require_file): Ditto. + (am_conf_line_error): Handle empty line number. + (ac_gettext_line, ac_output_line): New variables. + (scan_configure): Set them. + +Fri Mar 1 00:13:04 1996 Tom Tromey + + * automake.in (parse_arguments): Default strictness is gnu. + Changed `normal' to `foreign' everywhere. + (parse_arguments): Handle --foreign. + (initialize_global_constants): Document --foreign. + (handle_dependencies): Better error message. + (handle_texinfo): Don't push $vtexi on @texis. + (handle_texinfo): Only push $vtexi on @texi_deps if not null. + (handle_configure): install-sh is a config file; require it as + such. + (parse_arguments): Renamed --install-missing to --add-missing. + (add_missing): Renamed from install_missing. + (am_install_var): Check to make sure contents of install variable + are correct if primary requires it. Test badprog.test. + (initialize_global_constants): Initialize + %primary_uses_subobjects. + (handle_source_transform): Skip configure substitutions. Test + depend.test. Also, skip empty elements. + +Thu Feb 29 22:00:30 1996 Tom Tromey + + * texinfo.tex: New version. + + * automake.in (am_install_var): Allow extended range of + installation directories. + + * automake.in (get_object_extension): Don't allow + @CONFIG_INCLUDE_SPEC@ in the Makefile.in when config.h not used. + From Gord Matzigkeit. Test confincl.test. + + * texinfos.am (install-info): Changed usage of install-info (in + comment). Per Feb 25 GNU Standards document. + +Wed Feb 28 07:40:55 1996 Tom Tromey + + * automake.in (handle_tests): New function. + (generate_makefile): Call it. + (handle_subdirs): Skip directories whose names look like configure + substitutions. + (handle_subdirs): Require intl and po, not @INTLSUB@ and @POSUB@, + when using gettext. + (scan_configure): Clear in_ac_output if "]" found. Test + acoutqnl.test. + (require_config_file): New function. + (generate_makefile): Use require_config_file. + (config_aux_path): New variable. + (scan_configure): Check for AC_CONFIG_AUX_DIR. + (handle_merge_targets): Add install-strip rule. + +Tue Feb 27 20:00:36 1996 Tom Tromey + + * mdate-sh: New version from Ulrich Drepper. + + * automake.in (handle_source_transform): Changed fill back to + empty string. + (handle_libraries): Ditto. + (handle_dist): Ditto. + (handle_dependencies): Ditto. + (handle_footer): Ditto. + (handle_phony): Ditto. + + * Makefile.am (DIST_SUBDIRS): Removed. + (installcheck-local): Use Perl, not test -x. + (PERL): New macro. + (maintainer-check): Use $(PERL), not @PERL@. + + * configure.in (VERSION): Upped to 0.31. + +Sat Feb 24 18:02:19 1996 Tom Tromey + + * 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 + + * 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 + + * depend.am ($(srcdir)/.deps/%.P): Regexp fix. + +Mon Feb 19 19:53:09 1996 Tom Tromey + + * 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 + + * 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 + + * 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 18:27:04 1996 Tom Tromey + + * 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 19:12:45 1996 Tom Tromey + + * 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 + + * 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 22:06:51 1996 Tom Tromey + + * 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 20:39:28 1996 Tom Tromey + + * 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 16:55:15 1996 Tom Tromey + + * 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 + + * 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 17:30:29 1996 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + 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 + + * 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 + + * automake.in (handle_dist_worker): Bug fix. + +Fri Jan 19 00:50:29 1996 Tom Tromey + + * 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 + + From François Pinard: + * automake.in (handle_source_transform): Transform $o file into .P + file. + (handle_dist_worker): Handle case where DISTFILES includes + wildcard. Bug fix in subdir case. + + * automake.in (parse_arguments): Initialize strictness to + 'normal'. + +Sun Jan 14 13:54:16 1996 Tom Tromey + + * automake.in (scan_configure): Look for NLS support. + + Changes from François Pinard: + * texinfos.am (install-info): Correctly install when build dir is + not srcdir. + * tags-subd.am (ID): Indentation change. + * kr-vars.am (o): Use ".@U@o", not "@U@o". + * depend.am ($(srcdir)/.deps/%.P): Remove temporary file. + * automake.in (handle_dist_worker): Fixlets. + (handle_dist): Sort keys going into dist_common. + +Sat Jan 13 00:18:06 1996 Tom Tromey + + * automake.in (handle_dist_worker): If Gnits, don't allow release + until NEWS is updated. + + * configure.in (VERSION): Version 0.29. + + * Makefile.am (maintainer-check): Look for perl4.036 in path. + + * dist-vars.am (DISTFILES): Include BUILT_SOURCES. + (DEP_DISTFILES): Ditto. + + * automake.in (handle_dist_worker): Depend on DEP_DISTFILES. + * dist-vars.am (DEP_DISTFILES): New variable. + + * automake.in (handle_options): Support dist-shar option. + (handle_dist_worker): New function. + (handle_dist): Use it. + + * texi-version.am (mostlyclean-vti): Remove version.tmp, not + *.tmp. + + * automake.in (handle_dist): Chmod distdir 777. From François + Pinard. + + * automake.in (scan_configure): New function. + (initialize_per_input): Init libsources. + (generate_makefile): Run handle_configure first. + (handle_configure): Run scan_configure. + (handle_configure): Don't look for AC_PROG_MAKE_SET here. + +Thu Jan 11 23:14:18 1996 Tom Tromey + + * Makefile.am (AUTOMAKE_OPTIONS): New variable. + + * automake.in (strictness, strictness_name): Renamed. + (initialize_per_input): Set strictness, strictness_name. + Initialize %options. + (generate_makefile): Run handle_options. + (handle_options): New function. + (handle_man_pages): Make install-man depend on $(MANS). Turn off + man page install if no-installman option given. + (read_am_file): Deprecate @kr@. + (get_object_extension): Look at ansi2knr option. + (parse_arguments): Take global strictness from command-line + options. + +Tue Jan 9 11:24:14 1996 Tom Tromey + + Fixes from François Pinard: + * depend.am ($(srcdir)/.deps/%.P): Handle deansification. + * automake.in (get_object_extension): Use $o, not $(kr)o. + (handle_source_transform): Don't look for $(kr)c files. + * kr-vars.am (o): New macro. + (kr): Removed. + + * depend.am (DEP_FILES): Removed. + * automake.in (handle_source_transform): Push .P file onto + dep_files. + (initialize_per_input): New variable %dep_files. + (handle_dependencies): Generate DEP_FILES here. + +Mon Jan 8 22:27:33 1996 Tom Tromey + + * automake.in (do_one_clean_target): Only remove config.status in + top-level directory. + (handle_tags): Removed 'id' from .PHONY list. From Jim Meyering. + + * clean.am (maintainer-clean-generic): Remove BUILT_SOURCES. + + * automake.in (handle_dist): Make "ln" quiet. + + * tags-subd.am (ID): Depend on HEADERS and SOURCES. + +Sat Jan 6 10:58:23 1996 Tom Tromey + + * automake.in (handle_merge_targets): 'check' shouldn't depend on + 'all' at top level. + (file_contents_with_transform): New function. + (am_install_var): Use file_contents_with_transform. + (handle_programs): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_merge_targets): Let 'install' depend on 'all' if no other + dependencies exist. From Jim Meyering. + (check_gnu_standards): GNU requires AUTHORS file. (See + maintain.text). + (require_file): Put body in loop. + (get_object_extension): Only call require_file once. + (handle_configure): Ditto. + + From Jim Meyering: + * depend.am ($(srcdir)/.deps/.P): Depend on $(BUILT_SOURCES). + * tags-subd.am (id): Removed. + +Fri Jan 5 10:31:19 1996 Tom Tromey + + * Added copyright notice to each .am file. + + * automake.in: Cleanups from François Pinard to avoid $#. + (require_argument): Fixed sense of test. + (set_strictness): Bug fix. + +Thu Jan 4 21:21:29 1996 Tom Tromey + + * Makefile.am (pkgdata_DATA): Removed old dist files. + + * dist-subd-top.am, dist-subd.am, dist.am: Removed. + + * automake.in (set_strictness): Set $strictness_name. + (strictness_name): New variable. + (handle_dist): Substantially rewrote. + + * configure.in: Point AC_INIT at automake.in. + + * automake.in (generate_makefile): Report errors against + Makefile.in, not Makefile.am. + +Wed Jan 3 00:05:40 1996 Tom Tromey + + * mdate-sh: Bug fix from Jim Meyering. + + * dist.am (dist): Changed in parallel with dist-subd-top.am. + + * mkinstalldirs: Reverted. + + * automake.in (initialize_global_constants): Allow COPYING.LIB + again. + (check_gnits_standards): Disallow COPYING.LIB. + + * texinfos.am (install-info): Only look in $(srcdir) for info + files. + + * automake.in (initialize_global_constants): New variable + gen_copyright. + (read_am_file): Put a copyright in each Makefile.in. + + * dist-vars.am (DISTFILES): Put DIST_COMMON first. + + * automake.in (am_install_var): Put space before "=". + (handle_dist): Put README first in DIST_COMMON. + + * Makefile.am (pkgdata_DATA): Include COPYING. + + * COPYING: New file. + + * automake.in (parse_arguments): Added --gnu and --gnits as + synonyms. + (initialize_global_constants): Ditto. + (initialize_global_constants): Don't auto-distribute COPYING.LIB. + (initialize_global_constants): Look for README first. + (initialize_global_constants): Auto-distribute AUTHORS, BACKLOG, + ABOUT-GNU. + (check_gnu_standards): Require file COPYING. + + From François Pinard: + * automake.in (file_contents): Comment out "warn"s. + (usage): Use 4 columns. + (USAGE_FORMAT): Ditto. + + * texinfos.am (install-info): Look for info file relative to $$d. + + * Makefile.am (cvs-dist): Suppress output of "grep". + + * configure.in (VERSION): Version 0.28. + + * automake.in (pretty_print_internal): Fix for Perl 4 + compatibility. + + * configure.in (VERSION): Version 0.27. + + * depend.am ($(srcdir)/.deps/%.P): Must regexp-quote srcdir in sed + invocation. + + * automake.in (initialize_global_constants): Don't quote "@" in + $install_man_format. + (handle_merge_targets): use "@:" as empty command, not ":". + +Tue Jan 2 23:33:24 1996 Tom Tromey + + * texinfos.am (install-info): Look in $d for info files. From + François Pinard. + + * depend.am ($(srcdir)/.deps/%.P): Fixed regexp. + + * automake.in (read_am_file): Correctly deal with continued + variable definitions. + +Mon Jan 1 15:43:25 1996 Tom Tromey + + * automake.in (handle_merge_targets): 'check' target depends on + 'all'. + (file_contents): Don't be so verbose. + (read_am_file): Ditto. + (read_am_file): Must use substr to check for trailing \. + (am_install_var): Use push_phony_cleaners. + (file_contents): Set $was_rule when assuming a rule is seen. + (read_am_file): Ditto. + (do_one_clean_target): Removed spurious newline. + + Some changes from François Pinard: + * Removed trailing whitespace from all '.am' files. + * tags-subd.am (ID): Use &&, not ;. + (TAGS): Ditto. + * automake.in (parse_arguments): Removed useless message. + (parse_arguments): Don't explicitly referenced STDERR. + (require_argument): Ditto. + (am_error): Ditto. + (set_strictness): Ditto. + (file_contents): Ditto. + (read_am_file): Ditto. + (generate_makefile): Style tweaks. + (handle_programs): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_tags): Ditto. + (handle_dist): Ditto. + (handle_subdirs): Ditto. + (handle_configure): Ditto. + (handle_footer): Don't put newline before footer.am contents. + (handle_merge_targets): Style tweaks. + (do_one_clean_target): Ditto. + (dirname): Ditto. + (am_variable): Ditto. + Defined some new constants. + (generate_makefile): Don't call generate_header. + (generate_header): Removed. + (file_contents): Rewrote. + (read_am_file): Rewrote. + + * automake.in (generate_makefile): Handle phony target. + (do_one_clean_target): Pretty-print dependencies. + (handle_installdirs): Pretty-print rule. + + * Makefile.am (maintainer-check): Made some commands silent. + + * automake.in (initialize_global_constants): Don't install or + uninstall cat'd man pages. + (initialize_per_input): Added phony target. + (push_phony_cleaners): New function. + (get_object_extension): Handle phony targets. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_tags): Ditto. + (handle_dist): Ditto. + (handle_subdirs): Ditto. + (handle_installdirs): Ditto. + (handle_merge_targets): Ditto. + (handle_clean): Ditto. + (do_one_merge_target): Ditto. + (am_install_var): Ditto. + (handle_phony): New function. + (generate_makefile): Call it. + (pretty_print_internal): New function. + (pretty_print_rule): Ditto. + +Sun Dec 31 13:04:59 1995 Tom Tromey + + * automake.in (initialize_global_constants): Don't print body of + loop at make time. + + Changes from François Pinard: + * depend.am (MKDEP): Include DEFS, INCLUDES, CPPFLAGS, CFLAGS. + (DEP_FILES): Put dependency files in $(srcdir). + Look in $(srcdir) when including dependency files. + ($(srcdir)/.deps/.P): .deps/.P is in $(srcdir). + (.deps/%.P): MKDEP includes all macro expansions. + * dist-subd-top.am (dist): Get absolute path for distdir. Don't + be so verbose. + * dist-subd.am (dist): Don't be so verbose. + * dist.am (dist): Don't be so verbose. + + * automake.in (do_one_clean_target): Remove config.status in + maintainer-clean. From Jim Meyering. + + * programs-clean.am (clean-@DIR@PROGRAMS): Bug fix. From Jim + Meyering. + + * automake.in (handle_merge_targets): Add dummy command for empty + install target. From Jim Meyering. + +Tue Dec 12 10:06:28 1995 Tom Tromey + + * texinfos.am (uninstall-info): Bug fix. + + * Makefile.am (maintainer-check): Error if ${...} used. + * depend.am (DEP_FILES): Prefer $(...). + + * scripts.am (install-@DIR@SCRIPTS): Only install script if it + exists. + * libraries.am (install-@DIR@LIBRARIES): Only install library if + it exists. + * programs.am (install-@DIR@PROGRAMS): Only install program if it + exists. + + * texinfos-vars.am (TEXFILES): Removed. + + * Makefile.am (pkgdata_DATA): Removed libprograms.am. + + * automake.in (do_one_merge_target): Never generate trailing + whitespace. + (pretty_print): New function. + (handle_footer): Prettyprint definitions. + (am_install_var): Ditto. + (handle_source_transform): Ditto. + (handle_dist): Ditto. + (handle_libraries): Ditto. + (read_am_file): Put comments nearer appropriate code. + + * texi-clean.am (mostlyclean-info): Use continued lines, not + multiple rm's. From Jim Meyering. + +Sun Dec 10 11:59:33 1995 Tom Tromey + + * Makefile.am (pkgdata_DATA): Cause INSTALL, install-sh, mdate-sh, + mkinstalldirs, texinfo.tex to be installed. + * automake.in (symlink_exists): New global. + (install_missing): Ditto. + (require_file): Install missing files if possible. + (parse_arguments): Handle --install-missing option. + (initialize_global_constants): Document --install-missing. + + * Makefile.am (cvs-dist): Don't release unless NEWS updated. + Ensure 'checks' pass before release. + (maintainer-check): Renamed. Look in $(srcdir) for sources. From + Franc,ois Pinard. + (cvs-dist): Depend on maintainer-check instead of explicitly + running check. + + * configure.in (VERSION): Version 0.26. + + * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense + of 'if' test. + + * depend.am (DEP_FILES): Bug fix. + + * automake.in (do_one_clean_target): Typo. + + * Makefile.am (check-local): Run syntax check under Perl 4. + + * automake.in: Fixes for Perl 4, from Gord Matzigkeit. + (handle_source_transform): Loop variable is now $_. From Gor + + * Makefile.am (check-local): Check for 'true' in source. + * texinfos.am (install-info): Can't use "true" in any rule. + +Sat Dec 9 10:16:48 1995 Tom Tromey + + * Makefile.am (cvs-dist): New target. + + * tags.am (TAGS): Use "test -z ... ||" to avoid spurious + failures. + + * texinfos.am (install-info): Don't do install-info for now. + + * clean.am (distclean-generic): Don't remove config.status here. + * automake.in (do_one_clean_target): Remove config.status later, + for 'make -j2'. From Jim Meyering. + +Fri Dec 8 16:30:48 1995 Tom Tromey + + * configure.in (VERSION): Version 0.25. + + * automake.in (handle_texinfo): Use "$? >> 8", not "$?". + (handle_configure): Check for AC_PROG_MAKE_SET. + + * depend.am (DEP_FILES): Handle deANSIfication case. From Jim + Meyering. + + * automake.in (am_install_var): Changed how 'clean' handled for + uniform name targets. + * Makefile.am (pkgdata_DATA): Added new files. + * data-clean.am: New file. + * scripts-clean.am: New file. + * libraries-clean.am: New file. + * programs-clean.am: New file. + +Wed Dec 6 00:06:11 1995 Tom Tromey + + * automake.in (am_install_var): Error if variable name + "misspelled". + (handle_source_transform): Automatically include .c file + corresponding to .y or .l. + +Tue Dec 5 00:46:14 1995 Tom Tromey + + * programs.am: Changed for uniform naming scheme. + + * automake.in (read_am_file): Allow '-' and '.' in target names. + (generate_makefile): Don't pass arguments to handle_libraries. + (initialize_per_input): Define @sources, @objects. + (generate_makefile): Init @sources, @objects if needed. + (handle_source_transform): Push onto @sources, @objects here. + (am_install_var): Push primary onto @all, for configure-time + customization. + (handle_programs): Use new uniform naming scheme. + + * Makefile.am (check-local): New target. + + * automake.in (handle_libraries): Use uniform naming scheme. + + * libraries.am: Rewrote for uniform naming scheme. + + * scripts.am: Updated names of all clean targets. + + * automake.in (handle_programs): Split on all whitespace. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (am_install_var): Changed return result. + (am_install_var): Changed interface. + (am_install_var): Push onto @clean@ if requested. + (handle_scripts): Pass -clean to am_install_var. + +Mon Dec 4 11:55:36 1995 Tom Tromey + + * automake.in (am_install_var): Push target onto @all. + (get_object_extension): Use $(...). + (handle_source_transform): Ditto. + (handle_programs): Ditto. + + * automake.in (require_argument): New function. + (parse_arguments): Use it. + (push_dist_common): New function. + (generate_makefile): Use it. + (handle_texinfo): Ditto. + (handle_dist): Ditto. + (handle_configure): Ditto. + (require_file): Ditto. + (generate_makefile): Don't pass arguments to handle_scripts. + (handle_configure): Require configure.in. + (check_gnu_standards): New function. + (check_gnits_standards): Ditto. + (generate_makefile): Check standards. + + * Makefile.am (bin_SCRIPTS): Changed name from SCRIPTS. + + * automake.in (LENIENT, GNU, GNITS): New constants. + (initialize_per_input): New function. + (generate_makefile): Use it. + (initialize_global_constants): Renamed from init_globals. + (require_file): Added strictness argument. + (parse_arguments): Added --strict option. + (set_strictness): New function. + (parse_arguments): use it. + (initialize_global_constants): Document --strictness. + + * automake.in: Use ${1+"$@"} to preserve quoting when running + under sh. + + * texinfos.am (install-info): Don't use "true". + * tags.am (TAGS): Don't use "true". + + * dist.am, dist-subd-top.am, remake-hdr.am, remake-subd.am, + remake.am, subdirs.am, texinfos.am: Use "&&" after cd. + + * program.am (@PROGRAM@): Use LINK macro. + * compile.am (.c.o): Use COMPILE macro. + + * clean.am, remake-hdr.am, remake.am, texinfos.am: Use $(...), not + ${...}. + + * subdirs.am (RECURSIVE): Removed macro. + + * clean.am: Changed to not be so verbose. + + * Makefile.am (pkgdata_DATA): Include texi-clean.am. + * automake.in (handle_texinfo): Transform texi-clean and put into + output rules. + * texinfos-vars.am (TEXFILES): Removed. + * texinfos.am: Removed 'clean' targets. + * texi-clean.am: New file. + + * Makefile.am (ETAGS_ARGS): Just use 'automake.in'. + + * texinfos-vars.am (TEXFILES): Added *.op. + + * dist-vars.am (DISTFILES): Renamed from DIST_FILES, per GNU + standards. + * dist.am (dist): Use DISTFILES. + * dist-subd.am (dist): Use DISTFILES. + * dist-subd-top.am (dist): Use DISTFILES. + +Sun Dec 3 00:24:08 1995 Tom Tromey + + * Makefile.am (ETAGS_ARGS): Define. + + * depend.am (.deps/.P): Use ":", not "echo timestamp". From Jim + Meyering. + + * dist-vars.am (DIST_FILES): Removed PACKAGEDATA. + + * automake.in (handle_scripts): Use am_install_var. + + * scripts.am: Rewrote for new uniform naming scheme. + + * Makefile.am (pkgdata_DATA): Removed libscripts.am. + + * libscripts.am: Removed. + + * packagedata.am: Removed. + + * Makefile.am (PACKAGEDATA): Removed packagedata.am. + (pkgdata_DATA): Renamed from PACKAGEDATA. + + * automake.in (handle_data): Use am_install_var. + (init_globals): Init %exec_dir_p. + + * data.am: Rewrote for new uniform naming scheme. + + * automake.in (get_object_extension): New function. + (handle_programs): Use it. + (dir_holds_sources): Changed interpretation. + (handle_headers): New function. + (am_install_var): New function. + (generate_makefile): Call handle_headers. + + * header-vars.am (pkgdatadir): New macro. + (pkglibdir): Ditto. + (pkgincludedir): Ditto. + + * automake.in (handle_source_transform): New function. + (am_error): New function. + (generate_makefile): Use it. + (handle_source_transform): Ditto. + (handle_texinfo): Ditto. + (handle_dependencies): Ditto. + (handle_merge_targets): Ditto. + (require_file): Ditto. + +Sat Dec 2 21:39:56 1995 Tom Tromey + + * automake.in: Updated FSF address. From Jim Meyering. + * header-vars.am: Updated FSF address. + + * distname.am: Removed. + + * automake.in (file_contents): Strip "##" comments. + * Various files: Added "##" comments for strange things. + + * automake.in (handle_tags): Generate TAGS rule for every + directory. + + * subdirs.am (RECURSIVE): Include installcheck-recursive. + * automake.in (installcheck): New variable. + (generate_makefile): Initialize it. + (handle_subdirs): Push 'installcheck-recursive'. + (handle_merge_targets): Handle installcheck target. + +Thu Nov 30 20:13:16 1995 Tom Tromey + + * automake.in ($PACKAGE): Removed. + + * header-vars.am (ALL): Removed. + + * automake.in: Reworked 'all' target handling. + + * automake.in (generate_makefile): + Don't use AM_ forms in call to am_variable. + + * automake.in: Changes for Perl 5, from Gord Matzigkeit + + * clean.am (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. + + * automake.in (handle_footer): Allow SUFFIXES variable. + + * automake.in (am_variable): New function. + (handle_texinfo): Use it. + (generate_makefile): Use it. + + * configure.in: Version 0.24. + +Wed Nov 29 23:50:14 1995 Tom Tromey + + * automake.in (handle_libraries): + Generate blah_LIBADD defines if required. + + * library.am (lib@LIBRARY@.a): Look at $(@LIBRARY@_LIBADD) + + * libraries-vars.am (LIBOBJS, ALLOCA): Removed. + + * compile-kr.am: ($(OBJECTS)): Depend on $(ANSI2KNR), not ansi2knr. + + * configure.in: Version 0.23 + + * dist-subd-top.am (dist): Don't die if a subdirectory already exists. + + * dist-subd-top.am, dist.am (dist): Give automake --output-dir option. + + * automake.in: New option --output-dir + + * automake.in (handle_configure): Fixed typo. + + * automake.in (handle_installdirs): Always make installdirs target. + + * subdirs.am (RECURSIVE): Removed uninstall-data-recursive and + uninstall-exec-recursive. Added installdirs-recursive. + + * automake.in (handle_installdirs): Handle installdirs-recursive. + (handle_man_pages): 'all' depends on $(MANS) + + * Makefile.am: Removed mans.am. + + * automake.in: More man-related fixes + + * automake.in: Bug fixes + + * automake.in: Rewrote man page handling. + + * texi-version.am, remake-hdr.am, depend.am: Don't use touch. + + * automake.in (handle_installdirs): New function. + (@installdirs): New global. + Many changes to deal with installdirs. + + * clean.am (clean-generic): Always supply 'else' clause to 'if' + + * automake.in (generate_header): Don't use header.am. + (handle_dist): Don't use dist-subd-vars.am. + + * Makefile.am (PACKAGEDATA): Removed dist-subd-vars.am, header.am. + + * Makefile.am (DISTCLEANFILES): Removed. + + * clean.am (clean-generic): Bug fix. + + * clean.am (clean-generic): Only remove CLEANFILES if nonempty + + * texi-version.am (clean-vti): No such macro as VTI + +Tue Nov 28 19:56:07 1995 Tom Tromey + + * automake.in: Bug fix for maintainer-clean + + * automake.in (do_one_clean_target): + Print special text in maintainer-clean. + (handle_clean): Always include clean.am + + * clean.am: Use -generic clean targets. + + * compile.am: Added clean targets. + + * configure.in: Version 0.22. + + * automake.in (handle_dependencies): + Put trailing newline after all deps. + + * automake.in (handle_dependencies): Another dependency bug fix. + + * automake.in (handle_dependencies): + Bug fix when including dependencies. + + * automake.in (handle_configure): + Verify existence of install-sh, mkinstalldirs + + * automake.in (handle_texinfo): Include stamp-vti in distribution + + * dist-subd-vars.am, dist-vars.am (DIST_FILES): + Include DATA, PACKAGEDATA. + + * Makefile.am: Nothing + + * Makefile.am (DIST_OTHER): Don't distribute gettext-sh + + * automake.in (handle_texinfo): Typo + + * automake.in: If script ends up in shell, feed to perl + + * automake.in: Rewrote 'clean' rules. + Documentation made and installed first. + 'all' depends on 'info' + +Mon Nov 27 23:57:29 1995 Tom Tromey + + * configure.in, Makefile.am: Turned off internationalization. + + * clean-kr.am: Rewrote for new clean scheme. + + * tags-clean.am: Remove TAGS in distclean, not maintainer-clean + + * Makefile.am (PACKAGEDATA): Include tags-clean.am + + * subdirs.am: Removed bogus local clean targets + + * tags-clean.am: Initial revision + + * texi-version.am: Added clean targets + + * texinfos.am: Fixes to clean targets. + + * texinfos.am, libscripts.am, scripts.am, libraries.am, libprograms.am, programs.am: + Added clean targets + + * compile-kr.am (ansi2knr.o): Depend on CONFIG_HEADER + + * automake.in: Completely revamped automatic de-ANSI-fication + + * compile-kr.am: (ansi2knr, $(OBJECTS)): New targets + + * compile-vars.am (LINK): New macro + + * kr-vars.am: Trailing blank line + + * compile-kr.am: Rewrote + + * compile-vars.am (COMPILE): New macro + + * compile-vars.am (ANSI2KNR): Removed + + * Makefile.am (PACKAGEDATA): Removed all sed scripts. Added kr-vars.am + + * kr-vars.am: Initial revision + + * automake.in (require_file): New function. + (handle_texinfo): Require 'mdate-sh' + (common_sometimes): New variable + (usage): Use it. + + * texi-version.am (stamp-vti): Use Ulrich's mdate-sh script + + * mdate-sh: Initial revision + + * automake.in (handle_footer): Don't define SOURCES or OBJECTS if empty + + * automake.in (generate_makefile): + Put Makefile.in, Makefile.am in @dist_common + (handle_configure): Use @dist_common as appropriate + + * dist-subd-vars.am, dist-vars.am (DIST_CONF): Removed + + * configure.in: Abort if perl not found + + * configure.in: Look for perl + + * automake.in: Reimplemented in Perl + + * automake.in: Fixlet + +Sun Nov 26 08:09:30 1995 Tom Tromey + + * automake.in: Always print ".SUFFIXES:" rule. + + * automake.in: Distribution config.h.in if required + + * automake.in: Bug fix when including texi-version.am + + * automake.in: Bug fix when looking for .texi file in $am_reldir + + * depend.am: Comment fix + + * automake.in: Look for .texi file in $am_reldir + + * automake.in: Fixlet + + * automake.in: Blank line after targets from user's Makefile.am + + * automake.in: Move footer items to actual footer + + * automake.in: Include stamp-h.in in DIST_COMMON if necessary + + * automake.in (common): + Don't include acconfig.h, config.h.top, config.h.bot + + * Makefile.am (CONFIG_HEADER): Renamed from CONFIG_H + + * Makefile.am (CONFIG_H): Define + + * acconfig.h: Initial revision + + * configure.in: Use AC_CONFIG_HEADER. + + * automake.in: Put blah_TEXINFOS into DIST_COMMON + + * automake.in: .info file explicitly depends on primary .texi file + + * texinfos.am (install-info): Always supply 'else' clause to 'if' + + * tags.am (TAGS): Always supply 'else' clause to 'if' + + * subdirs.am (.NOEXPORT): Removed (now in footer.am) + + * automake.in: Always include footer.am in output + + * mans.am (install-man): Always supply 'else' clause to 'if' + + * automake.in: More version.texi fixes + + * automake.in: Only do version.texi processing if requested. + + * automake.in: Minor internationalization fixes. + Subshell can now exit with nonzero status. + Fixed up .texi handling; now uses texi-version.am + Make sure '.c' and '.o' are in .SUFFIXES if required. + + * Makefile.am (PACKAGEDATA): Include texi-version.am + (stamp-vti, version.texi): Removed + (TEXINFOS): Don't reference version.texi + + * texi-version.am: Initial revision + + * dist.am, dist-subd-top.am (dist): + [DIST_SUBDIRS] Follow symlinks when copying. + + * dist-subd-top.am (dist): Removed unneeded subdir= option to make + +Sat Nov 25 23:23:39 1995 Tom Tromey + + * automake.in: Added --amdir option + + * Makefile.am, configure.in: Turned on internationalization + + * Makefile.am: Set EDITION + + * configure.in: Version 0.21 + + * tags.am, tags-subd.am: Don't use double-colon rules + + * automake.in: Redid install-data, install-exec, uninstall handling + + * configure.in: Turn off i18n + +Fri Nov 24 23:51:37 1995 Tom Tromey + + * automake.in (common): Remove NLS + + * automake.in (common): Include ABOUT-NLS. + + * automake.in: Test for install-sh and mkinstalldirs + + * automake.in: Blank line after OBJECTS= line + + * automake.in: Start subshell in loop after check for Makefile.am + + * automake.in: --use-deps now the default + + * automake.in (am_dir): Don't apply transform to install directory name + + * packagedata.am: Don't apply transform to install directory name + + * Makefile.am (SUBDIRS): Hold off on internationalization + +Thu Nov 23 18:02:38 1995 Tom Tromey + + * automake.in: + Write 'SOURCES =' line after copying Makefile.am variables + + * automake.in: Fixed bug in "--" option processing + + * subdirs.am: ($(RECURSIVE)): Removed trailing \ from last line + + * Makefile.am (DIST_OTHER): Include gettext-sh + + * Makefile.am (SUBDIRS): Define + + * configure.in: Include internationalization bits + + * automake.in: Many changes to avoid double-colon rules. + + * subdirs.am: ($(RECURSIVE)): Print name of target actually used + + * subdirs.am: Removed "::" rules + + * header.am: Removed install, uninstall + + * header.am: Added install, uninstall targets + + * hack-make.sed: Rewrite targets like "all-local" to "all_local" + + * header.am, libraries.am, mans.am, texinfos.am, footer.am: + Removed "::" rules + + * Makefile.am (PACKAGEDATA): Include libscripts.am + + * libprograms.am: Don't install libscripts here + + * libscripts.am: Initial revision + + * scripts.am, programs.am, libprograms.am: Removed "::" rules + + * automake.in (am_dir): Run package name through name transform. + + * automake.in: Don't use packagedata.sed or data.sed + + * Makefile.am (PACKAGEDATA): Removed data.sed, packagedata.sed. Added + packagedata.am + + * data.am: No longer run through sed + + * packagedata.am: Initial revision + +Wed Nov 22 22:31:02 1995 Tom Tromey + + * automake.in: No blank line after Usage + + * automake.in: Removed "NLS nuisances" section. + Now uniformly uses $echo for user-visible messages (in advance of + internationalization) + + * subdirs.am (maintainer-clean): Don't use realclean-local + + * Makefile.am: Use PACKAGEDATA, not custom code + + * data.am: Use @LONG@, not $(@LONG@) + + * automake.in: Handle DATA and PACKAGEDATA + + * packagedata.sed: Initial revision + + * data.am: Use @DIR@, not $(@DIR@) + + * data.sed: Use $(datadir), not datadir + + * data.sed: Initial revision + + * data.am: Wrote uninstall targets + + * data.am: Initial revision + + * dist-subd.am (dist): Don't link a file that has already been linked + + * dist-subd-top.am, dist.am (dist): + Run `automake --include-deps' before making distribution + + * automake.in: More dependency-tracking bug fixes + + * dist-vars.am (DIST_FILES): Rearranged to be like dist-vars-subd.am + + * dist-subd-vars.am (DIST_FILES): Include DIST_COMMON + + * tags-subd.am, tags.am: Added trailing blank line + + * depend.am: Use ".P", not "empty.P", as placeholder. + + * automake.in: Only include depend.am if SOURCES not empty + + * automake.in: Added --use-deps and --include-deps options. + Handle auto-generating dependencies. + + * Makefile.am (am_DATA): Include depend.am + + * depend.am: Initial revision + + * automake.in: Look for acconfig.h, config.h.top, and config.h.bot + + * automake.in: Put blank line after .SUFFIXES + + * scripts.am: Added blank line at end + + * scripts.am: Removed unnecessary comment + + * scripts.am: Removed unnecessary workarounds + + * automake.in: Don't include programs.am if PROGRAMS empty + + * header-vars.am (INSTALL_SCRIPT): Typo + + * texinfos.am, compile-kr.am: Don't include .SUFFIXES + + * automake.in: Handle .SUFFIXES here. + + * configure.in: Use fp_PROG_INSTALL + + * header-vars.am: Changes for autoconf 2.5. + Now includes INSTALL_SCRIPTS. + + * texinfos.am (install-info): Bug fix + + * automake.in: + Include scripts.am or libscripts.am in output if appropriate + + * programs.am (install-programs, uninstall-programs): + Don't install SCRIPTS + + * Makefile.am (am_DATA): Include scripts.am + + * scripts.am: Initial revision + +Tue Nov 21 09:11:38 1995 Tom Tromey + + * automake.in: + Cleaned up how "prog_SOURCES" variable is found in input. + Ditto prog_OBJECTS. + Put static sed scripts into separate, installed files. + + * Makefile.am (am_DATA): Include hack-make.sed and nl-remove.sed + + * hack-make.sed, nl-remove.sed: Initial revision + + * texinfos.am (install-info): Rewrote + + * subdirs.am (all-recursive): Put with other -recursive rules + + * configure.in: Version 0.20 + + * automake.in: Another bug fix + + * automake.in: Bug fix when looking for texinfo.tex + + * texinfo.tex: Initial revision + + * automake.in: + If TEXINFOS defined but texinfo.tex does not exist, give warning. + + * subdirs.am (all): Renamed from _all. Now uses all-recursive + (all-recursive): Don't fail immediately if -k specified. + +Mon Nov 20 22:48:03 1995 Tom Tromey + + * subdirs.am (_all): + New target. Now use Jim Meyering's formulation of AIX + workaround. + (install-exec, install-data): New targets + +Sat Nov 18 19:07:30 1995 Tom Tromey + + * remake.am (Makefile.in): automake "Makefile", not "Makefile.am" + + * automake.in: Use @datadir@ + + * automake.in: Added @configure_input@ line + +Fri Nov 17 23:32:43 1995 Tom Tromey + + * automake.in: "--help" option now prints auto-recognized file names. + Allow AM_ overriding of more variables. + + * texinfos.am (install-info): + Don't cd to srcdir to avoid breaking install-sh + Other bug fixes + + * Makefile.am: Handle automake.texi + +Thu Nov 16 18:43:43 1995 Tom Tromey + + * subdirs.am (all): Separated out due to AIX 3.2.5 bug. + + * tags.am (TAGS): bug fix + + * automake.in: Use am_dir, not AM_DIR. + Use version, not VERSION. + Bug fix in TAGS code. + + * Makefile.am (am_DATA): Include tags.am and tags-subd.am + + * subdirs.am: TAGS target now in tags.am + + * footer.am: TAGS and ID targets now in tags-subd.am + + * tags-subd.am, tags.am: Initial revision + + * automake.in: Cleaned up AM_PROGRAM code. + Handle TAGS target better + + * remake.am, remake-subd.am (Makefile.in): Bug fix. + + * automake.in (usage): Updated + + * remake-subd.am, remake.am: + Added rule where Makefile.in depends on Makefile.am + + * automake.in: Entire body of 'for' loop now in subshell + + * automake.in (common): config.guess and config.sub are common files. + + * dist-subd-top.am, dist.am (dist): Bug fix. + + * Makefile.am (DIST_OTHER): Don't include TODO + + * automake.in: Auto-include TODO and THANKS files. + + * dist-subd-top.am, dist.am (dist): Don't depend on DIST_DIRS + + * automake.in: More bug fixes in "look for Makefile.am" code. + + * automake.in: Bug fix in "look for Makefile.am" code. + + * automake.in: + If no arguments given, look for all Makefile.am's in this + directory and in immediate subdirs + + * automake.in: Bug fixes for LDADD-override feature. + + * program.am: Use @PROGRAM@_LDADD, and put after LDFLAGS + + * automake.in: Allow `prog_LDADD', if specified, to override LDADD. + + * automake.in: Use AM_PROGRAMS, not ALLPROGRAMS, and invert sense. + + * header-vars.am (ALL): Use PROGRAMS, not ALLPROGRAMS. + +Wed Nov 15 01:54:43 1995 Tom Tromey + + * automake.in: No longer look for _SOURCES or _OBJECTS + + * header-vars.am: + Remove "automatically created" header (now in automake). + Updated copyright. + + * automake.in: Put version info in Makefile header + +Tue Nov 14 23:38:17 1995 Tom Tromey + + * automake.in: Minor cleanups + + * dist-subd-top.am, dist.am (dist): + Don't link or copy file if it already exists. + + * automake.in: + Look for _SOURCES (common sources) and generate _OBJECTS. + + * footer.am (ID, TAGS): Include HEADERS + + * dist-vars.am, dist-subd-vars.am (DIST_FILES): Include HEADERS + +Mon Nov 13 22:20:02 1995 Tom Tromey + + * dist-subd.am (distdir): Is relative to ".." + + * dist-subd-vars.am (PACKAGE, VERSION): Define + + * dist-subd.am (dist): Don't handle DIST_DIRS. + + * mans.am (uninstall-man): Another bug fix. + + * mans.am (uninstall-man): Bug fix. + + * dist.am, dist-subd-top.am (dist): Bug fix + + * Makefile.am (DIST_SUBDIRS): New macro + + * dist-subd-top.am, dist.am (dist): Handle DIST_SUBDIRS + + * Makefile.am (DIST_OTHER): Include automake.in + + * Makefile.am (DISTCLEANFILES): New macro. + + * automake.in (common): Include COPYING.LIB + + * Makefile.am (automake): New rule. + + * texinfos.am (install-info): Changed per GNU standards + + * remake-hdr.am (stamp-h.in): + Use "touch", not "date", per GNU standards. + + * automake.in (common): Include texinfo.tex + +Sun Nov 12 23:59:08 1995 Tom Tromey + + * automake.in: More fixes when finding common files. + + * Makefile.am (DIST_OTHER): Another removal. + + * automake.in: Special-case when amdir=. + + * Makefile.am (DIST_OTHER): Removed auto-detected files. + + * automake.in: + Search for commonly-used files and auto-include them in distribution + + * dist-vars.am (DIST_FILES): Include DIST_COMMON. + (DIST_CONF): Removed files searched for by automake. + + * automake.in: More arg-parsing bug fixes. + + * Makefile.am (DIST_OTHER): Include install-sh + + * Makefile.am (DIST_OTHER): Don't include auto-included files. + + * automake.in: Bug fixes to argument parsing code. + + * automake.in: Handle --version and --help. + NLS stuff from autoconf. + + * Makefile.am (amdatadir): Fixed typo. + (install): Make install directories + + * Makefile.am: Use "install::", not "install:" + + * install-sh, mkinstalldirs: Initial revision + + * configure.in: Use AC_PROG_INSTALL + + * automake.in: Set AM_DIR based on configure results. + + * Makefile.am (install): New target. + (amdatadir): New variable. + + * automake.in: Use "#! /", not "#!/". + + * Makefile.am, configure.in: Initial revision + + * automake.in: Renamed from "automake". + Set VERSION. + + * dist.am (PACKAGE, VERSION): Now in dist-vars.am + + * automake.in: Insert remake-subd.am if appropriate. + + * subdirs.am (TAGS): Include $(CONFIG_HEADER) when making tags. + + * automake.in: Handle ALLPROGRAMS variable. + + * header-vars.am (ALL): Use ALLPROGRAMS, not PROGRAMS. + + * automake.in: Fixlet when printing "subdir=DIR" + + * automake.in: Put "subdir=DIR" into subdir Makefile + + * automake.in: Don't refer to distname.am. + Only put footer.am in subdir Makefiles. + + * subdirs.am (id, ID): New target. + (.NOEXPORT): Copied from footers.am. + + * subdirs.am (TAGS): Bug fixes. + + * subdirs.am (TAGS): Don't fail if a subdir doesn't have TAGS target. + + * subdirs.am (maintainer-clean-local): Remove TAGS + + * subdirs.am (TAGS): Make tags file that includes all subdir tags files + + * subdirs.am: Use maintainer-clean, per GNU standards + + * dist-subd-top.am: Some variables defined in dist-vars.am + + * dist-vars.am (PACKAGE, VERSION): + New variables, initialized by configure + + * footer.am (id, ID): New targets + (TAGS): Put TAGS file in build, not source, directory + + * remake-subd.am (Makefile): Don't assume subdir is 'src' + + * dist.am: Changed to assume PACKAGE and VERSION are set by configure. + + * dist-subd.am: Changed to conform to new top-level dist target. + + * dist-subd-top.am: + Changed to assume PACKAGE and VERSION are set by configure. + + * clean-kr.am, clean.am (maintainer-clean): + Updated rules per GNU standards. + + * clean.am, clean-kr.am (maintainer-clean): Renamed from realclean. + +Sat Nov 5 14:39:50 1994 djm + + * automake.in, texinfos.am: kludge for multiple-part info files + +Thu Nov 3 13:33:44 1994 djm + + * clean.am, clean-kr.am: remove INFOS + +Wed Nov 2 06:15:42 1994 djm + + * texinfos.am: add path + + * remake.am, remake-hdr.am: account for VPATH limitations + +Mon Oct 24 23:01:59 1994 djm + + * automake.in, dist-subd-top.am, dist-subd.am, dist.am, header-vars.am, libprograms.am, programs.am: + handle SCRIPTS and LIBSCRIPTS similar to PROGRAMS + +Sun Oct 23 01:50:41 1994 djm + + * texinfos.am: install-info depends on info files + + * dist-subd-vars.am, dist-vars.am: distrib info files + +Sun Oct 2 02:03:06 1994 djm + + * clean-kr.am, clean.am: fix up distclean + + * subdirs.am: fix typo + + * clean.am: do more in distclean + +Sat Oct 1 23:52:51 1994 djm + + * libraries.am: make install depend on all + + * automake.in: fix typo + +Wed Sep 28 21:15:26 1994 djm + + * dist-subd-vars.am, dist-vars.am, header-vars.am: fix doc bugs + + * automake.in, compile-vars.am, dist.am: fix dist for no subdirs + + * dist-subd-top.am: Initial revision + + * automake.in, header-vars.am, libraries-vars.am, mans-vars.am, texinfos-vars.am: + centralize prefix var setting + + * header-vars.am: set all the std vars based on prefix + +Tue Sep 27 01:32:22 1994 djm + + * automake.in: don't add kr stuff if not needed + + * dist-vars.am: add config vars to dist + +Mon Sep 26 23:09:09 1994 djm + + * program.am: add LDADD + + * compile-vars.am: remove LDADD from LDFLAGS + + * clean.am: move knr stuff to another file + + * automake.in: use different clean file for ansi2knr + + * clean-kr.am: Initial revision + +Thu Sep 22 03:45:02 1994 djm + + * automake.in, dist-subd.am, dist.am: fix rules and dist + +Tue Sep 20 21:29:40 1994 djm + + * compile.am, automake.in: split out knr + + * compile-kr.am: Initial revision + + * libprograms.am: fix typo + + * automake.in, clean.am, compile-vars.am, header-vars.am, libprograms.am: + make libprograms work + + * libprograms.am: Initial revision + + * automake.in, compile.am, header-vars.am: fix little bugs + + * compile.am: allow parallel K&R + + * clean.am: remove kerb temps + + * automake.in: fix recognizing start of rules + + * dist-subd.am, dist.am: fix dist + + * automake.in, compile.am, footer.am, texinfos.am: fix ansi2knr + +Mon Sep 19 23:39:21 1994 djm + + * automake.in: works on m4 too + + * automake.in, mans.am: works on fileutils + + * 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: + works on fileutils except for all + + * automake.in: vars thing + + * header-vars.am: Initial revision + + * texinfos-vars.am, mans-vars.am, libraries-vars.am, dist-vars.am, dist-subd-vars.am: + entered into RCS + + * compile-vars.am: Initial revision + + * automake.in: many improvements + + * footer.am: Initial revision + + * dist.am: remove distname + + * automake.in: namespace cleanup + + * distname.am: Initial revision + + * 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: + might work + + * 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: + Initial revision + diff --git a/ChangeLog.1998 b/ChangeLog.1998 new file mode 100644 index 000000000..68d4837c2 --- /dev/null +++ b/ChangeLog.1998 @@ -0,0 +1,2185 @@ +1998-12-22 Marcus G. Daniels + + * automake.in (handle_dependencies): Transform EXT & PFX in + Objective C case. + +1998-12-11 Marcus G. Daniels + + * automake.in: Register Objective C language. + (finish_languages): Consider Objective C to be non_c. + (lang_objc_rewrite, lang_objc_finish): New functions. + (resolve_linker): Recognize OBJCLINK before LINK. + +1999-01-10 Tom Tromey + + * automake.in (handle_texinfo): Handle empty $config_aux_dir. + + * automake.in (handle_texinfo): Set $conf_pat correctly when + config_aux_dir not used. + (handle_texinfo): Run maintainer-clean-aminfo rules in srcdir. + From Erez Zadok. + * texi-vers.am (maintainer-clean-@VTI@): Prefix file names with + $(srcdir). From Erez Zadok. + ($(srcdir)/stamp-@VTI@): Don't run mdate-sh from srcdir. + +1999-01-08 Thomas Tanner + + * depend.am: remove the dependencies (.deps) + in "make distclean", not "make maintainer-clean" + +1999-01-10 Tom Tromey + + * aclocal.in (write_aclocal): Updated copyright. + (parse_arguments): Likewise. + * automake.in (parse_arguments): Updated copyright. + (initialize_global_constants): Likewise. + + * Makefile.am (pkgdata_DATA): Renamed from pkgdata_SCRIPTS. + (install-data-hook): New hook. Report from Petter Reinholdtsen. + + * remake-hdr.am: Provide `else' clause for each `if'. + +1999-01-10 Alexandre Oliva + + * remake-hdr.am: recover from removal of config headers, and try + to get real timestamps, which is useful for CVS files + +1999-01-10 Tom Tromey + + * automake.in (handle_merge_targets): Don't special-case "-local" + targets. Test all.test. + + * automake.in (handle_texinfo): Prepend $(srcdir) to directory + used to find texinfo.tex. Report from Glenn Amerine. + +1999-01-07 Tom Tromey + + Based on report from Marcus G. Daniels. Fixes include.test. + * automake.in (generate_makefile): Call read_main_am_file. + (read_main_am_file): New sub. + (read_am_file): Moved header generation code into + read_main_am_file. + +1999-01-06 Gary V. Vaughan + + * automake.in (require_file_internal): qub perl on win32 hangs + on a call to unlink for a non-existant file, which in turn causes + tests/symlink.test to hang on win32. Check that the file exists + before unlinking it! + +1998-12-24 Thomas Tanner + + * automake.in (handle_ltlibraries): check whether -module was + defined for libraries names without 'lib' prefix. + +Fri Dec 11 10:20:42 1998 Matthew D. Langston + + * compile_f_c_cxx.test: Change to use F77 and F77LINK instead of + FC and FLINK, respectively. + * flibs.test: same + * fnoc.test: same + * fo.test: same + * fonly.test: same + * link_f_c.test: same + * link_f_c_cxx.test: same + * link_f_cxx.test: same + * link_f_only.test: same + +Fri Dec 11 10:23:17 1998 Matthew D. Langston + + * automake.in, automake.texi: Change all of the Fortran 77 code to + use the new `F77' prefix instead of the older `FC' prefix. + Specifically this changed FC, FCOMPILE, LTFCOMPILE, FLINK and FLD + to F77, F77COMPILE, LTF77COMPILE, F77LINK and F77LD, respectively. + +1999-01-05 Tom Tromey + + * depend2.am (%.o): Use \012, not \n, to avoid losing `tr's. From + Bill Currie. + (%.lo): Likewise. + +1998-12-22 Alexandre Oliva + + * depend2.am: Don't assume backslash can't occur in the middle of + filename; it loses on M$W + +1998-12-21 Tom Tromey + + * automake.in (handle_libraries): Reverted Thomas Tanner's + change. Non-libtool libraries still must fit naming + requirements. + +1998-12-21 Alexandre Oliva + + * automake.in (handle_configure): Dist inputs for AC_OUTPUT. + +1998-12-21 Alexandre Oliva + + * depend2.am: don't use .p and .P for dependencies; it loses on + case-insensitive filesystems. + Reported by Henrik Frystyk Nielsen + +1998-12-20 Thomas Tanner + + * automake.in (handle_libraries, handle_ltlibraries): relax the + name checking to not enforce `^lib.*' for the sake of building libtool + modules. + +1998-12-21 Tom Tromey + + * automake.in (do_one_merge_target): Special case + install-data-hook and install-exec-hook. + (handle_merge_targets): Removed install-data-hook and + install-exec-hook code. Test insthook.test. + +1998-12-16 Tom Tromey + + * tags.am (ID): Uniquify list of sources. Report from Jim + Meyering. + +1998-12-11 Tom Tromey + + Bug report from Paul D. Smith: + * automake.in (handle_merge_targets): Set + AM_INSTALL_PROGRAM_FLAGS, not INSTALL_PROGRAM. + * header-vars.am (INSTALL_PROGRAM): Added + AM_INSTALL_PROGRAM_FLAGS. + +1998-12-03 Tom Tromey + + * automake.in (handle_dist): Print prettier banner when + `make dist' succeeds. From Akim Demaille. + +1998-12-02 Tom Tromey + + * configure.in: Upped version to 1.3e (1.3d was just released). + + * configure.in: Upped version to 1.3d. + + * texinfo.tex, config.guess, config.sub, install-sh: New + versions. + * ansi2knr.c: New version. + + * automake.in (handle_configure): Quote @MAINTAINER_MODE_TRUE@ to + avoid problems where AM_MAINTAINER_MODE is put into automake's own + configure.in. + + * Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir. + + Some bugs from François Pinard: + * automake.in (usage): Remove duplicates in file list. + + * automake.in (usage): Print files in column-major order. + (handle_gettext): Only require ABOUT-NLS for GNU programs. + +1998-12-01 Tom Tromey + + * automake.texi (Dist): Documented GZIP_ENV. + * automake.in (handle_dist): Define and use GZIP_ENV, not GZIP. + (initialize_global_constants): Use GZIP_ENV, not GZIP. + +1998-11-27 Tom Tromey + + * automake.in (quote_cond_val): Use "\002", not '\002', to + represent null string. + (unquote_cond_val): Removing all "\002" strings from result. Test + cond7.test. + + * automake.texi: Formatting changes for latest texinfo. + + * automake.in (handle_java): Removed debugging print. + +1998-11-18 Tom Tromey + + * automake.in (finish_languages): Use CCLD, not CLD. + + * automake.in (finish_languages): Define CLD; use it in LINK + definition. + (lang_cxx_finish): Define CXXLD; use it in CXXLINK definition. + (lang_f77_finish): Define FLD; use it in FLINK definition. + (lang_ppf77_finish): Likewise. + (lang_ratfor_finish): Likewise. + +1998-11-10 Matthew D. Langston + + * automake.in (scan_one_configure_file): Recognize + AC_F77_LIBRARY_LDFLAGS, and recognize FLIBS as a configure + substitution. + + * automake.texi: Fix several little Fortran 77 references to now + point to autoconf.texi. Rename associated Fortran 77 macros from + `AM_' to `AC_'. + +1998-11-10 Tom Tromey + + * automake.in (read_am_file): Handle configure_vars case. Test + pluseq4.test. + +1998-11-09 Tom Tromey + + * automake.in (read_am_file): `conditional_stack' isn't a + function. Correctly add new value to existing value in `+=' + case. + +1998-10-29 Gary V. Vaughan + + * automake.in (parse_arguments): Fixed type of -c for copying + +1998-10-30 Tom Tromey + + * automake.texi (Install): Documented DESTDIR more fully. From + Jeff Garzik. + + * automake.in (MACRO_PATTERN): Recognize `+='. + (BOGUS_MACRO_PATTERN): Likewise. + (read_am_file): Handle `+=' assignments. + +1998-10-28 Tom Tromey + + * Makefile.am (maintainer-check): Changed code to be acceptable to + bash 2.01.1. + + * automake.in (do_one_clean_target): Special-case config.status. + Report from Jeff Garzik. + + * m4/Makefile.am (m4data_DATA): Don't mention f77.m4. + * m4/f77.m4: Removed; macro now in autoconf proper. + +1998-10-24 Tom Tromey + + * automake.in (handle_dist_worker): Typo fix in code testing to + see if subdir is `.'. From Raja R Harinath. + + * m4/lispdir.m4: Fixed sed invocation. From Akim Demaille. + +1998-10-20 Tom Tromey + + * automake.in (scan_dependency_file): Fixed test on `while' loop. + Fixes depend2.test. Report from Akim Demaille. + +1998-10-16 Tom Tromey + + * automake.in (handle_ltlibraries): Specify `noinst' when + computing valid prefixes. From Ulrich Drepper. + + * automake.in (scan_dependency_file): Don't give an error if there + is text after the last line. Report from Matthew D. Langston. + + * m4/mktime.m4: Detect glibc mktime bug. From Jim Meyering. + + * Makefile.am (SUBDIRS): Added `.' again. + + * Makefile.am (EXTRA_DIST): Removed automake.spec.in. From + Matthew D. Langston. + (info_TEXINFOS): Removed am-f77.texi. + + * automake.in (handle_ltlibraries): Allow `noinst' LTLIBRARIES. + These are libtool convenience libraries. + +1998-10-13 Tom Tromey + + * m4/f77.m4: New file. + * m4/Makefile.am (m4data_DATA): Added f77.m4. + +Thu Oct 8 15:00:57 1998 Matthew D. Langston + + * automake.in (resolve_linker): Put the Fortran 77 linker where it + needs to be. + + * automake.in (lang_f77_finish): Add support for Fortran 77. + + * automake.in (f77_extensions): New helper function for function + `lang_f77_finish'. + + * automake.in (lang_f77_rewrite): Change to return success. + + * automake.in (scan_one_configure_file): Add test for the Fortran + 77 compiler. + + * automake.in (finish_languages): Changed tests for "C++ only" to + "C++ and/or Fortran 77 only", and renamed `all_cxx' to `non_c'. + + * automake.in: Registered the ppf77 language (`.F' extension) for + preprocessed Fortran 77. + + * automake.in: Registered the ratfor language (`.r' extension). + + * automake.in: Registered Fortran 77 header files with the "header + language" (`.inc' extension). + +Tue Sep 8 14:50:50 1998 Matthew D. Langston + + * automake.texi: Added several new index entries. + +Sun Aug 30 16:10:31 1998 Matthew D. Langston + + * automake.texi: + - Add `@ovindex' (output variable index). + - Merge `@defmac' (Autoconf macros) and `@ovindex' to the General + Index. + + * automake.texi (Macros): + - Changed the `@table @code' list of macros to `@defmac'. + - Add `AC_PROG_FC' and `MDL_F77_LIBRARY_LDFLAGS' to the list. + +Tue Aug 11 10:42:39 1998 Matthew D. Langston + + * automake.texi (C++): Change `@table' to `@vtable'. + + * automake.texi (Fortran 77): Add Fortran 77 documentation. + +1998-10-11 Tom Tromey + + Preliminary (completely untested) multilib support. + * automake.texi (Macros): Document AM_ENABLE_MULTILIB. + * m4/Makefile.am (m4data_DATA): Added multi.m4. + * Makefile.am (amfiles): Added multilib.am. + * automake.in (seen_multilib): New global. + (scan_one_configure_file): Recognize AM_ENABLE_MULTILIB. + (generate_makefile): Call handle_multilib. + (handle_multilib): New function. + * multilib.am: New file. + * m4/multi.m4: New file. + +1998-10-08 Tom Tromey + + * automake.in (handle_dist): Always include configure.in and + configure in distribution. Fixes confdist.test. + + * automake.in (do_one_merge_target): Be silent when running + install-exec-am and install-data-am. Fixes extra3.test and + extra4.test. + +1998-10-07 Tom Tromey + + * automake.in (am_install_var): Added -noextra option. + (handle_data): Pass -noextra to am_install_var. + +Sun Oct 4 22:24:10 1998 Tom Tromey + + * m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use + 3-argument form of AC_DEFINE. + * m4/regex.m4 (AM_WITH_REGEX): Use 3-argument form of AC_DEFINE. + * m4/ptrdiff.m4 (AM_TYPE_PTRDIFF_T): Use 3-argument form of + AC_DEFINE. + * m4/protos.m4 (AM_C_PROTOTYPES):Use 3-argument form of + AC_DEFINE. + * m4/obstack.m4 (AM_FUNC_OBSTACK): Use 3-argument form of + AC_DEFINE. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use 3-argument form of + AC_DEFINE. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Use 3-argument form of + AC_DEFINE. + +Tue Oct 6 00:02:15 1998 Tom Tromey + + * depend2.am (%.lo): Handle case where compiler does not put space + before ":". From Raja R Harinath. + +Mon Oct 5 13:05:43 1998 Tom Tromey + + * automake.in (scan_one_configure_file): AC_CONFIG_HEADER is not + obsolete; it simply isn't preferred with automake. + (scan_one_configure_file): Likewise for AC_DECL_YYTEXT and + AC_PROG_LEX. + + * automake.in (am_line_error): Handle case where variable defined + in configure.in. Fixes test badline.test. + (%configure_vars): Redefined meaning of values. + (scan_one_configure_file): Set $configure_vars values + appropriately. + +Sat Oct 3 14:53:34 1998 Tom Tromey + + * automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE + conditional. + (handle_configure): Likewise. + (read_am_file): Likewise. + (file_contents_with_transform): Likewise. + (scan_one_configure_file): Recognize that AM_MAINTAINER_MODE + defines a conditional. + * automake.texi (Optional): Document new AM_MAINTAINER_MODE. + * texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE + conditional. + (maintainer-clean-@VTI@): Likewise. + * remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE + conditional. + * remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at + MAINTAINER_MODE conditional. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE + conditional. + +1998-10-03 Jim Blandy + + * depend2.am (%.lo): When editing the dependency file to add the + .lo file to the targets, allow for whitespace between the end of + the filename and the colon. Some compilers (notably the Cygnus + release of GCC 2.7-97r1) put space there: "alist.o : ..." + +Sat Oct 3 12:07:21 1998 Tom Tromey + + * automake.in (handle_configure): Handle case where there is no + Makefile in the config header directory. Fixes test config.test. + +Thu Oct 1 00:51:51 1998 Tom Tromey + + * depend2.am (%.o): Append sed results to .P file in this case + too. From Raja R Harinath. + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and + xemacs install directories. From Robert Bihlmeyer. + + * depend2.am: Don't bother trying to delete source file from + list. + + * depend2.am (%.o): Handle deleted header file problem. + (%.lo): Likewise. + + * texinfos.am (install-info-am): Handle case where INFO_DEPS is + empty. Reported by Andrew Cagney. + (uninstall-info): Likewise. + (dist-info): Likewise. + + * automake.in (handle_texinfo): Error if user tries to generate + HTML. + +Wed Sep 30 00:41:40 1998 Tom Tromey + + * automake.in (do_one_clean_target): Don't push previous clean + target if this target is `mostly'. Report from Raja R Harinath. + + * subdirs.am (mostlyclean-recursive ...): Build local_target, not + target. From Raja R Harinath. + + Completely changed how languages and source files are handled: + * automake.in: Call register_language for each language. + (lang_c_rewrite): New function. + (lang_cxx_rewrite): Likewise. + (lang_header_rewrite): Likewise. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (lang_asm_rewrite): Likewise. + (lang_fortran_rewrite): Likewise. + (register_language): Likewise. + (extension_map): New global. + (language_map): Likewise. + (resolve_linker): New function. + (handle_single_transform_list): Rewrote to use lang_X_rewrite + functions. Changed meaning of first argument. + (initialize_per_input): Removed seen_any_source. Initialize + language_scratch, extension_seen. Removed cxx_extensions, + seen_c_source, dir_holds_headers, dir_holds_sources. + (handle_source_transform): Don't compute $objpat. Pass $obj + directly to handle_single_transform_list. + (handle_built_sources): Fixed call to + handle_single_transform_list. + (lang_c_finish): New function. + (lang_cxx_finish): Likewise. + (lang_header_finish): Likewise. + (lang_yacc_finish): Likewise. + (lang_yaccxx_finish): Likewise. + (lang_lex_finish): Likewise. + (lang_lexxx_finish): Likewise.. + (lang_asm_finish): Likewise. + (lang_fortran_finish): Likewise. + (yacc_lex_finish_helper): Likewise. + (libtool_compiler): Likewise. + (saw_extension): New function. + (handle_lib_objects_cond): Use saw_extension, not old variables. + (handle_yacc_lex_cxx): Removed. + (finish_languages): New function. + (get_object_extension): Don't set dir_holds_sources. + (handle_headers): Don't set dir_holds_headers. Instead, call + saw_extension. + (saw_sources_p): New function. + (handle_tags): Use it. + (handle_dependencies): Likewise. + (cxx_extensions): New function. + (handle_dependencies): Use it. + (generate_makefile): Call finish_languages, not + handle_yacc_lex_cxx. + +1998-05-24 Andreas Schwab + + * texi-vers.am: Use the correct target names. Fix generation of + stamp file. + + * automake.in (handle_tests): In commands generating site.exp copy + the old contents from site.exp, not site.bak, which does not + exist. + +Tue Sep 29 00:10:22 1998 Tom Tromey + + Fixed noinst.test again: + * automake.in (do_one_merge_target): Special-case `install-am'. + (handle_merge_targets): Don't compute @install variable. + + Fixes for recurs2.test. Report from Jim Meyering. + * automake.in (vars_scanned): Define globally. + (variable_value_as_list_worker): Delete $var entry in + %vars_scanned after local work is done. + +1998-05-26 Marcus G. Daniels + + * automake.in: New pattern: INCLUDE_PATTERN. + (read_am_file): Make AM_FILE a local filehandle. + For INCLUDE_PATTERN, store included paths on @include_stack and call + read_am_file with argument. + (handle_configure): When printing the dependencies for + Makefile.in, print the items on include_stack (if any) as + dependencies, too. + + * automake.texi: Make a command index `cm' that goes into the + concept index. Put if, endif, else, and include in the command index. + (Include): Show usage of include directive. + +Mon Sep 28 00:03:45 1998 Tom Tromey + + `.' in SUBDIRS changes order of builds: + * Makefile.am (SUBDIRS): Added `.'. Put tests last. + * tags.am (TAGS): Don't look for TAGS file in `.'. + * automake.texi (Top level): Document SUBDIRS change. + * automake.in (handle_installdirs): Create separate installdirs-am + target. + (handle_merge_targets): Don't put all-am onto @all. Fixed error + message. Correctly handle install-info. Give error if + install-info-local inappropriately defined. Don't special-case + install-data, install-exec, install, uninstall, or all. + (handle_subdirs): Don't push `-recursive' target names onto + corresponding lists. + (do_one_merge_target): Always define `-am' form of rule, and point + ordinary form to `-am' or `-recursive' as appropriate. + Special-case `all'. + (do_check_merge_target): Generate check-am target. + (handle_dist_worker): Use target_defined. + (handle_dist): Likewise. + (handle_merge_targets): Likewise. + (do_one_merge_target): Likewise. + (do_check_merge_target): Likewise. + (do_one_clean_target): Likewise. + (initialize_per_input): Initialize $all_target. + (do_one_clean_target): Always generate -am form of rule; other + changes for new SUBDIRS change. + (handle_clean): Always generate clean-am form of rule. + (handle_tags): Only build subdir if not `.'. + (handle_dist_worker): Skip `.' directory. + * subdirs.am: Allow `.' to be specified in SUBDIRS. + +Sun Sep 27 20:02:21 1998 Tom Tromey + + * automake.texi (Dist): Document EXTRA_DIST change. + * automake.in (handle_dist_worker): Allow subdirs in EXTRA_DIST. + + * automake.in (handle_ltlibraries): Wrote better comment about + EXTRA_LTLIBRARIES. + + * automake.texi (Invoking Automake): Document --copy. + * automake.in (copy_missing): New global. + (parse_arguments): Recognize --copy/-c. + (require_file_internal): Handle $copy_missing. Fixed error + message. + (initialize_global_constants): Document -c/--copy. + + * automake.texi: Document LIBOBJS trick. + + * automake.in (handle_dist_worker): If DIST_SUBDIRS defined, use + it even when SUBDIRS not conditional. + + * automake.in (quote_cond_val): Turn tabs into \003. + (unquote_cond_val): Turn \003 back into tabs. Fixes test + cond6.test. + + * automake.in (read_am_file): Treat backslash-newline as + whitespace. Test parse.test. + +Sat Sep 26 19:31:22 1998 Tom Tromey + + * configure: Rebuilt. + * configure.in: Upped version to 1.3c. + + Track recent autoconf changes: + * m4/Makefile.in: Rebuilt. + * m4/Makefile.am (m4data_DATA): Updated for deleted files. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use AC_PROG_INSTALL. + * m4/mingw.m4: Removed. + * m4/cygwin.m4: Removed. + * m4/install.m4: Removed. + * m4/exeext.m4: Removed. + * automake.in (scan_one_configure_file): Don't look for + AM_EXEEXT. + (check_cygnus): Only mention AC_EXEEXT. + (obsolete_macros): Mention AM_PROG_INSTALL, AM_EXEEXT, + AM_CYGWIN32, AM_MINGW32. + ($seen_prog_install): Changed interpretation; changed all users. + (scan_one_configure_file): Don't look for AM_PROG_INSTALL. + ($scripts_installed): Removed. + (handle_scripts): Use local $scripts_installed. + * aclocal.in (obsolete_macros): Added AM_PROG_INSTALL, AM_EXEEXT, + AM_CYGWIN32, AM_MINGW32. + +Mon Jul 6 14:52:49 1998 Ian Lance Taylor + + * compile.am (mostlyclean-compile): If OBJEXT, remove *.$(OBJEXT) + along with *.o. + +Thu May 28 18:49:47 1998 Ian Lance Taylor + + * automake.in (seen_objext): New variable. + (get_object_extension): If seen_objext, use .$(OBJEXT) rather than + .o. When including compile.am, keep or discard OBJEXT lines + according to whether seen_objext is set. If seen_objext, add .obj + to @suffixes. If seen_objext, use .$(OBJEXT) rather than .o when + building ansi2knr. + (handle_yacc_lex_cxx): If seen_objext, add a rule to create .obj + files. If seen_objext, use .$(OBJEXT) rather than .o when + building ansi2knr. + (scan_one_configure_file): Check for .obj as well as .o in + LIBOBJS. Set seen_exeext if we see AC_EXEEXT. Look for + AC_OBJEXT, and if found set seen_objext and set OBJEXT in + configure_vars. + (check_cygnus): Change error message to permit AC_EXEEXT. + * compile.am: Add OBJEXT lines for .c.obj compilation. + * Makefile.in: Rebuild. + * m4/Makefile.in: Rebuild. + * tests/Makefile.in: Rebuild. + +Mon Sep 11 16:07:55 1997 Chris Provenzano + + * header-vars.am: SHELL=@SHELL@ + Ran aclocal, autoconf, and automake. + +Sat Sep 26 16:31:29 1998 Tom Tromey + + * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA). + +Mon Sep 14 08:27:38 1998 Per Cederqvist + + * automake.in (handle_texinfo): The logic for when to provide + texinfo.tex was broken. Attempt to fix. + +Mon Sep 14 00:55:12 1998 Per Cederqvist + + Fix for Dynix 3.1.1. + * automake.in (handle_yacc_lex_cxx): Transform "# " to "#line"; + some compilers (such as /bin/cc on Dynix 3.1.1) don't accept the + output from the preprocessor. + +Tue Aug 25 18:40:51 1998 Tom Tromey + + * automake.in (handle_tests): Don't create site.exp target if it + is already in Makefile.am. + +Sun Aug 16 23:26:26 1998 Tom Tromey + + * automake.in (handle_configure): Use @inputs, not + @rewritten_inputs, when constructing CONFIG_FILES. Use different + list to test for file existence. Test colon6.test. + (rewrite_inputs_into_dependencies): Added add_srcdir argument. + Updated all callers. + +Wed Aug 12 14:16:57 1998 Tom Tromey + + * Released 1.3b. + +Tue Aug 11 12:18:59 1998 Tom Tromey + + * automake.in (handle_clean): Added missing close-paren. Quote + `$' so it doesn't expand when replacing. From Markus + F.X.J. Oberhumer. + + * aclocal.in (usage): Changed bug address. + * automake.in (usage): Changed bug address. + + * clean.am (distclean-generic): Don't mention + DISTCONFIGCLEANFILES. From Markus F.X.J. Oberhumer. + +Mon Aug 10 20:57:35 1998 Tom Tromey + + * automake.in (handle_yacc_lex_cxx): Redirect ansi2knr output to + correct file. From Kave Ghazi. + +Sun Aug 2 16:05:16 1998 Tom Tromey + + * Released 1.3a. + + * config.sub, config.guess, texinfo.tex: New versions from FSF. + +Sun Jul 19 00:04:25 1998 Tom Tromey + + * automake.in (variable_conditions): Initialize %vars_scanned. + (variable_conditions_sub): Check it. Test cond5.test. + +Sat Jul 18 00:24:14 1998 Tom Tromey + + * automake.in (variable_value_as_list_worker): Renamed from + variable_value_as_list. Set entry in vars_scanned, and give error + if variable recursively defined. Test recurs.test. + (value_to_list): Call it instead. + (variable_value_as_list): New function. + + * automake.in (variable_conditions_sub): If var is not + conditional, but does have conditional subvariables, then return + value should be all permutations of subvariable conditions. Test + cond4.test. + (handle_source_transform): Define _OBJECTS variable with each + condition; no need to define multiple new variables. + +Fri Jul 17 12:56:14 1998 Tom Tromey + + * automake.in (am_install_var): Use DESTDIR, not DATADIR. From + Motoyuki Kasahara. + + * automake.in (scan_dependency_file): Recognize DOS-style paths as + absolute. + * ylwrap: Recognize DOS-style paths as absolute. From Ian Lance + Taylor. + +Fri Jul 17 07:37:20 1998 H.J. Lu (hjl@gnu.org) + + * ylwrap: Don't use absolute path if the input is in the + current directory. + +Fri Jul 17 11:58:27 1998 Ian Lance Taylor + + * automake.in: Use $(AM_MAKEFLAGS) in every invocation of $(MAKE). + * subdirs.am: Likewise. + +Thu Jul 16 18:09:03 1998 Ian Lance Taylor + + * remake.am (config.status): Depend upon + $(CONFIG_STATUS_DEPENDENCIES). + * automake.in (handle_configure): Examine + CONFIG_STATUS_DEPENDENCIES. + +Tue Jul 14 13:37:48 1998 Tom Tromey + + * Makefile.am: Always look in srcdir for automake.in. + +Tue Jun 23 14:00:27 1998 Ian Lance Taylor + + * progs.am: Don't let $(EXEEXT) interfere with $(transform). + Report from Mike Stump . + +Tue Jun 2 13:27:34 1998 Tom Tromey + + * automake.in (scan_one_configure_file): Make CONFIGURE file + handle local. From Kevin Street. + + * automake.in (read_am_file): Error if blank line or comment + follows trailing backslash. Test syntax.test. + (file_contents_with_transform): Likewise. + +Thu May 28 18:49:47 1998 Ian Lance Taylor + + * automake.in (handle_configure): Always use $(SHELL) when running + config.status. + +Mon Jun 1 14:23:29 1998 Tom Tromey + + * automake.in (handle_yacc_lex_cxx): Use AM_CPPFLAGS, AM_CXXFLAGS, + AM_CFLAGS. + (output_yacc_build_rule): Use AM_YFLAGS, AM_LFLAGS. + (handle_dependencies): Don't define CXXMKDEP. + + * clean.am (mostlyclean-generic): Prefix rule with MOSTLYCLEAN. + (clean-generic): Prefix rule with CLEAN. + (distclean-generic): Prefix rule with DISTCLEAN. + (maintainer-clean-generic): Prefix rule with MAINTAINERCLEAN. + BUILT_SOURCES now handled in automake itself. + * automake.in (initialize_per_input): Initialize + maintainer_clean_files. + (handle_yacc_lex_cxx): Put lex and yacc output files onto + @maintainer_clean_files. + (handle_clean): Handle @maintainer_clean_files. Transform + clean.am when installing; try to remove unnecessary tests in + generated code. + + * automake.in (do_check_merge_target): Only generate $(MAKE) + command if there are check targets to make. Report from Karl + Heuer. + +Sun May 17 23:05:55 1998 Tom Tromey + + * aclocal.in (write_aclocal): Fixed generated copyright message. + From Eleftherios Gkioulekas. + + * automake.in (parse_arguments): Typo fix from Paul D. Smith. + +Fri May 8 12:14:03 1998 Tom Tromey + + * automake.in (handle_yacc_lex_cxx): Put lex and yacc output files + onto @clean. + +Wed May 6 01:18:05 1998 Tom Tromey + + * header-vars.am (DESTDIR): Changed from DISTDIR. + +Fri Apr 24 10:16:20 1998 Tom Tromey + + * libs.am: Don't display loop while it runs. + +Sun Apr 5 13:58:24 1998 Tom Tromey + + * Released 1.3. + + * automake.in (handle_options): Correctly handle trailing alpha + version letter or lack thereof. Test version3.test. + + * automake.in (am_conf_line_warning): Perl 4 fixlet; typo fix. + + * automake.in (handle_ltlibraries): Examine _DEPENDENCIES + variable. Report from Chris Provenzano. Test library.test. + (handle_libraries): Likewise. + + * m4/lex.m4: Allow AM_PROG_LEX to be called with no arguments. + +Sun Apr 5 13:54:25 1998 Alexandre Oliva + + * automake.in (scan_one_configure_file): Only warn about + AC_DECL_YYTEXT and AC_PROG_LEXX. + (am_conf_line_warning): New function. + +Fri Apr 3 15:43:46 1998 Doug Evans + + * automake.in (handle_configure): Fix setting of colon_infile + in case where multiple files are used to build Makefile. + [ Test colon5.test ] + +Fri Apr 3 13:07:58 1998 Tom Tromey + + * ansi2knr.c, texinfo.tex: New versions from respective + maintainers. + + * automake.in (scan_one_configure_file): Exclude INSTALL_DATA from + configure_vars. Test instdata.test. + +Tue Mar 31 21:07:42 1998 Tom Tromey + + * automake.in (handle_yacc_lex_cxx): Changed to use new version of + ansi2knr. + * ansi2knr.c: New version from L. Peter Deutsch. + +Thu Mar 26 11:00:04 1998 Tom Tromey + + * m4/exeext.m4: Correctly eliminate bad cases when computing + am_cv_exeext. Report from Markus F.X.J. Oberhumer. + +Wed Mar 25 15:09:56 1998 Tom Tromey + + * automake.in (handle_options): Support alpha version numbers. + + * lisp.am (install-@DIR@LISP): Allow .el files to appear in build + directory. From Gary V Vaughan. + +Mon Mar 23 07:55:04 1998 Tom Tromey + + * Released 1.2h. + + * header.am (install-@DIR@HEADERS): A header can appear in the + build directory as well as the source directory. From Gary V + Vaughan. + + * automake.in (handle_yacc_lex_cxx): Push lib sources onto + de_ansi_files before generating ._c dependencies. Test + libobj8.test. + + * m4/mktime.m4: New version from Jim Meyering. + + * aclocal.in (usage): Document --print-ac-dir. + (parse_arguments): Added --print-ac-dir. + + * ansi2knr.c, ansi2knr.1: New versions from ghostscript. + (main): Reapplied "-" change from Harlan Stenn. + +Fri Mar 20 22:42:30 1998 Tom Tromey + + * automake.in (scan_one_configure_file): Use &am_conf_line_error, + not warn. Check to make sure warnings happen only for + configure.in, not for "not aclocal.m4". + +Fri Mar 20 22:35:31 1998 Alexandre Oliva + + * automake.in: understand AM_PROG_LEX as a replacement for + AC_PROG_LEX and AC_DECL_YYTEXT + warn if the replaced macros are used. + * m4/Makefile.am: add lex.m4 + * m4/lex.m4 (AM_PROG_LEX): new file and macro + * missing: added lex/flex support + instead of touching flex and bison output files, try to copy + them from a filename based on the last given argument + +Fri Mar 20 00:26:10 1998 Tom Tromey + + * m4/protos.m4: Require AC_PROG_CPP. + + * aclocal.in (add_file): If &search fails, and macro matches AM_, + then print error. Test aclocalii.test. + + De-ansi-fication fixes from Harlan Stenn: + * ansi2knr.c (main): Accept "-" argument to mean stdin. + * automake.in (handle_yacc_lex_cxx): Preprocess C source before + running through ANSI2KNR. + (get_object_extension): Generate rule for /ansi2knr.o. + + * texinfos.am: Include $(DESTDIR). + * lisp.am: Include $(DESTDIR). + * java.am: Include $(DESTDIR). + * mans.am (install-man@SECTION@): Include $(DESTDIR). + * automake.in (handle_man_pages): Include $(DESTDIR) in + installdirs variable. + (handle_texinfo): Likewise. + (am_install_var): Likewise. + * header-vars.am (DISTDIR): Define. + * data.am, header.am, libs.am, ltlib.am, progs.am, scripts.am: + Support $(DESTDIR) at install time. From Assar Westerlund. + + * automake.in (handle_java): Put Java sources in distribution. + +Thu Mar 19 01:33:35 1998 Tom Tromey + + * automake.in (handle_java): Put JAVACFLAGS after -d option. From + Per Bothner. + + * automake.in (handle_java): Use $(JAVAROOT) in place of `../..' + in default CLASSPATH. + (am_install_var): Allow `JAVA' variable to be defined. Don't + define `JAVA' primary. + + * automake.in (scan_one_configure_file): Check for `sinclude' and + turn into recursive call. + + * automake.in (initialize_per_input): Set $output_all. + (generate_makefile): Don't set $output_header or generate + `default' target. Print $output_all before $output_header. + (handle_merge_targets): Put `all' target into $output_all. + +Wed Mar 18 14:48:44 1998 Tom Tromey + + * automake.in (handle_configure): Put secondary dependencies from + multi-":" AC_OUTPUT entry into dependency list for file created by + config.status, not file created by automake. Test colon3.test. + (generate_makefile): Pass $output, not $makefile, to + handle_merge_targets. + + * Makefile.am (pkgdata_DATA): Added java.am, java-clean.am. + * java-clean.am: New file. + * java.am: New file. + * automake.in (generate_makefile): Call handle_java. + (handle_java): New sub. + (am_install_var): Only push primary variable on @all if not doing + Java. + +Sun Mar 8 15:43:09 1998 Tom Tromey + + * automake.in (handle_configure): When recognizing AC_OUTPUT ":" + syntax, make regexp less greedy. From Maciej W. Rozycki. Test + colon4.test. + +Fri Mar 6 21:20:53 1998 Tom Tromey + + * m4/exeext.m4 (AM_EXEEXT): Ignore am_c_test.o. From Bruno + Haible. + +Tue Feb 24 12:10:44 1998 Tom Tromey + + * Released 1.2f. + + * mans.am (install-man@SECTION@, uninstall-man@SECTION@): Quote + `$' in sed expression. + + * config.guess, config.sub, texinfo.tex: New versions from FSF. + + * Makefile.am (pkgdata_DATA): Added mans.am. + * automake.in (handle_man_pages): Rewrote for new man page + handling. + (initialize_global_constants): Removed install_man_format, + uninstall_man_format. + * mans.am: New file. + + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, + scripts.am, texinfos.am: Put `@' before NORMAL_UNINSTALL + invocation. + +Mon Feb 23 13:38:56 1998 Tom Tromey + + * automake.in (get_object_extension): Remove .c.lo rule from + libtool when dependencies turned on. + * libtool.am (.c.lo): Disable when dependency checking turned on. + + Dependency fixes from Alexandre Oliva: + * automake.in (handle_dependencies): Fixed quoting when + substituting @PFX@ and @EXT@. Don't look for the `.P' file. + * depend2.am (%.o): Use @PFX@ and @EXT@. + (%.lo): New rule. + + * texinfos.am (.txi.info, .txi.dvi, .txi): New rules. + * automake.in (handle_texinfo): Recognize .txi files. From Karl + Berry. + + * automake.in (handle_single_transform_list): $objpat now a + parameter. Set $objpat when suffix rule found. + + * aclocal.in (parse_arguments): Only put current year in --version + output. + * automake.in (parse_arguments): Only put current year in + --version output. + +Mon Feb 16 00:12:03 1998 Tom Tromey + + * automake.in (handle_aclocal_m4): When processing -I options, + directory is separate argument. Test aclocali.test. + +Fri Feb 13 14:35:39 1998 Ian Lance Taylor + + * automake.in (handle_texinfo): Correct condition for whether + texinfo.tex is required. [Test texinfo5.test] + +Fri Feb 13 00:28:53 1998 Tom Tromey + + * Released 1.2e. + + * Makefile.am: Removed bogus line. + +Thu Feb 12 22:27:05 1998 Tom Tromey + + * automake.in (get_object_extension): Conditionally include .c.o + rule from compile.am. + (handle_dependencies): Generate correct code when including new + depend2.am. + (file_contents_with_transform): Better error reporting. + * depend.am (MKDEP): Removed. + (.deps/.P): Removed. Don't include .deps/.P. + * compile.am (.c.o): Now conditional on dependencies not being + generated by compiles. + * depend2.am (%.o): New rule. + (.deps/%.P): Removed. + + * tags.am (TAGS): Uniquify list of files. From Harlan Stenn. + + * aclocal.in (scan_m4_files): Reverse-sort keys when constructing + `search' function. From Johan Danielsson. + +Tue Sep 16 14:13:15 1997 Paul D. Smith + + * automake.in: Create new option --generate-deps. This option has + automake generate a .dep_segment file containing just the + dependencies created from the .P list. This is needed to maintain + other makefiles that automake doesn't deal with (Makefile.DOS, + SMakefile, etc.) + * automake.texi (Invoking Automake): Document it. + +Thu Feb 12 19:45:16 1998 Tom Tromey + + * aclocal.in (scan_configure): Tightened regexp a bit. Test + whoami.test. From Johan Danielsson. + + Report from H.J. Lu. + * automake.in (output_yacc_build_rule): Don't write rule to create + `.h' file. + (handle_yacc_lex_cxx): Generate rule to build each .h file. + + * automake.in (handle_options): Set readme-alpha and check-news + for Gnits after main processing. Test alpha.test. From Jim + Meyering. + + * aclocal.in (usage): Updated bug-reporting address. + * automake.in (usage): Updated bug-reporting address. + + * compile.am: Remove *.core for 4.4BSD systems. From Assar + Westerlund. + + * automake.in (handle_single_transform_list): Don't set + seen_any_source if all sources are C++. + +Wed Feb 11 17:30:01 1998 Tom Tromey + + * aclocal.in (write_aclocal): Write to $output_file, not + aclocal.m4. From Alexandre Oliva. + +Thu Feb 5 13:38:55 1998 Tom Tromey + + * automake.in (scan_one_configure_file): Put CXCPP before CXX in + regexp. From Garth Corral. Test cxxxcpp.test. + +Sun Jan 25 11:16:53 1998 Tom Tromey + + * automake.in (generate_makefile): Run handle_minor_options before + handle_dist, to make sure README-alpha ends up in distribution. + From Jim Meyering. + +Tue Jan 13 09:19:33 1998 Tom Tromey + + * aclocal.in (add_file): Hack for Perl 4. From Seth Alves. + +Thu Dec 11 12:29:46 1997 Ian Lance Taylor + + * scripts.am: Don't add @EXEEXT@ to installed scripts. Scripts + are not executables. + +Tue Dec 2 20:07:18 1997 Tom Tromey + + * automake.in (initialize_global_constants): Bug fix in + uninstall_man_format. Report from Eric Backus. + +Mon Dec 1 13:52:39 1997 Tom Tromey + + * automake.in (handle_source_transform): Correctly generate + _OBJECTS when _SOURCES is defined conditionally. Reported by Rob + Savoye. Test cond3.test. + + Fixes for test objc.test: + * automake.in (initialize_per_input): New global seen_any_source. + (handle_yacc_lex_cxx): Use seen_any_source to decide when to + define LINK, et al. + (handle_single_transform_list): Set seen_any_source. + (handle_lib_objects_cond): Likewise. + +Wed Nov 26 13:41:57 1997 Tom Tromey + + * Released 1.2d. + + * m4/ccstdc.m4: Don't force AM_PROG_CC_STDC before AC_PROG_CPP. + Temporary hack. + + * m4/mktime.m4 (AM_FUNC_MTIME): New version from Paul Eggert. + + * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL, + NORMAL_UNINSTALL, PRE_UNINSTALL, POST_UNINSTALL): Define as `:', + not `true'. + + * automake.in (output_yacc_build_rule): Don't overwrite .h file in + non-ylwrap case. + + * tags.am (ID): Scan lisp files. + (TAGS): Make tags for lisp files. + +Tue Nov 25 14:20:42 1997 Tom Tromey + + * ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM. From Gord + Matzigkeit. + +Fri Nov 21 15:15:50 1997 Tom Tromey + + * m4/mingw.m4, m4/cygwin.m4: Argument to AC_TRY_COMPILE is + function body, not entire function. From Ian Taylor. + +Sat Oct 25 12:39:19 1997 Tom Tromey + + * automake.in (scan_one_configure_file): Skip empty string for + Perl 4. From Assar Westerlund. + + * config.guess, config.sub, texinfo.tex: New versions from FSF. + +Fri Oct 24 23:15:09 1997 Tom Tromey + + * automake.in (output_yacc_build_rule): Use YFLAGS again. + (handle_yacc_lex_cxx): Error if YACCFLAGS used. + +Wed Aug 27 19:26:45 1997 Rob Savoye + + * compile.am: Add suffix rules for ".s.o" and ".S.o" so assembler + files can be used. + * libtool.am: Add suffix rules for ".s.lo" and ".S.lo" so assembler + files can be used. + * automake.in: Add .S and .s to the standard list of suffixes so + assembler files can be used. + +Fri Oct 24 13:39:01 1997 Tom Tromey + + * m4/exeext.m4: Require AM_MINGW32. Check MINGW32 setting. + +Thu Oct 23 21:16:28 1997 Tom Tromey + + * m4/init.m4 (missing_dir): AC_REQUIRE AM_SANITY_CHECK, + AC_ARG_PROGRAM, and AC_PROG_MAKE_SET. + +Tue Oct 21 16:49:36 1997 Tom Tromey + + * automake.in (handle_options): Recognize `cygnus'. + +Tue Sep 9 17:09:47 1997 Rob Savoye + + * m4/mingw.m4: New file for mingw32 support. + * m4/exeext.m4: Also check for the mingw32 environment. + +Tue Oct 21 00:39:44 1997 Tom Tromey + + * m4/Makefile.am (m4data_DATA): Added mingw.m4. + + * automake.in (handle_lib_objects_cond): Don't require @LEXLIB@. + (handle_programs): Likewise. + + * subdirs.am (check-recursive installcheck-recursive + info-recursive dvi-recursive): Handle case when SUBDIRS is empty. + (maintainer-clean-recursive): Likewise. From Assar Westerlund. + + * aclocal.in (scan_m4_files): If macro recognized, &search will + return 1. + (scan_configure): If AM_ macro not found, give error. + + * m4/sanity.m4: If `ls' completely fails, die. From Jim + Meyering. + +Mon Oct 20 16:13:48 1997 Tom Tromey + + * automake.in (handle_single_transform_list): Fixlet for Fortran. + From Bernard Urban. + + * libtool.am: Remove _libs, for libtool 1.0d. From Gord + Matzigkeit. + +Sun Oct 19 22:59:35 1997 Tom Tromey + + * texinfos.am: Bug fix. From John W. Coomes. + +Mon Sep 29 12:57:00 1997 Tom Tromey + + * Released 1.2c. + + * automake.in (handle_dist_worker): In topmost directory of + project, use `distdir', not `top_distdir', as argument to + --output-dir; likewise when building in subdirs. + +Sun Sep 28 15:55:46 1997 Tom Tromey + + * m4/sanity.m4: Test $*, not $@. From Akim Demaille. + + * automake.in (handle_minor_options): New sub. + (check_gnits_standards): Don't handle README-alpha here. + (handle_dist_worker): Check NEWS file if `check-news' option + requested. + (generate_makefile): Run handle_minor_options. + (handle_options): Handle readme-alpha and check-news. Set them if + --gnits. + + * depend.am (MKDEP): Use $(CC), not gcc. + +Wed Sep 24 23:48:26 1997 Tom Tromey + + * Release 1.2b. + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Make sure this is run before + AC_PROG_CPP. From Markus Oberhumer. + +Fri Sep 12 00:04:19 1997 Paul Eggert + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Don't look at __STDC__; + look only at whether function prototypes are supported. + +Wed Sep 24 16:10:37 1997 Tom Tromey + + * Various: Put "-" before each `rm' line. This avoids a bug in + some losing makes (Ultrix, 4.3 BSD). + + * automake.in (handle_dist_worker): Correctly handle subdirs that + have their own configure.in. From Peter Mattis. + + * automake.in (handle_yacc_lex_cxx): Handle de-ansi-fied sources + in srcdir as well as build dir. + + * automake.in (scan_one_configure_file): Detect AC_OUTPUT(). + (handle_single_transform_list): Don't apply length() to a list. + + * automake.in (handle_programs): Define _DEPENDENCIES variable if + not defined by user. + +Thu Sep 18 19:43:38 1997 Tom Tromey + + * m4/sanity.m4: Quote "$@" for m4. From Gord Matzigkeit. + +Mon Sep 1 23:50:38 1997 Tom Tromey + + * automake.in (handle_texinfo): Set need_texi_file only when + TEXINFO_TEX not defined. + +Thu Aug 28 09:37:29 1997 Tom Tromey + + From Juergen Erhard: + * automake.in (SUFFIX_RULE_PATTERN): New global. + (handle_single_transform_list): If suffix matches a source suffix, + rewrite. + (read_am_file): Add suffix rules to %suffix_rules. + (initialize_per_input): Initialize %suffix_rules. + +Wed Aug 27 12:56:50 1997 Tom Tromey + + * automake.in (handle_texinfo): Also remove .kys and .ps files. + + * automake.in (handle_yacc_lex_cxx): Quoting fixlet. From Kaveh + Ghazi. + + * aclocal.in (write_aclocal): Print copyright and copying + permissions. From RMS. + * automake.in (initialize_global_constants): More copyright stuff + from RMS. + + * automake.in (handle_texinfo): Only require texinfo.tex in + appropriate situations. Report from Paul D. Smith. + +Mon Aug 25 15:45:52 1997 Tom Tromey + + * automake.in (scan_dependency_file): Fix so that + OMIT_DEPENDENCIES will work. From Alexander Lukyanov. + + * automake.in (handle_texinfo): texi2dvi can generate `.cn' + files. From Akim Demaille. + +Wed Aug 6 10:51:37 1997 Tom Tromey + + * automake.in (handle_texinfo): Reversed sense of test. + +Tue Aug 5 17:49:54 1997 Tom Tromey + + * automake.in (handle_dependencies): Always mark OMIT_DEPENDENCIES + as seen. + + * automake.in (handle_yacc_lex_cxx): Make each _.c file depend on + ansi2knr. + + * automake.in (handle_yacc_lex_cxx): Fix for makes which don't + allow $< in non-suffix rules. From Akim Demaille. + + * automake.in (value_to_list): If variable name contains configure + substitution, then just ignore it. + + * automake.in (variable_defined): Mark variable is seen, even if + only conditionally seen. + + * Makefile.am: Check for bad splits. + * automake.in (various): Use split(' ',...), not split(/ /,...). + +Tue Aug 5 14:08:51 1997 Ian Lance Taylor + + * ylwrap: If the program is a relative path, force it to be + absolute. + +Tue Aug 5 16:59:41 1997 Tom Tromey + + * missing: Examine A[CM]_CONFIG_HEADER for name of files to + touch. From Markus F.X.J. Oberhumer. + + * automake.in (require_file_internal): Better error message when + installing. + + * automake.in (handle_texinfo): Smarter test when deleting output + of makeinfo. + +Sat Aug 2 13:32:45 1997 Tom Tromey + + * automake.in (do_check_merge_target): In --cygnus mode, check + doesn't depend on all. + + * automake.in (output_yacc_build_rule): Use YACCFLAGS, not + YFLAGS. Per GNU Standards. + + * dejagnu.am (RUNTESTDEFAULTFLAGS): New macro. + (check-DEJAGNU): Use it. + + * subdirs.am (maintainer-clean-recursive): Actually reverse subdir + list. From Alexander Lukyanov. + + * automake.in (initialize_global_constants): Changed generated + copyright. From RMS. + + * automake.in (handle_configure): Pass correct value for + CONFIG_FILES. From Ian Taylor. + +Thu Jul 31 17:36:10 1997 Ian Lance Taylor + + * ylwrap (pairlist): Shift out trailing "--"; don't pass it to + $prog. + +Thu Jul 24 00:52:02 1997 Tom Tromey + + * automake.in (initialize_global_constants): Changed index names + in dist hash so that alternate dist targets will be generated. + Report from Glenn Amerine. + + Suggestion from Karl Berry: + * automake.in (usage): Added short info line. + + * aclocal.in (usage): Updated bug-reporting address. Added short + info line. + + * automake.in (handle_emacs_lisp): Put contents of lisp-clean.am + into output. Report from Karl Berry. + +Mon Aug 25 16:14:32 1997 Tom Tromey + + * automake.in (handle_configure): Only generate ":" syntax for + CONFIG_FILES when really needed. + +Wed Aug 6 14:47:12 1997 Ian Lance Taylor + + * remake-hdr.am (@CONFIG_HEADER@): Use a dummy command to force + GNU make to recheck the file modification time. + +Tue Aug 5 14:44:10 1997 Ian Lance Taylor + + * ylwrap: If the program is a relative path, force it to be + absolute. + +Mon Aug 4 14:52:08 1997 Ian Lance Taylor + + * automake.in ($RULE_PATTERN): Accept $ in body of rule name. + (handle_programs): Don't append $(EXEEXT) if the + program name contains '.'. + (am_install_var): When rewriting _PROGRAMS, don't append $(EXEEXT) + if the program names contains '.'. Also, handle conditionals. + +Sat Aug 2 14:43:41 1997 Tom Tromey + + * m4/exeext.m4: Fixed quoting. + + * m4/exeext.m4 (am_cv_exeext): Use echo, not ls. + + * automake.in (handle_programs): Transform @EXEEXT@ when including + program.am. + +Fri Aug 1 17:09:09 1997 Tom Tromey + + * automake.in (handle_programs): Don't transform CYGWIN or + NOTCYGWIN. + (am_install_var): Likewise. + + * progs-clean.am (clean-@DIR@PROGRAMS): Never include EXEEXT. + + * progs.am: Removed @EXEEXT@; it is now implicit. + * program.am: Add @EXEEXT@ in appropriate places; removed + cygwin-dependent code. + * automake.in (seen_exeext): Renamed from seen_cygwin32. + (handle_programs): Use seen_exeext. + (scan_one_configure_file): Look for AM_EXEEXT, not AM_CYGWIN32. + (check_cygnus): Use seen_exeext. + (am_install_var): Likewise. + (am_install_var): When handling PROGRAMS primary, append EXELIST + to program names as necessary. + * m4/exeext.m4: Require AM_CYGWIN32. + +Thu Jul 31 17:36:10 1997 Ian Lance Taylor + + * ylwrap (pairlist): Shift out trailing "--"; don't pass it to + $prog. + + * texinfos.am: Add -I $(srcdir) when invoking $(MAKEINFO) for + CYGNUS .texinfo.info case and .texinfo case. + + * automake.in (handle_configure): Correct handling of inputs for + for AC_OUTPUT files when invoking config.status. + +Mon Jul 28 15:29:25 1997 Rob Savoye + + * m4/cygwin.m4: Set a variable CYGWIN32, rather than EXEEXT. + * m4/exeext.m4: New autoconf test for an executable suffix. + * m4/Makefile.in: Install the new exeext.m4 test. + +Sun Jun 22 14:01:59 1997 Tom Tromey + + * Released version 1.2. + + * automake.in (handle_texinfo): Look for texinfo.tex in aux dir. + + * automake.in (require_file_internal): Only print "installing" + when actually installing. From Gord Matzigkeit. + + * automake.in (handle_tests): Exit status `77' means `ignore + test'. From François Pinard. + (handle_tests) Also, make banner same size as text. + + * automake.in (handle_configure): Don't handle PRE_BUILT_SOURCES. + (handle_built_sources): Likewise; don't have `all' depend on + BUILT_SOURCES. + + * depend.am (DEPS_MAGIC): New variable. + (.deps/.P): Depend on BUILT_SOURCES again. + + * texinfos.am: Use ||, not ;. + +Tue Jun 10 11:04:16 1997 Tom Tromey + + * m4/cygwin.m4: Examine output of compiler to see if .exe needed. + +Sun Jun 1 13:16:05 1997 Tom Tromey + + * automake.in (handle_built_sources): Handle PRE_BUILT_SOURCES. + (handle_configure): Likewise. + + * depend2.am (.deps/%.P): Don't generate file if MKDEP fails. + From Alexandre Oliva. + + * depend.am (.deps/.P): Depend on PRE_BUILT_SOURCES, not + BUILT_SOURCES. + + * automake.in (initialize_global_constants): Added 1997 to + copyright info. + + * automake.in (output_yacc_build_rule): Never move y.tab.c over + the .h file. From Jim Meyering. + +Thu May 29 23:16:02 1997 Tom Tromey + + * automake.in (scan_one_configure_file): Avoid defining ACLOCAL, + AUTOCONF, AUTOMAKE, AUTOHEADER. From David Zaroski. + +Sat Feb 22 16:05:24 1997 Gordon Matzigkeit + + * Makefile.am (pkgdata_DATA): Under this new scheme, we no longer + need compile-kr.am. Delete it. + + * automake.in (handle_yacc_lex_cxx, get_object_extension): Use + _.c, _.o, _.lo instead of ._c, ._o, .l_o for de-ansification. + + * ansi2knr.c (main): Parse our arguments a little differently so + that we don't create null output files when we can't read the + input file. + +Wed May 28 23:40:33 1997 Tom Tromey + + * depend.am (.deps/.P): Depend on $(BUILT_SOURCES) again. From + Gord Matzigkeit. + +Mon May 26 22:50:49 1997 Tom Tromey + + * remake-hdr.am ($(srcdir)/@STAMP@.in): Make echo silent. Report + from Alexandre Oliva. + + * automake.in (generate_makefile): If --no-force, check + Makefile.in against configure.in and aclocal.m4. Report from + Alexandre Oliva. + + * automake.in (handle_dist_worker): Put --include-deps on command + line if specified originally. + (handle_configure): Likewise. + + * configure.in: Error if Perl 5.001 is used. + + * ylwrap: Don't quote $prog when executing it. From Jim + Meyering. + +Thu May 15 12:05:20 1997 Tom Tromey + + * automake.in (handle_merge_targets): Set INSTALL_SCRIPT in + install-strip target. + +Tue May 13 08:20:02 1997 Tom Tromey + + * automake.in (handle_dependencies): Don't generate dependencies + if DEP_FILES would be empty. + +Sun May 11 13:59:14 1997 Tom Tromey + + * config.guess: New version from FSF. + + * automake.in (get_object_extension): If ansi2knr in another + directory, always define ANSI2KNR to full path. From Akim + Demaille. + + * kr-extra.am (clean-krextra): Remove ansi2knr here, not in + distclean-krextra. + + * missing: Regularized grammar. From François Pinard. + +Sat May 10 16:48:47 1997 Tom Tromey + + * Released 1.1p. + + * m4/init.m4: Error if source directory already configured. + + * automake.in (scan_dependency_file): Always use srcdir name as + passed in on command line. + +Thu May 1 12:53:46 1997 Ian Lance Taylor + + * automake.in (value_to_list): Don't fail when a variable + substitution is not a complete word. + +Tue May 6 15:22:41 1997 Ian Lance Taylor + + * subdirs.am: Fix check for make -k to use $(MAKEFLAGS) and to not + get fooled by command line arguments. + +Sat May 10 15:48:46 1997 Tom Tromey + + * m4/ccstdc.m4: Print "none needed" if compiler accepts ANSI C by + default. + +Mon May 5 23:24:09 1997 Tom Tromey + + * mkinstalldirs, config.guess, config.sub, COPYING, texinfo.tex: + New versions from FSF. + +Sun May 4 15:21:22 1997 Tom Tromey + + * texinfos.am (install-info): Avoid the Debian install-info. + (uninstall-info): Likewise. + + * automake.in (handle_single_transform_list): Strip any directory + name before processing name. + +Thu May 1 19:24:08 1997 Tom Tromey + + * depend2.am (.deps/%.P): Don't put $(srcdir)/ into dependency. + +Wed Apr 30 19:15:47 1997 Tom Tromey + + * automake.in (handle_dist_worker): Change how top_distdir is + computed. Based on patch from Ian Taylor. + (handle_dist): Define top_distdir. + + * automake.in (handle_yacc_lex_cxx): Include CXXFLAGS in CXXLINK. + (handle_yacc_lex_cxx): Include CFLAGS in LINK. + +Wed Apr 30 14:46:37 1997 Ian Lance Taylor + + * automake.in (handle_dist_worker): When building a distribution, + if SUBDIRS is defined conditionaly, recur into each possible + subdirectory. + + * clean.am (distclean-generic): Remove stamp-h[0-9]*. + +Tue Apr 29 19:11:45 1997 Tom Tromey + + * INSTALL, mkinstalldirs, install-sh: Update from François + Pinard. + + * aclocal.in (add_macro): If AC_ macro was defined, then mark it + as seen. Report from Janos Farkas. + + * subdirs.am: Clean targets now run in reverse order. From Kevin + Dalley. + + * automake.in (handle_texinfo): Put `aminfo', not `info' on + @clean. + + * mdate-sh: New version from Ulrich Drepper. + +Mon Apr 28 01:18:05 1997 Tom Tromey + + * automake.in (handle_configure): Makefile only depends on + BUILT_SOURCES when generating dependencies. + + * Released 1.1o. + +Sun Apr 27 23:58:20 1997 Tom Tromey + + * automake.in (handle_dist): Use variable_value, not + variable_contents. + +Wed Apr 23 14:04:28 1997 Ian Lance Taylor + + * automake.in (IF_PATTERN): Define. + (ELSE_PATTERN, ENDIF_PATTERN): Define. + (AM_CONDITIONAL_PATTERN): Define. + (%configure_cond): New global hash table. + (handle_source_transform): If xx_SOURCES is defined conditionally, + define xx_OBJECTS using the same conditions. + (handle_lib_objects): If variable is defined conditionally, define + xx_DEPENDENCIES conditionally. Most code moved into subroutine. + (handle_lib_objects_cond): New function, broken out of + handle_lib_objects. + (scan_one_configure_file): Look for $AM_CONDITIONAL_PATTERN. + (conditional_true_when): New function. + (variable_defined): Add new parameter: cond. Change some + callers. + (variable_conditions): New function. + (variable_conditionally_defined): New function. + (variable_value): New function. Change most uses of $contents to + call variable_value instead. + (value_to_list): New function, from variable_value_as_list. + (variable_value_as_list): Add new parameter: cond. Change all + callers. Move some code into subroutine value_to_list. + (define_pretty_variable): Add new parameter: cond. Change call + callers. + (read_am_file): Handle conditionals. + (initialize_per_input): Initialize %conditional and + @conditional_stack. + * m4/cond.m4: New file. + * m4/Makefile.am (m4data_DATA): Add cond.m4. + +Sun Apr 27 11:03:36 1997 Tom Tromey + + * automake.in (handle_dist_worker): Run automake once per + directory, instead of once at the top. + (handle_dist_worker): Changed interface. + (handle_dist): Likewise. + (generate_makefile): Better error message if can't write the + file. + (handle_dist_worker): Pass top_distdir to subdir makes. + + * automake.in (handle_dist_worker): Use mode 777 on directories in + distribution. GNU Standards compliance. + + * automake.in (handle_yacc_lex_cxx): Don't use interlock. + (output_yacc_build_rule): Don't use interlock; just use new ylwrap + instead. The new ylwrap builds in a subdir; idea from Mark + Eichin. + (output_lex_build_rule): Likewise. + (initialize_global_constants): [common_files] Don't include + interlock. + + * Makefile.am (pkgdata_SCRIPTS): Removed interlock. + * interlock: Removed. + * ylwrap: Changed interface. Now runs command in subdir. + + * remake.am (config.status): Look in srcdir for config header. + ($(srcdir)/configure): Likewise. + * remake-hdr.am (@STAMP@): Look in srcdir for config header. From + Phil Nelson. + ($(srcdir)/@CONFIG_HEADER_IN@): Likewise. + + * automake.in (handle_aclocal_m4): Make target $(ACLOCAL_M4), not + value spelled out. From Phil Nelson + + * automake.in (handle_configure): Don't skip Makefiles; instead + skip automake inputs. + (handle_merge_targets): Changed interface; put $makefile at + beginning of @all (rather than Makefile at end). + + * automake.in (handle_yacc_lex_cxx): Correctly compute + de_ansi_sources. + + * clean-kr.am (distclean-kr): Do nothing; ansi2knr is removed in + kr-extra.am. + + * Makefile.am: Check to make sure there are no accidental + configure substitutions. + + * automake.in (handle_texinfo): Don't allow configure substitution + on @MAKEINFO@ here. + + * automake.in (handle_yacc_lex_cxx): ._c and ._o files both depend + on $(ANSI2KNR). + + * kr-extra.am (ansi2knr): Removed. + (ansi2knr.o): Likewise. + + * automake.in (get_object_extension): Allow ansi2knr to be built + from any directory. + +Fri Apr 25 12:33:23 1997 Tom Tromey + + * missing: Changed bison text. From Ian Taylor. + + * m4/missing.m4: Redirect stdin of testee. From Bill Fenner. + + * automake.in (output_yacc_build_rule): Generate rule to create .h + file. + (handle_footer): Generate unique, sorted list of suffixes. + + * automake.in (scan_one_configure_file): Recognize AC_PROG_AWK, + _CPP, _CXCPP, _LN_S. From Ralph Schleicher. + +Mon Apr 21 12:35:57 1997 Ian Lance Taylor + + * automake.in (@config_fullnames): New array. + (@config_names): New array, replacing $config_name. + (@config_headers): New array, replacing $config_header. + (get_object_extension): Handle multiple header files. + (handle_tags, handle_merge_targets): Likewise. + (scan_one_configure_file): Likewise. + (handle_configure): Likewise. Don't check for the configuration + header file in AC_OUTPUT; it won't be there. + * remake-hdr.am: Handle multiple header files. + * clean-hdr.am: New file, broken out of remake-hdr.am. + * m4/header.m4: Handle multiple header files. + * Makefile.am (pkgdata_DATA): Add clean-hdr.am. + +Wed Apr 16 00:05:47 1997 Tom Tromey + + * texinfos.am (.texi.info, .texi, .texinfo.info, .info): Remove + + * automake.in (define_program_variable): Added `override' argument. + (handle_texinfo): Pass override arg when defining MAKEINFO. + (AC_MISSING_PROG): New constant. + (scan_one_configure_file): Use it. + +Tue Apr 15 12:12:28 1997 Tom Tromey + + * automake.in (handle_texinfo): In --cygnus mode, reserve + clean-info for the user. + + * automake.in (handle_subdirs): Typo fix. From Akim Demaille. + + * automake.in (handle_tags): Only use SUBDIRS if it is actually + defined. Report from Ian Taylor. + + * tags.am: Added prefix to SUBDIRS rules. + +Wed Apr 9 17:09:40 1997 Tom Tromey + + * automake.in (handle_ltlibraries): Use correct rpath + substitution. Bug from Jim Blandy. + +Mon Apr 7 17:40:18 1997 Tom Tromey + + * automake.in (AM_INIT_AUTOMAKE_PATTERN): Fixed for new 3rd arg. + Test version2.test. + +Thu Apr 3 19:07:59 1997 Tom Tromey + + * Released 1.1n. + + * tags.am (TAGS): Run "cd && etags" in subshell for proper + associativity. + + * texinfos.am (install-info-am): If --cygnus, then info file can + be in build dir. From David Zaroski. + + * ltlibrary.am (@LTLIBRARY@): use @RPATH@, not explicit -rpath. + + * automake.in (handle_ltlibraries): Treat EXTRA_ libraries + specially. + +Wed Apr 2 00:03:50 1997 Tom Tromey + + * automake.in (handle_source_transform): Don't generate dependency + on config.h. + (scan_dependency_file): Strip the .P file from the target. + + * automake.in (handle_tags): Use single, not double, quotes when + setting list variable. + + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs-clean.am, + progs.am, scripts.am, tags.am: Use single quotes to fill list + variable; otherwise `$' in filename will not work. From Per + Bothner. + + * mdate-sh: Use "ls -d" so mdate-sh can be run on a directory. + From Bruno Haible. + + * automake.in (handle_programs): Error if LIBADD used where LDADD + meant. + (handle_libraries): Error if LDADD used where LIBADD meant. + (handle_ltlibraries): Likewise. + +Tue Apr 1 22:46:33 1997 Tom Tromey + + * automake.in (check_canonical_spelling): New sub. + (handle_programs): Use it. + (handle_libraries): Likewise. + (handle_ltlibraries): Likewise. + +Mon Mar 31 12:13:08 1997 Tom Tromey + + * depend2.am (.deps/%.P): Make .P file depend on everything the .c + file includes. + +Fri Mar 28 23:34:49 1997 Tom Tromey + + * automake.in (handle_configure): Error if stamp-h appears in + AC_OUTPUT line. + +Thu Mar 27 17:28:47 1997 Tom Tromey + + * automake.in (handle_dist_worker): Avoid automake rules in + generated Makefile when no-dependencies specified. From Greg + Woods. + + * m4/lispdir.m4: Don't AC_SUBST ELCFILES. From Greg Woods. + + * texi-vers.am (stamp-@VTI@): Make commands silent. + + * Makefile.am (maintainer-check): "true" is ok now. + + * m4/init.m4: Added optional 3rd argument, which avoids + AC_DEFINE. + + * automake.in (scan_one_configure_file): Explicitly avoid + INSTALL_SCRIPT to avoid defining it twice. + + * header-vars.am: Change _INSTALL variable definitions to `true'. + Updated all users to put `@' before invocation. + +Tue Mar 25 22:09:45 1997 Tom Tromey + + Update to follow GNU Standards: + * automake.in (handle_man_pages): Use NORMAL_UNINSTALL before + uninstall-man. + * texinfos.am (uninstall-info): Use two loops, and have + PRE_UNINSTALL before running install-info. + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, + scripts.am, texinfos.am: Use NORMAL_UNINSTALL. + * header-vars.am (PRE_UNINSTALL, POST_UNINSTALL, + NORMAL_UNINSTALL): Define. + + * automake.in (scan_one_configure_file): Don't define ANSI2KNR as + a configure varriable. + + * m4/missing.m4: Run test in a subshell. From Gord Matzigkeit. + +Mon Mar 24 23:28:59 1997 Tom Tromey + + * m4/sanity.m4: Sleep before creating temp file. + + * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL): + Define. + +Sat Mar 22 00:06:00 1997 Tom Tromey + + * automake.in (am_install_var): Make sure to delete + CYGWIN/NOTCYGWIN tokens as appropriate. + (handle_programs): Remove NOTCYGWIN tokens as well. + (file_contents_with_transform): A single newline makes an empty + line. + + * program.am: Remove executable before linking. + + * texinfos.am (.texi.dvi): Look in @TEXINFODIR@ for texinfo.tex. + (.texinfo.dvi): Likewise. + + * automake.in (handle_texinfo): TEXINFO_TEX variable can set + location of texinfo.tex. + +Fri Mar 21 10:22:51 1997 Tom Tromey + + * texinfos.am (.texinfo.dvi): Mirror .texi.dvi. + + * ansi2knr.c, ansi2knr.1: New versions from L. Peter Deutsch. + + * scripts.am: Add @EXEEXT@ to installed scripts. + +Wed Jan 22 20:12:31 1997 Jim Meyering + + * m4/mktime.m4 (AM_FUNC_MKTIME): Run tests for each of a few values + for the TZ environment variable. Andre Novaes Cunha provided the + hairy TZ setting that exercized the Solaris tzset bug. + +1997-01-22 Paul Eggert + + * m4/mktime.m4: (AM_FUNC_MKTIME): Fix bug in mktime test -- don't + test now, test a couple of thousand times. + +Thu Mar 20 00:16:54 1997 Tom Tromey + + * automake.in (handle_programs): Remove CYGWIN lines unless + AM_CYGWIN32 seen. + (am_install_var): Remove CYGWIN lines from -clean file as well. + + * progs.am: Put @EXEEXT@ where appropriate. + + * program.am (@PROGRAM@): If using Cygwin32, then create actual + name in addition to ".exe" name. + + * progs-clean.am (clean-@DIR@PROGRAMS): Conditionalize on CYGWIN. + + * automake.in (check_cygnus): Require AM_CYGWIN32 in --cygnus mode. + (am_install_var): If AM_CYGWIN32 not seen, then remove @EXEEXT@ + from .am files. + + * automake.in (seen_cygwin32): New global. + (scan_one_configure_file): Check for AM_CYGWIN32. + + * m4/cygwin.m4: New file. + + * automake.in (scan_one_configure_file): Explicitly handle + AC_CONFIG_HEADER so we can avoid spurious warnings. + (obsolete_macros): Removed AC_CONFIG_HEADER. + + * automake.in (handle_yacc_lex_cxx): Perl 4 fixes. From Greg + A. Woods. + +Wed Mar 19 00:35:13 1997 Tom Tromey + + * Released 1.1m. + + * m4/missing.m4: Print message saying what is happening. + + * m4/sanity.m4: sleep before testing. + +Tue Mar 18 17:20:03 1997 Tom Tromey + + * config.guess, config.sub: New from the FSF. + + * automake.in (initialize_global_constants): [common_files] + Include `missing'. + (scan_configure): Require `missing'. + + * header-vars.am (MAKEINFO): Don't define. + + * m4/init.m4 (missing_dir): Use AM_MISSING_PROG. + * m4/missing.m4: New file. + + `missing' changes from François Pinard: + * Everywhere: Use ACLOCAL_M4 to name aclocal.m4 file; ACLOCAL now + names aclocal program. + * m4/init.m4: Replace programs with `missing' if not found. + * automake.in (handle_texinfo): Define MAKEINFO as @MAKEINFO@. + (AC_CHECK_PATTERN): Check for alphanumeric names only. + (handle_aclocal_m4): Use ACLOCAL, not aclocal. + * Makefile.am (pkgdata_SCRIPTS): Include missing. + * missing: New file. + + * automake.in (target_defined): New sub. + (handle_footer): Error if target .SUFFIXES used. + +Sun Mar 16 14:33:41 1997 Tom Tromey + + * automake.in (handle_lib_objects): Set seen_c_source to line + number. + (handle_yacc_lex_cxx): Use seen_c_source as line number. + (am_line_error): Line of -1 means skip line-number check. + + * automake.in (read_am_file): Change to keep perl -w quiet. + (check_typos): Removed extra check of EXTRA_ containing config + subs. + +Mon Mar 10 23:17:19 1997 Tom Tromey + + * remake-hdr.am (stamp-h): Set CONFIG_HEADERS to + $(CONFIG_HEADER_FULL). + * automake.in (handle_configure): Define CONFIG_HEADER_FULL. + + * automake.in (handle_lib_objects): Set seen_c_source as + appropriate. From Alexander V. Lukyanov. Test cxxlibobj.test. + +Sat Mar 8 22:54:35 1997 Tom Tromey + + * texinfo.tex: New version. + + * automake.in (handle_emacs_lisp): If EMACS is `no', then we + couldn't find an Emacs. So don't bother running elisp-comp. From + Ulrich Drepper. + + * automake.in (handle_texinfo): Added .tr and .cv to list of + texinfo clean extensions. From Karl Berry. + +Fri Feb 28 22:14:53 1997 Tom Tromey + + * Makefile.am: Make sure we never use "undef". + + * automake.in (usage): Changed bug-reporting address. + (handle_dist): Use undef, not delete. + +Wed Feb 26 08:41:11 1997 Gordon Matzigkeit + + * automake.in (%obsolete_macros): Reintroduce, with hints for what + to do to upgrade the support. + + * automake.in, ltlib-clean.am, ltlib.am, ltlibrary.am: Revamped + libtool support to use the _LTLIBRARIES primary. + +Wed Feb 26 00:20:39 1997 Tom Tromey + + * automake.in (handle_tags): In default case, add @tags_deps to + dependencies of tags target. + +Tue Feb 25 23:46:29 1997 Tom Tromey + + * automake.in (handle_tests): If a test failed, then make should + fail. From Jim Meyering. + +Mon Feb 24 19:02:21 1997 Tom Tromey + + * texi-vers.am (@VTEXI@): Copy stamp file into output. + +Sun Feb 23 00:10:36 1997 Tom Tromey + + * automake.in (handle_programs): Give correct error line for lex + error. + (am_line_error): Avoid uninitialized value errors from perl -w. + + * aclocal.in (scan_m4_files): Fixed perl -w warning. + + * texinfos.am (.texi, .texinfo): New targets. + + * automake.in (scan_texinfo_file): Renamed. + (handle_texinfo): Handle files without ".info" extension. + + * automake.in (handle_subdirs): Error if directory contains "/". + (handle_yacc_lex_cxx): Quoting fix. + (handle_single_transform_list): Use transformed (non-ansi) version + of $obj instead of explicit ".o". From Gord Matzigkeit. + + * m4/sanity.m4: Pass -L to ls if possible. + +Sat Feb 22 15:22:31 1997 Tom Tromey + + * dist-vars.am (DISTFILES): Don't distribute MANS. + + * automake.in (handle_dist): Use define_variable to define TAR, + GZIP. + (handle_dist): Pass GZIP in environment to tar. + (initialize_global_constants): Likewise. + + From Kaveh Ghazi: + * m4/protos.m4: Don't put any dependencies on AC_C_INLINE or + AC_C_CONST. + * m4/ccstdc.m4: Force AM_PROG_CC_STDC to come before AC_C_INLINE + or AC_C_CONST. + +Fri Feb 21 00:39:17 1997 Tom Tromey + + From The Crimson Binome: + * automake.in (handle_yacc_lex_cxx): Handle C++ yacc/lex source. + (output_yacc_build_rule): New sub for C++ yacc/lex. + + * automake.in (my_glob): New sub. + (handle_dependencies): Use my_glob. + (handle_aclocal_m4): Scan ACLOCAL_AMFLAGS for dependencies. + + * ltlibs.am, lisp.am, libs.am, header.am, data.am, progs.am, + scripts.am, texinfos.am: Add leading space to echo. + + * automake.in (handle_texinfo): Added .tps and .vrs to list of TeX + endings. From Jim Blandy. + (install_man_format): Make rule silent; instead print actual + command. + +Tue Feb 4 18:29:42 1997 Tom Tromey + + * dist-vars.am (TAR): Removed. + * automake.in (TAR): New variable. + (handle_dist): Explicitly define TAR. + * configure.in: Compute TAR. + + * automake.in (handle_lib_objects): Put @ALLOCA@ on @dep_list, not + @dep_files. + (AC_SUBST_PATTERN): Typo fix. + (handle_aclocal_m4): Use ACLOCAL_AMFLAGS. + (handle_clean): Put -recursive target before -am target. + (handle_merge_targets): Put basename of $config_name on @all. + Test confsub.test. From Ramón García Fernández. + +Tue Jan 28 22:19:04 1997 Tom Tromey + + * automake.in (initialize_global_constants): Put libtoolize files + into @common_files, not @common_sometimes. From Gord Matzigkeit. + +Sun Jan 26 17:46:08 1997 Tom Tromey + + * texinfos.am (.texi.info): If --cygnus, set -I $(srcdir). From + Per Bothner. + +Sun Jan 12 18:28:16 1997 Fred Fish (fnf@ninemoons.com) + + * automake.in: Use 'interlock' and 'ylwrap' from source + directory or aux config directory, not build directory. + +Tue Jan 7 18:35:10 1997 Tom Tromey + + * aclocal.in (parse_arguments): Handle -I. + (usage): Ditto. + (scan_m4_files): Ditto. + + * automake.in (handle_single_transform_list): Don't give error + message if extension unrecognized. + +Tue Dec 17 11:18:20 1996 Andreas Schwab + + * m4/header.m4 (AM_CONFIG_HEADER): Check for $CONFIG_HEADERS, not + $CONFIG_HEADER. + +Tue Jan 7 17:59:26 1997 Tom Tromey + + * automake.in (scan_one_configure_file): AM_INIT_GUILE_MODULE runs + AM_PROG_INSTALL, not AC_PROG_INSTALL. From Jim Blandy. + (handle_texinfo): Handle no-texinfo.tex option. + (handle_options): Ditto. + +Thu Jan 2 14:16:17 1997 Tom Tromey + + * automake.in (am_install_var): Ignore EXTRA libtool libraries. + From Marius Vollmer. + diff --git a/Makefile.am b/Makefile.am index 02478efbd..2f05b511c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,7 +26,7 @@ $(amfiles) ## what we want. So we make them executable by hand. scriptdir = $(pkgdatadir) dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \ -mkinstalldirs elisp-comp ylwrap acinstall depcomp +mkinstalldirs elisp-comp ylwrap acinstall depcomp compile install-data-hook: @$(POST_INSTALL) @@ -47,6 +47,8 @@ installcheck-local: $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \ done +EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 + ################################################################ ## ## Everything past here is useful to the maintainer, but probably not diff --git a/Makefile.in b/Makefile.in index 7825cd11e..967a45a79 100644 --- a/Makefile.in +++ b/Makefile.in @@ -88,11 +88,13 @@ $(amfiles) scriptdir = $(pkgdatadir) dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \ -mkinstalldirs elisp-comp ylwrap acinstall depcomp +mkinstalldirs elisp-comp ylwrap acinstall depcomp compile ETAGS_ARGS = $(amfiles) TAGS_DEPENDENCIES = $(ETAGS_ARGS) + +EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = automake aclocal @@ -435,7 +437,7 @@ top_distdir = $(distdir) # tarfile. distcheck: dist -rm -rf $(distdir) - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(TAR) xf - + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | tar xf - mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ diff --git a/NEWS b/NEWS index 7a9be0273..2d3b5407d 100644 --- a/NEWS +++ b/NEWS @@ -2,8 +2,9 @@ New in 1.4a: * Many files (but not all) are correctly handled if they appear in subdirs For instance, a _DATA file can appear in a subdir * GNU tar is no longer required for `make dist' +* Added support for `dist_' and `nodist_' prefixes +* Compiled Java support * The usual bug fixes -* Added support for `dist_' and `nodist_' prefixes to some primaries New in 1.4: * Added support for the Fortran 77 programming language. diff --git a/TODO b/TODO index fbb19a2f8..94244426f 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,16 @@ +* Test subdir-objects option with yacc, lex, ansi2knr + Our locking scheme won't prevent a parallel make from losing + if there are two `bar.o' files and the timing is just right + This only happens with parallel make and no-`-c -o' compiler, + so it probably isn't very important + `-c -o' when doing libtool + try to find a losing compiler and see if it really works. + (actually: hack config.cache and do it) + +* Test nodist_SOURCES with lex, yacc, etc. + +* Support subdir-objects with fortran + * Run automake before libtool. It will report an error but still won't put the file into the disty. This is wrong. From Mark H Wilkinson @@ -6,16 +19,11 @@ but really it should be a configure variable, shouldn't it? There are other examples of this -* Get rid of .s.o and .S.o rules unless assembly source is seen. - * in gnu/gnits mode, give error if Makefile.am overrides a user variable like CFLAGS. * If we see `foo.o' in LIBOBJS, and we've seen AC_OBJEXT, then complain. -* subdir warning for source files is bogus. I removed it at Cygnus; - probably should remove it from net release - * using "include" inside a conditional doesn't currently work properly. @@ -45,12 +53,6 @@ * Add code to generate foo-config script like gnome, gtk -* right now automake sets `TAR' when automake is configured - this loses in some situations. - however, checking for it in every configure.in also seems lame. - probably should just give in on this; meanwhile people can - override TAR themselves. - * `DEFS += foo' won't work. That's because DEFS is defined in header-vars.am, which is read after the user's Makefile.am. diff --git a/automake.in b/automake.in index ec6046df0..b2387c236 100755 --- a/automake.in +++ b/automake.in @@ -68,6 +68,14 @@ $FOREIGN = 0; $GNU = 1; $GNITS = 2; +# These constants are returned by lang_*_rewrite functions. +# LANG_SUBDIR means that the resulting object file should be in a +# subdir if the source file is. In this case the file name cannot +# have `..' components. +$LANG_IGNORE = 0; +$LANG_PROCESS = 1; +$LANG_SUBDIR = 2; + # Variables global to entire run. @@ -129,6 +137,9 @@ $top_builddir = ''; @input_files = (); %output_files = (); +# Complete list of Makefile.am's that exist. +@configure_input_files = (); + # List of files in AC_OUTPUT without Makefile.am, and their outputs. @other_input_files = (); # Line number at which AC_OUTPUT seen. @@ -202,6 +213,9 @@ $seen_objext = 0; # TRUE if we've seen AC_ENABLE_MULTILIB. $seen_multilib = 0; +# TRUE if we've seen AM_PROG_CC_C_O +$seen_cc_c_o = 0; + # Hash table of discovered configure substitutions. Keys are names, # values are `FILE:LINE' strings which are used by error message # generation. @@ -289,30 +303,32 @@ $obsolete_rx = '(' . join ('|', keys %obsolete_macros) . ')'; # internally supported. &initialize_global_constants; -®ister_language ('c', '', 1, +®ister_language ('c', 'ansi-p=1', 'autodep=', 'c'); -®ister_language ('cxx', 'CXXLINK', 0, +®ister_language ('cxx', 'linker=CXXLINK', 'autodep=CXX', 'c++', 'cc', 'cpp', 'cxx', 'C'); -®ister_language ('objc', 'OBJCLINK', 0, +®ister_language ('objc', 'linker=OBJCLINK', 'autodep=OBJC', 'm'); -®ister_language ('header', '', 0, +®ister_language ('header', 'h', 'H', 'hxx', 'h++', 'hh', 'hpp', 'inc'); -®ister_language ('yacc', '', 1, +®ister_language ('yacc', 'ansi-p=1', 'y'); -®ister_language ('yaccxx', 'CXXLINK', 0, +®ister_language ('yaccxx', 'linker=CXXLINK', 'y++', 'yy', 'yxx', 'ypp'); -®ister_language ('lex', '', 1, +®ister_language ('lex', 'ansi-p=1', 'l'); -®ister_language ('lexxx', 'CXXLINK', 0, +®ister_language ('lexxx', 'linker=CXXLINK', 'l++', 'll', 'lxx', 'lpp'); -®ister_language ('asm', '', 0, +®ister_language ('asm', 's', 'S'); -®ister_language ('f77', 'F77LINK', 0, +®ister_language ('f77', 'linker=F77LINK', 'f', 'for', 'f90'); -®ister_language ('ppf77', 'F77LINK', 0, +®ister_language ('ppf77', 'linker=F77LINK', 'F'); -®ister_language ('ratfor', 'F77LINK', 0, +®ister_language ('ratfor', 'linker=F77LINK', 'r'); +®ister_language ('java', 'linker=GCJLINK', 'autodep=GCJ', + 'java'); # Parse command line. @@ -556,6 +572,7 @@ sub generate_makefile # on this (but currently does). $contents{'SOURCES'} = join (' ', @sources); $contents{'OBJECTS'} = join (' ', @objects); + &define_pretty_variable ('DIST_SOURCES', '', @dist_sources); &handle_multilib; &handle_texinfo; @@ -651,7 +668,8 @@ sub handle_options || $_ eq 'dist-shar' || $_ eq 'dist-zip' || $_ eq 'dist-tarZ' || $_ eq 'dist-bzip2' || $_ eq 'dejagnu' || $_ eq 'no-texinfo.tex' - || $_ eq 'readme-alpha' || $_ eq 'check-news') + || $_ eq 'readme-alpha' || $_ eq 'check-news' + || $_ eq 'subdir-objects') { # Explicitly recognize these. } @@ -735,7 +753,10 @@ sub get_object_extension # Note that order of transforms is important here. We collude # with compile.am to get the right result. - $xform = ($seen_objext ? 's/^OBJEXT//;' : 's/^OBJEXT.*$//;'); + $xform = (($seen_objext ? 's/^OBJEXT//;' : 's/^OBJEXT.*$//;') + . 's/\@MINUSO\@/' + . (defined $options{'subdir-objects'} ? '-o \$\@' : '') + . '/;'); $output_rules .= &file_contents_with_transform ($xform, 'compile'); &push_phony_cleaners ('compile'); @@ -752,7 +773,7 @@ sub get_object_extension } } - push (@suffixes, '.c', '.o', '.S', '.s'); + push (@suffixes, '.c', '.o'); push (@suffixes, '.obj') if $seen_objext; push (@clean, 'compile'); @@ -948,7 +969,8 @@ sub check_libobjs_sources local ($one_file, $unxformed) = @_; local ($prefix, $file, @files); - foreach $prefix ('', 'EXTRA_') + foreach $prefix ('', 'EXTRA_', 'dist_', 'nodist_', + 'dist_EXTRA_', 'nodist_EXTRA_') { if (&variable_defined ($prefix . $one_file . '_SOURCES')) { @@ -1009,6 +1031,8 @@ sub handle_single_transform_list $base = $3; $extension = $4; + local ($xbase) = $base; + local ($lang) = $extension_map{$extension}; if ($lang) { @@ -1016,9 +1040,9 @@ sub handle_single_transform_list # Found the language, so see what it says. local ($subr) = 'lang_' . $lang . '_rewrite'; # Note: computed subr call. - local ($r) = & $subr ($base, $extension); + local ($r) = & $subr ($directory, $base, $extension); # Skip this entry if we were asked not to process it. - next if ! $r; + next if $r == $LANG_IGNORE; # Now extract linker and other info. $linker = $language_map{$lang . '-linker'}; @@ -1031,10 +1055,19 @@ sub handle_single_transform_list { $object = $base . $nonansi_obj; } + + # If rewrite said it was ok, put the object into a + # subdir. + if ($r == $LANG_SUBDIR && $directory ne '') + { + $object = $directory . '/' . $object; + $xbase = $directory . '/' . $base; + } } elsif ($extension =~ /^$source_suffix_pattern$/) { # We just rewrite it. Maybe we should do more. + # FIXME: what about subdir handling here? $object = $base . '.' . $suffix_rules{$extension}; $linker = ''; } @@ -1058,17 +1091,65 @@ sub handle_single_transform_list } else { + local (@dep_list) = (); $object_map{$object} = $full; + + # If file is in subdirectory, we need explicit + # dependency. if ($directory ne '') { - # If file is in subdirectory, we need explicit dependency. - &pretty_print_rule ($object . ':', "\t", $full); + push (@dep_list, $full); } + + # If resulting object is in subdir, we need to make + # sure the subdir exists at build time. + if ($object =~ /\//) + { + # FIXME: check that $DIRECTORY is somewhere in the + # project + + # We don't allow `..' in object file names for + # *any* source, not just Java. For Java it just + # doesn't make sense, but in general it is + # a problem because we can't pick a good name for + # the .deps entry. + if ($object =~ /(\/|^)\.\.\//) + { + &am_error ("\`$full' contains \`..' component but should not"); + } + + push (@dep_list, $directory . '/.dirstamp'); + + # If we're generating dependencies, we also want + # to make sure that the appropriate subdir of the + # .deps directory is created. + if ($use_dependencies) + { + push (@dep_list, '.deps/' . $directory . '/.dirstamp'); + } + + if (! defined $directory_map{$directory}) + { + $directory_map{$directory} = 1; + $output_rules .= ($directory . "/.dirstamp:\n" + . "\t\@\$(mkinstalldirs) $directory\n" + . "\t\@: > $directory/.dirstamp\n"); + if ($use_dependencies) + { + $output_rules .= ('.deps/' . $directory + . "/.dirstamp:\n" + . "\t\@\$(mkinstalldirs) .deps/$directory\n" + . "\t\@: > .deps/$directory/.dirstamp\n"); + } + } + } + + &pretty_print_rule ($object . ':', "\t", @dep_list); } # Transform .o or $o file into .P file (for automatic # dependency code). - local ($depfile) = $object; + local ($depfile) = $xbase; $depfile =~ s/\.([^.]*)$/.P\1/; $dep_files{'$(DEPDIR)/' . $depfile} = 1; } @@ -1100,16 +1181,25 @@ sub handle_source_transform return; } - local (@files, @result, $prefix, $temp); - foreach $prefix ('', 'EXTRA_') + local (@files, @result, $prefix, $temp, $xpfx); + local (%used_pfx) = (); + foreach $prefix ('', 'EXTRA_', 'dist_', 'nodist_', + 'dist_EXTRA_', 'nodist_EXTRA_') { + # We are going to define _OBJECTS variables using the prefix. + # Then we glom them all together. So we can't use the null + # prefix here as we need it later. + $xpfx = ($prefix eq '') ? 'am_' : $prefix; + @files = (); local ($var) = $prefix . $one_file . "_SOURCES"; if (&variable_defined ($var)) { push (@sources, '$(' . $prefix . $one_file . "_SOURCES)"); - push (@objects, '$(' . $prefix . $one_file . "_OBJECTS)") - unless $prefix eq 'EXTRA_'; + push (@objects, '$(' . $xpfx . $one_file . "_OBJECTS)") + unless $prefix =~ /EXTRA_/; + push (@dist_sources, '$(' . $prefix . $one_file . "_SOURCES)") + unless $prefix =~ /^nodist_/; local (@conds) = &variable_conditions ($var); if (! @conds) { @@ -1126,26 +1216,49 @@ sub handle_source_transform $linker = $temp if $linker eq ''; # Define _OBJECTS conditionally. - &define_pretty_variable ($one_file . '_OBJECTS', $cond, - @result) - unless $prefix eq 'EXTRA_'; + &define_pretty_variable ($xpfx . $one_file . '_OBJECTS', + $cond, @result) + unless $prefix =~ /EXTRA_/; } + # Keep track of which prefixes we saw. + $used_pfx{$xpfx} = 1 + unless $prefix =~ /EXTRA_/; + next; } } - elsif ($prefix eq '') - { - &define_variable ($one_file . "_SOURCES", $unxformed . ".c"); - push (@sources, $unxformed . '.c'); - push (@objects, $unxformed . $obj); - push (@files, $unxformed . '.c'); - } + + # Avoid defining needless variables. + next if (scalar @files == 0); + + # Keep track of which prefixes we saw. + $used_pfx{$xpfx} = 1 + unless $prefix =~ /EXTRA_/; + + ($temp, @result) = &handle_single_transform_list ($obj, @files); + $linker = $temp if $linker eq ''; + &define_pretty_variable ($xpfx . $one_file . "_OBJECTS", '', @result) + unless $prefix =~ /EXTRA_/; + } + + local (@keys) = sort keys %used_pfx; + if (scalar @keys == 0) + { + &define_variable ($one_file . "_SOURCES", $unxformed . ".c"); + push (@sources, $unxformed . '.c'); + push (@dist_sources, $unxformed . '.c'); + push (@objects, $unxformed . $obj); + push (@files, $unxformed . '.c'); ($temp, @result) = &handle_single_transform_list ($obj, @files); $linker = $temp if $linker eq ''; &define_pretty_variable ($one_file . "_OBJECTS", '', @result) - unless $prefix eq 'EXTRA_'; + } + else + { + grep ($_ = '$(' . $_ . $one_file . '_OBJECTS)', @keys); + &define_pretty_variable ($one_file . '_OBJECTS', '', @keys); } return $linker; @@ -1574,7 +1687,7 @@ sub handle_ltlibraries { local (@liblist) = &am_install_var ('-clean', 'ltlib', 'LTLIBRARIES', - 'noinst', 'lib', 'pkglib'); + 'noinst', 'lib', 'pkglib', 'check'); return if ! @liblist; local (%instdirs); @@ -1976,6 +2089,7 @@ sub handle_texinfo { $texinfo_tex = $config_aux_dir . '/texinfo.tex'; &define_variable ('TEXINFO_TEX', $texinfo_tex); + $need_texi_file = 2; # so that we require_conf_file later } elsif (&variable_defined ('TEXINFO_TEX')) { @@ -1986,7 +2100,7 @@ sub handle_texinfo } else { - $texinfo_tex = '.'; + $texinfo_tex = '$(srcdir)/texinfo.tex'; $need_texi_file = 1; } local ($xxform); @@ -2046,8 +2160,18 @@ sub handle_texinfo # Do some error checking. Note that this file is not required # when in Cygnus mode; instead we defined TEXINFO_TEX explicitly # up above. - &require_file_with_line ('info_TEXINFOS', $FOREIGN, 'texinfo.tex') - if $need_texi_file && ! defined $options{'no-texinfo.tex'}; + if ($need_texi_file && ! defined $options{'no-texinfo.tex'}) + { + if ($need_texi_file > 1) + { + &require_conf_file_with_line ('info_TEXINFOS', $FOREIGN, + 'texinfo.tex'); + } + else + { + &require_file_with_line ('info_TEXINFOS', $FOREIGN, 'texinfo.tex'); + } + } } # Handle any man pages. @@ -2455,7 +2579,7 @@ sub handle_dist # tarfile. distcheck: dist -rm -rf $(distdir) - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(TAR) xf - + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \\' @@ -2505,26 +2629,6 @@ distcheck: dist &handle_dist_worker ($makefile); } -# Generate dependency-tracking code for a single language. -# Subroutine of handle_dependencies. -sub generate_dependency_code -{ - local ($lang, $fullname, $subst) = @_; - - local ($xform) = $seen_objext ? 's/^OBJEXT//;' : 's/^OBJEXT.*$//;'; - local ($error) = 0; - local ($ext); - foreach $ext (&lang_extensions ($lang)) - { - $output_rules .= - &file_contents_with_transform ('s/\@EXT\@/' . $ext . '/g;' - . 's/\@FPFX\@/' . $fullname . '/g;' - . 's/\@PFX\@/' . $subst . '/g;' - . $xform, - 'depend2'); - } -} - # Handle auto-dependency code. sub handle_dependencies { @@ -2550,12 +2654,27 @@ sub handle_dependencies push (@clean, 'depend'); &push_phony_cleaners ('depend'); - # FIXME: this should use another property of the language - # instead having which languages can do dependency - # tracking hard-coded. - &generate_dependency_code ('c', 'CC', ''); - &generate_dependency_code ('objc', 'OBJC', 'OBJC'); - &generate_dependency_code ('cxx', 'CXX', 'CXX'); + local ($key, $lang, $ext, $xform); + foreach $key (sort keys %language_map) + { + next unless $key =~ /^(.*)-autodep$/; + next if $language_map{$key} eq 'no'; + $lang = $1; + + local ($pfx, $fpfx) = ($language_map{$key}, 'CC'); + $fpfx = $pfx if ($pfx ne ''); + + $xform = ('s/\@PFX\@/' . $pfx . '/g;' + . 's/\@FPFX\@/' . $fpfx . '/g;'); + foreach $ext (&lang_extensions ($lang)) + { + $output_rules .= + &file_contents_with_transform ('s/\@EXT\@/' + . $ext . '/g;' + . $xform, + 'depend2'); + } + } } } else @@ -2797,12 +2916,15 @@ sub handle_configure &examine_variable ('CONFIG_STATUS_DEPENDENCIES'); &examine_variable ('CONFIGURE_DEPENDENCIES'); $top_reldir = ''; + + &push_dist_common ('acconfig.h') + if -f 'acconfig.h'; } # Make it easy to see if there is a Makefile.am in a given # directory. local (%make_dirs, $iter); - foreach $iter (@input_files) + foreach $iter (@configure_input_files) { $make_dirs{&dirname ($iter)} = 1; } @@ -2894,10 +3016,6 @@ sub handle_configure # Header defined and in this directory. local (@files); - if (-f $relative_dir . '/acconfig.h') - { - push (@files, 'acconfig.h'); - } if (-f $one_name . '.top') { push (@files, "${cn_sans_dir}.top"); @@ -2909,6 +3027,21 @@ sub handle_configure &push_dist_common (@files); + # For now, acconfig.h can only appear in the top srcdir. + if (-f 'acconfig.h') + { + if ($relative_dir eq '.') + { + push (@files, 'acconfig.h'); + } + else + { + # Strange quoting because this gets fed through + # Perl. + push (@files, '\$(top_srcdir)/acconfig.h'); + } + } + local ($stamp_name) = 'stamp-h'; $stamp_name .= "${hdr_index}" if scalar (@config_headers) > 1; @@ -2918,7 +3051,7 @@ sub handle_configure $xform .= 's,\@CONFIG_HEADER\@,' . "${cn_sans_dir}" . ',;'; $xform .= 's,\@CONFIG_HEADER_IN\@,' . "${ch_sans_dir}" . ',;'; $xform .= 's,\@CONFIG_HEADER_FULL\@,' . "${one_fullname}" . ',;'; - $xform .= 's,\@STAMP\@,' . "${stamp_dir}${stamp_name}" . ',;'; + $xform .= 's,\@STAMP\@,' . "${stamp_dir}${stamp_name}" . ',g;'; $output_rules .= &file_contents_with_transform ($xform, 'remake-hdr'); @@ -3596,26 +3729,52 @@ sub handle_tests push (@phony, 'check-TESTS'); # Note: Solaris 2.7 seems to expand TESTS using VPATH. That's - # why we choose `dir=' and not `dir=.' + # why we also try `dir=' $output_rules .= 'check-TESTS: $(TESTS) - @failed=0; all=0; \\ + @failed=0; all=0; xfail=0; xpass=0; \\ srcdir=$(srcdir); export srcdir; \\ for tst in $(TESTS); do \\ - if test -f $$tst; then dir=; \\ + if test -f ./$$tst; then dir=./; \\ + elif test -f $$tst; then dir=; \\ else dir="$(srcdir)/"; fi; \\ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \\ all=`expr $$all + 1`; \\ - echo "PASS: $$tst"; \\ + case " $(XFAIL_TESTS) " in \\ + *" $$tst "*) \\ + xpass=`expr $$xpass + 1`; \\ + failed=`expr $$failed + 1`; \\ + echo "XPASS: $$tst"; \\ + ;; \\ + *) \\ + echo "PASS: $$tst"; \\ + ;; \\ + esac; \\ elif test $$? -ne 77; then \\ all=`expr $$all + 1`; \\ - failed=`expr $$failed + 1`; \\ - echo "FAIL: $$tst"; \\ + case " $(XFAIL_TESTS) " in \\ + *" $$tst "*) \\ + xfail=`expr $$xfail + 1`; \\ + echo "XFAIL: $$tst"; \\ + ;; \\ + *) \\ + failed=`expr $$failed + 1`; \\ + echo "FAIL: $$tst"; \\ + ;; \\ + esac; \\ fi; \\ done; \\ if test "$$failed" -eq 0; then \\ - banner="All $$all tests passed"; \\ + if test "$$xfail" -eq 0; then \\ + banner="All $$all tests passed"; \\ + else \\ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \\ + fi; \\ else \\ - banner="$$failed of $$all tests failed"; \\ + if test "$$xpass" -eq 0; then \\ + banner="$$failed of $$all tests failed"; \\ + else \\ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \\ + fi; \\ fi; \\ dashes=`echo "$$banner" | sed s/./=/g`; \\ echo "$$dashes"; \\ @@ -3935,6 +4094,9 @@ sub scan_one_configure_file $configure_vars{'OBJEXT'} = $filename . ':' . $.; } + # Check for `-c -o' code. + $seen_cc_c_o = 1 if /AM_PROG_CC_C_O/; + # Check for NLS support. if (/AM_GNU_GETTEXT/) { @@ -4145,6 +4307,8 @@ sub scan_configure %output_files = %make_list; } + @configure_input_files = @make_input_list; + &am_conf_error ("\`PACKAGE' not defined in configure.in") if ! $seen_package; &am_conf_error ("\`VERSION' not defined in configure.in") @@ -4236,7 +4400,7 @@ sub check_gnits_standards # Functions to handle files of each language. # Each `lang_X_rewrite' function follows a simple formula: -# * Args are the base name and extension of the file. +# * Args are the directory, base name and extension of the file. # * Return value is 1 if file is to be dealt with, 0 otherwise. # Much of the actual processing is handled in handle_single_transform_list. # These functions exist so that auxiliary information can be recorded @@ -4244,10 +4408,17 @@ sub check_gnits_standards # are computed, so don't bother searching for their precise names # in the source. +# This is just a convenience function that can be used to determine +# when a subdir object should be used. +sub lang_sub_obj +{ + return defined $options{'subdir-objects'} ? $LANG_SUBDIR : $LANG_PROCESS; +} + # Rewrite a single C source file. sub lang_c_rewrite { - local ($base, $ext) = @_; + local ($directory, $base, $ext) = @_; if (defined $options{'ansi2knr'} && $base =~ /_$/) { @@ -4255,101 +4426,153 @@ sub lang_c_rewrite &am_error ("C source file \`$base.c' would be deleted by ansi2knr rules"); } + local ($r) = $LANG_PROCESS; + if (defined $options{'subdir-objects'}) + { + $r = $LANG_SUBDIR; + $base = $directory . '/' . $base; + + if (! $seen_cc_c_o) + { + # Only give error once. + $seen_cc_c_o = 1; + # FIXME: line number. + &am_error ("C objects in subdir but \`AM_PROG_CC_C_O' not in \`configure.in'"); + } + + &require_file ($FOREIGN, 'compile') + if $relative_dir eq '.'; + } + $de_ansi_files{$base} = 1; - return 1; + return $r; } # Rewrite a single C++ source file. sub lang_cxx_rewrite { - return 1; + return &lang_sub_obj; } # Rewrite a single header file. sub lang_header_rewrite { # Header files are simply ignored. - return 0; + return $LANG_IGNORE; } # Rewrite a single yacc file. sub lang_yacc_rewrite { - local ($base, $ext) = @_; + local ($directory, $base, $ext) = @_; - &lang_c_rewrite ($base, $ext); - $yacc_sources{$base . '.' . $ext} = 1; + local ($r) = &lang_c_rewrite ($directory, $base, $ext); + local ($pfx) = ''; + if ($r == $LANG_SUBDIR) + { + $pfx = $directory . '/'; + } + $yacc_sources{$pfx . $base . '.' . $ext} = 1; $ext =~ tr/y/c/; &saw_extension ('c'); - &push_dist_common ($base . '.' . $ext); - return 1; + # FIXME: nodist. + &push_dist_common ($pfx . $base . '.' . $ext); + return $r; } # Rewrite a single yacc++ file. sub lang_yaccxx_rewrite { - local ($base, $ext) = @_; + local ($directory, $base, $ext) = @_; - $yacc_sources{$base . '.' . $ext} = 1; + local ($r) = $LANG_PROCESS; + local ($pfx) = ''; + if (defined $options{'subdir-objects'}) + { + $pfx = $directory . '/'; + $r = $LANG_SUBDIR; + } + $yacc_sources{$pfx . $base . '.' . $ext} = 1; $ext =~ tr/y/c/; &saw_extension ($ext); - &push_dist_common ($base . '.' . $ext); - return 1; + # FIXME: nodist. + &push_dist_common ($pfx . $base . '.' . $ext); + return $r; } # Rewrite a single lex file. sub lang_lex_rewrite { - local ($base, $ext) = @_; + local ($directory, $base, $ext) = @_; - &lang_c_rewrite ($base, $ext); - $lex_sources{$base . '.' . $ext} = 1; + local ($r) = &lang_c_rewrite ($directory, $base, $ext); + local ($pfx) = ''; + if ($r == $LANG_SUBDIR) + { + $pfx = $directory . '/'; + } + $lex_sources{$pfx . $base . '.' . $ext} = 1; $ext =~ tr/l/c/; &saw_extension ('c'); - &push_dist_common ($base . '.' . $ext); - return 1; + # FIXME: nodist. + &push_dist_common ($pfx . $base . '.' . $ext); + return $r; } # Rewrite a single lex++ file. sub lang_lexxx_rewrite { - local ($base, $ext) = @_; + local ($directory, $base, $ext) = @_; - $lex_sources{$base . '.' . $ext} = 1; + local ($r) = $LANG_PROCESS; + local ($pfx) = ''; + if (defined $options{'subdir-objects'}) + { + $pfx = $directory . '/'; + $r = $LANG_SUBDIR; + } + $lex_sources{$pfx . $base . '.' . $ext} = 1; $ext =~ tr/l/c/; &saw_extension ($ext); - &push_dist_common ($base . '.' . $ext); - return 1; + # FIXME: nodist. + &push_dist_common ($pfx . $base . '.' . $ext); + return $r; } # Rewrite a single assembly file. sub lang_asm_rewrite { - return 1; + return &lang_sub_obj; } # Rewrite a single Fortran 77 file. sub lang_f77_rewrite { - return 1; + return $LANG_PROCESS; } # Rewrite a single preprocessed Fortran 77 file. sub lang_ppf77_rewrite { - return 1; + return $LANG_PROCESS; } # Rewrite a single ratfor file. sub lang_ratfor_rewrite { - return 1; + return $LANG_PROCESS; } # Rewrite a single Objective C file. sub lang_objc_rewrite { - return 1; + return &lang_sub_obj; +} + +# Rewrite a single Java file. +sub lang_java_rewrite +{ + return $LANG_SUBDIR; } # The lang_X_finish functions are called after all source file @@ -4426,14 +4649,15 @@ sub lang_cxx_finish local ($ext); foreach $ext (@cxx_list) { + # Every known C++ compiler supports both -c and -o. $output_rules .= ("$ext.o:\n" - . "\t\$(CXXCOMPILE) -c \$<\n"); + . "\t\$(CXXCOMPILE) -c -o \$\@ \$<\n"); # FIXME: Using cygpath should be somehow conditional. $output_rules .= ("$ext.obj:\n" - . "\t\$(CXXCOMPILE) -c `cygpath -w \$<`\n") + . "\t\$(CXXCOMPILE) -c -o \$\@ `cygpath -w \$<`\n") if ($seen_objext); $output_rules .= ("$ext.lo:\n" - . "\t\$(LTCXXCOMPILE) -c \$<\n") + . "\t\$(LTCXXCOMPILE) -c -o \$\@ \$<\n") if ($seen_libtool); } @@ -4486,22 +4710,30 @@ sub lang_yacc_finish if ! defined $seen_suffix{$1}; $seen_suffix{$1} = 1; - # Now generate rule to make the header file. This should only - # be generated if `yacc -d' specified. But right now there is - # no way to determine that. FIXME: examine AM_YFLAGS? $file =~ /^(.*)\.(y|yy|y\+\+|yxx|ypp)$/; $base = $1; - $hname = '.h'; # Always use `.h' for header file. + $hname = 'h'; # Always use `.h' for header file. ($cname = $2) =~ tr/y/c/; - $output_rules .= "${base}.${hname}: ${base}.${cname}\n"; - # If the files are built in the build directory, then we want - # to remove them with `make clean'. If they are in srcdir - # they shouldn't be touched. However, we can't determine this - # statically, and the GNU rules say that yacc/lex output files - # should be removed by maintainer-clean. So that's what we - # do. - push (@maintainer_clean_files, "${base}.${hname}", "${base}.${cname}"); + if ((&variable_defined ('AM_YFLAGS') + && &variable_value ('AM_YFLAGS') =~ /(^|\s)-d(\s|$)/) + || (&variable_defined ('YFLAGS') + && &variable_value ('YFLAGS') =~ /(^|\s)-d(\s|$)/)) { + # Now generate rule to make the header file. This should only + # be generated if `yacc -d' specified. + $output_rules .= "${base}.${hname}: ${base}.${cname}\n"; + + # If the files are built in the build directory, then we want + # to remove them with `make clean'. If they are in srcdir + # they shouldn't be touched. However, we can't determine this + # statically, and the GNU rules say that yacc/lex output files + # should be removed by maintainer-clean. So that's what we + # do. + push (@maintainer_clean_files, "${base}.${hname}"); + + &push_dist_common ("${base}.${hname}"); + } + push (@maintainer_clean_files, "${base}.${cname}"); } $output_rules .= "\n"; @@ -4574,8 +4806,32 @@ sub lang_lexxx_finish sub lang_asm_finish { - # Pretend we're C. + # We need the C code for assembly. &lang_c_finish; + + # We also need our own rules. + local ($minuso) = ''; + if (defined $options{'subdir-objects'}) + { + $minuso = '-o $@ '; + } + local (@asm_list) = &lang_extensions ('am'); + local ($ext); + foreach $ext (@asm_list) + { + $output_rules .= ("$ext.o:\n" + . "\t\$(COMPILE) -c " . $minuso . "\$<\n"); + # FIXME: Using cygpath should be somehow conditional. + $output_rules .= ("$ext.obj:\n" + . "\t\$(COMPILE) -c " . $minuso + . "`cygpath -w \$<`\n") + if $seen_objext; + $output_rules .= ("$ext.lo:\n" + . "\t\$(LTCOMPILE) -c -o \$\@ \$<\n") + if $seen_libtool; + } + + push (@suffixes, @asm_list); } sub lang_f77_finish @@ -4715,26 +4971,57 @@ sub lang_objc_finish &define_configure_variable ("OBJCFLAGS"); &define_compiler_variable ('OBJCCOMPILE', $ltcompile, '$(OBJC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS)'); - + &define_variable ('OBJCLD', '$(OBJC)'); &define_variable ('OBJCLINK', $ltlink . '$(OBJCLD) $(AM_OBJCFLAGS) $(OBJCFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@'); - + + # All known ObjC compilers support -c and -o together. $output_rules .= (".m.o:\n" - . "\t\$(OBJCCOMPILE) -c \$<\n"); + . "\t\$(OBJCCOMPILE) -c -o \$\@ \$<\n"); # FIXME: Using cygpath should be somehow conditional. $output_rules .= (".m.obj:\n" - . "\t\$(OBJCCOMPILE) -c `cygpath -w \$<`\n") + . "\t\$(OBJCCOMPILE) -c -o \$\@ `cygpath -w \$<`\n") if ($seen_objext); $output_rules .= (".m.lo:\n" - . "\t\$(LTOBJCCOMPILE) -c \$<\n") + . "\t\$(LTOBJCCOMPILE) -c -o \$\@ \$<\n") if ($seen_libtool); - + if (! defined $configure_vars{'OBJC'}) { &am_error ("Objective C source seen but \`OBJC' not defined in \`configure.in'"); } } +sub lang_java_finish +{ + push (@suffixes, '.java'); + + local ($ltcompile, $ltlink) = &libtool_compiler; + + &define_configure_variable ("GCJFLAGS"); + &define_compiler_variable ('GCJCOMPILE', $ltcompile, + '$(GCJ) $(DEFS) $(INCLUDES) $(AM_GCJFLAGS) $(GCJFLAGS)'); + + &define_variable ('GCJLD', '$(GCJ)'); + &define_variable ('GCJLINK', $ltlink . '$(GCJLD) $(AM_GCJFLAGS) $(GCJFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@'); + + # All known Java compilers support -c and -o together. + $output_rules .= (".java.o:\n" + . "\t\$(GCJCOMPILE) -c -o \$\@ \$<\n"); + # FIXME: Using cygpath should be somehow conditional. + $output_rules .= (".java.obj:\n" + . "\t\$(GCJCOMPILE) -c -o \$\@ `cygpath -w \$<`\n") + if ($seen_objext); + $output_rules .= (".java.lo:\n" + . "\t\$(LTGCJCOMPILE) -c -o \$\@ \$<\n") + if ($seen_libtool); + + if (! defined $configure_vars{'GCJ'}) + { + &am_error ("Java source seen but \`GCJ' not defined in \`configure.in'"); + } +} + # A helper which computes a sorted list of all extensions for LANG. sub lang_extensions { @@ -4769,6 +5056,8 @@ sub resolve_linker { local (%linkers) = @_; + return 'GCJLINK' + if defined $linkers{'GCJLINK'}; return 'CXXLINK' if defined $linkers{'CXXLINK'}; return 'F77LINK' @@ -4804,28 +5093,36 @@ sub saw_sources_p return scalar keys %extension_seen > $headers; } -# Register a single language. If LINKER is the empty string, it means -# to use the C linker. DEANSI_P should only be 1 for languages where -# de-ansi-fication makes sense (i.e., C). EXTENSIONS is a list of -# file extensions to match (no `.' included). +# Register a single language. LANGUAGE is the name of the language. +# Each OPTION is either of the form NAME=VALUE, or is a file extension +# (sans `.'). sub register_language { - local ($language, $linker, $deansi_p, @extensions) = @_; + local ($language, @options) = @_; + + # Set the defaults. + $language_map{$language . '-ansi-p'} = 0; + $language_map{$language . '-linker'} = ''; + $language_map{$language . '-autodep'} = 'no'; local ($iter); - foreach $iter (@extensions) + foreach $iter (@options) { - if (defined $extension_map{$iter}) + if ($iter =~ /^(.*)=(.*)$/) + { + $language_map{$language . '-' . $1} = $2; + } + elsif (defined $extension_map{$iter}) { print STDERR "automake: programming error: duplicate extension $iter\n"; exit 1; } - $extension_map{$iter} = $language; + else + { + $extension_map{$iter} = $language; + } } - - $language_map{$language . '-ansi-p'} = $deansi_p; - $language_map{$language . '-linker'} = $linker; } @@ -5007,8 +5304,7 @@ sub examine_variable sub quote_cond_val { local ($val) = @_; - $val =~ s/ /\001/g; - $val =~ s/\t/\003/g; + $val =~ tr/ \t\n/\001\003\004/; $val = "\002" if $val eq ''; return $val; } @@ -5017,8 +5313,7 @@ sub quote_cond_val sub unquote_cond_val { local ($val) = @_; - $val =~ s/\001/ /g; - $val =~ s/\003/\t/g; + $val =~ tr/\001\003\004/ \t\n/; $val =~ s/\002//g; return $val; } @@ -5329,6 +5624,9 @@ sub value_to_list local ($var, $val, $cond) = @_; local (@result); + # Strip backslashes + $val =~ s/\\(\n|$)/ /g; + foreach (split (' ', $val)) { # If a comment seen, just leave. @@ -5650,10 +5948,6 @@ sub read_am_file else { $saw_bk = /\\$/; - # Chop newline and backslash if this line is - # continued. ensure trailing whitespace exists. - chop if $saw_bk; - chop if $saw_bk; $contents{$last_var_name} .= ' ' unless $contents{$last_var_name} =~ /\s$/; $contents{$last_var_name} .= $_; @@ -5764,7 +6058,10 @@ sub read_am_file local ($value); if ($3 ne '' && substr ($3, -1) eq "\\") { - $value = substr ($3, 0, length ($3) - 1); + # We preserve the `\' because otherwise the long lines + # that are generated will be truncated by broken + # `sed's. + $value = $3 . "\n"; } else { @@ -6005,9 +6302,13 @@ sub read_main_am_file { local ($vcond) = shift (@cond_vals); local ($val) = &unquote_cond_val (shift (@cond_vals)); - $output_vars .= ($vcond . $curs - . ' ' . $def_type{$curs} . '= ' - . $val . "\n"); + $output_vars .= ($vcond . $curs . ' ' + . $def_type{$curs} . "= \\\n"); + local ($line); + foreach $line (split ("\n", $val)) + { + $output_vars .= $vcond . $line . "\n"; + } } } else @@ -6080,7 +6381,7 @@ sub initialize_global_constants "libversion.in", "mdate-sh", "mkinstalldirs", "install-sh", 'texinfo.tex', "ansi2knr.c", "ansi2knr.1", 'elisp-comp', 'ylwrap', 'acinclude.m4', @libtoolize_files, - 'missing', 'depcomp' + 'missing', 'depcomp', 'compile' ); # Commonly used files we auto-include, but only sometimes. @@ -6123,17 +6424,17 @@ sub initialize_global_constants # if we chmod a symlink. $dist_header = "\t" . '-chmod -R a+r $(distdir)' . "\n"; $dist{'dist-bzip2'} = ("\t" - . '$(TAR) ch$(AMTARFLAGS)f - $(distdir) | bzip --best -c > $(distdir).bz2' + . '$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | bzip --best -c > $(distdir).bz2' . "\n"); $dist{'dist-tarZ'} = ("\t" - . '$(TAR) ch$(AMTARFLAGS)f - $(distdir) | compress -c > $(distdir).tar.Z' + . '$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | compress -c > $(distdir).tar.Z' . "\n"); $dist{'dist-shar'} = ("\t" . 'shar $(distdir) | gzip > $(distdir).shar.gz' . "\n"); $dist{'dist-zip'} = "\t" . 'zip -rq $(distdir).zip $(distdir)' . "\n"; $dist{'dist'} = ("\t" - . 'tar ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz' + . '$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz' . "\n"); $dist_trailer = "\t" . '-rm -rf $(distdir)' . "\n"; } @@ -6220,12 +6521,18 @@ sub initialize_per_input # SOURCES and OBJECTS variables. @sources = (); @objects = (); + # Sources which go in the distribution. + @dist_sources = (); - # This hash maps object file names onto their corresopnding source + # This hash maps object file names onto their corresponding source # file names. This is used to ensure that each object is created # by a single source file. %object_map = (); + # This keeps track of the directories for which we've already + # created `.dirstamp' code. + %directory_map = (); + # These variables track inclusion of various compile-related .am # files. $included_generic_compile is TRUE if the basic code has # been included. $included_knr_compile is TRUE if the ansi2knr @@ -6732,7 +7039,12 @@ sub am_install_var push (@all, '$(' . $primary . ')') if @used && $primary ne 'JAVA'; - return (@result); + # Make the result unique. This lets the user use conditionals in + # a natural way, but still lets us program lazily -- we don't have + # to worry about handling a particular object more than once. + local (%uniquify) = (); + grep ($uniquify{$_} = 1, @result); + return sort keys %uniquify; } @@ -6912,7 +7224,7 @@ sub require_conf_file_with_line } } -# Assumes that the line number is in Makefile.am. +# Assumes that the line number is in configure.in. sub require_conf_file_with_conf_line { @require_file_paths = @config_aux_path; diff --git a/automake.texi b/automake.texi index ccea2a9d8..ccce671d7 100644 --- a/automake.texi +++ b/automake.texi @@ -1337,6 +1337,12 @@ Programs, , Particular Program Checks, autoconf, The Autoconf Manual}), but uses the @code{missing} script on systems that do not have @code{lex}. @samp{HP-UX 10} is one such system. +@item AM_PROG_GCJ +This macro finds the @code{gcj} program or causes an error. It sets +@samp{GCJ} and @samp{GCJFLAGS}. @code{gcj} is the Java front-end to the +GNU C compiler. +@cvindex AM_PROG_GCJ + @item AM_SANITY_CHECK This checks to make sure that a file created in the build directory is newer than a file in the source directory. This can fail on systems @@ -1491,6 +1497,7 @@ to build programs and libraries. * Yacc and Lex:: Yacc and Lex support * C++ Support:: * Fortran 77 Support:: +* Java Support:: * Support for Other Languages:: * ANSI:: Automatic de-ANSI-fication * Dependencies:: Automatic dependency tracking @@ -1954,7 +1961,7 @@ The command used to actually link a C++ program. @end vtable -@node Fortran 77 Support, Support for Other Languages, C++ Support, Programs +@node Fortran 77 Support, Java Support, C++ Support, Programs @comment node-name, next, previous, up @section Fortran 77 Support @@ -2200,14 +2207,32 @@ Fortran 77 support was added to Autoconf 2.13, so you will want to use that version of Autoconf or later. -@node Support for Other Languages, ANSI, Fortran 77 Support, Programs +@node Java Support, Support for Other Languages, Fortran 77 Support, Programs +@comment node-name, next, previous, up + +Automake includes support for compiled Java, using @code{gcj}, the Java +front end to the GNU C compiler. + +Any package including Java code to be compiled must define the output +variable @samp{GCJ} in @file{configure.in}; the variable @samp{GCJFLAGS} +must also be defined somehow (either in @file{configure.in} or +@file{Makefile.am}). The simplest way to do this is to use the +@code{AM_PROG_GCJ} macro. + +By default, programs including Java source files are linked with +@code{gcj}. + + +@node Support for Other Languages, ANSI, Java Support, Programs @comment node-name, next, previous, up @section Support for Other Languages Automake currently only includes full support for C, C++ (@pxref{C++ -Support})and Fortran 77 (@pxref{Fortran 77 Support}). There is only -rudimentary support for other languages, support for which will be -improved based on user demand. +Support}), Fortran 77 (@pxref{Fortran 77 Support}), and Java +(@pxref{Java Support}). There is only rudimentary support for other +languages, support for which will be improved based on user demand. + +@c FIXME: mention suffix rule processing here. @node ANSI, Dependencies, Support for Other Languages, Programs @@ -2860,6 +2885,26 @@ there; in this case the entire directory will be recursively copied into the distribution. @vindex EXTRA_DIST +Sometimes you need tighter control over what does @emph{not} go into the +distribution; for instance you might have source files which are +generated and which you do not want to distribute. In this case +Automake gives fine-grained control using the @samp{dist} and +@samp{nodist} prefixes. Any primary or @samp{_SOURCES} variable can be +prefixed with @samp{dist_} to add the listed files to the distribution. +Similarly, @samp{nodist_} can be used to omit the files from the +distribution. +@vindex dist_ +@vindex nodist_ + +As an example, here is how you would cause some data to be distributed +while leaving some source code out of the distribution: + +@example +dist_data_DATA = distribute-this +bin_PROGRAMS = foo +nodist_foo_SOURCES = do-not-distribute.c +@end example + If you define @code{SUBDIRS}, Automake will recursively include the subdirectories in the distribution. If @code{SUBDIRS} is defined conditionally (@pxref{Conditionals}), Automake will normally include all @@ -2946,6 +2991,10 @@ names. @vindex RUNTESTFLAGS @c FIXME xref dejagnu +If you're not using dejagnu, you may define the variable +@samp{XFAIL_TESTS} to a list of tests (usually a subset of @samp{TESTS}) +that are expected to fail. This will reverse the result of those tests. + In either case, the testing is done via @samp{make check}. diff --git a/compile b/compile new file mode 100755 index 000000000..7da75ce41 --- /dev/null +++ b/compile @@ -0,0 +1,82 @@ +#! /bin/sh + +# Wrapper for compilers which do not understand `-c -o'. + +# Copyright (C) 1999 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# Usage: +# compile PROGRAM [ARGS]... +# `-o FOO.o' is removed from the args passed to the actual compile. + +prog="$1" +shift + +ofile= +cfile= +args= +while test $# -gt 0; do + case "$1" in + -o) + ofile="$2" + shift + ;; + *.c) + cfile="$1" + args="$args $1" + ;; + *) + args="$args $1" + ;; + esac + shift +done + +test -z "$ofile" && { + echo "compile: no \`-o' option seen" 1>&2 + exit 1 +} + +test -z "$cfile" && { + echo "compile: no \`.c' file seen" 1>&2 + exit 1 +} + +# Name of file we expect compiler to create. +cofile="`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`" + +# Create the lock directory. +lockdir="`echo $ofile | sed -e 's|/|_|g'`" +while true; do + if mkdir $lockdir > /dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir $lockdir; exit 1" 1 2 15 + +# Run the compile. +"$prog" $args +status=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +fi + +rmdir $lockdir +exit $status diff --git a/compile.am b/compile.am index 439e47ebb..68b6b281d 100644 --- a/compile.am +++ b/compile.am @@ -16,12 +16,6 @@ ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - mostlyclean-compile: ## Don't remove 'core.*' because some distributions have eg "core.c". ## 4.4BSD systems use `PROG.core'. diff --git a/depend2.am b/depend2.am index 790660831..07fd5b49a 100644 --- a/depend2.am +++ b/depend2.am @@ -25,12 +25,12 @@ @EXT@.o: source='$<' object='$@' depfile='$(DEPDIR)/$*.Po' $(@FPFX@DEPMODE) \ - $(depcomp) $(@PFX@COMPILE) -c $< + $(depcomp) $(@PFX@COMPILE) -c@MINUSO@ $< @EXT@.lo: source='$<' object='$@' depfile='$(DEPDIR)/$*.Plo' $(@FPFX@DEPMODE) \ - $(depcomp) $(LT@PFX@COMPILE) -c $< + $(depcomp) $(LT@PFX@COMPILE) -c@MINUSO@ $< OBJEXT@EXT@.obj: OBJEXT source='$<' object='$@' depfile='$(DEPDIR)/$*.Pobj' $(@FPFX@DEPMODE) \ -OBJEXT $(depcomp) $(@PFX@COMPILE) -c `cygpath -w $<` +OBJEXT $(depcomp) $(@PFX@COMPILE) -c@MINUSO@ `cygpath -w $<` diff --git a/dist-vars.am b/dist-vars.am index 3d40a79ba..ee1c902e3 100644 --- a/dist-vars.am +++ b/dist-vars.am @@ -19,4 +19,4 @@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ ## DIST_COMMON comes first so that README can be the very first file. -DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) diff --git a/libtool.am b/libtool.am index 0bb56a984..299c1a954 100644 --- a/libtool.am +++ b/libtool.am @@ -1,5 +1,5 @@ ## automake - create Makefile.in from Makefile.am -## Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +## Copyright (C) 1994, 1995-98, 1999 Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -19,14 +19,7 @@ ## Note that we explicitly set the libtool mode. This avoids any lossage ## if the program doesn't have a name that libtool expects. source=$< object=$@ depfile=$(DEPDIR)/$*.Plo $(CCDEPMODE) \ - $(depcomp) $(LIBTOOL) --mode=compile $(COMPILE) -c $< - -## These are just copies of the above rule. -.s.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - -.S.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< + $(depcomp) $(LIBTOOL) --mode=compile $(COMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo diff --git a/m4/Makefile.am b/m4/Makefile.am index 09d01dd74..59f8b7eac 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -5,6 +5,6 @@ MAINT_CHARSET = latin1 m4datadir = $(datadir)/aclocal dist_m4data_DATA = ccstdc.m4 cond.m4 depend.m4 depout.m4 dmalloc.m4 \ -error.m4 header.m4 init.m4 lex.m4 lispdir.m4 maintainer.m4 \ -missing.m4 mktime.m4 multi.m4 obstack.m4 protos.m4 ptrdiff.m4 \ +error.m4 gcj.m4 header.m4 init.m4 lex.m4 lispdir.m4 maintainer.m4 \ +minuso.m4 missing.m4 mktime.m4 multi.m4 obstack.m4 protos.m4 ptrdiff.m4 \ regex.m4 sanity.m4 strtod.m4 termios.m4 winsz.m4 diff --git a/m4/Makefile.in b/m4/Makefile.in index 2c1b0654f..8519b1de6 100644 --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -70,8 +70,8 @@ MAINT_CHARSET = latin1 m4datadir = $(datadir)/aclocal dist_m4data_DATA = ccstdc.m4 cond.m4 depend.m4 depout.m4 dmalloc.m4 \ -error.m4 header.m4 init.m4 lex.m4 lispdir.m4 maintainer.m4 \ -missing.m4 mktime.m4 multi.m4 obstack.m4 protos.m4 ptrdiff.m4 \ +error.m4 gcj.m4 header.m4 init.m4 lex.m4 lispdir.m4 maintainer.m4 \ +minuso.m4 missing.m4 mktime.m4 multi.m4 obstack.m4 protos.m4 ptrdiff.m4 \ regex.m4 sanity.m4 strtod.m4 termios.m4 winsz.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/m4/gcj.m4 b/m4/gcj.m4 new file mode 100644 index 000000000..34677afe2 --- /dev/null +++ b/m4/gcj.m4 @@ -0,0 +1,11 @@ +dnl Check for Java compiler. +dnl For now we only handle the GNU compiler. + +AC_DEFUN(AM_PROG_GCJ,[ +AC_CHECK_PROGS(GCJ, gcj, gcj) +test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH]) +if test "x${GCJFLAGS+set}" = xset; then + GCJFLAGS="-g -O2" +fi +AC_SUBST(GCJFLAGS) +]) diff --git a/m4/init.m4 b/m4/init.m4 index c5c564f80..65603ed84 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -35,10 +35,10 @@ dnl We check for tar when the user configures the end package. dnl This is sad, since we only need this for "dist". However, dnl there's no other good way to do it. We prefer GNU tar if dnl we can find it. If we can't find a tar, it doesn't really matter. -AC_CHECK_PROGS(TAR, gnutar gtar tar) +AC_CHECK_PROGS(AMTAR, gnutar gtar tar) AMTARFLAGS= -if test -n "$TAR"; then - if $SHELL -c "$TAR --version" > /dev/null 2>&1; then +if test -n "$AMTAR"; then + if $SHELL -c "$AMTAR --version" > /dev/null 2>&1; then dnl We have GNU tar. AMTARFLAGS=o fi diff --git a/m4/minuso.m4 b/m4/minuso.m4 new file mode 100644 index 000000000..a28db55c9 --- /dev/null +++ b/m4/minuso.m4 @@ -0,0 +1,15 @@ +dnl Like AC_PROG_CC_C_O, but changed for automake. + +AC_DEFUN([AM_PROG_CC_C_O],[ +AC_REQUIRE([AC_PROG_CC_C_O]) +dnl FIXME: we rely on the cache variable name because +dnl there is no other way. +set dummy $CC; ac_cc="`echo [$]2 | +changequote(, )dnl + sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" +changequote([, ])dnl +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + CC="\$(top_srcdir)/compile $CC" +fi +]) diff --git a/remake-hdr.am b/remake-hdr.am index 90712da01..d114c85b4 100644 --- a/remake-hdr.am +++ b/remake-hdr.am @@ -23,12 +23,17 @@ else :; fi ## Explicitly look in srcdir for benefit of non-GNU makes. @STAMP@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status + @rm -f @STAMP@ @STAMP@T +## We used to try to get a real timestamp here. But the fear is that +## that will cause unnecessary cvs conflicts + @echo timestamp > @STAMP@T 2> /dev/null cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=@CONFIG_HEADER_FULL@ \ $(SHELL) ./config.status -## We used to try to get a real timestamp here. But the fear is that -## that will cause unnecessary cvs conflicts - @echo timestamp > @STAMP@ 2> /dev/null +## Creating the timestamp first, and moving it later, helps ensure that +## it will be older than the header file, avoiding needless triggering +## of the rebuild rule. + @mv @STAMP@T @STAMP@ ## Explicitly look in srcdir for benefit of non-GNU makes. $(srcdir)/@CONFIG_HEADER_IN@: @MAINTAINER_MODE_TRUE@$(srcdir)/@STAMP@.in ## Recover from removal of CONFIG_HEADER_IN @@ -37,7 +42,12 @@ $(srcdir)/@CONFIG_HEADER_IN@: @MAINTAINER_MODE_TRUE@$(srcdir)/@STAMP@.in $(MAKE) $(srcdir)/@STAMP@.in; \ else :; fi $(srcdir)/@STAMP@.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) @FILES@ - cd $(top_srcdir) && $(AUTOHEADER) + @rm -f $(srcdir)/@STAMP@.in $(srcdir)/@STAMP@.inT ## We used to try to get a real timestamp here. But the fear is that ## that will cause unnecessary cvs conflicts - @echo timestamp > $(srcdir)/@STAMP@.in 2> /dev/null + @echo timestamp > $(srcdir)/@STAMP@.inT 2> /dev/null + cd $(top_srcdir) && $(AUTOHEADER) +## Creating the timestamp first, and moving it later, helps ensure that +## it will be older than the header file, avoiding needless triggering +## of the rebuild rule. + @mv $(srcdir)/@STAMP@.inT $(srcdir)/@STAMP@.in diff --git a/stamp-vti b/stamp-vti index d0a06f902..27436269e 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,3 +1,3 @@ -@set UPDATED 26 March 1999 +@set UPDATED 9 April 1999 @set EDITION 1.4a @set VERSION 1.4a diff --git a/tests/ChangeLog b/tests/ChangeLog index 08160461b..9ce7aa98c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,87 @@ +1999-04-12 Alexandre Oliva + + * Start of merge from trunk. + +1999-04-11 Tom Tromey + + * subobj2.test: New file. + * Makefile.am (TESTS): Added subobj2.test. + + * subobj.test: New file. + * Makefile.am (TESTS): Added subobj.test. + + * confh.test: Use `sed' to extract full definition of + DIST_COMMON. Look for stamp-h.in rule in include/Makefile.in. + * Makefile.am (XFAIL_TESTS): Removed confh.test. + +1999-04-10 Tom Tromey + + * defs: Ensure srcdir is always absolute. + + * Makefile.am (XFAIL_TESTS): Removed cond8.test. + + * gcj2.test: New file. + * Makefile.am (TESTS): Added gcj2.test. + +1999-04-10 Alexandre Oliva + + * suffix.test: New file. + * Makefile.am: Added suffix.test. + + * Makefile.am (XFAIL_TESTS): Added cond8.test. + + * cond3.test: Refer to am_targ_OBJECTS. + + * yacc2.test, yacc3.test: New files. + * Makefile.am (TESTS): Added yacc2.test and yacc3.test. + +1999-04-09 Tom Tromey + + * nodist.test: New file. + * Makefile.am (TESTS): Added nodist.test. + + * gcj.test: New file. + * Makefile.am (TESTS): Added gcj.test. + +1999-04-08 Tom Tromey + + * cond8.test: New file. + * Makefile.am (TESTS): Added cond8.test. + +1999-04-07 Alexandre Oliva + + * backsl2.test: New file. + * Makefile.am (TESTS): Added backsl2.test. + + * texinfo8.test: texinfo.tex is only disted by aux/Makefile. + + * texinfo8.test: New file. + * Makefile.am (TESTS): Added texinfo8.test. + +1999-03-31 Tom Tromey + + * pluseq2.test, pluseq3.test: Updated for recent \-preservation + change. + +1999-03-31 Alexandre Oliva + + * Makefile.am (XFAIL_TESTS): add confh.test + +1999-03-30 Tom Tromey + + * mclean.test: Fixed typo. + + * mclean.test: New file. + * Makefile.am (TESTS): Added mclean.test. + +1999-03-30 Alexandre Oliva + + * confh.test: if include/Makefile.am is created, the test fails + +1999-04-12 Alexandre Oliva + + * End of merge from trunk. + 1999-04-10 Alexandre Oliva * defs: Create link or copy of depcomp. diff --git a/tests/Makefile.am b/tests/Makefile.am index 39f5132ea..c7ab348b7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,33 +2,35 @@ AUTOMAKE_OPTIONS = gnits +XFAIL_TESTS = TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ -auxdir.test backsl.test badline.test badprog.test block.test \ -canon.test canon2.test canon3.test canon4.test checkall.test \ -clean.test colneq.test colneq2.test colon.test colon2.test colon3.test \ -colon4.test colon5.test colon6.test colon7.test comment.test \ -comment2.test compile_f_c_cxx.test cond.test cond2.test cond3.test \ -cond4.test cond5.test cond6.test cond7.test condman.test condman2.test \ -conf2.test confdist.test confh.test confh2.test confh3.test \ -config.test confincl.test confsub.test confvar.test confvar2.test \ -copy.test cxxcpp.test cxxlibobj.test cxxlink.test cxxnoc.test \ -cxxo.test cygwin32.test defun.test defun2.test dejagnu.test \ -depacl.test depacl2.test depend.test depend3.test \ -discover.test distdir.test dup.test dup2.test else.test empty.test \ -error.test exdir.test exdir2.test exsource.test ext.test extra.test \ -extra3.test extra4.test flibs.test fnoc.test fo.test fonly.test \ -fpinst2.test fpinstall.test gnits.test implicit.test include.test \ -info.test insh.test insh2.test install.test installsh.test \ -instdata.test instexec.test insthook.test instman.test interp.test \ -interp2.test java.test javaprim.test javasubst.test ldadd.test \ -lex.test lex2.test lex3.test libobj.test libobj2.test libobj3.test \ -libobj4.test libobj5.test libobj6.test libobj7.test libobj8.test \ -libobj9.test library.test link_c_cxx.test link_f_c.test \ -link_f_c_cxx.test link_f_cxx.test link_f_only.test lisp.test \ -mdate.test mdate2.test mdate3.test mkinst2.test mkinstall.test \ -nodep.test noinst.test number.test objc.test obsolete.test \ +auxdir.test backsl.test backsl2.test badline.test badprog.test \ +block.test canon.test canon2.test canon3.test canon4.test \ +checkall.test clean.test colneq.test colneq2.test colon.test \ +colon2.test colon3.test colon4.test colon5.test colon6.test \ +colon7.test comment.test comment2.test compile_f_c_cxx.test cond.test \ +cond2.test cond3.test cond4.test cond5.test cond6.test cond7.test \ +cond8.test condman.test condman2.test conf2.test confdist.test \ +confh.test confh2.test confh3.test config.test confincl.test \ +confsub.test confvar.test confvar2.test copy.test cxxcpp.test \ +cxxlibobj.test cxxlink.test cxxnoc.test cxxo.test cygwin32.test \ +defun.test defun2.test dejagnu.test depacl.test depacl2.test \ +depend.test depend3.test discover.test distdir.test \ +dup.test dup2.test else.test empty.test error.test exdir.test \ +exdir2.test exsource.test ext.test extra.test extra3.test extra4.test \ +flibs.test fnoc.test fo.test fonly.test fpinst2.test fpinstall.test \ +gcj.test gcj2.test gnits.test implicit.test include.test info.test \ +insh.test insh2.test install.test installsh.test instdata.test \ +instexec.test insthook.test instman.test interp.test interp2.test \ +java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test \ +lex3.test libobj.test libobj2.test libobj3.test libobj4.test \ +libobj5.test libobj6.test libobj7.test libobj8.test libobj9.test \ +library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test \ +link_f_cxx.test link_f_only.test lisp.test mclean.test mdate.test \ +mdate2.test mdate3.test mkinst2.test mkinstall.test nodep.test \ +nodist.test noinst.test number.test objc.test obsolete.test \ obsolete2.test order.test outdir.test output.test output2.test \ output3.test output4.test output5.test package.test parse.test \ pluseq.test pluseq2.test pluseq3.test pluseq4.test pluseq5.test \ @@ -37,11 +39,12 @@ primary2.test proginst.test ranlib.test recurs.test recurs2.test \ remake.test remake2.test req.test rulepat.test scripts.test seenc.test \ sinclude.test spell.test spell2.test spell3.test spelling.test \ stamph.test stdlib.test subdir.test subdir2.test subdir3.test \ -subst.test symlink.test syntax.test tags.test tagsub.test target.test \ -texinfo.test texinfo2.test texinfo3.test texinfo4.test texinfo5.test \ -texinfo6.test texinfo7.test unused.test version.test version2.test \ +subobj.test subobj2.test subst.test suffix.test symlink.test \ +syntax.test tags.test tagsub.test target.test texinfo.test \ +texinfo2.test texinfo3.test texinfo4.test texinfo5.test texinfo6.test \ +texinfo7.test texinfo8.test unused.test version.test version2.test \ version3.test vpath.test vtexi.test vtexi2.test whoami.test \ -xsource.test yacc.test yaccpp.test +xsource.test yacc.test yacc2.test yacc3.test yaccpp.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/Makefile.in b/tests/Makefile.in index 7d7b7157f..9bd419c58 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -67,33 +67,35 @@ VERSION = @VERSION@ AUTOMAKE_OPTIONS = gnits +XFAIL_TESTS = TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ -auxdir.test backsl.test badline.test badprog.test block.test \ -canon.test canon2.test canon3.test canon4.test checkall.test \ -clean.test colneq.test colneq2.test colon.test colon2.test colon3.test \ -colon4.test colon5.test colon6.test colon7.test comment.test \ -comment2.test compile_f_c_cxx.test cond.test cond2.test cond3.test \ -cond4.test cond5.test cond6.test cond7.test condman.test condman2.test \ -conf2.test confdist.test confh.test confh2.test confh3.test \ -config.test confincl.test confsub.test confvar.test confvar2.test \ -copy.test cxxcpp.test cxxlibobj.test cxxlink.test cxxnoc.test \ -cxxo.test cygwin32.test defun.test defun2.test dejagnu.test \ -depacl.test depacl2.test depend.test depend3.test \ -discover.test distdir.test dup.test dup2.test else.test empty.test \ -error.test exdir.test exdir2.test exsource.test ext.test extra.test \ -extra3.test extra4.test flibs.test fnoc.test fo.test fonly.test \ -fpinst2.test fpinstall.test gnits.test implicit.test include.test \ -info.test insh.test insh2.test install.test installsh.test \ -instdata.test instexec.test insthook.test instman.test interp.test \ -interp2.test java.test javaprim.test javasubst.test ldadd.test \ -lex.test lex2.test lex3.test libobj.test libobj2.test libobj3.test \ -libobj4.test libobj5.test libobj6.test libobj7.test libobj8.test \ -libobj9.test library.test link_c_cxx.test link_f_c.test \ -link_f_c_cxx.test link_f_cxx.test link_f_only.test lisp.test \ -mdate.test mdate2.test mdate3.test mkinst2.test mkinstall.test \ -nodep.test noinst.test number.test objc.test obsolete.test \ +auxdir.test backsl.test backsl2.test badline.test badprog.test \ +block.test canon.test canon2.test canon3.test canon4.test \ +checkall.test clean.test colneq.test colneq2.test colon.test \ +colon2.test colon3.test colon4.test colon5.test colon6.test \ +colon7.test comment.test comment2.test compile_f_c_cxx.test cond.test \ +cond2.test cond3.test cond4.test cond5.test cond6.test cond7.test \ +cond8.test condman.test condman2.test conf2.test confdist.test \ +confh.test confh2.test confh3.test config.test confincl.test \ +confsub.test confvar.test confvar2.test copy.test cxxcpp.test \ +cxxlibobj.test cxxlink.test cxxnoc.test cxxo.test cygwin32.test \ +defun.test defun2.test dejagnu.test depacl.test depacl2.test \ +depend.test depend3.test discover.test distdir.test \ +dup.test dup2.test else.test empty.test error.test exdir.test \ +exdir2.test exsource.test ext.test extra.test extra3.test extra4.test \ +flibs.test fnoc.test fo.test fonly.test fpinst2.test fpinstall.test \ +gcj.test gcj2.test gnits.test implicit.test include.test info.test \ +insh.test insh2.test install.test installsh.test instdata.test \ +instexec.test insthook.test instman.test interp.test interp2.test \ +java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test \ +lex3.test libobj.test libobj2.test libobj3.test libobj4.test \ +libobj5.test libobj6.test libobj7.test libobj8.test libobj9.test \ +library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test \ +link_f_cxx.test link_f_only.test lisp.test mclean.test mdate.test \ +mdate2.test mdate3.test mkinst2.test mkinstall.test nodep.test \ +nodist.test noinst.test number.test objc.test obsolete.test \ obsolete2.test order.test outdir.test output.test output2.test \ output3.test output4.test output5.test package.test parse.test \ pluseq.test pluseq2.test pluseq3.test pluseq4.test pluseq5.test \ @@ -102,11 +104,12 @@ primary2.test proginst.test ranlib.test recurs.test recurs2.test \ remake.test remake2.test req.test rulepat.test scripts.test seenc.test \ sinclude.test spell.test spell2.test spell3.test spelling.test \ stamph.test stdlib.test subdir.test subdir2.test subdir3.test \ -subst.test symlink.test syntax.test tags.test tagsub.test target.test \ -texinfo.test texinfo2.test texinfo3.test texinfo4.test texinfo5.test \ -texinfo6.test texinfo7.test unused.test version.test version2.test \ +subobj.test subobj2.test subst.test suffix.test symlink.test \ +syntax.test tags.test tagsub.test target.test texinfo.test \ +texinfo2.test texinfo3.test texinfo4.test texinfo5.test texinfo6.test \ +texinfo7.test texinfo8.test unused.test version.test version2.test \ version3.test vpath.test vtexi.test vtexi2.test whoami.test \ -xsource.test yacc.test yaccpp.test +xsource.test yacc.test yacc2.test yacc3.test yaccpp.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/backsl2.test b/tests/backsl2.test new file mode 100755 index 000000000..c9c13674b --- /dev/null +++ b/tests/backsl2.test @@ -0,0 +1,17 @@ +#! /bin/sh + +# We must skip the backslash, not complain about `./\' not existing. +# Reported by Rick Scott + +. $srcdir/defs || exit 1 + +echo 'AC_PROG_MAKE_SET' >> configure.in + +cat > Makefile.am << 'END' +SUBDIRS = \ + . +END + +$AUTOMAKE || exit 1 + +exit 0 diff --git a/tests/cond3.test b/tests/cond3.test index 44a37605a..11f90f68a 100755 --- a/tests/cond3.test +++ b/tests/cond3.test @@ -40,4 +40,4 @@ END $AUTOMAKE || exit 1 -test "`grep 'targ_OBJECTS =' Makefile.in | wc -l`" -eq 8 +test "`grep 'am_targ_OBJECTS =' Makefile.in | wc -l`" -eq 8 diff --git a/tests/cond8.test b/tests/cond8.test new file mode 100755 index 000000000..43deacd18 --- /dev/null +++ b/tests/cond8.test @@ -0,0 +1,19 @@ +#! /bin/sh + +# Test to make sure _PROGRAMS conditionals can be written in a useful +# way. + +. $srcdir/defs || exit 1 + +echo 'AC_PROG_CC' >> configure.in +echo 'AM_CONDITIONAL(X, false)' >> configure.in + +cat > Makefile.am << 'END' +if X +bin_PROGRAMS = x y +else +noinst_PROGRAMS = x y +endif +END + +$AUTOMAKE diff --git a/tests/confh.test b/tests/confh.test index 6b7070521..63dd433f8 100755 --- a/tests/confh.test +++ b/tests/confh.test @@ -11,19 +11,28 @@ VERSION=nonesuch AC_ARG_PROGRAM AC_PROG_INSTALL AM_CONFIG_HEADER(include/config.h) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile include/Makefile) END : > Makefile.am : > acconfig.h mkdir include +: > include/Makefile.am : > include/config.h.in $AUTOMAKE || exit 1 -grep '^DIST_COMMON =.* acconfig.h' Makefile.in || exit 1 -grep 'stamp-h.in:.*acconfig.h' Makefile.in || exit 1 +(sed -n -e '/^DIST_COMMON =.*\\$/ { + :loop + p + n + /\\$/ b loop + p + n + }' -e '/^DIST_COMMON =/ p' Makefile.in | grep acconfig.h) || exit 1 + +grep 'stamp-h.in:.*acconfig.h' include/Makefile.in || exit 1 # Make sure re-running automake in a different way generates same # Makefile.in. diff --git a/tests/defs b/tests/defs index 1170d5d43..2273cbee6 100644 --- a/tests/defs +++ b/tests/defs @@ -8,13 +8,14 @@ test -f $srcdir/defs || { exit 1 } -# If srcdir is relative, we need to modify it. +# Always use an absolute srcdir. Otherwise symlinks made in subdirs +# of the test dir just won't work. case "$srcdir" in /*) ;; *) - srcdir="../$srcdir" + srcdir="`cd $srcdir && pwd`" ;; esac diff --git a/tests/gcj.test b/tests/gcj.test new file mode 100755 index 000000000..eb29c3b61 --- /dev/null +++ b/tests/gcj.test @@ -0,0 +1,16 @@ +#! /bin/sh + +# Test of compiled java. + +. $srcdir/defs || exit 1 + +echo 'AC_SUBST(GCJ)' >> configure.in + +cat > Makefile.am << 'END' +bin_PROGRAMS = convert +convert_SOURCES = x/y/convert.java +END + +$AUTOMAKE || exit 1 + +grep '^x/y/convert' Makefile.in diff --git a/tests/gcj2.test b/tests/gcj2.test new file mode 100755 index 000000000..8bf022b39 --- /dev/null +++ b/tests/gcj2.test @@ -0,0 +1,15 @@ +#! /bin/sh + +# Make sure `..' invalid in subdir .o's. + +. $srcdir/defs || exit 1 + +echo 'AC_SUBST(GCJ)' >> configure.in + +cat > Makefile.am << 'END' +bin_PROGRAMS = convert +convert_SOURCES = x/../convert.java +END + +$AUTOMAKE && exit 1 +exit 0 diff --git a/tests/mclean.test b/tests/mclean.test new file mode 100755 index 000000000..bc256d4d7 --- /dev/null +++ b/tests/mclean.test @@ -0,0 +1,16 @@ +#! /bin/sh + +# Make sure MAINTAINERCLEANFILES works. +# Report from Paul D. Smith. + +. $srcdir/defs || exit 1 + +cat > Makefile.am << 'END' +MAINTAINERCLEANFILES = foo +END + +: > FOO + +$AUTOMAKE || exit 1 + +grep 'rm .*MAINTAINERCLEANFILES' Makefile.in diff --git a/tests/nodist.test b/tests/nodist.test new file mode 100755 index 000000000..6e4ed89b8 --- /dev/null +++ b/tests/nodist.test @@ -0,0 +1,27 @@ +#! /bin/sh + +# Test to make sure dist_*_SOURCES and nodist_*_SOURCES work. + +. $srcdir/defs || exit 1 + +echo AC_PROG_CC >> configure.in + +cat > Makefile.am << 'END' +bin_PROGRAMS = eyeball + +eyeball_SOURCES = a.c +nodist_eyeball_SOURCES = b.c +dist_eyeball_SOURCES = c.c +END + +: > a.c +: > b.c +: > c.c + +$AUTOMAKE || exit 1 + +grep '^am_eyeball_OBJECTS' Makefile.in || exit 1 +grep '^DIST_SOURCES =' Makefile.in || exit 1 +grep '^DIST_SOURCES =.*nodist' Makefile.in && exit 1 + +exit 0 diff --git a/tests/pluseq2.test b/tests/pluseq2.test index 69b8b2dd0..9be0a5e5b 100755 --- a/tests/pluseq2.test +++ b/tests/pluseq2.test @@ -25,5 +25,5 @@ END : > dog $AUTOMAKE || exit 1 -fgrep '= zar doz' Makefile.in || exit 1 -fgrep '= dog' Makefile.in +grep 'CHECK_TRUE.*zar doz' Makefile.in || exit 1 +grep 'CHECK_FALSE.*dog' Makefile.in diff --git a/tests/pluseq3.test b/tests/pluseq3.test index f6d935ee6..e44930de5 100755 --- a/tests/pluseq3.test +++ b/tests/pluseq3.test @@ -26,5 +26,6 @@ END : > dog $AUTOMAKE || exit 1 -grep '= zar *doz' Makefile.in || exit 1 -fgrep '= dog' Makefile.in + +grep 'CHECK_TRUE.*doz' Makefile.in || exit 1 +grep 'CHECK_FALSE.*dog' Makefile.in diff --git a/tests/subobj.test b/tests/subobj.test new file mode 100755 index 000000000..f08276d3e --- /dev/null +++ b/tests/subobj.test @@ -0,0 +1,26 @@ +#! /bin/sh + +# Test of subdir objects with C. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AM_PROG_CC_C_O +AC_PROG_CC +END + +cat > Makefile.am << 'END' +AUTOMAKE_OPTIONS = subdir-objects +bin_PROGRAMS = wish +wish_SOURCES = generic/a.c generic/b.c +END + +: > compile + +$AUTOMAKE || exit 1 + +fgrep 'generic/a.o' Makefile.in || exit 1 +grep '[^/]a\.o' Makefile.in && exit 1 + +# Opportunistically test for a different bug. +grep '^generic/b.o:.*dirstamp' Makefile.in diff --git a/tests/subobj2.test b/tests/subobj2.test new file mode 100755 index 000000000..606b19aab --- /dev/null +++ b/tests/subobj2.test @@ -0,0 +1,23 @@ +#! /bin/sh + +# Test of subdir objects with C++. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CXX +END + +cat > Makefile.am << 'END' +AUTOMAKE_OPTIONS = subdir-objects +bin_PROGRAMS = wish +wish_SOURCES = generic/a.cc generic/b.cxx +END + +: > compile + +$AUTOMAKE || exit 1 + +fgrep 'generic/a.o' Makefile.in || exit 1 +grep '[^/]a\.o' Makefile.in && exit 1 +fgrep -e '-c -o' Makefile.in diff --git a/tests/suffix.test b/tests/suffix.test new file mode 100755 index 000000000..3556a3989 --- /dev/null +++ b/tests/suffix.test @@ -0,0 +1,20 @@ +#! /bin/sh + +# Make sure a suffix rule for C compilation is produced. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +END + +cat > Makefile.am << 'END' +noinst_PROGRAMS = foo +END + +$AUTOMAKE -i || exit 1 + +grep '^\.c\.o' Makefile.in > /dev/null || exit 1 + +$AUTOMAKE || exit 1 +grep '%\.o: %\.c' Makefile.in > /dev/null || exit 1 diff --git a/tests/texinfo8.test b/tests/texinfo8.test new file mode 100755 index 000000000..176cdaf49 --- /dev/null +++ b/tests/texinfo8.test @@ -0,0 +1,37 @@ +#! /bin/sh + +# Test to make sure texinfo.tex is correctly installed and disted by +# -a when we're using AC_CONFIG_AUX_DIR. Bug report by by Per +# Cederqvist. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_ARG_PROGRAM +AC_PROG_INSTALL +AC_OUTPUT(Makefile aux/Makefile) +AC_CONFIG_AUX_DIR(aux) +END + +cat > Makefile.am << 'END' +info_TEXINFOS = textutils.texi +END + +echo '@setfilename textutils.info' > textutils.texi + +test -d aux || mkdir aux + +cat > aux/Makefile.am << 'END' +magic: + @echo $(DISTFILES) +END + +$AUTOMAKE -a || exit 1 + +test -f aux/texinfo.tex && +$MAKE -s -f aux/Makefile.in SHELL=/bin/sh magic | grep 'texinfo\.tex' +stat=$? + +exit $stat diff --git a/tests/yacc2.test b/tests/yacc2.test new file mode 100755 index 000000000..e6f319ed0 --- /dev/null +++ b/tests/yacc2.test @@ -0,0 +1,51 @@ +#! /bin/sh + +# Test to make sure intermediate .h file is not generated nor removed +# if (AM_)?YFLAGS do not contain -d. Requested by Jim Meyering. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +AC_PROG_YACC +END + +cat > Makefile.am <<'END' +bin_PROGRAMS = zardoz +zardoz_SOURCES = zardoz.y +END + +$AUTOMAKE || exit 1 + +# If zardoz.h IS mentioned, fail +grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + +echo 'AM_YFLAGS = -d' >> Makefile.am + +$AUTOMAKE || exit 1 + +# If zardoz.h is NOT mentioned, fail +grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + +echo 'AM_YFLAGS = ' >> Makefile.am + +$AUTOMAKE || exit 1 + +# If zardoz.h IS mentioned, fail +grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + +echo 'YFLAGS = -d' >> Makefile.am + +$AUTOMAKE || exit 1 + +# If zardoz.h is NOT mentioned, fail +grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + +echo 'YFLAGS = ' >> Makefile.am + +$AUTOMAKE || exit 1 + +# If zardoz.h IS mentioned, fail +grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + +exit 0 diff --git a/tests/yacc3.test b/tests/yacc3.test new file mode 100755 index 000000000..cbfe66b37 --- /dev/null +++ b/tests/yacc3.test @@ -0,0 +1,32 @@ +#! /bin/sh + +# Ensure that generated .h file is distributed iff we have -d in +# (AM_)?YFLAGS. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +AC_PROG_YACC +END + +cat > Makefile.am <<'END' +bin_PROGRAMS = zardoz +zardoz_SOURCES = zardoz.y +magic: + @echo $(DIST_COMMON) +END + +$AUTOMAKE || exit 1 + +# It should not be disted here +$MAKE -f Makefile.in SHELL=/bin/sh magic | +grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + +echo 'YFLAGS = -d' >> Makefile.am + +$AUTOMAKE || exit 1 + +# But it should here +$MAKE -f Makefile.in SHELL=/bin/sh magic | +grep 'zardoz.h' Makefile.in > /dev/null diff --git a/version.texi b/version.texi index d0a06f902..27436269e 100644 --- a/version.texi +++ b/version.texi @@ -1,3 +1,3 @@ -@set UPDATED 26 March 1999 +@set UPDATED 9 April 1999 @set EDITION 1.4a @set VERSION 1.4a