/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.334.2.44 by rwild, Sat Dec 18 22:54:11 2004 UTC revision 1.334.2.45 by rwild, Tue Dec 28 12:39:15 2004 UTC
# Line 132  show_help= Line 132  show_help=
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:
# Line 188  func_infer_tag () { Line 189  func_infer_tag () {
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
# Line 209  func_infer_tag () { Line 210  func_infer_tag () {
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
# Line 645  if test -z "$show_help"; then Line 646  if test -z "$show_help"; then
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
# Line 676  if test -z "$show_help"; then Line 677  if test -z "$show_help"; then
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
# Line 1112  EOF Line 1116  EOF
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 ;;
# Line 1526  EOF Line 1530  EOF
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
# Line 1642  EOF Line 1646  EOF
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
# Line 1660  EOF Line 1664  EOF
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
# Line 1693  EOF Line 1697  EOF
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
# Line 1827  EOF Line 1831  EOF
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
# Line 5285  relink_command=\"$relink_command\"" Line 5289  relink_command=\"$relink_command\""
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
# Line 5301  relink_command=\"$relink_command\"" Line 5305  relink_command=\"$relink_command\""
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
# Line 5349  relink_command=\"$relink_command\"" Line 5353  relink_command=\"$relink_command\""
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

Legend:
Removed from v.1.334.2.44  
changed lines
  Added in v.1.334.2.45

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26