Changeset 3f06bb for configure.ac


Ignore:
Timestamp:
Mar 2, 2013, 10:45:46 PM (13 years ago)
Author:
Frederik Heber <heber@…>
Children:
b9273a
Parents:
8f60da
git-author:
Frederik Heber <heber@…> (03/01/13 13:41:05)
git-committer:
Frederik Heber <heber@…> (03/02/13 22:45:46)
Message:

Enhanced Chronos for more accurate timekeeping.

  • Chronos is now safe to use w.r.t. recursive function calls.
  • Chronos now gets const ref of token name in each function.
  • TESTFIX: dummyTest() now checks on recursive function.
  • Chronos now offers its internal timekeeping via const ref to outside.
  • Chronos also now has up to nanoseconds precision when either time.h or sys/time.h is present.
  • librt required from clock_gettime().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r8f60da r3f06bb  
    5454AC_C_INLINE
    5555AC_TYPE_SIZE_T
     56AC_CHECK_HEADERS([time.h])
     57AC_CHECK_HEADERS([sys/time.h])
    5658AC_CHECK_HEADERS([sys/times.h])
    5759AC_CHECK_HEADERS([unistd.h])
    5860AC_CXX_HAVE_VALARRAY
     61
     62LIBRT=""
     63AS_IF([test x"$ac_cv_header_time_h" = xyes],
     64        AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"])
     65        AC_SUBST(LIBRT)
     66)
    5967
    6068# Checks for library functions.
Note: See TracChangeset for help on using the changeset viewer.