From c0b27ff3371a2de2c38d48af62eef80ecdf8fdb2 Mon Sep 17 00:00:00 2001 From: espindola Date: Thu, 17 Dec 2009 16:02:02 +0000 Subject: 2009-12-17 Rafael Avila de Espindola * Makefile.am (CCFILES): Add timer.cc. (HFILES): Add timer.h. * configure.ac: Check for sysconf and times. * main.cc: include timer.h. (main): Use Timer instead of get_run_time. * timer.cc: New. * timer.h: New. * workqueue.cc: include timer.h. (Workqueue::find_and_run_task): Report user, sys and wall time. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate. --- gold/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/configure.ac') diff --git a/gold/configure.ac b/gold/configure.ac index 2f9cc43a99..f279b450a2 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -338,7 +338,7 @@ AC_LANG_PUSH(C++) AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map) AC_CHECK_HEADERS(ext/hash_map ext/hash_set) AC_CHECK_HEADERS(byteswap.h) -AC_CHECK_FUNCS(mallinfo posix_fallocate readv) +AC_CHECK_FUNCS(mallinfo posix_fallocate readv sysconf times) AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp, strndup, memmem]) # Use of ::std::tr1::unordered_map::rehash causes undefined symbols -- cgit v1.2.1