bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-automake] A solution to inner expansion problem?


From: Ray Simard
Subject: [bug-automake] A solution to inner expansion problem?
Date: Fri, 02 Jul 2004 16:17:39 -0700
User-agent: Mozilla Thunderbird 0.5+ (X11/20040212)

The approach in the following patch survives the battery of tests
in the automake 1.8 source (unlike the last suggestion)
and solves the immediate problem with dep files created with the
names of makefile variables instead of the variables' expansions.
It alters define_objects_from_sources to enable inner expansion.
Any ideas about this?

diff -uNr automake-1.8.5/automake.in automake-1.8.5/automake.in
--- automake-1.8.5/automake.in  2004-07-02 00:10:36.000000000 -0700
+++ automake-1.8.5/automake.in  2004-07-02 00:19:55.000000000 -0700
@@ -1751,7 +1751,7 @@
                                                  $one_file, $obj, $val);
       $needlinker = "true" if @trans;
       return @trans;
-     });
+     },('inner_expand',1));

  return $needlinker;
}
================================================
Ray Simard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]