Regen with aclocal 1.15.1.
This commit is contained in:
118
aclocal.m4
vendored
118
aclocal.m4
vendored
@@ -1,6 +1,6 @@
|
|||||||
# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
|
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -12,120 +12,6 @@
|
|||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||||
# 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));]])
|
|
||||||
])
|
|
||||||
|
|
||||||
m4_include([m4/ax_append_flag.m4])
|
m4_include([m4/ax_append_flag.m4])
|
||||||
m4_include([m4/ax_check_compile_flag.m4])
|
m4_include([m4/ax_check_compile_flag.m4])
|
||||||
m4_include([m4/ax_check_link_flag.m4])
|
m4_include([m4/ax_check_link_flag.m4])
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
# If the user hasn't chosen one themselves, we do here.
|
# If the user hasn't chosen one themselves, we do here.
|
||||||
if [ "`/usr/bin/uname 2>&1`" = "OpenBSD" ]; then
|
if [ "`/usr/bin/uname 2>&1`" = "OpenBSD" ]; then
|
||||||
if [ X"$AUTOMAKE_VERSION" = X"" ]; then
|
if [ X"$AUTOMAKE_VERSION" = X"" ]; then
|
||||||
AUTOMAKE_VERSION=1.14; export AUTOMAKE_VERSION
|
AUTOMAKE_VERSION=1.15; export AUTOMAKE_VERSION
|
||||||
fi
|
fi
|
||||||
if [ X"$AUTOCONF_VERSION" = X"" ]; then
|
if [ X"$AUTOCONF_VERSION" = X"" ]; then
|
||||||
AUTOCONF_VERSION=2.69; export AUTOCONF_VERSION
|
AUTOCONF_VERSION=2.69; export AUTOCONF_VERSION
|
||||||
|
@@ -470,7 +470,7 @@
|
|||||||
/* Define to 1 if you have the <login_cap.h> header file. */
|
/* Define to 1 if you have the <login_cap.h> header file. */
|
||||||
#undef HAVE_LOGIN_CAP_H
|
#undef HAVE_LOGIN_CAP_H
|
||||||
|
|
||||||
/* Define to 1 if the system has the type 'long long int'. */
|
/* Define to 1 if the system has the type `long long int'. */
|
||||||
#undef HAVE_LONG_LONG_INT
|
#undef HAVE_LONG_LONG_INT
|
||||||
|
|
||||||
/* Define to 1 if you have the `lrand48' function. */
|
/* Define to 1 if you have the `lrand48' function. */
|
||||||
@@ -860,7 +860,7 @@
|
|||||||
/* Define to 1 if you have the `unsetenv' function. */
|
/* Define to 1 if you have the `unsetenv' function. */
|
||||||
#undef HAVE_UNSETENV
|
#undef HAVE_UNSETENV
|
||||||
|
|
||||||
/* 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'. */
|
||||||
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
||||||
|
|
||||||
/* Define to 1 if you have the <util.h> header file. */
|
/* Define to 1 if you have the <util.h> header file. */
|
||||||
|
54
configure
vendored
54
configure
vendored
@@ -18232,18 +18232,18 @@ else
|
|||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
||||||
/* For now, do not test the preprocessor; as of 2007 there are too many
|
/* For now, do not test the preprocessor; as of 2007 there are too many
|
||||||
implementations with broken preprocessors. Perhaps this can
|
implementations with broken preprocessors. Perhaps this can
|
||||||
be revisited in 2012. In the meantime, code should not expect
|
be revisited in 2012. In the meantime, code should not expect
|
||||||
#if to work with literals wider than 32 bits. */
|
#if to work with literals wider than 32 bits. */
|
||||||
/* Test literals. */
|
/* Test literals. */
|
||||||
long long int ll = 9223372036854775807ll;
|
long long int ll = 9223372036854775807ll;
|
||||||
long long int nll = -9223372036854775807LL;
|
long long int nll = -9223372036854775807LL;
|
||||||
unsigned long long int ull = 18446744073709551615ULL;
|
unsigned long long int ull = 18446744073709551615ULL;
|
||||||
/* Test constant expressions. */
|
/* Test constant expressions. */
|
||||||
typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
|
typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
|
||||||
? 1 : -1)];
|
? 1 : -1)];
|
||||||
typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
|
typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
|
||||||
? 1 : -1)];
|
? 1 : -1)];
|
||||||
int i = 63;
|
int i = 63;
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
@@ -18252,9 +18252,9 @@ main ()
|
|||||||
long long int llmax = 9223372036854775807ll;
|
long long int llmax = 9223372036854775807ll;
|
||||||
unsigned long long int ullmax = 18446744073709551615ull;
|
unsigned long long int ullmax = 18446744073709551615ull;
|
||||||
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
|
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
|
||||||
| (llmax / ll) | (llmax % ll)
|
| (llmax / ll) | (llmax % ll)
|
||||||
| (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
|
| (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
|
||||||
| (ullmax / ull) | (ullmax % ull));
|
| (ullmax / ull) | (ullmax % ull));
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -18286,33 +18286,33 @@ if ${ac_cv_type_long_long_int+:} false; then :
|
|||||||
else
|
else
|
||||||
ac_cv_type_long_long_int=yes
|
ac_cv_type_long_long_int=yes
|
||||||
if test "x${ac_cv_prog_cc_c99-no}" = xno; then
|
if test "x${ac_cv_prog_cc_c99-no}" = xno; then
|
||||||
ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
|
ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
|
||||||
if test $ac_cv_type_long_long_int = yes; then
|
if test $ac_cv_type_long_long_int = yes; then
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#ifndef LLONG_MAX
|
#ifndef LLONG_MAX
|
||||||
# define HALF \
|
# define HALF \
|
||||||
(1LL << (sizeof (long long int) * CHAR_BIT - 2))
|
(1LL << (sizeof (long long int) * CHAR_BIT - 2))
|
||||||
# define LLONG_MAX (HALF - 1 + HALF)
|
# define LLONG_MAX (HALF - 1 + HALF)
|
||||||
#endif
|
#endif
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
long long int n = 1;
|
long long int n = 1;
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; ; i++)
|
for (i = 0; ; i++)
|
||||||
{
|
{
|
||||||
long long int m = n << i;
|
long long int m = n << i;
|
||||||
if (m >> i != n)
|
if (m >> i != n)
|
||||||
return 1;
|
return 1;
|
||||||
if (LLONG_MAX / 2 < m)
|
if (LLONG_MAX / 2 < m)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -18326,7 +18326,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
|
||||||
|
Reference in New Issue
Block a user