* configure.ac [$host=*-*-msys*] (PICFLAG): Set to empty.
* configure.ac [$have_pthreads=true && $host=*-*-msys*] (THREADDLLIBS):
Likewise.
fi
case "$host" in
- *-*-cygwin* | *-*-mingw*)
+ *-*-cygwin* | *-*-mingw* | *-*-msys*)
# Cygwin and Mingw[-w32/64] do not need -fPIC.
AC_MSG_RESULT([not needed])
;;
# against it.
THREADDLLIBS=
;;
- *-*-mingw*)
+ *-*-mingw* | *-*-msys*)
# Use Win32 threads for tests anyway.
THREADDLLIBS=
# Skip test_atomic_pthreads.