From: Dave Hart Date: Mon, 31 May 2010 18:59:05 +0000 (+0000) Subject: [Bug 1565] sntp/crypto.c compile fails on MacOS over vsnprintf(). X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f5568432a2aa0fafbc78366a04e710617bc0603;p=thirdparty%2Fntp.git [Bug 1565] sntp/crypto.c compile fails on MacOS over vsnprintf(). bk: 4c0406f9duTBKQ2BX4uMU3pBS0XQbg --- diff --git a/ChangeLog b/ChangeLog index 8de837a35d..8cea590486 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ --- * [Bug 1561] ntpq, ntpdc "passwd" prompts for MD5 password w/SHA1. +* [Bug 1565] sntp/crypto.c compile fails on MacOS over vsnprintf(). * Windows port: do not exit in ntp_timestamp_from_counter() without first logging the reason. * Support "passwd blah" syntax in ntpq. diff --git a/sntp/configure.ac b/sntp/configure.ac index f0664d42ac..0eee100dbe 100644 --- a/sntp/configure.ac +++ b/sntp/configure.ac @@ -748,7 +748,7 @@ AC_DEFINE(HAVE_NO_NICE, 1, [sntp does not care about 'nice']) AC_DEFINE(HAVE_TERMIOS, 1, [sntp does not care about TTY stuff]) # Checks for library functions. -AC_CHECK_FUNCS([atexit memset socket]) +AC_CHECK_FUNCS([socket vsnprintf vsprintf]) AC_MSG_CHECKING(for bin subdirectory) AC_ARG_WITH(binsubdir,