From b3226beabb247a669c72f943e22bccef693b9fb3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 6 Aug 1997 02:23:05 +0000 Subject: [PATCH] don't use $< in non-suffix rules --- ChangeLog | 3 +++ automake.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2355c1aa..701f277ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Aug 5 17:49:54 1997 Tom Tromey + * 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. diff --git a/automake.in b/automake.in index 48793c984..09e978f13 100755 --- a/automake.in +++ b/automake.in @@ -921,7 +921,7 @@ sub handle_yacc_lex_cxx foreach $base (sort (keys %de_ansi_files)) { $output_rules .= $base . "_.c: $base.c\n\t" - . '$(ANSI2KNR) $< ' . $base . "_.c\n"; + . '$(ANSI2KNR) ' . $base . '.c ' . $base . "_.c\n"; push (@objects, $base . '_.o'); push (@objects, $base . '_.lo') if $seen_libtool; } -- 2.47.3