* ltmain.in (libtool_args): Get all arguments properly enclosed in

quotes and backslash-protected when needed.
This commit is contained in:
Alexandre Oliva 1999-12-18 06:27:21 +00:00 committed by Alexandre Oliva
parent a7a4a73302
commit 02772c8400
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-12-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltmain.in (libtool_args): Get all arguments properly enclosed in
quotes and backslash-protected when needed.
1999-12-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltdl.m4: Renamed from...

View File

@ -728,7 +728,13 @@ compiler."
while test $# -gt 0; do
arg="$1"
shift
libtool_args="$libtool_args $arg"
case "$arg" in
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
qarg=\"`echo "X$arg" | $Xsed -e "$sed_quote_subst"`\"
;;
*) qarg=$arg ;;
esac
libtool_args="$libtool_args $qarg"
# If the previous option needs an argument, assign it.
if test -n "$prev"; then