summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2018-02-13 07:49:10 +0100
committerAndre Heinecke <aheinecke@intevation.de>2018-02-13 07:49:10 +0100
commit5ec890b9c76db0f23cc396108ff6f1fe658855a8 (patch)
tree64b81d330c5324a143f983810c05c38c4ce68f48
parent77ca9cc2db2c6da303b9224a931679a325ebda1e (diff)
downloadgpgme-5ec890b9c76db0f23cc396108ff6f1fe658855a8.tar.gz
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 <aheinecke@intevation.de>
-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