Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grep echo lib/libapetag/libtool
- # Sed that helps us avoid accidentally triggering echo(1) options like -n.
- # An echo program that does not interpret backslashes.
- ECHO="echo"
- archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
- echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
- progname=`echo "$progpath" | $SED $basename`
- # Check that we have a working $echo.
- elif test "X$1" = X--fallback-echo; then
- elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- # Yippee, $echo works!
- # Restart under the correct shell, and then maybe $echo will work.
- if test "X$1" = X--fallback-echo; then
- # used as fallback echo
- case `echo X|tr X '\101'` in
- $echo "$modename: not configured to build any kind of library" 1>&2
- $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- show="$echo"
- $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
- $echo "X$my_tmpdir" | $Xsed
- $echo $win32_libid_type
- " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
- " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
- $echo "$modename: unable to infer tagged configuration"
- $echo "$modename: specify a tag with \`--tag'" 1>&2
- # $echo "$modename: using $tagname tagged configuration"
- $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
- my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
- darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
- darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
- -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
- $echo "$progname: invalid tag name: $tagname" 1>&2
- $echo "$progname: ignoring unknown tag $tagname" 1>&2
- echo "\
- $echo "$progname: enabling shell trace mode"
- $echo "host: $host"
- $echo "enable shared libraries"
- $echo "disable shared libraries"
- $echo "enable static libraries"
- $echo "disable static libraries"
- $echo "$modename: unrecognized option \`$arg'" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: option \`$prevopt' requires an argument" 1>&2
- $echo "$help" 1>&2
- build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
- $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
- $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
- $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
- $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
- $echo "$modename: unrecognized option \`-dlopen'" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: you cannot specify \`-o' more than once" 1>&2
- args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
- lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
- lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
- $echo "$modename: you must specify an argument for -Xcompile"
- $echo "$modename: you must specify a target with \`-o'" 1>&2
- [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
- libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
- *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
- $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
- qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
- && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
- && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
- objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
- xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: you must specify a compilation command" 1>&2
- $echo "$help" 1>&2
- output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
- $echo "\
- $echo "$srcfile" > "$lockfile"
- qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
- $echo "\
- $echo "\
- $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
- qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
- $echo "$modename: symbol file \`$arg' does not exist"
- $echo "$modename: cannot find name of object for \`$arg'" 1>&2
- xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
- xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
- pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
- non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
- $echo "$modename: link input file \`$save_arg' does not exist"
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
- $echo "$modename: more than one -exported-symbols argument is not allowed"
- dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
- $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
- testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
- $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
- dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
- arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
- arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- $echo "$modename: cannot find name of object for \`$arg'" 1>&2
- xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
- xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
- pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
- non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
- $echo "$help" 1>&2
- outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
- eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
- output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: you must specify an output file" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
- $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
- name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
- ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
- newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
- dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
- if eval $echo \"$deplib\" 2>/dev/null \
- $echo
- $echo "*** Warning: Trying to link with static lib archive $deplib."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which you do not appear to have"
- $echo "*** because the file extensions .$libext of this argument makes me believe"
- $echo "*** that it is just a static archive that I should not used here."
- $echo
- $echo "*** Warning: Linking the shared library $output against the"
- $echo "*** static library $deplib is not portable!"
- $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- $echo "$modename: \`$lib' is not a convenience library" 1>&2
- $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
- $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
- $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
- laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: warning: library \`$lib' was moved." 1>&2
- name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
- $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
- -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
- $echo
- $echo "*** Warning: Linking the executable $output against the loadable module"
- $echo "*** Warning: Linking the shared library $output against the loadable module"
- $echo "*** $linklib is not portable!"
- libname=`eval \\$echo \"$libname_spec\"`
- soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
- newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
- $echo "** Warning, lib $linklib is a module, not a shared library"
- $echo
- $echo "** And there doesn't seem to be a static archive available"
- $echo "** The link will probably fail, sorry"
- $echo "$modename: configuration error: unsupported hardcode properties"
- $echo
- $echo "*** Warning: This system can not link to static lib archive $lib."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which you do not appear to have."
- $echo "*** But as you try to build a module library, libtool will still create "
- $echo "*** a static module, that should work as long as the dlopening application"
- $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
- $echo
- $echo "*** However, this would only work if libtool was able to extract symbol"
- $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
- $echo "*** not find such a program. So, this module is probably useless."
- $echo "*** \`nm' from GNU binutils and a full rebuild may help."
- -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
- dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
- $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
- eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
- $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
- $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
- $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
- $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
- $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
- $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
- $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
- name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
- $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
- $echo "$help" 1>&2
- name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
- libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
- $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
- $echo
- $echo "*** Warning: Linking the shared library $output against the non-libtool"
- $echo "*** objects $objs is not portable!"
- $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
- $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
- $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
- $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
- $echo "$modename: too many parameters to \`-version-info'" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: unknown library version type \`$version_type'" 1>&2
- $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- $echo "$modename: unknown library version type \`$version_type'" 1>&2
- $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
- tempremovelist=`$echo "$output_objdir/*"`
- if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
- oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
- # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
- # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
- # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
- libname=`eval \\$echo \"$libname_spec\"`
- deplib_matches=`eval \\$echo \"$library_names_spec\"`
- $echo
- $echo "*** Warning: dynamic linker does not accept needed library $i."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which I believe you do not have"
- $echo "*** because a test_compile did reveal that the linker did not use it for"
- $echo "*** its dynamic dependency list that programs get resolved with at runtime."
- libname=`eval \\$echo \"$libname_spec\"`
- deplib_matches=`eval \\$echo \"$library_names_spec\"`
- $echo
- $echo "*** Warning: dynamic linker does not accept needed library $i."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which you do not appear to have"
- $echo "*** because a test_compile did reveal that the linker did not use this one"
- $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
- $echo
- $echo "*** Warning! Library $i is needed by this library but I was not able to"
- $echo "*** make it link in! You will probably need to install it or some"
- $echo "*** library that it depends on before this library will be fully"
- $echo "*** functional. Installing it before continuing would be even better."
- libname=`eval \\$echo \"$libname_spec\"`
- *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
- $echo
- $echo "*** Warning: linker path does not have real file for library $a_deplib."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which you do not appear to have"
- $echo "*** because I did check the linker path looking for a file starting"
- $echo "*** with $libname but no candidates were found. (...for file magic test)"
- $echo "*** with $libname and none of the candidates passed a file format test"
- $echo "*** using a file magic. Last file checked: $potlib"
- libname=`eval \\$echo \"$libname_spec\"`
- if eval $echo \"$potent_lib\" 2>/dev/null \
- $echo
- $echo "*** Warning: linker path does not have real file for library $a_deplib."
- $echo "*** I have the capability to make that library automatically link in when"
- $echo "*** you link to this library. But I can only do this if you have a"
- $echo "*** shared version of the library, which you do not appear to have"
- $echo "*** because I did check the linker path looking for a file starting"
- $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
- $echo "*** with $libname and none of the candidates passed a file format test"
- $echo "*** using a regex pattern. Last file checked: $potlib"
- tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
- tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
- if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
- $echo
- $echo "*** Warning: inter-library dependencies are not supported in this platform."
- $echo "*** Warning: inter-library dependencies are not known to be supported."
- $echo "*** All declared inter-library dependencies are being dropped."
- newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
- $echo
- $echo "*** Warning: libtool could not satisfy all declared inter-library"
- $echo "*** dependencies of module $libname. Therefore, libtool will create"
- $echo "*** a static module, that should work as long as the dlopening"
- $echo "*** application is linked with the -dlopen flag."
- $echo
- $echo "*** However, this would only work if libtool was able to extract symbol"
- $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
- $echo "*** not find such a program. So, this module is probably useless."
- $echo "*** \`nm' from GNU binutils and a full rebuild may help."
- $echo "*** The inter-library dependencies that have been dropped here will be"
- $echo "*** automatically added whenever a program is linked with this library"
- $echo "*** or is declared to -dlopen it."
- $echo
- $echo "*** Since this library must not contain undefined symbols,"
- $echo "*** because either the platform does not support them or"
- $echo "*** it was explicitly requested with -no-undefined,"
- $echo "*** libtool will only create a static version of it."
- test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
- $echo "creating reloadable object files..."
- output_la=`$echo "X$output" | $Xsed -e "$basename"`
- $echo "creating a temporary reloadable object file: $output"
- $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
- $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
- $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
- $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
- $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
- $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
- $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
- obj=`$echo "X$output" | $Xsed -e "$lo2o"`
- reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
- reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
- # $show "echo timestamp > $libobj"
- # $run eval "echo timestamp > $libobj" || exit $?
- *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
- $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
- $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
- $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
- compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
- test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
- test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
- progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
- $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
- name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
- $run eval '$echo ": $name " >> "$nlist"'
- $echo '/* NONE */' >> "$output_objdir/$dlsyms"
- $echo >> "$output_objdir/$dlsyms" "\
- $echo >> "$output_objdir/$dlsyms" "\
- $echo >> "$output_objdir/$dlsyms" "\
- $echo >> "$output_objdir/$dlsyms" "\
- $echo >> "$output_objdir/$dlsyms" "\
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
- $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
- link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
- $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
- $echo "$modename: \`$output' will be relinked during installation" 1>&2
- relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
- link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
- var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
- # Quote $echo for shipping.
- if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
- [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
- *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
- qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
- qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
- *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
- outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
- $echo > $output "\
- # When we are sourced in execute mode, \$file and \$echo are already set.
- echo=\"$qecho\"
- # Make sure echo works.
- elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
- # Yippee, \$echo works!
- # Restart under the correct shell, and then maybe \$echo will work.
- $echo >> $output "\
- thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
- destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
- file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
- $echo >> $output "\
- $echo >> $output "\
- $echo \"\$relink_command_output\" >&2
- $echo >> $output "\
- $echo >> $output "\
- $echo >> $output "\
- $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
- $echo >> $output "\
- $echo >> $output "\
- $echo >> $output "\
- $echo >> $output "\
- $echo >> $output "\
- \$echo \"\$0: cannot exec \$program \$*\"
- \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
- \$echo \"This script is just a wrapper for \$program.\" 1>&2
- $echo \"See the $PACKAGE documentation for more information.\" 1>&2
- $echo "X$obj" | $Xsed -e 's%^.*/%%'
- $echo "copying selected object files to avoid basename conflicts..."
- objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
- $echo "using piecewise archive linking..."
- var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
- name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- $echo > $output "\
- $echo >> $output "\
- $echo "X$nonopt" | grep shtool > /dev/null; then
- arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- $echo "$modename: you must specify an install program" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: the \`$prev' option requires an argument" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: no file or destination specified" 1>&2
- $echo "$modename: you must specify a destination" 1>&2
- $echo "$help" 1>&2
- dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
- destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
- destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: \`$dest' is not a directory" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
- inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
- relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
- relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
- $echo "$modename: warning: relinking \`$file'" 1>&2
- $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
- $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
- $echo "$help" 1>&2
- staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
- destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- file=`$echo $file|${SED} 's,.exe$,,'`
- wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
- $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
- libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
- $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
- file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
- relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
- $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- $echo "$modename: warning: cannot relink \`$file'" 1>&2
- file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
- destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
- $echo "X----------------------------------------------------------------------" | $Xsed
- $echo "Libraries have been installed in:"
- $echo " $libdir"
- $echo
- $echo "If you ever happen to want to link against installed libraries"
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- $echo "flag during linking and do at least one of the following:"
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- $echo " during execution"
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
- $echo " during linking"
- $echo " - use the \`$flag' linker flag"
- $echo " - have your system administrator run these commands:$admincmds"
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- $echo
- $echo "See any operating system documentation about shared libraries for"
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
- $echo "X----------------------------------------------------------------------" | $Xsed
- $echo "$modename: you must specify a COMMAND" 1>&2
- $echo "$help"
- $echo "$modename: \`$file' is not a file" 1>&2
- $echo "$help" 1>&2
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
- file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
- eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
- $echo "export $shlibpath_var"
- $echo "$cmd$args"
- $echo "$modename: you must specify an RM program" 1>&2
- $echo "$help" 1>&2
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- file=`$echo $file|${SED} 's,.exe$,,'`
- noexename=`$echo $name|${SED} 's,.exe$,,'`
- $echo "$modename: you must specify a MODE" 1>&2
- $echo "$generic_help" 1>&2
- $echo "$modename: invalid operation mode \`$mode'" 1>&2
- $echo "$generic_help" 1>&2
- "") $echo \
- $echo \
- $echo \
- $echo \
- $echo \
- $echo \
- $echo \
- $echo \
- $echo "$modename: invalid operation mode \`$mode'" 1>&2
- $echo "$help" 1>&2
- $echo
- $echo "Try \`$modename --help' for more information about other modes."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement