From 574094f1a404082a063a2104aebd395a26bb8f8c Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Mon, 10 Dec 2018 15:39:32 +0300 Subject: [PATCH] Support MSYS host (configure) * configure.ac [$host=*-*-msys*] (PICFLAG): Set to empty. * configure.ac [$have_pthreads=true && $host=*-*-msys*] (THREADDLLIBS): Likewise. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 35e74a5..5478b5f 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ if test "$GCC" = yes; then fi case "$host" in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-msys*) # Cygwin and Mingw[-w32/64] do not need -fPIC. AC_MSG_RESULT([not needed]) ;; @@ -219,7 +219,7 @@ if test x$have_pthreads = xtrue; then # against it. THREADDLLIBS= ;; - *-*-mingw*) + *-*-mingw* | *-*-msys*) # Use Win32 threads for tests anyway. THREADDLLIBS= # Skip test_atomic_pthreads. -- 2.50.1