Assume snprintf(3) exists

ISO C99 requires snprintf(3).

Link: <https://github.com/shadow-maint/shadow/pull/600>
Cc: Christian Göttsche <cgzones@googlemail.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2022-12-05 13:53:08 +01:00 committed by Iker Pedrosa
parent 7d3213741e
commit 0793782d31

View File

@ -102,7 +102,7 @@ AC_TYPE_GETGROUPS
AC_FUNC_UTIME_NULL AC_FUNC_UTIME_NULL
AC_REPLACE_FUNCS(mkdir putgrent putpwent putspent rmdir) AC_REPLACE_FUNCS(mkdir putgrent putpwent putspent rmdir)
AC_REPLACE_FUNCS(sgetgrent sgetpwent sgetspent) AC_REPLACE_FUNCS(sgetgrent sgetpwent sgetspent)
AC_REPLACE_FUNCS(snprintf strcasecmp strdup strstr) AC_REPLACE_FUNCS(strcasecmp strdup strstr)
AC_CHECK_FUNC(setpgrp) AC_CHECK_FUNC(setpgrp)
AC_CHECK_FUNC(secure_getenv, [AC_DEFINE(HAS_SECURE_GETENV, AC_CHECK_FUNC(secure_getenv, [AC_DEFINE(HAS_SECURE_GETENV,