3 $description = "Test the value function.";
5 $details = "This is a test of the value function in GNU make.
6 This function will evaluate to the value of the named variable with no
7 further expansion performed on it.\n";
9 open(MAKEFILE,"> $makefile");
11 print MAKEFILE <<'EOF';
15 static := FOO = $(value FOO)
17 all: ; @echo $(recurse) $(value recurse) $(static) $(value static)
22 &run_make_with_options($makefile, "", &get_logfile);
24 # Create the answer to what should be produced by this Makefile
25 $answer = "FOO = OO FOO = foo FOO = foo FOO = foo\n";
28 &compare_output($answer,&get_logfile(1));