From: Alexey Pavlov Date: Mon, 10 Dec 2018 12:39:32 +0000 (+0300) Subject: Support MSYS host (configure) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=574094f1a404082a063a2104aebd395a26bb8f8c;p=libatomic_ops Support MSYS host (configure) * configure.ac [$host=*-*-msys*] (PICFLAG): Set to empty. * configure.ac [$have_pthreads=true && $host=*-*-msys*] (THREADDLLIBS): Likewise. --- 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.