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

])
dnl ======================================================================
OpenPOWER on IntegriCloud