perl5 icon indicating copy to clipboard operation
perl5 copied to clipboard

Configure ignores config.sh for various locale-related settings

Open khwilliamson opened this issue 1 year ago • 2 comments

Description

If config.sh contains, for example, a value for d_has_C_UTF8 or d_setlocale_accepts_any_locale_name, those values are ignored. There may be others like this.

Spotted by @mauke

Steps to Reproduce

Change the values in config.sh; then run Configure. The changed values are ignored.

Expected behavior

The Configure should point out the inconsistency and ask the user what to do Perl configuration

# perl -V output goes here

This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi (with 60 registered patches, see perl -V for more detail)

khwilliamson avatar Dec 12 '23 17:12 khwilliamson

There are truckloads of those. In order to have them use the default from config.sh, all have to be rewritten to use case

Tux avatar Dec 13 '23 12:12 Tux

In this case, we are using case, but the C program that gets called finds out three different (but very related) things, so if the main thing it finds is in config.sh, it's works correctly (I believe), but the subsidiary items, if overridden by config.sh are reset to what it found.

khwilliamson avatar Dec 13 '23 16:12 khwilliamson