summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-11-11 12:07:08 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-11-11 12:07:39 -0800
commitd010f76f6b7c8c5fd78099db530126748e04a738 (patch)
tree4b18174a7e8d15275128b5ba844f9fbdb1eaa242 /lib
parent5ae02cc829c8efe8afcf72467d0147444feab651 (diff)
downloadautomake-d010f76f6b7c8c5fd78099db530126748e04a738.tar.gz
config: add msys support
Requested by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2019-11/msg00008.html * lib/ar-lib, lib/compile (func_file_conv): Treat msys like cygwin.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/ar-lib4
-rwxr-xr-xlib/compile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/ar-lib b/lib/ar-lib
index f64465e4f..be8806a2f 100755
--- a/lib/ar-lib
+++ b/lib/ar-lib
@@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -65,7 +65,7 @@ func_file_conv ()
mingw)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin)
+ cygwin | msys)
file=`cygpath -m "$file" || echo "$file"`
;;
wine)
diff --git a/lib/compile b/lib/compile
index d23d320dd..be68b4b28 100755
--- a/lib/compile
+++ b/lib/compile
@@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@ func_file_conv ()
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin/*)
+ cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)