platform/upstream/automake.git
25 years ago * aclocal.in (write_aclocal): Updated copyright.
Tom Tromey [Sun, 10 Jan 1999 18:37:08 +0000 (18:37 +0000)]
* 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.

25 years ago1999-01-10 Tom Tromey <tromey@cygnus.com>
Tom Tromey [Sun, 10 Jan 1999 18:12:44 +0000 (18:12 +0000)]
1999-01-10  Tom Tromey  <tromey@cygnus.com>
* remake-hdr.am: Provide `else' clause for each `if'.
1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
* remake-hdr.am: recover from removal of config headers, and try
to get real timestamps, which is useful for CVS files

25 years agoAdded Brian Jones to THANKS
Tom Tromey [Sun, 10 Jan 1999 18:07:14 +0000 (18:07 +0000)]
Added Brian Jones to THANKS

25 years ago * pluseq5.test: New file.
Tom Tromey [Sun, 10 Jan 1999 18:06:17 +0000 (18:06 +0000)]
* pluseq5.test: New file.
* Makefile.am (TESTS): Added pluseq5.test.

25 years ago * automake.in (handle_merge_targets): Don't special-case "-local"
Tom Tromey [Sun, 10 Jan 1999 18:03:36 +0000 (18:03 +0000)]
* automake.in (handle_merge_targets): Don't special-case "-local"
targets.  Test all.test.

25 years ago * all.test: Test all *-local targets, not just all-local.
Tom Tromey [Sun, 10 Jan 1999 18:00:35 +0000 (18:00 +0000)]
* all.test: Test all *-local targets, not just all-local.

25 years ago * all.test: New file.
Tom Tromey [Sun, 10 Jan 1999 17:42:48 +0000 (17:42 +0000)]
* all.test: New file.
* Makefile.am (TESTS): Added all.test.

25 years ago * automake.in (handle_texinfo): Prepend $(srcdir) to directory
Tom Tromey [Sun, 10 Jan 1999 17:27:08 +0000 (17:27 +0000)]
* automake.in (handle_texinfo): Prepend $(srcdir) to directory
used to find texinfo.tex.  Report from Glenn Amerine.

25 years ago Based on report from Marcus G. Daniels. Fixes include.test.
Tom Tromey [Thu, 7 Jan 1999 11:53:16 +0000 (11:53 +0000)]
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.

25 years ago * include.test: New file.
Tom Tromey [Thu, 7 Jan 1999 11:34:14 +0000 (11:34 +0000)]
* include.test: New file.
* Makefile.am (TESTS): Added include.test.

25 years ago1999-01-06 Gary V. Vaughan <garyv@oranda.demon.co.uk>
Tom Tromey [Thu, 7 Jan 1999 11:19:06 +0000 (11:19 +0000)]
1999-01-06  Gary V. Vaughan  <garyv@oranda.demon.co.uk>
* 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!

25 years ago1998-12-24 Thomas Tanner <tanner@gmx.de>
Tom Tromey [Wed, 6 Jan 1999 13:11:38 +0000 (13:11 +0000)]
1998-12-24  Thomas Tanner  <tanner@gmx.de>
* automake.in (handle_ltlibraries): check whether -module was
defined for libraries names without 'lib' prefix.

25 years agoFri Dec 11 10:20:42 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
Tom Tromey [Wed, 6 Jan 1999 13:01:38 +0000 (13:01 +0000)]
Fri Dec 11 10:20:42 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
* 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  <langston@SLAC.Stanford.EDU>
* 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.

25 years ago * depend2.am (%.o): Use \012, not \n, to avoid losing `tr's. From
Tom Tromey [Wed, 6 Jan 1999 12:41:34 +0000 (12:41 +0000)]
* depend2.am (%.o): Use \012, not \n, to avoid losing `tr's.  From
Bill Currie.
(%.lo): Likewise.

25 years ago * depend2.am: Don't assume backslash can't occur in the middle of
Tom Tromey [Tue, 22 Dec 1998 12:14:05 +0000 (12:14 +0000)]
* depend2.am: Don't assume backslash can't occur in the middle of
filename; it loses on M$W

25 years ago * automake.in (handle_libraries): Reverted Thomas Tanner's
Tom Tromey [Mon, 21 Dec 1998 13:50:22 +0000 (13:50 +0000)]
* automake.in (handle_libraries): Reverted Thomas Tanner's
change.  Non-libtool libraries still must fit naming
requirements.

25 years ago1998-12-21 Alexandre Oliva <oliva@dcc.unicamp.br>
Tom Tromey [Mon, 21 Dec 1998 13:44:14 +0000 (13:44 +0000)]
1998-12-21  Alexandre Oliva  <oliva@dcc.unicamp.br>
* automake.in (handle_configure): Dist inputs for AC_OUTPUT.

25 years ago1998-12-21 Alexandre Oliva <oliva@dcc.unicamp.br>
Tom Tromey [Mon, 21 Dec 1998 13:32:57 +0000 (13:32 +0000)]
1998-12-21  Alexandre Oliva  <oliva@dcc.unicamp.br>
* depend2.am: don't use .p and .P for dependencies; it loses on
case-insensitive filesystems.
Reported by Henrik Frystyk Nielsen <frystyk@w3.org>

25 years ago1998-12-20 Thomas Tanner <tanner@gmx.de>
Tom Tromey [Mon, 21 Dec 1998 13:22:54 +0000 (13:22 +0000)]
1998-12-20  Thomas Tanner  <tanner@gmx.de>
* automake.in (handle_libraries, handle_ltlibraries): relax the
name checking to not enforce `^lib.*' for the sake of building libtool
modules.

25 years ago * automake.in (do_one_merge_target): Special case
Tom Tromey [Mon, 21 Dec 1998 13:11:55 +0000 (13:11 +0000)]
* 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.

25 years ago * insthook.test: Updated to fail when it should.
Tom Tromey [Mon, 21 Dec 1998 13:02:05 +0000 (13:02 +0000)]
* insthook.test: Updated to fail when it should.

25 years ago * tags.am (ID): Uniquify list of sources. Report from Jim
Tom Tromey [Wed, 16 Dec 1998 12:35:00 +0000 (12:35 +0000)]
* tags.am (ID): Uniquify list of sources.  Report from Jim
Meyering.

25 years agoAdded a person to THANKS
Tom Tromey [Fri, 11 Dec 1998 14:10:11 +0000 (14:10 +0000)]
Added a person to THANKS

25 years ago * insthook.test: New file.
Tom Tromey [Fri, 11 Dec 1998 14:09:47 +0000 (14:09 +0000)]
* insthook.test: New file.
* Makefile.am (TESTS): Added insthook.test.

25 years ago Bug report from Paul D. Smith:
Tom Tromey [Fri, 11 Dec 1998 00:32:34 +0000 (00:32 +0000)]
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.

25 years ago * automake.in (handle_dist): Print prettier banner when
Tom Tromey [Thu, 3 Dec 1998 11:42:08 +0000 (11:42 +0000)]
* automake.in (handle_dist): Print prettier banner when
`make dist' succeeds.  From Akim Demaille.

25 years ago * configure.in: Upped version to 1.3e (1.3d was just released).
Tom Tromey [Wed, 2 Dec 1998 13:15:20 +0000 (13:15 +0000)]
* configure.in: Upped version to 1.3e (1.3d was just released).

25 years agoUpdated NEWS
Tom Tromey [Wed, 2 Dec 1998 12:48:21 +0000 (12:48 +0000)]
Updated NEWS

25 years ago * configure.in: Upped version to 1.3d.
Tom Tromey [Wed, 2 Dec 1998 12:47:00 +0000 (12:47 +0000)]
* configure.in: Upped version to 1.3d.

25 years ago * texinfo.tex, config.guess, config.sub, install-sh: New
Tom Tromey [Wed, 2 Dec 1998 12:42:28 +0000 (12:42 +0000)]
* texinfo.tex, config.guess, config.sub, install-sh: New
versions.
* ansi2knr.c: New version.

25 years ago * automake.in (handle_configure): Quote @MAINTAINER_MODE_TRUE@ to
Tom Tromey [Wed, 2 Dec 1998 12:22:11 +0000 (12:22 +0000)]
* automake.in (handle_configure): Quote @MAINTAINER_MODE_TRUE@ to
avoid problems where AM_MAINTAINER_MODE is put into automake's own
configure.in.

25 years ago * Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir.
Tom Tromey [Wed, 2 Dec 1998 12:16:32 +0000 (12:16 +0000)]
* Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir.

25 years agoTODO update
Tom Tromey [Wed, 2 Dec 1998 12:11:35 +0000 (12:11 +0000)]
TODO update

25 years ago Some bugs from François Pinard:
Tom Tromey [Wed, 2 Dec 1998 11:55:28 +0000 (11:55 +0000)]
Some bugs from François Pinard:
* automake.in (usage): Remove duplicates in file list.

25 years ago * automake.in (usage): Print files in column-major order.
Tom Tromey [Wed, 2 Dec 1998 11:50:57 +0000 (11:50 +0000)]
* automake.in (usage): Print files in column-major order.
(handle_gettext): Only require ABOUT-NLS for GNU programs.

25 years agomore TODO updates
Tom Tromey [Tue, 1 Dec 1998 17:36:11 +0000 (17:36 +0000)]
more TODO updates

25 years ago * automake.texi (Dist): Documented GZIP_ENV.
Tom Tromey [Tue, 1 Dec 1998 16:02:51 +0000 (16:02 +0000)]
* 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.

25 years agominor TODO updates
Tom Tromey [Tue, 1 Dec 1998 15:35:12 +0000 (15:35 +0000)]
minor TODO updates

25 years ago * automake.in (quote_cond_val): Use "\002", not '\002', to
Tom Tromey [Fri, 27 Nov 1998 22:55:43 +0000 (22:55 +0000)]
* 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.

25 years ago * cond7.test: New file. From Pavel Roskin.
Tom Tromey [Fri, 27 Nov 1998 21:26:36 +0000 (21:26 +0000)]
* cond7.test: New file.  From Pavel Roskin.
* Makefile.am (TESTS): New file.

25 years ago * automake.texi: Formatting changes for latest texinfo.
Tom Tromey [Fri, 27 Nov 1998 21:24:48 +0000 (21:24 +0000)]
* automake.texi: Formatting changes for latest texinfo.
* automake.in (handle_java): Removed debugging print.

26 years agoadded some things to do
Tom Tromey [Fri, 20 Nov 1998 21:51:30 +0000 (21:51 +0000)]
added some things to do

26 years ago * automake.in (finish_languages): Use CCLD, not CLD.
Tom Tromey [Wed, 18 Nov 1998 13:30:57 +0000 (13:30 +0000)]
* automake.in (finish_languages): Use CCLD, not CLD.

26 years ago * automake.in (finish_languages): Define CLD; use it in LINK
Tom Tromey [Wed, 18 Nov 1998 12:11:19 +0000 (12:11 +0000)]
* 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.

26 years ago * automake.in (scan_one_configure_file): Recognize
Tom Tromey [Tue, 10 Nov 1998 16:37:53 +0000 (16:37 +0000)]
* 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_'.

26 years agoDoc improvement from Akim Demaille.
Tom Tromey [Tue, 10 Nov 1998 09:51:35 +0000 (09:51 +0000)]
Doc improvement from Akim Demaille.

26 years ago * automake.in (read_am_file): Handle configure_vars case. Test
Tom Tromey [Tue, 10 Nov 1998 09:11:12 +0000 (09:11 +0000)]
* automake.in (read_am_file): Handle configure_vars case.  Test
pluseq4.test.

26 years ago * pluseq4.test: New file.
Tom Tromey [Tue, 10 Nov 1998 09:08:25 +0000 (09:08 +0000)]
* pluseq4.test: New file.
* Makefile.am (TESTS): Added pluseq4.test.

26 years ago * pluseq3.test: New file.
Tom Tromey [Mon, 9 Nov 1998 21:07:23 +0000 (21:07 +0000)]
* pluseq3.test: New file.
* Makefile.am (TESTS): Added pluseq3.test.

26 years ago * automake.in (read_am_file): `conditional_stack' isn't a
Tom Tromey [Mon, 9 Nov 1998 15:13:36 +0000 (15:13 +0000)]
* automake.in (read_am_file): `conditional_stack' isn't a
function.  Correctly add new value to existing value in `+='
case.

26 years ago * pluseq2.test: New file.
Tom Tromey [Mon, 9 Nov 1998 15:09:08 +0000 (15:09 +0000)]
* pluseq2.test: New file.
* Makefile.am (TESTS): Added pluseq2.test.

26 years ago1998-10-29 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
Tom Tromey [Fri, 30 Oct 1998 14:15:04 +0000 (14:15 +0000)]
1998-10-29  Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* automake.in (parse_arguments): Fixed type of -c for copying
1998-10-30  Tom Tromey  <tromey@cygnus.com>
* automake.texi (Install): Documented DESTDIR more fully.  From
Jeff Garzik.

26 years ago * automake.in (MACRO_PATTERN): Recognize `+='.
Tom Tromey [Fri, 30 Oct 1998 14:04:49 +0000 (14:04 +0000)]
* automake.in (MACRO_PATTERN): Recognize `+='.
(BOGUS_MACRO_PATTERN): Likewise.
(read_am_file): Handle `+=' assignments.

26 years ago * pluseq.test: New file.
Tom Tromey [Fri, 30 Oct 1998 13:56:50 +0000 (13:56 +0000)]
* pluseq.test: New file.
* Makefile.am (TESTS): Added pluseq.test.

26 years ago * Makefile.am (maintainer-check): Changed code to be acceptable to
Tom Tromey [Wed, 28 Oct 1998 00:47:35 +0000 (00:47 +0000)]
* 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.

26 years ago * Makefile.am (distclean-local): Typo fix.
Tom Tromey [Wed, 28 Oct 1998 00:43:39 +0000 (00:43 +0000)]
* Makefile.am (distclean-local): Typo fix.

26 years ago * m4/Makefile.am (m4data_DATA): Don't mention f77.m4.
Tom Tromey [Tue, 27 Oct 1998 23:49:11 +0000 (23:49 +0000)]
    * m4/Makefile.am (m4data_DATA): Don't mention f77.m4.
        * m4/f77.m4: Removed; macro now in autoconf proper.

26 years ago * automake.in (handle_dist_worker): Typo fix in code testing to
Tom Tromey [Sat, 24 Oct 1998 19:07:11 +0000 (19:07 +0000)]
* automake.in (handle_dist_worker): Typo fix in code testing to
see if subdir is `.'.  From Raja R Harinath.

26 years ago * m4/lispdir.m4: Fixed sed invocation. From Akim Demaille.
Tom Tromey [Sat, 24 Oct 1998 15:20:31 +0000 (15:20 +0000)]
* m4/lispdir.m4: Fixed sed invocation.  From Akim Demaille.

26 years ago * automake.in (scan_dependency_file): Fixed test on `while' loop.
Tom Tromey [Mon, 19 Oct 1998 23:21:43 +0000 (23:21 +0000)]
    * automake.in (scan_dependency_file): Fixed test on `while' loop.
        Fixes depend2.test.  Report from Akim Demaille.

26 years ago * Makefile.am (TESTS): Sorted tests. From Jeff Garzik.
Tom Tromey [Mon, 19 Oct 1998 23:16:51 +0000 (23:16 +0000)]
    * Makefile.am (TESTS): Sorted tests.  From Jeff Garzik.

26 years ago * automake.in (handle_ltlibraries): Specify `noinst' when
Tom Tromey [Fri, 16 Oct 1998 12:08:58 +0000 (12:08 +0000)]
    * automake.in (handle_ltlibraries): Specify `noinst' when
        computing valid prefixes.  From Ulrich Drepper.

26 years ago * automake.in (scan_dependency_file): Don't give an error if there
Tom Tromey [Fri, 16 Oct 1998 11:43:17 +0000 (11:43 +0000)]
* automake.in (scan_dependency_file): Don't give an error if there
is text after the last line.  Report from Matthew D. Langston.

26 years ago * m4/mktime.m4: Detect glibc mktime bug. From Jim Meyering.
Tom Tromey [Fri, 16 Oct 1998 10:43:44 +0000 (10:43 +0000)]
* m4/mktime.m4: Detect glibc mktime bug.  From Jim Meyering.

26 years ago * Makefile.am (SUBDIRS): Added `.' again.
Tom Tromey [Fri, 16 Oct 1998 10:21:40 +0000 (10:21 +0000)]
    * Makefile.am (SUBDIRS): Added `.' again.

26 years agoUpdated manual to refect noinst_LTLIBRARIES.
Tom Tromey [Fri, 16 Oct 1998 10:16:25 +0000 (10:16 +0000)]
Updated manual to refect noinst_LTLIBRARIES.
Remembered to save buffer with last Makefile.am change.

26 years ago * Makefile.am (EXTRA_DIST): Removed automake.spec.in. From
Tom Tromey [Fri, 16 Oct 1998 10:09:33 +0000 (10:09 +0000)]
    * 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.

26 years agoF77 additions from Matthew D Langston
Tom Tromey [Tue, 13 Oct 1998 18:57:21 +0000 (18:57 +0000)]
F77 additions from Matthew D Langston
* m4/f77.m4: New file.
* m4/Makefile.am (m4data_DATA): Added f77.m4.
* 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).
* automake.texi: Added several new index entries.
* 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.
* automake.texi (C++): Change `@table' to `@vtable'.
* automake.texi (Fortran 77): Add Fortran 77 documentation.

26 years agoF77 changes + some random fixes
Tom Tromey [Tue, 13 Oct 1998 18:51:29 +0000 (18:51 +0000)]
F77 changes + some random fixes
* libobj7.test: Updated to reflect minor change in automake (test
wasn't resilient enough).
* instman.test: Updated to reflect fact that mkinstalldirs will be
in distribution.
* cxxonly.test: Removed.
* Makefile.am (TESTS): Added compile_f_c_cxx.test.
* compile_f_c_cxx.test: New file.
* Makefile.am (TESTS): Added flink.test link_c_cxx.test
link_f_c.test link_f_c_cxx.test link_f_cxx.test link_f_only.test.
Removed flink.test.
* flibs.test: New File.
* link_c_cxx.test: New file.
* link_f_c.test: New file.
* link_f_c_cxx.test: New file.
* link_f_cxx.test: New file.
* link_f_only.test: New file.
* Makefile.am (TESTS): Add cxxonly.test, fonly.test, flink.test,
fnoc.test and fo.test.
* cxxonly.test: New file.
* fonly.test: New file.
* flink.test: New file.
* fnoc.test: New file.
* fo.test: New file.

26 years ago Preliminary (completely untested) multilib support.
Tom Tromey [Sun, 11 Oct 1998 13:07:31 +0000 (13:07 +0000)]
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.

26 years ago * m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use
Tom Tromey [Fri, 9 Oct 1998 11:10:23 +0000 (11:10 +0000)]
* 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.

26 years ago * automake.in (handle_dist): Always include configure.in and
Tom Tromey [Thu, 8 Oct 1998 21:36:36 +0000 (21:36 +0000)]
* automake.in (handle_dist): Always include configure.in and
configure in distribution.  Fixes confdist.test.

26 years ago * confdist.test: New file.
Tom Tromey [Thu, 8 Oct 1998 21:33:41 +0000 (21:33 +0000)]
* confdist.test: New file.
* Makefile.am (TESTS): Added confdist.test.

26 years ago * automake.in (do_one_merge_target): Be silent when running
Tom Tromey [Thu, 8 Oct 1998 20:26:59 +0000 (20:26 +0000)]
* automake.in (do_one_merge_target): Be silent when running
install-exec-am and install-data-am.

26 years ago * automake.in (am_install_var): Added -noextra option.
Tom Tromey [Thu, 8 Oct 1998 10:17:15 +0000 (10:17 +0000)]
* automake.in (am_install_var): Added -noextra option.
(handle_data): Pass -noextra to am_install_var.

26 years ago * extra4.test: New file.
Tom Tromey [Thu, 8 Oct 1998 10:10:51 +0000 (10:10 +0000)]
* extra4.test: New file.
* extra3.test: New file.
* Makefile.am (TESTS): Added extra3.test, extra4.test.

26 years ago * depend2.am (%.lo): Handle case where compiler does not put space
Tom Tromey [Mon, 5 Oct 1998 23:11:13 +0000 (23:11 +0000)]
* depend2.am (%.lo): Handle case where compiler does not put space
before ":".  From Raja R Harinath.
* 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.

26 years ago * badline.test: New file.
Tom Tromey [Mon, 5 Oct 1998 11:53:19 +0000 (11:53 +0000)]
* badline.test: New file.
* Makefile.am (TESTS): Added badline.test.

26 years ago * automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE
Tom Tromey [Sat, 3 Oct 1998 18:26:55 +0000 (18:26 +0000)]
* 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.

26 years agoBug fix from Jim Blandy:
Tom Tromey [Sat, 3 Oct 1998 11:28:01 +0000 (11:28 +0000)]
Bug fix from 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 : ..."

26 years ago * automake.in (handle_configure): Handle case where there is no
Tom Tromey [Sat, 3 Oct 1998 11:19:12 +0000 (11:19 +0000)]
* automake.in (handle_configure): Handle case where there is no
Makefile in the config header directory.  Fixes test config.test.

26 years ago * depend2.am (%.o): Append sed results to .P file in this case
Tom Tromey [Thu, 1 Oct 1998 21:53:55 +0000 (21:53 +0000)]
    * depend2.am (%.o): Append sed results to .P file in this case
        too.  From Raja R Harinath.

26 years ago * m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and
Tom Tromey [Thu, 1 Oct 1998 11:37:29 +0000 (11:37 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and
xemacs install directories.  From Robert Bihlmeyer.

26 years ago * depend2.am: Don't bother trying to delete source file from
Tom Tromey [Thu, 1 Oct 1998 01:36:35 +0000 (01:36 +0000)]
* depend2.am: Don't bother trying to delete source file from
list.

26 years ago * depend2.am (%.o): Handle deleted header file problem.
Tom Tromey [Thu, 1 Oct 1998 01:31:07 +0000 (01:31 +0000)]
* depend2.am (%.o): Handle deleted header file problem.
(%.lo): Likewise.

26 years agocomment fixes
Tom Tromey [Thu, 1 Oct 1998 00:30:16 +0000 (00:30 +0000)]
comment fixes

26 years agoSome bug fixes, plus a complete rewrite of source file handling:
Tom Tromey [Thu, 1 Oct 1998 00:23:45 +0000 (00:23 +0000)]
Some bug fixes, plus a complete rewrite of source file handling:
* 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.
* 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.

26 years ago * colon7.test: New file.
Tom Tromey [Wed, 30 Sep 1998 11:26:36 +0000 (11:26 +0000)]
    * colon7.test: New file.
        * Makefile.am (TESTS): Added colon7.test.

26 years agoA couple bug fixes from Andreas Schwab:
Tom Tromey [Tue, 29 Sep 1998 22:48:00 +0000 (22:48 +0000)]
A couple bug fixes from 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.

26 years ago * config.test: New file.
Tom Tromey [Tue, 29 Sep 1998 12:53:54 +0000 (12:53 +0000)]
* config.test: New file.
* Makefile.am (TESTS): Added config.test.

26 years agoUpdated for new features
Tom Tromey [Tue, 29 Sep 1998 01:48:02 +0000 (01:48 +0000)]
Updated for new features

26 years ago Fixed noinst.test again:
Tom Tromey [Tue, 29 Sep 1998 01:45:21 +0000 (01:45 +0000)]
Fixed noinst.test again:
* automake.in (do_one_merge_target): Special-case `install-am'.
(handle_merge_targets): Don't compute @install variable.

26 years ago Fixes for recurs2.test. Report from Jim Meyering.
Tom Tromey [Tue, 29 Sep 1998 01:28:45 +0000 (01:28 +0000)]
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.

26 years ago * Makefile.am (TESTS): Reference clean.test, not clean.am.
Tom Tromey [Tue, 29 Sep 1998 01:26:20 +0000 (01:26 +0000)]
* Makefile.am (TESTS): Reference clean.test, not clean.am.

26 years ago * recurs2.test: New file, from Jim Meyering.
Tom Tromey [Mon, 28 Sep 1998 14:04:03 +0000 (14:04 +0000)]
* recurs2.test: New file, from Jim Meyering.
* Makefile.am (TESTS): Added recurs2.test.

26 years ago`include' handling from Marcus Daniels:
Tom Tromey [Mon, 28 Sep 1998 02:03:36 +0000 (02:03 +0000)]
`include' handling from Marcus 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.

26 years ago `.' in SUBDIRS changes order of builds:
Tom Tromey [Mon, 28 Sep 1998 01:51:16 +0000 (01:51 +0000)]
`.' 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.

26 years ago * Makefile.am (TESTS): Added clean.am.
Tom Tromey [Mon, 28 Sep 1998 01:47:08 +0000 (01:47 +0000)]
* Makefile.am (TESTS): Added clean.am.
* clean.test: New file.
* ansi2.test: Updated test for new SUBDIRS change.
* noinst.test: Updated test for new SUBDIRS change.
* checkall.test: Added check to make sure check-local is handled.
Updated test for new SUBDIRS change.
* java.test: Updated test for new SUBDIRS change.

26 years ago * automake.texi (Dist): Document EXTRA_DIST change.
Tom Tromey [Sun, 27 Sep 1998 23:02:12 +0000 (23:02 +0000)]
* automake.texi (Dist): Document EXTRA_DIST change.
* automake.in (handle_dist_worker): Allow subdirs in EXTRA_DIST.

26 years ago * automake.in (handle_ltlibraries): Wrote better comment about
Tom Tromey [Sun, 27 Sep 1998 22:43:23 +0000 (22:43 +0000)]
* 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.