autotools, cmake: set SDL_SYSTEM_ICONV to OFF for windows (like SDL3.)

This commit is contained in:
Ozkan Sezer authored and Ozkan Sezer committed 2023-11-23 03:32:04 +03:00
1 parent 0e9d050296
commit 8cf7e9e7da
3 files changed
+22 -5

No files matched your search

Vendored
+8 -2
View File
@@ -1642,7 +1642,7 @@ Optional Features:
Use gcc -MMD -MT dependency tracking [default=yes]
--enable-libc Use the system C library [default=yes]
--enable-system-iconv Use iconv() from system-installed libraries
[default=yes]
[default=no for windows, yes for others]
--enable-libiconv Prefer iconv() from libiconv, if available, over
libc version [default=no]
--enable-gcc-atomics Use gcc builtin atomics [default=yes]
@@ -18823,12 +18823,18 @@ else $as_nop
fi
enable_system_iconv_default=yes
case "$host" in
*-*-cygwin*|*-*-mingw*)
enable_system_iconv_default=no
;;
esac
# Check whether --enable-system-iconv was given.
if test ${enable_system_iconv+y}
then :
enableval=$enable_system_iconv;
else $as_nop
enable_system_iconv=yes
enable_system_iconv=$enable_system_iconv_default
fi
# Check whether --enable-libiconv was given.