+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.
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
# 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
$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