Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)
commit30017bc037a3c2e530410775b71b6b1cfc058adc
treeeb934267dd1da1437091333e63bebd7b5f6175e0
parentef35aacf65e65266ce86f9ef50e7c0638162f000
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