From: Harlan Stenn Date: Thu, 23 Jun 2011 06:16:14 +0000 (-0400) Subject: Update the building of OS-specific programs X-Git-Tag: NTP_4_2_7P186~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca01a9029dd1631d82cb4a85880c4ba92f8adb0a;p=thirdparty%2Fntp.git Update the building of OS-specific programs bk: 4e02da2eNHm-GUdfu_lo0hITZYpsYg --- diff --git a/ChangeLog b/ChangeLog index 3be9e86b6..6c72f6418 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* Update the building of OS-specific programs. * Finish conversion to genLocInfo. * validate MANTAGFMT in genLocInfo. * [Bug 1950] Control installation of event_rpcgen.py. diff --git a/configure.ac b/configure.ac index a0dc828e9..15c79775a 100644 --- a/configure.ac +++ b/configure.ac @@ -2865,11 +2865,17 @@ case "$host" in *) ans=no ;; esac -if test "$ans" = "yes"; then +case "$ans" in + yes) MAKE_ADJTIMED=adjtimed AC_DEFINE([NEED_HPUX_ADJTIME], [1], [Do we need HPUX adjtime() library support?]) -fi + ;; + *) ADJTIMED_DB= + ADJTIMED_DS= + ADJTIMED_MS= + ;; +esac AC_MSG_RESULT([$ans]) AC_MSG_CHECKING([if we want QNX adjtime support]) @@ -3440,6 +3446,11 @@ case "$ac_cv_make_ntptime" in yes) MAKE_NTPTIME=ntptime ;; + *) + NTPTIME_DB= + NTPTIME_DS= + NTPTIME_MS= + ;; esac AC_SUBST([MAKE_TICKADJ]) @@ -3484,6 +3495,12 @@ AC_CACHE_CHECK( case "$ntp_cv_make_tickadj" in yes) MAKE_TICKADJ=tickadj + ;; + *) + TICKADJ_DB= + TICKADJ_DS= + TICKADJ_MS= + ;; esac AC_SUBST([MAKE_TIMETRIM]) @@ -3532,6 +3549,12 @@ case "$ans" in yes) MAKE_NTPDSIM=ntpdsim MAKE_LIBNTPSIM=libntpsim.a + ;; + *) + NTPDSIM_DB= + NTPDSIM_DS= + NTPDSIM_MS= + ;; esac case "$build" in