Top 10k strings from libtool
in <root> / bin / pc / Emulators / fuse-hc2000-hacks.7z / src / libspectrum /
Back to the directory listing
58 esac 39 else 33 continue 27 $opt_debug 25 done 19 ;; 17 $opt_debug 12 if test -n "$1"; then 12 continue 11 case $host in 10 case $host in 9 $opt_dry_run || { 8 cat <<"EOF" 8 *.la) 7 case $host in 7 fi 6 build_old_libs=yes 6 build_libtool_libs=no 6 lt_debugprintf (__FILE__, __LINE__, 6 func_to_host_path_result="$1" 6 func_to_host_file_result="$1" 6 *" $libdir "*) ;; 6 $ECHO "\ 6 deplibs="$deplib $deplibs" 6 $ECHO \ 5 func_convert_file_check "$1" "$func_to_host_file_result" 5 func_to_host_path_tmp1=$func_stripname_result 5 func_stripname : : "$1" 5 deplibs="$deplib $deplibs" 5 cat <<EOF 5 finalize_deplibs="$deplib $finalize_deplibs" 5 echo 5 compile_deplibs="$deplib $compile_deplibs" 5 case $arg in 5 *.lo) 5 "$func_to_host_path_tmp1" "$func_to_host_path_result" 4 preserve_args+=" $opt" 4 name=$func_stripname_result 4 name="$func_basename_result" 4 exit $EXIT_SUCCESS 4 arg="$func_quote_for_eval_result" 4 add="-l$name" 4 IFS="$save_ifs" 4 ################################################## 4 # func_to_host_file_result. 4 # determined imposters. 4 # We need an absolute path. 4 # This function is only a basic sanity check; it will hardly flush out 4 tmp_libs= 4 major=".$current" 4 if (quote_around) 4 generated+=" $gentop" 4 func_fatal_error "\`$vinfo' is not valid version information" 4 func_arith $current - $age 4 for deplib in $dependency_libs; do 4 case :$dllsearchpath: in 4 IFS="$save_ifs" 4 test "X$arg" = "X-lc" && continue 4 if test "$linkmode" = prog; then 4 if test "$build_old_libs" = yes; then 4 for arg 4 case $host_os in 4 case $deplib in 4 case $1 in 4 case " $sys_lib_dlsearch_path " in 4 shift 4 if test -n "$a_deplib" ; then 4 exit $EXIT_SUCCESS 4 cat <<EOF 4 case $lib in 4 break 3 your compiler does not support \`-c' and \`-o' together. If you 3 test -z "$libdir" && \ 3 temporary object file, and libtool could not work around it because 3 repeat this compilation, it may succeed, by chance, but you had better 3 optarg="$1" 3 opt_verbose=false 3 opt_silent=false 3 library_names= 3 if test "$opt_mode" = relink; then 3 finalize_command+=" $arg" 3 exit $EXIT_FAILURE 3 echo "*** you link to this library. But I can only do this if you have a" 3 echo "*** shared version of the library, which you do not appear to have" 3 echo "*** I have the capability to make that library automatically link in when" 3 dir="$func_dirname_result" 3 compiler." 3 compile_command+=" $arg" 3 cat <<"EOF" 3 case $dir in 3 case $deplib in 3 case "$new_inherited_linker_flags " in 3 case " $new_libs " in 3 avoid parallel builds (make -j) in this platform, or get a better 3 `cat $lockfile 2>/dev/null` 3 This indicates that another process is trying to use the same 3 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; 3 $opt_dry_run || $RM $removelist 3 #if defined (HAVE_DOS_BASED_FILE_SYSTEM) 3 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION 3 # Check to see that this really is a libtool archive. 3 set dummy $deplibs_check_method; shift 3 non_pic_objects+=" $non_pic_object" 3 major=.$func_arith_result 3 if test "$#" -gt 0; then 3 gentop="$output_objdir/${outputname}x" 3 for obj in $save_oldobjs 3 case $version_type in 3 case $arg in 3 XFREE (tmp_pathspec); 3 test "X$libobjs" = "X " && libobjs= 3 return 0; 3 non_pic_objects+=" $non_pic_object" 3 if test "$build_libtool_libs" = yes; then 3 if $opt_preserve_dup_deps ; then 3 func_resolve_sysroot "$func_stripname_result" 3 func_error ${1+"$@"} 3 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" 3 func_convert_path_check : ";" \ 3 exit $EXIT_SUCCESS 3 exit $? 3 dlopen_self=$dlopen_self_static 3 case ${1} in 3 IFS="$save_ifs" 3 *" $deplib "*) ;; 3 *" $arg "*) ;; 3 $ECHO "\ 3 # See func_convert_path_msys_to_w32: 3 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 3 test -n "$vinfo" && \ 3 test -n "$release" && \ 3 newdeplibs+=" $a_deplib" 3 mingw*) 3 if test -n "$shlibpath_var"; then 3 eval '$MV "$nlist"T "$nlist"' 3 case $file in 3 case "$tmp_libs " in 3 add="-l$name" 3 -shared) 3 -l*) 3 *" $libdir "*) ;; 3 $opt_dry_run || { 3 s/^# // 3 else 3 nonnull (name), nonnull (value)); 2 } # !$opt_dry_run 2 test $# = 0 && func_missing_arg $opt && break 2 test "$build_libtool_libs" != yes && \ 2 static const char * 2 skipped_export=false 2 save_ifs="$IFS"; IFS=',' 2 return concat_name; 2 relink_command= 2 prev=xcompiler 2 prev=vinfo 2 prev=dlprefiles 2 opt_verbose=: 2 opt_silent=: 2 opt_help=false 2 opt_dry_run=false 2 old_library= 2 newdeplibs+=" $i" 2 match_pattern*) 2 link_command="$compile_var$compile_command$compile_rpath" 2 libname=`eval "\\$ECHO \"$libname_spec\""` 2 libdir="$hardcode_libdirs" 2 lib_linked=no 2 if test -z "$potlib" ; then 2 if test -z "$dlname"; then 2 if test -n "$postlink_cmds"; then 2 if test -n "$i" ; then 2 if test -n "$hardcode_libdir_flag_spec"; then 2 if test -n "$gentop"; then 2 if test -n "$export_symbols" && test -n "$include_expsyms"; then 2 if test -n "$dlprefiles"; then 2 if test -n "$destname"; then 2 if func_lalib_p "$file"; then 2 hardcode_libdirs+="$hardcode_libdir_separator$libdir" 2 func_stripname -l '' "$i" 2 func_stripname ' ' '' "$arg" 2 func_source "$file" 2 func_show_eval "$cmd" 'exit $?' 2 func_resolve_sysroot "$file" 2 func_replace_sysroot "$func_stripname_result" 2 func_quote_for_eval "$arg" 2 func_mode_help 2 func_lalib_unsafe_p "$file" \ 2 func_fallback_echo () 2 func_echo "Waiting for $lockfile to be removed" 2 func_dirname "$file" "" "." 2 func_basename "$lib" 2 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do 2 for flag in $args; do 2 file=$func_resolve_sysroot_result 2 exit $exit_status 2 eval shared_ext=\"$shrext_cmds\" 2 eval rpath=\" $hardcode_libdir_flag_spec\" 2 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` 2 eval flag=\"$hardcode_libdir_flag_spec\" 2 eval "(exit $my_status); $my_fail_exp" 2 elif test -n "$runpath_var"; then 2 echo "*** because I did check the linker path looking for a file starting" 2 droppeddeps=yes 2 deplibs="$tmp_deplibs" 2 deplibs+=" $arg" 2 compiler_flags+=" $arg" 2 command="$base_compile $qsrcfile $pic_flag" 2 case $prev in 2 case $file in 2 case $arg in 2 case " $predeps $postdeps " in 2 but it should contain: 2 build_old_libs=no 2 build_libtool_libs=module 2 backslashes++; 2 backslashes = 0; 2 args=$func_stripname_result 2 arg_mode=normal 2 arg=$func_stripname_result 2 add_shlibpath="$dir" 2 add_dir="-L$dir" 2 add="$dir/$linklib" 2 _LTECHO_EOF' 2 ]*|*]*|"") 2 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 2 [\\/]* | [A-Za-z]:[\\/]*) ;; 2 This mode accepts the following additional options: 2 RM is the name of the program to use to delete files associated with each FILE 2 DUALCASE=1; export DUALCASE # for MKS sh 2 BIN_SH=xpg4; export BIN_SH # for Tru64 2 /* #elif defined (other platforms) ... */ 2 *-*-darwin*) 2 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) 2 *** ERROR, $lockfile contains: 2 *) new_libs+=" $deplib" ;; 2 *) abs=`pwd`"/$lib" ;; 2 *" -L$path/$objdir "*) ;; 2 *" $lib "*) ;; 2 *" $a_deplib "*) 2 (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed 2 $progname: and run autoconf again. 2 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION 2 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the 2 $opt_dry_run || { 2 $ECHO "*** Warning: linker path does not have real file for library $a_deplib." 2 #ifdef __cplusplus 2 #ifdef _MSC_VER 2 #elif defined(__CYGWIN__) 2 ############################################# 2 ## ----------- ## 2 # with nonzero status (FALSE) otherwise. 2 # same distribution terms that you use for the rest of that program. 2 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP 2 # name of the DLL associated with the specified 2 # metacharacters that are still active within double-quoted strings. 2 # it depends on a number of variable set therein. 2 # is built using GNU Libtool, you may include this file under the 2 # into the resulting binary. 2 # in func_to_host_file_result. 2 # import library ARG. 2 # ifdef __STRICT_ANSI__ 2 # if you distribute this file as part of a program or library that 2 # define stat _stat 2 # define setmode _setmode 2 # define putenv _putenv 2 # define getcwd _getcwd 2 # define chmod _chmod 2 # define LT_DLSYM_CONST 2 # define FOPEN_WB "wb" 2 # conversion to w32 is not available inside the cwrapper. Returns result in 2 # along with GNU Libtool; see the file COPYING. If not, a copy 2 # You should have received a copy of the GNU General Public License 2 # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is 2 # True iff FILE is a libtool `.la' library or `.lo' object file. 2 # This predicate returns with zero status (TRUE) if 2 # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes 2 # Sed substitution that helps us do robust quoting. It backslashifies 2 # Returns result in func_to_host_file_result. 2 # Result is available in the variable 2 # Restore the uninstalled library and exit 2 # Replace the output file specification. 2 # Please DO NOT delete this file! 2 # Platform-specific function to extract the 2 # Must ONLY be called from within func_mode_link because 2 # It is necessary for linking the library. 2 # Invoked by eval'ing the libtool variable 2 # In each case, ARG is the path to be converted from $build to $host format. 2 # If the user specified any rpath flags, then add them. 2 # Figure out destination file name, if it wasn't already specified. 2 # Echo program name prefixed message to standard error, followed by 2 # Don't build PIC code 2 # Do a test to see if this is really a libtool program. 2 # Be Bourne compatible 2 # As a special exception to the GNU General Public License, 2 # Add any objects from preloaded convenience libraries 2 # A function that is used when there is no print builtin or printf. 2 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 2 # $sharedlib_from_linklib_result 2 # $sharedlib_from_linklib_cmd 2 test -n "$hardcode_libdirs"; then 2 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then 2 xdir="$func_dirname_result" 2 while test "$loop" -ne 0; do 2 while :; do 2 versuffix=".$current" 2 versuffix="$major.$age.$revision" 2 tmp_pathspec = 0; 2 tmp_len = strlen (tmp); 2 struct stat st; 2 strcpy (concat_name + tmp_len + 1, wrapper); 2 setopt NO_GLOB_SUBST 2 save_oldobjs=$oldobjs 2 return rval; 2 relink_command= 2 progdir=\"\$thisdir/$objdir\" 2 prefer_static_libs=yes 2 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` 2 oldobjs= 2 objlist= 2 newdeplibs+=" $a_deplib" 2 name=$func_stripname_result 2 memcpy (concat_name, tmp, tmp_len); 2 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` 2 major=$func_arith_result 2 linker_flags+=" $qarg" 2 libobjs+=" $pic_object" 2 if test -z "$pic_flag" && test -n "$link_static_flag"; then 2 if test -z "$libdir"; then 2 if test -n "$hardcode_libdir_separator"; then 2 if test -n "$exclude_expsyms"; then 2 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 2 if test "$pass" = conv; then 2 if test "$linkmode,$pass" = "prog,link"; then 2 if test "$linkmode" = lib; then 2 if (name && *name && value && *value) 2 if (getcwd (tmp, LT_PATHMAX) == NULL) 2 if (check_executable (concat_name)) 2 if ((!path) || (!*path)) 2 func_to_tool_file "$output" 2 func_to_tool_file "$1" func_convert_file_msys_to_w32 2 func_stripname '' '.la' "$outputname" 2 func_source $dir/$name 2 func_source "$wrapper" 2 func_show_eval '${RM}r "$gentop"' 2 func_fatal_error "\`$lib' is not a valid libtool archive" 2 func_fatal_configuration "can not build a shared library" 2 func_extract_archives $gentop $dlprefiles 2 func_execute_cmds "$postlink_cmds" 'exit $?' 2 func_dirname "$arg" "/" "" 2 func_basename "$file" 2 for potent_lib in $potential_libs; do 2 for l in $old_library $library_names; do 2 for a_deplib in $deplibs; do 2 for (s = string; *s != '\0'; s++) 2 finalize_command+=" $qarg" 2 file="$progdir/$program" 2 eval 'cat <<_LTECHO_EOF 2 eval "func_echo $func_quote_for_expand_result" 2 esac # linkmode 2 emulate sh 2 echo >> "$output_objdir/$my_dlsyms" "\ 2 done # Gone through all deplibs. 2 destfile="$func_basename_result" 2 destfile="$destdir/$destname" 2 destfile="$destdir/$destfile" 2 deplibs="$lib $deplibs" 2 deplibs="$deplib $deplibs" 2 concat_name[tmp_len] = '/'; 2 concat_name = 2 concat_cmds= 2 compiler_flags+=" $qarg" 2 compile_command+=" $qarg" 2 cmds=$old_archive_cmds 2 char *p; 2 case $tagname in 2 case $linkmode in 2 case $file in 2 case $4 in 2 case "$finalize_rpath " in 2 case " $new_libs " in 2 backslashes = 0; 2 absdir=`cd "$dir" && pwd` 2 a_deplib="" 2 XFREE (target_name); 2 XFREE (concat_name); 2 XFREE (actual_cwrapper_name); 2 NULLCMD=: 2 ::) dllsearchpath=$testbindir;; 2 *p = '\0'; 2 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) 2 *-*-sco3.2v5* | *-*-sco5v6*) 2 *-*-rhapsody* | *-*-darwin1.[012]) 2 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) 2 *) new_libs+=" $deplib" ;; 2 *) finalize_rpath+=" $libdir" ;; 2 *) dllsearchpath+=":$testbindir";; 2 *":$testbindir:"*) ;; 2 *" -L$path/$objdir "*) 2 *" $deplib "*) ;; 2 'error=$?; $opt_dry_run || $RM $removelist; exit $error' 2 $ECHO "*** with $libname and none of the candidates passed a file format test" 2 # is contrary to our usage. Disable this feature. 2 # We should set the runpath_var. 2 # Transform arg to wrapped name. 2 # Read the .lo file 2 # Prepend the subdirectory the object is found in. 2 # Extract subdirectory from the argument. 2 # Add in all the interfaces that we are compatible with. 2 continue 2 xdir="$func_dirname_result" 2 tmp_libs+=" $deplib" 2 test -n "$prev" && \ 2 save_libobjs=$libobjs 2 save_ifs="$IFS"; IFS='~' 2 rpath= 2 rpath+="$dir:" 2 rpath+=" $flag" 2 revision="$number_minor" 2 return concat_name; 2 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` 2 notinst_path+=" $abs_ladir" 2 newlib_search_path+=" $func_resolve_sysroot_result" 2 newdlprefiles= 2 newdlfiles= 2 newdeplibs+=" $i" 2 newdependency_libs="$deplib $newdependency_libs" 2 newdependency_libs= 2 new_libs+=" -L$path/$objdir" ;; 2 my_fail_exp="${2-:}" 2 my_cmd="$1" 2 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", 2 loop=$func_arith_result 2 libtool_install_magic="$magic" 2 libobjs+=" $pic_object" 2 libname=`eval "\\$ECHO \"$libname_spec\""` 2 iface=$func_arith_result 2 if test -z "$hardcode_libdirs"; then 2 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then 2 if test "$prev" = dlprefiles; then 2 if test "$prev" = dlfiles; then 2 if test "$lock_old_archive_extraction" = yes; then 2 if test "$linkmode,$pass" = "prog,link"; then 2 if test "$linkmode" = lib ; then 2 if func_ltwrapper_executable_p "$file"; then 2 if ${opt_dry_run-false}; then :; else 2 func_to_tool_file "$output" 2 func_to_host_path_result="$func_cygpath_result" 2 func_to_host_file_result="$func_cygpath_result" 2 func_stripname '-L' '' "$deplib" 2 func_infer_tag $base_compile 2 func_error "Continuing, but uninstalled executables may not work." 2 func_convert_path_front_back_pathsep ":*" "*:" : "$1" 2 func_convert_path_check : : \ 2 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" 2 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" 2 func_convert_core_msys_to_w32 "$1" 2 func_convert_core_file_wine_to_w32 "$1" 2 func_basename_result="${1##*/}" 2 func_arith $number_major + $number_minor 2 func_arith $loop - 1 2 for lib in $dlprefiles; do 2 for lib in $dlfiles; do 2 for i in $deplibs; do 2 for file in $files; do 2 for deplib in $dependency_libs; do 2 finalize_deplibs="$deplib $finalize_deplibs" 2 files= 2 eval libobjs=\"\$libobjs $whole_archive_flag_spec\" 2 eval flag=\"$hardcode_libdir_flag_spec\" 2 echo "*** you link to this library. But I can only do this if you have a" 2 echo "*** I have the capability to make that library automatically link in when" 2 droppeddeps=yes 2 dlprefiles="$newdlprefiles" 2 dlfiles="$newdlfiles" 2 dir="$ladir" 2 deplibs="$dir/$old_library $deplibs" 2 deplibs= 2 deplibs+=" System.ltframework" 2 delfiles+=" $output" 2 current=$func_arith_result 2 compile_deplibs="$deplib $compile_deplibs" 2 case $output in 2 case $linkmode in 2 case $libobj in 2 case $host in 2 case $a_deplib in 2 case "$xrpath " in 2 age="$number_minor" 2 add_shlibpath= 2 add_dir= 2 absdir="$abs_ladir" 2 *cygwin* | *mingw* | *cegcc* ) 2 *" $libdir "*) ;; 2 *" $dir "*) ;; 2 *" $absdir "*) ;; 2 * ) new_inherited_linker_flags+=" $deplib" ;; 2 ${opt_silent-false} || { 2 # than running their programs. 2 # search path. 2 # This variable tells wrapper scripts just to set variables rather 2 # Skip directories that are in the system default run-time 2 # Remove this search path later 2 # Prepend the subdirectory the object is found in. 2 # Hardcode the library path. 2 # Do not include libc due to us having libc/libc_r. 2 # Compiler inserts libc in the correct place for threads to work 2 # Causes problems with __ctype 2 test "$build_libtool_libs" = no; then 2 progpath="$progdir/$progname" 2 while :; do 2 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2 then 2 test -n "$xrpath" && \ 2 test -n "$rpath" && \ 2 test -n "$add_dir" && deplibs="$add_dir $deplibs" 2 test -n "$add" && deplibs="$add $deplibs" 2 test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" 2 test "$#" -gt 1 && \ 2 rpath= 2 relink_command= 2 prev= 2 pre_post_deps= 2 pic_mode=default 2 path= 2 old_library= 2 notinst_deplibs+=" $lib" 2 newdeplibs+=" $i" 2 new_libs= 2 name=$func_stripname_result 2 name="$func_basename_result" 2 my_status=$? 2 lt_setenv (name, new_value); 2 lt_debugprintf (__FILE__, __LINE__, 2 len=$len0 2 if test -n \"\$lt_option_debug\"; then 2 if test -n "$runpath_var"; then 2 if test -n "$last_robj"; then 2 if test -n "$hardcode_libdir_separator" && 2 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then 2 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 2 if test "$need_locks" = warn && 2 if test "$my_status" -eq 0; then :; else 2 if test "$build_old_libs" = no; then 2 if test "$build_libtool_libs" = yes; then 2 if (check_executable (concat_name)) 2 if (c == '\\') 2 if (c == '"') 2 hardcode_libdirs="$libdir" 2 hardcode_libdirs= 2 func_verbose "creating $output" 2 func_to_tool_file "$obj" 2 func_stripname -l '' "$a_deplib" 2 func_stripname '' '.exe' "$file" 2 func_show_eval '$MV "${export_symbols}T" "$export_symbols"' 2 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' 2 func_quote_for_expand "$my_cmd" 2 func_quote_for_eval "$arg" 2 func_ltwrapper_scriptname "$file" 2 func_help noexit 2 func_basename "$file" 2 for path in $notinst_path; do 2 for opt_mode in compile link execute install finish uninstall clean; do 2 for libdir in $libdirs; do 2 export_dynamic=yes 2 eval "func_echo $func_quote_for_expand_result" 2 echo "----------------------------------------------------------------------" 2 dlself=yes 2 dlself=needless 2 continue 2 char c = *s; 2 char *new_value = lt_extend_str (getenv (name), value, 0); 2 cat <<"EOF" 2 case $i in 2 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in 2 case $deplib in 2 case "$finalize_rpath " in 2 case "$compile_rpath " in 2 case " $deplibs" in 2 build_libtool_libs=no 2 break; 2 allow_undefined=yes 2 add_dir="-L$libdir" 2 XFREE (new_value); 2 XFREE (concat_name); 2 IFS="$save_ifs" 2 -R*) 2 -L*) 2 --help) 2 *\ -l* | *\ -L*) 2 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ 2 */*) func_dirname_result="${1%/*}${2}" ;; 2 *.$libext) 2 *) finalize_rpath+=" $libdir" ;; 2 *) compile_rpath+=" $absdir" ;; 2 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 2 *" $deplib "*) specialdeplibs+=" $deplib" ;; 2 *" $absdir "*) ;; 2 * ) func_dirname_result="${3}" ;; 2 $ECHO "$func_to_tool_file_result" >> $output 2 # move library search paths that coincide with paths to not yet 2 # installed libraries to the beginning of the library search list 2 # in scan sets, so we specify it separately. 2 # Substitute the hardcoded libdirs into the rpath. 2 # Now set the variables for building old libraries. 2 # Many Bourne shells cannot handle close brackets correctly 2 # Just accumulate the unique libdirs. 2 # Double-quote args containing shell metacharacters to delay 2 # Add a -L argument. 2 tmpdir=`func_mktempdir` 2 test -z "$libdir" && \ 2 newdlprefiles+=" $dir/$old_library" 2 newdlprefiles+=" $dir/$linklib" 2 func_quote_for_eval "$arg" 2 func_lt_dump_args \${1+\"\$@\"} 1>&2 2 for lib in $libs; do 2 else 2 cat >&2 <<_LT_EOF 2 break 2 $opt_dry_run || { 2 # that they are being used correctly in the link pass. 2 # Keep a list of preopened convenience libraries to check 2 wrappers_required=no 2 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 2 func_quote_for_eval "$flag" 2 fi 2 dlpreconveniencelibs+=" $dir/$old_library" 2 cat <<"EOF" 2 nonempty (path)); 1 } while (0) 1 } lt_dlsymlist; 1 } # Extended-shell func_xform implementation 1 } # Extended-shell func_stripname implementation 1 } # Extended-shell func_split_short_opt implementation 1 } # Extended-shell func_split_long_opt implementation 1 } # Extended-shell func_lo2o implementation 1 } # Extended-shell func_len implementation 1 } # Extended-shell func_dirname_and_basename implementation 1 } # Extended-shell func_dirname implementation 1 } # Extended-shell func_basename implementation 1 } # Extended-shell func_arith implementation 1 } # Extended-shell func_append_quoted implementation 1 } # Extended-shell func_append implementation 1 || func_fatal_help "\`$file' is not a file" 1 { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && 1 { test "$opt_mode" = link || test "$opt_mode" = relink; } && 1 xstrdup (const char *string) 1 xmalloc (size_t num) 1 xdir="$func_dirname_result" 1 xcompiler) 1 xcclinker) 1 with_gnu_ld="yes" 1 with_gcc=yes 1 with it are deleted. Otherwise, only FILE itself is deleted using RM." 1 whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" 1 weak_library_names='$weak_libs' 1 want_nocaseglob="no" 1 volatile const char * MAGIC_EXE = "$magic_exe"; 1 void lt_update_lib_path (const char *name, const char *value); 1 void lt_update_exe_path (const char *name, const char *value); 1 void lt_setenv (const char *name, const char *value); 1 void lt_fatal (const char *file, int line, const char *message, ...); 1 void lt_dump_script (FILE* f) 1 void lt_dump_script (FILE *f); 1 void lt_debugprintf (const char *file, int line, const char *fmt, ...); 1 void *xmalloc (size_t num); 1 vinfo_number=yes 1 versuffix_save=$versuffix 1 versuffix=$versuffix_save 1 versuffix="-$major" 1 versuffix="" 1 versuffix= 1 verstring= 1 version_type=windows 1 variables_saved_for_relink="PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1 using \`ar' and \`ranlib', or on Windows using \`lib'. 1 use_static_libs=$prefer_static_libs 1 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) 1 typedef struct { 1 treated as uninstalled libtool libraries, other files are standard or library 1 to_tool_file_cmd=func_convert_file_msys_to_w32 1 to_host_path_cmd= 1 to_host_file_cmd=func_convert_file_msys_to_w32 1 tmp_deplibs= 1 thread_safe=yes 1 the \`--dry-run' option if you just want to see what would be executed." 1 test_compile) 1 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` 1 test -z "$opt_mode" && { 1 test -z "$exec_cmd" && \ 1 test -n "$vinfo" && \ 1 test -n "$removelist" && \ 1 test -n "$release" && \ 1 test -n "$old_library" && staticlibs+=" $dir/$old_library" 1 test -n "$objs$old_deplibs" && \ 1 test -n "$destfile" && \ 1 test -n "$7" && \ 1 test "X$libobjs" = "X " && libobjs= 1 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} 1 test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` 1 test "$opt_mode" = install && func_mode_install ${1+"$@"} 1 test "$opt_mode" = finish && func_mode_finish ${1+"$@"} 1 test "$opt_mode" = execute && func_mode_execute ${1+"$@"} 1 test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" 1 test "$module" = no && \ 1 tempremovelist=`$ECHO "$output_objdir/*"` 1 temp_xrpath= 1 tdlname=../bin/$dlname 1 tdlname=$func_relative_path_result$dlname 1 taglist="$taglist $tagname" 1 sys_lib_search_path_spec="c:/mingw/lib/gcc/mingw32/4.6.2 c:/mingw/lib/gcc c:/mingw/mingw32/lib c:/mingw/lib /mingw/lib " 1 sys_lib_dlsearch_path_spec="/lib /usr/lib" 1 symtab_cflags= 1 symfileobj="$output_objdir/${my_outputname}S.$objext" 1 suppress_output=' >/dev/null 2>&1' 1 stripped_ext="" 1 stripme=" -s" 1 striplib="strip --strip-unneeded" 1 strendzap (char *str, const char *pat) 1 staticlibs+=" $file" 1 static void 1 static int lt_debug = 1; 1 static int lt_debug = 0; 1 static const void *lt_preloaded_setup() { 1 static const char *nonnull (const char *s); 1 static const char *nonempty (const char *s); 1 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; 1 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script"; 1 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug"; 1 soname_spec="\${libname}\`echo \${release} | \$SED -e s/[.]/-/g\`\${versuffix}\${shared_ext}" 1 solaris2.[6789]|solaris2.1[0-9]) 1 skipped_export=: 1 single_module="${wl}-multi_module" 1 shrext_cmds=".dll" 1 shouldnotlink=no 1 shouldnotlink=$module 1 shlibpath_var=PATH 1 shlibpath_overrides_runpath=yes 1 shlibpath="$finalize_shlibpath" 1 shift; break ;; 1 sharedlib_from_linklib_cmd="func_cygming_dll_for_implib" 1 set dummy --mode finish ${1+"$@"}; shift 1 set dummy $vinfo 0 0 0 1 set dummy $library_names; shift 1 set dummy $library_names 1 set dummy "$opt" ${1+"$@"}; 1 set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} 1 set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} 1 sed_quote_subst='s/\([`"$\\]\)/\\\1/g' 1 sed_quote_subst='$sed_quote_subst' 1 sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' 1 sed_double_backslash="\ 1 save_output=$output 1 save_libobjs=$libobjs 1 save_ifs="$IFS"; IFS='~' 1 save_ifs="$IFS"; IFS=':' 1 save_deplibs="$deplibs" 1 s@/\./@/@g 1 s/\$with_gnu_ld/'"$with_gnu_ld"'/ 1 s/\$progname/'$progname'/ 1 s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ 1 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ 1 s,/\.$,/,' 1 s*\$progname*'$progname'* 1 s*\$host*'"$host"'* 1 s*\$SHELL*'"$SHELL"'* 1 s*\$LTCFLAGS*'"$LTCFLAGS"'* 1 s*\$LTCC*'"$LTCC"'* 1 s*\$LD*'"$LD"'* 1 runpath_var=LD_RUN_PATH 1 rpath | xrpath) 1 revision=$revision 1 required, except when creating a convenience library. 1 removelist=$lockfile 1 removelist= 1 removedotparts=':dotsl 1 reload_objs="$libobjs $reload_conv_objs" 1 reload_flag=" -r" 1 reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" 1 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` 1 relink_command=\"$relink_command\"" 1 relink_command=\"$relink_command\" 1 relink_command="(cd `pwd`; $relink_command)" 1 relink_command="$finalize_var$finalize_command$finalize_rpath" 1 release_save=$release 1 release=$release_save 1 release="" 1 realname="$1" 1 progpath="$0" 1 progname=$func_basename_result 1 prev=xrpath 1 prev=xlinker 1 prev=xcclinker 1 prev=shrext 1 prev=rpath 1 prev=release 1 prev=precious_regex 1 prev=objectlist 1 prev=inst_prefix 1 prev=framework 1 prev=dlfiles 1 prev=bindir 1 preserve_args= 1 preserve_args+=" $opt $optarg" 1 prepare_spawn (char **argv) 1 prelink_cmds="" 1 precious_regex) 1 potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` 1 postuninstall_cmds="dldll=\\\`\$SHELL 2>&1 -c '. \$file; echo \\\$dlname'\\\`~ 1 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` 1 postlink_cmds="" 1 postinstall_cmds="base_file=\\\`basename \\\${file}\\\`~ 1 pic_object=$write_lobj 1 pic_object= 1 pic_mode=yes 1 pic_mode=no 1 pic_mode=default 1 pic_flag_for_symtable= 1 pic_flag=" -DDLL_EXPORT -DPIC" 1 pathcdr='s,^/[^/]*,,' 1 pathcar='s,^/\([^/]*\).*$,\1,' 1 passes="conv scan dlopen dlpreopen link" 1 passes="conv dlpreopen link" 1 package_revision=1.3294 1 output_la=$func_basename_result 1 output=${output_objdir}/${output_la}.nm 1 output=$save_output 1 output="$libobj" 1 orig_export_symbols= 1 opt_warning=: 1 opt_tag="$optarg" 1 opt_quiet=false 1 opt_preserve_dup_deps=false 1 opt_preserve_dup_deps=: 1 opt_mode="$optarg" 1 opt_help_all=false 1 opt_help_all=: 1 opt_help=: 1 opt_help=': help-all' 1 opt_finish=false 1 opt_finish=: 1 opt_features=false 1 opt_features=: 1 opt_dry_run=: 1 opt_dlopen="${opt_dlopen+$opt_dlopen 1 opt_debug=: 1 opt_debug='set -x' 1 opt_config=false 1 opt_config=: 1 only library objects (\`.lo' files) may be specified, and \`-rpath' is 1 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` 1 oldobjs="$libobjs_save $symfileobj" 1 oldobjs+=" $func_extract_archives_result" 1 oldlibs="$output_objdir/$libname.$libext" 1 oldlibs+=" $output_objdir/$libname.$libext" 1 old_striplib="strip --strip-debug" 1 old_postuninstall_cmds="" 1 old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" 1 old_library='$old_library' 1 old_deplibs+=" $arg" 1 old_archive_from_new_cmds="" 1 old_archive_from_expsyms_cmds="" 1 old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" 1 odir="$objdir" 1 odir="$dir/$objdir" 1 objs+=" $arg" 1 objectlist) 1 object files. 1 objdir=.libs 1 obj=$func_lo2o_result 1 obj="$output" 1 o2lo="s/\\.${objext}\$/.lo/" 1 nonnull (const char *s) 1 nonempty (const char *s) 1 none | unknown | *) 1 non_pic_object=$write_oldobj 1 non_pic_object= 1 no_undefined_flag="" 1 no_builtin_flag=" -fno-builtin" 1 no/*-*-irix* | /*-*-irix*) 1 nm_file_list_spec="@" 1 nlist="$output_objdir/${my_outputname}.nm" 1 newobj=lt$counter-$objbase 1 newdlprefiles= 1 newdlprefiles+=" ${lt_sysroot:+=}$libdir/$name" 1 newdlfiles= 1 newdlfiles+=" ${lt_sysroot:+=}$libdir/$name" 1 newdeplibs= 1 newdeplibs+=" $a_deplib" 1 newdependency_libs+=" -R$func_replace_sysroot_result" 1 newdependency_libs+=" -L$func_replace_sysroot_result" 1 newdependency_libs+=" ${lt_sysroot:+=}$libdir/$name" 1 new_argv[i] = xstrdup ("\"\""); 1 new_argv[i] = (char *) string; 1 need_version=no 1 need_locks="no" 1 need_lib_prefix=no 1 name_save=$name 1 name=$name_save 1 my_dlsyms="${my_outputname}S.c" 1 my_arg=`$ECHO "$1" | $SED \ 1 module_expsym_cmds="" 1 module_cmds="" 1 module=yes 1 max_cmd_len=8192 1 make_executable (const char *path) 1 major_save=$major 1 major=$major_save 1 major=$func_arith_result 1 main (int argc, char *argv[]) 1 magic_exe="%%%MAGIC EXE variable%%%" 1 magic="%%%MAGIC variable%%%" 1 macro_version=2.4 1 macro_revision=1.3294 1 lt_user_locale= 1 lt_update_lib_path (const char *name, const char *value) 1 lt_update_exe_path (const char *name, const char *value) 1 lt_unset=unset 1 lt_sysroot= 1 lt_setenv (const char *name, const char *value) 1 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' 1 lt_safe_locale= 1 lt_option_debug= 1 lt_fatal (const char *file, int line, const char *message, ...) 1 lt_extend_str (const char *orig_value, const char *add, int to_end) 1 lt_exit=$? 1 lt_error_core (int exit_status, const char *file, 1 lt_debugprintf (const char *file, int line, const char *fmt, ...) 1 lt_${my_prefix}_LTX_preloaded_symbols[]; 1 lt_${my_prefix}_LTX_preloaded_symbols[] = 1 lock_old_archive_extraction=no 1 lo2o="s/\\.lo\$/.${objext}/" 1 link|lin|li|l) 1 linknames= 1 link_static_flag="-static" 1 link_static=no # Whether the deplib will be linked statically 1 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` 1 link_command="$compile_command$compile_rpath" 1 link_all_deplibs=unknown 1 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; 1 libs="$dlprefiles" 1 libs="$deplibs" 1 library_names_spec="\$libname.dll.a" 1 library_names='$library_names' 1 library object suffix, \`.lo'." 1 libobjs=$save_libobjs 1 libobjs=$nm_file_list_spec$func_to_tool_file_result 1 libobj=$output 1 libobj="$func_basename_result" 1 libobj="$arg" 1 libname_spec="lib\$name" 1 libname_save=$libname 1 libname=$libname_save 1 libdirs+=" $opt" 1 libdir=LIBDIR 1 libdir='$install_libdir'" 1 libdir=$func_replace_sysroot_result 1 lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` 1 lib="$output_objdir/$realname" 1 length += backslashes + 1; 1 len=$func_len_result 1 len=$func_arith_result 1 lastarg="$arg" 1 laname="$func_basename_result" 1 ladir="$func_dirname_result" 1 is created, otherwise an executable program is created." 1 irix | nonstopux) 1 into their corresponding uninstalled binary, and any of their required library 1 int setenv (const char *, const char *, int); 1 int putenv (char *); 1 int make_executable (const char *path); 1 int check_executable (const char *path); 1 int _putenv (const char *); 1 instname="$dir/$name"i 1 install|instal|insta|inst|ins|in|i) 1 installed=yes 1 installed=$installed 1 install_shared_prog+=" -m $func_quote_for_eval_result" 1 install_override_mode="" 1 inst_prefix) 1 inherited_linker_flags='$new_inherited_linker_flags' 1 inherited_linker_flags= 1 inherit_rpath=no 1 include_expsyms="" 1 if test \"\$libtool_install_magic\" = \"$magic\"; then 1 if test -z "$vinfo" && test -n "$release"; then 1 if test -z "$tagname"; then 1 if test -z "$pic_object" || 1 if test -z "$old_library" ; then 1 if test -z "$linklib"; then 1 if test -z "$libdir"; then 1 if test -z "$hardcode_libdirs"; then 1 if test -z "$func_stripname_result"; then 1 if test -z "$export_symbols"; then 1 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then 1 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1 if test -n "$whole_archive_flag_spec"; then 1 if test -n "$soname_spec"; then 1 if test -n "$shlibpath"; then 1 if test -n "$rpath"; then 1 if test -n "$relink_command"; then 1 if test -n "$prev"; then 1 if test -n "$perm_rpath"; then 1 if test -n "$old_library" && 1 if test -n "$link_static_flag"; then 1 if test -n "$library_names" && 1 if test -n "$inst_prefix_dir"; then 1 if test -n "$inherited_linker_flags"; then 1 if test -n "$finish_eval"; then 1 if test -n "$finish_cmds"; then 1 if test -n "$finalize_perm_rpath"; then 1 if test -n "$file_magic_glob"; then 1 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then 1 if test -n "$exec_cmd"; then 1 if test -n "$dllsearchpath"; then 1 if test -n "$delfiles"; then 1 if test -n "$convenience"; then 1 if test -n "$1"; then 1 if test -f "$output_objdir/${outputname}S.${objext}"; then 1 if test -f "$dir/$objdir/$dlname"; then 1 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then 1 if test "X$skipped_export" != "X:" && 1 if test "X$objlist" = X || 1 if test "X$installed" = Xyes; then 1 if test "X$destdir" = "X$libdir"; then 1 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then 1 if test "X$arg" = "X-export-symbols"; then 1 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 1 if test "$use_static_libs" = built && test "$installed" = yes; then 1 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then 1 if test "$tagname" = CXX ; then 1 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then 1 if test "$search_ext" = ".la"; then 1 if test "$prev" = dlfiles; then 1 if test "$pic_object" != none; then 1 if test "$pass" = dlpreopen; then 1 if test "$pass" = dlopen; then 1 if test "$pass" = conv; then 1 if test "$pass" != conv; then 1 if test "$opt_mode" = clean ; then 1 if test "$non_pic_object" != none; then 1 if test "$need_lib_prefix" != no; then 1 if test "$module" = yes || test "$export_dynamic" = yes; then 1 if test "$module" = yes && test -n "$module_cmds" ; then 1 if test "$linkmode,$pass" = "prog,link"; then 1 if test "$linkmode,$pass" = "lib,link" || 1 if test "$linkmode,$pass" != "prog,link"; then 1 if test "$linkmode" = prog && test "$pass" != link; then 1 if test "$linkmode" = lib; then 1 if test "$linkmode" = "prog"; then 1 if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then 1 if test "$hardcode_into_libs" = yes; then 1 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then 1 if test "$found" = yes || test -f "$lib"; then : 1 if test "$fast_install" = yes; then 1 if test "$fast_install" != no; then 1 if test "$droppeddeps" = yes; then 1 if test "$dlself" = yes; then 1 if test "$deplibs_check_method" != pass_all; then 1 if test "$build_old_libs" = yes; then 1 if test "$build_libtool_libs" = yes; then 1 if test "$build_libtool_libs" = module; then 1 if test "$avoid_version" = yes && test "$need_version" = no; then 1 if test "$allow_undefined" = yes; then 1 if test "$age" -gt "$current"; then 1 if func_ltwrapper_script_p "$wrapper"; then 1 if func_ltwrapper_script_p "$file"; then 1 if func_lalib_unsafe_p "$opt"; then 1 if func_lalib_unsafe_p "$arg"; then 1 if func_lalib_p "$lib"; then 1 if eval test -z \"\${$var+set}\"; then 1 if (for obj in $oldobjs 1 if (IS_PATH_SEPARATOR (*q)) 1 if $opt_help; then 1 if $opt_dry_run; then 1 if $install_cp; then :; else 1 if $LTCC $LTCFLAGS -o conftest conftest.c $i; then 1 if $GREP "^installed=no" $deplib > /dev/null; then 1 host_os=mingw32msvc 1 host_alias=i586-mingw32msvc 1 host=i586-pc-mingw32msvc 1 help="Try \`$progname --help' for more information." ## default 1 has_slash = 1; 1 hardcode_shlibpath_var=unsupported 1 hardcode_minus_L=no 1 hardcode_libdir_separator="" 1 hardcode_libdir_flag_spec_ld="" 1 hardcode_libdir_flag_spec="-L\$libdir" 1 hardcode_into_libs=no 1 hardcode_direct_absolute=no 1 hardcode_direct=no 1 hardcode_automatic=no 1 hardcode_action=immediate 1 global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'" 1 global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" 1 global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" 1 global_symbol_pipe="sed -n -e 's/^.*[ 1 gentop="$output_objdir/${outputname}x" 1 generated+=" $gentop" 1 func_xform () 1 func_write_libtool_object () 1 func_win32_libid () 1 func_win32_import_lib_p () 1 func_warning () 1 func_warning "this platform does not like uninstalled shared libraries" 1 func_warning "ignoring multiple \`-rpath's for a libtool library" 1 func_warning "\`-version-info/-version-number' is ignored for archives" 1 func_warning "\`-version-info' is ignored for programs" 1 func_warning "\`-version-info' is ignored for objects" 1 func_warning "\`-rpath' is ignored for objects" 1 func_warning "\`-rpath' is ignored for archives" 1 func_warning "\`-release' is ignored for programs" 1 func_warning "\`-release' is ignored for objects" 1 func_warning "\`-release' is ignored for archives" 1 func_warning "\`-l' and \`-L' are ignored for objects" ;; 1 func_warning "\`-l' and \`-L' are ignored for archives" ;; 1 func_warning "\`-export-symbols' is ignored for archives" 1 func_warning "\`-dlopen' is ignored for objects" 1 func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" 1 func_warning "\`-dlopen' is ignored for archives" 1 func_warning "\`-dlopen self' is ignored for libtool libraries" 1 func_warning "\`-R' is ignored for objects" 1 func_warning "\`-R' is ignored for archives" 1 func_warning "\`$output' will be relinked during installation" 1 func_version () 1 func_version 1 func_verbose () 1 func_verbose "using reloadable object file for export list..." 1 func_verbose "creating $output_objdir/$my_dlsyms" 1 func_verbose "creating $NM input file list: $output" 1 func_verbose "Extracting $my_xabs" 1 func_usage () 1 func_usage 1 func_tr_sh () 1 func_to_tool_file () 1 func_to_tool_file "$output_objdir/$outputname" 1 func_to_tool_file "$output" 1 func_to_host_path () 1 func_to_host_file () 1 func_stripname -R '' "$deplib" 1 func_stripname -L '' "$deplib" 1 func_stripname () 1 func_stripname 'lib' '.la' "$outputname" 1 func_stripname 'lib' '.la' "$laname" 1 func_stripname '-Wl,' '' "$arg" 1 func_stripname '-Wc,' '' "$arg" 1 func_stripname '-R' '' "$arg" 1 func_stripname "-L" '' "$arg" 1 func_split_short_opt () 1 func_split_short_opt "$opt" 1 func_split_long_opt () 1 func_split_long_opt "$opt" 1 func_source () 1 func_source "$lib" 1 func_source "$func_resolve_sysroot_result" ;; 1 func_source "$arg" 1 func_show_eval_locale () 1 func_show_eval () 1 func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' 1 func_show_eval '${RM}r "$gentop"' 1 func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' 1 func_show_eval '$MV "$output_obj" "$obj"' \ 1 func_show_eval '$MV "$output_obj" "$lobj"' \ 1 func_show_eval "rmdir $dir >/dev/null 2>&1" 1 func_show_eval "$old_striplib $oldlib" 'exit $?' 1 func_show_eval "$link_command" 'exit_status=$?' 1 func_show_eval "$link_command" 'exit $?' 1 func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' 1 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' 1 func_show_eval "$RM $nlist ${nlist}S ${nlist}T" 1 func_resolve_sysroot () 1 func_resolve_sysroot "$func_stripname_result" 1 func_resolve_sysroot "$arg" 1 func_replace_sysroot () 1 func_replace_sysroot "$libdir" 1 func_relative_path () 1 func_relative_path "$install_libdir" "$bindir" 1 func_quote_for_expand () 1 func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; 1 func_quote_for_eval () 1 func_quote_for_eval "$install_override_mode" 1 func_quote_for_eval "$arg2" 1 func_parse_lt_options () 1 func_normal_abspath () 1 func_mode_uninstall () 1 func_mode_link () 1 func_mode_install () 1 func_mode_help () 1 func_mode_finish () 1 func_mode_execute () 1 func_mode_compile () 1 func_mktempdir () 1 func_mkdir_p () 1 func_missing_arg () 1 func_ltwrapper_scriptname () 1 func_ltwrapper_script_p () 1 func_ltwrapper_p () 1 func_ltwrapper_executable_p () 1 func_lt_dump_args () 1 func_lo2o () 1 func_lo2o "$libobj" 1 func_len () 1 func_len " $obj" 1 func_len " $cmds" 1 func_lalib_unsafe_p () 1 func_lalib_unsafe_p "$lib" \ 1 func_lalib_p () 1 func_init_to_host_path_cmd () 1 func_infer_tag () 1 func_help () 1 func_grep () 1 func_generate_dlsyms () 1 func_features () 1 func_features 1 func_fatal_help () 1 func_fatal_help "you must specify a destination" 1 func_fatal_help "unrecognized option \`$opt'" ;; 1 func_fatal_help "no file or destination specified" 1 func_fatal_help "\`$dest' is not a directory" 1 func_fatal_error () 1 func_fatal_error "unknown suffix for \`$my_dlsyms'" 1 func_fatal_error "invalid argument \`$opt'" 1 func_fatal_error "\`-allow-undefined' must not be used because it is the default" 1 func_fatal_configuration () 1 func_extract_archives () 1 func_extract_archives $gentop $addlibs 1 func_extract_an_archive () 1 func_execute_cmds () 1 func_execute_cmds "$reload_cmds" 'exit $?' 1 func_execute_cmds "$prelink_cmds" 'exit $?' 1 func_execute_cmds "$postlink_cmds" 'exit $?' 1 func_exec_program_core () 1 func_exec_program () 1 func_error () 1 func_error "not configured to extract global symbols from dlpreopened files" 1 func_error "ignoring unknown tag $tagname" 1 func_enable_tag () 1 func_enable_tag "$optarg" 1 func_emit_wrapper_arg1=${1-no} 1 func_emit_wrapper no > $func_ltwrapper_scriptname_result 1 func_emit_wrapper () 1 func_emit_exe_manifest () 1 func_emit_cwrapperexe_src () 1 func_echo_all () 1 func_echo () 1 func_echo "enabling shell trace mode" 1 func_dirname_and_basename () 1 func_dirname_and_basename "$progpath" 1 func_dirname () 1 func_dirname "$lib" "" "." 1 func_dirname "$file" "/" "" 1 func_dirname "$arg" "/" "" 1 func_cygpath () 1 func_cygming_ms_implib_p () 1 func_cygming_gnu_implib_p () 1 func_cygming_dll_for_implib_fallback_core () 1 func_cygming_dll_for_implib_fallback () 1 func_cygming_dll_for_implib () 1 func_convert_path_noop () 1 func_convert_path_nix_to_w32 () 1 func_convert_path_nix_to_cygwin () 1 func_convert_path_msys_to_w32 () 1 func_convert_path_msys_to_cygwin () 1 func_convert_path_front_back_pathsep () 1 func_convert_path_cygwin_to_w32 () 1 func_convert_path_check () 1 func_convert_file_noop () 1 func_convert_file_nix_to_w32 () 1 func_convert_file_nix_to_cygwin () 1 func_convert_file_msys_to_w32 () 1 func_convert_file_msys_to_cygwin () 1 func_convert_file_cygwin_to_w32 () 1 func_convert_file_check () 1 func_convert_core_path_wine_to_w32 () 1 func_convert_core_msys_to_w32 () 1 func_convert_core_file_wine_to_w32 () 1 func_config () 1 func_config 1 func_check_version_match () 1 func_basename () 1 func_basename "$srcfile" 1 func_basename "$output" 1 func_basename "$file$stripped_ext" 1 func_basename "$file" 1 func_basename "$deplib" 1 func_arith () 1 func_arith $len + $func_len_result 1 func_arith $counter + 1 1 func_append_quoted CC_quoted "$arg" 1 func_append_quoted () 1 func_append () 1 from the given SOURCEFILE. 1 freebsd-elf) 1 freebsd-aout) 1 framework) 1 for z in $available_tags; do 1 for var in $vars dependency_libs; do 1 for var in $variables_saved_for_relink; do 1 for test_deplib in $deplibs; do 1 for pre_post_dep in $predeps $postdeps; do 1 for p in $tempremovelist; do 1 for obj in $save_libobjs; do 1 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES 1 for linkname in $linknames; do 1 for libdir in $xrpath; do 1 for libdir in $rpath $xrpath; do 1 for lib in $dlprefiles; do 1 for lalib_p_l in 1 2 3 4 1 for installed in no yes; do 1 for file in $dlfiles $dlprefiles; do 1 for dlprefile in $dlprefiles; do 1 for deplib in $save_deplibs; do 1 for deplib in $deplibs; do 1 for cmd in $cmds; do 1 for arg in $LTCFLAGS; do 1 finish|finis|fini|fin|fi|f) 1 finish_eval="" 1 finish_cmds="" 1 find_executable (const char *wrapper) 1 finalslash='s,/*$,/,' 1 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` 1 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 finalize_deplibs= 1 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` 1 finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" 1 files+=" $dest" 1 file_magic_glob="" 1 file_magic_cmd="func_win32_libid" 1 file_magic*) 1 file_list_spec="" 1 file="$func_basename_result" 1 fi # linkmode = lib 1 fi # link shared/static library? 1 fi # $pass = dlpreopen 1 fi # $pass = dlopen 1 fi # $pass = conv 1 fi # $linkmode = prog... 1 fi # $installed = yes 1 fast_install=no 1 fast_install=needless 1 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` 1 extracted_serial=0 1 extracted_archives= 1 extract_expsyms_cmds="" 1 extern \"C\" { 1 extern LT_DLSYM_CONST lt_dlsymlist 1 expsyms_regex) 1 export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED -e '/^[BCDGRS][ ]/s/.*[ ]\\\\([^ ]*\\\\)/\\\\1 DATA/;s/^.*[ ]__nm__\\\\([^ ]*\\\\)[ ][^ ]*/\\\\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq > \$export_symbols" 1 export_dynamic_flag_spec="\${wl}--export-all-symbols" 1 export_dynamic=yes 1 export LANGUAGE LC_ALL 1 exit_status=1 1 exit_status=0 1 exit_status=$EXIT_SUCCESS 1 exit_cmd=: 1 exit $lt_exit 1 execute|execut|execu|exec|exe|ex|e) 1 exec 0<&5 5<&- 1 exclude_expsyms="[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname" 1 eval library_names=\"$library_names_spec\" 1 eval libname=\"$libname_spec\" 1 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` 1 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" 1 eval cmds=\"$old_archive_cmds\" 1 eval cmd=\"$cmd1\" 1 eval "if test \"\${save_$lt_var+set}\" = set; then 1 eval "export $shlibpath_var" 1 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" 1 eval "$shlibpath_var=\"\$dir\"" 1 eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" 1 eval "$extractedcf" 1 esac # case $deplib 1 esac # case $arg 1 elif test -n "$archiver_list_spec"; then 1 elif test "X$arg" = "X-lc_r"; then 1 elif test "$prev" = dlprefiles; then 1 elif test "$linkmode" = prog; then 1 elif test "$build_libtool_libs" = yes; then 1 elif func_ltwrapper_executable_p "$file"; then 1 elif eval var_value=\$$var; test -z "$var_value"; then 1 either the \`install' or \`cp' program. 1 echo "export $shlibpath_var" 1 echo "*** that it is just a static archive that I should not use here." 1 echo "*** not find such a program. So, this module is probably useless." 1 echo "*** lists from a program, using \`nm' or equivalent, but libtool could" 1 echo "*** because the file extensions .$libext of this argument makes me believe" 1 echo "*** \`nm' from GNU binutils and a full rebuild may help." 1 echo "*** However, this would only work if libtool was able to extract symbol" 1 echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" 1 echo " - add LIBDIR to the \`$shlibpath_var' environment variable" 1 echo " - add LIBDIR to the \`$runpath_var' environment variable" 1 echo " during linking" 1 echo " during execution" 1 echo " setmode(1,_O_BINARY);" 1 droppeddeps=no 1 double_quote_subst='s/\(["`\\]\)/\\\1/g' 1 done > "$output" 1 done # for var 1 dollar='\$' 1 dlpreopen='$dlprefiles' 1 dlpreopen= 1 dlpreopen) libs="$dlprefiles" ;; 1 dlopen_support=unknown 1 dlopen_self_static=unknown 1 dlopen_self=unknown 1 dlopen='$dlfiles' 1 dlopen) libs="$dlfiles" ;; 1 dlname='$tdlname' 1 dlfiles|dlprefiles) 1 dlfiles+=" $pic_object" 1 dirname="s,/[^/]*$,," 1 directories are added to the library path. 1 dir=$func_stripname_result 1 dir=$func_resolve_sysroot_result 1 dir=$func_dirname_result 1 dir+="$objdir" 1 deplibs_check_method="file_magic ^x86 archive import|^x86 DLL" 1 deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` 1 deplibs=$newdeplibs 1 deplibs="$deplib $deplibs" 1 dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` 1 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 dependency_libs='$dependency_libs' 1 dep_rpath+=" $flag" 1 delfiles+=" $output" 1 cygwin* | mingw* | cegcc*) 1 current=$current 1 create an executable program. 1 counter=$func_arith_result 1 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ 1 const char *base_name (const char *name); 1 const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */ 1 const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */ 1 const char * LIB_PATH_VARNAME = "$shlibpath_var"; 1 const char * LIB_PATH_VALUE = "$func_to_host_path_result"; 1 const char * LIB_PATH_VALUE = ""; 1 const char * EXE_PATH_VARNAME = "PATH"; 1 const char * EXE_PATH_VARNAME = ""; 1 const char * EXE_PATH_VALUE = "$func_to_host_path_result"; 1 const char * EXE_PATH_VALUE = ""; 1 const char * 1 compile|compil|compi|comp|com|co|c) 1 compiler_needs_object="no" 1 compiler_c_o="yes" 1 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` 1 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 compile_deplibs= 1 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` 1 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` 1 compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" 1 command="$base_compile $qsrcfile$pie_flag" 1 command="$base_compile $qsrcfile" 1 command+=" -o $obj" 1 command+=" -o $lobj" 1 collapseslashes='s@/\{1,\}@/@g' 1 cmds=$old_archive_from_new_cmds 1 clean|clea|cle|cl) 1 check_executable (const char *path) 1 chase_symlinks (const char *pathspec) 1 char *xstrdup (const char *string); 1 char *strendzap (char *str, const char *pat); 1 char *realpath (const char *, char *); 1 char *lt_extend_str (const char *orig_value, const char *add, int to_end); 1 char *find_executable (const char *wrapper); 1 char *chase_symlinks (const char *pathspec); 1 char **prepare_spawn (char **argv); 1 case :$finalize_shlibpath: in 1 case $with_gcc/$host in 1 case $vinfo_number in 1 case $version_type in 1 case $revision in 1 case $progpath in 1 case $potliblink in 1 case $pass in 1 case $output_name in 1 case $output in 1 case $optarg in 1 case $libdir in 1 case $ladir in 1 case $install_prog,$host in 1 case $host_os in 1 case $destfile in 1 case $deplibs_check_method in 1 case $current in 1 case $age in 1 case $1 in 1 case "$xrpath " in 1 case "$libs " in 1 case "$dlprefiles " in 1 case "$deplibs " in 1 case "$compile_command " in 1 case " $rmdirs " in 1 case " $predeps $postdeps $compiler_lib_search_path " in 1 case " $oldobjs " in 1 case " $dlprefiles $dlfiles " in 1 build_os=mingw32 1 build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` 1 build_libtool_need_lc=yes 1 build_libtool_libs=yes 1 build_alias= 1 build=i686-pc-mingw32 1 bs4='\\\\\\\\' 1 bs2='\\\\' 1 basename="s,^.*/,," 1 base_name (const char *name) 1 avoidtemprpath= 1 avoid_version=yes 1 available_tags="" 1 archiver_list_spec="@" 1 archive_expsym_cmds="if test \\\"x\\\`\$SED 1q \$export_symbols\\\`\\\" = xEXPORTS; then 1 archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags -o \$output_objdir/\$soname \${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker \$lib" 1 always_export_symbols=no 1 allow_undefined_flag="unsupported" 1 allow_undefined=no 1 allow_libtool_libs_with_static_runtimes=yes 1 alldeplibs=no 1 addlibs="$old_convenience" 1 addlibs="$convenience" 1 add="$libdir/$linklib" 1 add="$inst_prefix_dir$libdir/$linklib" 1 add="$dir/$old_library" 1 a_deplib="" 1 a program from several object files. 1 \$CC -shared \$output_objdir/\$soname.def \$libobjs \$deplibs \$compiler_flags -o \$output_objdir/\$soname \${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker \$lib" 1 \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; 1 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; 1 [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; 1 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; 1 [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; 1 Xsed="${SED}"' -e 1s/^X//' 1 Xsed="$SED -e 1s/^X//" 1 VERSION=2.4 1 This mode sets the library path environment variable according to \`-dlopen' 1 Then, COMMAND is executed, with ARGS as arguments." 1 The rest of the components are interpreted as arguments to that command (only 1 The output file name is determined by removing the directory component from 1 The following components of LINK-COMMAND are treated specially: 1 The following components of INSTALL-COMMAND are treated specially: 1 The commands that this mode executes may require superuser privileges. Use 1 TIMESTAMP="" 1 STRIP="strip" 1 SP2NL="tr \\040 \\012" 1 SOURCEFILE, then substituting the C source code suffix \`.c' with the 1 SHELL="/bin/sh" 1 SED="/bin/sed" 1 Remove libraries from an installation directory. 1 Remove files from the build directory. 1 RANLIB=$save_RANLIB 1 RANLIB="ranlib" 1 PROGRAM=libtool 1 PACKAGE=libtool 1 Otherwise, only FILE itself is deleted using RM." 1 OTOOL64="" 1 OBJDUMP="objdump" 1 NL2SP="tr \\015\\012 \\040\\040" 1 MANIFEST_TOOL=":" 1 MAGIC_CMD=file 1 Link object files or libraries together to form another library, or to 1 LT_DLSYM_CONST lt_dlsymlist 1 LTCFLAGS="-g -O2 -Wall" 1 LTCC="gcc" 1 LN_S="cp -p" 1 LINK-COMMAND is a command using the C compiler that you would use to create 1 LD="c:/mingw/mingw32/bin/ld.exe" 1 LANGUAGE=C 1 Install executables or libraries. 1 If the OUTPUT-FILE ends in \`.la', then a libtool library is created, 1 If any of the ARGS are libtool executable wrappers, then they are translated 1 If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file 1 If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created 1 If FILE is a libtool library, object or program, all the files associated 1 If FILE is a libtool library, all the files associated with it are deleted. 1 INSTALL-COMMAND is the installation command. The first component should be 1 IFS="$save_mkdir_p_IFS" 1 GREP="/bin/grep" 1 FGREP="/bin/grep -F" 1 Every other argument is treated as a filename. Files ending in \`.la' are 1 Each LIBDIR is a directory that contains libtool libraries. 1 EXIT_SUCCESS=0 1 EXIT_SKIP=77 1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. 1 EXIT_FAILURE=1 1 EGREP="/bin/grep -E" 1 ECHO="printf %s\\n" 1 DSYMUTIL="" 1 DLLTOOL="dlltool" 1 Complete the installation of libtool libraries. 1 Compile a source file into a libtool library object. 1 COMPILE-COMMAND is a command to be used in creating a \`standard' object file 1 BSD-compatible install options are recognized)." 1 Automatically set library path, then run a program. 1 All other options (arguments beginning with \`-') are ignored. 1 AR_FLAGS="cru" 1 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 1 </assembly> 1 : ${Xsed="$SED -e 1s/^X//"} 1 : ${SHELL="${CONFIG_SHELL-/bin/sh}"} 1 : ${SED="/bin/sed"} 1 : ${RM="rm -f"} 1 : ${MV="mv -f"} 1 : ${MKDIR="mkdir"} 1 : ${MAKE="make"} 1 : ${LN_S="cp -p"} 1 : ${GREP="/bin/grep"} 1 : ${FGREP="/bin/grep -F"} 1 : ${EGREP="/bin/grep -E"} 1 : ${CP="cp -f"} 1 /^# '$PROGRAM' (GNU /,/# warranty; / { 1 /* portability defines, excluding path handling macros */ 1 /* path handling portability macros */ 1 /* declarations of non-ANSI functions */ 1 /* This works around a problem in FreeBSD linker */ 1 /* This system does not cope well with relocations in const data. */ 1 /* The mapping between symbol names and symbols. */ 1 /* Searches for the full path of the wrapper. Returns 1 /* Prepares an argument vector before calling spawn(). 1 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 1 /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ 1 /* External symbol declarations for the compiler. */\ 1 /* DATA imports from DLLs on WIN32 con't be const, because runtime 1 /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ 1 /* $cwrappersource - temporary wrapper executable for $objdir/$outputname 1 . "./$1" ;; 1 -static-libtool-libs) 1 -shared | -static | -prefer-pic | -prefer-non-pic) 1 -pie | -fpie | -fPIE) 1 -no-suppress) 1 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 1 -all-static) 1 -Xcompiler) 1 *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) 1 *str = '\0'; 1 *p++ = '\\'; 1 *cygwin*) func_stripname '' '.exe' "$output" 1 *cygwin* | *mingw*) 1 *cygwin* | *mingw* | *cegcc* ) 1 *[\ /]"$newobj "*) ;; 1 */usr/bin/install*,*cygwin*) 1 *.ltframework) 1 *.lo | *.$objext) 1 *.$objext) 1 *.$libext) 1 *-*-sunos*) add_shlibpath="$dir" ;; 1 *-*-rhapsody* | *-*-darwin1.[012]) 1 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) 1 *** ERROR, $lockfile exists and contains: 1 *) xrpath+=" $dir" ;; 1 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; 1 *) no_install=yes ;; 1 *) new_libs="$deplib $new_libs" ;; 1 *) my_xabs=`pwd`"/$my_xlib" ;; 1 *) if test ! -f "$gentop/$newobj"; then break; fi ;; 1 *) finalize_shlibpath+="$libdir:" ;; 1 *) dlprefiles+=" $lib" ;; 1 *) dlfiles+=" $lib" ;; 1 *) deplibs+=" $qarg.ltframework" # this is fixed later 1 *) break ;; 1 *":$libdir:"*) ;; 1 *" -static "*) ;; 1 *" -L$dir "* | *" $arg "*) 1 *" $qarg.ltframework "*) ;; 1 *" $my_xlib_u "*) 1 *" $dir "*) ;; 1 *" $deplib "*) specialdeplibs+=" $deplib" ;; 1 *" $deplib "*) ;; 1 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1 (GNU libtool) 2.4 1 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 1 '"$cmd"'"' 1 && test "$dlopen_self_static" = unknown && \ 1 && test "$dlopen_self" = unknown \ 1 && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" 1 %DEPLIBS%) 1 $progname: of $PACKAGE $VERSION and run autoconf again. 1 $progname: definition of this LT_INIT comes from an older release. 1 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. 1 $progname: but the definition of this LT_INIT comes from revision $macro_revision. 1 $progname: You should recreate aclocal.m4 with macros from revision $package_revision 1 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, 1 $opt_help || { 1 $opt_dry_run || if test -n "$outputname"; then 1 $opt_dry_run || $RM conftest 1 $opt_dry_run || $RM $output 1 $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ 1 $opt_debug 1 $lt_unset CDPATH 1 $lt_unset $lt_var 1 $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result 1 $automake_version 1 $autoconf_version 1 $SED -n -e ' 1 $RM \"\$progdir/\$file\" 1 $MV "${realname}U" "$realname" ) 1 $LD (gnu? $with_gnu_ld) 1 $ECHO \"\$relink_command_output\" >&2 1 $ECHO "*** static library $deplib is not portable!" 1 $ECHO "*** Warning: lib $linklib is a module, not a shared library" 1 $ECHO "*** Warning: Trying to link with static lib archive $deplib." 1 $ECHO "*** Warning: Linking the shared library $output against the" 1 $ECHO " - use the \`$flag' linker flag" 1 $ECHO " - have your system administrator run these commands:$admincmds" 1 $ECHO " $libdir" 1 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" 1 #include <sys/stat.h> 1 #include <string.h> 1 #include <stdlib.h> 1 #include <stdio.h> 1 #include <stdarg.h> 1 #include <malloc.h> 1 #include <fcntl.h> 1 #include <errno.h> 1 #include <ctype.h> 1 #include <assert.h> 1 #ifndef _O_BINARY 1 #ifndef S_IXOTH 1 #ifndef S_IXGRP 1 #ifndef S_ISLNK 1 #ifndef PATH_SEPARATOR_2 1 #ifndef FOPEN_WB 1 #ifndef DIR_SEPARATOR_2 1 #ifndef DIR_SEPARATOR 1 #ifdef HAVE_SETENV 1 #ifdef FREEBSD_WORKAROUND 1 #if defined(__MINGW32__) 1 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) 1 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 1 #if defined(_MSC_VER) 1 #if defined(PATH_MAX) 1 #if defined(LT_DEBUGWRAPPER) 1 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ 1 #endif /* PATH_SEPARATOR_2 */ 1 #endif /* DIR_SEPARATOR_2 */ 1 #end: func_cygpath 1 #end: func_convert_core_msys_to_w32 1 #else /* PATH_SEPARATOR_2 */ 1 #else /* DIR_SEPARATOR_2 */ 1 #elif defined(__osf__) 1 #elif defined(__MINGW32__) 1 #elif defined(MAXPATHLEN) 1 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) 1 #define XFREE(stale) do { \ 1 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" 1 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" 1 #define LTWRAPPER_OPTION_PREFIX "--lt-" 1 ## FIXME: Find the place where the list is rebuilt in the wrong 1 ## Main. ## 1 ## order, and fix it there properly 1 #! /bin/sh 1 # wrapper executable. Must ONLY be called from within 1 # would be equivalent was wrong. It would break on at least 1 # without needing to append a separator. 1 # windows platforms, and (c) all begin with the string "--lt-" 1 # win32 will think the script is a binary if it has 1 # will break. 1 # will be execed at the end. This prevents here-documents from being 1 # will assume that the directory in which it is stored is 1 # which contains forward slashes, into one that contains 1 # which are still active within double quotes backslashified. 1 # whether the shell understands "unset". 1 # where, for any given $build/$host combination the 'X_to_Y' value is the 1 # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) 1 # was found and let the user know that the "--tag" command 1 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1 # variables after splitting SHORTOPT after the 2nd character. 1 # variables after splitting LONGOPT at the `=' sign. 1 # variable will take. If 'yes', then the emitted script 1 # variable here. 1 # uses $file to determine the appropriate filename for a 1 # unless 'noexit' is passed as argument. 1 # turn spaces into newlines. 1 # turn newlines into spaces. 1 # to shlibpath, because on Windows, both are PATH and uninstalled 1 # to runtime path list. 1 # to make the code below a bit more comprehensible 1 # to be aesthetically quoted because they are evaled later. 1 # to avoid creating archives with duplicate basenames if we 1 # time on that platform, so we default to a shared-only configuration. 1 # those functions but instead duplicate the functionality here. 1 # this retains compatibility with .la files and attempts 1 # this pattern). 1 # them. This is particularly important on AIX, because we don't 1 # the user asked for that or because the platform doesn't support 1 # the two new functions must follow this pattern, or func_init_to_host_path_cmd 1 # the libtool wrapper, (b) are identical between the wrapper 1 # the library: 1 # the entirety of a libtool archive into another (currently 1 # the _XPG environment variable is not equal to 1 (one), the special 1 # the License, or (at your option) any later version. 1 # the Free Software Foundation; either version 2 of the License, or 1 # the $objdir directory. This is a cygwin/mingw-specific 1 # that is supplied when $file_magic_command is called. 1 # test for cygwin because mv fails w/o .exe extensions 1 # temporary ltwrapper_script. 1 # support having both static and shared libraries enabled at the same 1 # strip PREFIX and SUFFIX off of NAME. 1 # string literally. 1 # store the result into func_replace_sysroot_result. 1 # static archive out of a convenience library, or when linking 1 # specified import library. 1 # slash if non-empty, suitable for immediately appending a filename 1 # since we can't tell whether shared libraries were disabled because 1 # sh-indentation:2 1 # set to false by a later but shorter cmd. 1 # set therein. 1 # script's $0 value, followed by "$@". 1 # script to make things like `--version' happen as quickly as we can. 1 # same. If conversion functions are added for new $build/$host combinations, 1 # return the library type of file 'arg' 1 # result in func_to_tool_file_result. If the conversion in use is listed 1 # result in func_convert_core_msys_to_w32_result. 1 # restored at link time. 1 # resorting to external programs. To this end, it redirects stdin and 1 # remove .exe since cygwin /usr/bin/install will append another 1 # release should show up in the -l (ie -lgmp5) so we don't want to 1 # release of libtool. 1 # quotes we have to do it in 2 steps: 1 # published by the Free Software Foundation; either version 2 of 1 # positional parameter $0, within a function call, is the name of the 1 # platform-specific function to extract the name of the 1 # perform func_basename and func_dirname in a single function 1 # overlaps. 1 # otherwise set result to NONDIR_REPLACEMENT. 1 # or path in func_cygpath_result (input file name or path is assumed to be in 1 # or obtained by writing to the Free Software Foundation, Inc., 1 # one anyway 1 # on the platform and compiler that created the implib. 1 # obtained by writing to the Free Software Foundation, Inc., 1 # not supported by libtool). 1 # not shown. 1 # not in the set a-zA-Z0-9_ are replaced with '_'. Further, 1 # name if it has been set yet. 1 # modify it under the terms of the GNU General Public License as 1 # mode:shell-script 1 # might have to extract them afterwards, e.g., when creating a 1 # may have been created when compiling PIC objects. 1 # manifest files must have executable permission regardless). 1 # make stdout use "unix" line endings 1 # list incase some portion of path contains whitespace. 1 # line option must be used. 1 # libtool processes, and avoids race conditions if possible. If 1 # libtool - Provide generalized library-building support services. 1 # libtool (GNU libtool) 2.4 1 # library is relocated. 1 # libraries that it depends on are installed. 1 # libraries must come first. 1 # left over by shells. 1 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 1 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 1 # launches target application with the remaining arguments. 1 # it will not redefine variables installed, or shouldnotlink 1 # it under the terms of the GNU General Public License as published by 1 # it an absolute path. 1 # is ksh but when the shell is invoked as "sh" and the current value of 1 # is given, then evaluate it. Use the saved locale for evaluation. 1 # is given, then evaluate it. 1 # is double-quoted, suitable for a subsequent eval, whereas 1 # invoked via `$to_host_path_cmd ARG' 1 # invoked via `$to_host_file_cmd ARG' 1 # into the library and all subsequent libraries and executables linked 1 # incorporate the script contents within a cygwin/mingw 1 # include the following information: 1 # include <unistd.h> 1 # include <stdint.h> 1 # include <process.h> 1 # include <io.h> 1 # include <direct.h> 1 # in which we disable both kinds of libraries. Given conflicting 1 # in input to double_quote_subst, that '$' was protected from expansion. 1 # in func_to_host_path_result. 1 # in a wine environment, working winepath, and LT_CYGPATH set. Returns result 1 # in (the comma separated) LAZY, no conversion takes place. 1 # in $build's $PATH. 1 # ifndef _INTPTR_T_DEFINED 1 # ifndef PATH_SEPARATOR_2 1 # ifndef DIR_SEPARATOR_2 1 # ifdef __CYGWIN__ 1 # if one wasn't chosen via the "--tag" command line option. 1 # if CDPATH is set. 1 # if $1 begins with a digit, a '_' is prepended as well. 1 # given, STRING is the basename for that directory. 1 # generates a relative path from SRCDIR to DSTDIR, with a trailing 1 # function. 1 # func_xform libobj-or-source 1 # func_write_libtool_object output_name pic_name nonpic_name 1 # func_win32_libid arg 1 # func_win32_import_lib_p ARG 1 # func_warning arg... 1 # func_version 1 # func_verbose arg... 1 # func_usage 1 # func_tr_sh 1 # func_to_tool_file ARG LAZY 1 # func_to_host_path_result. 1 # func_to_host_path ARG 1 # func_to_host_file_result to a simplistic fallback value (see below). 1 # func_to_host_file_result to ARG1). 1 # func_to_host_file ARG 1 # func_stripname prefix suffix name 1 # func_strip_suffix prefix name 1 # func_split_short_opt shortopt 1 # func_split_long_opt longopt 1 # func_source file 1 # func_show_eval_locale cmd [fail_exp] 1 # func_show_eval cmd [fail_exp] 1 # func_resolve_sysroot_result 1 # func_resolve_sysroot PATH 1 # func_replace_sysroot PATH 1 # func_relative_path SRCDIR DSTDIR 1 # func_quote_for_expand arg 1 # func_quote_for_eval arg 1 # func_normal_abspath PATH 1 # func_mode_uninstall arg... 1 # func_mode_link because it depends on a number of variables 1 # func_mode_link arg... 1 # func_mode_install arg... 1 # func_mode_finish arg... 1 # func_mode_execute arg... 1 # func_mode_compile arg... 1 # func_mktempdir [string] 1 # func_mkdir_p directory-path 1 # func_missing_arg argname 1 # func_ltwrapper_scriptname file 1 # func_ltwrapper_script_p file 1 # func_ltwrapper_p file 1 # func_ltwrapper_executable_p file 1 # func_lo2o object 1 # func_len string 1 # func_lalib_unsafe_p file 1 # func_lalib_p file 1 # func_init_to_host_path_cmd 1 # func_infer_tag arg 1 # func_help [NOEXIT] 1 # func_grep expression filename 1 # func_generate_dlsyms outputname originator pic_p 1 # func_features 1 # func_fatal_help arg... 1 # func_fatal_error arg... 1 # func_fatal_configuration arg... 1 # func_extract_archives gentop oldlib ... 1 # func_extract_an_archive dir oldlib 1 # func_execute_cmds commands fail_cmd 1 # func_error arg... 1 # func_enable_tag tagname 1 # func_emit_wrapper [arg=no] 1 # func_emit_exe_manifest 1 # func_emit_cwrapperexe_src 1 # func_echo_all arg... 1 # func_echo arg... 1 # func_dirname_and_basename file append nondir_replacement 1 # func_dirname file append nondir_replacement 1 # func_cygpath ARGS... 1 # func_cygming_ms_implib_p ARG 1 # func_cygming_gnu_implib_p ARG 1 # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs 1 # func_cygming_dll_for_implib_fallback ARG 1 # func_cygming_dll_for_implib ARG 1 # func_convert_path_noop ARG 1 # func_convert_path_nix_to_w32 ARG 1 # func_convert_path_nix_to_cygwin ARG 1 # func_convert_path_msys_to_w32 ARG 1 # func_convert_path_msys_to_cygwin ARG 1 # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG 1 # func_convert_path_cygwin_to_w32 ARG 1 # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH 1 # func_convert_file_noop ARG 1 # func_convert_file_nix_to_w32 ARG 1 # func_convert_file_nix_to_cygwin ARG 1 # func_convert_file_msys_to_w32 ARG 1 # func_convert_file_msys_to_cygwin ARG 1 # func_convert_file_cygwin_to_w32 ARG 1 # func_convert_file_check ARG1 ARG2 1 # func_convert_core_path_wine_to_w32 ARG 1 # func_convert_core_msys_to_w32 ARG 1 # func_convert_core_file_wine_to_w32 ARG 1 # func_config 1 # func_check_version_match 1 # func_basename file 1 # func_arith arithmetic-term... 1 # func_append_quoted var value 1 # func_append var value 1 # from $build's *nix or MSYS format). In case (3), returns the w32 file name 1 # four `\'s followed by two `\'s and then a '$'. `\' that '$'. 1 # format in TO_PATH. Otherwise, emit an error message, but continue, resetting 1 # format in ARG2. Otherwise, emit an error message, but continue (resetting 1 # fixup the dll searchpath if we need to. 1 # file name or path is assumed to be in w32 format, as previously converted 1 # fatal anyway. Works if `file' does not exist. 1 # exit_cmd. 1 # eventual linking with the app. that links it) if we 1 # environment variable; do not put it in $PATH. 1 # end: func_emit_cwrapperexe_src 1 # end: func_convert_core_path_wine_to_w32 1 # end: func_convert_core_file_wine_to_w32 1 # end func_to_tool_file 1 # end func_to_host_path 1 # end func_to_host_file 1 # end func_convert_path_noop 1 # end func_convert_path_nix_to_w32 1 # end func_convert_path_nix_to_cygwin 1 # end func_convert_path_msys_to_w32 1 # end func_convert_path_msys_to_cygwin 1 # end func_convert_path_front_back_pathsep 1 # end func_convert_path_cygwin_to_w32 1 # end func_convert_path_check 1 # end func_convert_file_noop 1 # end func_convert_file_nix_to_w32 1 # end func_convert_file_nix_to_cygwin 1 # end func_convert_file_msys_to_w32 1 # end func_convert_file_msys_to_cygwin 1 # end func_convert_file_cygwin_to_w32 1 # end func_convert_file_check 1 # enable the TAGNAME tag. We also add TAGNAME to the global $taglist 1 # emit the source code for a wrapper executable on stdout 1 # emit a Win32 UAC manifest for executable on stdout 1 # during linking. This must work even if $libdir does not exist. 1 # dot (in which case that matches only a dot). 1 # does not support the --identify-strict option. 1 # do not "continue". Instead, add this to base_compile 1 # didn't have a PIC flag, but the assumption that the effects 1 # didn't already link the preopened objects directly into 1 # define _O_BINARY 0 1 # define _CRT_SECURE_NO_DEPRECATE 1 1 # define S_IXUSR _S_IEXEC 1 # define S_IXOTH 0 1 # define S_IXGRP 0 1 # define PATH_SEPARATOR ':' 1 # define LT_PATHMAX PATH_MAX 1 # define LT_PATHMAX MAXPATHLEN 1 # define LT_PATHMAX 1024 1 # define LT_DLSYM_CONST const 1 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) 1 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) 1 # define IS_DIR_SEPARATOR(ch) \ 1 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 1 # define HAVE_SETENV 1 # define HAVE_DOS_BASED_FILE_SYSTEM 1 # define FOPEN_WB "w" 1 # define DIR_SEPARATOR '/' 1 # correctly configured wine environment available, with the winepath program 1 # converts the file name ARG from $build format to toolchain format. Return 1 # converted to $host format) on output. 1 # convert absolute version numbers to libtool ages 1 # convert $build files to toolchain format. 1 # convert $build file names to $host format. 1 # configured wine environment available, with the winepath program in $build's 1 # configuration. But we'll never go from static-only to shared-only. 1 # command doesn't match the default compiler. 1 # closes it afterwards, without saving the original file descriptor. 1 # choices, we go for a static library, that is the most portable, 1 # characters, hashes, percent signs, but SUFFIX may contain a leading 1 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 1 # can be downloaded from http://www.gnu.org/licenses/gpl.html, 1 # by a space. 1 # but don't create it if we're doing a dry run. 1 # but do not quote variable references. 1 # but WITHOUT ANY WARRANTY; without even the implied warranty of 1 # behavior. 1 # behavior happens only for exec(3), not for open(2)! Also, sourcing 1 # because it is most likely a libtool script we actually want to 1 # be empty on error (or when ARG is empty) 1 # be converted. 1 # arg is usually of the form 'gcc ...' 1 # are convertible, then the result may be empty. 1 # appropriate value, based on the value of $to_host_file_cmd. 1 # and the sed script, to avoid splitting on whitespace, but 1 # and func_basename. For efficiency, we do not delegate to 1 # and cancel out any ".." path components in PATH after making 1 # and appending REPL if ORIG matches BACKPAT. 1 # and a working winepath. Returns result in func_to_host_file_result. 1 # and $host is mingw, cygwin, or some other w32 environment. Relies on a 1 # also don't use non-portable quotes within backquotes within 1 # against it. 1 # add it in twice. Is that correct? 1 # accidentally link it into a program. 1 # a working winepath. Returns result in func_to_host_file_result. 1 # a wine environment, working winepath, and LT_CYGPATH set. Returns result in 1 # a shared archive. 1 # a help hint, and exit. 1 # a dlpreopen symbol table. 1 # a configuration failure hint, and exit. 1 # a .exe suffix, so we strip it off here. 1 # `\'-ed in input to the same. If an odd number of `\' preceded a '$' 1 # `FILE.' does not work on cygwin managed mounts. 1 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. 1 # Written by Gordon Matzigkeit <[email protected]>, 1996 1 # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when 1 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh 1 # Which release of libtool.m4 was used? 1 # Whether we should hardcode library paths into libraries. 1 # Whether we need soft or hard links. 1 # Whether we need a single "-rpath" flag with a separated argument. 1 # Whether we are building with GNU ld or not. 1 # Whether to use a lock for old archive extraction. 1 # Whether the compiler copes with passing no objects directly. 1 # Whether or not to optimize for fast installation. 1 # Whether or not to disallow shared libs when runtime libs are static. 1 # Whether or not to build static libraries. 1 # Whether or not to build shared libraries. 1 # Whether or not to add -lc for building shared libraries. 1 # Whether libtool must link a program against all its dependency libraries. 1 # Whether dlopen of statically linked programs is supported. 1 # Whether dlopen of programs is supported. 1 # Whether dlopen is supported. 1 # When reporting a bug, please describe a test case to reproduce it and 1 # What type of objects to build. 1 # What is the maximum length of a command? 1 # We used to do the same as -all-static on platforms that 1 # We have no uninstalled library dependencies, so finalize right now. 1 # We don't need to create a wrapper script. 1 # WITHOUT ANY WARRANTY; without even the implied warranty of 1 # Very basic option parsing. These options are (a) specific to 1 # Version information for $libname. 1 # Verify that TAGNAME is valid, and either flag an error and exit, or 1 # Verify that FROM_PATH (a path in $build format) was converted to $host 1 # Verify that ARG1 (a file name in $build format) was converted to $host 1 # Variables whose values should be saved in libtool wrapper scripts and 1 # Used when --lt-debug. Prints its arguments to stdout 1 # Used to examine libraries when file_magic_cmd begins with "file". 1 # Use standard objects if they are pic 1 # Usage: $progname [OPTION]... [MODE-ARG]... 1 # Unknown arguments in both finalize_command and compile_command need 1 # Unconvertible file (directory) names in ARG are skipped; if no directory names 1 # Turn $1 into a string suitable for a shell variable name. 1 # Try looking first in the location we're being installed to. 1 # Try `$progname --help --mode=MODE' for a more detailed description of MODE. 1 # True iff FILE is a libtool wrapper script or wrapper executable 1 # True iff FILE is a libtool wrapper script 1 # True iff FILE is a libtool wrapper executable 1 # True if ARG is an import lib, as indicated by $file_magic_cmd 1 # Transform the symbol file into the correct name. 1 # Transform the output of nm in a proper C declaration. 1 # Transform the output of nm in a C name address pair. 1 # Transform the output of nm in a C name address pair when lib prefix is needed. 1 # Transform deplibs into only deplibs that can be linked in shared. 1 # Transform all the library objects into standard objects. 1 # Transform .lo files to .o files. 1 # Tool to manipulate fat objects and archives on Mac OS X. 1 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 1 # Tool to change global to local symbols on Mac OS X. 1 # Time to change all our "foo.ltframework" stuff back to "-framework foo" 1 # This wrapper script should never be moved out of the build directory. 1 # This must work even if $libdir does not exist 1 # This library was specified with -dlpreopen. 1 # This library was specified with -dlopen. 1 # This is free software; see the source for copying conditions. There is NO 1 # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT 1 # This function implements the same check as func_lalib_p without 1 # This fallback implementation is for use when $DLLTOOL 1 # This environment variable determines our operation mode. 1 # These SED scripts presuppose an absolute path with a trailing slash. 1 # There are only two supported options: --lt-debug and 1 # The root where to search for dependent libraries,and in which our libraries should be installed. 1 # The result will be available in $func_to_host_path_result. 1 # The names of the tagged configurations supported by this script. 1 # The name that we can dlopen(3). 1 # The name of this program: 1 # The name of the static archive. 1 # The name of the directory that contains temporary libtool files. 1 # The linker used to build libraries. 1 # The last name is the one that the linker finds with -lNAME 1 # The is the core of a fallback implementation of a 1 # The host system. 1 # The first argument to this parsing function should be the 1 # The effects of -static are defined in a previous loop. 1 # The effects of -shared are defined in a previous loop. 1 # The commands to list exported symbols. 1 # The commands to extract the exported symbol list from a shared archive. 1 # The command line is too long to execute in one step. 1 # The coded name of the library, if different from the real name. 1 # The build system. 1 # The archiver. 1 # The TAGs below are defined such that we never get into a situation 1 # The HP-UX ksh and POSIX shell print the target directory to stdout 1 # The $output program cannot be directly executed until all the libtool 1 # Take the output of nm and produce a listing of raw symbols and C names. 1 # Symbols that should not be listed in the preloaded symbols. 1 # Symbols that must always be exported. 1 # Strips options in the --lt-* namespace from \$@ and 1 # Standard options: 1 # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH 1 # Specify filename containing input files. 1 # Specify filename containing input files for $NM. 1 # Source FILE, adding directory component if necessary. 1 # Skip this library if it cannot be dlopened. 1 # Since each input `\' is now two `\'s, look for any number of runs of 1 # Should we warn about portability when linking against -modules? 1 # Shorthand for --mode=foo, only valid as the first argument 1 # Shell to use when invoking shell scripts. 1 # Shared library suffix (normally ".so"). 1 # Shared library runtime path variable. 1 # Shared library path variable. 1 # Set to yes if linker adds runtime paths of dependent libraries 1 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 1 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 1 # Set to "yes" if exported symbols are required. 1 # Set to "yes" if building a shared library automatically hardcodes DIR 1 # Set func_split_short_opt_name and func_split_short_opt_arg shell 1 # Set func_split_long_opt_name and func_split_long_opt_arg shell 1 # See the names of the shared library. 1 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 1 # Sed substitution that turns a string into a regex matching for the 1 # Sed substitution that converts a w32 file name or path 1 # Same as above, but do not quote variable references. 1 # STRING may not start with a hyphen. 1 # SECTION_NAME is either .idata$6 or .idata$7, depending 1 # Run-time system search path for libraries. 1 # Result will be available in $func_to_host_file_result. 1 # Result is stored in $func_tr_sh_result. All characters 1 # Result is available in $func_convert_core_path_wine_to_w32_result. 1 # Result is available in $func_convert_core_file_wine_to_w32_result, and will 1 # Report bugs to <[email protected]>. 1 # Replace a leading = in PATH with a sysroot. Store the result into 1 # Remove version info from name if versioning should be avoided 1 # Remove our outputs, but don't remove object files since they 1 # Remove doubled-up and trailing slashes, "." path components, 1 # Read the libtool library. 1 # Read the .lo file 1 # Read the .la file 1 # Re-`\' parameter expansions in output of double_quote_subst that were 1 # Quote VALUE and append to the end of shell variable VAR, separated 1 # Provide generalized library-building support services. 1 # Preserve any variables that may affect compiler behavior 1 # Prepare the list of exported symbols 1 # Possibly a libtool object, so verify it. 1 # Possibly a libtool archive, so verify it. 1 # Place PIC objects in $objdir 1 # Permission mode override for installation of shared libraries. 1 # Path separators are also converted from $build format to $host format. If 1 # Parse the version information argument. 1 # Parse the name list into a source file. 1 # Parse options once, thoroughly. This comes as soon as possible in the 1 # PREFIX and SUFFIX must not contain globbing or regex special 1 # POSIX demands no paths to be encoded in archives. We have 1 # Otherwise fall back on heuristic. 1 # Option defaults: 1 # Only pass preopened files to the pseudo-archive (for 1 # Only do commands if we really have different PIC objects. 1 # Only attempt this if the compiler in the base compile 1 # Only an error if not doing a dry-run. 1 # On Rhapsody replace the C library is the System framework 1 # Old archive suffix (normally "a"). 1 # Object file suffix (normally "o"). 1 # Now that we've collected a possible --mode arg, show help if necessary 1 # Now compile the dynamic symbol file. 1 # Note that it is not necessary on cygwin/mingw to append a dot to 1 # Non-PIC object. 1 # Need a lot of goo to handle *both* DLLs and import libs 1 # Names of this library. 1 # Names of additional weak libraries provided by this library 1 # Name of the non-PIC object 1 # Name of the PIC object. 1 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 1 # NLS nuisances: We save the old values to restore during execute mode. 1 # Must we lock files when doing compilation? 1 # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT 1 # Method to check whether dependent libraries are shared objects. 1 # Maybe install the static library, too. 1 # Manifest tool. 1 # Make sure we have an absolute path for reexecution: 1 # Make sure we don't pick an alternate name that also 1 # Make sure the entire path to DIRECTORY-PATH is available. 1 # Make sure IFS has a sensible default 1 # Make a temporary directory that won't clash with other running 1 # Make a backup of the uninstalled library when relinking 1 # MODE-ARGS vary depending on the MODE. When passed as first option, 1 # MODE must be one of the following: 1 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1 # Local Variables: 1 # List of archive names. First name is the real one, the rest are links. 1 # Linker flags that can not go in dependency_libs. 1 # Link the executable and exit 1 # Link the dlpreopened libraries before other libraries 1 # Libtool was configured on host gchirtoaca: 1 # Library versioning type. 1 # Libraries that this one depends upon. 1 # LTCC compiler flags. 1 # Just add the directory containing the .lo file. 1 # Is this an already installed library? 1 # Is the compiler the GNU compiler? 1 # Is shlibpath searched before the hard-coded library search path? 1 # Invoke $ECHO with all args, space-separated. 1 # Install the pseudo-library for information purposes. 1 # Install the old object if enabled. 1 # Install the libtool object if requested. 1 # Install (i.e. copy) a libtool object. 1 # Infer tagged configuration to use if any are available and 1 # Implementation must be kept synchronized with func_dirname 1 # If this variable is set in any of the actions, the command in it 1 # If the previous option needed an argument, then skip it. 1 # If the library was installed with an old release of libtool, 1 # If the file is missing, and there is a .exe on the end, strip it 1 # If libtool objects are unsupported, then we need to preload. 1 # If ld is used when linking, flag to hardcode $libdir into a binary 1 # If it is, it will not operate correctly. 1 # If a disable-shared tag is given, we'll fallback to a static-only 1 # If PATH begins with the sysroot, replace it with = and 1 # If FAIL_CMD is given, eval that upon failure. 1 # If -module or -export-dynamic was specified, set the dlname. 1 # If $tagname still isn't set, then no tagged configuration 1 # I'm not sure if I'm treating the release correctly. I think 1 # How to pass a linker flag through the compiler. 1 # How to hardcode a shared library path into an executable. 1 # How to find potential files when deplibs_check_method = "file_magic". 1 # How to feed a file listing to the archiver. 1 # How to create reloadable object files. 1 # Helper function used by path conversion functions when $build is *nix, and 1 # Helper function used by file name conversion functions when $build is *nix, 1 # Has to be a shell function in order to 'eat' the argument 1 # Global variables: 1 # Global variables. 1 # Get the real and link names of the library. 1 # Get the name of the library we link against. 1 # Generated automatically by config.status (libspectrum) 1.0.0 1 # General help using GNU software: <http://www.gnu.org/gethelp/>. 1 # General Public License for more details. 1 # GNU libtool home page: <http://www.gnu.org/software/libtool/>. 1 # GNU Libtool is free software; you can redistribute it and/or modify 1 # GNU Libtool is free software; you can redistribute it and/or 1 # GNU Libtool is distributed in the hope that it will be useful, but 1 # GNU Libtool is distributed in the hope that it will be useful, 1 # GNU General Public License for more details. 1 # Format of library name prefix. 1 # Flags to create an archive. 1 # Flag to hardcode $libdir into a binary during linking. 1 # Flag that enforces no undefined symbols. 1 # Flag that allows shared libraries with undefined symbols to be built. 1 # Fix the DLL searchpath if we need to. Do this before prepending 1 # Find the relevant object directory and library name. 1 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 1 # Files to dlopen/dlpreopen 1 # Fast installation is not supported 1 # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters 1 # FIXME: remove this flag sometime in the future. 1 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe 1 # FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # 1 # FAIL_CMD may read-access the current command in variable CMD! 1 # Extract symbols from dlprefiles and create ${outputname}S.o with 1 # Extract subdirectory from the argument. 1 # Export the shlibpath_var. 1 # Export our shlibpath_var if we have one. 1 # Execute tilde-delimited COMMANDS. 1 # Executable file suffix (normally ""). 1 # Evaluate the configuration. Be careful to quote the path 1 # Ensures that function "pointer" variable $to_host_path_cmd is set to the 1 # Ensure that we are using m4 macros, and libtool script from the same 1 # Emit a libtool wrapper script on stdout. 1 # Echos the name of the DLL associated with the 1 # Echo version message to standard output and exit. 1 # Echo short help message to standard output and exit. 1 # Echo program name prefixed warning message to standard error. 1 # Echo program name prefixed message, along with the current mode 1 # Echo program name prefixed message to standard error. 1 # Echo program name prefixed message to standard error, and exit. 1 # Echo program name prefixed message to standard error and set global 1 # Echo program name prefixed message in verbose mode only. 1 # Echo long help message to standard output and exit, 1 # Done checking deplibs! 1 # Don't directly open a file because we may want to 1 # Don't allow lazy linking, it breaks C++ global constructors 1 # Does compiler simultaneously support -c and -o options? 1 # Do we need the "lib" prefix for modules? 1 # Do we need a version for libraries? 1 # Do the static libraries later. 1 # Do not bother doing anything if just a dry run 1 # Do each of the archive commands. 1 # Display the features supported by this script. 1 # Display the configuration for all the tags in this script. 1 # Discover the nlist of each of the dlfiles. 1 # Directory that this library needs to be installed in: 1 # Digital Unix and AIX. 1 # Despite the name, also deal with 64 bit binaries. 1 # Delete the old output file. 1 # Delete the generated files. 1 # Deduce the name of the destination old-style object file. 1 # DLL creation program. 1 # DLL associated with the specified import library LIBNAME. 1 # DIR into the resulting binary. 1 # DIR into the resulting binary and the resulting library dependency is 1 # Cygwin format). Returns an empty string on error. 1 # Create the UAC manifests first if necessary (but the 1 # Create links to the real library. 1 # Create an old-style archive from a shared archive. 1 # Create an invalid libtool object if no PIC, so that we don't 1 # Create a temporary old-style archive to link instead of a shared archive. 1 # Create a libtool object file (analogous to a ".la" file), 1 # Core function for launching the target application 1 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 1 # Copy ARG to func_to_host_path_result. 1 # Copy ARG to func_to_host_file_result. 1 # Converts the path ARG from $build format to $host format. Return result 1 # Converts the file name ARG from $build format to $host format. Return result 1 # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. 1 # Convert path ARG from Cygwin to w32 format. Returns result in 1 # Convert path ARG from *nix to w32 format. Requires a wine environment and 1 # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a 1 # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic 1 # Convert file name or path ARG from MSYS format to w32 format. Return 1 # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. 1 # Convert file name ARG from Cygwin to w32 format. Returns result in 1 # Convert file name ARG from *nix to w32 format. Requires a wine environment 1 # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed 1 # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic 1 # Convert "-framework foo" to "foo.ltframework" 1 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 1 # Compiler flag to turn off builtin functions. 1 # Compiler flag to prevent dynamic linking. 1 # Compiler flag to generate shared objects directly from archives. 1 # Compiler flag to allow reflexive dlopens. 1 # Compile-time system search path for libraries. 1 # Commands used to install an old-style archive. 1 # Commands used to finish a libtool library installation in a directory. 1 # Commands used to build an old-style archive. 1 # Commands used to build a shared archive. 1 # Commands used to build a loadable module if different from building 1 # Commands to strip libraries. 1 # Commands necessary for linking programs (against libraries) with templates. 1 # Commands necessary for finishing linking programs. 1 # Command to use when deplibs_check_method = "file_magic". 1 # Command to use after uninstallation of a shared archive. 1 # Command to use after installation of a shared archive. 1 # Command to associate shared and link libraries. 1 # Collect dlpreopened libraries 1 # Collect and forward deplibs of preopened libtool libs 1 # Clear the version info if we defaulted, and they specified a release. 1 # Clean up the generated files. 1 # Check whether EXPRESSION matches any line of FILENAME, without output. 1 # Check to see that this really is a libtool object. 1 # Check to see if the archive will have undefined symbols. 1 # Check that each of the things are valid numbers. 1 # Calculate the version variables. 1 # But is supposedly fixed on 10.4 or later (yay!). 1 # Break out early, otherwise skipped_export may be 1 # Assumes file is an ltwrapper_executable 1 # As a safety measure, use it only where a negative result would be 1 # As "finish_cmds", except a single script fragment to be evaled but 1 # Append VALUE to the end of shell variable VAR. 1 # An object symbol dumper. 1 # An echo program that protects backslashes. 1 # An archive. 1 # An ERE matcher. 1 # All path conversion functions are named using the following convention: 1 # Aesthetically quote ARG to be evaled later; same as above, 1 # Aesthetically quote ARG to be evaled later. 1 # Additional compiler flags for building library objects. 1 # Add the libdir to current_libdirs if it is the destination. 1 # Accept any command-line options. 1 # ARGS are passed to cygpath, with the last one being the file name or path to 1 # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR 1 # ARG is the $build file name to be converted to w32 format. 1 # ARG is path to be converted from $build format to win32. 1 # ARG is an MS-style import library. Returns 1 # ARG is a GNU/binutils-style import library. Returns 1 # ARG begins or ends with a path separator character, it is preserved (but 1 # A symbol stripping program. 1 # A standard object. 1 # A sed program that does not truncate output. 1 # A literal string matcher. 1 # A libtool-controlled object. 1 # A libtool-controlled library. 1 # A language specific compiler. 1 # A grep program that handles long lines. 1 # A function to encapsulate launching the target application 1 # A C compiler. 1 # A BSD- or MS-compatible name lister. 1 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 1 # /script/ and the wrapper /executable/ which is used only on 1 # --lt-dump-script. There is, deliberately, no --lt-help. 1 # (redirection is the responsibility of the caller) 1 # (escaped) backslashes. A very naive implementation. 1 # (at your option) any later version. 1 # (application programs are unlikely to have options which match 1 # (2), returns the Cygwin file name or path in func_cygpath_result (input 1 # $write_libobj - a libtool object file 1 # $show "echo timestamp > $libobj" 1 # $outputname - a libtool library file 1 # $output - temporary wrapper script for $objdir/$outputname 1 # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? 1 # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly 1 # $build to $host PATH CONVERSION FUNCTIONS # 1 # $build to $host FILE NAME CONVERSION FUNCTIONS # 1 # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or 1 # $PATH. Assumes ARG has no leading or trailing path separator characters. 1 # ### END LIBTOOL TAG CONFIG: disable-static 1 # ### END LIBTOOL TAG CONFIG: disable-shared 1 # ### END LIBTOOL CONFIG 1 # ### BEGIN LIBTOOL TAG CONFIG: disable-static 1 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared 1 # ### BEGIN LIBTOOL CONFIG 1 # "absolute",i.e impossible to change by setting ${shlibpath_var} if the 1 # include <io.h> 1 # define intptr_t int 1 # define _INTPTR_T_DEFINED 1 # define PATH_SEPARATOR_2 ';' 1 # define DIR_SEPARATOR_2 '\\' 1 # path conversion function : func_convert_path_X_to_Y () 1 # file name conversion function : func_convert_file_X_to_Y () 1 # dirname: Compute the dirname of FILE. If nonempty, 1 # basename: Compute filename of FILE. 1 # Written by Gordon Matzigkeit, 1996 1 # This file is part of GNU Libtool. 1 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 1 # -v, --verbose print more informational messages than default 1 # -n, --dry-run display commands without modifying any files 1 # -h, --help, --help-all print short, long, or detailed help message 1 # --version print version information 1 # --tag=TAG use configuration variables from tag TAG 1 # --quiet, --silent don't print informational messages 1 # --preserve-dup-deps don't remove duplicate dependency libraries 1 # --no-verbose don't print the extra informational messages 1 # --no-quiet, --no-silent 1 # --mode=MODE use operation mode MODE 1 # --features display basic configuration information and exit 1 # --debug enable verbose shell tracing 1 # --config show all configuration variables 1 # uninstall remove libraries from an installed directory 1 # shell: 1 # linker: 1 # link create a library or an executable 1 # install install libraries or executables 1 # host-triplet: 1 # finish complete the installation of libtool libraries 1 # execute automatically set library path, then run a program 1 # compiler: 1 # compiler flags: 1 # compile compile a source file into a libtool object 1 # clean remove files from the build directory 1 # automake: 1 # autoconf: 1 # $progname: 1 # value returned in "$func_relative_path_result" 1 # value returned in "$func_normal_abspath_result" 1 # value returned in "$func_dirname_result" 1 # value retuned in "$func_basename_result" 1 # to NONDIR_REPLACEMENT. 1 # add APPEND to the result, otherwise set result 1 # Inc. 1 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 1 # print informational messages (default) 1 "could not follow symlinks for %s", pathspec); 1 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... 1 "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... 1 "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... 1 "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... 1 "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... 1 "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE 1 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... 1 { test -h "$file"; } >/dev/null 2>&1 || 1 test -n "$library_names"; }; }; then 1 test -f "$inst_prefix_dir$libdir/$linklib" ; then 1 test -f "$file"; then 1 test "$linkmode,$pass" = "prog,scan"; then 1 test "$hardcode_shlibpath_var" = yes; then 1 test "$hardcode_minus_L" != yes && 1 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 1 case $host in 1 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ 1 ]*file format pe[i]\{,1\}-/d 1 ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\\{0,1\\}\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" 1 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) 1 &()|`$[]' \ 1 && { test "$len" -lt "$max_cmd_len" \ 1 $SED -e 10q | 1 $GREP ": [^:]* bundle" >/dev/null ; then 1 $GREP " -> " >/dev/null; then 1 $EGREP "$file_magic_regex" > /dev/null; then 1 || func_fatal_help "\`$lib' is not a valid libtool archive" 1 || func_fatal_help "\`$file' is not a valid libtool archive" 1 || func_fatal_error "\`$lib' is not a valid libtool archive" 1 {0, (void *) 0} 1 { \"$my_originator\", (void *) 0 }," 1 xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" 1 win32_libid_type="unknown" 1 win32_fileres=`file -L $1 2>/dev/null` 1 while test -n \"\$file\"; do 1 while test $# -gt 0; do 1 while (strlen (tmp_pathspec) && !has_symlinks) 1 while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) 1 weak_libs+=" $arg" 1 void *p = (void *) malloc (num); 1 void *address; 1 vfprintf (stderr, message, ap); 1 versuffix=".$current.$revision"; 1 versuffix=".$current.$revision" 1 versuffix=".$current.$age.$revision" 1 versuffix="-$major" 1 versuffix="$major.$revision" 1 versuffix= 1 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" 1 verstring="$verstring_prefix$major.$revision" 1 verstring="$current.$age.$revision" 1 verstring="" 1 verstring+=":${current}.0" 1 vars="deplibs" 1 vars="compile_deplibs finalize_deplibs" 1 valid_a_lib=yes 1 va_start (ap, message); 1 va_list args; 1 va_list ap; 1 va_end (ap); 1 use_static_libs=no 1 unsigned int j; 1 unsigned int backslashes; 1 uninstall) 1 tstripme="$stripme" 1 try_normal_branch=yes 1 try_normal_branch=no 1 tmp_pathspec); 1 tmp_pathspec = xstrdup (newargz[0]); 1 tmp_pathspec = realpath (pathspec, buf); 1 tmp_pathspec = lt_extend_str (target_name, ".exe", 1); 1 tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1); 1 tmp_pathspec = find_executable (argv[0]); 1 tmp_pathspec = NULL; 1 tmp_libs+=" $i" 1 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` 1 tmp_export_symbols="$export_symbols" 1 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` 1 tmp_deplibs="$deplib $tmp_deplibs" 1 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` 1 testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` 1 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` 1 test_cmds= 1 test \"x\$thisdir\" = \"x\$file\" && thisdir=. 1 test -z "$libdir" && \ 1 test -z "$generated_by_libtool_version" && \ 1 test -z "$absdir" && \ 1 test -n \"\$absdir\" && thisdir=\"\$absdir\" 1 test -n "$relink_command" && srcname="$realname"T 1 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 1 test -n "$old_library" && rmfiles+=" $odir/$old_library" 1 test -n "$library_names" && \ 1 test -n "$libobj" && \ 1 test -n "$func_cygming_ms_implib_tmp" 1 test -n "$func_cygming_gnu_implib_tmp" 1 test -n "$dlpreopen" && dlprefiles+=" $dlpreopen" 1 test -n "$dlopen" && dlfiles+=" $dlopen" 1 test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" 1 test -f "$nlist" || : > "$nlist" 1 test -f "$arg" \ 1 test "X$libobjs" = "X " && libobjs= 1 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes 1 test "$opt_mode" = compile && func_mode_compile ${1+"$@"} 1 test "$opt_mode" != relink && rpath="$compile_rpath$rpath" 1 test "$opt_debug" = : || preserve_args+=" --debug" 1 test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" 1 test "$inst_prefix_dir" = "$destdir" && \ 1 test "$absdir" != "$libdir" && \ 1 temp_xrpath+=" -R$func_replace_sysroot_result" 1 tdlname=$dlname 1 target_name); 1 target_name = xstrdup (base_name (TARGET_PROGRAM_NAME)); 1 target_name = tmp_pathspec; 1 tagname="$1" 1 suppress_opt=no 1 struct stat s; 1 string) : NULL; 1 strendzap (target_name, ".exe"); 1 strendzap (actual_cwrapper_path, actual_cwrapper_name); 1 strendzap (actual_cwrapper_name, ".exe"); 1 strcpy (newargz[0], actual_cwrapper_path); 1 strcpy (concat_name + p_len + 1, wrapper); 1 strcat (newargz[0], actual_cwrapper_name); 1 strcat (newargz[0], "/"); 1 strcat (newargz[0], "$objdir"); 1 staticobj=$func_lo2o_result 1 staticdest=$func_lo2o_result 1 staticdest="$destfile" 1 srcname="$realname" 1 srcfile="$arg" 1 soname="$realname" 1 size_t length; 1 size_t len, patlen; 1 size_t i; 1 size_t argc; 1 shrext_cmds="$arg" 1 shift; set dummy --mode uninstall ${1+"$@"}; shift 1 shift; set dummy --mode link ${1+"$@"}; shift 1 shift; set dummy --mode install ${1+"$@"}; shift 1 shift; set dummy --mode finish ${1+"$@"}; shift 1 shift; set dummy --mode execute ${1+"$@"}; shift 1 shift; set dummy --mode compile ${1+"$@"}; shift 1 shift; set dummy --mode clean ${1+"$@"}; shift 1 sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` 1 set dummy $deplib_matches; shift 1 sed_extractcf="/$re_begincf/,/$re_endcf/p" 1 sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ 1 save_output=$output 1 save_ifs="$IFS"; IFS=',' 1 save_RANLIB=$RANLIB 1 s/^$bs2$dollar/$bs&/ 1 s/\n//g" 1 s/\n# / / 1 s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g 1 s/$bs4/&\\ 1 rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); 1 rpath="$finalize_rpath" 1 revision="$2" 1 return xstrdup (tmp_pathspec); 1 return xstrdup (pathspec); 1 return string ? strcpy ((char *) xmalloc (strlen (string) + 1), 1 return str; 1 return s ? s : "(null)"; 1 return rval; /* =127, but avoids unused variable warning */ 1 return p; 1 return new_value; 1 return new_argv; 1 return lt_${my_prefix}_LTX_preloaded_symbols; 1 return base; 1 return NULL; 1 return 0; 1 return (s && !*s) ? "(empty)" : nonnull (s); 1 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` 1 reload_conv_objs="$reload_objs $func_extract_archives_result" 1 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" 1 relink_command="$var=; export $var; $relink_command" 1 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" 1 relink_command="$finalize_var$finalize_command$finalize_rpath" 1 release="-$arg" 1 realname="$1" 1 re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" 1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" 1 quoted_string = XMALLOC (char, length + 1); 1 program_name = (char *) xstrdup (base_name (argv[0])); 1 program=lt-'$outputname'$exeext 1 program='$outputname' 1 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` 1 prev=expsyms_regex 1 prev=expsyms 1 prev=$arg 1 prefer_static_libs=built 1 precious_files_regex="$arg" 1 pre_post_deps+=" $pre_post_dep" 1 potential_libs=`ls $i/$libname[.-]* 2>/dev/null` 1 pic_object=$xdir$objdir/$func_lo2o_result 1 pic_object="$xdir$pic_object" 1 pic_object= 1 patlen = strlen (pat); 1 path="-L$absdir/$objdir" 1 path="-L$absdir" 1 p = tmp_pathspec + strlen (tmp_pathspec) - 1; 1 p = quoted_string; 1 outputname= 1 output_la=$func_basename_result 1 output=$save_output 1 output=$output_objdir/$output_la-${k}.$objext 1 oldobjs=$objlist 1 oldobjs="$old_deplibs $non_pic_objects" 1 oldobjs="$libobjs_save" 1 oldobjs=" $archiver_list_spec$func_to_tool_file_result" 1 oldobjs+=" $func_extract_archives_result" 1 oldlibs="$output_objdir/$libname.$libext $oldlibs" 1 old_library= 1 objlist=" $obj" 1 objlist+=" $obj" 1 number_revision="$3" 1 number_minor="$2" 1 number_major="$1" 1 notinst_deplibs='$notinst_deplibs' 1 notinst_deplibs= 1 nonnull (lt_argv_zero)); 1 non_pic_object=$xdir$func_lo2o_result 1 non_pic_object="$xdir$non_pic_object" 1 non_pic_object="$pic_object" 1 non_pic_object= 1 noexename=$name 1 newlib_search_path= 1 newlib_search_path+=" $ladir" 1 newlib_search_path+=" $absdir" 1 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` 1 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 newdeplibs=$deplibs 1 newdeplibs="" 1 newargz[0] = 1 newargz[++newargc] = NULL; 1 newargz = prepare_spawn (newargz); 1 newargz = XMALLOC (char *, argc + 1); 1 newargc=0; 1 new_libs= 1 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 new_argv[i] = quoted_string; 1 new_argv[argc] = NULL; 1 new_argv = XMALLOC (char *, argc + 1); 1 name="$func_basename_result" 1 my_xlib_u=lt$extracted_serial-$my_xlib ;; 1 mv -f $tmpdir/tmp-la $lib 1 minor_current=$func_arith_result 1 memcpy (concat_name, p, p_len); 1 match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` 1 major=.$major 1 lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" 1 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); 1 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); 1 lt_setenv ("DUALCASE", "1"); /* for MSK sh */ 1 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ 1 lt_script_arg0=\$0 1 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" 1 lt_fatal (__FILE__, __LINE__, 1 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); 1 lt_dump_script (stdout); 1 lt_dump_args_N=1; 1 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n"); 1 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", 1 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name); 1 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", 1 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]); 1 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", 1 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", 1 lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1); 1 loop=$revision 1 loop=$age 1 linknames+=" $link" 1 linklib=$old_library 1 linker_flags+=" $func_quote_for_eval_result" 1 linker_flags+=" $flag" 1 linkalldeplibs=no 1 link_command="$finalize_var$compile_command$finalize_rpath" 1 link_command="$compile_var$compile_command$compile_rpath" 1 libs+=" $opt" 1 library_names= 1 libobjs=$output 1 libobjs+=" $objs" 1 libobjs+=" $func_extract_archives_result" 1 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` 1 libnameglob=$libname 1 libname=`eval "\\$ECHO \"$libname_spec\""` 1 libname=$func_stripname_result 1 lib_search_path= 1 lib_search_path+=" $dir" 1 lib=$func_resolve_sysroot_result 1 lib="$destdir/$realname" 1 length = 0; 1 len=$len0 1 len=$func_len_result 1 len=$func_arith_result 1 len0=$func_len_result 1 len = strlen (str); 1 ldd_output=`ldd conftest` 1 later+=" $arg" 1 lastarg=$func_stripname_result 1 lastarg="$srcfile" 1 lastarg= 1 last_robj=$output_objdir/$output_la-${k}.$objext 1 last_robj= 1 k=$func_arith_result 1 irix|nonstopux) 1 intptr_t rval = 127; 1 int tmp_len; 1 int rval = 0; 1 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); 1 int main() { return 0; } 1 int has_symlinks = 0; 1 int has_slash = 0; 1 int newargc; 1 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` 1 inst_prefix_dir="$arg" 1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then 1 if test \"\$libtool_execute_magic\" != \"$magic\"; then 1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then 1 if test -z "$to_host_path_cmd"; then 1 if test -z "$pic_object" || test "$pic_object" = none ; then 1 if test -z "$pic_object" || 1 if test -z "$libdir" && test "$linkmode" = prog; then 1 if test -z "$export_symbols"; then 1 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then 1 if test -z "$dlname" || 1 if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then 1 if test -z "$absdir"; then 1 if test -z "$abs_ladir"; then 1 if test -z "$4" && test -n "$3"; then 1 if test -z "$2" && test -n "$1" ; then 1 if test -n \"\$lt_option_debug\"; then 1 if test -n "$whole_archive_flag_spec"; then 1 if test -n "$whole_archive_flag_spec" && 1 if test -n "$tstripme" && test -n "$striplib"; then 1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then 1 if test -n "$runpath_var" && test -n "$perm_rpath"; then 1 if test -n "$pic_object" && 1 if test -n "$old_archive_from_expsyms_cmds"; then 1 if test -n "$non_pic_object" && 1 if test -n "$link_static_flag"; then 1 if test -n "$library_names" && 1 if test -n "$inst_prefix_dir"; then 1 if test -n "$i" ; then 1 if test -n "$hardcode_libdir_separator" && 1 if test -n "$export_symbols_regex"; then 1 if test -n "$export_symbols" && test -z "$export_symbols_regex"; then 1 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then 1 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then 1 if test -n "$deplibrary_names" ; then 1 if test -n "$dependency_libs" && 1 if test -n "$darwin_arches"; then 1 if test -n "$convenience"; then 1 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then 1 if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then 1 if test -f \"\$progdir/\$program\"; then" 1 if test -f "$output_objdir/$my_outputname.def"; then 1 if test -f "$nlist"S; then 1 if test -f "$arg"; then 1 if test "x$prev" = x-m && test -n "$install_override_mode"; then 1 if test "x$func_stripname_result" != x ; then 1 if test "X$oldobjs" = "X" ; then 1 if test "X$lt_irix_increment" = "Xno"; then 1 if test "X$ll" = "X$old_library" ; then # only static version available 1 if test "$want_nocaseglob" = yes; then 1 if test "$realname" != "$linkname"; then 1 if test "$prev" = rpath; then 1 if test "$prev" = dlprefiles; then 1 if test "$prev" = dlfiles; then 1 if test "$preload" = yes && test -f "$symfileobj"; then 1 if test "$preload" = no; then 1 if test "$pic_object" != none; then 1 if test "$pass" = link; then 1 if test "$package_revision" != "$macro_revision"; then 1 if test "$opt_help" = :; then 1 if test "$non_pic_object" != none; then 1 if test "$need_version" = no; then 1 if test "$module" = yes; then 1 if test "$module" = yes && test -n "$module_cmds" ; then 1 if test "$linkmode" = prog || test "$opt_mode" = relink; then 1 if test "$linkmode" = prog || test "$opt_mode" != relink; then 1 if test "$linkmode" = lib && 1 if test "$linkmode" != lib && test "$linkmode" != prog; then 1 if test "$link_all_deplibs" != no; then 1 if test "$link_all_deplibs" != no || test -z "$library_names" || 1 if test "$k" -eq 1 ; then 1 if test "$installed" = yes; then 1 if test "$installed" = no && test "$need_relink" = yes; then 1 if test "$hardcode_direct" != unsupported; then 1 if test "$found" != yes; then 1 if test "$fast_install" = yes; then 1 if test "$fast_install" = no && test -n "$relink_command"; then 1 if test "$deplibs_check_method" != pass_all; then 1 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then 1 if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then 1 if test "$allow_undefined_flag" = unsupported; then 1 if test "$alldeplibs" = yes && 1 if test ! -z "$func_relative_path_result"; then 1 if test ! -f \"\$progdir/\$program\" || 1 if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then 1 if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then 1 if test ! -f "$dir/$dlname"; then 1 if func_ltwrapper_p "$file"; then 1 if func_cygming_gnu_implib_p "$1" ; then 1 if eval test -z \"\${$var+set}\"; then 1 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ 1 if (tmp_pathspec == NULL) 1 if (tmp_pathspec == 0) 1 if (stat (path, &st) >= 0) 1 if (stale) { free ((void *) stale); stale = 0; } \ 1 if (rval == -1) 1 if (patlen <= len) 1 if (orig_value && *orig_value) 1 if (lt_debug) 1 if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') 1 if (isalpha ((unsigned char) name[0]) && name[1] == ':') 1 if (exit_status >= 0) 1 if (S_ISLNK (s.st_mode) != 0) 1 if ((wrapper == NULL) || (*wrapper == '\0')) 1 if ((stat (path, &st) >= 0) 1 if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) 1 if (!has_symlinks) 1 if (!has_slash) 1 if $opt_dry_run; then 1 if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then 1 if $GREP -v "^: " < "$nlist" | 1 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then 1 help="$generic_help" 1 hardcode_libdirs="$libdir" 1 hardcode_libdirs= 1 gentop="$output_objdir/${obj}x" 1 generated_by_libtool_version='$macro_version' 1 func_warning "relinking \`$file'" 1 func_warning "assuming \`-no-fast-install' instead" 1 func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." 1 func_warning "\`-version-info/-version-number' is ignored for convenience libraries" 1 func_warning "\`-release' is ignored for convenience libraries" 1 func_warning "\`-no-install' is ignored for $host" 1 func_warning "\`$opt' is not a valid libtool archive" 1 func_verbose "using piecewise archive linking..." 1 func_verbose "using command file archive linking..." 1 func_verbose "using $tagname tagged configuration" 1 func_verbose "generating symbol list for \`$output'" 1 func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" 1 func_verbose "extracting global C symbols from \`$dlprefile'" 1 func_to_tool_file "$output_objdir/$libname.libcmd" 1 func_to_tool_file "$obj" 1 func_stripname '=' '' "$dir" 1 func_stripname '/' '/' "$func_relative_path_tcancelled" 1 func_stripname '-l' '' "$deplib" 1 func_stripname '-Wc,' '' "$arg" 1 func_stripname '' '/' "$func_relative_path_result" 1 func_stripname ' ' '' "$lastarg" 1 func_source "$lib" 1 func_source "$func_ltwrapper_scriptname_result" 1 func_source "$file" 1 func_source "$arg" 1 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' 1 func_show_eval "${RM}r \$removelist" 1 func_show_eval "$relink_command" \ 1 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 1 func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' 1 func_show_eval "$install_prog $file $destfile" 'exit $?' 1 func_resolve_sysroot_result=$1 1 func_resolve_sysroot "$lib" 1 func_resolve_sysroot "$deplib" 1 func_replace_sysroot "$libdir" 1 func_relative_path_tlibdir=$func_normal_abspath_result 1 func_relative_path_tbindir=$func_normal_abspath_result 1 func_relative_path_result=$func_stripname_result 1 func_relative_path_result= 1 func_quote_for_expand "$cmd" 1 func_quote_for_eval "$var_value" 1 func_parse_lt_options \"\$0\" \${1+\"\$@\"} 1 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ 1 func_normal_abspath_tpath=$1 1 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result 1 func_normal_abspath_result= 1 func_normal_abspath_altnamespace= 1 func_normal_abspath "$2" 1 func_normal_abspath "$1" 1 func_mkdir_p "$gentop" 1 func_ltwrapper_scriptname "$file" 1 func_lo2o "$file" 1 func_lo2o "$destfile" 1 func_lo2o "$arg" 1 func_len " $test_cmds" 1 func_len " $last_robj" 1 func_len " $cmd" 1 func_init_to_host_path_cmd 1 func_fatal_help "you must specify a MODE" 1 func_fatal_help "too many parameters to \`-version-info'" 1 func_fatal_help "libtool library \`$output' must begin with \`lib'" 1 func_fatal_help "invalid operation mode \`$opt_mode'" 1 func_fatal_help "cannot copy a libtool object to \`$destfile'" 1 func_fatal_help "\`$destdir' must be an absolute directory name" 1 func_fatal_error "specify a tag with \`--tag'" 1 func_fatal_error "only absolute run-paths are allowed" 1 func_fatal_error "more than one -exported-symbols argument is not allowed" 1 func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" 1 func_fatal_error "cannot find name of object for \`$arg'" 1 func_fatal_error "cannot find name of link library for \`$lib'" 1 func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 1 func_fatal_error "cannot build library object \`$output' from non-libtool objects" 1 func_fatal_error "\`$deplib' is not a valid libtool archive" 1 func_fatal_error "\`$arg' is not a valid libtool object" 1 func_fatal_configuration "unknown library version type \`$version_type'" 1 func_extract_archives $gentop $convenience 1 func_execute_cmds "$postinstall_cmds" 'exit $?' 1 func_execute_cmds "$finish_cmds" 'admincmds="$admincmds 1 func_exec_program_core \${1+\"\$@\"} 1 func_error "error: relink \`$file' with the above command before installing it" 1 func_error "REVISION \`$revision' must be a nonnegative integer" 1 func_error "CURRENT \`$current' must be a nonnegative integer" 1 func_error "AGE \`$age' must be a nonnegative integer" 1 func_error "AGE \`$age' is greater than the current interface number \`$current'" 1 func_echo "unable to infer tagged configuration" 1 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` 1 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` 1 func_convert_core_path_wine_to_w32_result="" 1 func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | 1 func_convert_core_file_wine_to_w32_result="$1" 1 func_basename "$output" 1 func_basename "$dlprefile" 1 func_arith $len0 + $func_len_result 1 func_arith $k + 1 1 func_arith $extracted_serial + 1 1 func_arith $current + 1 1 freebsd-aout|freebsd-elf|qnx|sunos) 1 fprintf (stderr, ".\n"); 1 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); 1 found=yes 1 found=no 1 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do 1 for searchdir in $searchdirs; do 1 for progfile in $progfiles; do 1 for obj in $oldobjs 1 for n in $library_names; do 1 for lt_wr_arg 1 for lt_opt 1 for lt_arg 1 for libdir in $rpath; do 1 for lib in $notinst_deplibs; do 1 for dlpremoduletest in $dlprefiles; do 1 for dir in $perm_rpath; do 1 for dir in $newlib_search_path; do 1 for dir in $finalize_perm_rpath; do 1 for deplib in $tmp_libs; do 1 for deplib in $new_libs; do 1 for arg in $args; do 1 for (p = wrapper; *p; p++) 1 for (p = path; *p; p = p_next) 1 for (j = backslashes + 1; j > 0; j--) 1 for (i = 1; i < argc; i++) 1 for (i = 0; i < newargc; i++) 1 for (i = 0; i < argc; i++) 1 for (base = name; *name; name++) 1 for (argc = 0; argv[argc] != NULL; argc++) 1 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " 1 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" 1 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` 1 finalize_command+=" @OUTPUT@" 1 finalize_command+=" $wl$qarg" 1 finalize_command+=" $link_static_flag" 1 finalize_command+=" $arg" 1 finalize=yes 1 file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` 1 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` 1 fi # test -n "$old_archive_from_expsyms_cmds" 1 fi # link_all_deplibs != no 1 fi # $linkmode,$pass = prog,link... 1 fi # $darwin_arches 1 fast_install=no 1 extracted_serial=$func_arith_result 1 export_symbols_regex="$arg" 1 export_symbols=$output_objdir/$libname.def 1 export_symbols="$output_objdir/$libname.uexp" 1 export_symbols="$arg" 1 export $lt_var 1 exit $EXIT_SUCCESS 1 exit $EXIT_FAILURE 1 execv (lt_argv_zero, newargz); 1 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" 1 eval tmp_libs=\"\$$var\" 1 eval test_cmds=\"$old_archive_cmds\" 1 eval soname=\"$soname_spec\" 1 eval shared_ext=\"$shrext_cmds\" 1 eval libname=\"$libname_spec\" 1 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` 1 eval flag=\"$thread_safe_flag_spec\" 1 eval exec "$exec_cmd" 1 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` 1 eval cmds=\"\$cmds~\$RM $delfiles\" 1 eval cmds=\"$finish_eval\" 1 eval cmd=\"$cmd\" 1 eval cmd=\"$cmd1\" 1 eval $var=\"$tmp_libs\" 1 eval "if test \"\${$lt_var+set}\" = set; then 1 eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" 1 eval "$prev=\"\$arg\"" 1 else # deplib is a libtool library 1 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then 1 elif test "$linkmode,$pass" = "prog,link"; then 1 elif test "$linkmode" = prog; then 1 elif test "$linkmode" != prog && test "$linkmode" != lib; then 1 elif func_cygming_ms_implib_p "$1" ; then 1 elif eval var_value=\$$var; test -z "$var_value"; then 1 echo EXPORTS > \$output_objdir/\$soname.def; 1 echo "pages." 1 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" 1 echo "more information, such as the ld(1) and ld.so(8) manual pages." 1 echo "copying selected object files to avoid basename conflicts..." 1 echo "*** make it link in! You will probably need to install it or some" 1 echo "*** library that it depends on before this library will be fully" 1 echo "*** functional. Installing it before continuing would be even better." 1 echo "*** The link will probably fail, sorry" 1 echo "*** And there doesn't seem to be a static archive available" 1 droppeddeps=yes 1 done > $output_objdir/$libname.libcmd 1 done # for deplib 1 dlprefiles+=" $func_resolve_sysroot_result" 1 dlopenmodule="" 1 dlname=$soname 1 dlname="$soname" 1 dlfiles+=" $func_resolve_sysroot_result" 1 dir=$lt_sysroot$func_stripname_result 1 dir="$absdir" 1 dir+="/$objdir" 1 destfile= 1 dest=$arg 1 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 deplibs+=" $func_resolve_sysroot_result" 1 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` 1 deplib_match=$1 1 dependency_libs="$temp_xrpath $dependency_libs" 1 dependency_libs= 1 depdepl= 1 dep_rpath= 1 delfiles+=" $export_symbols" 1 delfiles+=" $export_symbols $output_objdir/$libname.filter" 1 defined (__OS2__) 1 darwin|linux|osf|windows|none) 1 darwin_orig_dir=`pwd` 1 darwin_curdir=`pwd` 1 darwin_base_archive=`basename "$darwin_archive"` 1 darwin_archive=$my_xabs 1 darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` 1 cygwin* | mingw* | pw32* | cegcc*) 1 current="$1" 1 cp \$export_symbols \$output_objdir/\$soname.def; 1 counter=1 1 continue # The current "srcfile" will either be retained or 1 const char *s; 1 const char *p_next; 1 const char *p; 1 const char *name; 1 const char *base; 1 concat_name[p_len] = '/'; 1 concat_name = xstrdup (wrapper); 1 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); 1 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 1 compiler_flags+=" $wl$qarg" 1 compiler_flags+=" $wl$func_quote_for_eval_result" 1 compiler_flags+=" $func_quote_for_eval_result" 1 compile_var="$runpath_var=\"$rpath\$$runpath_var\" " 1 compile_deplibs="$new_inherited_linker_flags $compile_deplibs" 1 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` 1 compile_command+=" @OUTPUT@" 1 compile_command+=" $wl$qarg" 1 compile_command+=" $link_static_flag" 1 compile_command+=" $arg" 1 clean|compile|execute|finish|install|link|relink|uninstall) ;; 1 char tmp[LT_PATHMAX + 1]; 1 char buf[LT_PATHMAX]; 1 char *tmp_pathspec; 1 char *tmp_pathspec = xstrdup (pathspec); 1 char *target_name; 1 char *quoted_string; 1 char *new_value; 1 char *lt_argv_zero; 1 char *concat_name; 1 char *actual_cwrapper_path; 1 char *actual_cwrapper_name; 1 char **newargz; 1 char **new_argv; 1 cd $my_xdir || exit $? 1 cat \$export_symbols >> \$output_objdir/\$soname.def; 1 cat > conftest.c <<EOF 1 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 1 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac 1 case ,$2, in 1 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 1 case $win32_fileres in 1 case $tmp_deplibs in 1 case $p in 1 case $need_lib_prefix in 1 case $libdir in 1 case $lib in 1 case $host_os in 1 case $host,$output,$installed,$module,$dlname in 1 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in 1 case $func_resolve_sysroot_result in 1 case $func_normal_abspath_tpath in 1 case $file:$destfile in 1 case $dir in 1 case $1 in 1 case "$pre_post_deps " in 1 case "$perm_rpath " in 1 case "$opt_mode" in 1 case "$lt_sysroot:$1" in 1 case "$host" in 1 case "$future_libdirs " in 1 case "$finalize_perm_rpath " in 1 case "$current_libdirs " in 1 case " $predeps $postdeps " in 1 case " $deplibs " in 1 case " $convenience " in 1 case " $compile_deplibs " in 1 build_old_libs=yes 1 build_libtool_libs=no 1 build_libtool_libs=convenience 1 bindir="$arg" 1 base_compile+=" $lastarg" 1 assert (str != NULL); 1 assert (pat != NULL); 1 args=$func_stripname_result 1 arg_mode=target 1 arg_mode=arg # the next one goes into the "base_compile" arg list 1 arg=$save_arg 1 arg="$pic_object" 1 arg+=" $wl$func_quote_for_eval_result" 1 arg+=" $func_quote_for_eval_result" 1 allow_undefined_flag="$no_undefined_flag" 1 alldeplibs=yes 1 alias -g '\${1+\"\$@\"}'='\"\$@\"' 1 alias -g '${1+"$@"}'='"$@"' 1 age="$3" 1 add="$dir/$old_library" 1 actual_cwrapper_path); 1 actual_cwrapper_path = chase_symlinks (tmp_pathspec); 1 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); 1 actual_cwrapper_name = tmp_pathspec; 1 absdir=\`cd \"\$thisdir\" && pwd\` 1 abs_ladir=`cd "$ladir" && pwd` 1 [\\/]*|[A-Za-z]:\\*) ;; 1 [\\/]* | [A-Za-z]:[\\/]*) ;; 1 [0-9]* | *[!a-zA-Z0-9_]*) 1 XFREE (actual_cwrapper_path); 1 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 1 RANLIB=: 1 RANLIB=$save_RANLIB 1 ?*:"$lt_sysroot"*) 1 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 1 <assemblyIdentity version="1.0.0.0" 1 </trustInfo> 1 <!-- Identify the application security requirements. --> 1 ;; # *.$libext 1 ;; # replaced later. I would guess that would be a bug. 1 ::) dllsearchpath=$libdir;; 1 ::) dllsearchpath=$dir;; 1 /* wrapper name transforms */ 1 /* very simple arg parsing; don't want to rely on getopt 1 /* target_name transforms -- use actual target program name; might have lt- prefix */ 1 /* stop here, and copy so we don't have to do this twice */ 1 /* static buffer for getcwd */ 1 /* search backwards for last DIR_SEPARATOR */ 1 /* execv doesn't actually work on mingw as expected on unix */ 1 /* empty path: current directory */ 1 /* do NOT want the lt- prefix here, so use actual_cwrapper_name */ 1 /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must 1 /* The GNU banner must be the first non-error debug message */ 1 /* Skip over the disk name in MSDOS pathnames. */ 1 /* Relative path | not found in path: prepend cwd */ 1 /* Put quoted arguments into the new argument vector. */ 1 /* DO want the lt- prefix here if it exists, so use target_name */ 1 /* Count number of arguments. */ 1 /* Allocate new argument vector. */ 1 /* Absolute path? */ 1 -weak LIBNAME declare that the target provides the LIBNAME interface 1 -version-info CURRENT[:REVISION[:AGE]] 1 -static-libtool-libs 1 -static only build a \`.o' file suitable for static linking 1 -static do not do any dynamic linking of uninstalled libtool libraries 1 -shrext SUFFIX override the standard shared library file extension 1 -shared only do dynamic linking of libtool libraries 1 -shared do not build a \`.o' file suitable for static linking 1 -rpath LIBDIR the created library will eventually be installed in LIBDIR 1 -release RELEASE specify package release information 1 -prefer-pic try to build PIC objects only 1 -prefer-non-pic try to build non-PIC objects only 1 -precious-files-regex REGEX 1 -pie | -fpie | -fPIE) ;; 1 -objectlist FILE Use a list of object files found in FILE to specify objects 1 -o OUTPUT-FILE set the output file name to OUTPUT-FILE 1 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects 1 -no-undefined declare that a library does not refer to external symbols 1 -no-suppress do not suppress compiler output for multiple passes 1 -no-install link a not-installable executable 1 -no-fast-install disable the fast-install mode 1 -module build a library that can dlopened 1 -lNAME OUTPUT-FILE requires the installed library libNAME 1 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation 1 -export-symbols-regex REGEX 1 -export-symbols SYMFILE 1 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) 1 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols 1 -dlopen FILE add the directory containing FILE to the library path 1 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime 1 -bindir BINDIR specify path to binaries directory (for systems where 1 -avoid-version do not add a version suffix if possible 1 -all-static do not do any dynamic linking at all 1 -Xlinker FLAG pass linker-specific FLAG directly to the linker 1 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler 1 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) 1 -Wl,FLAG 1 -Wc,FLAG pass FLAG directly to the compiler 1 -Wc,FLAG 1 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries 1 -LLIBDIR search LIBDIR for required installed libraries 1 *instal*|*patch*|*setup*|*update*) 1 *executable*) # but shell scripts are "executable" too... 1 *cygwin*) 1 *cygwin* | *mingw* | *cegcc*) 1 *cygwin* | *mingw* ) 1 *ar\ archive\ import\ library*) # definitely import 1 *ar\ archive*) # could be an import, or static 1 *[\\/]*) 1 *:*.exe) 1 *.la) ;; 1 *.la | *.lo) ;; # We handle these cases below. 1 *.exe:*.exe) 1 *.exe:*) 1 *.exe) func_stripname '' '.exe' "$output" 1 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ 1 *-*-sysv4*uw2*) add_dir="-L$dir" ;; 1 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; 1 *-*-os2*) 1 *-*-netbsd*) 1 *-*-mingw | *-*-os2* | *-cegcc*) 1 *-*-hpux*) 1 *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) 1 *-*-darwin* ) 1 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) 1 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) 1 *) symtab_cflags+=" $arg" ;; 1 *) rmdirs+=" $odir" ;; 1 *) perm_rpath+=" $libdir" ;; 1 *) future_libdirs+=" $libdir" ;; 1 *) func_error "invalid argument for $opt" 1 *) finalize_perm_rpath+=" $libdir" ;; 1 *) exeext= ;; 1 *) dllsearchpath+=":$libdir";; 1 *) dllsearchpath+=":$dir";; 1 *) current_libdirs+=" $libdir" ;; 1 *":$libdir:"*) ;; 1 *":$dir:"*) ;; 1 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 1 *" $test_deplib "*) ;; 1 *" $pre_post_dep "*) specialdeplibs+=" $pre_post_deps" ;; 1 *" $odir "*) ;; 1 *" $i "*) 1 ( cd "$output_objdir" && \ 1 ${RM}r "$tmpdir" 1 $to_host_path_cmd "$1" 1 $to_host_file_cmd "$1" 1 $opt_silent || { 1 $opt_help || { 1 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? 1 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? 1 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' 1 $opt_dry_run || eval "$cmds" || admincmds+=" 1 $opt_dry_run || eval "$cmd" || { 1 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" 1 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" 1 $opt_dry_run || ${RM}r "$tmpdir" 1 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 1 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 1 $opt_dry_run || $RM conftest.c 1 $opt_dry_run || $RM conftest 1 $exit_cmd $EXIT_FAILURE 1 $RM $output 1 $OBJDUMP -s --section "$1" "$2" 2>/dev/null | 1 $ECHO > $output "\ 1 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" 1 $ECHO "*** with $libname but no candidates were found. (...for file magic test)" 1 $ECHO "*** using a regex pattern. Last file checked: $potlib" 1 $ECHO "*** using a file magic. Last file checked: $potlib" 1 $ECHO "*** objects $objs is not portable!" 1 $ECHO "*** Warning: Linking the shared library $output against the non-libtool" 1 $ECHO "*** Warning! Library $i is needed by this library but I was not able to" 1 $ECHO "$win32_libid_type" 1 $ECHO "$func_to_tool_file_result" 1 $2 ) func_to_host_path_result+="$3" 1 $1 ) func_to_host_path_result="$3$func_to_host_path_result" 1 # whole_archive_flag_spec was expanded, because we can't 1 # which has an extra 1 added just for fun 1 # whether they linked in statically or dynamically with ldd. 1 # whether the library exists or not. But this is on 1 # want to use save_libobjs as it was before 1 # verstring for coding it into the library header 1 # value of $libobjs for piecewise linking. 1 # use them later. If we have whole_archive_flag_spec, we 1 # use the current revision as the major version 1 # unfortunately, winepath doesn't convert paths, only file names 1 # though. Also, the filter scales superlinearly with the number of 1 # this just eases exit handling 1 # there is one (and only one) here. 1 # there but not specially marked. 1 # the spec. 1 # the path to end with a slash for ease of parsing, so make sure 1 # the cwrapper. 1 # the command line is too long to link in one step, link in parts 1 # tests/bindir.at for full details. 1 # systems that can't hard-code library paths into their executables 1 # systems (darwin). Don't bleat about dlopened modules though! 1 # shared platforms. 1 # script. 1 # save first non-option argument 1 # preserve --debug 1 # place dlname in correct position for cygwin 1 # pic_flag when linking with -static. The problem exists in 1 # osf3 & osf4 and I'm not really sure... Just 1 # or, if using GNU ld and skipped_export is not :, use a linker 1 # object format with DLL files. See the long comment at the top of 1 # location b/c this prevents finding dependent libraries that 1 # linked before any other PIC object. But we must not use 1 # limits. Maybe even breaks it. We compile a program, linking it 1 # libtool variables, so we have to hard-code the OSs to which it 1 # isn't a blessed tool. 1 # is not unsupported. This is valid on all known static and 1 # install mode needs the following variables: 1 # initialize k to one. 1 # implementing what was already the behavior. 1 # has declared as weak libs 1 # global variables. join(1) would be nice here, but unfortunately 1 # file name can be directly appended. 1 # extension on DOS 8.3 filesystems. 1 # else relative path ending with a slash; either way, target 1 # convenience libraries should have the same extension an 1 # convenience libraries get linked in and end up exceeding 1 # compiling the symbol table file with pic_flag works around 1 # command to the queue. 1 # but it's something to keep an eye on. 1 # but it turns out we can't easily determine that from inspecting 1 # awkward: cmd appends spaces to result 1 # assume the linker understands whole_archive_flag_spec. 1 # are installed to the same prefix. 1 # are installed into $libdir/../bin (currently, that works fine) 1 # archive normally would. 1 # applies here; at the moment, that means platforms that use the PE 1 # and those that subtract age and use age as 1 # and that have no shared library path variable independent of PATH, 1 # and Darwin in order for the loader to find any dlls it needs. 1 # against the deplibs as a proxy for the library. Then we can check 1 # a minor version. But, then there is irix 1 # a FreeBSD bug that causes programs to crash when -lm is 1 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which 1 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1 # Will only happen for absolute or sysroot arguments 1 # When we are sourced in execute mode, \$file and \$ECHO are already set. 1 # We need an absolute path. 1 # Warn if it was a shared library. 1 # Warn about portability, can't link against -module's on some 1 # Validate tagname. 1 # Validate options: 1 # Valid mode arguments: 1 # Usually 'no', except on cygwin/mingw when embedded into 1 # Use '-' rather than '.', since we only want one 1 # Try to get the absolute directory name. 1 # Try sorting and uniquifying the output. 1 # This might be a little naive. We might want to check 1 # This may have to be revisited, in case too many 1 # This library was specified with -dlopen. 1 # This is the magic to use -rpath. 1 # This is a shared library 1 # This code stresses the "libraries are programs" paradigm to its 1 # There are really only two kinds -- those that 1 # The previous "srcfile" becomes the current argument. 1 # The library was specified with -dlpreopen. 1 # The given exports_symbols file has to be filtered, so filter it. 1 # The command line is too long to link in one step, link piecewise 1 # The command $test_cmds is almost too long, add a 1 # The PATH hackery in wrapper scripts is required on Windows 1 # Substitute the hardcoded libdirs into the rpath. 1 # Start from root dir and reassemble the path. 1 # Some compilers have problems with a `.al' extension so 1 # See comment for -static flag below, for more details. 1 # Save the value of $output and $libobjs because we want to 1 # Restore the value of output. 1 # Restore leading double-slash if one was found on entry. 1 # Print the debug banner immediately: 1 # Preserve sysroot, but never include relative directories 1 # Prepare the list of exported symbols 1 # Parse options 1 # Only check for convenience libraries 1 # Only an error if not doing a dry-run. 1 # On all known operating systems, these are identical. 1 # On Rhapsody replace the C library with the System framework 1 # Now calculate path; take care to avoid doubling-up slashes. 1 # Note the libdir as a future libdir. 1 # Not a shared library 1 # Normalisation. If bindir is libdir, return empty string, 1 # Non-PIC object. 1 # Make sure we have at least an empty file. 1 # Make sure lib_search_path contains only unique directories. 1 # Make executables depend on our current version. 1 # Link the convenience library 1 # Link against this library 1 # Like Linux, but with the current version available in 1 # Just accumulate the unique libdirs. 1 # Is there a better way of finding the last object in the list? 1 # Install the shared library and build the symlinks. 1 # In fact, it would be nice if we could use this code for all target 1 # Ignore non-libtool-libs 1 # If the PIC object exists, use it instead. 1 # Here we assume that one of hardcode_direct or hardcode_minus_L 1 # Hardcode the library paths 1 # Global variable: 1 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. 1 # Follow symbolic links until we get to the real thisdir. 1 # Find the directory that this script lives in. 1 # FIXME: $output_objdir/$libname.filter potentially contains lots of 1 # Expand the library linking commands again to reset the 1 # Don't test for the "default" C tag, as we know it's 1 # Don't check for shared/static. Everything works. 1 # Don't allow undefined symbols. 1 # Don't allow the user to place us outside of our expected 1 # Do the single finish_eval. 1 # Do each of the archive commands. 1 # Do each command in the postinstall commands. 1 # Do each command in the finish commands. 1 # Do a test to see if this is a libtool program. 1 # Determine the prefix the user has applied to our future dir. 1 # Delete the libtool libraries and symlinks. 1 # Deduce the name of the old-style object file. 1 # Darwin ld doesn't like 0 for these options... 1 # Collect preopened libtool deplibs, except any this library 1 # Clear the reloadable object creation command queue and 1 # Check the variables that should have been set. 1 # Catch anything else as an error 1 # Cancel out all the simple stuff to save iterations. We also want 1 # CHECK ME: I think I busted this. -Ossama 1 # Building a libtool convenience library. 1 # Before this point, $major must not contain `.'. 1 # Bail if the options were screwed 1 # Backslashes separate directories on plain windows 1 # At present, this check doesn't affect windows .dll's that 1 # Ascend the tree starting from libdir 1 # Append the command to remove temporary files to $cmds. 1 # Add the arguments to base_compile. 1 # Add the "lib" prefix for modules if required 1 # Add our own program objects to the symbol list. 1 # Add non-PIC object to the list of files to remove. 1 # Add libraries to $var in reverse order 1 # Add PIC object to the list of files to remove. 1 # Accept the current argument as the source file. 1 # A standard non-PIC object 1 # A PIC object. 1 # ... and its dependency_libs 1 # 's' commands which not all seds can handle. GNU sed should be fine 1 # $xdir was prepended to $pic_object above. 1 # $? = 77 is used to indicate a skipped test to automake. 1 "(main) libtool target name: %s\n", 1 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", 1 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", 1 "(lt_setenv) setting '%s' to '%s'\n", 1 { test "$use_static_libs" = no || test -z "$old_library"; }; then 1 { test "$prefer_static_libs" = yes || 1 { test "$linkmode" != prog && test "$linkmode" != lib; }; then 1 test -z "$non_pic_object" || 1 test "$pic_object" = none && 1 test "$non_pic_object" = none; then 1 test "$linkmode,$pass" = "prog,scan" || 1 test "$len" -lt "$max_cmd_len"; then 1 test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then 1 special way: 1 relocations are performed -- see ld's documentation on pseudo-relocs. */ 1 newly allocated full path name if found, NULL otherwise 1 libraries that it depends on are installed. 1 len=$func_len_result && 1 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a 1 func_len " $test_cmds" && 1 case " $xrpath " in 1 This wrapper executable should never be moved out of the build directory. 1 The $output program cannot be directly executed until all the libtool 1 Note that spawn() does not by itself call the command interpreter 1 Instead it simply concatenates the arguments, separated by ' ', and calls 1 If it is, it will not operate correctly. 1 Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION 1 Does not chase symlinks, even on platforms that support them. 1 CreateProcess(). We must quote the arguments since Win32 CreateProcess() 1 - Unescaped double quotes are removed from the input. Their only effect is 1 - Space and tab are interpreted as delimiters. They are not treated as 1 - But 2*n+1 backslashes followed by a double quote become 1 - Backslashes not followed by double quotes are not special. 1 *) xrpath+=" $temp_xrpath";; 1 *" $temp_xrpath "*) ;; 1 * argz[0], which is handled differently 1 * also, copy all non cwrapper options to newargz, except 1 'stat=$?; rm -f "$lockfile"; exit $stat' 1 # Do not include libc_r directly, use -pthread flag. 1 }' < "$progpath" 1 } | sed -n '1p; 2,$s/^Usage:/ or: /p' 1 || func_fatal_error "symbol file \`$arg' does not exist" 1 | $EGREP "$match_pattern_regex" > /dev/null; then 1 { $RM \"\$progdir/\$program\"; 1 xrpath= 1 x86_64-*-* ) echo ' processorArchitecture="amd64"' ;; 1 write_libobj=${1} 1 wrapper=$file 1 win32_libid_type="x86 archive import" 1 win32_libid_type="x86 DLL" 1 whole_archive_flag_spec= 1 while test "$#" -gt 0; do 1 while ((p = strchr (newargz[0], '\\')) != NULL) 1 while ((p = strchr (lt_argv_zero, '\\')) != NULL) 1 weak_libs= 1 vinfo_number=no 1 vinfo= 1 versuffix=".0.0" 1 versuffix= 1 verstring="0.0" 1 verstring="$verstring_prefix$major.$iface:$verstring" 1 verstring="$verstring:${iface}.0" 1 verstring= 1 valid_a_lib=yes 1 trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 1 trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 1 trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 1 trap "$RM $cwrappersource $cwrapper $cwrapper.manifest; exit $EXIT_FAILURE" 1 2 15 1 tool_output_objdir=$func_to_tool_file_result 1 to_host_path_cmd="func_convert_path_${func_stripname_result}" 1 tmp_pathspec, nonnull (strerror (errno))); 1 tmp_libs+=" $func_resolve_sysroot_result" 1 tmp_deplibs+=" $test_deplib" 1 thread_safe=no 1 test -z "$libobjs"; then 1 test -z "$install_prog" && \ 1 test -z "$cmd" && \ 1 test -z "$base_compile" && \ 1 test -z "$RM" && \ 1 test -n "$save_libobjs" && 1 test -n "$old_library" && linklib="$old_library" 1 test -n "$old_archive_from_new_cmds" && build_old_libs=yes 1 test -n "$libdir" && rmfiles+=" $odir/$name $odir/${name}i" 1 test -n "$generated" && \ 1 test -n "$future_libdirs" && \ 1 test -f "$1" && 1 test -d "$dest" && isdir=yes 1 test "X$libobj" != "X$func_quote_for_eval_result" \ 1 test "$pass" = conv && continue 1 test "$lalib_p" = yes 1 test "$compiler_needs_object" = yes && 1 temp_rpath= 1 temp_deplibs= 1 target) 1 suppress_output= 1 suppress_opt=yes 1 strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1)); 1 stripme= 1 staticlibs= 1 srcfile=$func_to_tool_file_result 1 srcfile="$nonopt" # always keep a non-empty value in "srcfile" 1 sprintf (str, "%s=%s", name, value); 1 specialdeplibs= 1 soroot="$soname" 1 soname="$func_basename_result" 1 single_module="${wl}-single_module" 1 shopt -s nocaseglob 1 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` 1 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` 1 sharedlib_from_linklib_result="" 1 setenv (name, str, 1); 1 set x $save_libobjs 1 set dummy $library_names 1 set dummy $deplib_matches; shift 1 sed '1d 1 searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" 1 searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" 1 save_ifs=$IFS; IFS='~' 1 save_arg=$arg 1 s/^.\{43\}//' | 1 s,.*,import, 1 rmforce= 1 rmfiles+=" ${name}.manifest $objdir/${name}.manifest" 1 rmfiles+=" $odir/$name $odir/${name}S.${objext}" 1 rmfiles+=" $odir/$n" 1 rmfiles+=" $file" 1 rmfiles+=" $dir/$pic_object" 1 rmfiles+=" $dir/$non_pic_object" 1 rmdirs= 1 revision="$number_revision" 1 return NULL; 1 return 1; 1 ret=$? 1 removelist+=" $lockfile" 1 reload_objs=$objlist 1 reload_objs="$objlist $last_robj" 1 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` 1 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` 1 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` 1 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" 1 relink_command="$var=; export $var; $relink_command" 1 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" 1 relink_command= 1 relink) 1 release= 1 realname="$1" 1 read lalib_p_line 1 re_endcf='^# ### END LIBTOOL' 1 re_begincf='^# ### BEGIN LIBTOOL' 1 qsrcfile=$func_quote_for_eval_result 1 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` 1 prevarg= 1 preload=yes 1 preload=no 1 prefer_static_libs=no 1 precious_files_regex= 1 potlib="$potent_lib" # see symlink-check above in file_magic test 1 pie_flag= 1 pic_object=$xdir$objdir/$func_lo2o_result 1 pic_object="$xdir$pic_object" 1 pic_flag_for_symtable=" $pic_flag" ;; 1 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; 1 perm_rpath= 1 outputname=$func_stripname_result ;; 1 outputname="$func_basename_result" 1 output_path=$func_dirname_result 1 output_objdir="$func_dirname_result$objdir" 1 output_name=$func_basename_result 1 output=${output_objdir}/${output_la}.lnkscript 1 output=${output_objdir}/${output_la}.lnk 1 output=$func_to_tool_file_result 1 output=$firstobj\"$file_list_spec$func_to_tool_file_result\" 1 output="$output_objdir/$outputname"i 1 opt="$1" 1 oldobjs+=" $symfileobj" 1 oldlibs= 1 oldlib) 1 old_deplibs= 1 old_convenience= 1 old_convenience+=" $ladir/$objdir/$old_library" 1 oldIFS=$IFS 1 objname="$func_basename_result" 1 objlist+=" $obj" 1 objbase="$func_basename_result" 1 notinst_path= # paths that contain not-installed libtool libraries 1 notinst_deplibs= # not-installed libtool libraries 1 nonstopux) verstring_prefix=nonstopux ;; 1 nonopt="$opt" 1 non_pic_objects= 1 non_pic_object=$xdir$func_lo2o_result 1 non_pic_object="$xdir$non_pic_object" 1 non_pic_object="$pic_object" 1 noexename=$func_stripname_result 1 no_mode=false 1 no_mode=: 1 no_install=no 1 newlib_search_path= 1 newlib=libimp-$func_stripname_result.a 1 newdlfiles+=" $lib" 1 new_inherited_linker_flags= 1 need_relink=no # whether we're linking any uninstalled libtool libraries 1 name += 2; 1 my_xlib="" 1 my_xdir="" 1 my_xabs="" 1 my_template="${TMPDIR-/tmp}/${1-$progname}" 1 my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` 1 my_pic_p="${3-no}" 1 my_outputname="$1" 1 my_originator="$2" 1 my_oldobjs="" 1 my_oldlibs=${1+"$@"} 1 my_gentop="$1"; shift 1 my_dlsyms= 1 my_directory_path="$1" 1 my_dir_list= 1 moreargs= 1 module=no 1 ltlibs= 1 lt_irix_increment=no 1 lt_fatal (__FILE__, __LINE__, "memory exhausted"); 1 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]); 1 lt_exit=$? 1 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` 1 lobj=${xdir}$objdir/$objname 1 ll="$l" 1 linklib=$newlib 1 linklib="$l" 1 linker_flags= 1 linkalldeplibs=yes 1 link_static=yes 1 libtool_execute_magic="$magic" 1 libtool_args=$nonopt 1 libobjs_save="$libobjs" 1 libobjs= 1 libobjs+=" $func_extract_archives_result" 1 libobj= 1 libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test 1 libdirs= 1 libdir="$hardcode_libdirs" 1 libdir="$abs_ladir" 1 libdir= 1 lib_search_path=`pwd` 1 lib_linked=yes 1 lib=$ladir/$old_library 1 length++; 1 length += backslashes + 1; 1 len=$func_arith_result 1 ldd_output=`ldd conftest` 1 later= 1 last_oldobj=$obj 1 lalib_p=no 1 ladir="$func_dirname_result" 1 isdir=no 1 int len = strlen (name) + 1 + strlen (value) + 1; 1 install_type= 1 install_shared_prog=$install_prog 1 install_prog+="$func_quote_for_eval_result" 1 inst_prefix_dir= 1 immediate | unsupported) 1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then 1 if test \"x\$destdir\" != \"x\$file\"; then 1 if test \"\$thisdir\" = \".\"; then 1 if test \"\$libtool_execute_magic\" != \"$magic\"; then 1 if test -z "$whole_archive_flag_spec"; then 1 if test -z "$pic_object" || test "$pic_object" = none ; then 1 if test -z "$old_library"; then 1 if test -z "$install_libdir"; then 1 if test -z "$global_symbol_pipe"; then 1 if test -z "$files"; then 1 if test -z "$1"; then 1 if test -n \"\$relink_command\"; then 1 if test -n "$shlibpath_var"; then 1 if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then 1 if test -n "$save_libobjs"; then 1 if test -n "$orig_export_symbols"; then 1 if test -n "$opt_dlopen" && test "$opt_mode" != execute; then 1 if test -n "$old_library"; then 1 if test -n "$my_dlsyms"; then 1 if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then 1 if test -n "$libs"; then 1 if test -n "$library_names"; then 1 if test -n "$libdir" && test ! -f "$libfile"; then 1 if test -n "$install_override_mode" && $no_mode; then 1 if test -n "$hardcode_libdir_flag_spec_ld"; then 1 if test -n "$hardcode_libdir_flag_spec"; then 1 if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then 1 if test -n "$export_symbols_regex" && ${skipped_export-false}; then 1 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then 1 if test -n "$export_symbols" && test -n "$include_expsyms"; then 1 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then 1 if test -n "$dlname"; then 1 if test -n "$dllsearchpath"; then 1 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then 1 if test -n "$current_libdirs"; then 1 if test -n "$available_tags" && test -z "$tagname"; then 1 if test -n "$add_shlibpath"; then 1 if test -f "$output_objdir/$soname-def"; then : 1 if test -f "$output_objdir/$newlib"; then :; else 1 if test -f "$lib"; then 1 if test -f "$absdir/$objdir/$depdepl" ; then 1 if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then 1 if test "x`$SED 1q $export_symbols`" != xEXPORTS; then 1 if test "x$1" != "x$2"; then 1 if test "X$opt_dry_run" = Xfalse; then 1 if test "X$noexename" != "X$name" ; then 1 if test "X$my_pic_p" != Xno; then 1 if test "X$dlpremoduletest" = "X$lib"; then 1 if test "X$deplibs_check_method" = "Xnone"; then 1 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 1 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then 1 if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then 1 if test "$pass" = scan; then 1 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then 1 if test "$pass" = conv; then 1 if test "$pass" != link; then 1 if test "$opt_mode" = relink; then 1 if test "$opt_dry_run" = ":"; then 1 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || 1 if test "$need_locks" = yes; then 1 if test "$module" = yes; then 1 if test "$linkmode" = prog || test "$linkmode" = lib; then 1 if test "$linkmode" = lib; then 1 if test "$linkalldeplibs" = yes; then 1 if test "$lib_linked" != yes; then 1 if test "$len" -lt "$max_cmd_len"; then 1 if test "$isdir" = yes; then 1 if test "$installed" = no; then 1 if test "$hardcode_direct" = yes && 1 if test "$func_normal_abspath_tpath" = / ; then 1 if test "$fast_install" = yes; then 1 if test "$fast_install" = yes && test -n "$relink_command"; then 1 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then 1 if test "$dlself" = no; then 1 if test "$compiler_needs_object" = yes; then 1 if test "$compiler_c_o" = no; then 1 if test "$build_old_libs" = no; then 1 if test "$build_libtool_need_lc" = "yes"; then 1 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 1 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then 1 if test "$allow_undefined" = no; then 1 if test "$VERSION" != "$macro_version"; then 1 if test "$?" -ne 0; then 1 if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then 1 if test ! -f "$file"; then 1 if test ! -d \"\$progdir\"; then 1 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | 1 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ 1 if /usr/bin/file -L $add 2> /dev/null | 1 if (putenv (str) != EXIT_SUCCESS) 1 if (IS_DIR_SEPARATOR (*name)) 1 if (*p == '/') 1 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then 1 if ${skipped_export-false}; then 1 ia64-*-* ) echo ' processorArchitecture="ia64"' ;; 1 i?86-*-* ) echo ' processorArchitecture="x86"' ;; 1 help="Try \`$progname --help --mode=$opt_mode' for more information." 1 hardcode_libdirs+="$hardcode_libdir_separator$libdir" 1 gentop="$output_objdir/${outputname}x" 1 generic_help="$help" 1 generated= 1 generated+=" $gentop" 1 future_libdirs= 1 func_xform_result=${1%.*}.lo 1 func_warning "undefined symbols not allowed in $host shared libraries" 1 func_warning "passing it literally to the linker, although it might fail" 1 func_warning "library \`$lib' was moved." 1 func_warning "complete static linking is impossible in this configuration" 1 func_warning "cannot determine absolute directory name of \`$ladir'" 1 func_warning "cannot determine absolute directory name of \`$dir'" 1 func_warning "\`-l' is ignored for archives/objects" 1 func_warning "\`-L' is ignored for archives/objects" 1 func_warning "\`$file' was not linked with \`-export-dynamic'" 1 func_warning "\`$deplib' seems to be moved" 1 func_verbose "generating symbol list for \`$libname.la'" 1 func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" 1 func_verbose "creating linker input file list: $output" 1 func_verbose "creating GNU ld script: $output" 1 func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" 1 func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` 1 func_tr_sh_result=$1 1 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 1 func_to_tool_file "$progfile" func_convert_file_msys_to_w32 1 func_to_tool_file "$output_objdir/" 1 func_to_tool_file "$obj" 1 func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` 1 func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" 1 func_to_host_path_result="$func_convert_core_msys_to_w32_result" 1 func_to_host_file_result=`cygpath -m "$1"` 1 func_to_host_file_result="$func_convert_core_msys_to_w32_result" 1 func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" 1 func_to_host_file_result="$1" 1 func_stripname_result=${func_stripname_result%"${2}"} 1 func_stripname_result=${func_stripname_result#"${1}"} 1 func_stripname_result=${3} 1 func_stripname 'lib' '.dll' "$soname" 1 func_stripname 'func_convert_file_' '' "$to_host_file_cmd" 1 func_stripname '=' '' "$func_resolve_sysroot_result" 1 func_stripname './' '' "$func_relative_path_result/" 1 func_stripname '-R' '' "$deplib" 1 func_stripname '' '/' "$dest" 1 func_stripname '' '.exe' "$outputname" 1 func_stripname '' '.exe' "$name" 1 func_stripname '' '.exe' "$func_basename_result" 1 func_stripname '' '.exe' "$file" 1 func_stripname '' '.exe' "$destfile" 1 func_stripname "$lt_sysroot" '' "$1" 1 func_split_short_opt_name=${1%"$func_split_short_opt_arg"} 1 func_split_short_opt_arg=${1#??} 1 func_split_long_opt_name=${1%%=*} 1 func_split_long_opt_arg=${1#*=} 1 func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' 1 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 1 func_show_eval "$striplib $destdir/$realname" 'exit $?' 1 func_resolve_sysroot_result=$lt_sysroot$func_stripname_result 1 func_replace_sysroot_result=$1 1 func_replace_sysroot_result="=$func_stripname_result" 1 func_relative_path_result=${func_relative_path_result}/${func_stripname_result} 1 func_relative_path_result=$func_stripname_result 1 func_quote_for_expand_result="$my_arg" 1 func_quote_for_expand "$cmd" 1 func_quote_for_eval "${2}" 1 func_quote_for_eval "$var_value" 1 func_quote_for_eval "$srcfile" 1 func_quote_for_eval "$libobj" 1 func_quote_for_eval "$arg" 1 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ 1 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ 1 func_mode_uninstall ${1+"$@"} 1 func_mode_link ${1+"$@"} 1 func_mode_help 1 func_mkdir_p "$output_objdir" 1 func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" 1 func_ltwrapper_scriptname $cwrapper 1 func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" 1 func_ltwrapper_exec_suffix= 1 func_lo2o "$arg" 1 func_len_result=${#1} 1 func_len " $obj" 1 func_lalib_p "$1" 1 func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" 1 func_fatal_error "you cannot specify \`-o' more than once" 1 func_fatal_error "require no space between \`-L' and \`$1'" 1 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" 1 func_fatal_error "only absolute run-paths are allowed" 1 func_fatal_error "need path for \`-L' option" 1 func_fatal_error "link input file \`$arg' does not exist" 1 func_fatal_error "invalid libtool wrapper script \`$wrapper'" 1 func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" 1 func_fatal_error "cannot find name of object for \`$arg'" 1 func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1 func_fatal_error "cannot determine absolute directory name of \`$dir'" 1 func_fatal_error "cannot -dlopen a convenience library: \`$lib'" 1 func_fatal_error "\`$lib' is not a convenience library" 1 func_fatal_error "\`$deplib' is not a valid libtool archive" 1 func_fatal_error "\`$arg' is not a valid libtool object" 1 func_fatal_error "Fatal configuration error." 1 func_fatal_error "$help" 1 func_extract_archives_result="$my_oldobjs" 1 func_extract_archives $gentop $convenience 1 func_extract_an_archive "$my_xdir" "$my_xabs" 1 func_error "missing argument for $1." 1 func_error "See the $PACKAGE documentation for more information." 1 func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" 1 func_error "Could not determine the host path corresponding to" 1 func_error "Could not determine host file name corresponding to" 1 func_error " \`$3'" 1 func_error " \`$1'" 1 func_emit_wrapper yes | 1 func_emit_wrapper no > $output 1 func_emit_exe_manifest > $output_path/$objdir/$output_name.exe.manifest 1 func_emit_exe_manifest > $cwrapper.manifest 1 func_emit_cwrapperexe_src > $cwrappersource 1 func_dirname_and_basename "$output" "" "." 1 func_dirname_and_basename "$obj" "/" "" 1 func_dirname_and_basename "$1" "" "." 1 func_dirname "$output" "/" "" 1 func_dirname "$lib" "" "." 1 func_dirname "$arg" "/" "" 1 func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` 1 func_cygpath_result= 1 func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" 1 func_cygpath -u -p "$func_convert_core_msys_to_w32_result" 1 func_cygpath -u "$func_convert_core_msys_to_w32_result" 1 func_cygpath -u "$func_convert_core_file_wine_to_w32_result" 1 func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` 1 func_check_version_match 1 func_basename "$soroot" 1 func_basename "$output" 1 func_basename "$obj" 1 func_basename "$deplib" 1 func_arith_result=$(( $* )) 1 func_arith $revision - $loop 1 func_arith $len + $func_len_result 1 func_arith $current - $loop 1 func_arith $current - $age + 1 1 func_arith $current - $age 1 func_append_quoted lastarg "$arg" 1 found=no 1 for tmp in $deplibrary_names ; do 1 for tagname in $taglist; do 1 for search_ext in .la $std_shrext .so .a; do 1 for pass in $passes; do 1 for opt in "$nonopt" ${1+"$@"} 1 for oldlib in $oldlibs; do 1 for obj in $save_libobjs 1 for obj 1 for my_xlib in $my_oldlibs; do 1 for linkname 1 for libdir in $dependency_libs; do 1 for i in $predeps $postdeps ; do 1 for func_convert_core_path_wine_to_w32_f in $1; do 1 for file in $staticlibs; do 1 for file in $opt_dlopen; do 1 for file 1 for fil in `cat "$save_arg"` 1 for dir in $rmdirs; do 1 for dir in $perm_rpath; do 1 for deplib in $deplibs; do 1 for darwin_file in $darwin_filelist; do 1 for darwin_arch in $darwin_arches ; do 1 for cmd1 in $cmds; do 1 for cmd in $concat_cmds; do 1 for cmd in $1; do 1 for arg in $later; do 1 for arg in $CC; do 1 firstobj= 1 finalize_shlibpath= 1 finalize_rpath= 1 finalize_deplibs="-l$name -L$dir $finalize_deplibs" 1 finalize_deplibs="$dir/$old_library $finalize_deplibs" 1 finalize_deplibs="$dir/$linklib $finalize_deplibs" 1 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` 1 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 1 finalize_command=$nonopt 1 finalize_command+=" @SYMFILE@" 1 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` 1 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` 1 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` 1 file=\"\$\$-\$program\" 1 file=\"\$0\"" 1 file=$func_stripname_result 1 f_ex_an_ar_oldlib="$1" 1 f_ex_an_ar_dir="$1"; shift 1 export_symbols_regex= 1 export_symbols="$output_objdir/$outputname.exp" 1 export_symbols="$output_objdir/$libname.exp" 1 export_symbols= 1 export_dynamic=no 1 export $shlibpath_var 1 exit_status=0 1 exit_cmd=exit 1 exit 1 1 exit (exit_status); 1 exit $lt_exit 1 exit $exit_status 1 exit $EXIT_MISMATCH 1 exit $EXIT_FAILURE 1 exeext=.exe 1 eval test_cmds=\"$module_expsym_cmds\" 1 eval test_cmds=\"$module_cmds\" 1 eval test_cmds=\"$archive_expsym_cmds\" 1 eval test_cmds=\"$archive_cmds\" 1 eval sys_lib_search_path=\"$sys_lib_search_path_spec\" 1 eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" 1 eval std_shrext=\"$shrext_cmds\" 1 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" 1 eval concat_cmds=\"$reload_cmds\" 1 eval cmds=\"\$concat_cmds~\$old_archive_cmds\" 1 eval cmds=\"\$concat_cmds\" 1 eval "func_echo $func_quote_for_expand_result" 1 eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" 1 eval "${1}+=\\ \$func_quote_for_eval_result" 1 eval "${1}+=\${2}" 1 eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" 1 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' 1 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" 1 eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" 1 elif test -n "$soname_spec"; then 1 elif test -n "$runpath_var"; then 1 elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then 1 elif test "$need_locks" = warn; then 1 elif test "$hardcode_shlibpath_var" = yes; then 1 elif test "$hardcode_minus_L" = yes; then 1 elif test "$hardcode_automatic" = yes; then 1 echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 1 echo 'INPUT (' > $output 1 echo '/* NONE */' >> "$output_objdir/$my_dlsyms" 1 echo ')' >> $output 1 echo "host: $host" 1 echo "*** shared version of the library, which you do not appear to have." 1 echo "*** shared version of the library, which I believe you do not have" 1 echo "*** or is declared to -dlopen it." 1 echo "*** its dynamic dependency list that programs get resolved with at runtime." 1 echo "*** because a test_compile did reveal that the linker did not use it for" 1 echo "*** automatically added whenever a program is linked with this library" 1 echo "*** application is linked with the -dlopen flag." 1 echo "*** a static module, that should work as long as the dlopening" 1 echo "*** Warning: libtool could not satisfy all declared inter-library" 1 echo "*** The inter-library dependencies that have been dropped here will be" 1 echo "*** All declared inter-library dependencies are being dropped." 1 done | sort | sort -uc >/dev/null 2>&1); then 1 done # for pass 1 done # for arg 1 done # argument parsing loop 1 done # $darwin_filelist 1 done # $darwin_arches 1 dlself=no 1 dlprefiles= 1 dlprefiles+=" $pic_object" 1 dlprefiles+=" $lib $dependency_libs" 1 dllsearchpath= 1 dlfiles= 1 dir=$output_objdir 1 dir=$func_resolve_sysroot_result 1 dir="$lt_sysroot$libdir" 1 dir="$ladir/$objdir" 1 destfile=$func_stripname_result 1 destfile=$destfile.exe 1 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` 1 dest=$func_stripname_result 1 deplibs="$lib $deplibs" # used for prog,scan pass 1 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` 1 deplib_match=$1 1 dependency_libs="$temp_deplibs" 1 dependency_libs="$newdependency_libs" 1 darwin_files= 1 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` 1 darwin_file= 1 darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` 1 darwin_arch= 1 cygwin* | mingw* | pw32* | os2* | cegcc*) 1 cwrappersource="$output_path/$objdir/lt-$output_name.c" 1 cwrapper="$output_path/$output_name.exe" 1 current_libdirs= 1 current="$number_major" 1 convenience= 1 convenience+=" $ladir/$objdir/$old_library" 1 compiler_flags= 1 compiler_flags+=" $deplib" 1 compile_shlibpath= 1 compile_rpath= 1 compile_deplibs="-l$name -L$dir $compile_deplibs" 1 compile_deplibs="$dir/$old_library $compile_deplibs" 1 compile_deplibs="$dir/$linklib $compile_deplibs" 1 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` 1 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 1 compile_command=$nonopt 1 compile_command+=" @SYMFILE@" 1 cmds=$module_expsym_cmds 1 cmds=$module_cmds 1 cmds=$export_symbols_cmds 1 cmds=$archive_expsym_cmds 1 cmds=$archive_cmds 1 cmd="$nonopt" 1 chmod +x $output_path/$objdir/$output_name.exe.manifest 1 chmod +x $output 1 chmod +x $cwrapper.manifest 1 char* p; 1 char *str = xstrdup (value); 1 char *str = XMALLOC (char, len); 1 cd $darwin_orig_dir 1 cd "$darwin_orig_dir" 1 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in 1 case \$lt_wr_arg in 1 case \"\$thisdir\" in 1 case \"\$lt_opt\" in 1 case $win32_fileres in 1 case $realname in 1 case $opt_mode in 1 case $opt in 1 case $my_arg in 1 case $hardcode_action in 1 case $func_relative_path_tbindir in 1 case $func_quote_for_eval_unquoted_result in 1 case $func_normal_abspath_tcomponent in 1 case $destdir in 1 case $arg_mode in 1 case "$rpath " in 1 case "$lib_search_path " in 1 case "$lalib_p_line" in 1 case "$host" in 1 case "$@ " in 1 case " $weak_libs " in 1 case " $predeps $postdeps " in 1 case " $oldobjs " in 1 case " $new_inherited_linker_flags " in 1 case " $library_names " in 1 case " $install_prog " in 1 case " $dlpreconveniencelibs " in 1 build_old_libs=yes 1 build_libtool_libs=no 1 bindir= 1 base_compile="$nonopt $@" 1 base_compile= 1 avoid_version=no 1 arg_mode=normal 1 arg="$pic_object" 1 arg="$non_pic_object" 1 arg2=$install_override_mode 1 age="0" 1 admincmds= 1 add_dir+=" -L$inst_prefix_dir$libdir" 1 absdir="$lt_sysroot$libdir" 1 absdir="$dir" 1 absdir="$abs_ladir/$objdir" 1 abs_ladir="$ladir" 1 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 1 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 1 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 1 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" 1 [\\/]*) 1 [\\/]* | [A-Za-z]:[\\/]*) ;; 1 [\\/]* | [A-Za-z]:[\\/]* | =*) deplibs+=" $arg" ;; 1 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); 1 XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); 1 XMALLOC (char, (strlen (actual_cwrapper_path) + 1 RM="$nonopt" 1 PATH=$dllsearchpath:\$PATH 1 IFS=$save_ifs 1 IFS=$oldIFS 1 ECHO=\"$qECHO\" 1 CC_quoted_expanded=`func_echo_all $CC_quoted` 1 CC_quoted= 1 CC_expanded=`func_echo_all $CC` 1 CC) ;; 1 > $tmpdir/tmp-la 1 <security> 1 </security> 1 : > $output 1 10.[0123]) 1 1,100{ 1 /^In archive [^:]*:/d 1 /^====MARK====/p 1 /^.\{43\}/!d 1 /* always make a copy, for consistency with !HAVE_SETENV */ 1 -e "$double_quote_subst" -e "$sed_double_backslash"` ;; 1 -R*) ;; 1 -L*) new_libs="$deplib $new_libs" ;; 1 -L*) func_stripname '-L' '' "$deplib" 1 --lt-dump-script) 1 --lt-debug) lt_option_debug=1 ;; 1 --lt-*) ;; 1 --lt-*) 1 *p++ = '\\'; 1 *p++ = '"'; 1 *import*) : ;; 1 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) 1 *cygwin* | *mingw* | *pw32* | *cegcc*) 1 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; 1 *[\ /]"$objbase "*) 1 *[!-_A-Za-z0-9,/]*) 1 *MS\ Windows\ PE\ Intel*) 1 */* | *\\*) 1 *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; 1 *.lo | *.$objext) linkmode=obj ;; 1 *.la) linkmode=lib ;; 1 *.exe) ;; 1 *.dll.a) 1 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ 1 *.ada | *.adb | *.ads | *.asm | \ 1 *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) 1 *.[cCFSifmso] | \ 1 *.$objext | *.gcno) 1 *.$libext) linkmode=oldlib ;; 1 *-*-unixware7*) add_dir="-L$dir" ;; 1 *-*-darwin*) 1 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) 1 *,"$to_tool_file_cmd",*) 1 *) xrpath+=" $dir" ;; 1 *) xrpath+=" $arg" ;; 1 *) tmp_libs+=" $deplib" ;; 1 *) test -n "$dlname" && rmfiles+=" $odir/$dlname" ;; 1 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; 1 *) rpath+=" $arg" ;; 1 *) oldobjs+=" $obj" ;; 1 *) linkmode=prog ;; # Anything else should be a program. 1 *) lib_search_path+=" $dir" ;; 1 *) lib_linked=no ;; 1 *) func_ltwrapper_exec_suffix=.exe ;; 1 *) false ;; 1 *) deplibs+=" -L$dir" ;; 1 *) deplibs+=" $deplib" ;; 1 *) passes="conv" 1 *) verstring_prefix=sgi ;; 1 *) echo ' processorArchitecture="*"' ;; 1 *" $i "*) 1 *" $dlname "*) ;; 1 *" $deplib_base "*) ;; 1 * ) new_inherited_linker_flags+=" $arg" ;; 1 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' 1 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` 1 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" 1 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) 1 $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 1 $opt_verbose && func_echo ${1+"$@"} 1 $opt_silent && exit $EXIT_SUCCESS 1 $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" 1 $opt_dry_run || $RM $removelist 1 $opt_dry_run || $RM $export_symbols 1 $objdir ) thisdir=. ;; 1 $nocaseglob 1 $my_cmd" 1 $SED -n '/^# Usage:/,/^# *.*--help/ { 1 $SED -n '/^# Usage:/,/# Report bugs to/ { 1 $SED -n '/(C)/!b go 1 $SED -n ' 1 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` 1 $SED -e '/^\./d;/^.\./d;q' 1 $SED '/^Contents of section '"$match_literal"':/{ 1 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" 1 $RM \"\$progdir/\$file\" 1 $RM -rf unfat-$$ 1 $RM $output 1 $RM $func_ltwrapper_scriptname_result 1 $RM $cwrappersource $cwrapper 1 $RM "${realname}T" && \ 1 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || 1 $MV "${realname}U" "$realname" ) 1 $MV "$nlist"T "$nlist" 1 $GREP -v "^: " < "$nlist" > "$nlist"S 1 $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 1 $GREP "$1" "$2" >/dev/null 2>&1 1 $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T 1 $ECHO >> $output "\ 1 $ECHO "run \`$progname --help | more' for full usage" 1 $ECHO "Try \`$progname --help' for more information about other modes." 1 $ECHO "*** dependencies of module $libname. Therefore, libtool will create" 1 $ECHO "*** Warning: dynamic linker does not accept needed library $i." 1 $ECHO "*** Warning: This system can not link to static lib archive $lib." 1 $ECHO "*** $linklib is not portable!" 1 $ECHO "$progname: ${opt_mode+$opt_mode: }$*" 1 $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 1 $ECHO "$my_tmpdir" 1 $ECHO "$func_to_tool_file_result" 1 $ECHO "$*" 1 #new_libs="$deplib $new_libs" 1 # zero AND non-empty stdout, which explains the odd construction: 1 # work around that: 1 # we take advantage of case's first-match behaviour. 1 # we now have a list, one entry per line, of the stringified 1 # we can't check for "0.0" in archive_cmds due to quoting 1 # use dlname if we got it. it's perfectly good, no? 1 # unknown 1 # two leading slashes without using negated character classes; 1 # this is ok 1 # these systems don't actually have a c library (as such)! 1 # the symlink we replace! Solaris /bin/ln does not understand -f, 1 # the situation: Compile a separate program for each library. 1 # the last one created. 1 # that the program can be linked against the static library. 1 # that are linked more than once (e.g. -la -lb -la) 1 # statically, we need to preload. We also need to preload any 1 # special handling for platforms with PE-DLLs. 1 # special case for '.' 1 # so we also need to try rm && ln -s. 1 # should not be "improved". See libtool.info. 1 # remove .libs from thisdir 1 # relink executable if necessary 1 # rather than running their programs. 1 # problems, so we reset it completely 1 # practice: 1 # positional parameters, so assign one to ordinary parameter first. 1 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 1 # note $name still contains .exe if it was in $file originally 1 # not support -o with -c 1 # ms-generated import library 1 # make sure the library variables are pointing to the new library 1 # link against it, someone is ignoring the earlier warnings 1 # into '.;' and ';.', and winepath ignores them completely. 1 # install_prog (especially on Windows NT). 1 # if the lib is a (non-dlopened) module then we can not 1 # figure out the soname 1 # fast_install is set to needless 1 # fails when set -e is in force, so we need another command to 1 # extract the archives, so we have objects to list. 1 # exporting using user supplied symfile 1 # executed on the $host or under an emulation environment. 1 # deplib doesn't seem to be a libtool library 1 # dependent libraries so libltdl's deplib preloader doesn't 1 # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. 1 # contents of the appropriate section of all members of the 1 # compiling, it, like the target executable, must be 1 # command is not found, the shell will set an exit code of 127 and print 1 # check if we have found a prefix of bindir 1 # character.) This should work for all archives with less than 1 # calculate the name of the file, without its directory 1 # but the system doesn't support it. 1 # but linking other static libraries is non-portable. 1 # bomb out in the load deplibs phase. 1 # binutils import library 1 # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; 1 # begins with a literal '.' or a single character followed by 1 # because it contains $host paths and files. If cross- 1 # because $build is cygwin, we call "the" cygpath in $PATH; no need to use 1 # bash bug again: 1 # as does the version of $file that was added into $rmfiles 1 # are forced to check the contents of stdout. On the other hand, if the 1 # are always uninteresting 1 # archive which possess that section. Heuristic: eliminate 1 # and winepath ignores them completely. 1 # all those which have a first or second character that is 1 # add $file without .exe 1 # a '.'. 1 # a '.' (that is, objdump's representation of an unprintable 1 # We're trying link a shared library against a static one 1 # We use this script file to make the link, it avoids creating a new file 1 # We should set the runpath_var. 1 # We only need to search for static libraries 1 # We need to know -static, to get the right output filenames. 1 # We need to hardcode the library path 1 # We need to do some special things here, and not later. 1 # We need to display help for each of the modes. 1 # We need to accept at least all the BSD install flags. 1 # Unfortunately, winepath does not exit with a non-zero error code, so we 1 # Try to remove the ${objdir}s in the directories where we deleted files 1 # Try `ln -sf' first, because the `ln' binary might depend on 1 # This variable tells wrapper scripts just to set shlibpath_var 1 # These systems don't actually have a C or math library (as such) 1 # These systems don't actually have a C library (as such) 1 # These lines can sometimes be longer than 43 characters, but 1 # There may be an optional sh(1) argument at the beginning of 1 # The wrapper executable is built using the $host compiler, 1 # The second colon is a workaround for a bug in BeOS R4 sed 1 # The real first argument should be the name of the installation program. 1 # The program doesn't exist. 1 # The next three entries are used to spot a run of precisely 1 # The first file doesn't have a previous command to add. 1 # The first argument is the command name. 1 # TODO: could optimize this to just extract one archive. 1 # Strip any trailing slash from the destination. 1 # Stick the inst_prefix_dir data into the link command. 1 # Some systems cannot cope with colon-terminated $shlibpath_var 1 # See if we need to build an old-fashioned archive. 1 # See if our shared archives depend on static archives. 1 # Sanity checks first: 1 # Rhapsody C library is in the System framework 1 # Rhapsody C and math libraries are in the System framework 1 # Restore the uninstalled library and exit 1 # Replace all uninstalled libtool libraries with the installed ones 1 # Remove leading and trailing path separator characters from ARG. MSYS 1 # Remove leading and trailing path separator characters from 1 # Remove all lines with less than 43 characters 1 # Recognize several different file suffixes. 1 # Processed it all yet? 1 # Preload the old-style object. 1 # Pragmatically, this seems to cause very few problems in 1 # Only execute mode is allowed to have -dlopen flags. 1 # Only build a position-dependent object if we build old libraries. 1 # Only build a PIC object if we are building libtool libraries. 1 # On Cygwin there's no "real" PIC flag so we must build both object types 1 # Of those that remain, print the first one. 1 # Now, create the wrapper script for func_source use: 1 # Now print the configurations for the tags. 1 # Now create the libtool archive. 1 # Need to link against all dependency_libs? 1 # Make sure the xrpath contains only unique directories. 1 # Make a new name for the extract_expsyms_cmds to use 1 # Loop through the commands generated above and execute them. 1 # Lock this critical section if it is needed 1 # Linking convenience modules into shared libraries is allowed, 1 # LT_CYGPATH in this case. 1 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. 1 # Just print a warning and add the library to dependency_libs so 1 # It is a libtool convenience library, so add in its objects. 1 # Install the binary that we compiled earlier. 1 # Including no sysroot. 1 # If there was a directory component, then change thisdir. 1 # If there is no dlname, no dlopen support or we're linking 1 # If the user specifies -o file.o, it is replaced with file.lo 1 # If the library has no export list, then create one now 1 # If the PIC object exists, use it instead. 1 # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, 1 # Handle -dlopen flags immediately. 1 # Go through the arguments, transforming them on the way. 1 # Get the compilation command and the source file. 1 # From remaining lines, remove first 43 characters 1 # Find all interdependent deplibs by searching for libraries 1 # Finalize command for both is simple: just hardcode it. 1 # Figure out what to do with it 1 # Fallback: 1 # Fallback. This is a deliberately simplistic "conversion" and 1 # FIXME: should reinstall the best remaining shared library. 1 # FIXME: Pedantically, this is the right thing to do, so 1 # Extract subdirectory from the argument. 1 # Extract -R from dependency_libs 1 # Exit here if they wanted silent mode. 1 # Evaluate the configuration. 1 # Error occurred in the first compile. Let's try to salvage 1 # Ensure marker is printed 1 # Don't link with libc until the a.out ld.so is fixed. 1 # Determine the type of output 1 # Delete the old symlinks, and create new ones. 1 # Delete any leftover library objects. 1 # Default configuration. 1 # Darwin sucks 1 # Create the object directory. 1 # Create $newlib 1 # Check to see that the destination is a directory. 1 # Check to see that each library is installed. 1 # Check if any of the arguments is a wrapper script. 1 # Change the help message to a mode-specific one. 1 # Calculate the filename of the output object if compiler does 1 # CHECK ME: I think I busted this. -Ossama 1 # All subsequent reloadable object files will link in 1 # Aesthetically quote it. 1 # Add the symbol object into the linking commands. 1 # Add the search paths of all dependency libraries 1 # Add the dll search path components to the executable PATH 1 # Add our own library path to $shlibpath_var 1 # Add libc to deplibs on all other systems if necessary. 1 # ARG. msys behavior is inconsistent here, cygpath turns them 1 # A standard non-PIC object 1 # A bug in bash halts the script if the last line of a function 1 # A PIC object. 1 # 0x302f exports -- but will fail for DLLs whose name actually 1 # *an error message* to stdout. So we must check for both error code of 1 # $xdir was prepended to $pic_object above. 1 # $file with .exe has already been added to rmfiles, 1 # that some nasty dependency loop isn't accidentally 1 # broken: 1 "unrecognized %s option: '%s'", 1 "error accessing file \"%s\": %s", 1 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) 1 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ 1 " ") oldobjs=$obj ;; 1 }' < "$progpath" 1 { { test "$prefer_static_libs" = no || 1 { test "$hardcode_into_libs" != yes || 1 { test "$deplibs_check_method" = pass_all || 1 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ 1 type="win32"/> 1 that within double quotes, space and tab are treated like normal 1 test -z "$non_pic_object" || 1 test -n "$progdir" || progdir=`pwd` 1 test -n "$hardcode_libdirs"; then 1 test "$prefer_static_libs,$installed" = "built,no"; }; then 1 test "$pic_object" = none && 1 test "$pic_object" != none; then 1 test "$non_pic_object" = none; then 1 test "$non_pic_object" != none; then 1 test "$hardcode_into_libs" = yes; then 1 test "$dlopen_support" != yes || 1 save_IFS="$IFS" 1 progdir=`cd "$progdir" && pwd` 1 progdir=$func_dirname_result 1 name="$host_os.$PROGRAM.$outputname" 1 n backslashes followed by a double quote (n >= 0): 1 libraries must come first. */ 1 for progdir in $PATH; do 1 exit_cmd=exit 1 exit $? 1 delimiters if they are surrounded by double quotes: "...". 1 characters. 1 break 1 because on Windows, both *_VARNAMEs are PATH but uninstalled 1 be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) 1 IFS=: 1 IFS="$save_IFS" 1 /^# General help using/b print 1 /^# .* home page:/b print 1 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : 1 ' < "$progpath" 1 }) ? "cmd.exe" : "command.com"). 1 || test "$max_cmd_len" -le -1; } 1 write_oldobj=none 1 write_oldobj=\'${3}\' 1 write_lobj=none 1 write_lobj=\'${2}\' 1 wrappers_required=yes 1 wrapper=$func_stripname_result 1 wrapper=$func_ltwrapper_scriptname_result 1 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | 1 win32_libid_type="x86 DLL" 1 while test -h "$potlib" 2>/dev/null; do 1 while test ! -d "$my_directory_path"; do 1 while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) 1 valid_a_lib=no 1 va_start (args, fmt); 1 va_end (args); 1 unsigned int j; 1 uniq > "$nlist"S; then 1 uninstall) 1 tstripme="" 1 tmp_pathspec); 1 tmp_libs= 1 tmp_export_symbols="$export_symbols" 1 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` 1 thisdir=\`pwd\` 1 test -z "$libobj" && { 1 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 1 test -n "$export_symbols$export_symbols_regex" && \ 1 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" 1 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" 1 test -n "$add" && finalize_deplibs="$add $finalize_deplibs" 1 test -n "$add" && compile_deplibs="$add $compile_deplibs" 1 test -n "$absdir" && dir="$absdir" 1 test -f "$file" \ 1 test -d \\\$dldir || mkdir -p \\\$dldir~ 1 test -d "$my_tmpdir" || \ 1 test -d "$my_directory_path" || \ 1 test "X$libobjs" = "X " && libobjs= 1 test "$preload" = yes \ 1 test "$opt_mode" = uninstall && odir="$dir" 1 test "$linkname" != "$realname" \ 1 test "$dlself" != no && \ 1 test "$build_old_libs" = yes && old_library="$libname.$libext" 1 test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" 1 target ) 1 tagname=$z 1 stripped_ext=".exe" 1 str += len - patlen; 1 soname="$realname" 1 soname="$dlname" 1 size_t p_len; 1 shlib_search_path= 1 set dummy $rpath 1 set dummy $files; shift 1 save_mkdir_p_IFS="$IFS"; IFS=':' 1 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' 1 s/^====MARK====// 1 s/\n//g 1 s/[\. \t]*$// 1 s/.*/====MARK====/ 1 rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); 1 rpath+="$dir:" 1 rmfiles="$file" 1 rmfiles+=" $odir/lt-${noexename}.c" 1 rmfiles+=" $odir/lt-$name $objdir/lt-${name}.manifest" 1 rmfiles+=" $func_ltwrapper_scriptname_result" 1 return xstrdup (pathspec); 1 return 127; 1 return 1 removelist="$obj $lobj $libobj ${libobj}T" 1 removelist="$lobj $libobj ${libobj}T" 1 removelist+=" $output_obj" 1 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test 1 reload_objs="$objlist $last_robj" 1 reload_conv_objs= 1 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` 1 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" 1 qarg=$func_quote_for_eval_unquoted_result 1 prevarg="$arg" 1 prev=dlprefiles 1 potlib="$potent_lib" 1 pic_flag_for_symtable=" $pic_flag" 1 p_next = (*q == '\0' ? q : q + 1); 1 p_len = q - p; 1 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} 1 output_obj= 1 output=$output_objdir/$output_la-${k}.$objext 1 output="$obj" 1 output= 1 orig_export_symbols="$export_symbols" 1 opt_duplicate_compiler_generated_deps=: 1 opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps 1 oldobjs=$objlist 1 oldobjs+=" $gentop/$newobj" 1 oldlibs="$output_objdir/$libname.$libext" 1 oldlibs="$output" 1 oldlibs= 1 oldlib="$destdir/$name" 1 old_dlprefiles="$dlprefiles" 1 old_dlfiles="$dlfiles" 1 objs+="$old_deplibs" 1 objlist= 1 normal ) 1 newdlprefiles+=" $deplib" 1 newdlprefiles+=" $abs" 1 newdlfiles+=" $deplib" 1 newdlfiles+=" $abs" 1 newdependency_libs="$deplib $newdependency_libs" 1 newargz[++newargc] = xstrdup (argv[i]); 1 new_value = xstrdup (add); 1 new_value = XMALLOC (char, add_len + orig_value_len + 1); 1 need_relink=yes 1 need_relink=no 1 need_locks=no 1 my_xlib_u=$my_xlib 1 my_xlib="$func_basename_result" 1 my_xdir="$my_gentop/$my_xlib_u" 1 my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` 1 my_tmpdir="${my_template}-$$" 1 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` 1 my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` 1 moreargs+=" $fil" 1 lt_replace_pathsep_chars="s|$1|$2|g" 1 lt_fatal (__FILE__, __LINE__, 1 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", 1 lt_argv_zero, nonnull (strerror (errno))); 1 lockfile=$f_ex_an_ar_oldlib.lock 1 lockfile="$output_obj.lock" 1 lockfile= 1 linker_flags+=" -dylib_file ${darwin_install_name}:${depdepl}" 1 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` 1 link) 1 libtool_args+=" $func_quote_for_eval_result" 1 libs="$predeps $libs $compiler_lib_search_path $postdeps" 1 libs+=" $deplib" 1 library_names= 1 libobjs=$output 1 libobjs+=" $symfileobj" 1 libobj=$func_xform_result 1 lib="$searchdir/lib${name}${search_ext}" 1 lib*) 1 length++; 1 len0=$func_len_result 1 int orig_value_len = strlen (orig_value); 1 int len = strlen (new_value); 1 int add_len = strlen (add); 1 install_shared_prog+=" $func_quote_for_eval_result" 1 install_prog="$func_quote_for_eval_result " 1 install_prog= 1 install_prog+=" $func_quote_for_eval_result" 1 install_libdir="$1" 1 install) 1 import*) win32_libid_type="x86 archive import";; 1 if { test -L "$file"; } >/dev/null 2>&1 || 1 if test -z "$rpath"; then 1 if test -z "$output_obj"; then 1 if test -z "$macro_version"; then 1 if test -z "$libobj"; then 1 if test -z "$global_symbol_pipe"; then 1 if test -z "$func_normal_abspath_result" ; then 1 if test -z "$dest"; then 1 if test -n '\$stripme' && test -n '\$striplib'; then 1 if test -n "$xrpath"; then 1 if test -n "$stripme" && test -n "$old_striplib"; then 1 if test -n "$rpath$xrpath"; then 1 if test -n "$relink_command"; then 1 if test -n "$prev"; then 1 if test -n "$prelink_cmds"; then 1 if test -n "$postlink_cmds"; then 1 if test -n "$pic_flag" || test "$pic_mode" != default; then 1 if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then 1 if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then 1 if test -n "$old_library"; then 1 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then 1 if test -n "$objs"; then 1 if test -n "$lt_sysroot"; then 1 if test -n "$libobjs" && test "$build_old_libs" = yes; then 1 if test -n "$inst_prefix_dir"; then 1 if test -n "$inst_prefix_dir" && 1 if test -n "$hardcode_libdir_separator"; then 1 if test -n "$hardcode_libdir_flag_spec"; then 1 if test -n "$gentop"; then 1 if test -n "$func_convert_core_file_wine_to_w32_result" ; then 1 if test -n "$finalize_shlibpath"; then 1 if test -n "$dlname"; then 1 if test -n "$dest"; then 1 if test -n "$convenience"; then 1 if test -n "$compile_shlibpath$finalize_shlibpath"; then 1 if test -n "$arg2"; then 1 if test -n "$arg"; then 1 if test -n "$admincmds"; then 1 if test -n "$addlibs"; then 1 if test -n "$NM" && test -n "$global_symbol_pipe"; then 1 if test -f /etc/ld.so.conf; then 1 if test -f "$lockfile"; then 1 if test -f "$lib"; then 1 if test -d "$opt"; then 1 if test -d "$dir"; then 1 if test "x$build" = "x$host" ; then 1 if test "x$bindir" != x ; 1 if test "X$dlopenmodule" != "X$lib"; then 1 if test "X$dir" = X.; then 1 if test "$wrappers_required" = no; then 1 if test "$valid_a_lib" != yes; then 1 if test "$try_normal_branch" = yes \ 1 if test "$suppress_opt" = yes; then 1 if test "$pic_mode" != yes; then 1 if test "$pic_mode" != no; then 1 if test "$pass" = link; then 1 if test "$pass" = dlpreopen; then 1 if test "$pass" = dlopen; then 1 if test "$pass" != dlopen; then 1 if test "$opt_mode" = clean; then 1 if test "$opt_mode" != relink; then 1 if test "$obj" = "$last_oldobj" ; then 1 if test "$no_install" = yes; then 1 if test "$need_locks" != no; then 1 if test "$linkmode,$pass" = "lib,link"; then 1 if test "$linkmode,$pass" = "lib,link" || 1 if test "$linkmode,$pass" = "lib,dlpreopen"; then 1 if test "$linkmode" = prog; then 1 if test "$hardcode_direct" = yes && 1 if test "$hardcode_direct" = no; then 1 if test "$hardcode_direct" != yes && 1 if test "$hardcode_automatic" = yes ; then 1 if test "$hardcode_action" = relink; then 1 if test "$finalize" = yes; then 1 if test "$compiler_c_o" = yes; then 1 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then 1 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 1 if test "$build_libtool_libs" = convenience; then 1 if test "$build_libtool_libs" != yes; then 1 if test ! -d "$my_tmpdir"; then 1 if sort -k 3 </dev/null >/dev/null 2>&1; then 1 if relink_command_output=\`eval \$relink_command 2>&1\`; then : 1 if ls -lLd "$potent_lib" 2>/dev/null | 1 if func_win32_import_lib_p "$dlprefile"; then 1 if func_lalib_unsafe_p "$arg"; then 1 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | 1 if eval "test -z \"\$$shlibpath_var\""; then 1 if (to_end) 1 if (string[0] == '\0') 1 if (strcmp (str, pat) == 0) 1 if (strcmp (argv[i], ltwrapper_option_prefix) == 0) 1 if (strcmp (argv[i], dumpscript_opt) == 0) 1 if (strcmp (argv[i], debug_opt) == 0) 1 if (path != NULL) 1 if (p_len == 0) 1 if (lstat (tmp_pathspec, &s) == 0) 1 if (IS_DIR_SEPARATOR (wrapper[0])) 1 if $opt_preserve_dup_deps ; then 1 if $opt_duplicate_compiler_generated_deps; then 1 if $opt_dry_run; then 1 if $install_cp; then :; else 1 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then 1 i="" 1 i, nonnull (newargz[i])); 1 has_symlinks = 1; 1 gentop= 1 func_xform "$libobj" 1 func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" 1 func_warning "remember to run \`$progname --finish$future_libdirs'" 1 func_warning "\`$lib' has not been installed in \`$libdir'" 1 func_verbose "generating symbol list for \`$libname.la'" 1 func_verbose "generating import library for \`$soname'" 1 func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" 1 func_verbose "extracting exported symbol list from \`$soname'" 1 func_verbose "creating reloadable object files..." 1 func_verbose "creating a temporary reloadable object file: $output" 1 func_to_tool_file_result=$func_to_host_file_result 1 func_to_tool_file_result=$1 1 func_to_tool_file "$1" func_convert_file_msys_to_w32 1 func_to_host_path_result=`echo "$3" | 1 func_to_host_path_result="$3" 1 func_stripname '' '/' "`pwd`" 1 func_source $func_ltwrapper_scriptname_result 1 func_source $dir/$noexename 1 func_source "$lib" 1 func_show_eval_locale "$command" \ 1 func_show_eval_locale "$command" 1 func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' 1 func_show_eval '${RM}r "$gentop"' 1 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" 1 func_show_eval "${RM}r$generated" 1 func_show_eval "$link_command" 'exit $?' 1 func_show_eval "$install_prog \$file \$oldlib" 'exit $?' 1 func_show_eval "$cmd" "${2-:}" 1 func_show_eval "$RM $rmfiles" 'exit_status=1' 1 func_quote_for_eval "$nonopt" 1 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath 1 func_normal_abspath_result=$func_stripname_result 1 func_normal_abspath_altnamespace=/ 1 func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" 1 func_mkdir_p "$xdir$objdir" 1 func_mkdir_p "$my_xdir" 1 func_len " $test_cmds" 1 func_generate_dlsyms "$outputname" "@PROGRAM@" "no" 1 func_generate_dlsyms "$libname" "$libname" "yes" 1 func_fatal_help "you must specify an output file" 1 func_fatal_help "you must specify an install program" 1 func_fatal_help "you must specify an RM program" 1 func_fatal_help "you must specify a compilation command" 1 func_fatal_help "you must specify a COMMAND" 1 func_fatal_help "the \`$prevarg' option requires an argument" 1 func_fatal_help "the \`$prev' option requires an argument" 1 func_fatal_error "you must specify an argument for -Xcompile" 1 func_fatal_error "you must specify a target with \`-o'" 1 func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1 func_fatal_error "invalid tag name: $tagname" 1 func_fatal_error "cannot find name of link library for \`$lib'" 1 func_fatal_error "cannot determine name of library object from \`$libobj'" 1 func_fatal_configuration "unsupported hardcode properties" 1 func_fatal_configuration "not configured to build any kind of library" 1 func_extract_an_archive "`pwd`" "${darwin_base_archive}" 1 func_execute_cmds "$reload_cmds" 'exit $?' 1 func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' 1 func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' 1 func_execute_cmds "$old_postinstall_cmds" 'exit $?' 1 func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' 1 func_execute_cmds "$extract_expsyms_cmds" 'exit $?' 1 func_execute_cmds "$cmds" 'exit $?' 1 func_exec_program \${1+\"\$@\"} 1 func_error "unrecognized option \`-dlopen'" 1 func_dirname_and_basename "$dest" "" "." 1 func_dirname "$file" "" "." 1 func_cygpath_result= 1 func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | 1 func_convert_core_file_wine_to_w32_result= 1 func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" 1 func_basename "$obj" 1 func_basename "$my_xlib" 1 func_append_quoted base_compile "$lastarg" 1 func_append_quoted args "$file" 1 func_append_quoted CC_quoted "$arg" 1 for var in $variables_saved_for_relink; do 1 for obj in $save_libobjs 1 for my_dir in $my_dir_list; do 1 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES 1 for libdir in $finalize_rpath; do 1 for libdir in $compile_rpath $finalize_rpath; do 1 for lib in $old_dlprefiles; do 1 for lib in $old_dlfiles; do 1 for i in $dependency_libs ; do 1 for file in $files; do 1 for deplib in $libs; do 1 for deplib in $deplibs; do 1 for deplib in $compile_deplibs; do 1 for arg in $CC; do 1 for (q = p; *q; q++) 1 for (j = backslashes; j > 0; j--) 1 firstobj="$1 " 1 finish) 1 finalize_var= 1 finalize_rpath="$rpath" 1 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` 1 finalize_command+=" ${wl}-bind_at_load" 1 finalize_command+=" $finalize_deplibs" 1 finalize_command+=" $arg" 1 finalize=no 1 file=$func_stripname_result 1 fi | 1 fi # test -n "$prev" 1 fbsd_hideous_sh_bug=$base_compile 1 extracted_archives="$extracted_archives $my_xlib_u" 1 export_symbols=$output_objdir/$libname.def 1 export_symbols="$output_objdir/$libname.exp" 1 export_symbols= 1 exit 1 1 exit $ret 1 exit $EXIT_FAILURE 1 execute) 1 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' 1 exec_cmd="\$cmd$args" 1 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} 1 exec \"\$progdir/\$program\" \${1+\"\$@\"} 1 eval test_cmds=\"$reload_cmds\" 1 eval soname=\"$soname_spec\" 1 eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` 1 eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" 1 eval dep_rpath=\"$hardcode_libdir_flag_spec\" 1 eval concat_cmds=\"\${concat_cmds}$reload_cmds\" 1 eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" 1 eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" 1 eval cmd=\"$cmd\" 1 eval arg=\"$export_dynamic_flag_spec\" 1 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' 1 eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' 1 eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' 1 eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' 1 eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' 1 eval "$my_cmd" 1 eval "$lt_user_locale 1 eval "$lt_safe_locale" 1 esac # arg 1 esac # case $arg_mode 1 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) 1 else # not an import lib 1 elif test -n "$old_library"; then 1 elif test -n "$nm_file_list_spec"; then 1 elif test -n "$dlname"; then 1 elif test -f "$opt"; then 1 elif test -d "$file"; then 1 elif test "$rmforce" = yes; then 1 elif test "$hardcode_shlibpath_var" = yes; then 1 elif test "$hardcode_shlibpath_var" = no; then 1 elif test "$hardcode_minus_L" = yes; then 1 elif test "$hardcode_minus_L" = no; then 1 echo "specify the full pathname of the library, or use the \`-LLIBDIR'" 1 echo "in a given directory, LIBDIR, you must either use libtool, and" 1 echo "flag during linking and do at least one of the following:" 1 echo "enable static libraries" 1 echo "enable shared libraries" 1 echo "disable static libraries" 1 echo "disable shared libraries" 1 echo "See any operating system documentation about shared libraries for" 1 echo "Libraries have been installed in:" 1 echo "If you ever happen to want to link against installed libraries" 1 echo "*** you link to this library. But I can only do this if you have a" 1 echo "*** shared version of the library, which you do not appear to have" 1 echo "*** not find such a program. So, this module is probably useless." 1 echo "*** lists from a program, using \`nm' or equivalent, but libtool could" 1 echo "*** libtool will only create a static version of it." 1 echo "*** it was explicitly requested with -no-undefined," 1 echo "*** is linked with the -dlopen flag to resolve symbols at runtime." 1 echo "*** because either the platform does not support them or" 1 echo "*** because a test_compile did reveal that the linker did not use this one" 1 echo "*** as a dynamic dependency that programs can get resolved with at runtime." 1 echo "*** a static module, that should work as long as the dlopening application" 1 echo "*** \`nm' from GNU binutils and a full rebuild may help." 1 echo "*** Warning: inter-library dependencies are not supported in this platform." 1 echo "*** Warning: inter-library dependencies are not known to be supported." 1 echo "*** Since this library must not contain undefined symbols," 1 echo "*** I have the capability to make that library automatically link in when" 1 echo "*** However, this would only work if libtool was able to extract symbol" 1 echo "*** But as you try to build a module library, libtool will still create " 1 droppeddeps=yes 1 done # for deplib in $libs 1 dlprefiles="$newdlprefiles" 1 dlprefiles= 1 dlprefiles+=" $pic_object" 1 dlprefiles+=" $arg" 1 dlpath=\\\`\$SHELL 2>&1 -c '. \$dir/'\\\${base_file}'i; echo \\\$dlname'\\\`~ 1 dlpath=\$dir/\\\$dldll~ 1 dlopenmodule="$dlpremoduletest" 1 dlname= 1 dlfiles="$newdlfiles" 1 dlfiles= 1 dlfiles+=" $pic_object" 1 dlfiles+=" $arg" 1 dldir=\$destdir/\\\`dirname \\\$dlpath\\\`~ 1 dir="$func_dirname_result" 1 dir= 1 destname="$func_basename_result" 1 destname= 1 destdir="$func_dirname_result" 1 destdir="$dest" 1 deplibs="$new_libs" 1 deplibs+=" -lc" 1 dependency_libs=$tmp_libs 1 dependency_libs="$newdependency_libs" 1 depdepl=$tmp 1 depdepl="$absdir/$objdir/$depdepl" 1 delfiles+=" $output" 1 delfiles+=" $export_symbols $output_objdir/$libname.filter" 1 darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` 1 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` 1 const char *string = argv[i]; 1 const char *q; 1 const char *path = getenv ("PATH"); 1 concat_name = xstrdup (wrapper); 1 compiler_flags+=" ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" 1 compile_var= 1 compile_rpath="$rpath" 1 compile_deplibs="$new_libs" 1 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` 1 compile_command+=" ${wl}-bind_at_load" 1 compile_command+=" $compile_deplibs" 1 compile_command+=" $arg" 1 compile) 1 command+="$suppress_output" 1 cmds=$module_expsym_cmds 1 cmds=$module_cmds 1 cmds=$archive_expsym_cmds 1 cmds=$archive_cmds 1 clean) 1 chmod a+x \\\$dldir/\$dlname~ 1 cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" 1 cd "$darwin_curdir" 1 cat >&2 <<_LT_EOF 1 cat >${write_libobj}T <<EOF 1 case \"\$destdir\" in 1 case :$finalize_shlibpath: in 1 case :$compile_shlibpath: in 1 case $win32_nmres in 1 case $outputname in 1 case $output in 1 case $nm_file_list_spec~$to_tool_file_cmd in 1 case $name in 1 case $my_xlib in 1 case $my_dlsyms in 1 case $my_directory_path in 1 case $libdir in 1 case $deplibs_check_method in 1 case $arg_mode in 1 case $@ in 1 case "$temp_rpath:" in 1 case "$perm_rpath " in 1 case "$deplibs " in 1 case " $tmp_libs " in 1 case " $specialdeplibs " in 1 case " $predeps $postdeps " in 1 case " $deplibs " in 1 build_old_libs=yes 1 build_libtool_libs=module 1 break 2 1 base = name + 1; 1 arg=$nonopt 1 arg=$fil 1 arg=$1 1 arg="$non_pic_object" 1 arg="$1" 1 arg2= 1 arg ) 1 always_export_symbols=yes 1 add_dir+=" -L$inst_prefix_dir$libdir" 1 add="$libdir/$linklib" 1 absdir=`cd "$dir" && pwd` 1 a_deplib="" 1 \$install_prog \$dir/\$dlname \\\$dldir/\$dlname~ 1 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 1 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; 1 IFS=$save_ifs 1 IFS=$oldIFS 1 IFS="$save_mkdir_p_IFS" 1 CC_quoted_expanded=`func_echo_all $CC_quoted` 1 CC_quoted= 1 CC_expanded=`func_echo_all $CC` 1 <requestedPrivileges> 1 </requestedPrivileges> 1 :para 1 /more detailed .*MODE/d 1 /information about other modes/d 1 /^When reporting/,/^Report/{ 1 /^====MARK====/ b para 1 /./p' | 1 /* some systems can't cope with a ':'-terminated path #' */ 1 /* otherwise ... */ 1 /* not found in PATH; assume curdir */ 1 /* no slashes; search PATH */ 1 /* no more DIR_SEPARATORS left */ 1 /* failed to start process */ 1 -weak) 1 -version-number) 1 -version-info) 1 -thread-safe) 1 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ 1 -static) 1 -static | -static-libtool-libs) 1 -shrext) 1 -shared-libgcc|-static-libgcc|-static-libgfortran|-static-libstdc++| \ 1 -rpath) 1 -release) 1 -prefer-pic) 1 -prefer-non-pic) 1 -precious-files-regex) 1 -objectlist) 1 -o) prev=output ;; 1 -no-undefined) 1 -no-install) 1 -no-fast-install) 1 -multi_module) 1 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 1 -msg_*) 1 -module) 1 -model|-arch|-isysroot|--sysroot) 1 -inst-prefix-dir) 1 -g | -m | -o) 1 -fstack-protector*) 1 -framework) 1 -f) RM+=" $arg"; rmforce=yes ;; 1 -export-symbols | -export-symbols-regex) 1 -export-dynamic) 1 -dlpreopen) 1 -dlopen) 1 -d) isdir=yes ;; 1 -bindir) 1 -avoid-version) 1 -allow-undefined) 1 -all-static) 1 -all-static | -static | -static-libtool-libs) 1 -\?|-h) 1 -\?*|-h*|-n*|-v*) 1 -Xlinker) 1 -Xcompiler) 1 -XCClinker) 1 -Wl,*) 1 -Wc,*) 1 -R*) func_stripname '-R' '' "$libdir" 1 -O*|-flto*|-fwhopr*|-fuse-linker-plugin| \ 1 -L[A-Z][A-Z]*:*) 1 -L*) path="$deplib" ;; 1 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ 1 --version) 1 --verbose|-v) 1 --tag) 1 --silent|--quiet) 1 --preserve-dup-deps) 1 --no-verbose) 1 --no-silent|--no-quiet) 1 --mode) 1 --help-all) 1 --finish) 1 --features) 1 --dry-run|--dryrun|-n) 1 --dlopen|-dlopen) 1 --debug|-x) 1 --config) 1 --*=*) 1 -*) RM+=" $arg" ;; 1 -* | +*) 1 -* | *.la | *.lo ) ;; 1 *p++ = c; 1 *p++ = '"'; 1 *mingw* | *cygwin* ) 1 *cygwin* | mingw* | *cegcc*) 1 *cygwin* | *mingw* | *cegcc* ) 1 *cygwin* | *mingw* ) 1 *cegcc* | *mingw32ce*) 1 *[\\\`\"]*) 1 *[\\\`\"\$]*) 1 *[\\\ /]cp\ *) install_cp=: ;; 1 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 1 *.c) 1 *.$objext) 1 *-darwin*) 1 *-*-rhapsody* | *-*-darwin1.[012]) 1 *-*-darwin*) 1 *) tmp_libs+=" $deplib" ;; 1 *) thisdir=\"\$thisdir/\$destdir\" ;; 1 *) temp_rpath+="$absdir:" ;; 1 *) temp_deplibs+=" $libdir";; 1 *) newdlfiles+=" $lib" ;; 1 *) newdependency_libs+=" $deplib" ;; 1 *) new_inherited_linker_flags+=" $tmp_inherited_linker_flag";; 1 *) install_cp=false ;; 1 *) func_apped perm_rpath " $libdir" ;; 1 *) finalize_shlibpath+="$libdir:" ;; 1 *) files+=" $arg" ;; 1 *) deplibs="$path $deplibs" ;; 1 *) compile_shlibpath+="$add_shlibpath:" ;; 1 *) ;; 1 *) func_lo2o_result=${1} ;; 1 *) win32_libid_type="x86 archive static";; 1 *":$libdir:"*) ;; 1 *":$add_shlibpath:"*) ;; 1 *"$absdir:"*) ;; 1 *" $tmp_inherited_linker_flag "*) ;; 1 *" $path "*) ;; 1 *" $func_resolve_sysroot_result "*) 1 *" $deplib "*) new_libs="$deplib $new_libs" ;; 1 *" $deplib "*) ;; 1 *" $deplib "*) 1 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); 1 (void) vfprintf (stderr, fmt, args); 1 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); 1 ( cd "$output_objdir" && \ 1 'exit $?' 1 && func_warning "libobj name \`$libobj' may not contain shell special characters." 1 && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) 1 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' 1 $to_tool_file_cmd "$1" 1 $opt_silent || { 1 $opt_dry_run || rm -f "$lockfile" 1 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' 1 $opt_dry_run || eval "$cmd" || { 1 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 1 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 1 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname 1 $opt_dry_run || $RM $obj $libobj 1 $opt_dry_run || $RM $export_symbols 1 $opt_dry_run && current_libdirs=" -n$current_libdirs" 1 $func_relative_path_tlibdir*) 1 $func_relative_path_tlibdir) 1 $STRIP $cwrapper 1 $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" 1 $SED -e 4q "$1" 2>/dev/null \ 1 $RM \"\$progdir/\$file\" 1 $RM $export_symbols 1 $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" 1 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } 1 $MV "${write_libobj}T" "${write_libobj}" 1 $MKDIR \"\$progdir\" 1 $LTCC $LTCFLAGS -o $cwrapper $cwrappersource 1 $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" 1 $LIPO -create -output "$darwin_file" $darwin_files 1 $ECHO \ 1 $ECHO "*** Warning: dynamic linker does not accept needed library $i." 1 $ECHO "*** Warning: Linking the shared library $output against the loadable module" 1 $ECHO "*** Warning: Linking the executable $output against the loadable module" 1 $ECHO "$srcfile" > "$lockfile" 1 $ECHO "$help" 1>&2 1 $ECHO "$func_basename_result" 1 $ECHO "$cmd$args" 1 $ b para 1 #for path in $notinst_path; do 1 #done 1 # word splitting, command substitution and and variable 1 # word splitting and command substitution for a subsequent eval. 1 # with having the same library being listed as a 1 # which system we are compiling for in order to pass an extra 1 # which of the given symbols are data symbols and tag 1 # we shouldn't force the makefile maintainer to figure out 1 # we need to preload. 1 # we know (pedantically, we assume) the library does not 1 # using -Wl,-lname, so that libtool does not consider it 1 # turning comma into space.. 1 # to make a dll which has undefined symbols, in which case not 1 # though. Also, the filter scales superlinearly with the number of 1 # this by putting the import library name into $newdlprefiles. 1 # them as such. So, trigger use of export_symbols_cmds. 1 # the one in the tagged configuration. 1 # the list of exported symbols" if statement, so the 1 # the extraction. 1 # the above command should be used before it gets too long 1 # that all symbols are satisfied, otherwise we get a static library. 1 # than once as an explicit dependence of a library, or 1 # template prelinking step 1 # symbols from the import library if a shared library is present 1 # such unportable linking tricks to link the library 1 # static and shared are present. Therefore, ensure we extract 1 # so, if we see these flags be careful not to treat them like -L 1 # so that -L comes before libs that need it for instance... 1 # single-version convenience libraries. Whenever we create 1 # reloadable object file. All subsequent reloadable object 1 # reload_cmds runs $LD directly, so let us get rid of 1 # really was required. 1 # over CIFS/SMB, so we conserve a leading double slash if found. 1 # or/and link against static libraries 1 # on failure, ensure result is empty 1 # occurrences thereof are not removed. Compare this 1 # note: this script will not be executed, so do not chmod. 1 # not to be eliminated). 1 # non-PIC code in shared libraries is not supported 1 # need to be listed more than once, so we keep only the 1 # name in a special purpose variable, and (later) extracting the 1 # lt_preloaded_symbols. The linker will fail if global_symbol_pipe 1 # loop can be closed while we follow links, 1 # last copy. This is not always right, but it is rare 1 # isn't a blessed tool. 1 # is implicitly linked in more than once by the 1 # include_expsyms logic still works. 1 # if we don't check for them as well. 1 # if an import library, we need to obtain dlname 1 # global variables. join(1) would be nice here, but unfortunately 1 # get the directories listed in $shlibpath_var 1 # for duplicate removal. 1 # flag for every libtool invocation. 1 # files will link in the last one created. 1 # export_symbols gets reassigned inside the "prepare 1 # expansion for a subsequent eval. 1 # even a static library is built. For now, we need to specify 1 # enough that we require users that really mean to play 1 # endless loop below, in case of cyclic links. 1 # don't eliminate duplications in $postdeps and $predeps 1 # doesn't work or if tool conversion is not needed. 1 # dlname from the la file. 1 # different ones for PIC/non-PIC, this we'll have to duplicate 1 # dependency of multiple other libraries: in this case, 1 # compiler, it is considered special, and multiple 1 # classes, name mangling, and exception handling. 1 # can't use Xsed below, because $i might contain '/' 1 # but so what? 1 # but not from the CC environment variable when configure was run. 1 # bleh windows 1 # are required to link). 1 # and it's NOT already a .def file. Must figure out 1 # and for example Cygwin uses it to access remote file shares 1 # allow_undefined=no 1 # Without this assignment, base_compile gets emptied. 1 # While some portion of DIR does not yet exist... 1 # We recover the dlopen module name by 'saving' the la file 1 # We might still enter an endless loop, since a link 1 # We keep going just in case the user didn't refer to 1 # We cannot seem to hardcode it, guess we'll fake it. 1 # Unusual form of absolute path, do nothing. 1 # Unlock the critical section if it was locked 1 # Try looking first in the location we're being installed to. 1 # Tru64 UNIX uses -model [arg] to determine the layout of C++ 1 # Time to change all our "foo.ltframework" stuff back to "-framework foo" 1 # The statement above tries to avoid entering an 1 # The preopen pass in lib mode reverses $deplibs; put it back here 1 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* 1 # The given exports_symbols file has to be filtered, so filter it. 1 # The compiler in the base compile command matches 1 # Test again, we may have decided not to build it any more 1 # Take the normal branch if the nm_file_list_spec branch 1 # Suppress compiler output if we already did a PIC compilation. 1 # Some other compiler flag. 1 # Some other compiler argument. 1 # Set up the ranlib parameters. 1 # Separate optargs to long options: 1 # Separate non-argument short options: 1 # Search the libtool library 1 # Run the actual program with our arguments. 1 # Return a directory name, but don't create it in dry-run mode 1 # Restore saved environment variables 1 # Replace the output file specification. 1 # Remove trailing dots and whitespace 1 # Remove the marker 1 # Remove sysroot references 1 # Remember odir for removal later, being careful to avoid duplicates 1 # Relative path, prepend $cwd. 1 # Quote the relink command for shipping. 1 # Quote the link command for shipping. 1 # Quote arguments (to preserve shell metacharacters). 1 # Protect directory names starting with `-' 1 # Print 1 # Preserve any variables that may affect compiler behavior 1 # Preload the old-style object. 1 # Prefer using a static library (so that no silly _DYNAMIC symbols 1 # Place marker at beginning of archive member dllname section 1 # Otherwise, use the dlname, so that lt_dlopen finds it. 1 # Only create the output if not a dry run. 1 # Only actually do things if not in dry run mode. 1 # Objects from convenience libraries. This assumes 1 # Nullify the symbol file. 1 # Now prepare to actually exec the command. 1 # Now hardcode the library paths 1 # Now create the wrapper script. 1 # Now add the directory to shlibpath_var. 1 # Now actually substitute the argument into the commands. 1 # Not necessarily an ordinary path; POSIX reserves leading '//' 1 # Not a directory, so check to see that there is only one file specified. 1 # No point in relinking DLLs because paths are not encoded 1 # Need to hardcode shared library paths 1 # Maybe just do a dry run. 1 # Make sure we only generate libraries of the form `libNAME.la'. 1 # Make sure the rpath contains only unique directories. 1 # Make sure dlprefiles contains only unique files 1 # Make sure dlfiles contains only unique files that won't be dlpreopened 1 # Loop over the list of objects to be linked. 1 # Linker will automatically link against shared library if both 1 # Last step: remove runtime libs from dependency_libs 1 # LD_LIBRARY_PATH before the program is installed. 1 # Just move the object if needed, then go on to compile the next one 1 # Just move the object if needed 1 # Join marker and all lines until next marker into a single line 1 # It is impossible to link a dll without this setting, and 1 # If we're not in dry-run mode, bomb out on failure 1 # If we're not building shared, we need to use non_pic_objs 1 # If we ascended to the root using ".." the result may be empty now. 1 # If there is no dlopen support or we're linking statically, 1 # If the previous option needs an argument, assign it. 1 # If mktemp works, use that first and foremost 1 # If libtool objects are unsupported, then we need to preload. 1 # If a -bindir argument was supplied, place the dll there. 1 # Handle the remaining objects by creating one last 1 # Get the name of the library object. 1 # Get the absolute pathname. 1 # Follow soft links. 1 # Flags to be passed through unchanged, with rationale: 1 # FIXME: Unfortunately, there are problems with the above when trying 1 # FIXME: $output_objdir/$libname.filter potentially contains lots of 1 # Extract the objects. 1 # Exit if we aren't doing a library object file. 1 # Empty path, that just means $cwd. 1 # Eliminate all temporary directories. 1 # Double-quote args containing other shell metacharacters. 1 # Don't error if the file doesn't exist and rm -f was used. 1 # Do each installation. 1 # Do each command in the postuninstall commands. 1 # Do each command in the postinstall commands. 1 # Do each command in the old_postuninstall commands. 1 # Do each command in the archive commands. 1 # Do a symbolic link so that the libtool archive can be found in 1 # Display what would be done. 1 # Delete the old output files. 1 # Delete the old objects. 1 # Darwin uses the -arch flag to determine output architecture. 1 # Create the old-style object. 1 # Compute libraries that are listed more than once in $predeps 1 # Check to see that this really is a libtool object. 1 # Blanks in the command may have been stripped by the calling shell, 1 # Blanks at the start of $base_compile will cause this to fail 1 # Bail out if we (or some other process) failed to create a directory. 1 # Assume this is the tagged configuration we want. 1 # Append the command to create the export file. 1 # And here is the reason: when a library appears more 1 # Allow error messages only from the first compilation. 1 # All the library-specific variables (install_libdir is set above). 1 # Aesthetically quote the previous argument. 1 # Aesthetically quote the argument. 1 # Aesthetically quote it. 1 # Absolute path, do nothing. 1 # A libtool-controlled object. 1 # @file GCC response files 1 # -{shared,static}-libgcc, -static-{libgfortran|libstdc++} 1 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler 1 # -tp=* Portland pgcc target processor selection 1 # -r[0-9][0-9]* specify processor for the SGI compiler 1 # -q* compiler args for the IBM compiler 1 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC 1 # -no-undefined on the libtool link line when we can be certain 1 # -msg_* for osf cc 1 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC 1 # -fstack-protector* stack protector flags for GCC 1 # -Wl from whole_archive_flag_spec and hope we can get by with 1 # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization 1 # -F/path path to uninstalled frameworks, gcc on darwin 1 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler 1 # --sysroot=* for sysroot support 1 # +DA*, +DD* enable 64-bit mode for the HP compiler 1 # (they stay in deplibs) 1 # (otherwise, the dlopen module name will be incorrect). We do 1 # 's' commands which not all seds can handle. GNU sed should be fine 1 # $postdeps and mark them as special (i.e., whose duplicates are 1 # link against specified runtime library 1 "checking path component for symlinks: %s\n", 1 "(main) failed to launch target \"%s\": %s\n", 1 "") ;; 1 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; 1 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ 1 { test "$build_libtool_libs" = yes && 1 test \"X\$file\" != \"X\$progdir/\$program\"; }; then 1 test -z "$old_library"; }; then 1 test -x "$progdir/$progname" && break 1 test "$link_static" = yes; }; then 1 test "$hardcode_direct_absolute" = no; then 1 test "$build_old_libs" = yes || 1 removelist+=" $p" 1 int line, const char *mode, 1 if test "X$precious_files_regex" != "X"; then 1 const char *message, va_list ap) 1 case $nonopt in *shtool*) :;; *) false;; esac; then 1 \\\\\" -> \\" 1 \\\" -> \" 1 \$RM \\\$dlpath" 1 \" -> " 1 IFS="$save_IFS" 1 $cmds" 1 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then 1 $EGREP "$match_pattern_regex" > /dev/null; then 1 # Allow the use of GNU shtool's install command. 1 | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 1 wrappers_required=no 1 umask 0077 1 umask $save_mktempdir_umask 1 tmp_deplibs= 1 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. 1 sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` 1 sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" 1 sysroot_cmd= 1 save_mktempdir_umask=`umask` 1 s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ 1 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` 1 prev=weak 1 outputname="$tmpdir/$file" 1 opt_verbose=false 1 newdlprefiles+=" $dir/$dlname" 1 my_tmpdir="${my_template}-${RANDOM-0}$$" 1 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` 1 my_dir_list="$my_directory_path:$my_dir_list" 1 my_arg="\"$my_arg\"" 1 my_arg="$1" ;; 1 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` 1 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` 1 if test -z "$func_relative_path_result"; then 1 if test -z "$func_convert_core_path_wine_to_w32_result"; then 1 if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then 1 if test "x$func_relative_path_tlibdir" = x ; then 1 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then 1 if test "$build_libtool_libs" != yes; then 1 if eval "$relink_command"; then : 1 func_warning "cannot relink \`$file'" 1 func_tr_sh "$dlprefile" 1 func_tr_sh "$dir/$linklib" 1 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 1 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" 1 func_resolve_sysroot "$deplib" 1 func_relative_path_tlibdir=${func_dirname_result} 1 func_relative_path_tcancelled=$func_stripname_result 1 func_relative_path_tcancelled= 1 func_relative_path_result=../$func_relative_path_result 1 func_quote_for_eval_unquoted_result="$1" ;; 1 func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" 1 func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" 1 func_normal_abspath_result=/ 1 func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent 1 func_normal_abspath_result=$func_dirname_result 1 func_help 1 func_fatal_help "invalid operation mode \`$opt_mode'" 1 func_fatal_error "cannot create temporary directory \`$my_tmpdir'" 1 func_fatal_error "Failed to create \`$1'" 1 func_extract_an_archive "$my_xdir" "$my_xabs" 1 func_dirname $func_relative_path_tlibdir 1 func_dirname "$func_normal_abspath_result" 1 func_dirname "$deplib" "" "." 1 func_basename "$lib" 1 func_arith $current - $age 1 finalize_command+=" $arg" 1 file="$outputname" 1 exit 1 1 exit 0 1 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" 1 eval '\$striplib \\\$dldir/\$dlname' || exit \\\$?; 1 eval '$ECHO ": $name " >> "$nlist"' 1 eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" 1 eval "curr_lafile=\$libfile_$func_tr_sh_result" 1 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" 1 done 1 dlprefile_dlbasename="" 1 deplib=$func_resolve_sysroot_result 1 continue 1 compiler_flags+=" $arg" 1 compile_command+=" $arg" 1 cat \"\$lt_dump_D/\$lt_dump_F\" 1 case $my_directory_path in */*) ;; *) break ;; esac 1 case " $extracted_archives " in 1 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 1 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 1 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 1 XFREE (str); 1 <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 1 -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` 1 -e "$pathcdr"` 1 -e "$pathcar"` 1 -*) my_directory_path="./$my_directory_path" ;; 1 *cygwin* | *mingw* | *cegcc* ) 1 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 && test "$dlopen_support" = unknown \ 1 ${RM}r "$tmpdir" 1 $opt_silent || { 1 $SED -e "$lt_sed_naive_backslashify"` 1 $SED -e "$lt_replace_pathsep_chars"` 1 $RM "${realname}T" && \ 1 $RM "$lockfile" 1 $MKDIR "$my_tmpdir" 1 $MKDIR "$my_dir" 2>/dev/null || : 1 # try to create one of the directories concurrently. Don't 1 # stop in that case! 1 # mkdir can fail with a `File exist' error if two processes 1 # found an exact match 1 # found a matching prefix 1 # at the start of this file. 1 # Trailing empty path component, ignore it. 1 # Replace the output file specification. 1 # Parent dir; strip last assembled component from result. 1 # If the last portion added has no slash in it, the list is done 1 # Generic help is extracted from the usage comments 1 # Failing that, at least try and use $RANDOM to avoid a race 1 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. 1 # Actual path component, append it. 1 # ...otherwise throw away the child directory and loop 1 # ...make a list in topmost first order. Use a colon delimited 1 v.dwPlatformId == VER_PLATFORM_WIN32_NT; 1 test "$prefer_static_libs,$installed" = "built,yes"; } || 1 test "$hardcode_direct_absolute" = no; then 1 output=$func_stripname_result ;; 1 newlib_search_path+=" $func_resolve_sysroot_result" 1 func_resolve_sysroot "$func_stripname_result" 1 GetVersionEx(&v); 1 strcpy (new_value, orig_value); 1 strcpy (new_value, add); 1 strcpy (new_value + orig_value_len, add); 1 strcpy (new_value + add_len, orig_value); 1 save_$lt_var=\$$lt_var 1 pie_flag+=" $arg" 1 output=$func_stripname_result.exe;; 1 new_value[len-1] = '\0'; 1 lt_fatal (__FILE__, __LINE__, 1 lt_debug = 1; 1 if test -n "$dlprefile_dlname" ; then 1 if test -n "$dlprefile_dlbasename" ; then 1 if ${skipped_export-false}; then 1 func_relative_path_tcancelled=$func_relative_path_tbindir 1 func_relative_path_result=../$func_relative_path_result 1 func_relative_path_result=. 1 func_quote_for_expand "$relink_command" 1 func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" 1 func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" 1 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' 1 eval '$ECHO ": $name " >> "$nlist"' 1 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' 1 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | 1 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" 1 esac 1 echo "removing references to $lt_sysroot and \`=' prefixes from $lib" 1 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` 1 continue; 1 case $host in 1 break 1 ;; 1 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX 1 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' 1 $lt_var=C 1 # Use subshell, to avoid clobbering current variable values 1 # Have to descend all the way to the root! 1 temp_xrpath=$func_stripname_result 1 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' 1 */ 1 func_warning "Could not compute DLL name from $name" 1 func_basename "$dlprefile_dlname" 1 eval '$ECHO ": $name " >> "$nlist"' 1 eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' 1 esac 1 dlprefile_dlbasename=$sharedlib_from_linklib_result 1 dlprefile_dlbasename="$func_basename_result" 1 deplib_base=$func_basename_result 1 $sharedlib_from_linklib_cmd "$dlprefile" 1 $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" 1 ## Okay now we've a bunch of thin objects, gotta fatten them up :) 1 # no lafile. user explicitly requested -dlpreopen <import library>. 1 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX 1 report an error. Otherwise, targets might begin to believe 1 or a configure.ac-settable value. 1 need to make LTWRAPPER_OPTION_PREFIX a configure-time option 1 namespace. The first time any user complains about this, we'll 1 namespace, but it is not one of the ones we know about and 1 have already dealt with, above (inluding dump-script), then 1 nonnull (strerror (errno))); 1 func_to_host_path "$temp_rpath" 1 func_to_host_path "$dllsearchpath:" 1 -L*) func_stripname '-L' '' "$deplib" 1 *) func_resolve_sysroot "$deplib" ;; 1 $SED -e 's/\([\\"]\)/\\\1/g' \ 1 specialdeplibs+=" $func_resolve_sysroot_result" ;; 1 eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' 1 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' 1 $lt_var=\$save_$lt_var; export $lt_var 1 nonempty (wrapper)); 1 "(main) found exe (before symlink chase) at: %s\n", 1 "(main) found exe (after symlink chase) at: %s\n", 1 func_resolve_sysroot "$func_stripname_result";; 1 try to export only the symbols matching REGEX 1 try to export only the symbols listed in SYMFILE 1 specify library version info [each variable defaults to 0] 1 ltwrapper_option_prefix, argv[i]); 1 libraries must be found in the PATH setting at runtime) 1 don't remove output files matching REGEX 1 do not do any dynamic linking of libtool libraries 1 if test -z "$darwin_install_name"; then 1 fi 1 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` 1 nonnull (strerror (errno)));