Re: autoconf: AC_SYS_LARGEFILE documentation misleading

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

 



On Wed, 25 Jan 2017, Eric Blake wrote:

> Please propose a patch to the documentation, rather than just telling me
> that it is wrong, so that we have a concrete proposal for a wording
> improvement that we can discuss.

Oh okay, I’ll cater for lazy upstreams this time ;-)
See the attached git format-patch.

bye
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
From e1319f97063b2e3b1db0d62fcbfd996d8cf2657c Mon Sep 17 00:00:00 2001
From: mirabilos <tg@xxxxxxxxxx>
Date: Wed, 25 Jan 2017 18:27:27 +0100
Subject: [PATCH] doc: Fix incorrect AC_SYS_LARGEFILE documentation

The output goes to DEFS or config.h, by calling AC_DEFINE_UNQUOTED.

Reported as Debian #158969 by Florian Weimer <fw@xxxxxxxxxxxxx>.
Signed-off-by: mirabilos <tg@xxxxxxxxxx>
---
 doc/autoconf.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 07f238d3..55f96a32 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8584,8 +8584,8 @@ if the system supports @samp{#!}, @samp{no} if not.
 Arrange for 64-bit file offsets, known as
 @uref{http://@/www.unix-systems@/.org/@/version2/@/whatsnew/@/lfs20mar.html,
 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
+options to build programs that can access large files.  Define,
+by calling @code{AC_DEFINE_UNQUOTED},
 @code{_FILE_OFFSET_BITS} and @code{_LARGE_FILES} if necessary.
 
 Large-file support can be disabled by configuring with the
-- 
2.11.0

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux