[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _XOPEN_SOURCE=500 breaks at least OSF1 V5.0 [Re: largefiles

From: Paul Eggert
Subject: Re: _XOPEN_SOURCE=500 breaks at least OSF1 V5.0 [Re: largefiles
Date: Thu, 9 Nov 2000 15:15:32 -0800 (PST)

   From: Akim Demaille <address@hidden>
   Date: 09 Nov 2000 10:29:08 +0100

   | 2000-11-05  Paul Eggert  <address@hidden>
   |         * m4/largefile.m4 (AC_SYS_LARGEFILE): Don't worry about
   |         whether fseeko and ftello are properly declared.
   |         (AC_FUNC_FSEEKO): New macro, which worries about fseeko (and
   |         presumably ftello).  Do not set _XOPEN_SOURCE; that causes too
   |         many problems in practice.

   This patch is fine with me.  Could you submit some documentation?

Sure, here it is:

--- autoconf.texi-1.374 Thu Nov  2 17:44:03 2000
+++ autoconf.texi       Thu Nov  9 23:10:39 2000
@@ -3045,6 +3045,12 @@
 SunOS 5.4), define @code{HAVE_FNMATCH}.
 @end defmac
address@hidden AC_FUNC_FSEEKO
address@hidden FUNC_FSEEKO
address@hidden _LARGEFILE_SOURCE
+If the @code{fseeko} function is available, define @code{HAVE_FSEEKO}.
+Define @code{_LARGEFILE_SOURCE} if necessary.
@@ -4530,17 +4536,14 @@
address@hidden _LARGEFILE_SOURCE
 @cvindex _LARGE_FILES
address@hidden _XOPEN_SOURCE
 @ovindex CC
 Arrange for
 large-file support}.  On some hosts, one must use special compiler
 options to build programs that can access large files.  Append any such
 options to the output variable @code{CC}.  Define
address@hidden, @code{_LARGEFILE_SOURCE}, @code{_LARGE_FILES},
-and @code{_XOPEN_SOURCE} if necessary.
address@hidden and @code{_LARGE_FILES} if necessary.
 The user can disable large-file support by configuring with the
 @option{--disable-largefile} option.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]