xref: /AOO41X/main/libxslt/libxslt-mingw.patch (revision 6db05c5c5d0ee84d23b810e416ffc28e5eb320c2)
1*6db05c5cSJim Jagielski--- misc/libxslt-1.1.26/ltmain.sh	2010-06-06 14:43:28.785750000 +0900
2*6db05c5cSJim Jagielski+++ misc/build/libxslt-1.1.26/ltmain.sh	2010-06-06 15:14:26.176375000 +0900
3cdf0e10cSrcweir@@ -2983,15 +2983,7 @@
4cdf0e10cSrcweir       *mingw* )
5cdf0e10cSrcweir         lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
6cdf0e10cSrcweir         case $build in
7cdf0e10cSrcweir-          *mingw* ) # actually, msys
8cdf0e10cSrcweir-            # awkward: cmd appends spaces to result
9cdf0e10cSrcweir-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
10cdf0e10cSrcweir-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
11cdf0e10cSrcweir-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
12cdf0e10cSrcweir-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
13cdf0e10cSrcweir-              $SED -e "$lt_sed_naive_backslashify"`
14cdf0e10cSrcweir-            ;;
15cdf0e10cSrcweir-          *cygwin* )
16cdf0e10cSrcweir+          *cygwin* | *mingw* )
17cdf0e10cSrcweir             func_to_host_path_tmp1=`cygpath -w "$1"`
18cdf0e10cSrcweir             func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
19cdf0e10cSrcweir               $SED -e "$lt_sed_naive_backslashify"`
20cdf0e10cSrcweir@@ -3062,15 +3054,7 @@
21cdf0e10cSrcweir         func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
22cdf0e10cSrcweir           $SED -e 's|^:*||' -e 's|:*$||'`
23cdf0e10cSrcweir         case $build in
24cdf0e10cSrcweir-          *mingw* ) # Actually, msys.
25cdf0e10cSrcweir-            # Awkward: cmd appends spaces to result.
26cdf0e10cSrcweir-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
27cdf0e10cSrcweir-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
28cdf0e10cSrcweir-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
29cdf0e10cSrcweir-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
30cdf0e10cSrcweir-              $SED -e "$lt_sed_naive_backslashify"`
31cdf0e10cSrcweir-            ;;
32cdf0e10cSrcweir-          *cygwin* )
33cdf0e10cSrcweir+          *cygwin* | *mingw* )
34cdf0e10cSrcweir             func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
35cdf0e10cSrcweir             func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
36cdf0e10cSrcweir               $SED -e "$lt_sed_naive_backslashify"`
37