/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.268 by gary, Sun Jul 29 16:35:49 2001 UTC revision 1.269 by gary, Sun Aug 5 11:29:09 2001 UTC
# Line 1789  EOF Line 1789  EOF
1789            lib)            lib)
1790              if test "$deplibs_check_method" != pass_all; then              if test "$deplibs_check_method" != pass_all; then
1791                echo                echo
1792                echo "*** Warning: This library needs some functionality provided by $deplib."                echo "*** Warning: Trying to link with static lib archive $deplib."
1793                echo "*** I have the capability to make that library automatically link in when"                echo "*** I have the capability to make that library automatically link in when"
1794                echo "*** you link to this library.  But I can only do this if you have a"                echo "*** you link to this library.  But I can only do this if you have a"
1795                echo "*** shared version of the library, which you do not appear to have."                echo "*** shared version of the library, which you do not appear to have"
1796                  echo "*** because the file extensions .$libext of this argument makes me believe"
1797                  echo "*** that it is just a static archive that I should not used here."
1798              else              else
1799                echo                echo
1800                echo "*** Warning: Linking the shared library $output against the"                echo "*** Warning: Linking the shared library $output against the"
# Line 2274  EOF Line 2276  EOF
2276              # Just print a warning and add the library to dependency_libs so              # Just print a warning and add the library to dependency_libs so
2277              # that the program can be linked against the static library.              # that the program can be linked against the static library.
2278              echo              echo
2279              echo "*** Warning: This library needs some functionality provided by $lib."              echo "*** Warning: This system can not link to static lib archive $lib."
2280              echo "*** I have the capability to make that library automatically link in when"              echo "*** I have the capability to make that library automatically link in when"
2281              echo "*** you link to this library.  But I can only do this if you have a"              echo "*** you link to this library.  But I can only do this if you have a"
2282              echo "*** shared version of the library, which you do not appear to have."              echo "*** shared version of the library, which you do not appear to have."
2283              if test "$module" = yes; then              if test "$module" = yes; then
2284                echo "*** Therefore, libtool will create a static module, that should work "                echo "*** But as you try to build a module library, libtool will still create "
2285                echo "*** as long as the dlopening application is linked with the -dlopen flag."                echo "*** a static module, that should work as long as the dlopening application"
2286                  echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
2287                if test -z "$global_symbol_pipe"; then                if test -z "$global_symbol_pipe"; then
2288                  echo                  echo
2289                  echo "*** However, this would only work if libtool was able to extract symbol"                  echo "*** However, this would only work if libtool was able to extract symbol"
# Line 2876  EOF Line 2879  EOF
2879                  else                  else
2880                    droppeddeps=yes                    droppeddeps=yes
2881                    echo                    echo
2882                    echo "*** Warning: This library needs some functionality provided by $i."                    echo "*** Warning: dynamic linker does not accept needed library $i."
2883                    echo "*** I have the capability to make that library automatically link in when"                    echo "*** I have the capability to make that library automatically link in when"
2884                    echo "*** you link to this library.  But I can only do this if you have a"                    echo "*** you link to this library.  But I can only do this if you have a"
2885                    echo "*** shared version of the library, which you do not appear to have."                    echo "*** shared version of the library, which I believe you do not have"
2886                      echo "*** because a test_compile did reveal that the linker did not use it for"
2887                      echo "*** its dynamic dependency list that programs get resolved with at runtime."
2888                  fi                  fi
2889                else                else
2890                  newdeplibs="$newdeplibs $i"                  newdeplibs="$newdeplibs $i"
# Line 2906  EOF Line 2911  EOF
2911                    else                    else
2912                      droppeddeps=yes                      droppeddeps=yes
2913                      echo                      echo
2914                      echo "*** Warning: This library needs some functionality provided by $i."                      echo "*** Warning: dynamic linker does not accept needed library $i."
2915                      echo "*** I have the capability to make that library automatically link in when"                      echo "*** I have the capability to make that library automatically link in when"
2916                      echo "*** you link to this library.  But I can only do this if you have a"                      echo "*** you link to this library.  But I can only do this if you have a"
2917                      echo "*** shared version of the library, which you do not appear to have."                      echo "*** shared version of the library, which you do not appear to have"
2918                        echo "*** because a test_compile did reveal that the linker did not use this one"
2919                        echo "*** as a dynamic dependency that programs can get resolved with at runtime."
2920                    fi                    fi
2921                  else                  else
2922                    droppeddeps=yes                    droppeddeps=yes
# Line 2966  EOF Line 2973  EOF
2973                if test -n "$a_deplib" ; then                if test -n "$a_deplib" ; then
2974                  droppeddeps=yes                  droppeddeps=yes
2975                  echo                  echo
2976                  echo "*** Warning: This library needs some functionality provided by $a_deplib."                  echo "*** Warning: linker path does not have real file for library $a_deplib."
2977                  echo "*** I have the capability to make that library automatically link in when"                  echo "*** I have the capability to make that library automatically link in when"
2978                  echo "*** you link to this library.  But I can only do this if you have a"                  echo "*** you link to this library.  But I can only do this if you have a"
2979                  echo "*** shared version of the library, which you do not appear to have."                  echo "*** shared version of the library, which you do not appear to have"
2980                    echo "*** because I did check the linker path looking for a file starting"
2981                    if test -z "$potlib" ; then
2982                      echo "*** with $libname but no candidates were found. (...for file magic test)"
2983                    else
2984                      echo "*** with $libname and none of the candidates passed a file format test"
2985                      echo "*** using a file magic. Last file checked: $potlib"
2986                    fi
2987                fi                fi
2988              else              else
2989                # Add a -L argument.                # Add a -L argument.
# Line 2988  EOF Line 3002  EOF
3002                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
3003                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
3004                  for potent_lib in $potential_libs; do                  for potent_lib in $potential_libs; do
3005                      potlib="$potent_lib" # see symlink-check above in file_magic test
3006                    if eval echo \"$potent_lib\" 2>/dev/null \                    if eval echo \"$potent_lib\" 2>/dev/null \
3007                        | sed 10q \                        | sed 10q \
3008                        | egrep "$match_pattern_regex" > /dev/null; then                        | egrep "$match_pattern_regex" > /dev/null; then
# Line 3000  EOF Line 3015  EOF
3015                if test -n "$a_deplib" ; then                if test -n "$a_deplib" ; then
3016                  droppeddeps=yes                  droppeddeps=yes
3017                  echo                  echo
3018                  echo "*** Warning: This library needs some functionality provided by $a_deplib."                  echo "*** Warning: linker path does not have real file for library $a_deplib."
3019                  echo "*** I have the capability to make that library automatically link in when"                  echo "*** I have the capability to make that library automatically link in when"
3020                  echo "*** you link to this library.  But I can only do this if you have a"                  echo "*** you link to this library.  But I can only do this if you have a"
3021                  echo "*** shared version of the library, which you do not appear to have."                  echo "*** shared version of the library, which you do not appear to have"
3022                    echo "*** because I did check the linker path looking for a file starting"
3023                    if test -z "$potlib" ; then
3024                      echo "*** with $libname but no candidates were found. (...for regex pattern test)"
3025                    else
3026                      echo "*** with $libname and none of the candidates passed a file format test"
3027                      echo "*** using a regex pattern. Last file checked: $potlib"
3028                    fi
3029                fi                fi
3030              else              else
3031                # Add a -L argument.                # Add a -L argument.

Legend:
Removed from v.1.268  
changed lines
  Added in v.1.269

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26