Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The ``--enable-loadable-sqlite-extensions=no`` and
``--disable-loadable-sqlite-extensions`` configure options now disable
loadable SQLite extensions instead of enabling them.
23 changes: 15 additions & 8 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 15 additions & 14 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4630,21 +4630,22 @@ AC_ARG_ENABLE([loadable-sqlite-extensions],
support loadable extensions in the sqlite3 module, see
Doc/library/sqlite3.rst (default is no)
]
), [
AS_VAR_IF([have_sqlite3_load_extension], [no], [
AC_MSG_RESULT([n/a])
AC_MSG_WARN([Your version of SQLite does not support loadable extensions])
], [
AC_MSG_RESULT([yes])
AC_DEFINE(
[PY_SQLITE_ENABLE_LOAD_EXTENSION], [1],
[Define to 1 to build the sqlite module with loadable extensions support.]
)
])
], [
AC_MSG_RESULT([no])
]
), [], [enable_loadable_sqlite_extensions=no]
)
AS_VAR_IF([enable_loadable_sqlite_extensions], [yes], [
AS_VAR_IF([have_sqlite3_load_extension], [no], [
AC_MSG_RESULT([n/a])
AC_MSG_WARN([Your version of SQLite does not support loadable extensions])
], [
AC_MSG_RESULT([yes])
AC_DEFINE(
[PY_SQLITE_ENABLE_LOAD_EXTENSION], [1],
[Define to 1 to build the sqlite module with loadable extensions support.]
)
])
], [
AC_MSG_RESULT([no])
])

dnl
dnl Detect Tcl/Tk. Use pkg-config if available.
Expand Down
Loading