1 dnl ######################################################################
2 dnl Common m4sh code SNTP
3 AC_DEFUN([NTP_WITHSNTP], [
5 dnl preset withsntp=no in env to change default to --without-sntp
6 AC_MSG_CHECKING([if sntp will be built])
11 [- disable building sntp and sntp/tests]
14 [with_sntp="${withsntp=yes}"]
25 AM_CONDITIONAL([BUILD_SNTP], [test -n "$SNTP"])
26 AC_MSG_RESULT([$with_sntp])
29 dnl ======================================================================