use \u0060...\u0060 instead of $(...)

demanded by solaris /bin/sh
This commit is contained in:
tg 2006-11-09 00:06:33 +00:00
parent 84088b91d0
commit 1c7e58a9d9

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $MirOS: src/bin/mksh/Build.sh,v 1.63 2006/11/09 00:03:37 tg Exp $ # $MirOS: src/bin/mksh/Build.sh,v 1.64 2006/11/09 00:06:33 tg Exp $
#- #-
# Environment: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, NROFF # Environment: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, NROFF
@ -17,7 +17,7 @@ upper()
ac_test() ac_test()
{ {
f=$1 f=$1
fu=$(upper $f) fu=`upper $f`
fd=$3 fd=$3
test x"$fd" = x"" && fd=$f test x"$fd" = x"" && fd=$f
test 0 = "$HAVE_$fu" && return test 0 = "$HAVE_$fu" && return
@ -25,7 +25,7 @@ ac_test()
if test x"$2" = x""; then if test x"$2" = x""; then
ft=1 ft=1
else else
ft=$(upper $2) ft=`upper $2`
eval ft=\$HAVE_$ft eval ft=\$HAVE_$ft
fi fi
if test 0 = "$ft"; then if test 0 = "$ft"; then