зеркало из https://github.com/github/ruby.git
no alternate value expansion
* configure.in (opt-dir), tool/ifchange: get rid of "alternate value" expansion for legacy sh. [ruby-dev:47420] [Bug #8524] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e6226e2c9d
Коммит
f28ec8da8c
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jun 13 21:30:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (opt-dir), tool/ifchange: get rid of "alternate value"
|
||||||
|
expansion for legacy sh. [ruby-dev:47420] [Bug #8524]
|
||||||
|
|
||||||
Thu Jun 13 21:24:09 2013 Tanaka Akira <akr@fsij.org>
|
Thu Jun 13 21:24:09 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* bignum.c (bigdivrem): Refactored to use ALLOCV_N for temporary
|
* bignum.c (bigdivrem): Refactored to use ALLOCV_N for temporary
|
||||||
|
|
|
@ -2625,8 +2625,10 @@ AC_ARG_WITH(opt-dir,
|
||||||
sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${dir}/lib${IFS}g;s${IFS}%s${IFS}${dir}/lib${IFS}g"
|
sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${dir}/lib${IFS}g;s${IFS}%s${IFS}${dir}/lib${IFS}g"
|
||||||
done | tr '\012' ' '`
|
done | tr '\012' ' '`
|
||||||
LDFLAGS_OPTDIR="$val"
|
LDFLAGS_OPTDIR="$val"
|
||||||
LDFLAGS="$LDFLAGS${LDFLAGS:+ }$val"
|
test x"${LDFLAGS}" = x || LDFLAGS="$LDFLAGS "
|
||||||
DLDFLAGS="$DLDFLAGS${DLDFLAGS:+ }$val"
|
LDFLAGS="$LDFLAGS$val"
|
||||||
|
test x"${DLDFLAGS}" = x || DLDFLAGS="$DLDFLAGS "
|
||||||
|
DLDFLAGS="$DLDFLAGS$val"
|
||||||
])
|
])
|
||||||
|
|
||||||
AS_CASE(["$target_cpu-$target_os"],
|
AS_CASE(["$target_cpu-$target_os"],
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# usage: ifchange target temporary
|
# usage: ifchange target temporary
|
||||||
|
|
||||||
|
set -e
|
||||||
timestamp=
|
timestamp=
|
||||||
keepsuffix=
|
keepsuffix=
|
||||||
until [ "$0" = 0 ]; do
|
until [ "$0" = 0 ]; do
|
||||||
|
@ -37,7 +38,7 @@ if cmp "$target" "$temp" >/dev/null 2>&1; then
|
||||||
rm -f "$temp"
|
rm -f "$temp"
|
||||||
else
|
else
|
||||||
echo "$target updated"
|
echo "$target updated"
|
||||||
${keepsuffix:+ mv -f "$target" "${target}${keepsuffix}" }
|
[ x"${keepsuffix}" = x ] || mv -f "$target" "${target}${keepsuffix}"
|
||||||
mv -f "$temp" "$target"
|
mv -f "$temp" "$target"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче