~canonical-hwe-team/powertop/packaging

Viewing all changes in revision 869.

  • Committer: Joe Konno
  • Author(s): eSyr
  • Date: 2016-08-03 15:26:38 UTC
  • Revision ID: git-v1:25558463a185e8c606bd0a341e18d0996ade5f4e
Checking whether librt is needed for clock_gettime().

Commit ef79e28 introduced usage of clock_gettime() function, which,
unfortunately, breaks build on some systems, namely Debian Wheezy, due
to the fact it should be linked with librt. This commit adds configure
check whether additional library is needed in order to use
aforementioned function.

* configure.ac: using AC_SEARCH_LIBS() for checking whether librt is
  needed for clock_gettime().

Acked-by: Joe Konno <joe.konno@intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: