Check if chrony can be compiled in various combination of disabled features. This should fail if there are missing functions in stubs.c.
19 lines
386 B
Bash
Executable file
19 lines
386 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Try to compile chrony in various combinations of disabled features
|
|
|
|
cd ../..
|
|
|
|
for opts in \
|
|
"--disable-asyncdns" \
|
|
"--disable-rtc" \
|
|
"--disable-cmdmon" \
|
|
"--disable-ntp" \
|
|
"--disable-refclock" \
|
|
"--disable-cmdmon --disable-ntp" \
|
|
"--disable-cmdmon --disable-refclock" \
|
|
"--disable-cmdmon --disable-ntp --disable-refclock"
|
|
do
|
|
./configure $opts
|
|
make || exit 1
|
|
done
|