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
5ce10633
Commit
5ce10633
authored
Sep 04, 2017
by
Benjamin Peterson
Committed by
GitHub
Sep 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove check for bug last seem in Solaris 9 (#3285)
parent
3239cf1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
54 deletions
+0
-54
configure
configure
+0
-36
configure.ac
configure.ac
+0
-18
No files found.
configure
View file @
5ce10633
...
...
@@ -8246,43 +8246,7 @@ $as_echo "#define HAVE_HTOLE64 1" >>confdefs.h
fi
# Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in
# the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are
# defined, but the compiler does not support pragma redefine_extname,
# and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
# structures (such as rlimit64) without declaring them. As a
# work-around, disable LFS on such configurations
use_lfs
=
yes
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking Solaris LFS bug"
>
&5
$as_echo_n
"checking Solaris LFS bug... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#include <sys/resource.h>
int
main ()
{
struct rlimit foo;
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
sol_lfs_bug
=
no
else
sol_lfs_bug
=
yes
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$sol_lfs_bug
"
>
&5
$as_echo
"
$sol_lfs_bug
"
>
&6
;
}
if
test
"
$sol_lfs_bug
"
=
"yes"
;
then
use_lfs
=
no
fi
# Don't use largefile support for GNU/Hurd
case
$ac_sys_system
in
GNU
*
)
use_lfs
=
no
...
...
configure.ac
View file @
5ce10633
...
...
@@ -2168,25 +2168,7 @@ if test "$ac_cv_has_le64toh" = "yes"; then
AC_DEFINE(HAVE_HTOLE64, 1, [Define this if you have le64toh()])
fi
# Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in
# the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are
# defined, but the compiler does not support pragma redefine_extname,
# and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
# structures (such as rlimit64) without declaring them. As a
# work-around, disable LFS on such configurations
use_lfs=yes
AC_MSG_CHECKING(Solaris LFS bug)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#include <sys/resource.h>
]], [[struct rlimit foo;]])],[sol_lfs_bug=no],[sol_lfs_bug=yes])
AC_MSG_RESULT($sol_lfs_bug)
if test "$sol_lfs_bug" = "yes"; then
use_lfs=no
fi
# Don't use largefile support for GNU/Hurd
case $ac_sys_system in GNU*)
use_lfs=no
...
...
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