summaryrefslogtreecommitdiff
path: root/gcc/acconfig.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-13 19:16:24 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-13 19:16:24 +0000
commita876e5f8753a7cd8e7559925a35f0dac7ef6e7d5 (patch)
tree5ed113539b3769980b4bdbcc01a315c4cd32951f /gcc/acconfig.h
parent48f3f15ce26854e1b93654cf6b766e00c6c534c5 (diff)
downloadgcc-a876e5f8753a7cd8e7559925a35f0dac7ef6e7d5.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r--gcc/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h
index bec6f0f1e91..8cee4687e58 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