xref: /freebsd/contrib/ntp/sntp/m4/ntp_unitytest.m4 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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