configure: MinGW has thread-safe getenv.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 Feb 2018 23:51:26 +0000 (08:51 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 Feb 2018 23:51:26 +0000 (08:51 +0900)
* configure.ac: have_thread_safe_getenv=yes with have_w64_system.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
configure.ac

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