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>
This commit is contained in:
parent
77ca9cc2db
commit
5ec890b9c7
@ -656,7 +656,7 @@ fi
|
|||||||
# Try to find a thread-safe version of getenv().
|
# Try to find a thread-safe version of getenv().
|
||||||
have_thread_safe_getenv=no
|
have_thread_safe_getenv=no
|
||||||
jm_GLIBC21
|
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
|
have_thread_safe_getenv=yes
|
||||||
fi
|
fi
|
||||||
if test $have_thread_safe_getenv = yes; then
|
if test $have_thread_safe_getenv = yes; then
|
||||||
|
Loading…
Reference in New Issue
Block a user