version 1.1.1.2, 2012/05/29 09:29:44
|
version 1.1.1.3, 2021/03/17 13:38:46
|
Line 1
|
Line 1
|
# longlong.m4 serial 16 | # longlong.m4 serial 18 |
dnl Copyright (C) 1999-2007, 2009-2011 Free Software Foundation, Inc. | dnl Copyright (C) 1999-2007, 2009-2019 Free Software Foundation, Inc. |
dnl This file is free software; the Free Software Foundation |
dnl This file is free software; the Free Software Foundation |
dnl gives unlimited permission to copy and/or distribute it, |
dnl gives unlimited permission to copy and/or distribute it, |
dnl with or without modifications, as long as this notice is preserved. |
dnl with or without modifications, as long as this notice is preserved. |
|
|
dnl From Paul Eggert. |
dnl From Paul Eggert. |
|
|
|
AC_PREREQ([2.62]) |
|
|
# Define HAVE_LONG_LONG_INT if 'long long int' works. |
# Define HAVE_LONG_LONG_INT if 'long long int' works. |
# This fixes a bug in Autoconf 2.61, and can be faster | # This can be faster than what's in Autoconf 2.62 through 2.68. |
# than what's in Autoconf 2.62 through 2.68. | |
|
|
# Note: If the type 'long long int' exists but is only 32 bits large |
# 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 |
# (as on some very old compilers), HAVE_LONG_LONG_INT will not be |
Line 51 AC_DEFUN([AC_TYPE_LONG_LONG_INT],
|
Line 52 AC_DEFUN([AC_TYPE_LONG_LONG_INT],
|
fi]) |
fi]) |
if test $ac_cv_type_long_long_int = yes; then |
if test $ac_cv_type_long_long_int = yes; then |
AC_DEFINE([HAVE_LONG_LONG_INT], [1], |
AC_DEFINE([HAVE_LONG_LONG_INT], [1], |
[Define to 1 if the system has the type `long long int'.]) | [Define to 1 if the system has the type 'long long int'.]) |
fi |
fi |
]) |
]) |
|
|
# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. |
# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. |
# This fixes a bug in Autoconf 2.61, and can be faster | # This can be faster than what's in Autoconf 2.62 through 2.68. |
# than what's in Autoconf 2.62 through 2.68. | |
|
|
# Note: If the type 'unsigned long long int' exists but is only 32 bits |
# 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 |
# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT |
Line 77 AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
|
Line 77 AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
|
fi]) |
fi]) |
if test $ac_cv_type_unsigned_long_long_int = yes; then |
if test $ac_cv_type_unsigned_long_long_int = yes; then |
AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], |
AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], |
[Define to 1 if the system has the type `unsigned long long int'.]) | [Define to 1 if the system has the type 'unsigned long long int'.]) |
fi |
fi |
]) |
]) |
|
|