autoconf-patches
[Top][All Lists]
Advanced

[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: 04 Feb 2001 10:09:06 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98

Jim Meyering <address@hidden> wrote:
| I've thought about this some more and am now inclined to
| make the simpler, s/9223372036854775807/&ULL/g, change,
| because I'm pretty confident that all the compilation environments
| that support large files also support the ULL syntax.

Ok.  Here's the patch:

If anyone knows of a system that does have large file support,
and a compiler that supports that, but where the compiler does not
accept a ULL suffix on integer constants, I'll have to use the
uglier patch.

2001-02-03  Jim Meyering  <address@hidden>

        * acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
        integer constants.

Index: acspecific.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/acspecific.m4,v
retrieving revision 1.333
diff -u -p -r1.333 acspecific.m4
--- acspecific.m4       2001/01/29 22:36:09     1.333
+++ acspecific.m4       2001/02/04 09:05:17
@@ -356,7 +356,7 @@ 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
+int a[[(off_t) 9223372036854775807ULL == 9223372036854775807ULL ? 1 : 
-1]];[]dnl
 ])
 
 



reply via email to

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