This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: reuse "cached" value of "none" for dir
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 25 Jul 2019 14:09:55 +0000 (16:09 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 25 Jul 2019 14:09:55 +0000 (16:09 +0200)
commita8dbc3a4eb2786c64e9f0341713dfd72f75aba12
tree116ee259219933642395c859f53b680704d73d35
parentb43c708ad6587be0945a81b1f04142f110ecb471
Configure: reuse "cached" value of "none" for dir

When value of a directory (i.e. man1dir) is set to "none" because of:
- '-D' option set on cmdline (i.e. -Dman1dir=none) OR
- because value is reused from previous configure run

And when the prefix is different from the previous configure run(*) then
keep the value of "none". predefined/cached value does not contain the
old prefix so there is no harm in keeping it.

(*): due to another bug this also happens when prefix ends with a
     trailing slash

See https://rt.perl.org/Ticket/Display.html?id=134284
Configure