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
b41afb55
Kaydet (Commit)
b41afb55
authored
May 28, 2010
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #1759169: Drop _XOPEN_SOURCE on Solaris.
üst
9b14ae88
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
48 deletions
+17
-48
NEWS
Misc/NEWS
+4
-0
configure
configure
+7
-25
configure.in
configure.in
+6
-23
No files found.
Misc/NEWS
Dosyayı görüntüle @
b41afb55
...
@@ -87,6 +87,10 @@ Tests
...
@@ -87,6 +87,10 @@ Tests
leading to a failure where four directories were expected for site-packages
leading to a failure where four directories were expected for site-packages
instead of two in a non-framework build.
instead of two in a non-framework build.
Build
-----
- Issue #1759169: Drop _XOPEN_SOURCE on Solaris.
What's New in Python 2.7 beta 2?
What's New in Python 2.7 beta 2?
================================
================================
...
...
configure
Dosyayı görüntüle @
b41afb55
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 81
077
.
# From configure.in Revision: 81
509
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 2.7.
# Generated by GNU Autoconf 2.65 for python 2.7.
#
#
...
@@ -3031,9 +3031,12 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
...
@@ -3031,9 +3031,12 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
# Marc Recht
# Marc Recht
NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
define_xopen_source=no;;
define_xopen_source=no;;
# On Solaris 2.6, sys/wait.h is inconsistent in the usage
# From the perspective of Solaris, _XOPEN_SOURCE is not so much a
# of union __?sigval. Reported by Stuart Bishop.
# request to enable features supported by the standard as a request
SunOS/5.6
)
# to disable features not supported by the standard. The best way
# for Python to use Solaris is simply to leave _XOPEN_SOURCE out
# entirely and define __EXTENSIONS__ instead.
SunOS/*)
define_xopen_source=no;;
define_xopen_source=no;;
# On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
# On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
# but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
# but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
...
@@ -3079,38 +3082,17 @@ esac
...
@@ -3079,38 +3082,17 @@ esac
if test $define_xopen_source = yes
if test $define_xopen_source = yes
then
then
# On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
# defined precisely as g++ defines it
# Furthermore, on Solaris 10, XPG6 requires the use of a C99
# compiler
case
$ac_sys_system
/
$ac_sys_release
in
SunOS/5.8|SunOS/5.9|SunOS/5.10
)
$as_echo
"#define _XOPEN_SOURCE 500"
>>
confdefs.h
;;
*
)
$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
;;
esac
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
# definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
# definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
# several APIs are not declared. Since this is also needed in some
# several APIs are not declared. Since this is also needed in some
# cases for HP-UX, we define it globally.
# cases for HP-UX, we define it globally.
# except for Solaris 10, where it must not be defined,
# as it implies XPG4.2
case
$ac_sys_system
/
$ac_sys_release
in
SunOS/5.10
)
;;
*
)
$as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
$as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
;;
esac
$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
...
...
configure.in
Dosyayı görüntüle @
b41afb55
...
@@ -342,9 +342,12 @@ case $ac_sys_system/$ac_sys_release in
...
@@ -342,9 +342,12 @@ case $ac_sys_system/$ac_sys_release in
# Marc Recht
# Marc Recht
NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6@<:@A-S@:>@)
NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6@<:@A-S@:>@)
define_xopen_source=no;;
define_xopen_source=no;;
# On Solaris 2.6, sys/wait.h is inconsistent in the usage
# From the perspective of Solaris, _XOPEN_SOURCE is not so much a
# of union __?sigval. Reported by Stuart Bishop.
# request to enable features supported by the standard as a request
SunOS/5.6)
# to disable features not supported by the standard. The best way
# for Python to use Solaris is simply to leave _XOPEN_SOURCE out
# entirely and define __EXTENSIONS__ instead.
SunOS/*)
define_xopen_source=no;;
define_xopen_source=no;;
# On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
# On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
# but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
# but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
...
@@ -390,35 +393,15 @@ esac
...
@@ -390,35 +393,15 @@ esac
if test $define_xopen_source = yes
if test $define_xopen_source = yes
then
then
# On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
# defined precisely as g++ defines it
# Furthermore, on Solaris 10, XPG6 requires the use of a C99
# compiler
case $ac_sys_system/$ac_sys_release in
SunOS/5.8|SunOS/5.9|SunOS/5.10)
AC_DEFINE(_XOPEN_SOURCE, 500,
Define to the level of X/Open that your system supports)
;;
*)
AC_DEFINE(_XOPEN_SOURCE, 600,
AC_DEFINE(_XOPEN_SOURCE, 600,
Define to the level of X/Open that your system supports)
Define to the level of X/Open that your system supports)
;;
esac
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
# definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
# definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
# several APIs are not declared. Since this is also needed in some
# several APIs are not declared. Since this is also needed in some
# cases for HP-UX, we define it globally.
# cases for HP-UX, we define it globally.
# except for Solaris 10, where it must not be defined,
# as it implies XPG4.2
case $ac_sys_system/$ac_sys_release in
SunOS/5.10)
;;
*)
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1,
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1,
Define to activate Unix95-and-earlier features)
Define to activate Unix95-and-earlier features)
;;
esac
AC_DEFINE(_POSIX_C_SOURCE, 200112L, Define to activate features from IEEE Stds 1003.1-2001)
AC_DEFINE(_POSIX_C_SOURCE, 200112L, Define to activate features from IEEE Stds 1003.1-2001)
...
...
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