Tom Tromey [Thu, 14 Jan 1999 22:45:40 +0000 (22:45 +0000)]
* automake.in (handle_configure): Compute $header_dir based on
$one_name, not $one_hdr. Reported by Erez Zadok. Fixes
confh2.test.
(handle_configure): Compute relative path to input header
correctly in all cases.
Tom Tromey [Mon, 11 Jan 1999 14:07:32 +0000 (14:07 +0000)]
1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
* automake.in (PATH_PATTERN): New variable:
(INCLUDE_PATTERN): Use it. Ignore all include commands using
symbols besides $(top_srcdir) and $(srcdir).
Tom Tromey [Mon, 11 Jan 1999 14:00:55 +0000 (14:00 +0000)]
1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
* automake.in (handle_dist_worker): avoid failure in `make dist'
if last file is a builddir-only file
Tom Tromey [Sun, 10 Jan 1999 21:06:52 +0000 (21:06 +0000)]
1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
* automake.in (handle_configure, stamp_dir): create only one stamp
file per header, instead of one in the top-level directory and one
in the directory that contains the header.
Tom Tromey [Sun, 10 Jan 1999 21:00:56 +0000 (21:00 +0000)]
1999-01-10 Tom Tromey <tromey@cygnus.com>
* automake.in (objc_extensions): New sub.
(handle_dependencies): Only generate dependency-tracking code for
ObjC when ObjC source seen.
1998-12-22 Marcus G. Daniels <mgd@chama.santafe.edu>
* automake.in (handle_dependencies): Transform EXT & PFX in
Objective C case.
1998-12-11 Marcus G. Daniels <mgd@chama.santafe.edu>
* 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.
Tom Tromey [Sun, 10 Jan 1999 20:39:23 +0000 (20:39 +0000)]
* 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.
Tom Tromey [Sun, 10 Jan 1999 18:12:43 +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
Tom Tromey [Thu, 7 Jan 1999 11:53:12 +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.
Tom Tromey [Thu, 7 Jan 1999 11:19:04 +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!
Tom Tromey [Wed, 6 Jan 1999 13:11:37 +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.
Tom Tromey [Wed, 6 Jan 1999 13:01:23 +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.
Tom Tromey [Mon, 21 Dec 1998 13:32:54 +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>
Tom Tromey [Mon, 21 Dec 1998 13:22:53 +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.
Tom Tromey [Mon, 21 Dec 1998 13:11:53 +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.
Tom Tromey [Fri, 11 Dec 1998 00:32:30 +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.
Tom Tromey [Tue, 1 Dec 1998 16:02:48 +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.
Tom Tromey [Fri, 27 Nov 1998 22:55:41 +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.
Tom Tromey [Wed, 18 Nov 1998 12:11:17 +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.
Tom Tromey [Tue, 10 Nov 1998 16:37:50 +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_'.
Tom Tromey [Fri, 30 Oct 1998 14:14:59 +0000 (14:14 +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.
Tom Tromey [Wed, 28 Oct 1998 00:47:31 +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.
Tom Tromey [Fri, 16 Oct 1998 10:09:28 +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.
Tom Tromey [Tue, 13 Oct 1998 18:57:09 +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.