Code

use xntpdc on Solaris for check_ntp
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Thu, 13 Jun 2002 03:03:07 +0000 (03:03 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Thu, 13 Jun 2002 03:03:07 +0000 (03:03 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@50 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 24291d006481096df5dec785db4905e886a9a929..8531628db93db3e8bd751a66f16ad58757cc3e5f 100644 (file)
@@ -649,13 +649,13 @@ AC_PATH_PROG(PATH_TO_RPCINFO,rpcinfo)
 AC_DEFINE_UNQUOTED(PATH_TO_RPCINFO,"$PATH_TO_RPCINFO")
 
 AC_PATH_PROG(PATH_TO_NTPDATE,ntpdate)
-AC_PATH_PROG(PATH_TO_NTPDC,ntpdc)
+AC_PATH_PROGS(PATH_TO_NTPDC,ntpdc xntpdc)
 if (test -x "$PATH_TO_NTPDATE" || test -x "$PATH_TO_NTPDC")
 then
        AC_DEFINE_UNQUOTED(PATH_TO_NTPDC,"$PATH_TO_NTPDC")
        AC_DEFINE_UNQUOTED(PATH_TO_NTPDATE,"$PATH_TO_NTPDATE")
 else
-       echo "** Install NTP programs if you want to monitor time synchronization"
+       echo "** Install NTP programs (http://www.ntp.org) if you want to monitor time synchronization"
 fi
 
 AC_PATH_PROG(PATH_TO_LMSTAT,lmstat)