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-Tag: NTP_4_2_6P2_RC5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5dbb072cf84dd2c308f63d9e4791868fdab6ad4;p=thirdparty%2Fntp.git [Bug 1565] sntp/crypto.c compile fails on MacOS over vsnprintf(). bk: 4c0406f9duTBKQ2BX4uMU3pBS0XQbg --- diff --git a/ChangeLog b/ChangeLog index 8de837a35..8cea59048 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 f0664d42a..0eee100db 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,