From: Miroslav Lichvar Date: Tue, 27 Jun 2017 12:41:49 +0000 (+0200) Subject: configure: add missing object for PHC refclock X-Git-Tag: 3.2-pre1~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95adb52a45a7686e3ad6c847ab966dc81dd33c65;p=thirdparty%2Fchrony.git configure: add missing object for PHC refclock This fixes commit eceb8d99371a129ad6e11f483a0442d97a895b19. --- diff --git a/configure b/configure index 7be160e3..9f7a5b25 100755 --- a/configure +++ b/configure @@ -752,6 +752,8 @@ if [ $feat_refclock = "1" ] && [ $feat_phc = "1" ] && [ $try_phc = "1" ] && \ test_code '' 'sys/ioctl.h linux/ptp_clock.h' '' '' \ 'ioctl(1, PTP_CLOCK_GETCAPS + PTP_SYS_OFFSET, 0);' then + grep 'HAVE_LINUX_TIMESTAMPING' config.h > /dev/null || + EXTRA_OBJECTS="$EXTRA_OBJECTS hwclock.o" add_def FEAT_PHC fi