Since I closed this ticket in January, more code has been added.
Tonight, while writing unit tests for internal subroutine
_handle_ncurses_need(), I noticed the following lines:
if ( $osname =~ /mswin32/i ) {
if ( $cc =~ /^gcc/i ) {
$conf->data->add( ' ', libs => '-lncuses' ); ### <-- ???
}
else {
$conf->data->add( ' ', libs => 'ncurses.lib' );
}
}
else {
$conf->data->add( ' ', libs => '-lncurses' );
}
Based on code in other config steps, I would have expected the line
marked ### to read:
$conf->data->add( ' ', libs => '-lncurses' );
... i.e., the same as the 'non-win32' branch seven lines farther down.
Feature or bug?
If the latter, we'll need to fix in config/auto/readline.pm and
t/steps/auto_readline-02.t.
Thank you very much.
kid51