From: Dave Hart Date: Wed, 8 Feb 2012 02:33:45 +0000 (+0000) Subject: [Bug 2134] --enable-C99-snprintf does not force rpl_snprintf use. X-Git-Tag: NTP_4_2_7P256~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e07b3f8db2f063cdff1c0f61b546be32c234fce;p=thirdparty%2Fntp.git [Bug 2134] --enable-C99-snprintf does not force rpl_snprintf use. bk: 4f31df090swg9hmw7NpHVRomINGTAw --- diff --git a/ChangeLog b/ChangeLog index 41f87f234..6856599a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2134] --enable-C99-snprintf does not force rpl_snprintf use. (4.2.7p255) 2012/01/29 Released by Harlan Stenn * [Bug 603] Only link with nlist()-related libraries when needed: More cleanup. diff --git a/sntp/m4/snprintf.m4 b/sntp/m4/snprintf.m4 index 34c092d10..15f06f080 100644 --- a/sntp/m4/snprintf.m4 +++ b/sntp/m4/snprintf.m4 @@ -148,7 +148,7 @@ AC_DEFUN([HW_FUNC_VSNPRINTF], AS_IF([test "$hw_use_rpl_vsnprintf" = yes], [AC_DEFINE([HW_WANT_RPL_VSNPRINTF], [1], [Define to provide `rpl_vsnprintf' function.]) - AS_IF([test ${hw_nodef_vsnprintf=yes} = no], + AS_IF([test ${hw_nodef_vsnprintf=no} = no], [AC_DEFINE([vsnprintf], [rpl_vsnprintf], [Define to rpl_vsnprintf if the replacement function should be used.])]) AC_CHECK_HEADERS([inttypes.h locale.h stddef.h stdint.h]) @@ -204,7 +204,7 @@ AC_DEFUN([HW_FUNC_SNPRINTF], AS_IF([test "$hw_use_rpl_snprintf" = yes], [AC_DEFINE([HW_WANT_RPL_SNPRINTF], [1], [Define to provide `rpl_snprintf' function.]) - AS_IF([test ${hw_nodef_snprintf=yes} = no], + AS_IF([test ${hw_nodef_snprintf=no} = no], [AC_DEFINE([snprintf], [rpl_snprintf], [Define to rpl_snprintf if the replacement function should be used.])]) _HW_FUNC_XPRINTF_REPLACE]) @@ -233,7 +233,7 @@ AC_DEFUN([HW_FUNC_VASPRINTF], AS_IF([test "$hw_use_rpl_vasprintf" = yes], [AC_DEFINE([HW_WANT_RPL_VASPRINTF], [1], [Define to provide `rpl_vasprintf' function.]) - AS_IF([test ${hw_nodef_vasprintf=yes} = no], + AS_IF([test ${hw_nodef_vasprintf=no} = no], [AC_DEFINE([vasprintf], [rpl_vasprintf], [Define to rpl_vasprintf if the replacement function should be used.])]) AC_CHECK_HEADERS([stdlib.h]) @@ -266,7 +266,7 @@ AC_DEFUN([HW_FUNC_ASPRINTF], AS_IF([test "$hw_use_rpl_asprintf" = yes], [AC_DEFINE([HW_WANT_RPL_ASPRINTF], [1], [Define to provide `rpl_asprintf' function.]) - AS_IF([test ${hw_nodef_asprintf=yes} = no], + AS_IF([test ${hw_nodef_asprintf=no} = no], [AC_DEFINE([asprintf], [rpl_asprintf], [Define to rpl_asprintf if the replacement function should be used.])]) _HW_FUNC_XPRINTF_REPLACE])