build: Fix AM_CONDITIONAL check for clock_gettime
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 2 Nov 2016 08:31:38 +0000 (14:01 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 2 Nov 2016 08:31:38 +0000 (14:01 +0530)
commit2797376f7a7add4eccbf80e2ab17afdc1864ce42
treede50b295ab09c92770bffcaf9651bef963e36b0b
parent28ff7fd272c86a518713d615412159c2e5c59853
build: Fix AM_CONDITIONAL check for clock_gettime

It was always evaluating to false, so clock_gettime.c was always being
included into libcheck. This breaks building on Hurd and causes us to
always override clock_gettime() even when it is available.

https://bugzilla.gnome.org/show_bug.cgi?id=773813
m4/check-checks.m4