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/config.in | |
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/config.in')
-rw-r--r-- | gcc/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index dac9efe..5800a40 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -122,6 +122,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 @@ -252,6 +255,9 @@ /* Define if you have the getrlimit function. */ #undef HAVE_GETRLIMIT +/* Define if you have the getrusage function. */ +#undef HAVE_GETRUSAGE + /* Define if you have the gettimeofday function. */ #undef HAVE_GETTIMEOFDAY |