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
777eacd9
Kaydet (Commit)
777eacd9
authored
Nis 16, 2013
tarafından
Jürgen Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#122010# ensure that python 2.7.4 is used under MacOS
üst
687d6ed3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
configure.in
configure.in
+14
-2
No files found.
configure.in
Dosyayı görüntüle @
777eacd9
...
...
@@ -4086,8 +4086,20 @@ dnl ===================================================================
AC_MSG_CHECKING
([
which
python
to
use
])
if
test
"$_os"
=
"Darwin"
&&
test
"$with_system_python"
!= "no"; then
with_system_python
=
yes
AC_MSG_RESULT
([
compiling
against
MacOSX10
.4u
.
sdk
(
python
version
2.3
)])
PYTHON_CFLAGS
=
"-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3"
_python
=
"/Library/Frameworks/Python.framework/Versions/Current/bin/python"
_python_version
=`$
_python
-
c
"import platform; print platform.python_version();"
`
if
test
"$_python_version"
=
"2.7.4"
;
then
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_CFLAGS
=
"-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
else
AC_MSG_ERROR
([
Python
2.7.4
is
required
])
fi
PYTHON_LIBS
=
"-framework Python"
elif
test
-
n
"$with_system_python"
-
o
-
n
"$with_system_libs"
&&
\
test
"$with_system_python"
!= "no"; then
...
...
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