Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-45774: Autoconfiscate SQLite detection (GH-29507)#29507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tiran merged 18 commits intopython:mainfromerlend-aasland:ac-sqlite
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
f34b482
bpo-45774: Autoconfiscate SQLite detection
Nov 9, 2021
8d55894
Add NEWS
Nov 9, 2021
9bc5d7b
Don't pollute pyconfig.h with unneeded HAVE_SQLITE_H
Nov 9, 2021
7cd7b75
Merge branch 'main' into ac-sqlite
Nov 15, 2021
1a33d5c
Prelim pkg-config support
Nov 10, 2021
e90164d
Address review
Nov 17, 2021
02ed824
Make sure we append with leading whitespace. Set -lsqlite3 if pkg-con…
Nov 17, 2021
d083420
Merge branch 'main' into ac-sqlite
Nov 18, 2021
5e851ae
Use pkg-config ac macros
Nov 18, 2021
7cc1bcc
Module/Setup flags are added automatically
Nov 18, 2021
f3c920b
Revert spurious change
Nov 18, 2021
1cac681
Adjust NEWS wording
Nov 18, 2021
6f93aea
Merge branch 'main' into ac-sqlite
Nov 18, 2021
338f4d0
Move sqlite3 from Modules/Setup to Modules/Setup.stdlib.in
Nov 18, 2021
b8fb844
Address review: don't abort on failure to enable loadable SQLite exte…
Nov 18, 2021
d7c4180
Regenerate configure
Nov 18, 2021
41a78b5
Address macOS (arm) and FreeBSD buildbot issues
Nov 19, 2021
0173b66
We need to save/restore CFLAGS and LIBS
Nov 19, 2021
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
PrevPrevious commit
NextNext commit
Don't pollute pyconfig.h with unneeded HAVE_SQLITE_H
  • Loading branch information
Erlend E. Aasland committedNov 9, 2021
commit9bc5d7b5353a753f5e6fd9fb125fb4b1b5b6cc6d
8 changes: 1 addition & 7 deletionsconfigure
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10762,13 +10762,8 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
$as_echo "$with_decimal_contextvar" >&6; }

for ac_header in sqlite3.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
if test "x$ac_cv_header_sqlite3_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SQLITE3_H 1
_ACEOF

save_LIBS=$LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open_v2 in -lsqlite3" >&5
Expand DownExpand Up@@ -10882,7 +10877,6 @@ fi

fi

done


# Check for support for loadable sqlite extensions
Expand Down
2 changes: 1 addition & 1 deletionconfigure.ac
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3069,7 +3069,7 @@ fi
AC_MSG_RESULT($with_decimal_contextvar)

dnl Check for SQLite library
AC_CHECK_HEADERS([sqlite3.h], [
AC_CHECK_HEADER([sqlite3.h], [
AS_VAR_COPY([save_LIBS], [LIBS])
AC_CHECK_LIB([sqlite3], [sqlite3_open_v2], [
AC_COMPILE_IFELSE([
Expand Down
3 changes: 0 additions & 3 deletionspyconfig.h.in
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1031,9 +1031,6 @@
/* Define to 1 if you have the `splice' function. */
#undef HAVE_SPLICE

/* Define to 1 if you have the <sqlite3.h> header file. */
#undef HAVE_SQLITE3_H

/* Define if your compiler provides ssize_t */
#undef HAVE_SSIZE_T

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp