Enable SCM_TIMESTAMPING control messages and the socket's error queue in order to receive our transmitted packets with a more accurate transmit timestamp. Add a new file for Linux-specific NTP I/O and implement processing of these messages there.
28 lines
619 B
Bash
Executable file
28 lines
619 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Try to compile chrony in various combinations of disabled features
|
|
|
|
cd ../..
|
|
|
|
for opts in \
|
|
"--enable-debug" \
|
|
"--enable-ntp-signd" \
|
|
"--enable-scfilter" \
|
|
"--disable-asyncdns" \
|
|
"--disable-ipv6" \
|
|
"--disable-privdrop" \
|
|
"--disable-readline" \
|
|
"--disable-rtc" \
|
|
"--disable-sechash" \
|
|
"--disable-cmdmon" \
|
|
"--disable-ntp" \
|
|
"--disable-refclock" \
|
|
"--disable-timestamping" \
|
|
"--disable-timestamping --disable-ntp" \
|
|
"--disable-cmdmon --disable-ntp" \
|
|
"--disable-cmdmon --disable-refclock" \
|
|
"--disable-cmdmon --disable-ntp --disable-refclock"
|
|
do
|
|
./configure $opts
|
|
make "$@" || exit 1
|
|
done
|