quotes and backslash-protected when needed.
+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...
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