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

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

5
configure vendored
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

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