1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

vasprintf-posix, vasprintf, stdio-windows: Prefer AC_CHECK_FUNCS_ONCE.

* m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_IS_POSIX): Use
AC_CHECK_FUNCS_ONCE instead of AC_CHECK_FUNCS.
* m4/vasprintf.m4 (gl_FUNC_VASPRINTF): Likewise.
* modules/stdio-windows: Likewise.
This commit is contained in:
Collin Funk
2026-03-20 18:43:34 -07:00
parent 8064e2204e
commit 7dcb0a5b6c
4 changed files with 13 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ case "$host_os" in
;;
esac
gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
AC_CHECK_FUNCS([vasprintf])
AC_CHECK_FUNCS_ONCE([vasprintf])
Makefile.am:
if GL_COND_OBJ_STDIO_CONSOLESAFE