diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-01 09:16:36 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-01 09:16:36 +0000 |
commit | ac7a21466424c6756e6670dd1943d67497962ac1 (patch) | |
tree | 7ae66fabd70ebda8e3705ff984e122d6cadb9163 /libstdc++-v3/config.h.in | |
parent | 78a8ed037318d1db259d761729af92e1f4697a0b (diff) | |
download | gcc-ac7a21466424c6756e6670dd1943d67497962ac1.tar.gz |
2004-04-01 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14775
* acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
to _GLIBCXX_RES_LIMITS.
(GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
HAVE_LIMIT_*.
* testsuite/testsuite_hooks.h: Declare set_file_limit.
* testsuite/testsuite_hooks.cc: Define it, using getrlimit
and setrlimit(RLIMIT_FSIZE).
* testsuite/27_io/fpos/14775.cc: New.
* config.h.in: Regenerate.
* configure: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80289 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 5a35cff918f..bef3e8c8248 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -26,8 +26,8 @@ // Define if code specialized for wchar_t should be used. #undef _GLIBCXX_USE_WCHAR_T -// Define if using setrlimit to limit memory usage during 'make check'. -#undef _GLIBCXX_MEM_LIMITS +// Define if using setrlimit to set resource limits during 'make check'. +#undef _GLIBCXX_RES_LIMITS // Define to use concept checking code from the boost libraries. #undef _GLIBCXX_CONCEPT_CHECKS @@ -362,6 +362,21 @@ /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM +/* Only used in build directory testsuite_hooks.h. */ +#undef HAVE_LIMIT_AS + +/* Only used in build directory testsuite_hooks.h. */ +#undef HAVE_LIMIT_DATA + +/* Only used in build directory testsuite_hooks.h. */ +#undef HAVE_LIMIT_FSIZE + +/* Only used in build directory testsuite_hooks.h. */ +#undef HAVE_LIMIT_RSS + +/* Only used in build directory testsuite_hooks.h. */ +#undef HAVE_LIMIT_VMEM + /* Define to 1 if you have the <locale.h> header file. */ #undef HAVE_LOCALE_H @@ -395,18 +410,6 @@ /* Define to 1 if you have the `mbsrtowcs' function. */ #undef HAVE_MBSRTOWCS -/* Only used in build directory testsuite_hooks.h. */ -#undef HAVE_MEMLIMIT_AS - -/* Only used in build directory testsuite_hooks.h. */ -#undef HAVE_MEMLIMIT_DATA - -/* Only used in build directory testsuite_hooks.h. */ -#undef HAVE_MEMLIMIT_RSS - -/* Only used in build directory testsuite_hooks.h. */ -#undef HAVE_MEMLIMIT_VMEM - /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H |