diff --git a/test/compilation/001-features b/test/compilation/001-features new file mode 100755 index 0000000..b1f1fb6 --- /dev/null +++ b/test/compilation/001-features @@ -0,0 +1,19 @@ +#!/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