Sun Apr 27 11:03:36 1997 Tom Tromey <tromey@cygnus.com>
+ * 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.
':', '$(ANSI2KNR)'));
# The ._c files also depend on ansi2knr. We need both because
# some makes don't apply transitivity through implicit rules.
- local (%de_ansi_sources);
- grep (($de_ansi_sources{$_} = $_) =~ s/o$/c/, keys %de_ansi_objects);
+ local (%de_ansi_sources, $val, $x);
+ foreach $x (keys %de_ansi_objects)
+ {
+ $x =~ s/o$/c/;
+ $de_ansi_sources{$x} = 1;
+ }
&pretty_print_rule ('', '', ((sort keys %de_ansi_sources),
':', '$(ANSI2KNR)'));
}
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997 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
clean-kr:
distclean-kr:
- rm -f ansi2knr
maintainer-clean-kr: