aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-02-13 06:49:10 +0000
committerAndre Heinecke <[email protected]>2018-02-13 06:49:10 +0000
commit5ec890b9c76db0f23cc396108ff6f1fe658855a8 (patch)
tree64b81d330c5324a143f983810c05c38c4ce68f48
parentconfigure: MinGW has thread-safe getenv. (diff)
downloadgpgme-5ec890b9c76db0f23cc396108ff6f1fe658855a8.tar.gz
gpgme-5ec890b9c76db0f23cc396108ff6f1fe658855a8.zip
configure: Fix mingw check for getenv.
* configure.ac: have_thread_safe_getenv=yes with have_w32_system. -- We want to define this for both 32 and 64 bit targets if we use mingw. have_w32_system is defined for both targets. Signed-off-by: Andre Heinecke <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b7919c05..c6c6dc86 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 -o have_w64_system = yes; then
+if test $GLIBC21 = yes -o $have_w32_system = yes; then
have_thread_safe_getenv=yes
fi
if test $have_thread_safe_getenv = yes; then