]> granicus.if.org Git - check/commitdiff
Add comment explaining snprintf checks
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 31 Jan 2013 23:40:29 +0000 (23:40 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 31 Jan 2013 23:40:29 +0000 (23:40 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@688 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac

index 8193c2136ef1c359f41f2024ec0f98913cc916e3..d22cc56e6b24499c588e4f713120e04669c06320 100644 (file)
@@ -179,6 +179,8 @@ AC_FUNC_REALLOC
 AC_REPLACE_FUNCS([clock_gettime timer_create timer_settime timer_delete fileno localtime_r pipe putenv setenv sleep strdup strsignal unsetenv])
 AC_CHECK_DECLS([clock_gettime, timer_create, timer_settime, timer_delete, fileno, localtime_r, pipe, putenv, setenv, sleep, strdup, strsignal, unsetenv])
 
+# Check if the system's snprintf (and its variations) are C99 compliant.
+# If they are not, use the version in libcompat.
 HW_FUNC_VSNPRINTF
 HW_FUNC_SNPRINTF
 HW_FUNC_VASPRINTF