configure: test for vsnprintf to ease enabling unac debugging traces

This commit is contained in:
Jean-Francois Dockes 2019-05-16 15:29:06 +02:00
parent 7f63ab4559
commit 119b3cf37f
2 changed files with 4 additions and 1 deletions

View File

@ -105,6 +105,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Define as const if the declaration of iconv() needs const. */
#undef ICONV_CONST

View File

@ -37,7 +37,7 @@ AC_SYS_LARGEFILE
# OpenBSD needs sys/param.h for mount.h to compile
AC_CHECK_HEADERS([sys/param.h, spawn.h])
AC_CHECK_FUNCS([posix_spawn setrlimit kqueue])
AC_CHECK_FUNCS([posix_spawn setrlimit kqueue vsnprintf])
if test "x$ac_cv_func_posix_spawn" = xyes; then :
AC_ARG_ENABLE(posix_spawn,