[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf problem with large files on HP-UX?
From: |
Jim Meyering |
Subject: |
Re: autoconf problem with large files on HP-UX? |
Date: |
09 Feb 2001 16:04:51 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98 |
I've just applied and committed this patch.
Thanks again.
Paul Eggert <address@hidden> wrote:
| 2001-02-06 Paul Eggert <address@hidden>
|
| * acspecific.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES): Don't reject
| C++ compilers that are masquerading as C compilers, and that
| incorrectly reject large integers.
|
| ===================================================================
| RCS file: acspecific.m4,v
| retrieving revision 2.49.3.0
| retrieving revision 2.49.3.1
| diff -pu -r2.49.3.0 -r2.49.3.1
| --- acspecific.m4 2001/01/24 08:51:20 2.49.3.0
| +++ acspecific.m4 2001/02/06 18:00:29 2.49.3.1
| @@ -376,7 +376,14 @@ with arguments. Remove this warning when
| # -------------------------------
| m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES],
| address@hidden:@include <sys/types.h>
| -int a[[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]];[]dnl
| + /* Check that off_t can represent 2**63 - 1 correctly.
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
| + since some C++ compilers masquerading as C compilers
| + incorrectly reject 9223372036854775807. */
| address@hidden:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
| + int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
| + && LARGE_OFF_T % 2147483647 == 1)
| + ? 1 : -1]];[]dnl
| ])
- Re: autoconf problem with large files on HP-UX?, (continued)
- Re: autoconf problem with large files on HP-UX?, Akim Demaille, 2001/02/03
- Re: autoconf problem with large files on HP-UX?, Jim Meyering, 2001/02/03
- Re: autoconf problem with large files on HP-UX?, Akim Demaille, 2001/02/03
- Re: autoconf problem with large files on HP-UX?, Jim Meyering, 2001/02/04
- Re: autoconf problem with large files on HP-UX?, Akim Demaille, 2001/02/05
- Re: autoconf problem with large files on HP-UX?, Paul Eggert, 2001/02/06
- Re: autoconf problem with large files on HP-UX?, Bob Proulx, 2001/02/06
- Re: autoconf problem with large files on HP-UX?, Paul Eggert, 2001/02/06
- Re: autoconf problem with large files on HP-UX?, Alexandre Oliva, 2001/02/06
- Re: autoconf problem with large files on HP-UX?, Paul Eggert, 2001/02/08
- Re: autoconf problem with large files on HP-UX?,
Jim Meyering <=