From 8dfe9a6a6ba0127c4040df955b734a211c7e52d9 Mon Sep 17 00:00:00 2001 From: Alexei Sheplyakov Date: Sun, 9 Nov 2008 20:47:38 +0100 Subject: [PATCH] Fix cross compilation with wine for the case SHELL != bash. * libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape sequence interpretation by 'echo', for w32-style paths. * THANKS: Update. Signed-off-by: Ralf Wildenhues --- ChangeLog | 7 +++++++ THANKS | 1 + libltdl/config/ltmain.m4sh | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 38abe8002..474d08b59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-09 Alexei Sheplyakov (tiny change) + + Fix cross compilation with wine for the case SHELL != bash. + * libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape + sequence interpretation by 'echo', for w32-style paths. + * THANKS: Update. + 2008-10-28 Michael Haubenwallner (tiny change) Fix checks for unsupported allow_undefined_flag. diff --git a/THANKS b/THANKS index 17b7b1252..08971f934 100644 --- a/THANKS +++ b/THANKS @@ -67,6 +67,7 @@ their time and energy in helping to track down bugs, port to new systems, and generally assist in the libtool maintainership process: + Alexei Sheplyakov varg@theor.jinr.ru Andreas Schwab schwab@suse.de Andrey Slepuhin pooh@msu.ru Aneesh Kumar K.V kvaneesh@hotmail.com diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 696b6ab13..005c6a8f8 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2600,7 +2600,7 @@ func_to_host_path () ;; *cygwin* ) func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` ;; * ) @@ -2613,7 +2613,7 @@ func_to_host_path () # the odd construction: func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` else # Allow warning below. -- 2.47.2