gh-92547: Purge sqlite3_enable_shared_cache() detection from configure (#101873)

This commit is contained in:
Erlend E. Aasland 2023-02-13 13:36:42 +01:00 committed by GitHub
parent d9199175c7
commit 2db2c4b455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 52 deletions

51
configure generated vendored
View File

@ -13689,57 +13689,6 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_enable_shared_cache in -lsqlite3" >&5
$as_echo_n "checking for sqlite3_enable_shared_cache in -lsqlite3... " >&6; }
if ${ac_cv_lib_sqlite3_sqlite3_enable_shared_cache+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lsqlite3 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char sqlite3_enable_shared_cache ();
int
main ()
{
return sqlite3_enable_shared_cache ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_sqlite3_sqlite3_enable_shared_cache=yes
else
ac_cv_lib_sqlite3_sqlite3_enable_shared_cache=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_enable_shared_cache" >&5
$as_echo "$ac_cv_lib_sqlite3_sqlite3_enable_shared_cache" >&6; }
if test "x$ac_cv_lib_sqlite3_sqlite3_enable_shared_cache" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBSQLITE3 1
_ACEOF
LIBS="-lsqlite3 $LIBS"
else
have_supported_sqlite3=no
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_progress_handler in -lsqlite3" >&5
$as_echo_n "checking for sqlite3_progress_handler in -lsqlite3... " >&6; }
if ${ac_cv_lib_sqlite3_sqlite3_progress_handler+:} false; then :

View File

@ -3867,7 +3867,6 @@ dnl hence CPPFLAGS instead of CFLAGS.
PY_CHECK_SQLITE_FUNC([sqlite3_column_decltype])
PY_CHECK_SQLITE_FUNC([sqlite3_column_double])
PY_CHECK_SQLITE_FUNC([sqlite3_complete])
PY_CHECK_SQLITE_FUNC([sqlite3_enable_shared_cache])
PY_CHECK_SQLITE_FUNC([sqlite3_progress_handler])
PY_CHECK_SQLITE_FUNC([sqlite3_result_double])
PY_CHECK_SQLITE_FUNC([sqlite3_set_authorizer])