1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Collin Funk 7dcb0a5b6c 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.
2026-03-20 18:43:34 -07:00

41 lines
588 B
Plaintext

Description:
Auxiliary module for stdio.h on native Windows.
Files:
lib/stdio-consolesafe.c
Depends-on:
stdio-h
stdckdint-h
fseterr
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
USES_MSVCRT=0
case "$host_os" in
mingw* | windows*)
AC_EGREP_CPP([Special], [
#ifndef _UCRT
Special
#endif
],
[USES_MSVCRT=1])
;;
esac
gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
AC_CHECK_FUNCS_ONCE([vasprintf])
Makefile.am:
if GL_COND_OBJ_STDIO_CONSOLESAFE
lib_SOURCES += stdio-consolesafe.c
endif
Include:
<stdio.h>
License:
LGPLv2+
Maintainer:
all