summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-06 09:30:37 (GMT)
committerGitHub <noreply@github.com>2021-11-06 09:30:37 (GMT)
commite9594f6747eaaaa848c26e2bf67d467aabfd62b3 (patch)
tree6e0cc5e3aa0a4fb9f924537842dc9b4987d46544 /configure
parenta4774f42e35861c4bb16928cffb011c2d8a285ac (diff)
downloadcpython-e9594f6747eaaaa848c26e2bf67d467aabfd62b3.zip
cpython-e9594f6747eaaaa848c26e2bf67d467aabfd62b3.tar.gz
cpython-e9594f6747eaaaa848c26e2bf67d467aabfd62b3.tar.bz2
bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure b/configure
index 00bea71..1eea2d1 100755
--- a/configure
+++ b/configure
@@ -10913,13 +10913,20 @@ $as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }
if test "${enable_loadable_sqlite_extensions+set}" = set; then :
enableval=$enable_loadable_sqlite_extensions;
else
- enable_loadable_sqlite_extensions="no"
+ enable_loadable_sqlite_extensions=no
fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_loadable_sqlite_extensions" >&5
$as_echo "$enable_loadable_sqlite_extensions" >&6; }
+if test "x$enable_loadable_sqlite_extensions" = xyes; then :
+
+
+$as_echo "#define PY_SQLITE_ENABLE_LOAD_EXTENSION 1" >>confdefs.h
+
+
+fi
+
# Check for --with-tcltk-includes=path and --with-tcltk-libs=path