Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Tue, 15 Nov 2016 19:34:19 +0000 (19:34 +0000)
committerRaspbian forward porter <root@raspbian.org>
Tue, 15 Nov 2016 19:34:19 +0000 (19:34 +0000)
commit9bf9c825b777fe517a942e36b632e41348b378c7
treee6a219f61f67a05e5c4b99fd6dca5b6d50eaed0d
parent80e19f53d5839228464ffaddf7a8984b2c14a90a
Fix monotonic clock detection on kFreeBSD

Fix monotonic clock detection on kFreeBSD at configure time. This will finally
enable it in QElapsedTimer.

QProcess::waitForFinished() and all other qt_safe_select() users cannot safely
operate without monotonic clock because qt_safe_select() will indicate timeout
earlier than it is supposed when underlying select() call is interrupted
(errno=EINTR).

Gbp-Pq: Name kfreebsd_monotonic_clock.diff
config.tests/unix/clock-gettime/clock-gettime.pri