1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00

autotools: Stop checking for snprintf

This works around a bug when cross-compiling to 32-bit MinGW:

https://sourceforge.net/p/mingw-w64/bugs/935/

This means that we don't fall back to the bundled Trio library if
snprintf couldn't be detected. Trio support is completely untested, most
likely broken and will be removed soon.

Fixes #625.
This commit is contained in:
Nick Wellnhofer 2023-11-22 02:00:00 +01:00
parent a2b5c90a44
commit f3c24112d3

View File

@ -309,11 +309,6 @@ dnl Checking types
dnl
AC_TYPE_UINT32_T
dnl
dnl Checking libraries
dnl
AC_CHECK_FUNCS(snprintf vsnprintf,, NEED_TRIO=1)
dnl Checks for library functions.
AC_CHECK_FUNCS([gettimeofday ftime stat isascii mmap munmap])