Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
13458077
Kaydet (Commit)
13458077
authored
May 23, 2013
tarafından
Jürgen Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#122010# prepare configur to support Python 2.7.5 and newer on MacOS, 2.7.1 is now still supported
üst
454614af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
configure.in
configure.in
+4
-3
No files found.
configure.in
Dosyayı görüntüle @
13458077
...
@@ -4090,16 +4090,17 @@ if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then
...
@@ -4090,16 +4090,17 @@ if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then
with_system_python
=
yes
with_system_python
=
yes
_python
=
"/Library/Frameworks/Python.framework/Versions/Current/bin/python"
_python
=
"/Library/Frameworks/Python.framework/Versions/Current/bin/python"
_python_
version
=`$
_python
-
c
"import platform; print platform.python_version()
;"
`
_python_
hexversion
=`$
_python
-
c
"import sys; print sys.hexversion
;"
`
if
test
"$_python_version"
=
"2.7.4"
;
then
dnl
hex
version
of
Python
2.7.1
=
34013680
if
test
"$_python_hexversion"
>=
"34013680"
;
then
AC_MSG_RESULT
([
compiling
against
system
python
(
version
$
_python_version
)])
AC_MSG_RESULT
([
compiling
against
system
python
(
version
$
_python_version
)])
_python_ver
=`$
_python
-
c
"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"
`
_python_ver
=`$
_python
-
c
"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"
`
PYTHON_CFLAGS
=
"-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
PYTHON_CFLAGS
=
"-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
else
else
AC_MSG_ERROR
([
Python
2.7.
4
is
required
])
AC_MSG_ERROR
([
Python
2.7.
1
or
higher
is
required
])
fi
fi
PYTHON_LIBS
=
"-framework Python"
PYTHON_LIBS
=
"-framework Python"
...
...
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