From: Tom Tromey Date: Wed, 6 Aug 1997 02:23:05 +0000 (+0000) Subject: don't use $< in non-suffix rules X-Git-Tag: Release-1-2b~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3226beabb247a669c72f943e22bccef693b9fb3;p=thirdparty%2Fautomake.git don't use $< in non-suffix rules --- 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; }