configure: MinGW has thread-safe getenv.

* configure.ac: have_thread_safe_getenv=yes with have_w64_system.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2018-02-13 08:51:26 +09:00
parent 7e27a0ff64
commit 77ca9cc2db

View File

@ -656,7 +656,7 @@ fi
# Try to find a thread-safe version of getenv(). # Try to find a thread-safe version of getenv().
have_thread_safe_getenv=no have_thread_safe_getenv=no
jm_GLIBC21 jm_GLIBC21
if test $GLIBC21 = yes; then if test $GLIBC21 = yes -o have_w64_system = yes; then
have_thread_safe_getenv=yes have_thread_safe_getenv=yes
fi fi
if test $have_thread_safe_getenv = yes; then if test $have_thread_safe_getenv = yes; then