253 |
|
|
254 |
# Find the full pathname of Make. For DOS systems this is more |
# Find the full pathname of Make. For DOS systems this is more |
255 |
# complicated, so we ask make itself. |
# complicated, so we ask make itself. |
256 |
$make_path = `sh -c 'echo "all:;\@echo \\\$(MAKE)" | $make_path -f-'`; |
my $mk = `sh -c 'echo "all:;\@echo \\\$(MAKE)" | $make_path -f-'`; |
257 |
chop $make_path; |
chop $mk; |
258 |
|
$mk or die "FATAL ERROR: Cannot determine the value of \$(MAKE):\n |
259 |
|
'echo \"all:;\@echo \\\$(MAKE)\" | $make_path -f-' failed!\n"; |
260 |
|
$make_path = $mk; |
261 |
print "Make\t= `$make_path'\n" if $debug; |
print "Make\t= `$make_path'\n" if $debug; |
262 |
|
|
263 |
$string = `$make_path -v -f /dev/null 2> /dev/null`; |
$string = `$make_path -v -f /dev/null 2> /dev/null`; |