File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8246,43 +8246,7 @@ $as_echo "#define HAVE_HTOLE64 1" >>confdefs.h
82468246
82478247fi
82488248
8249- # Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in
8250- # the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are
8251- # defined, but the compiler does not support pragma redefine_extname,
8252- # and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
8253- # structures (such as rlimit64) without declaring them. As a
8254- # work-around, disable LFS on such configurations
8255-
82568249use_lfs=yes
8257- { $as_echo " $as_me :${as_lineno-$LINENO } : checking Solaris LFS bug" >&5
8258- $as_echo_n " checking Solaris LFS bug... " >&6 ; }
8259- cat confdefs.h - << _ACEOF >conftest.$ac_ext
8260- /* end confdefs.h. */
8261-
8262- #define _LARGEFILE_SOURCE 1
8263- #define _FILE_OFFSET_BITS 64
8264- #include <sys/resource.h>
8265-
8266- int
8267- main ()
8268- {
8269- struct rlimit foo;
8270- ;
8271- return 0;
8272- }
8273- _ACEOF
8274- if ac_fn_c_try_compile " $LINENO " ; then :
8275- sol_lfs_bug=no
8276- else
8277- sol_lfs_bug=yes
8278- fi
8279- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8280- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $sol_lfs_bug " >&5
8281- $as_echo " $sol_lfs_bug " >&6 ; }
8282- if test " $sol_lfs_bug " = " yes" ; then
8283- use_lfs=no
8284- fi
8285-
82868250# Don't use largefile support for GNU/Hurd
82878251case $ac_sys_system in GNU* )
82888252 use_lfs=no
Original file line number Diff line number Diff line change @@ -2168,25 +2168,7 @@ if test "$ac_cv_has_le64toh" = "yes"; then
21682168 AC_DEFINE ( HAVE_HTOLE64 , 1 , [ Define this if you have le64toh()] )
21692169fi
21702170
2171- # Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in
2172- # the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are
2173- # defined, but the compiler does not support pragma redefine_extname,
2174- # and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
2175- # structures (such as rlimit64) without declaring them. As a
2176- # work-around, disable LFS on such configurations
2177-
21782171use_lfs=yes
2179- AC_MSG_CHECKING ( Solaris LFS bug )
2180- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
2181- #define _LARGEFILE_SOURCE 1
2182- #define _FILE_OFFSET_BITS 64
2183- #include <sys/resource.h>
2184- ] ] , [ [ struct rlimit foo;] ] ) ] ,[ sol_lfs_bug=no] ,[ sol_lfs_bug=yes] )
2185- AC_MSG_RESULT ( $sol_lfs_bug )
2186- if test "$sol_lfs_bug" = "yes"; then
2187- use_lfs=no
2188- fi
2189-
21902172# Don't use largefile support for GNU/Hurd
21912173case $ac_sys_system in GNU*)
21922174 use_lfs=no
You can’t perform that action at this time.
0 commit comments