Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
436709cf
Commit
436709cf
authored
Nov 25, 2010
by
Jesus Cea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile correctly under OpenIndiana (and possibly Solaris 11 Express)
parent
3188b208
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
configure
configure
+9
-8
configure.in
configure.in
+2
-2
No files found.
configure
View file @
436709cf
#! /bin/sh
# From configure.in Revision: 8
5351
.
# From configure.in Revision: 8
6044
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.1.
#
...
...
@@ -757,7 +757,8 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP'
CPP
CPPFLAGS'
# Initialize some variables set by options.
...
...
@@ -1923,11 +1924,11 @@ else
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
$ac_includes_default
enum { N =
$2
/ 2 - 1 };
int
main ()
{
static int test_array [1 - 2 * !(0 < (
$ac_type
) (((((
$ac_type
) 1 << N) << N) - 1) * 2 + 1))];
static int test_array [1 - 2 * !(enum { N =
$2
/ 2 - 1 };
0 < (
$ac_type
) (((((
$ac_type
) 1 << N) << N) - 1) * 2 + 1))];
test_array [0] = 0
;
...
...
@@ -1938,11 +1939,11 @@ if ac_fn_c_try_compile "$LINENO"; then :
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
$ac_includes_default
enum { N =
$2
/ 2 - 1 };
int
main ()
{
static int test_array [1 - 2 * !((
$ac_type
) (((((
$ac_type
) 1 << N) << N) - 1) * 2 + 1)
static int test_array [1 - 2 * !(enum { N =
$2
/ 2 - 1 };
(
$ac_type
) (((((
$ac_type
) 1 << N) << N) - 1) * 2 + 1)
< (
$ac_type
) (((((
$ac_type
) 1 << N) << N) - 1) * 2 + 2))];
test_array [0] = 0
...
...
@@ -3037,7 +3038,7 @@ then
# 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
)
SunOS/5.8|SunOS/5.9|SunOS/5.10
|SunOS/5.11
)
$as_echo
"#define _XOPEN_SOURCE 500"
>>
confdefs.h
...
...
@@ -3056,7 +3057,7 @@ $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
# 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
)
SunOS/5.10
|SunOS/5.11
)
;;
*
)
...
...
configure.in
View file @
436709cf
...
...
@@ -353,7 +353,7 @@ then
# 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)
SunOS/5.8|SunOS/5.9|SunOS/5.10
|SunOS/5.11
)
AC_DEFINE(_XOPEN_SOURCE, 500,
Define to the level of X/Open that your system supports)
;;
...
...
@@ -370,7 +370,7 @@ then
# 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)
SunOS/5.10
|SunOS/5.11
)
;;
*)
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1,
...
...
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