From a876e5f8753a7cd8e7559925a35f0dac7ef6e7d5 Mon Sep 17 00:00:00 2001 From: zack Date: Mon, 13 Sep 1999 19:16:24 +0000 Subject: 1999-09-13 12:13 -0700 Zack Weinberg * 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 --- gcc/config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/config.in') diff --git a/gcc/config.in b/gcc/config.in index dac9efe6068..5800a40806a 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -122,6 +122,9 @@ /* Whether setrlimit must be declared even if is included. */ #undef NEED_DECLARATION_SETRLIMIT +/* Whether getrusage must be declared even if is included. */ +#undef NEED_DECLARATION_GETRUSAGE + /* Whether putc_unlocked must be declared even if 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 -- cgit v1.2.1