Tom Tromey [Thu, 25 Mar 1999 17:38:27 +0000 (17:38 +0000)]
1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
Tom Tromey [Mon, 22 Mar 1999 11:49:42 +0000 (11:49 +0000)]
1999-02-01 Thomas Tanner <tanner@gmx.de>
* automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
warning when AM_PROG_LIBTOOL was found
* automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
Tom Tromey [Sun, 21 Mar 1999 23:27:58 +0000 (23:27 +0000)]
Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
* automake.in (define_standard_variables): New sub.
(read_main_am_file): Use two passes to scan standard variables.
(read_am_file): Don't special-case configure variables with `+='.
(initialize_per_input): Initialize %var_was_plus_eq.
(read_am_file): Set var_was_plus_eq element correctly.
(define_variable): Give error if variable assigned with `+=' is
internally defined.
(initialize_per_input): Initialize %am_var_defs.
(file_contents_with_transform): Set element in %am_var_defs.
(read_am_file): Use %am_var_defs.
Tom Tromey [Sun, 21 Mar 1999 21:08:17 +0000 (21:08 +0000)]
* subdir3.test: New file.
* Makefile.am (TESTS): Added subdir3.test.
* xsource.test: Changed to check whether multiple source files
with same object name cause failure.
Tom Tromey [Thu, 11 Mar 1999 22:52:32 +0000 (22:52 +0000)]
From Jim Meyering:
* automake.in (handle_dist): Add `;\' to end of distcheck-hook
line.
(scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
legitimate ending. Fixes libobj9.test.
Tom Tromey [Thu, 11 Mar 1999 22:31:02 +0000 (22:31 +0000)]
From Ralf Corsepius. Fixes lex3.test.
* automake.in (lang_yacc_finish): Include `.' in name pushed onto
maintainer-clean list.
(lang_lex_finish): Likewise.
Tom Tromey [Mon, 1 Mar 1999 20:46:49 +0000 (20:46 +0000)]
Fixes from Pavel Roskin:
* automake.in (variable_conditions_sub): Sort list passed to
variable_conditions_permutations.
(variable_conditions): Sort list before returning.
Tom Tromey [Sat, 27 Feb 1999 12:22:45 +0000 (12:22 +0000)]
* automake.in (lang_extensions): New sub.
(handle_dependencies): Use it.
(cxx_extensions): Removed.
(lang_cxx_finish): Use lang_extensions.
(f77_extensions): Removed.
(lang_f77_finish): Use lang_extensions.
(objc_extensions): Removed.
(lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
Report from Dave Morrison.
(lang_ratfor_finish): Likewise.
Tom Tromey [Thu, 11 Feb 1999 21:35:16 +0000 (21:35 +0000)]
* aclocal.in (obsolete_macros): Copied from automake.in.
(obsolete_rx): Use only keys of obsolete_macros.
(scan_configure): Report replacement macro for an obsolete macro.
* automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
Tom Tromey [Tue, 9 Feb 1999 23:58:00 +0000 (23:58 +0000)]
1999-02-07 Paul Eggert <eggert@twinsun.com>
* m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
-D_HPUX_SOURCE, since -Ae allows `long long' and this is
needed by some programs.
Tom Tromey [Fri, 22 Jan 1999 14:18:09 +0000 (14:18 +0000)]
* automake.in (require_file_internal): Correctly examine return
value of `system'. From Andris Pavenis. Fixes copy.test.
* m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
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.