xref: /freebsd/contrib/ntp/sntp/m4/ntp_unitytest.m4 (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1dnl ######################################################################
2dnl NTP_UNITYBUILD -  Unity build support
3dnl shared by top-level and sntp/configure.ac
4AC_DEFUN([NTP_UNITYBUILD], [
5# We may not need have_unity
6have_unity=false
7AC_PATH_PROG([PATH_RUBY], [ruby])
8case "$PATH_RUBY" in
9 /*)
10    have_unity=true
11    ;;
12 *) PATH_RUBY="false"
13    ;;
14esac
15# We may not need UNITYBUILD_AVAILABLE
16AM_CONDITIONAL([UNITYBUILD_AVAILABLE], [$have_unity])
17
18])
19dnl ======================================================================
20