summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-04-05 14:15:25 (GMT)
committerGitHub <noreply@github.com>2022-04-05 14:15:25 (GMT)
commita7551247e7cb7010fb4735281f1afa4abeb8a9cc (patch)
tree299c8b5dc3965692a2be95bc657c6d5f81ded105 /configure.ac
parentaa0f056a00c4bcaef83d729e042359ddae903382 (diff)
downloadcpython-a7551247e7cb7010fb4735281f1afa4abeb8a9cc.zip
cpython-a7551247e7cb7010fb4735281f1afa4abeb8a9cc.tar.gz
cpython-a7551247e7cb7010fb4735281f1afa4abeb8a9cc.tar.bz2
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c02adf7..5860595 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3605,6 +3605,12 @@ dnl hence CPPFLAGS instead of CFLAGS.
[have_sqlite3_load_extension=yes],
[have_sqlite3_load_extension=no]
)
+ AC_CHECK_LIB([sqlite3], [sqlite3_serialize], [
+ AC_DEFINE(
+ [PY_SQLITE_HAVE_SERIALIZE], [1],
+ [Define if SQLite was compiled with the serialize API]
+ )
+ ])
], [
have_supported_sqlite3=no
])