276da39af9
Approved by: roberto, delphij Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
20 lines
531 B
Plaintext
20 lines
531 B
Plaintext
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 ======================================================================
|