Skip to content

Update configure with the latest configure.ac#1650

Closed
tuhaihe wants to merge 1 commit intoapache:mainfrom
tuhaihe:fixx-configure
Closed

Update configure with the latest configure.ac#1650
tuhaihe wants to merge 1 commit intoapache:mainfrom
tuhaihe:fixx-configure

Conversation

@tuhaihe
Copy link
Copy Markdown
Member

@tuhaihe tuhaihe commented Mar 31, 2026

Some changes to configure.ac have been made by the following PRs:

We need to regenerate the configure file by the command autoconf, not simply editing the configure directly. This commit is to generate the latest configure based the latest configure.ac.

OS: Rocky Linux 8
Autoconf: 2.69 (default version in Rocky Linux 8)

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


Some changes to configure.ac have been made by the following PRs:
- apache#1598
- apache#1363

We need to regenerate the `configure` file by the command `autoconf`,
not simply editing the configure directly. This commit is to generate
the latest configure based the latest configure.ac.

OS: Rocky Linux 8
Autoconf: 2.69 (default version in Rocky Linux 8)

else
with_mdblocales=no
with_mdblocales=yes
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it enable mdb_locales by default? If yes, it's bad. It's needed an additional package with custom locales (individual for every installation). For example, one installation could have a frozen libc since Rocky Linux 8 and not change the symbol orders anymore. The second could have a frozen libc in Rocky Linux 9, and so on. I prefer not to enable it. Let's do not give custom locales for users by default, it's only for those who fully understand what it is about.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the commit history, mdblocales has been enabled by default. The configure file in this PR was generated from the current configure.ac using autoconf, which reflects the existing default setting.

I agree with your concern about disabling mdblocales by default. Since this PR is focused on regenerating the configure file from configure.ac, how about we create a separate PR to change the default behavior of mdblocales? That way we can discuss and review the default setting change independently.

What do you think?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a PR on disabling the mdblocales by default: #1651

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this has been done by mistake, let's fix it in another PR

@tuhaihe
Copy link
Copy Markdown
Member Author

tuhaihe commented Apr 1, 2026

Will use #1651. Close this PR.

@tuhaihe tuhaihe closed this Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants