diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-20 21:49:12 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-20 21:49:12 +0000 |
commit | c9c81ef3c667aaa14c498a5449ec6d134b4b66ff (patch) | |
tree | 0ac440db6513ee01deb5e5dc6142769d1e5b7b2d /libstdc++-v3/configure | |
parent | 12cdcb9d74f55c165366ca1b1eeec013a0ce72ef (diff) | |
parent | 891196d7325e4c55d92d5ac5cfe7161c4f36c0ce (diff) | |
download | gcc-fortran-dev.tar.gz |
Merge from trunk (r239915 to r240230)fortran-dev
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/fortran-dev@240290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index f2a75aaa2f3..6332c4d7f87 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -27972,6 +27972,19 @@ _ACEOF fi done + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + # For iconv support. @@ -79449,8 +79462,7 @@ $as_echo "$ac_cv_x86_rdrand" >&6; } # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE. - if $GLIBCXX_IS_NATIVE ; then - # Do checks for resource limit functions. + # Do checks for resource limit functions. setrlimit_have_headers=yes for ac_header in unistd.h sys/time.h sys/resource.h @@ -79679,6 +79691,7 @@ $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h $as_echo "$ac_res_limits" >&6; } + if $GLIBCXX_IS_NATIVE ; then # Look for setenv, so that extended locale tests can be performed. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5 |