You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
non-standard processing of several configure options ignores "=no" #54767
The configure to Makefile option processing for a few options is non-standard. For example, --enable-loadable-sqlite-extensions=no is treated the same as --enable-loadable-sqlite-extensions or --enable-loadable-sqlite-extensions=yes, contrary to standard Autoconf behavior. Reportedly, this behavior also occurs with --with-system-expat=no and --with-system-ffi=no options.
--enable-loadable-sqlite-extensions: still broken on 3.16.0a1+dev. --with-system-expat: already fixed in GH-29547. --with-system-ffi: option removed in 3.12 with GH-100544.
I'll open PR to add the guard for --enable-loadable-sqlite-extensions.
#159728 is merged, so --enable-loadable-sqlite-extensions=no and --disable-loadable-sqlite-extensions now disable extension loading as Autoconf conventions expect. The other two options were already handled, see my comment above.
The fix is on main only. I think this can be closed.
Activity
ned-deily commentedon Nov 28, 2010
[From bpo-10268]
The configure to Makefile option processing for a few options is non-standard. For example, --enable-loadable-sqlite-extensions=no is treated the same as --enable-loadable-sqlite-extensions or --enable-loadable-sqlite-extensions=yes, contrary to standard Autoconf behavior. Reportedly, this behavior also occurs with --with-system-expat=no and --with-system-ffi=no options.
Arfrever commentedon Nov 28, 2010
I'm attaching the patch for py3k branch. A part of this patch could be applied also in 2.7 and 3.1 branches.
Arfrever commentedon Nov 28, 2010
2.7 branch: --with-system-expat and --with-system-ffi
3.1 branch: --with-system-ffi
BreamoreBoy commentedon Jun 26, 2014
Does the patch here or an updated version still need incorporating into the build system?
vasiliyk commentedon Oct 19, 2026
The issue mentioned 3 configure options:
--enable-loadable-sqlite-extensions: still broken on 3.16.0a1+dev.--with-system-expat: already fixed in GH-29547.--with-system-ffi: option removed in 3.12 with GH-100544.I'll open PR to add the guard for
--enable-loadable-sqlite-extensions.gh-54767: Respect --disable-loadable-sqlite-extensions in configure (G…
vasiliyk commentedon Oct 21, 2026
#159728 is merged, so
--enable-loadable-sqlite-extensions=noand--disable-loadable-sqlite-extensionsnow disable extension loading as Autoconf conventions expect. The other two options were already handled, see my comment above.The fix is on main only. I think this can be closed.
ned-deily commentedon Oct 21, 2026
Thanks for the PR!