There was an error while loading. Please reload this page.
1 parent 3239cf1 commit 5ce1063Copy full SHA for 5ce1063
2 files changed
configure
@@ -8246,43 +8246,7 @@ $as_echo "#define HAVE_HTOLE64 1" >>confdefs.h
8246
8247
fi
8248
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
-
8256
use_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
8285
8286
# Don't use largefile support for GNU/Hurd
8287
case $ac_sys_system in GNU*)
8288
use_lfs=no
configure.ac
@@ -2168,25 +2168,7 @@ if test "$ac_cv_has_le64toh" = "yes"; then
2168
AC_DEFINE(HAVE_HTOLE64, 1, [Define this if you have le64toh()])
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
-AC_MSG_CHECKING(Solaris LFS bug)
2180
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2181
2182
2183
2184
-]], [[struct rlimit foo;]])],[sol_lfs_bug=no],[sol_lfs_bug=yes])
2185
-AC_MSG_RESULT($sol_lfs_bug)
2186
2187
2188
2189
2190
2191
2192
0 commit comments