summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-11-20 14:02:52 (GMT)
committerGitHub <noreply@github.com>2021-11-20 14:02:52 (GMT)
commit6d430ef5ab62158a200b94dff31b89524a9576bb (patch)
treed29aa578c389e33e06caa1c8b7f7a064ab07cbe5 /configure
parentbc2bc0dbdb52498d009f9f9771452e6aa4faff2b (diff)
downloadcpython-6d430ef5ab62158a200b94dff31b89524a9576bb.zip
cpython-6d430ef5ab62158a200b94dff31b89524a9576bb.tar.gz
cpython-6d430ef5ab62158a200b94dff31b89524a9576bb.tar.bz2
bpo-45774: Fix SQLite load extension autodetection (GH-29659)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 3 insertions, 6 deletions
diff --git a/configure b/configure
index 9340cb0..dec3aa0 100755
--- a/configure
+++ b/configure
@@ -11156,12 +11156,9 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5
$as_echo "$ac_cv_lib_sqlite3_sqlite3_load_extension" >&6; }
if test "x$ac_cv_lib_sqlite3_sqlite3_load_extension" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBSQLITE3 1
-_ACEOF
-
- LIBS="-lsqlite3 $LIBS"
-
+ have_sqlite3_load_extension=yes
+else
+ have_sqlite3_load_extension=no
fi