]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/m4/ntp_unitytest.m4
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / m4 / ntp_unitytest.m4
1 dnl ######################################################################
2 dnl NTP_UNITYBUILD -  Unity build support
3 dnl shared by top-level and sntp/configure.ac
4 AC_DEFUN([NTP_UNITYBUILD], [
5 # We may not need have_unity
6 have_unity=false
7 AC_PATH_PROG([PATH_RUBY], [ruby])
8 case "$PATH_RUBY" in
9  /*)
10     have_unity=true
11     ;;
12  *) PATH_RUBY="false"
13     ;;
14 esac
15 # We may not need UNITYBUILD_AVAILABLE
16 AM_CONDITIONAL([UNITYBUILD_AVAILABLE], [$have_unity])
17
18 ])
19 dnl ======================================================================