- added sha1 of git commit to task diag
This commit is contained in:
Federico Hernandez 2011-01-08 01:10:26 +01:00
parent e28d03df82
commit 022b219c0f
3 changed files with 14 additions and 0 deletions

View file

@ -133,6 +133,9 @@ void handleDiagnostics (std::string& outs)
std::cout << "Build Features\n"
// Build date.
<< " Built: " << __DATE__ << " " << __TIME__ << "\n"
#ifdef HAVE_COMMIT
<< " Commit: " << COMMIT << "\n"
#endif
<< " Caps:"
#ifdef HAVE_LIBPTHREAD
<< " +pthreads"