132 |
execute_dlfiles= |
execute_dlfiles= |
133 |
lo2o="s/\\.lo\$/.${objext}/" |
lo2o="s/\\.lo\$/.${objext}/" |
134 |
o2lo="s/\\.${objext}\$/.lo/" |
o2lo="s/\\.${objext}\$/.lo/" |
135 |
|
quote_scanset='[[~#^*{};<>?'"'"' ]' |
136 |
|
|
137 |
##################################### |
##################################### |
138 |
# Shell function definitions: |
# Shell function definitions: |
189 |
CC_quoted= |
CC_quoted= |
190 |
for arg in $CC; do |
for arg in $CC; do |
191 |
case $arg in |
case $arg in |
192 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
193 |
arg="\"$arg\"" |
arg="\"$arg\"" |
194 |
;; |
;; |
195 |
esac |
esac |
210 |
for arg in $CC; do |
for arg in $CC; do |
211 |
# Double-quote args containing other shell metacharacters. |
# Double-quote args containing other shell metacharacters. |
212 |
case $arg in |
case $arg in |
213 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
214 |
arg="\"$arg\"" |
arg="\"$arg\"" |
215 |
;; |
;; |
216 |
esac |
esac |
646 |
# Many Bourne shells cannot handle close brackets correctly |
# Many Bourne shells cannot handle close brackets correctly |
647 |
# in scan sets, so we specify it separately. |
# in scan sets, so we specify it separately. |
648 |
case $arg in |
case $arg in |
649 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
650 |
arg="\"$arg\"" |
arg="\"$arg\"" |
651 |
;; |
;; |
652 |
esac |
esac |
677 |
case $lastarg in |
case $lastarg in |
678 |
# Double-quote args containing other shell metacharacters. |
# Double-quote args containing other shell metacharacters. |
679 |
# Many Bourne shells cannot handle close brackets correctly |
# Many Bourne shells cannot handle close brackets correctly |
680 |
# in scan sets, so we specify it separately. |
# in scan sets, and some SunOS ksh mistreat backslash-escaping |
681 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
# in scan sets (worked around with variable expansion), |
682 |
|
# and furthermore cannot handle '|' '&' '(' ')' in scan sets |
683 |
|
# at all, so we specify them separately. |
684 |
|
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
685 |
lastarg="\"$lastarg\"" |
lastarg="\"$lastarg\"" |
686 |
;; |
;; |
687 |
esac |
esac |
1116 |
arg="$1" |
arg="$1" |
1117 |
shift |
shift |
1118 |
case $arg in |
case $arg in |
1119 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1120 |
qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test |
qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test |
1121 |
;; |
;; |
1122 |
*) qarg=$arg ;; |
*) qarg=$arg ;; |
1530 |
# to be aesthetically quoted because they are evaled later. |
# to be aesthetically quoted because they are evaled later. |
1531 |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
1532 |
case $arg in |
case $arg in |
1533 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1534 |
arg="\"$arg\"" |
arg="\"$arg\"" |
1535 |
;; |
;; |
1536 |
esac |
esac |
1646 |
for flag in $args; do |
for flag in $args; do |
1647 |
IFS="$save_ifs" |
IFS="$save_ifs" |
1648 |
case $flag in |
case $flag in |
1649 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1650 |
flag="\"$flag\"" |
flag="\"$flag\"" |
1651 |
;; |
;; |
1652 |
esac |
esac |
1664 |
for flag in $args; do |
for flag in $args; do |
1665 |
IFS="$save_ifs" |
IFS="$save_ifs" |
1666 |
case $flag in |
case $flag in |
1667 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1668 |
flag="\"$flag\"" |
flag="\"$flag\"" |
1669 |
;; |
;; |
1670 |
esac |
esac |
1697 |
# to be aesthetically quoted because they are evaled later. |
# to be aesthetically quoted because they are evaled later. |
1698 |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
1699 |
case $arg in |
case $arg in |
1700 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1701 |
arg="\"$arg\"" |
arg="\"$arg\"" |
1702 |
;; |
;; |
1703 |
esac |
esac |
1831 |
# to be aesthetically quoted because they are evaled later. |
# to be aesthetically quoted because they are evaled later. |
1832 |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
1833 |
case $arg in |
case $arg in |
1834 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
1835 |
arg="\"$arg\"" |
arg="\"$arg\"" |
1836 |
;; |
;; |
1837 |
esac |
esac |
5289 |
# Aesthetically quote it. |
# Aesthetically quote it. |
5290 |
arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` |
5291 |
case $arg in |
case $arg in |
5292 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
5293 |
arg="\"$arg\"" |
arg="\"$arg\"" |
5294 |
;; |
;; |
5295 |
esac |
esac |
5305 |
# Aesthetically quote it. |
# Aesthetically quote it. |
5306 |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
5307 |
case $arg in |
case $arg in |
5308 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
5309 |
arg="\"$arg\"" |
arg="\"$arg\"" |
5310 |
;; |
;; |
5311 |
esac |
esac |
5353 |
# Aesthetically quote the argument. |
# Aesthetically quote the argument. |
5354 |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` |
5355 |
case $arg in |
case $arg in |
5356 |
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) |
*$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") |
5357 |
arg="\"$arg\"" |
arg="\"$arg\"" |
5358 |
;; |
;; |
5359 |
esac |
esac |