/[make]/make/tests/scripts/functions/eval
ViewVC logotype

Diff of /make/tests/scripts/functions/eval

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by psmith, Tue Sep 21 13:51:58 2004 UTC revision 1.6 by psmith, Mon Feb 28 07:48:23 2005 UTC
# Line 158  $(eval $(FOO)) Line 158  $(eval $(FOO))
158  ', '', 'hello  ', '', 'hello
159  world');  world');
160    
161    
162    # We don't allow new target/prerequisite relationships to be defined within a
163    # command script, because these are evaluated after snap_deps() and that
164    # causes lots of problems (like core dumps!)
165    # See Savannah bug # 12124.
166    
167    run_make_test('deps: ; $(eval deps: foo)', '',
168                  '#MAKEFILE#:1: *** prerequisites cannot be defined in command scripts.  Stop.',
169                  512);
170    
171  1;  1;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26