GLIBCXX_CHECK_SETRLIMIT_ancilliary(FSIZE)
# Check for rlimit, setrlimit.
- AC_CACHE_VAL(glibcxx_cv_setrlimit, [
+ AC_CACHE_CHECK([for testsuite resource limits support],
+ glibcxx_cv_setrlimit, [
AC_TRY_COMPILE(
[#include <unistd.h>
#include <sys/time.h>
setrlimit(0, &r);],
[glibcxx_cv_setrlimit=yes], [glibcxx_cv_setrlimit=no])
])
- fi
- AC_MSG_CHECKING([for testsuite resource limits support])
- if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
- ac_res_limits=yes
- AC_DEFINE(_GLIBCXX_RES_LIMITS, 1,
- [Define if using setrlimit to set resource limits during
- "make check"])
- else
- ac_res_limits=no
+ if test $glibcxx_cv_setrlimit = yes; then
+ AC_DEFINE(_GLIBCXX_RES_LIMITS, 1,
+ [Define if using setrlimit to set resource limits during
+ "make check"])
+ fi
fi
AC_LANG_RESTORE
- AC_MSG_RESULT($ac_res_limits)
])
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for poll])
- AC_CACHE_VAL(glibcxx_cv_POLL, [
+ AC_CACHE_CHECK([for poll], glibcxx_cv_POLL, [
GCC_TRY_COMPILE_OR_LINK(
[#include <poll.h>],
[struct pollfd pfd[1];
if test $glibcxx_cv_POLL = yes; then
AC_DEFINE(HAVE_POLL, 1, [Define if poll is available in <poll.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_POLL)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for writev])
- AC_CACHE_VAL(glibcxx_cv_WRITEV, [
+ AC_CACHE_CHECK([for writev], glibcxx_cv_WRITEV, [
GCC_TRY_COMPILE_OR_LINK(
[#include <sys/uio.h>],
[struct iovec iov[2];
if test $glibcxx_cv_WRITEV = yes; then
AC_DEFINE(HAVE_WRITEV, 1, [Define if writev is available in <sys/uio.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_WRITEV)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
AC_LANG_CPLUSPLUS
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for LFS support])
- AC_CACHE_VAL(glibcxx_cv_LFS, [
+ AC_CACHE_CHECK([for LFS support], glibcxx_cv_LFS, [
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>
#include <stdio.h>
if test $glibcxx_cv_LFS = yes; then
AC_DEFINE(_GLIBCXX_USE_LFS, 1, [Define if LFS support is available.])
fi
- AC_MSG_RESULT($glibcxx_cv_LFS)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
])
fi
# Check for the existence of <math.h> functions used if C99 is enabled.
- AC_MSG_CHECKING([for ISO C99 support in <math.h> for C++98])
- AC_CACHE_VAL(glibcxx_cv_c99_math_cxx98, [
+ AC_CACHE_CHECK([for ISO C99 support in <math.h> for C++98],
+ glibcxx_cv_c99_math_cxx98, [
GCC_TRY_COMPILE_OR_LINK(
[#include <math.h>
volatile double d1, d2;
i = isunordered(d1, d2);
], [glibcxx_cv_c99_math_cxx98=yes], [glibcxx_cv_c99_math_cxx98=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_math_cxx98)
if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
AC_DEFINE(_GLIBCXX98_USE_C99_MATH, 1,
[Define if C99 functions or macros in <math.h> should be imported
AC_CHECK_HEADERS(tgmath.h, ac_has_tgmath_h=yes, ac_has_tgmath_h=no)
AC_CHECK_HEADERS(complex.h, ac_has_complex_h=yes, ac_has_complex_h=no)
if test x"$ac_has_complex_h" = x"yes"; then
- AC_MSG_CHECKING([for ISO C99 support in <complex.h> for C++98])
- AC_CACHE_VAL(glibcxx_cv_c99_complex_cxx98, [
+ AC_CACHE_CHECK([for ISO C99 support in <complex.h> for C++98],
+ glibcxx_cv_c99_complex_cxx98, [
GCC_TRY_COMPILE_OR_LINK(
[#include <complex.h>
typedef __complex__ float float_type;
], [glibcxx_cv_c99_complex_cxx98=yes], [glibcxx_cv_c99_complex_cxx98=no])
])
fi
- AC_MSG_RESULT($glibcxx_cv_c99_complex_cxx98)
if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
AC_DEFINE(_GLIBCXX98_USE_C99_COMPLEX, 1,
[Define if C99 functions in <complex.h> should be used in
fi
# Check for the existence in <stdio.h> of vscanf, et. al.
- AC_MSG_CHECKING([for ISO C99 support in <stdio.h> for C++98])
- AC_CACHE_VAL(glibcxx_cv_c99_stdio_cxx98, [
+ AC_CACHE_CHECK([for ISO C99 support in <stdio.h> for C++98],
+ glibcxx_cv_c99_stdio_cxx98, [
GCC_TRY_COMPILE_OR_LINK(
[#include <stdio.h>
#include <stdarg.h>
}], [],
[glibcxx_cv_c99_stdio_cxx98=yes], [glibcxx_cv_c99_stdio_cxx98=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_stdio_cxx98)
if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
AC_DEFINE(_GLIBCXX98_USE_C99_STDIO, 1,
[Define if C99 functions or macros in <stdio.h> should be imported
fi
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
- AC_MSG_CHECKING([for ISO C99 support in <stdlib.h> for C++98])
- AC_CACHE_VAL(glibcxx_cv_c99_stdlib_cxx98, [
+ AC_CACHE_CHECK([for ISO C99 support in <stdlib.h> for C++98],
+ glibcxx_cv_c99_stdlib_cxx98, [
GCC_TRY_COMPILE_OR_LINK(
[#include <stdlib.h>
volatile float f;
_Exit(0);
], [glibcxx_cv_c99_stdlib_cxx98=yes], [glibcxx_cv_c99_stdlib_cxx98=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_stdlib_cxx98)
if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
AC_DEFINE(_GLIBCXX98_USE_C99_STDLIB, 1,
[Define if C99 functions or macros in <stdlib.h> should be imported
# Check for the existence in <wchar.h> of wcstold, etc.
if test x"$ac_has_wchar_h" = xyes &&
test x"$ac_has_wctype_h" = xyes; then
- AC_MSG_CHECKING([for ISO C99 support in <wchar.h> for C++98])
- AC_CACHE_VAL(glibcxx_cv_c99_wchar_cxx98, [
+ AC_CACHE_CHECK([for ISO C99 support in <wchar.h> for C++98],
+ glibcxx_cv_c99_wchar_cxx98, [
AC_TRY_COMPILE([#include <wchar.h>
namespace test
{
[wint_t t; int i = iswblank(t);],
[AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])], [])
- AC_MSG_RESULT($glibcxx_cv_c99_wchar_cxx98)
if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
AC_DEFINE(_GLIBCXX98_USE_C99_WCHAR, 1,
[Define if C99 functions or macros in <wchar.h> should be imported
fi
# Check for the existence of <math.h> functions used if C99 is enabled.
- AC_MSG_CHECKING([for ISO C99 support in <math.h> for C++11])
- AC_CACHE_VAL(glibcxx_cv_c99_math_cxx11, [
+ AC_CACHE_CHECK([for ISO C99 support in <math.h> for C++11],
+ glibcxx_cv_c99_math_cxx11, [
GCC_TRY_COMPILE_OR_LINK(
[#include <math.h>
volatile double d1, d2;
i = isunordered(d1, d2);
], [glibcxx_cv_c99_math_cxx11=yes], [glibcxx_cv_c99_math_cxx11=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_math_cxx11)
if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX11_USE_C99_MATH, 1,
[Define if C99 functions or macros in <math.h> should be imported
AC_CHECK_HEADERS(tgmath.h, ac_has_tgmath_h=yes, ac_has_tgmath_h=no)
AC_CHECK_HEADERS(complex.h, ac_has_complex_h=yes, ac_has_complex_h=no)
if test x"$ac_has_complex_h" = x"yes"; then
- AC_MSG_CHECKING([for ISO C99 support in <complex.h> for C++11])
- AC_CACHE_VAL(glibcxx_cv_c99_complex_cxx11, [
+ AC_CACHE_CHECK([for ISO C99 support in <complex.h> for C++11],
+ glibcxx_cv_c99_complex_cxx11, [
GCC_TRY_COMPILE_OR_LINK(
[#include <complex.h>
typedef __complex__ float float_type;
], [glibcxx_cv_c99_complex_cxx11=yes], [glibcxx_cv_c99_complex_cxx11=no])
])
fi
- AC_MSG_RESULT($glibcxx_cv_c99_complex_cxx11)
if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX11_USE_C99_COMPLEX, 1,
[Define if C99 functions in <complex.h> should be used in
fi
# Check for the existence in <stdio.h> of vscanf, et. al.
- AC_MSG_CHECKING([for ISO C99 support in <stdio.h> for C++11])
- AC_CACHE_VAL(glibcxx_cv_c99_stdio_cxx11, [
+ AC_CACHE_CHECK([for ISO C99 support in <stdio.h> for C++11],
+ glibcxx_cv_c99_stdio_cxx11, [
GCC_TRY_COMPILE_OR_LINK(
[#include <stdio.h>
#include <stdarg.h>
}], [],
[glibcxx_cv_c99_stdio_cxx11=yes], [glibcxx_cv_c99_stdio_cxx11=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_stdio_cxx11)
if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX11_USE_C99_STDIO, 1,
[Define if C99 functions or macros in <stdio.h> should be imported
fi
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
- AC_MSG_CHECKING([for ISO C99 support in <stdlib.h> for C++11])
- AC_CACHE_VAL(glibcxx_cv_c99_stdlib_cxx11, [
+ AC_CACHE_CHECK([for ISO C99 support in <stdlib.h> for C++11],
+ glibcxx_cv_c99_stdlib_cxx11, [
GCC_TRY_COMPILE_OR_LINK(
[#include <stdlib.h>
volatile float f;
_Exit(0);
], [glibcxx_cv_c99_stdlib_cxx11=yes], [glibcxx_cv_c99_stdlib_cxx11=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_stdlib_cxx11)
if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX11_USE_C99_STDLIB, 1,
[Define if C99 functions or macros in <stdlib.h> should be imported
# Check for the existence in <wchar.h> of wcstold, etc.
if test x"$ac_has_wchar_h" = xyes &&
test x"$ac_has_wctype_h" = xyes; then
- AC_MSG_CHECKING([for ISO C99 support in <wchar.h> for C++11])
- AC_CACHE_VAL(glibcxx_cv_c99_wchar_cxx11, [
+ AC_CACHE_CHECK([for ISO C99 support in <wchar.h> for C++11],
+ glibcxx_cv_c99_wchar_cxx11, [
AC_TRY_COMPILE([#include <wchar.h>
namespace test
{
[wint_t t; int i = iswblank(t);],
[AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])], [])
- AC_MSG_RESULT($glibcxx_cv_c99_wchar_cxx11)
if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX11_USE_C99_WCHAR, 1,
[Define if C99 functions or macros in <wchar.h> should be imported
fi
# Check for the existence of <ctype.h> functions.
- AC_MSG_CHECKING([for ISO C99 support to TR1 in <ctype.h>])
- AC_CACHE_VAL(glibcxx_cv_c99_ctype_tr1, [
+ AC_CACHE_CHECK([for ISO C99 support to TR1 in <ctype.h>],
+ glibcxx_cv_c99_ctype_tr1, [
AC_TRY_COMPILE([#include <ctype.h>],
[int ch;
int ret;
],[glibcxx_cv_c99_ctype_tr1=yes],
[glibcxx_cv_c99_ctype_tr1=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_ctype_tr1)
if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_CTYPE_TR1, 1,
[Define if C99 functions in <ctype.h> should be imported in
ret = fesetenv(penv);
ret = feupdateenv(penv);
],[ac_c99_fenv_tr1=yes], [ac_c99_fenv_tr1=no])
+ AC_MSG_RESULT($ac_c99_fenv_tr1)
fi
- AC_MSG_RESULT($ac_c99_fenv_tr1)
if test x"$ac_c99_fenv_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_FENV_TR1, 1,
[Define if C99 functions in <fenv.h> should be imported in
fi
# Check for the existence of <stdint.h> types.
- AC_MSG_CHECKING([for ISO C99 support to TR1 in <stdint.h>])
- AC_CACHE_VAL(glibcxx_cv_c99_stdint_tr1, [
+ AC_CACHE_CHECK([for ISO C99 support to TR1 in <stdint.h>],
+ glibcxx_cv_c99_stdint_tr1, [
AC_TRY_COMPILE([#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#include <stdint.h>],
],[glibcxx_cv_c99_stdint_tr1=yes],
[glibcxx_cv_c99_stdint_tr1=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_stdint_tr1)
if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_STDINT_TR1, 1,
[Define if C99 types in <stdint.h> should be imported in
fi
# Check for the existence of <math.h> functions.
- AC_MSG_CHECKING([for ISO C99 support to TR1 in <math.h>])
- AC_CACHE_VAL(glibcxx_cv_c99_math_tr1, [
+ AC_CACHE_CHECK([for ISO C99 support to TR1 in <math.h>],
+ glibcxx_cv_c99_math_tr1, [
AC_TRY_COMPILE([#include <math.h>],
[typedef double_t my_double_t;
typedef float_t my_float_t;
truncl(0.0l);
],[glibcxx_cv_c99_math_tr1=yes], [glibcxx_cv_c99_math_tr1=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_math_tr1)
if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_MATH_TR1, 1,
[Define if C99 functions or macros in <math.h> should be imported
case "${target_os}" in
darwin*)
- AC_MSG_CHECKING([for ISO C99 rounding functions in <math.h>])
- AC_CACHE_VAL(glibcxx_cv_c99_math_llround, [
+ AC_CACHE_CHECK([for ISO C99 rounding functions in <math.h>],
+ glibcxx_cv_c99_math_llround, [
AC_TRY_COMPILE([#include <math.h>],
[llrint(0.0);
llrintf(0.0f);
[glibcxx_cv_c99_math_llround=yes],
[glibcxx_cv_c99_math_llround=no])
])
- AC_MSG_RESULT($glibcxx_cv_c99_math_llround)
;;
esac
if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
ret = strtoimax(s, endptr, base);
uintmax_t uret = strtoumax(s, endptr, base);
],[ac_c99_inttypes_tr1=yes], [ac_c99_inttypes_tr1=no])
+ AC_MSG_RESULT($ac_c99_inttypes_tr1)
fi
- AC_MSG_RESULT($ac_c99_inttypes_tr1)
if test x"$ac_c99_inttypes_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_INTTYPES_TR1, 1,
[Define if C99 functions in <inttypes.h> should be imported in
uintmax_t uret = wcstoumax(s, endptr, base);
],[ac_c99_inttypes_wchar_t_tr1=yes],
[ac_c99_inttypes_wchar_t_tr1=no])
+ AC_MSG_RESULT($ac_c99_inttypes_wchar_t_tr1)
fi
- AC_MSG_RESULT($ac_c99_inttypes_wchar_t_tr1)
if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1, 1,
[Define if wchar_t C99 functions in <inttypes.h> should be
}
],
[], [ac_c11_uchar_cxx11=yes], [ac_c11_uchar_cxx11=no])
+ AC_MSG_RESULT($ac_c11_uchar_cxx11)
else
ac_c11_uchar_cxx11=no
fi
- AC_MSG_RESULT($ac_c11_uchar_cxx11)
if test x"$ac_c11_uchar_cxx11" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_C11_UCHAR_CXX11, 1,
[Define if C11 functions in <uchar.h> should be imported into
dnl
AC_DEFUN([GLIBCXX_CHECK_DEV_RANDOM], [
- AC_MSG_CHECKING([for "/dev/random" and "/dev/urandom" for std::random_device])
- AC_CACHE_VAL(glibcxx_cv_dev_random, [
+ AC_CACHE_CHECK([for "/dev/random" and "/dev/urandom" for std::random_device],
+ glibcxx_cv_dev_random, [
if test -r /dev/random && test -r /dev/urandom; then
## For MSys environment the test above is detected as false-positive
## on mingw-targets. So disable it explicitly for them.
glibcxx_cv_dev_random=no;
fi
])
- AC_MSG_RESULT($glibcxx_cv_dev_random)
if test x"$glibcxx_cv_dev_random" = x"yes"; then
AC_DEFINE(_GLIBCXX_USE_DEV_RANDOM, 1,
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -std=gnu++11"
- AC_MSG_CHECKING([for gets declaration])
- AC_CACHE_VAL(glibcxx_cv_gets, [
+ AC_CACHE_CHECK([for gets declaration], glibcxx_cv_gets, [
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#include <stdio.h>
namespace test
if test $glibcxx_cv_gets = yes; then
AC_DEFINE(HAVE_GETS, 1, [Define if gets is available in <stdio.h> before C++14.])
fi
- AC_MSG_RESULT($glibcxx_cv_gets)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
*-*-solaris2.*)
# Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
# 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
- AC_MSG_CHECKING([for C++11 <math.h> floating point overloads])
- AC_CACHE_VAL(glibcxx_cv_math11_fp_overload, [
+ AC_CACHE_CHECK([for C++11 <math.h> floating point overloads],
+ glibcxx_cv_math11_fp_overload, [
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#include <math.h>
#undef isfinite
if test $glibcxx_cv_math11_fp_overload = yes; then
AC_DEFINE(__CORRECT_ISO_CPP11_MATH_H_PROTO_FP)
fi
- AC_MSG_RESULT([$glibcxx_cv_math11_fp_overload])
# Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
# 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
- AC_MSG_CHECKING([for C++11 <math.h> integral type overloads])
- AC_CACHE_VAL(glibcxx_cv_math11_int_overload, [
+ AC_CACHE_CHECK([for C++11 <math.h> integral type overloads],
+ glibcxx_cv_math11_int_overload, [
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#include <math.h>
namespace std {
if test $glibcxx_cv_math11_int_overload = yes; then
AC_DEFINE(__CORRECT_ISO_CPP11_MATH_H_PROTO_INT)
fi
- AC_MSG_RESULT([$glibcxx_cv_math11_int_overload])
;;
*)
# If <math.h> defines the obsolete isinf(double) and isnan(double)
# functions (instead of or as well as the C99 generic macros) then we
# can't define std::isinf(double) and std::isnan(double) in <cmath>
# and must use the ones from <math.h> instead.
- AC_MSG_CHECKING([for obsolete isinf function in <math.h>])
- AC_CACHE_VAL(glibcxx_cv_obsolete_isinf, [
+ AC_CACHE_CHECK([for obsolete isinf function in <math.h>],
+ glibcxx_cv_obsolete_isinf, [
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
#include <math.h>
[glibcxx_cv_obsolete_isinf=yes],
[glibcxx_cv_obsolete_isinf=no]
)])
- AC_MSG_RESULT([$glibcxx_cv_obsolete_isinf])
if test $glibcxx_cv_obsolete_isinf = yes; then
AC_DEFINE(HAVE_OBSOLETE_ISINF, 1,
[Define if <math.h> defines obsolete isinf function.])
fi
- AC_MSG_CHECKING([for obsolete isnan function in <math.h>])
- AC_CACHE_VAL(glibcxx_cv_obsolete_isnan, [
+ AC_CACHE_CHECK([for obsolete isnan function in <math.h>],
+ glibcxx_cv_obsolete_isnan, [
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
#include <math.h>
[glibcxx_cv_obsolete_isnan=yes],
[glibcxx_cv_obsolete_isnan=no]
)])
- AC_MSG_RESULT([$glibcxx_cv_obsolete_isnan])
if test $glibcxx_cv_obsolete_isnan = yes; then
AC_DEFINE(HAVE_OBSOLETE_ISNAN, 1,
[Define if <math.h> defines obsolete isnan function.])
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for atomic builtins for bool])
- AC_CACHE_VAL(glibcxx_cv_atomic_bool, [
+ AC_CACHE_CHECK([for atomic builtins for bool],
+ glibcxx_cv_atomic_bool, [
AC_TRY_LINK(
[ ],
[typedef bool atomic_type;
[glibcxx_cv_atomic_bool=yes],
[glibcxx_cv_atomic_bool=no])
])
- AC_MSG_RESULT($glibcxx_cv_atomic_bool)
- AC_MSG_CHECKING([for atomic builtins for short])
- AC_CACHE_VAL(glibcxx_cv_atomic_short, [
+ AC_CACHE_CHECK([for atomic builtins for short],
+ glibcxx_cv_atomic_short, [
AC_TRY_LINK(
[ ],
[typedef short atomic_type;
[glibcxx_cv_atomic_short=yes],
[glibcxx_cv_atomic_short=no])
])
- AC_MSG_RESULT($glibcxx_cv_atomic_short)
- AC_MSG_CHECKING([for atomic builtins for int])
- AC_CACHE_VAL(glibcxx_cv_atomic_int, [
+ AC_CACHE_CHECK([for atomic builtins for int],
+ glibcxx_cv_atomic_int, [
AC_TRY_LINK(
[ ],
[typedef int atomic_type;
[glibcxx_cv_atomic_int=yes],
[glibcxx_cv_atomic_int=no])
])
- AC_MSG_RESULT($glibcxx_cv_atomic_int)
- AC_MSG_CHECKING([for atomic builtins for long long])
- AC_CACHE_VAL(glibcxx_cv_atomic_long_long, [
+ AC_CACHE_CHECK([for atomic builtins for long long],
+ glibcxx_cv_atomic_long_long, [
AC_TRY_LINK(
[ ],
[typedef long long atomic_type;
[glibcxx_cv_atomic_long_long=yes],
[glibcxx_cv_atomic_long_long=no])
])
- AC_MSG_RESULT($glibcxx_cv_atomic_long_long)
else
dnl
dnl Check whether rdrand is supported in the assembler.
AC_DEFUN([GLIBCXX_CHECK_X86_RDRAND], [
- AC_MSG_CHECKING([for rdrand support in assembler])
- AC_CACHE_VAL(ac_cv_x86_rdrand, [
+ AC_CACHE_CHECK([for rdrand support in assembler],
+ ac_cv_x86_rdrand, [
ac_cv_x86_rdrand=no
case "$target" in
i?86-*-* | \
AC_DEFINE(_GLIBCXX_X86_RDRAND, 1,
[ Defined if as can handle rdrand. ])
fi
- AC_MSG_RESULT($ac_cv_x86_rdrand)
])
dnl
dnl Check whether rdseed is supported in the assembler.
AC_DEFUN([GLIBCXX_CHECK_X86_RDSEED], [
- AC_MSG_CHECKING([for rdseed support in assembler])
- AC_CACHE_VAL(ac_cv_x86_rdseed, [
+ AC_CACHE_CHECK([for rdseed support in assembler],
+ ac_cv_x86_rdseed, [
ac_cv_x86_rdseed=no
case "$target" in
i?86-*-* | \
AC_DEFINE(_GLIBCXX_X86_RDSEED, 1,
[ Defined if as can handle rdseed. ])
fi
- AC_MSG_RESULT($ac_cv_x86_rdseed)
])
dnl
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for get_nprocs])
- AC_CACHE_VAL(glibcxx_cv_GET_NPROCS, [
+ AC_CACHE_CHECK([for get_nprocs],
+ glibcxx_cv_GET_NPROCS, [
GCC_TRY_COMPILE_OR_LINK(
[#include <sys/sysinfo.h>],
[int n = get_nprocs();],
if test $glibcxx_cv_GET_NPROCS = yes; then
AC_DEFINE(_GLIBCXX_USE_GET_NPROCS, 1, [Define if get_nprocs is available in <sys/sysinfo.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_GET_NPROCS)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for _SC_NPROCESSORS_ONLN])
- AC_CACHE_VAL(glibcxx_cv_SC_NPROCESSORS_ONLN, [
+ AC_CACHE_CHECK([for _SC_NPROCESSORS_ONLN],
+ glibcxx_cv_SC_NPROCESSORS_ONLN, [
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[int n = sysconf(_SC_NPROCESSORS_ONLN);],
if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
AC_DEFINE(_GLIBCXX_USE_SC_NPROCESSORS_ONLN, 1, [Define if _SC_NPROCESSORS_ONLN is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_SC_NPROCESSORS_ONLN)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for _SC_NPROC_ONLN])
- AC_CACHE_VAL(glibcxx_cv_SC_NPROC_ONLN, [
+ AC_CACHE_CHECK([for _SC_NPROC_ONLN],
+ glibcxx_cv_SC_NPROC_ONLN, [
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[int n = sysconf(_SC_NPROC_ONLN);],
if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
AC_DEFINE(_GLIBCXX_USE_SC_NPROC_ONLN, 1, [Define if _SC_NPROC_ONLN is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_SC_NPROC_ONLN)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for pthreads_num_processors_np])
- AC_CACHE_VAL(glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP, [
+ AC_CACHE_CHECK([for pthreads_num_processors_np],
+ glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP, [
GCC_TRY_COMPILE_OR_LINK(
[#include <pthread.h>],
[int n = pthread_num_processors_np();],
if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
AC_DEFINE(_GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP, 1, [Define if pthreads_num_processors_np is available in <pthread.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lpthread"
- AC_MSG_CHECKING([for pthread_cond_clockwait])
- AC_CACHE_VAL(glibcxx_cv_PTHREAD_COND_CLOCKWAIT, [
+ AC_CACHE_CHECK([for pthread_cond_clockwait],
+ glibcxx_cv_PTHREAD_COND_CLOCKWAIT, [
GCC_TRY_COMPILE_OR_LINK(
[#include <pthread.h>],
[pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);],
if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
AC_DEFINE(_GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT, 1, [Define if pthread_cond_clockwait is available in <pthread.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_PTHREAD_COND_CLOCKWAIT)
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lpthread"
- AC_MSG_CHECKING([for pthread_mutex_clocklock])
- AC_CACHE_VAL(glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK, [
+ AC_CACHE_CHECK([for pthread_mutex_clocklock],
+ glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK, [
GCC_TRY_COMPILE_OR_LINK(
[#include <pthread.h>],
[pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);],
if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
AC_DEFINE(_GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK, 1, [Define if pthread_mutex_clocklock is available in <pthread.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK)
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lpthread"
- AC_MSG_CHECKING([for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock])
- AC_CACHE_VAL(glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK, [
+ AC_CACHE_CHECK([for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock],
+ glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK, [
GCC_TRY_COMPILE_OR_LINK(
[#include <pthread.h>],
[pthread_rwlock_t rwl; struct timespec ts;]
if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
AC_DEFINE(_GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK, 1, [Define if pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock are available in <pthread.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK)
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for hw.ncpu sysctl])
- AC_CACHE_VAL(glibcxx_cv_SYSCTL_HW_NCPU, [
+ AC_CACHE_CHECK([for hw.ncpu sysctl],
+ glibcxx_cv_SYSCTL_HW_NCPU, [
GCC_TRY_COMPILE_OR_LINK(
[
#include <stddef.h>
if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
AC_DEFINE(_GLIBCXX_USE_SYSCTL_HW_NCPU, 1, [Define if sysctl(), CTL_HW and HW_NCPU are available in <sys/sysctl.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_SYSCTL_HW_NCPU)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
dnl
- AC_MSG_CHECKING([for tmpnam])
- AC_CACHE_VAL(glibcxx_cv_TMPNAM, [dnl
+ AC_CACHE_CHECK([for tmpnam], glibcxx_cv_TMPNAM, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <stdio.h>],
[char *tmp = tmpnam(NULL);],
if test $glibcxx_cv_TMPNAM = yes; then
AC_DEFINE(_GLIBCXX_USE_TMPNAM, 1, [Define if obsolescent tmpnam is available in <stdio.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_TMPNAM)
dnl
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
dnl Some versions of sdt.h were not compatible with C++11.
dnl
AC_DEFUN([GLIBCXX_CHECK_SDT_H], [
- AC_MSG_CHECKING([for suitable sys/sdt.h])
# Note that this test has to be run with the C language.
# Otherwise, sdt.h will try to include some headers from
# libstdc++ itself.
AC_LANG_SAVE
AC_LANG_C
- AC_CACHE_VAL(glibcxx_cv_sys_sdt_h, [
+ AC_CACHE_CHECK([for suitable sys/sdt.h],
+ glibcxx_cv_sys_sdt_h, [
# Because we have to run the test in C, we use grep rather
# than the compiler to check for the bug. The bug is that
# were strings without trailing whitespace, causing g++
AC_DEFINE(HAVE_SYS_SDT_H, 1,
[Define to 1 if you have a suitable <sys/sdt.h> header file])
fi
- AC_MSG_RESULT($glibcxx_cv_sys_sdt_h)
])
dnl
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
dnl
- AC_MSG_CHECKING([for struct dirent.d_type])
- AC_CACHE_VAL(glibcxx_cv_dirent_d_type, [dnl
+ AC_CACHE_CHECK([for struct dirent.d_type], glibcxx_cv_dirent_d_type, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <dirent.h>],
[
if test $glibcxx_cv_dirent_d_type = yes; then
AC_DEFINE(HAVE_STRUCT_DIRENT_D_TYPE, 1, [Define to 1 if `d_type' is a member of `struct dirent'.])
fi
- AC_MSG_RESULT($glibcxx_cv_dirent_d_type)
dnl
- AC_MSG_CHECKING([for realpath])
- AC_CACHE_VAL(glibcxx_cv_realpath, [dnl
+ AC_CACHE_CHECK([for realpath], glibcxx_cv_realpath, [dnl
GCC_TRY_COMPILE_OR_LINK(
[
#include <limits.h>
if test $glibcxx_cv_realpath = yes; then
AC_DEFINE(_GLIBCXX_USE_REALPATH, 1, [Define if usable realpath is available in <stdlib.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_realpath)
dnl
- AC_MSG_CHECKING([for utimensat])
- AC_CACHE_VAL(glibcxx_cv_utimensat, [dnl
+ AC_CACHE_CHECK([for utimensat], glibcxx_cv_utimensat, [dnl
GCC_TRY_COMPILE_OR_LINK(
[
#include <fcntl.h>
if test $glibcxx_cv_utimensat = yes; then
AC_DEFINE(_GLIBCXX_USE_UTIMENSAT, 1, [Define if utimensat and UTIME_OMIT are available in <sys/stat.h> and AT_FDCWD in <fcntl.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_utimensat)
dnl
- AC_MSG_CHECKING([for utime])
- AC_CACHE_VAL(glibcxx_cv_utime, [dnl
+ AC_CACHE_CHECK([for utime], glibcxx_cv_utime, [dnl
GCC_TRY_COMPILE_OR_LINK(
[
#include <utime.h>
if test $glibcxx_cv_utime = yes; then
AC_DEFINE(_GLIBCXX_USE_UTIME, 1, [Define if utime is available in <utime.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_utime)
dnl
- AC_MSG_CHECKING([for lstat])
- AC_CACHE_VAL(glibcxx_cv_lstat, [dnl
+ AC_CACHE_CHECK([for lstat], glibcxx_cv_lstat, [dnl
GCC_TRY_COMPILE_OR_LINK(
[ #include <sys/stat.h> ],
[
if test $glibcxx_cv_lstat = yes; then
AC_DEFINE(_GLIBCXX_USE_LSTAT, 1, [Define if lstat is available in <sys/stat.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_lstat)
dnl
- AC_MSG_CHECKING([for struct stat.st_mtim.tv_nsec])
- AC_CACHE_VAL(glibcxx_cv_st_mtim, [dnl
+ AC_CACHE_CHECK([for struct stat.st_mtim.tv_nsec],
+ glibcxx_cv_st_mtim, [dnl
GCC_TRY_COMPILE_OR_LINK(
[ #include <sys/stat.h> ],
[
if test $glibcxx_cv_st_mtim = yes; then
AC_DEFINE(_GLIBCXX_USE_ST_MTIM, 1, [Define if struct stat has timespec members.])
fi
- AC_MSG_RESULT($glibcxx_cv_st_mtim)
dnl
- AC_MSG_CHECKING([for fchmod])
- AC_CACHE_VAL(glibcxx_cv_fchmod, [dnl
+ AC_CACHE_CHECK([for fchmod],
+ glibcxx_cv_fchmod, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <sys/stat.h>],
[fchmod(1, S_IWUSR);],
if test $glibcxx_cv_fchmod = yes; then
AC_DEFINE(_GLIBCXX_USE_FCHMOD, 1, [Define if fchmod is available in <sys/stat.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_fchmod)
dnl
- AC_MSG_CHECKING([for fchmodat])
- AC_CACHE_VAL(glibcxx_cv_fchmodat, [dnl
+ AC_CACHE_CHECK([for fchmodat],
+ glibcxx_cv_fchmodat, [dnl
GCC_TRY_COMPILE_OR_LINK(
[
#include <fcntl.h>
if test $glibcxx_cv_fchmodat = yes; then
AC_DEFINE(_GLIBCXX_USE_FCHMODAT, 1, [Define if fchmodat is available in <sys/stat.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_fchmodat)
dnl
- AC_MSG_CHECKING([for sendfile that can copy files])
- AC_CACHE_VAL(glibcxx_cv_sendfile, [dnl
+ AC_CACHE_CHECK([for sendfile that can copy files],
+ glibcxx_cv_sendfile, [dnl
case "${target_os}" in
gnu* | linux* | solaris* | uclinux*)
GCC_TRY_COMPILE_OR_LINK(
if test $glibcxx_cv_sendfile = yes; then
AC_DEFINE(_GLIBCXX_USE_SENDFILE, 1, [Define if sendfile is available in <sys/sendfile.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_sendfile)
dnl
- AC_MSG_CHECKING([for link])
- AC_CACHE_VAL(glibcxx_cv_link, [dnl
+ AC_CACHE_CHECK([for link],
+ glibcxx_cv_link, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[link("", "");],
if test $glibcxx_cv_link = yes; then
AC_DEFINE(HAVE_LINK, 1, [Define if link is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_link)
dnl
- AC_MSG_CHECKING([for readlink])
- AC_CACHE_VAL(glibcxx_cv_readlink, [dnl
+ AC_CACHE_CHECK([for readlink],
+ glibcxx_cv_readlink, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[char buf[32]; readlink("", buf, sizeof(buf));],
if test $glibcxx_cv_readlink = yes; then
AC_DEFINE(HAVE_READLINK, 1, [Define if readlink is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_readlink)
dnl
- AC_MSG_CHECKING([for symlink])
- AC_CACHE_VAL(glibcxx_cv_symlink, [dnl
+ AC_CACHE_CHECK([for symlink],
+ glibcxx_cv_symlink, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[symlink("", "");],
if test $glibcxx_cv_symlink = yes; then
AC_DEFINE(HAVE_SYMLINK, 1, [Define if symlink is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_symlink)
dnl
- AC_MSG_CHECKING([for truncate])
- AC_CACHE_VAL(glibcxx_cv_truncate, [dnl
+ AC_CACHE_CHECK([for truncate],
+ glibcxx_cv_truncate, [dnl
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[truncate("", 99);],
if test $glibcxx_cv_truncate = yes; then
AC_DEFINE(HAVE_TRUNCATE, 1, [Define if truncate is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_truncate)
dnl
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
- AC_MSG_CHECKING([for getentropy])
- AC_CACHE_VAL(glibcxx_cv_getentropy, [
+ AC_CACHE_CHECK([for getentropy], glibcxx_cv_getentropy, [
GCC_TRY_COMPILE_OR_LINK(
[#include <unistd.h>],
[unsigned i;
if test $glibcxx_cv_getentropy = yes; then
AC_DEFINE(HAVE_GETENTROPY, 1, [Define if getentropy is available in <unistd.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_getentropy)
AC_LANG_RESTORE
])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
- AC_MSG_CHECKING([for arc4random])
- AC_CACHE_VAL(glibcxx_cv_arc4random, [
+ AC_CACHE_CHECK([for arc4random], glibcxx_cv_arc4random, [
GCC_TRY_COMPILE_OR_LINK(
[#include <stdlib.h>],
[unsigned i = ::arc4random();],
if test $glibcxx_cv_arc4random = yes; then
AC_DEFINE(HAVE_ARC4RANDOM, 1, [Define if arc4random is available in <stdlib.h>.])
fi
- AC_MSG_RESULT($glibcxx_cv_arc4random)
AC_LANG_RESTORE
])
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
$as_echo_n "checking for atomic builtins for bool... " >&6; }
- if ${glibcxx_cv_atomic_bool+:} false; then :
+if ${glibcxx_cv_atomic_bool+:} false; then :
$as_echo_n "(cached) " >&6
else
conftest$ac_exeext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
$as_echo "$glibcxx_cv_atomic_bool" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
$as_echo_n "checking for atomic builtins for short... " >&6; }
- if ${glibcxx_cv_atomic_short+:} false; then :
+if ${glibcxx_cv_atomic_short+:} false; then :
$as_echo_n "(cached) " >&6
else
conftest$ac_exeext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
$as_echo "$glibcxx_cv_atomic_short" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
$as_echo_n "checking for atomic builtins for int... " >&6; }
- if ${glibcxx_cv_atomic_int+:} false; then :
+if ${glibcxx_cv_atomic_int+:} false; then :
$as_echo_n "(cached) " >&6
else
conftest$ac_exeext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
$as_echo "$glibcxx_cv_atomic_int" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
$as_echo_n "checking for atomic builtins for long long... " >&6; }
- if ${glibcxx_cv_atomic_long_long+:} false; then :
+if ${glibcxx_cv_atomic_long_long+:} false; then :
$as_echo_n "(cached) " >&6
else
conftest$ac_exeext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
else
# Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF
-#line 15967 "configure"
+#line 15963 "configure"
int main()
{
typedef bool atomic_type;
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16002 "configure"
+#line 15998 "configure"
int main()
{
typedef short atomic_type;
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16037 "configure"
+#line 16033 "configure"
int main()
{
// NB: _Atomic_word not necessarily int.
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16073 "configure"
+#line 16069 "configure"
int main()
{
typedef long long atomic_type;
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16226 "configure"
+#line 16222 "configure"
int main()
{
_Decimal32 d1;
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16268 "configure"
+#line 16264 "configure"
template<typename T1, typename T2>
struct same
{ typedef T2 type; };
# Check for the existence of <math.h> functions used if C99 is enabled.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
- if ${glibcxx_cv_c99_math_cxx98+:} false; then :
+if ${glibcxx_cv_c99_math_cxx98+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
if test x"$ac_has_complex_h" = x"yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
- if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
+if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
+ fi
if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
# Check for the existence in <stdio.h> of vscanf, et. al.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
- if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
+if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
- if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
+if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
test x"$ac_has_wctype_h" = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
- if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
+if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
# Checks for wide character functions that may not be present.
# Injection of these is wrapped with guard macros.
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
-$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
# Check for the existence of <math.h> functions used if C99 is enabled.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
- if ${glibcxx_cv_c99_math_cxx11+:} false; then :
+if ${glibcxx_cv_c99_math_cxx11+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
if test x"$ac_has_complex_h" = x"yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
- if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
+if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
+ fi
if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
# Check for the existence in <stdio.h> of vscanf, et. al.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
- if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
+if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
- if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
+if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
test x"$ac_has_wctype_h" = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
- if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
+if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
# Checks for wide character functions that may not be present.
# Injection of these is wrapped with guard macros.
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
-$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
$as_echo_n "checking for gets declaration... " >&6; }
- if ${glibcxx_cv_gets+:} false; then :
+if ${glibcxx_cv_gets+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
+$as_echo "$glibcxx_cv_gets" >&6; }
if test $glibcxx_cv_gets = yes; then
$as_echo "#define HAVE_GETS 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
-$as_echo "$glibcxx_cv_gets" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
# 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
- if ${glibcxx_cv_math11_fp_overload+:} false; then :
+if ${glibcxx_cv_math11_fp_overload+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
+$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
# autoheader cannot handle indented templates.
$as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
-$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
# Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
# 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
- if ${glibcxx_cv_math11_int_overload+:} false; then :
+if ${glibcxx_cv_math11_int_overload+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
+$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
# autoheader cannot handle indented templates.
$as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
-$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
;;
*)
# If <math.h> defines the obsolete isinf(double) and isnan(double)
# functions (instead of or as well as the C99 generic macros) then we
# can't define std::isinf(double) and std::isnan(double) in <cmath>
# and must use the ones from <math.h> instead.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
- if ${glibcxx_cv_obsolete_isinf+:} false; then :
+if ${glibcxx_cv_obsolete_isinf+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
if test $glibcxx_cv_obsolete_isinf = yes; then
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
- if ${glibcxx_cv_obsolete_isnan+:} false; then :
+if ${glibcxx_cv_obsolete_isnan+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
if test $glibcxx_cv_obsolete_isnan = yes; then
ac_c11_uchar_cxx11=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
+$as_echo "$ac_c11_uchar_cxx11" >&6; }
else
ac_c11_uchar_cxx11=no
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
-$as_echo "$ac_c11_uchar_cxx11" >&6; }
if test x"$ac_c11_uchar_cxx11" = x"yes"; then
$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
CXXFLAGS="$CXXFLAGS -fno-exceptions"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
$as_echo_n "checking for LFS support... " >&6; }
- if ${glibcxx_cv_LFS+:} false; then :
+if ${glibcxx_cv_LFS+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
+$as_echo "$glibcxx_cv_LFS" >&6; }
if test $glibcxx_cv_LFS = yes; then
$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
-$as_echo "$glibcxx_cv_LFS" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
$as_echo_n "checking for poll... " >&6; }
- if ${glibcxx_cv_POLL+:} false; then :
+if ${glibcxx_cv_POLL+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
+$as_echo "$glibcxx_cv_POLL" >&6; }
if test $glibcxx_cv_POLL = yes; then
$as_echo "#define HAVE_POLL 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
-$as_echo "$glibcxx_cv_POLL" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
$as_echo_n "checking for writev... " >&6; }
- if ${glibcxx_cv_WRITEV+:} false; then :
+if ${glibcxx_cv_WRITEV+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
+$as_echo "$glibcxx_cv_WRITEV" >&6; }
if test $glibcxx_cv_WRITEV = yes; then
$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
-$as_echo "$glibcxx_cv_WRITEV" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
# Check for the existence of <ctype.h> functions.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
- if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
+if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
ac_c99_fenv_tr1=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
$as_echo "$ac_c99_fenv_tr1" >&6; }
+ fi
if test x"$ac_c99_fenv_tr1" = x"yes"; then
$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
# Check for the existence of <stdint.h> types.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
- if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
+if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
# Check for the existence of <math.h> functions.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
- if ${glibcxx_cv_c99_math_tr1+:} false; then :
+if ${glibcxx_cv_c99_math_tr1+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
case "${target_os}" in
darwin*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
- if ${glibcxx_cv_c99_math_llround+:} false; then :
+if ${glibcxx_cv_c99_math_llround+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
;;
esac
ac_c99_inttypes_tr1=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
$as_echo "$ac_c99_inttypes_tr1" >&6; }
+ fi
if test x"$ac_c99_inttypes_tr1" = x"yes"; then
$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
ac_c99_inttypes_wchar_t_tr1=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
+ fi
if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
CXXFLAGS="$CXXFLAGS -fno-exceptions"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
$as_echo_n "checking for tmpnam... " >&6; }
- if ${glibcxx_cv_TMPNAM+:} false; then :
+if ${glibcxx_cv_TMPNAM+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
+$as_echo "$glibcxx_cv_TMPNAM" >&6; }
if test $glibcxx_cv_TMPNAM = yes; then
$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
-$as_echo "$glibcxx_cv_TMPNAM" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
$as_echo_n "checking for pthread_cond_clockwait... " >&6; }
- if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
+if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
+$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
$as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
-$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
$as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
- if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
+if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
+$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
$as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
-$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
$as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
- if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
+if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
+$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
-$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
$as_echo_n "checking for get_nprocs... " >&6; }
- if ${glibcxx_cv_GET_NPROCS+:} false; then :
+if ${glibcxx_cv_GET_NPROCS+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
+$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
if test $glibcxx_cv_GET_NPROCS = yes; then
$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
-$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
- if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
+if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
+$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
-$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
- if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
+if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
+$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
-$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
- if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
+if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
+$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
-$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
- if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
+if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
+$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
-$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
-$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
# Note that this test has to be run with the C language.
# Otherwise, sdt.h will try to include some headers from
# libstdc++ itself.
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if ${glibcxx_cv_sys_sdt_h+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
+$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
+if ${glibcxx_cv_sys_sdt_h+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
+$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
-$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
# Check for available headers.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
- if ${glibcxx_cv_dev_random+:} false; then :
+if ${glibcxx_cv_dev_random+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
$as_echo "$glibcxx_cv_dev_random" >&6; }
if test x"$glibcxx_cv_dev_random" = x"yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
$as_echo_n "checking for rdrand support in assembler... " >&6; }
- if ${ac_cv_x86_rdrand+:} false; then :
+if ${ac_cv_x86_rdrand+:} false; then :
$as_echo_n "(cached) " >&6
else
esac
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
+$as_echo "$ac_cv_x86_rdrand" >&6; }
if test $ac_cv_x86_rdrand = yes; then
$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
-$as_echo "$ac_cv_x86_rdrand" >&6; }
# Check if assembler supports rdseed opcode.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
$as_echo_n "checking for rdseed support in assembler... " >&6; }
- if ${ac_cv_x86_rdseed+:} false; then :
+if ${ac_cv_x86_rdseed+:} false; then :
$as_echo_n "(cached) " >&6
else
esac
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
+$as_echo "$ac_cv_x86_rdseed" >&6; }
if test $ac_cv_x86_rdseed = yes; then
$as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
-$as_echo "$ac_cv_x86_rdseed" >&6; }
# Check for other random number APIs
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
$as_echo_n "checking for getentropy... " >&6; }
- if ${glibcxx_cv_getentropy+:} false; then :
+if ${glibcxx_cv_getentropy+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
+$as_echo "$glibcxx_cv_getentropy" >&6; }
if test $glibcxx_cv_getentropy = yes; then
$as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
-$as_echo "$glibcxx_cv_getentropy" >&6; }
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
$as_echo_n "checking for arc4random... " >&6; }
- if ${glibcxx_cv_arc4random+:} false; then :
+if ${glibcxx_cv_arc4random+:} false; then :
$as_echo_n "(cached) " >&6
else
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
+$as_echo "$glibcxx_cv_arc4random" >&6; }
if test $glibcxx_cv_arc4random = yes; then
$as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
-$as_echo "$glibcxx_cv_arc4random" >&6; }
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Check for rlimit, setrlimit.
- if ${glibcxx_cv_setrlimit+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
+$as_echo_n "checking for testsuite resource limits support... " >&6; }
+if ${glibcxx_cv_setrlimit+:} false; then :
$as_echo_n "(cached) " >&6
else
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
+$as_echo "$glibcxx_cv_setrlimit" >&6; }
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
-$as_echo_n "checking for testsuite resource limits support... " >&6; }
- if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
- ac_res_limits=yes
+ if test $glibcxx_cv_setrlimit = yes; then
$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
- else
- ac_res_limits=no
+ fi
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
-$as_echo "$ac_res_limits" >&6; }
if $GLIBCXX_IS_NATIVE ; then
CXXFLAGS="$CXXFLAGS -fno-exceptions"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
$as_echo_n "checking for struct dirent.d_type... " >&6; }
- if ${glibcxx_cv_dirent_d_type+:} false; then :
+if ${glibcxx_cv_dirent_d_type+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
+$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
if test $glibcxx_cv_dirent_d_type = yes; then
$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
-$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
$as_echo_n "checking for realpath... " >&6; }
- if ${glibcxx_cv_realpath+:} false; then :
+if ${glibcxx_cv_realpath+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
+$as_echo "$glibcxx_cv_realpath" >&6; }
if test $glibcxx_cv_realpath = yes; then
$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
-$as_echo "$glibcxx_cv_realpath" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
$as_echo_n "checking for utimensat... " >&6; }
- if ${glibcxx_cv_utimensat+:} false; then :
+if ${glibcxx_cv_utimensat+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
+$as_echo "$glibcxx_cv_utimensat" >&6; }
if test $glibcxx_cv_utimensat = yes; then
$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
-$as_echo "$glibcxx_cv_utimensat" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
$as_echo_n "checking for utime... " >&6; }
- if ${glibcxx_cv_utime+:} false; then :
+if ${glibcxx_cv_utime+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
+$as_echo "$glibcxx_cv_utime" >&6; }
if test $glibcxx_cv_utime = yes; then
$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
-$as_echo "$glibcxx_cv_utime" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
$as_echo_n "checking for lstat... " >&6; }
- if ${glibcxx_cv_lstat+:} false; then :
+if ${glibcxx_cv_lstat+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
+$as_echo "$glibcxx_cv_lstat" >&6; }
if test $glibcxx_cv_lstat = yes; then
$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
-$as_echo "$glibcxx_cv_lstat" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
- if ${glibcxx_cv_st_mtim+:} false; then :
+if ${glibcxx_cv_st_mtim+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
+$as_echo "$glibcxx_cv_st_mtim" >&6; }
if test $glibcxx_cv_st_mtim = yes; then
$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
-$as_echo "$glibcxx_cv_st_mtim" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
$as_echo_n "checking for fchmod... " >&6; }
- if ${glibcxx_cv_fchmod+:} false; then :
+if ${glibcxx_cv_fchmod+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
+$as_echo "$glibcxx_cv_fchmod" >&6; }
if test $glibcxx_cv_fchmod = yes; then
$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
-$as_echo "$glibcxx_cv_fchmod" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
$as_echo_n "checking for fchmodat... " >&6; }
- if ${glibcxx_cv_fchmodat+:} false; then :
+if ${glibcxx_cv_fchmodat+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
+$as_echo "$glibcxx_cv_fchmodat" >&6; }
if test $glibcxx_cv_fchmodat = yes; then
$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
-$as_echo "$glibcxx_cv_fchmodat" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
$as_echo_n "checking for sendfile that can copy files... " >&6; }
- if ${glibcxx_cv_sendfile+:} false; then :
+if ${glibcxx_cv_sendfile+:} false; then :
$as_echo_n "(cached) " >&6
else
case "${target_os}" in
esac
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
+$as_echo "$glibcxx_cv_sendfile" >&6; }
if test $glibcxx_cv_sendfile = yes; then
$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
-$as_echo "$glibcxx_cv_sendfile" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
$as_echo_n "checking for link... " >&6; }
- if ${glibcxx_cv_link+:} false; then :
+if ${glibcxx_cv_link+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
+$as_echo "$glibcxx_cv_link" >&6; }
if test $glibcxx_cv_link = yes; then
$as_echo "#define HAVE_LINK 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
-$as_echo "$glibcxx_cv_link" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
$as_echo_n "checking for readlink... " >&6; }
- if ${glibcxx_cv_readlink+:} false; then :
+if ${glibcxx_cv_readlink+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
+$as_echo "$glibcxx_cv_readlink" >&6; }
if test $glibcxx_cv_readlink = yes; then
$as_echo "#define HAVE_READLINK 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
-$as_echo "$glibcxx_cv_readlink" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
$as_echo_n "checking for symlink... " >&6; }
- if ${glibcxx_cv_symlink+:} false; then :
+if ${glibcxx_cv_symlink+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
+$as_echo "$glibcxx_cv_symlink" >&6; }
if test $glibcxx_cv_symlink = yes; then
$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
-$as_echo "$glibcxx_cv_symlink" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
$as_echo_n "checking for truncate... " >&6; }
- if ${glibcxx_cv_truncate+:} false; then :
+if ${glibcxx_cv_truncate+:} false; then :
$as_echo_n "(cached) " >&6
else
if test x$gcc_no_link = xyes; then
fi
fi
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
+$as_echo "$glibcxx_cv_truncate" >&6; }
if test $glibcxx_cv_truncate = yes; then
$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
-$as_echo "$glibcxx_cv_truncate" >&6; }
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'