From d7705f2fbead058700940321982a6315450dbcd1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 20 Sep 2017 23:18:22 +0100 Subject: aclocal.m4: call cygpath on mingw32 only The only reason I noticed is warning these lines on linux: ``` $ ./configure --target=sparc-unknown-linux-gnu ... ./configure: line 9708: cygpath: command not found ./configure: line 9708: ArCmd: command not found ``` POSIX shell syntax requires no spaces in assignments. Fixed guarding condition while at it. Signed-off-by: Sergei Trofimovich --- aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index d053311d02..203d11f289 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1149,8 +1149,8 @@ else fi fi]) fp_prog_ar_args=$fp_cv_prog_ar_args -if test "$HostOS" != "mingw32"; then - ArCmd = "$(cygpath -m $ArCmd)" +if test "$HostOS" = "mingw32"; then + ArCmd=$(cygpath -m $ArCmd) fi AC_SUBST([ArCmd], ["$fp_prog_ar"]) AC_SUBST([ArArgs], ["$fp_prog_ar_args"]) -- cgit v1.2.1