From 9646a3229b9be134631f191726fa5e2042cfa79c Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 17 Nov 2021 20:14:52 +0000 Subject: [PATCH] libstdc++: Replace AC_CACHE_VAL with AC_CACHE_CHECK This replaces most uses of AC_CACHE_VAL with AC_CACHE_CHECK, which means we don't need separate AC_MSG_CHECKING and AC_MSG_RESULT macros. There are a few trivial bugs fixed as a side effect, where an AC_MSG_RESULT was printed out even if the actual checks hadn't been done. That didn't affect the results, only the content of config.log. libstdc++-v3/ChangeLog: * acinclude.m4: Replace AC_CACHE_VAL with AC_CACHE_CHECK. * configure: Regenerate. --- libstdc++-v3/acinclude.m4 | 284 +++++++++++++------------------- libstdc++-v3/configure | 400 ++++++++++++++++++++-------------------------- 2 files changed, 278 insertions(+), 406 deletions(-) diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 30bd92d..7132105 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -342,7 +342,8 @@ AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ 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 #include @@ -352,19 +353,14 @@ AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ 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) ]) @@ -425,8 +421,7 @@ AC_DEFUN([GLIBCXX_CHECK_POLL], [ 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 ], [struct pollfd pfd[1]; @@ -438,7 +433,6 @@ AC_DEFUN([GLIBCXX_CHECK_POLL], [ if test $glibcxx_cv_POLL = yes; then AC_DEFINE(HAVE_POLL, 1, [Define if poll is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_POLL) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -455,8 +449,7 @@ AC_DEFUN([GLIBCXX_CHECK_WRITEV], [ 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 ], [struct iovec iov[2]; @@ -467,7 +460,6 @@ AC_DEFUN([GLIBCXX_CHECK_WRITEV], [ if test $glibcxx_cv_WRITEV = yes; then AC_DEFINE(HAVE_WRITEV, 1, [Define if writev is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_WRITEV) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -482,8 +474,7 @@ AC_DEFUN([GLIBCXX_CHECK_LFS], [ 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 #include @@ -502,7 +493,6 @@ AC_DEFUN([GLIBCXX_CHECK_LFS], [ 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 ]) @@ -870,8 +860,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence of functions used if C99 is enabled. - AC_MSG_CHECKING([for ISO C99 support in for C++98]) - AC_CACHE_VAL(glibcxx_cv_c99_math_cxx98, [ + AC_CACHE_CHECK([for ISO C99 support in for C++98], + glibcxx_cv_c99_math_cxx98, [ GCC_TRY_COMPILE_OR_LINK( [#include volatile double d1, d2; @@ -891,7 +881,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ 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 should be imported @@ -905,8 +894,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ 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 for C++98]) - AC_CACHE_VAL(glibcxx_cv_c99_complex_cxx98, [ + AC_CACHE_CHECK([for ISO C99 support in for C++98], + glibcxx_cv_c99_complex_cxx98, [ GCC_TRY_COMPILE_OR_LINK( [#include typedef __complex__ float float_type; @@ -960,7 +949,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ ], [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 should be used in @@ -969,8 +957,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence in of vscanf, et. al. - AC_MSG_CHECKING([for ISO C99 support in for C++98]) - AC_CACHE_VAL(glibcxx_cv_c99_stdio_cxx98, [ + AC_CACHE_CHECK([for ISO C99 support in for C++98], + glibcxx_cv_c99_stdio_cxx98, [ GCC_TRY_COMPILE_OR_LINK( [#include #include @@ -985,7 +973,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ }], [], [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 should be imported @@ -993,8 +980,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence in of lldiv_t, et. al. - AC_MSG_CHECKING([for ISO C99 support in for C++98]) - AC_CACHE_VAL(glibcxx_cv_c99_stdlib_cxx98, [ + AC_CACHE_CHECK([for ISO C99 support in for C++98], + glibcxx_cv_c99_stdlib_cxx98, [ GCC_TRY_COMPILE_OR_LINK( [#include volatile float f; @@ -1014,7 +1001,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ _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 should be imported @@ -1024,8 +1010,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ # Check for the existence in 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 for C++98]) - AC_CACHE_VAL(glibcxx_cv_c99_wchar_cxx98, [ + AC_CACHE_CHECK([for ISO C99 support in for C++98], + glibcxx_cv_c99_wchar_cxx98, [ AC_TRY_COMPILE([#include namespace test { @@ -1060,7 +1046,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ [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 should be imported @@ -1107,8 +1092,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence of functions used if C99 is enabled. - AC_MSG_CHECKING([for ISO C99 support in for C++11]) - AC_CACHE_VAL(glibcxx_cv_c99_math_cxx11, [ + AC_CACHE_CHECK([for ISO C99 support in for C++11], + glibcxx_cv_c99_math_cxx11, [ GCC_TRY_COMPILE_OR_LINK( [#include volatile double d1, d2; @@ -1128,7 +1113,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ 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 should be imported @@ -1142,8 +1126,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ 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 for C++11]) - AC_CACHE_VAL(glibcxx_cv_c99_complex_cxx11, [ + AC_CACHE_CHECK([for ISO C99 support in for C++11], + glibcxx_cv_c99_complex_cxx11, [ GCC_TRY_COMPILE_OR_LINK( [#include typedef __complex__ float float_type; @@ -1197,7 +1181,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ ], [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 should be used in @@ -1206,8 +1189,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence in of vscanf, et. al. - AC_MSG_CHECKING([for ISO C99 support in for C++11]) - AC_CACHE_VAL(glibcxx_cv_c99_stdio_cxx11, [ + AC_CACHE_CHECK([for ISO C99 support in for C++11], + glibcxx_cv_c99_stdio_cxx11, [ GCC_TRY_COMPILE_OR_LINK( [#include #include @@ -1222,7 +1205,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ }], [], [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 should be imported @@ -1230,8 +1212,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ fi # Check for the existence in of lldiv_t, et. al. - AC_MSG_CHECKING([for ISO C99 support in for C++11]) - AC_CACHE_VAL(glibcxx_cv_c99_stdlib_cxx11, [ + AC_CACHE_CHECK([for ISO C99 support in for C++11], + glibcxx_cv_c99_stdlib_cxx11, [ GCC_TRY_COMPILE_OR_LINK( [#include volatile float f; @@ -1251,7 +1233,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ _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 should be imported @@ -1261,8 +1242,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ # Check for the existence in 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 for C++11]) - AC_CACHE_VAL(glibcxx_cv_c99_wchar_cxx11, [ + AC_CACHE_CHECK([for ISO C99 support in for C++11], + glibcxx_cv_c99_wchar_cxx11, [ AC_TRY_COMPILE([#include namespace test { @@ -1297,7 +1278,6 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ [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 should be imported @@ -1678,8 +1658,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ fi # Check for the existence of functions. - AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_CACHE_VAL(glibcxx_cv_c99_ctype_tr1, [ + AC_CACHE_CHECK([for ISO C99 support to TR1 in ], + glibcxx_cv_c99_ctype_tr1, [ AC_TRY_COMPILE([#include ], [int ch; int ret; @@ -1687,7 +1667,6 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ],[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 should be imported in @@ -1716,8 +1695,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ 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 should be imported in @@ -1725,8 +1704,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ fi # Check for the existence of types. - AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_CACHE_VAL(glibcxx_cv_c99_stdint_tr1, [ + AC_CACHE_CHECK([for ISO C99 support to TR1 in ], + glibcxx_cv_c99_stdint_tr1, [ AC_TRY_COMPILE([#define __STDC_LIMIT_MACROS #define __STDC_CONSTANT_MACROS #include ], @@ -1817,7 +1796,6 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ],[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 should be imported in @@ -1825,8 +1803,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ fi # Check for the existence of functions. - AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_CACHE_VAL(glibcxx_cv_c99_math_tr1, [ + AC_CACHE_CHECK([for ISO C99 support to TR1 in ], + glibcxx_cv_c99_math_tr1, [ AC_TRY_COMPILE([#include ], [typedef double_t my_double_t; typedef float_t my_float_t; @@ -1939,7 +1917,6 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ 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 should be imported @@ -1947,8 +1924,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ case "${target_os}" in darwin*) - AC_MSG_CHECKING([for ISO C99 rounding functions in ]) - AC_CACHE_VAL(glibcxx_cv_c99_math_llround, [ + AC_CACHE_CHECK([for ISO C99 rounding functions in ], + glibcxx_cv_c99_math_llround, [ AC_TRY_COMPILE([#include ], [llrint(0.0); llrintf(0.0f); @@ -1960,7 +1937,6 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ [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 @@ -1983,8 +1959,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ 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 should be imported in @@ -2004,8 +1980,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ 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 should be @@ -2053,10 +2029,10 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ } ], [], [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 should be imported into @@ -2075,8 +2051,8 @@ dnl random_device of "TR1" (Chapter 5.1, "Random number generation"). 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. @@ -2088,7 +2064,6 @@ AC_DEFUN([GLIBCXX_CHECK_DEV_RANDOM], [ 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, @@ -2143,8 +2118,7 @@ AC_DEFUN([GLIBCXX_CHECK_STDIO_PROTO], [ 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 namespace test @@ -2159,7 +2133,6 @@ AC_DEFUN([GLIBCXX_CHECK_STDIO_PROTO], [ if test $glibcxx_cv_gets = yes; then AC_DEFINE(HAVE_GETS, 1, [Define if gets is available in before C++14.]) fi - AC_MSG_RESULT($glibcxx_cv_gets) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -2180,8 +2153,8 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ *-*-solaris2.*) # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch # 11996[67]-02 introduced the C++11 floating point overloads. - AC_MSG_CHECKING([for C++11 floating point overloads]) - AC_CACHE_VAL(glibcxx_cv_math11_fp_overload, [ + AC_CACHE_CHECK([for C++11 floating point overloads], + glibcxx_cv_math11_fp_overload, [ AC_COMPILE_IFELSE([AC_LANG_SOURCE( [#include #undef isfinite @@ -2204,12 +2177,11 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ 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 integral type overloads. - AC_MSG_CHECKING([for C++11 integral type overloads]) - AC_CACHE_VAL(glibcxx_cv_math11_int_overload, [ + AC_CACHE_CHECK([for C++11 integral type overloads], + glibcxx_cv_math11_int_overload, [ AC_COMPILE_IFELSE([AC_LANG_SOURCE( [#include namespace std { @@ -2256,15 +2228,14 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ 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 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 # and must use the ones from instead. - AC_MSG_CHECKING([for obsolete isinf function in ]) - AC_CACHE_VAL(glibcxx_cv_obsolete_isinf, [ + AC_CACHE_CHECK([for obsolete isinf function in ], + glibcxx_cv_obsolete_isinf, [ AC_COMPILE_IFELSE([AC_LANG_SOURCE( [#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS #include @@ -2280,14 +2251,13 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ [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 defines obsolete isinf function.]) fi - AC_MSG_CHECKING([for obsolete isnan function in ]) - AC_CACHE_VAL(glibcxx_cv_obsolete_isnan, [ + AC_CACHE_CHECK([for obsolete isnan function in ], + glibcxx_cv_obsolete_isnan, [ AC_COMPILE_IFELSE([AC_LANG_SOURCE( [#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS #include @@ -2303,7 +2273,6 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ [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 defines obsolete isnan function.]) @@ -3316,8 +3285,8 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ 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; @@ -3333,10 +3302,9 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ [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; @@ -3352,10 +3320,9 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ [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; @@ -3371,10 +3338,9 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ [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; @@ -3390,7 +3356,6 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ [glibcxx_cv_atomic_long_long=yes], [glibcxx_cv_atomic_long_long=no]) ]) - AC_MSG_RESULT($glibcxx_cv_atomic_long_long) else @@ -4063,8 +4028,8 @@ AC_DEFUN([AC_LC_MESSAGES], [ 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-*-* | \ @@ -4077,14 +4042,13 @@ AC_DEFUN([GLIBCXX_CHECK_X86_RDRAND], [ 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-*-* | \ @@ -4097,7 +4061,6 @@ AC_DEFUN([GLIBCXX_CHECK_X86_RDSEED], [ AC_DEFINE(_GLIBCXX_X86_RDSEED, 1, [ Defined if as can handle rdseed. ]) fi - AC_MSG_RESULT($ac_cv_x86_rdseed) ]) dnl @@ -4110,8 +4073,8 @@ AC_DEFUN([GLIBCXX_CHECK_GET_NPROCS], [ 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 ], [int n = get_nprocs();], @@ -4121,7 +4084,6 @@ AC_DEFUN([GLIBCXX_CHECK_GET_NPROCS], [ if test $glibcxx_cv_GET_NPROCS = yes; then AC_DEFINE(_GLIBCXX_USE_GET_NPROCS, 1, [Define if get_nprocs is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_GET_NPROCS) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4137,8 +4099,8 @@ AC_DEFUN([GLIBCXX_CHECK_SC_NPROCESSORS_ONLN], [ 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 ], [int n = sysconf(_SC_NPROCESSORS_ONLN);], @@ -4148,7 +4110,6 @@ AC_DEFUN([GLIBCXX_CHECK_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 .]) fi - AC_MSG_RESULT($glibcxx_cv_SC_NPROCESSORS_ONLN) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4164,8 +4125,8 @@ AC_DEFUN([GLIBCXX_CHECK_SC_NPROC_ONLN], [ 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 ], [int n = sysconf(_SC_NPROC_ONLN);], @@ -4175,7 +4136,6 @@ AC_DEFUN([GLIBCXX_CHECK_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 .]) fi - AC_MSG_RESULT($glibcxx_cv_SC_NPROC_ONLN) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4191,8 +4151,8 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP], [ 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 ], [int n = pthread_num_processors_np();], @@ -4202,7 +4162,6 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREADS_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 .]) fi - AC_MSG_RESULT($glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4221,8 +4180,8 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_COND_CLOCKWAIT], [ 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_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);], @@ -4232,7 +4191,6 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_COND_CLOCKWAIT], [ 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 .]) fi - AC_MSG_RESULT($glibcxx_cv_PTHREAD_COND_CLOCKWAIT) CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" @@ -4252,8 +4210,8 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK], [ 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_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);], @@ -4263,7 +4221,6 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK], [ 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 .]) fi - AC_MSG_RESULT($glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK) CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" @@ -4283,8 +4240,8 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_RWLOCK_CLOCKLOCK], [ 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_rwlock_t rwl; struct timespec ts;] @@ -4296,7 +4253,6 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_RWLOCK_CLOCKLOCK], [ 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 .]) fi - AC_MSG_RESULT($glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK) CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" @@ -4313,8 +4269,8 @@ AC_DEFUN([GLIBCXX_CHECK_SYSCTL_HW_NCPU], [ 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 @@ -4332,7 +4288,6 @@ AC_DEFUN([GLIBCXX_CHECK_SYSCTL_HW_NCPU], [ 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 .]) fi - AC_MSG_RESULT($glibcxx_cv_SYSCTL_HW_NCPU) CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4380,8 +4335,7 @@ dnl 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 ], [char *tmp = tmpnam(NULL);], @@ -4391,7 +4345,6 @@ dnl if test $glibcxx_cv_TMPNAM = yes; then AC_DEFINE(_GLIBCXX_USE_TMPNAM, 1, [Define if obsolescent tmpnam is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_TMPNAM) dnl CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4402,13 +4355,13 @@ dnl Check to see if sys/sdt.h exists and that it is suitable for use. 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++ @@ -4424,7 +4377,6 @@ AC_DEFUN([GLIBCXX_CHECK_SDT_H], [ AC_DEFINE(HAVE_SYS_SDT_H, 1, [Define to 1 if you have a suitable header file]) fi - AC_MSG_RESULT($glibcxx_cv_sys_sdt_h) ]) dnl @@ -4546,8 +4498,7 @@ 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 ], [ @@ -4560,10 +4511,8 @@ dnl 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 @@ -4585,10 +4534,8 @@ dnl if test $glibcxx_cv_realpath = yes; then AC_DEFINE(_GLIBCXX_USE_REALPATH, 1, [Define if usable realpath is available in .]) 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 @@ -4604,10 +4551,8 @@ dnl if test $glibcxx_cv_utimensat = yes; then AC_DEFINE(_GLIBCXX_USE_UTIMENSAT, 1, [Define if utimensat and UTIME_OMIT are available in and AT_FDCWD in .]) 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 @@ -4622,10 +4567,8 @@ dnl if test $glibcxx_cv_utime = yes; then AC_DEFINE(_GLIBCXX_USE_UTIME, 1, [Define if utime is available in .]) 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 ], [ @@ -4638,10 +4581,9 @@ dnl if test $glibcxx_cv_lstat = yes; then AC_DEFINE(_GLIBCXX_USE_LSTAT, 1, [Define if lstat is available in .]) 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 ], [ @@ -4654,10 +4596,9 @@ dnl 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 ], [fchmod(1, S_IWUSR);], @@ -4667,10 +4608,9 @@ dnl if test $glibcxx_cv_fchmod = yes; then AC_DEFINE(_GLIBCXX_USE_FCHMOD, 1, [Define if fchmod is available in .]) 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 @@ -4683,10 +4623,9 @@ dnl if test $glibcxx_cv_fchmodat = yes; then AC_DEFINE(_GLIBCXX_USE_FCHMODAT, 1, [Define if fchmodat is available in .]) 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( @@ -4703,10 +4642,9 @@ dnl if test $glibcxx_cv_sendfile = yes; then AC_DEFINE(_GLIBCXX_USE_SENDFILE, 1, [Define if sendfile is available in .]) 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 ], [link("", "");], @@ -4716,10 +4654,9 @@ dnl if test $glibcxx_cv_link = yes; then AC_DEFINE(HAVE_LINK, 1, [Define if link is available in .]) 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 ], [char buf[32]; readlink("", buf, sizeof(buf));], @@ -4729,10 +4666,9 @@ dnl if test $glibcxx_cv_readlink = yes; then AC_DEFINE(HAVE_READLINK, 1, [Define if readlink is available in .]) 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 ], [symlink("", "");], @@ -4742,10 +4678,9 @@ dnl if test $glibcxx_cv_symlink = yes; then AC_DEFINE(HAVE_SYMLINK, 1, [Define if symlink is available in .]) 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 ], [truncate("", 99);], @@ -4755,7 +4690,6 @@ dnl if test $glibcxx_cv_truncate = yes; then AC_DEFINE(HAVE_TRUNCATE, 1, [Define if truncate is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_truncate) dnl CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE @@ -4837,8 +4771,7 @@ AC_DEFUN([GLIBCXX_CHECK_GETENTROPY], [ 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 ], [unsigned i; @@ -4849,7 +4782,6 @@ AC_DEFUN([GLIBCXX_CHECK_GETENTROPY], [ if test $glibcxx_cv_getentropy = yes; then AC_DEFINE(HAVE_GETENTROPY, 1, [Define if getentropy is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_getentropy) AC_LANG_RESTORE ]) @@ -4860,8 +4792,7 @@ AC_DEFUN([GLIBCXX_CHECK_ARC4RANDOM], [ 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 ], [unsigned i = ::arc4random();], @@ -4871,7 +4802,6 @@ AC_DEFUN([GLIBCXX_CHECK_ARC4RANDOM], [ if test $glibcxx_cv_arc4random = yes; then AC_DEFINE(HAVE_ARC4RANDOM, 1, [Define if arc4random is available in .]) fi - AC_MSG_RESULT($glibcxx_cv_arc4random) AC_LANG_RESTORE ]) diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 3eb391f..9049e4b 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -15788,7 +15788,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -15824,13 +15824,12 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -15866,13 +15865,12 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -15908,13 +15906,12 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -15950,8 +15947,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -15964,7 +15960,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15967 "configure" +#line 15963 "configure" int main() { typedef bool atomic_type; @@ -15999,7 +15995,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16002 "configure" +#line 15998 "configure" int main() { typedef short atomic_type; @@ -16034,7 +16030,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16037 "configure" +#line 16033 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -16070,7 +16066,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16073 "configure" +#line 16069 "configure" int main() { typedef long long atomic_type; @@ -16223,7 +16219,7 @@ $as_echo "mutex" >&6; } # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 16226 "configure" +#line 16222 "configure" int main() { _Decimal32 d1; @@ -16265,7 +16261,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 16268 "configure" +#line 16264 "configure" template struct same { typedef T2 type; }; @@ -17271,7 +17267,7 @@ fi # Check for the existence of functions used if C99 is enabled. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++98" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -17348,8 +17344,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -17392,7 +17387,7 @@ done if test x"$ac_has_complex_h" = x"yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++98" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -17535,10 +17530,9 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -17548,7 +17542,7 @@ $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h # Check for the existence in of vscanf, et. al. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++98" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -17615,8 +17609,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -17627,7 +17620,7 @@ $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h # Check for the existence in of lldiv_t, et. al. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++98" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -17704,8 +17697,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -17718,7 +17710,7 @@ $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h test x"$ac_has_wctype_h" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++98" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -17748,7 +17740,8 @@ fi 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. @@ -17848,8 +17841,6 @@ $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h 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 @@ -17952,7 +17943,7 @@ fi # Check for the existence of functions used if C99 is enabled. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++11" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -18029,8 +18020,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -18073,7 +18063,7 @@ done if test x"$ac_has_complex_h" = x"yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++11" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -18216,10 +18206,9 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -18229,7 +18218,7 @@ $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h # Check for the existence in of vscanf, et. al. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++11" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -18296,8 +18285,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -18308,7 +18296,7 @@ $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h # Check for the existence in of lldiv_t, et. al. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++11" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -18385,8 +18373,7 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -18399,7 +18386,7 @@ $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h test x"$ac_has_wctype_h" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in for C++11" >&5 $as_echo_n "checking for ISO C99 support in 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 @@ -18429,7 +18416,8 @@ fi 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. @@ -18529,8 +18517,6 @@ $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h 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 @@ -18846,7 +18832,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -18867,15 +18853,14 @@ 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 @@ -18903,7 +18888,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # 11996[67]-02 introduced the C++11 floating point overloads. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 floating point overloads" >&5 $as_echo_n "checking for C++11 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 @@ -18925,7 +18910,8 @@ 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. @@ -18934,14 +18920,12 @@ fi $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 integral type overloads. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 integral type overloads" >&5 $as_echo_n "checking for C++11 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 @@ -18987,7 +18971,8 @@ 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. @@ -18996,17 +18981,15 @@ fi $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 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 # and must use the ones from instead. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in " >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in " >&5 $as_echo_n "checking for obsolete isinf function in ... " >&6; } - if ${glibcxx_cv_obsolete_isinf+:} false; then : +if ${glibcxx_cv_obsolete_isinf+:} false; then : $as_echo_n "(cached) " >&6 else @@ -19032,8 +19015,7 @@ 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 @@ -19041,9 +19023,9 @@ $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in " >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in " >&5 $as_echo_n "checking for obsolete isnan function in ... " >&6; } - if ${glibcxx_cv_obsolete_isnan+:} false; then : +if ${glibcxx_cv_obsolete_isnan+:} false; then : $as_echo_n "(cached) " >&6 else @@ -19069,8 +19051,7 @@ 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 @@ -19150,11 +19131,11 @@ else 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 @@ -19183,7 +19164,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 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 @@ -19248,14 +19229,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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' @@ -19293,7 +19273,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -19344,14 +19324,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -19530,7 +19509,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -19579,14 +19558,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -19701,7 +19679,7 @@ $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h # Check for the existence of functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in " >&5 $as_echo_n "checking for ISO C99 support to TR1 in ... " >&6; } - if ${glibcxx_cv_c99_ctype_tr1+:} false; then : +if ${glibcxx_cv_c99_ctype_tr1+:} false; then : $as_echo_n "(cached) " >&6 else @@ -19727,8 +19705,7 @@ fi 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 @@ -19787,9 +19764,9 @@ else 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 @@ -19799,7 +19776,7 @@ $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h # Check for the existence of types. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in " >&5 $as_echo_n "checking for ISO C99 support to TR1 in ... " >&6; } - if ${glibcxx_cv_c99_stdint_tr1+:} false; then : +if ${glibcxx_cv_c99_stdint_tr1+:} false; then : $as_echo_n "(cached) " >&6 else @@ -19908,8 +19885,7 @@ fi 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 @@ -19920,7 +19896,7 @@ $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h # Check for the existence of functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in " >&5 $as_echo_n "checking for ISO C99 support to TR1 in ... " >&6; } - if ${glibcxx_cv_c99_math_tr1+:} false; then : +if ${glibcxx_cv_c99_math_tr1+:} false; then : $as_echo_n "(cached) " >&6 else @@ -20052,8 +20028,7 @@ fi 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 @@ -20062,9 +20037,9 @@ $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h case "${target_os}" in darwin*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in " >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in " >&5 $as_echo_n "checking for ISO C99 rounding functions in ... " >&6; } - if ${glibcxx_cv_c99_math_llround+:} false; then : +if ${glibcxx_cv_c99_math_llround+:} false; then : $as_echo_n "(cached) " >&6 else @@ -20093,8 +20068,7 @@ fi 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 @@ -20135,9 +20109,9 @@ else 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 @@ -20172,9 +20146,9 @@ else 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 @@ -21072,7 +21046,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 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 @@ -21118,14 +21092,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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' @@ -21152,7 +21125,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21199,14 +21172,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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" @@ -21235,7 +21207,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21282,14 +21254,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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" @@ -21318,7 +21289,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21369,14 +21340,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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" @@ -21455,7 +21425,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21502,14 +21472,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -21545,7 +21514,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21592,14 +21561,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -21623,7 +21591,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21670,14 +21638,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -21701,7 +21668,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21748,14 +21715,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -21779,7 +21745,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -21842,14 +21808,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -21860,8 +21825,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $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. @@ -21872,7 +21835,9 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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 @@ -21898,7 +21863,8 @@ rm -f conftest* 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' @@ -21910,8 +21876,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu $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. @@ -27998,7 +27962,7 @@ done { $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 @@ -28014,8 +27978,7 @@ 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 @@ -75350,7 +75313,7 @@ $as_echo "$ac_hwcap_flags" >&6; } { $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 @@ -75378,20 +75341,19 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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 @@ -75419,14 +75381,13 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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 @@ -75441,7 +75402,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -75490,15 +75451,14 @@ rm -f core conftest.err conftest.$ac_objext \ 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' @@ -75517,7 +75477,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $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 @@ -75564,15 +75524,14 @@ rm -f core conftest.err conftest.$ac_objext \ 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' @@ -75774,7 +75733,9 @@ $as_echo "$res" >&6; } # 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 @@ -75801,18 +75762,14 @@ fi 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' @@ -75820,8 +75777,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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 @@ -76194,7 +76149,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 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 @@ -76246,17 +76201,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76326,17 +76280,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76394,17 +76347,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76460,17 +76412,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76522,17 +76473,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76584,17 +76534,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76640,17 +76589,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76702,17 +76650,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76765,17 +76712,16 @@ fi 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 @@ -76821,17 +76767,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76877,17 +76822,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76933,17 +76877,16 @@ rm -f core conftest.err conftest.$ac_objext \ 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 @@ -76989,14 +76932,13 @@ rm -f core conftest.err conftest.$ac_objext \ 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' -- 2.7.4