PHP 7.4.33
Preview: longlong.m4 Size: 4.63 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/share/aclocal/longlong.m4

# longlong.m4 serial 17
dnl Copyright (C) 1999-2007, 2009-2016 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

dnl From Paul Eggert.

# Define HAVE_LONG_LONG_INT if 'long long int' works.
# This fixes a bug in Autoconf 2.61, and can be faster
# than what's in Autoconf 2.62 through 2.68.

# Note: If the type 'long long int' exists but is only 32 bits large
# (as on some very old compilers), HAVE_LONG_LONG_INT will not be
# defined. In this case you can treat 'long long int' like 'long int'.

AC_DEFUN([AC_TYPE_LONG_LONG_INT],
[
  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
  AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
     [ac_cv_type_long_long_int=yes
      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
        ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
        if test $ac_cv_type_long_long_int = yes; then
          dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
          dnl If cross compiling, assume the bug is not important, since
          dnl nobody cross compiles for this platform as far as we know.
          AC_RUN_IFELSE(
            [AC_LANG_PROGRAM(
               [[@%:@include <limits.h>
                 @%:@ifndef LLONG_MAX
                 @%:@ define HALF \
                          (1LL << (sizeof (long long int) * CHAR_BIT - 2))
                 @%:@ define LLONG_MAX (HALF - 1 + HALF)
                 @%:@endif]],
               [[long long int n = 1;
                 int i;
                 for (i = 0; ; i++)
                   {
                     long long int m = n << i;
                     if (m >> i != n)
                       return 1;
                     if (LLONG_MAX / 2 < m)
                       break;
                   }
                 return 0;]])],
            [],
            [ac_cv_type_long_long_int=no],
            [:])
        fi
      fi])
  if test $ac_cv_type_long_long_int = yes; then
    AC_DEFINE([HAVE_LONG_LONG_INT], [1],
      [Define to 1 if the system has the type 'long long int'.])
  fi
])

# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
# This fixes a bug in Autoconf 2.61, and can be faster
# than what's in Autoconf 2.62 through 2.68.

# Note: If the type 'unsigned long long int' exists but is only 32 bits
# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
# will not be defined. In this case you can treat 'unsigned long long int'
# like 'unsigned long int'.

AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
[
  AC_CACHE_CHECK([for unsigned long long int],
    [ac_cv_type_unsigned_long_long_int],
    [ac_cv_type_unsigned_long_long_int=yes
     if test "x${ac_cv_prog_cc_c99-no}" = xno; then
       AC_LINK_IFELSE(
         [_AC_TYPE_LONG_LONG_SNIPPET],
         [],
         [ac_cv_type_unsigned_long_long_int=no])
     fi])
  if test $ac_cv_type_unsigned_long_long_int = yes; then
    AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
      [Define to 1 if the system has the type 'unsigned long long int'.])
  fi
])

# Expands to a C program that can be used to test for simultaneous support
# of 'long long' and 'unsigned long long'. We don't want to say that
# 'long long' is available if 'unsigned long long' is not, or vice versa,
# because too many programs rely on the symmetry between signed and unsigned
# integer types (excluding 'bool').
AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET],
[
  AC_LANG_PROGRAM(
    [[/* For now, do not test the preprocessor; as of 2007 there are too many
         implementations with broken preprocessors.  Perhaps this can
         be revisited in 2012.  In the meantime, code should not expect
         #if to work with literals wider than 32 bits.  */
      /* Test literals.  */
      long long int ll = 9223372036854775807ll;
      long long int nll = -9223372036854775807LL;
      unsigned long long int ull = 18446744073709551615ULL;
      /* Test constant expressions.   */
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
                     ? 1 : -1)];
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
                     ? 1 : -1)];
      int i = 63;]],
    [[/* Test availability of runtime routines for shift and division.  */
      long long int llmax = 9223372036854775807ll;
      unsigned long long int ullmax = 18446744073709551615ull;
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
              | (llmax / ll) | (llmax % ll)
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
              | (ullmax / ull) | (ullmax % ull));]])
])

Directory Contents

Dirs: 0 × Files: 49

Name Size Perms Modified Actions
1.88 KB lrw-r--r-- 2019-10-12 12:28:39
Edit Download
842 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
4.27 KB lrw-r--r-- 2016-05-28 00:29:03
Edit Download
4.56 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
13.83 KB lrw-r--r-- 2021-10-09 23:41:50
Edit Download
6.18 KB lrw-r--r-- 2018-04-22 09:41:36
Edit Download
15.49 KB lrw-r--r-- 2016-05-28 00:29:03
Edit Download
830 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
907 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
4.65 KB lrw-r--r-- 2019-10-12 12:20:46
Edit Download
4.61 KB lrw-r--r-- 2019-10-12 12:20:46
Edit Download
9.06 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
2.35 KB lrw-r--r-- 2016-05-28 00:29:03
Edit Download
11.84 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
917 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
2.47 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.10 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.22 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1020 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.33 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
3.60 KB lrw-r--r-- 2016-06-11 12:59:32
Edit Download
32.28 KB lrw-r--r-- 2016-06-11 12:59:32
Edit Download
8.27 KB lrw-r--r-- 2016-06-11 12:59:32
Edit Download
6.09 KB lrw-r--r-- 2022-06-28 11:54:07
Edit Download
298.69 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
7.70 KB lrw-r--r-- 2017-07-23 05:10:06
Edit Download
7.93 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
1.43 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
4.63 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
2.51 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
29.33 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
14.17 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
4.28 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
699 B lrw-r--r-- 2019-10-11 14:55:28
Edit Download
6.00 KB lrw-r--r-- 2019-10-11 14:55:28
Edit Download
4.47 KB lrw-r--r-- 2025-03-31 08:19:27
Edit Download
1.19 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
12.37 KB lrw-r--r-- 2017-03-24 05:16:18
Edit Download
18.52 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.54 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
3.02 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
2.99 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
995 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
14.80 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.09 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
3.27 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
818 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download
1.03 KB lrw-r--r-- 2016-03-20 07:37:53
Edit Download
406 B lrw-r--r-- 2016-03-20 07:37:53
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).