From 03c41c05ec5cee27e9a80c9d05d50beed4a2c147 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Mon, 13 Sep 1999 19:16:24 +0000 Subject: gcc.c: Include sys/resource.h. 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. From-SVN: r29381 --- 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 dac9efe..5800a40 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.1