Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
076ed000
Kaydet (Commit)
076ed000
authored
Eki 31, 2010
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add --enable-loadable-sqlite-extensions #10268
üst
79263252
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
3 deletions
+33
-3
NEWS
Misc/NEWS
+2
-0
configure
configure
+18
-1
configure.in
configure.in
+9
-0
setup.py
setup.py
+4
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
076ed000
...
...
@@ -239,6 +239,8 @@ Tests
Build
-----
- Issue #10268: Add a --enable-loadable-sqlite-extensions option to configure.
- Issue #8852: Allow the socket module to build on OpenSolaris.
- Drop -OPT:Olimit compiler option.
...
...
configure
Dosyayı görüntüle @
076ed000
#! /bin/sh
# From configure.in Revision: 8
5697
.
# From configure.in Revision: 8
6042
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.2.
#
...
...
@@ -739,6 +739,7 @@ with_pydebug
with_libs
with_system_expat
with_system_ffi
enable_loadable_sqlite_extensions
with_dbmliborder
with_signal_module
with_dec_threads
...
...
@@ -1381,6 +1382,8 @@ Optional Features:
Build (MacOSX|Darwin) framework
--enable-shared disable/enable building shared python library
--enable-profiling enable C-level code profiling
--enable-loadable-sqlite-extensions
support loadable extensions in _sqlite module
--enable-ipv6 Enable ipv6 (with ipv4) support
--disable-ipv6 Disable ipv6 support
--enable-big-digits[=BITS]
...
...
@@ -8141,6 +8144,20 @@ fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$with_system_ffi
"
>
&5
$as_echo
"
$with_system_ffi
"
>
&6
;
}
# Check for support for loadable sqlite extensions
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for --enable-loadable-sqlite-extensions"
>
&5
$as_echo_n
"checking for --enable-loadable-sqlite-extensions... "
>
&6
;
}
# Check whether --enable-loadable-sqlite-extensions was given.
if
test
"
${
enable_loadable_sqlite_extensions
+set
}
"
=
set
;
then
:
enableval
=
$enable_loadable_sqlite_extensions
;
else
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
;
}
# Check for --with-dbmliborder
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for --with-dbmliborder"
>
&5
$as_echo_n
"checking for --with-dbmliborder... "
>
&6
;
}
...
...
configure.in
Dosyayı görüntüle @
076ed000
...
...
@@ -1956,6 +1956,15 @@ AC_SUBST(LIBFFI_INCLUDEDIR)
AC_MSG_RESULT($with_system_ffi)
# Check for support for loadable sqlite extensions
AC_MSG_CHECKING(for --enable-loadable-sqlite-extensions)
AC_ARG_ENABLE(loadable-sqlite-extensions,
AS_HELP_STRING([--enable-loadable-sqlite-extensions], [support loadable extensions in _sqlite module]),
[],
[enable_loadable_sqlite_extensions="no"])
AC_MSG_RESULT($enable_loadable_sqlite_extensions)
# Check for --with-dbmliborder
AC_MSG_CHECKING(for --with-dbmliborder)
AC_ARG_WITH(dbmliborder,
...
...
setup.py
Dosyayı görüntüle @
076ed000
...
...
@@ -997,8 +997,10 @@ class PyBuildExt(build_ext):
else
:
sqlite_defines
.
append
((
'MODULE_NAME'
,
'
\\
"sqlite3
\\
"'
))
# Comment this out if you want the sqlite3 module to be able to load extensions.
sqlite_defines
.
append
((
"SQLITE_OMIT_LOAD_EXTENSION"
,
"1"
))
# Enable support for loadable extensions in the sqlite3 module
# if --enable-loadable-sqlite-extensions configure option is used.
if
'--enable-loadable-sqlite-extensions'
not
in
sysconfig
.
get_config_var
(
"CONFIG_ARGS"
):
sqlite_defines
.
append
((
"SQLITE_OMIT_LOAD_EXTENSION"
,
"1"
))
if
sys
.
platform
==
'darwin'
:
# In every directory on the search path search for a dynamic
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment