From 5ec890b9c76db0f23cc396108ff6f1fe658855a8 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 13 Feb 2018 07:49:10 +0100 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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