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