diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-12-17 16:02:03 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-12-17 16:02:03 +0000 |
commit | d675ff4684242402af02908e431ed5e9fe045320 (patch) | |
tree | 45bfbe1903cf6096bd6e80327625852653480829 /gold/configure.ac | |
parent | ff4a8d2b939133ea12e8994ff1f83d3a8e17baa2 (diff) | |
download | gdb-d675ff4684242402af02908e431ed5e9fe045320.zip gdb-d675ff4684242402af02908e431ed5e9fe045320.tar.gz gdb-d675ff4684242402af02908e431ed5e9fe045320.tar.bz2 |
2009-12-17 Rafael Avila de Espindola <espindola@google.com>
* 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.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r-- | gold/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/configure.ac b/gold/configure.ac index 2f9cc43..f279b45 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 |