diff options
author | Zack Weinberg <zack@bitmover.com> | 1999-09-13 19:16:24 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 1999-09-13 19:16:24 +0000 |
commit | 03c41c05ec5cee27e9a80c9d05d50beed4a2c147 (patch) | |
tree | 5ed113539b3769980b4bdbcc01a315c4cd32951f /gcc/acconfig.h | |
parent | 503cb436279a0ccde721d7863e07b64abfa26cae (diff) | |
download | gcc-03c41c05ec5cee27e9a80c9d05d50beed4a2c147.zip gcc-03c41c05ec5cee27e9a80c9d05d50beed4a2c147.tar.gz gcc-03c41c05ec5cee27e9a80c9d05d50beed4a2c147.tar.bz2 |
gcc.c: Include sys/resource.h.
1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
* gcc.c: Include sys/resource.h.
(report_times): New flag.
(execute): If report_times is set, calculate and report the
CPU time consumed by each subprocess.
(rus, prus): New globals.
(option_map): Add --time.
(display_help): Document -time.
(process_command): Set report_times if -time is given.
Turn off -pipe if -time is given.
* invoke.texi: Document new option -time.
* configure.in: Check for getrusage. Check if we have to
prototype getrusage.
* acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r29381
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r-- | gcc/acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h index bec6f0f..8cee468 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -121,6 +121,9 @@ /* Whether setrlimit must be declared even if <sys/resource.h> is included. */ #undef NEED_DECLARATION_SETRLIMIT +/* Whether getrusage must be declared even if <sys/resource.h> is included. */ +#undef NEED_DECLARATION_GETRUSAGE + /* Whether putc_unlocked must be declared even if <stdio.h> is included. */ #undef NEED_DECLARATION_PUTC_UNLOCKED |