Use setrlimit for testing libstdc++ in cross toolchains
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Check for presence of setrlimit on both native and cross targets. * configure: Regenerate. From-SVN: r239955
This commit is contained in:
parent
15bbb5cc97
commit
5a81036247
@ -1,3 +1,9 @@
|
||||
2016-09-02 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
|
||||
|
||||
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Check for presence of
|
||||
setrlimit on both native and cross targets.
|
||||
* configure: Regenerate.
|
||||
|
||||
2016-08-31 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/shared_ptr.h (_Assignable): New alias template.
|
||||
|
@ -632,10 +632,10 @@ dnl baseline_dir
|
||||
dnl baseline_subdir_switch
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_CONFIGURE_TESTSUITE], [
|
||||
if $GLIBCXX_IS_NATIVE ; then
|
||||
# Do checks for resource limit functions.
|
||||
GLIBCXX_CHECK_SETRLIMIT
|
||||
# Do checks for resource limit functions.
|
||||
GLIBCXX_CHECK_SETRLIMIT
|
||||
|
||||
if $GLIBCXX_IS_NATIVE ; then
|
||||
# Look for setenv, so that extended locale tests can be performed.
|
||||
GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
|
||||
fi
|
||||
|
4
libstdc++-v3/configure
vendored
4
libstdc++-v3/configure
vendored
@ -79449,8 +79449,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 +79678,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user