mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
tests: make LT_AT_HOST_DATA retain whitespace on MinGW
Fixes issues with depdemo.at, f77demo.at and fcdemo.at. * tests/testsuite.at (LT_AT_HOST_DATA) [MinGW]: Keep leading and trailing spaces and tabs when converting line endings.
This commit is contained in:
parent
22f57507c7
commit
a61a1114ae
@ -256,8 +256,7 @@ AT_CHECK([test -z "$leftovers"])
|
||||
m4_define([LT_AT_HOST_DATA],
|
||||
[AT_DATA([$1], [$2])
|
||||
case $host_os in mingw*)
|
||||
while read -r l; do printf "%s\r\n" "$l"; done < $1 > $1.t
|
||||
mv -f $1.t $1 ;;
|
||||
awk '{printf ("%s\r\n", [$]0);}' < $1 > $1.t && mv -f $1.t $1 ;;
|
||||
esac])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user