diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2012-05-09 13:07:39 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2012-05-09 13:07:39 +0100 |
commit | 0ee6bd45c59c2ae99ec30cba4dae22d1f2e20dc4 (patch) | |
tree | 87d9ef0800235c3e8d63b7bca754f3151a61a9fd | |
parent | a32c42253c299d55d44ad39ba3d998fcebbef7ba (diff) |
Remove a couple of derived files from jbig2dec.
No cluster differences.
-rwxr-xr-x | gs/jbig2dec/libtool | 526 |
1 files changed, 263 insertions, 263 deletions
diff --git a/gs/jbig2dec/libtool b/gs/jbig2dec/libtool index 52f4482a2..151108b53 100755 --- a/gs/jbig2dec/libtool +++ b/gs/jbig2dec/libtool @@ -1268,8 +1268,8 @@ exec_cmd= # Append VALUE to the end of shell variable VAR. func_append () { - eval "${1}+=\${2}" -} # Extended-shell func_append implementation + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation # func_append_quoted var value # Quote VALUE and append to the end of shell variable VAR, separated @@ -1277,8 +1277,8 @@ func_append () func_append_quoted () { func_quote_for_eval "${2}" - eval "${1}+=\\ \$func_quote_for_eval_result" -} # Extended-shell func_append_quoted implementation + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation # func_arith arithmetic-term... @@ -1541,27 +1541,27 @@ esac ;; --no-silent|--no-quiet) opt_silent=false -preserve_args+=" $opt" +preserve_args="$preserve_args $opt" ;; --no-verbose) opt_verbose=false -preserve_args+=" $opt" +preserve_args="$preserve_args $opt" ;; --silent|--quiet) opt_silent=: -preserve_args+=" $opt" +preserve_args="$preserve_args $opt" opt_verbose=false ;; --verbose|-v) opt_verbose=: -preserve_args+=" $opt" +preserve_args="$preserve_args $opt" opt_silent=false ;; --tag) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_tag="$optarg" -preserve_args+=" $opt $optarg" +preserve_args="$preserve_args $opt $optarg" func_enable_tag "$optarg" shift ;; @@ -1599,7 +1599,7 @@ func_enable_tag "$optarg" fi # preserve --debug - test "$opt_debug" = : || preserve_args+=" --debug" + test "$opt_debug" = : || preserve_args="$preserve_args --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) @@ -2058,7 +2058,7 @@ func_convert_path_front_back_pathsep () ;; esac case $4 in - $2 ) func_to_host_path_result+="$3" + $2 ) func_to_host_path_result="$func_to_host_path_result$3" ;; esac } @@ -2408,12 +2408,12 @@ func_mode_compile () ;; -pie | -fpie | -fPIE) - pie_flag+=" $arg" + pie_flag="$pie_flag $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) - later+=" $arg" + later="$later $arg" continue ;; @@ -2441,7 +2441,7 @@ func_mode_compile () lastarg=$func_stripname_result # Add the arguments to base_compile. - base_compile+=" $lastarg" + base_compile="$base_compile $lastarg" continue ;; @@ -2588,12 +2588,12 @@ compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi - removelist+=" $output_obj" + removelist="$removelist $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist - removelist+=" $lockfile" + removelist="$removelist $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 @@ -2617,7 +2617,7 @@ compiler." if test -z "$output_obj"; then # Place PIC objects in $objdir - command+=" -o $lobj" + command="$command -o $lobj" fi func_show_eval_locale "$command" \ @@ -2664,11 +2664,11 @@ compiler." command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then - command+=" -o $obj" + command="$command -o $obj" fi # Suppress compiler output if we already did a PIC compilation. - command+="$suppress_output" + command="$command$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' @@ -2976,7 +2976,7 @@ func_mode_execute () dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then - dir+="/$objdir" + dir="$dir/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" @@ -3079,11 +3079,11 @@ func_mode_finish () for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then - libdirs+=" $opt" + libdirs="$libdirs $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then - libs+=" $opt" + libs="$libs $opt" else func_warning "\`$opt' is not a valid libtool archive" fi @@ -3127,7 +3127,7 @@ func_mode_finish () if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds+=" + $opt_dry_run || eval "$cmds" || admincmds="$admincmds $cmds" fi done @@ -3209,7 +3209,7 @@ func_mode_install () # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" - install_prog+="$func_quote_for_eval_result" + install_prog="$install_prog$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; @@ -3229,7 +3229,7 @@ func_mode_install () do arg2= if test -n "$dest"; then - files+=" $dest" + files="$files $dest" dest=$arg continue fi @@ -3267,11 +3267,11 @@ func_mode_install () # Aesthetically quote the argument. func_quote_for_eval "$arg" - install_prog+=" $func_quote_for_eval_result" + install_prog="$install_prog $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi - install_shared_prog+=" $func_quote_for_eval_result" + install_shared_prog="$install_shared_prog $func_quote_for_eval_result" done test -z "$install_prog" && \ @@ -3283,7 +3283,7 @@ func_mode_install () if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" - install_shared_prog+=" -m $func_quote_for_eval_result" + install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result" fi fi @@ -3341,7 +3341,7 @@ func_mode_install () case $file in *.$libext) # Do the static libraries later. - staticlibs+=" $file" + staticlibs="$staticlibs $file" ;; *.la) @@ -3361,19 +3361,19 @@ func_mode_install () if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; - *) current_libdirs+=" $libdir" ;; + *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; - *) future_libdirs+=" $libdir" ;; + *) future_libdirs="$future_libdirs $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" - dir+="$objdir" + dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. @@ -3450,7 +3450,7 @@ func_mode_install () func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. - test -n "$old_library" && staticlibs+=" $dir/$old_library" + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) @@ -3909,7 +3909,7 @@ static const void *lt_preloaded_setup() { for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; - *) symtab_cflags+=" $arg" ;; + *) symtab_cflags="$symtab_cflags $arg" ;; esac done @@ -5625,14 +5625,14 @@ func_mode_link () shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result - libtool_args+=" $func_quote_for_eval_result" + libtool_args="$libtool_args $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) - compile_command+=" @OUTPUT@" - finalize_command+=" @OUTPUT@" + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" ;; esac @@ -5645,8 +5645,8 @@ func_mode_link () dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. - compile_command+=" @SYMFILE@" - finalize_command+=" @SYMFILE@" + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in @@ -5673,9 +5673,9 @@ func_mode_link () ;; *) if test "$prev" = dlfiles; then - dlfiles+=" $arg" + dlfiles="$dlfiles $arg" else - dlprefiles+=" $arg" + dlprefiles="$dlprefiles $arg" fi prev= continue @@ -5699,7 +5699,7 @@ func_mode_link () *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; - *) deplibs+=" $qarg.ltframework" # this is fixed later + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later ;; esac ;; @@ -5718,7 +5718,7 @@ func_mode_link () moreargs= for fil in `cat "$save_arg"` do -# moreargs+=" $fil" +# moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. @@ -5747,7 +5747,7 @@ func_mode_link () if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles+=" $pic_object" + dlfiles="$dlfiles $pic_object" prev= continue else @@ -5759,12 +5759,12 @@ func_mode_link () # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles+=" $pic_object" + dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. - libobjs+=" $pic_object" + libobjs="$libobjs $pic_object" arg="$pic_object" fi @@ -5774,7 +5774,7 @@ func_mode_link () non_pic_object="$xdir$non_pic_object" # A standard non-PIC object - non_pic_objects+=" $non_pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi @@ -5782,7 +5782,7 @@ func_mode_link () # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" - non_pic_objects+=" $non_pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. @@ -5794,8 +5794,8 @@ func_mode_link () func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result - libobjs+=" $pic_object" - non_pic_objects+=" $non_pic_object" + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi @@ -5829,12 +5829,12 @@ func_mode_link () if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; - *) rpath+=" $arg" ;; + *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; - *) xrpath+=" $arg" ;; + *) xrpath="$xrpath $arg" ;; esac fi prev= @@ -5846,31 +5846,31 @@ func_mode_link () continue ;; weak) - weak_libs+=" $arg" + weak_libs="$weak_libs $arg" prev= continue ;; xcclinker) - linker_flags+=" $qarg" - compiler_flags+=" $qarg" + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" prev= - compile_command+=" $qarg" - finalize_command+=" $qarg" + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" continue ;; xcompiler) - compiler_flags+=" $qarg" + compiler_flags="$compiler_flags $qarg" prev= - compile_command+=" $qarg" - finalize_command+=" $qarg" + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" continue ;; xlinker) - linker_flags+=" $qarg" - compiler_flags+=" $wl$qarg" + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" prev= - compile_command+=" $wl$qarg" - finalize_command+=" $wl$qarg" + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" continue ;; *) @@ -5887,8 +5887,8 @@ func_mode_link () -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. - compile_command+=" $link_static_flag" - finalize_command+=" $link_static_flag" + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" fi continue ;; @@ -5950,8 +5950,8 @@ func_mode_link () -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) - compile_command+=" $arg" - finalize_command+=" $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" ;; esac continue @@ -5985,10 +5985,10 @@ func_mode_link () *) # Preserve sysroot, but never include relative directories case $dir in - [\\/]* | [A-Za-z]:[\\/]* | =*) deplibs+=" $arg" ;; - *) deplibs+=" -L$dir" ;; + [\\/]* | [A-Za-z]:[\\/]* | =*) deplibs="$deplibs $arg" ;; + *) deplibs="$deplibs -L$dir" ;; esac - lib_search_path+=" $dir" + lib_search_path="$lib_search_path $dir" ;; esac case $host in @@ -5997,12 +5997,12 @@ func_mode_link () case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; - *) dllsearchpath+=":$dir";; + *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath+=":$testbindir";; + *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac @@ -6026,7 +6026,7 @@ func_mode_link () ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework - deplibs+=" System.ltframework" + deplibs="$deplibs System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) @@ -6046,7 +6046,7 @@ func_mode_link () ;; esac fi - deplibs+=" $arg" + deplibs="$deplibs $arg" continue ;; @@ -6059,20 +6059,20 @@ func_mode_link () # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) - compiler_flags+=" $arg" - compile_command+=" $arg" - finalize_command+=" $arg" + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags+=" $arg" - compile_command+=" $arg" - finalize_command+=" $arg" + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; - * ) new_inherited_linker_flags+=" $arg" ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; esac continue ;; @@ -6149,7 +6149,7 @@ func_mode_link () esac case "$xrpath " in *" $dir "*) ;; - *) xrpath+=" $dir" ;; + *) xrpath="$xrpath $dir" ;; esac continue ;; @@ -6202,8 +6202,8 @@ func_mode_link () for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" - arg+=" $func_quote_for_eval_result" - compiler_flags+=" $func_quote_for_eval_result" + arg="$arg $func_quote_for_eval_result" + compiler_flags="$compiler_flags $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -6218,9 +6218,9 @@ func_mode_link () for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" - arg+=" $wl$func_quote_for_eval_result" - compiler_flags+=" $wl$func_quote_for_eval_result" - linker_flags+=" $func_quote_for_eval_result" + arg="$arg $wl$func_quote_for_eval_result" + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" + linker_flags="$linker_flags $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -6266,9 +6266,9 @@ func_mode_link () -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" - compile_command+=" $arg" - finalize_command+=" $arg" - compiler_flags+=" $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + compiler_flags="$compiler_flags $arg" continue ;; @@ -6280,7 +6280,7 @@ func_mode_link () *.$objext) # A standard object. - objs+=" $arg" + objs="$objs $arg" ;; *.lo) @@ -6311,7 +6311,7 @@ func_mode_link () if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles+=" $pic_object" + dlfiles="$dlfiles $pic_object" prev= continue else @@ -6323,12 +6323,12 @@ func_mode_link () # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles+=" $pic_object" + dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. - libobjs+=" $pic_object" + libobjs="$libobjs $pic_object" arg="$pic_object" fi @@ -6338,7 +6338,7 @@ func_mode_link () non_pic_object="$xdir$non_pic_object" # A standard non-PIC object - non_pic_objects+=" $non_pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi @@ -6346,7 +6346,7 @@ func_mode_link () # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" - non_pic_objects+=" $non_pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. @@ -6358,8 +6358,8 @@ func_mode_link () func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result - libobjs+=" $pic_object" - non_pic_objects+=" $non_pic_object" + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi @@ -6368,8 +6368,8 @@ func_mode_link () *.$libext) # An archive. - deplibs+=" $arg" - old_deplibs+=" $arg" + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" continue ;; @@ -6379,14 +6379,14 @@ func_mode_link () func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. - dlfiles+=" $func_resolve_sysroot_result" + dlfiles="$dlfiles $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. - dlprefiles+=" $func_resolve_sysroot_result" + dlprefiles="$dlprefiles $func_resolve_sysroot_result" prev= else - deplibs+=" $func_resolve_sysroot_result" + deplibs="$deplibs $func_resolve_sysroot_result" fi continue ;; @@ -6402,8 +6402,8 @@ func_mode_link () # Now actually substitute the argument into the commands. if test -n "$arg"; then - compile_command+=" $arg" - finalize_command+=" $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" fi done # argument parsing loop @@ -6412,8 +6412,8 @@ func_mode_link () if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" - compile_command+=" $arg" - finalize_command+=" $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" fi oldlibs= @@ -6457,10 +6457,10 @@ func_mode_link () for deplib in $deplibs; do if $opt_preserve_dup_deps ; then case "$libs " in - *" $deplib "*) specialdeplibs+=" $deplib" ;; + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi - libs+=" $deplib" + libs="$libs $deplib" done if test "$linkmode" = lib; then @@ -6473,9 +6473,9 @@ func_mode_link () if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs+=" $pre_post_deps" ;; + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac - pre_post_deps+=" $pre_post_dep" + pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= @@ -6557,7 +6557,7 @@ func_mode_link () deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; - *) deplibs+=" $deplib" ;; + *) deplibs="$deplibs $deplib" ;; esac done done @@ -6578,11 +6578,11 @@ func_mode_link () compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - compiler_flags+=" $deplib" + compiler_flags="$compiler_flags $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags+=" $deplib" ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi @@ -6667,7 +6667,7 @@ func_mode_link () if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags+=" $deplib" ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi @@ -6681,7 +6681,7 @@ func_mode_link () newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" - newlib_search_path+=" $func_resolve_sysroot_result" + newlib_search_path="$newlib_search_path $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then @@ -6696,7 +6696,7 @@ func_mode_link () fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" - newlib_search_path+=" $func_resolve_sysroot_result" + newlib_search_path="$newlib_search_path $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" @@ -6712,7 +6712,7 @@ func_mode_link () # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; - *) xrpath+=" $dir" ;; + *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" @@ -6784,11 +6784,11 @@ func_mode_link () if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. - newdlprefiles+=" $deplib" + newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - newdlfiles+=" $deplib" + newdlfiles="$newdlfiles $deplib" fi fi continue @@ -6834,7 +6834,7 @@ func_mode_link () for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags+=" $tmp_inherited_linker_flag";; + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; esac done fi @@ -6842,8 +6842,8 @@ func_mode_link () if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles+=" $dlopen" - test -n "$dlpreopen" && dlprefiles+=" $dlpreopen" + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then @@ -6854,17 +6854,17 @@ func_mode_link () func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. - convenience+=" $ladir/$objdir/$old_library" - old_convenience+=" $ladir/$objdir/$old_library" + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs+=" $deplib" ;; + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi - tmp_libs+=" $deplib" + tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" @@ -6900,9 +6900,9 @@ func_mode_link () # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. - dlprefiles+=" $lib $dependency_libs" + dlprefiles="$dlprefiles $lib $dependency_libs" else - newdlfiles+=" $lib" + newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen @@ -6939,12 +6939,12 @@ func_mode_link () dir="$ladir" absdir="$abs_ladir" # Remove this search path later - notinst_path+=" $abs_ladir" + notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later - notinst_path+=" $abs_ladir" + notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" @@ -6969,29 +6969,29 @@ func_mode_link () if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" - newdlprefiles+=" $dir/$linklib" + newdlprefiles="$newdlprefiles $dir/$linklib" else - newdlprefiles+=" $dir/$old_library" + newdlprefiles="$newdlprefiles $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ - dlpreconveniencelibs+=" $dir/$old_library" + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then - newdlprefiles+=" $dir/$old_library" + newdlprefiles="$newdlprefiles $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ - dlpreconveniencelibs+=" $dir/$old_library" + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then - newdlprefiles+=" $dir/$dlname" + newdlprefiles="$newdlprefiles $dir/$dlname" else - newdlprefiles+=" $dir/$linklib" + newdlprefiles="$newdlprefiles $dir/$linklib" fi ;; esac @@ -7012,7 +7012,7 @@ func_mode_link () if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path+=" $ladir" + newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no @@ -7026,7 +7026,7 @@ func_mode_link () case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" - newlib_search_path+=" $func_resolve_sysroot_result" + newlib_search_path="$newlib_search_path $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? @@ -7039,10 +7039,10 @@ func_mode_link () fi if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs+=" $deplib" ;; + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi - tmp_libs+=" $deplib" + tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... @@ -7057,7 +7057,7 @@ func_mode_link () # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; - *) temp_rpath+="$absdir:" ;; + *) temp_rpath="$temp_rpath$absdir:" ;; esac fi @@ -7069,7 +7069,7 @@ func_mode_link () *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath+=" $absdir" ;; + *) compile_rpath="$compile_rpath $absdir" ;; esac ;; esac @@ -7078,7 +7078,7 @@ func_mode_link () *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath+=" $libdir" ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; esac ;; esac @@ -7103,12 +7103,12 @@ func_mode_link () case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded - notinst_deplibs+=" $lib" + notinst_deplibs="$notinst_deplibs $lib" need_relink=no ;; *) if test "$installed" = no; then - notinst_deplibs+=" $lib" + notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi ;; @@ -7143,7 +7143,7 @@ func_mode_link () *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath+=" $absdir" ;; + *) compile_rpath="$compile_rpath $absdir" ;; esac ;; esac @@ -7152,7 +7152,7 @@ func_mode_link () *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath+=" $libdir" ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; esac ;; esac @@ -7262,7 +7262,7 @@ func_mode_link () if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir+=" -L$inst_prefix_dir$libdir" + add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi @@ -7284,7 +7284,7 @@ func_mode_link () if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; - *) compile_shlibpath+="$add_shlibpath:" ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then @@ -7298,7 +7298,7 @@ func_mode_link () test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath+="$libdir:" ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi @@ -7318,7 +7318,7 @@ func_mode_link () elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath+="$libdir:" ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then @@ -7335,7 +7335,7 @@ func_mode_link () if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir+=" -L$inst_prefix_dir$libdir" + add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi @@ -7412,15 +7412,15 @@ func_mode_link () temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; - *) xrpath+=" $temp_xrpath";; + *) xrpath="$xrpath $temp_xrpath";; esac;; - *) temp_deplibs+=" $libdir";; + *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi - newlib_search_path+=" $absdir" + newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs @@ -7435,10 +7435,10 @@ func_mode_link () if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) - specialdeplibs+=" $func_resolve_sysroot_result" ;; + specialdeplibs="$specialdeplibs $func_resolve_sysroot_result" ;; esac fi - tmp_libs+=" $func_resolve_sysroot_result" + tmp_libs="$tmp_libs $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then @@ -7478,8 +7478,8 @@ func_mode_link () if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi - compiler_flags+=" ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - linker_flags+=" -dylib_file ${darwin_install_name}:${depdepl}" + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi @@ -7529,7 +7529,7 @@ func_mode_link () for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; - *) lib_search_path+=" $dir" ;; + *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= @@ -7587,10 +7587,10 @@ func_mode_link () -L*) case " $tmp_libs " in *" $deplib "*) ;; - *) tmp_libs+=" $deplib" ;; + *) tmp_libs="$tmp_libs $deplib" ;; esac ;; - *) tmp_libs+=" $deplib" ;; + *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" @@ -7606,7 +7606,7 @@ func_mode_link () ;; esac if test -n "$i" ; then - tmp_libs+=" $i" + tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs @@ -7647,7 +7647,7 @@ func_mode_link () # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" - objs+="$old_deplibs" + objs="$objs$old_deplibs" ;; lib) @@ -7683,7 +7683,7 @@ func_mode_link () echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" - libobjs+=" $objs" + libobjs="$libobjs $objs" fi fi @@ -7884,7 +7884,7 @@ func_mode_link () done # Make executables depend on our current version. - verstring+=":${current}.0" + verstring="$verstring:${current}.0" ;; qnx) @@ -7952,7 +7952,7 @@ func_mode_link () fi func_generate_dlsyms "$libname" "$libname" "yes" - libobjs+=" $symfileobj" + libobjs="$libobjs $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$opt_mode" != relink; then @@ -7971,7 +7971,7 @@ func_mode_link () continue fi fi - removelist+=" $p" + removelist="$removelist $p" ;; *) ;; esac @@ -7982,7 +7982,7 @@ func_mode_link () # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs+=" $output_objdir/$libname.$libext" + oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` @@ -8000,10 +8000,10 @@ func_mode_link () temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" - temp_xrpath+=" -R$func_replace_sysroot_result" + temp_xrpath="$temp_xrpath -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath+=" $libdir" ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then @@ -8017,7 +8017,7 @@ func_mode_link () for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; - *) dlfiles+=" $lib" ;; + *) dlfiles="$dlfiles $lib" ;; esac done @@ -8027,7 +8027,7 @@ func_mode_link () for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; - *) dlprefiles+=" $lib" ;; + *) dlprefiles="$dlprefiles $lib" ;; esac done @@ -8039,7 +8039,7 @@ func_mode_link () ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework - deplibs+=" System.ltframework" + deplibs="$deplibs System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. @@ -8056,7 +8056,7 @@ func_mode_link () *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then - deplibs+=" -lc" + deplibs="$deplibs -lc" fi ;; esac @@ -8105,7 +8105,7 @@ EOF if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" i="" ;; esac @@ -8116,7 +8116,7 @@ EOF set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" else droppeddeps=yes echo @@ -8130,7 +8130,7 @@ EOF fi ;; *) - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" ;; esac done @@ -8148,7 +8148,7 @@ EOF if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" i="" ;; esac @@ -8159,7 +8159,7 @@ EOF set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" else droppeddeps=yes echo @@ -8181,7 +8181,7 @@ EOF fi ;; *) - newdeplibs+=" $i" + newdeplibs="$newdeplibs $i" ;; esac done @@ -8198,7 +8198,7 @@ EOF if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac @@ -8241,7 +8241,7 @@ EOF if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi @@ -8266,7 +8266,7 @@ EOF ;; *) # Add a -L argument. - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. @@ -8282,7 +8282,7 @@ EOF if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac @@ -8295,7 +8295,7 @@ EOF potlib="$potent_lib" # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi @@ -8320,7 +8320,7 @@ EOF ;; *) # Add a -L argument. - newdeplibs+=" $a_deplib" + newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. @@ -8424,7 +8424,7 @@ EOF *) case " $deplibs " in *" -L$path/$objdir "*) - new_libs+=" -L$path/$objdir" ;; + new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac @@ -8434,10 +8434,10 @@ EOF -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs+=" $deplib" ;; + *) new_libs="$new_libs $deplib" ;; esac ;; - *) new_libs+=" $deplib" ;; + *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" @@ -8468,13 +8468,13 @@ EOF *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs+="$hardcode_libdir_separator$libdir" + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath+=" $flag" + dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in @@ -8497,7 +8497,7 @@ EOF # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath+="$dir:" + rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi @@ -8531,7 +8531,7 @@ EOF linknames= for link do - linknames+=" $link" + linknames="$linknames $link" done # Use standard objects if they are pic @@ -8542,7 +8542,7 @@ EOF if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" - delfiles+=" $export_symbols" + delfiles="$delfiles $export_symbols" fi orig_export_symbols= @@ -8602,7 +8602,7 @@ EOF output=${output_objdir}/${output_la}.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result - delfiles+=" $output" + delfiles="$delfiles $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" @@ -8645,7 +8645,7 @@ EOF # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles+=" $export_symbols $output_objdir/$libname.filter" + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -8655,7 +8655,7 @@ EOF case " $convenience " in *" $test_deplib "*) ;; *) - tmp_deplibs+=" $test_deplib" + tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done @@ -8675,17 +8675,17 @@ EOF test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" - generated+=" $gentop" + generated="$generated $gentop" func_extract_archives $gentop $convenience - libobjs+=" $func_extract_archives_result" + libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" - linker_flags+=" $flag" + linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking @@ -8755,7 +8755,7 @@ EOF $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output - delfiles+=" $output" + delfiles="$delfiles $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then @@ -8774,7 +8774,7 @@ EOF func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done - delfiles+=" $output" + delfiles="$delfiles $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else @@ -8794,7 +8794,7 @@ EOF len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then - objlist+=" $obj" + objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. @@ -8827,7 +8827,7 @@ EOF if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi - delfiles+=" $output" + delfiles="$delfiles $output" else output= @@ -8894,7 +8894,7 @@ EOF # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles+=" $export_symbols $output_objdir/$libname.filter" + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -8935,10 +8935,10 @@ EOF # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated+=" $gentop" + generated="$generated $gentop" func_extract_archives $gentop $dlprefiles - libobjs+=" $func_extract_archives_result" + libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi @@ -9050,7 +9050,7 @@ EOF reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" - generated+=" $gentop" + generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" @@ -9133,8 +9133,8 @@ EOF if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) - compile_command+=" ${wl}-bind_at_load" - finalize_command+=" ${wl}-bind_at_load" + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" ;; esac fi @@ -9154,7 +9154,7 @@ EOF *) case " $compile_deplibs " in *" -L$path/$objdir "*) - new_libs+=" -L$path/$objdir" ;; + new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac @@ -9164,17 +9164,17 @@ EOF -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs+=" $deplib" ;; + *) new_libs="$new_libs $deplib" ;; esac ;; - *) new_libs+=" $deplib" ;; + *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" - compile_command+=" $compile_deplibs" - finalize_command+=" $finalize_deplibs" + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. @@ -9182,7 +9182,7 @@ EOF # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath+=" $libdir" ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi @@ -9201,18 +9201,18 @@ EOF *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs+="$hardcode_libdir_separator$libdir" + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath+=" $flag" + rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; - *) perm_rpath+=" $libdir" ;; + *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in @@ -9221,12 +9221,12 @@ EOF case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; - *) dllsearchpath+=":$libdir";; + *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath+=":$testbindir";; + *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac @@ -9252,18 +9252,18 @@ EOF *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs+="$hardcode_libdir_separator$libdir" + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath+=" $flag" + rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; - *) finalize_perm_rpath+=" $libdir" ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done @@ -9342,7 +9342,7 @@ EOF # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath+="$dir:" + rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -9350,7 +9350,7 @@ EOF # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do - rpath+="$dir:" + rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -9508,7 +9508,7 @@ EOF else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs+=" $symfileobj" + oldobjs="$oldobjs $symfileobj" fi fi addlibs="$old_convenience" @@ -9516,10 +9516,10 @@ EOF if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" - generated+=" $gentop" + generated="$generated $gentop" func_extract_archives $gentop $addlibs - oldobjs+=" $func_extract_archives_result" + oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. @@ -9530,10 +9530,10 @@ EOF # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated+=" $gentop" + generated="$generated $gentop" func_extract_archives $gentop $dlprefiles - oldobjs+=" $func_extract_archives_result" + oldobjs="$oldobjs $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have @@ -9551,7 +9551,7 @@ EOF else echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" - generated+=" $gentop" + generated="$generated $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= @@ -9575,9 +9575,9 @@ EOF esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs+=" $gentop/$newobj" + oldobjs="$oldobjs $gentop/$newobj" ;; - *) oldobjs+=" $obj" ;; + *) oldobjs="$oldobjs $obj" ;; esac done fi @@ -9620,7 +9620,7 @@ EOF func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result - objlist+=" $obj" + objlist="$objlist $obj" if test "$len" -lt "$max_cmd_len"; then : else @@ -9693,19 +9693,19 @@ EOF eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" - newdependency_libs+=" ${lt_sysroot:+=}$libdir/$name" + newdependency_libs="$newdependency_libs ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" - newdependency_libs+=" -L$func_replace_sysroot_result" + newdependency_libs="$newdependency_libs -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" - newdependency_libs+=" -R$func_replace_sysroot_result" + newdependency_libs="$newdependency_libs -R$func_replace_sysroot_result" ;; - *) newdependency_libs+=" $deplib" ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" @@ -9719,9 +9719,9 @@ EOF eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" - newdlfiles+=" ${lt_sysroot:+=}$libdir/$name" + newdlfiles="$newdlfiles ${lt_sysroot:+=}$libdir/$name" ;; - *) newdlfiles+=" $lib" ;; + *) newdlfiles="$newdlfiles $lib" ;; esac done dlfiles="$newdlfiles" @@ -9738,7 +9738,7 @@ EOF eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" - newdlprefiles+=" ${lt_sysroot:+=}$libdir/$name" + newdlprefiles="$newdlprefiles ${lt_sysroot:+=}$libdir/$name" ;; esac done @@ -9750,7 +9750,7 @@ EOF [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlfiles+=" $abs" + newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= @@ -9759,7 +9759,7 @@ EOF [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlprefiles+=" $abs" + newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi @@ -9864,9 +9864,9 @@ func_mode_uninstall () for arg do case $arg in - -f) RM+=" $arg"; rmforce=yes ;; - -*) RM+=" $arg" ;; - *) files+=" $arg" ;; + -f) RM="$RM $arg"; rmforce=yes ;; + -*) RM="$RM $arg" ;; + *) files="$files $arg" ;; esac done @@ -9891,7 +9891,7 @@ func_mode_uninstall () if test "$opt_mode" = clean; then case " $rmdirs " in *" $odir "*) ;; - *) rmdirs+=" $odir" ;; + *) rmdirs="$rmdirs $odir" ;; esac fi @@ -9917,17 +9917,17 @@ func_mode_uninstall () # Delete the libtool libraries and symlinks. for n in $library_names; do - rmfiles+=" $odir/$n" + rmfiles="$rmfiles $odir/$n" done - test -n "$old_library" && rmfiles+=" $odir/$old_library" + test -n "$old_library" && rmfiles="$rmfiles $odir/$old_library" case "$opt_mode" in clean) case " $library_names " in *" $dlname "*) ;; - *) test -n "$dlname" && rmfiles+=" $odir/$dlname" ;; + *) test -n "$dlname" && rmfiles="$rmfiles $odir/$dlname" ;; esac - test -n "$libdir" && rmfiles+=" $odir/$name $odir/${name}i" + test -n "$libdir" && rmfiles="$rmfiles $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then @@ -9955,13 +9955,13 @@ func_mode_uninstall () # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then - rmfiles+=" $dir/$pic_object" + rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then - rmfiles+=" $dir/$non_pic_object" + rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; @@ -9977,7 +9977,7 @@ func_mode_uninstall () noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe - rmfiles+=" $file" + rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. @@ -9986,7 +9986,7 @@ func_mode_uninstall () func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result - rmfiles+=" $func_ltwrapper_scriptname_result" + rmfiles="$rmfiles $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename @@ -9994,12 +9994,12 @@ func_mode_uninstall () # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles - rmfiles+=" $odir/$name $odir/${name}S.${objext}" + rmfiles="$rmfiles $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles+=" $odir/lt-$name" + rmfiles="$rmfiles $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then - rmfiles+=" $odir/lt-${noexename}.c" + rmfiles="$rmfiles $odir/lt-${noexename}.c" fi fi fi |