diff --git a/config/inter/make.pm b/config/inter/make.pm
index 2d315b9..996bd86 100644
|
a
|
b
|
|
| 112 | 112 | sub _set_make_c { |
| 113 | 113 | my ($conf, $prog) = @_; |
| 114 | 114 | if ( $conf->data->get('gmake_version') ) { |
| 115 | | $conf->data->set( make_c => "$prog -C" ); |
| | 115 | $conf->data->set( make_c => "+$prog -C" ); |
| 116 | 116 | } |
| 117 | 117 | else { |
| 118 | | |
| 119 | | # get the default value |
| 120 | | my $make_c = $conf->data->get('make_c'); |
| 121 | | |
| 122 | | # TT #1049: this is an ugly hack |
| 123 | | # replace the value for $(MAKE) with the actual path or we'll end up |
| 124 | | # with a variable that recursively refers to itself |
| 125 | | $make_c =~ s/\$\(MAKE\)/$prog/; |
| 126 | | |
| 127 | | $conf->data->set( make_c => $make_c ); |
| | 118 | # The default value is fine. |
| 128 | 119 | } |
| 129 | 120 | } |
| 130 | 121 | |