configure.ac: adjust os2 section for system iconv() use.

This commit is contained in:
Ozkan Sezer committed 2021-12-01 02:32:10 +03:00
1 parent 563ef2aeb2
commit 339f0d4097
2 files changed
+6 -4

No files matched your search

Vendored
+3 -2
View File
@@ -26677,8 +26677,9 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
# Set up the core platform files
SOURCES="$SOURCES $srcdir/src/core/os2/*.c"
# FIXME: use system iconv() if available?
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
if test x$ac_cv_func_iconv != xyes -o x$ac_cv_header_iconv_h != xyes; then
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
fi
# Use the Unix locale APIs.
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
have_locale=yes
+3 -2
View File
@@ -4416,8 +4416,9 @@ case "$host" in
# Set up the core platform files
SOURCES="$SOURCES $srcdir/src/core/os2/*.c"
# FIXME: use system iconv() if available?
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
if test x$ac_cv_func_iconv != xyes -o x$ac_cv_header_iconv_h != xyes; then
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
fi
# Use the Unix locale APIs.
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
have_locale=yes