Re: [PATCH] Fix configure --with-bundled-regex test.
"Kevin J. McCarthy" <[email protected]> Thu, 4 Jun 2026 18:42:06 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 03, 2026 at 09:45:40PM +0800, Kevin J. McCarthy wrote: >The documentation in autoconf says: > > — Macro: AC_ARG_WITH(PACKAGE, HELP-STRING, [ACTION-IF-GIVEN], > [ACTION-IF-NOT-GIVEN]) > If the user gave ‘configure’ the option ‘--with-PACKAGE’ or > ‘--without-PACKAGE’, run shell commands ACTION-IF-GIVEN. If > neither option was given, run shell commands ACTION-IF-NOT-GIVEN. > >This means the third parameter is evaluatated in both cases: >--with-bundled-regex and --without-bundled-regex. >And thus the code was incorrectly turning mutt_cv_regex on for both >cases, skipping the broken regex test further below. > >Fix it to properly set mutt_cv_regex. Further below, configure will >check the built-in system regex works if the value is 'no'. I don't think this is very controversial, so I've pushed it up to master to be included in the 2.4.0 release. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmohVn4ACgkQre92hIAx a9pDww//QH6iX+t+0410xRelcW/yuIGrIb3E2mc8K7pDGvDP0SnJqULWa8i14gVP a5We5qMGc40dfTXH+tYXyEeud160rycGm5linYcbcpb9nCC4TlHlKeOu1w25I9ST OapaamuoLiqvuniXoMD3RG7SSgWB6RoqYKtig68zJi0o0chaRAVfosBEteJ/S1iM mR37clzQtBPDzpa1b/gWajgXVMjeIhtW3Q5TgbD0fELkb8VvaF29S2GoHvOV0J2p 8hyA6mA1X7fH5fIws1KD8xHuxrWivTedKXC/iOy8aderhwy+PdK4UdAlyC3L4p+g hgw1mSXqU57zTv7HLLf1swl+K4gt1+w9JcZ39GEqDuNOdZNJSQvdhA01Bzbny+Md p5o6Gby0sYcG6LRD6oGGwgY+Jq7x8Qut0rWISzjbmJGzut+p4FIL1b4XpgT817LG nNvLobVfk46ag4x/Slj2y26hVGOZ2leTNUdU/2xb8lzzg67McArc1hp2W6NVhN3D br9NV6XlDkwRPajUBfhu8mrVN6IJJBTpvy+WOIi0uz8FtUSoGuo1GrY2nJ2EQ7jB I6MeBmUdS5diljQvethf7/2a4iV7Qe8icX3xrwoCi+akLovv8bLEgPIHCNHiUv0B V7vJvK2FQJ/4X/2z8wNpYl34xj9r0GUJD9W4d5auXh4y5J8Q31s= =/zmU -----END PGP SIGNATURE-----