aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-02-12 23:51:26 +0000
committerNIIBE Yutaka <[email protected]>2018-02-12 23:51:26 +0000
commit77ca9cc2db2c6da303b9224a931679a325ebda1e (patch)
treeaee88e1757c8f40a98de724a55d2cb8185147bba /configure.ac
parentcpp: Add SpawnShowWindow flag (diff)
downloadgpgme-77ca9cc2db2c6da303b9224a931679a325ebda1e.tar.gz
gpgme-77ca9cc2db2c6da303b9224a931679a325ebda1e.zip
configure: MinGW has thread-safe getenv.
* configure.ac: have_thread_safe_getenv=yes with have_w64_system. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 608c376c..b7919c05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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