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

Diff of /libtool/ltmain.in

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

revision 1.259.2.6 by gary, Sat Aug 18 22:31:47 2001 UTC revision 1.259.2.7 by gary, Sun Sep 2 22:18:21 2001 UTC
# Line 1040  compiler." Line 1040  compiler."
1040              # These systems don't actually have a C library (as such)              # These systems don't actually have a C library (as such)
1041              test "X$arg" = "X-lc" && continue              test "X$arg" = "X-lc" && continue
1042              ;;              ;;
1043            *-*-openbsd*)            *-*-openbsd*)
1044              # Do not include libc due to us having libc/libc_r.              # Do not include libc due to us having libc/libc_r.
1045              test "X$arg" = "X-lc" && continue              test "X$arg" = "X-lc" && continue
1046              ;;              ;;
1047            esac            esac
1048           fi           fi
1049           if test "X$arg" = "X-lc_r"; then           if test "X$arg" = "X-lc_r"; then
1050            case $host in            case $host in
1051            *-*-openbsd*)            *-*-openbsd*)
1052              # Do not include libc_r directly, use -pthread flag.              # Do not include libc_r directly, use -pthread flag.
1053              continue              continue
1054              ;;              ;;
1055            esac            esac
1056          fi          fi
1057          deplibs="$deplibs $arg"          deplibs="$deplibs $arg"
# Line 1932  compiler." Line 1932  compiler."
1932                echo "*** Therefore, libtool will create a static module, that should work "                echo "*** Therefore, libtool will create a static module, that should work "
1933                echo "*** as long as the dlopening application is linked with the -dlopen flag."                echo "*** as long as the dlopening application is linked with the -dlopen flag."
1934                if test -z "$global_symbol_pipe"; then                if test -z "$global_symbol_pipe"; then
1935                  echo                  echo
1936                  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"
1937                  echo "*** lists from a program, using \`nm' or equivalent, but libtool could"                  echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
1938                  echo "*** not find such a program.  So, this module is probably useless."                  echo "*** not find such a program.  So, this module is probably useless."
1939                  echo "*** \`nm' from GNU binutils and a full rebuild may help."                  echo "*** \`nm' from GNU binutils and a full rebuild may help."
1940                fi                fi
1941                if test "$build_old_libs" = no; then                if test "$build_old_libs" = no; then
1942                  build_libtool_libs=module                  build_libtool_libs=module
1943                  build_old_libs=yes                  build_old_libs=yes
1944                else                else
1945                  build_libtool_libs=no                  build_libtool_libs=no
1946                fi                fi
1947              fi              fi
1948            else            else
# Line 2333  compiler." Line 2333  compiler."
2333          if test -z "$vinfo" && test -n "$release"; then          if test -z "$vinfo" && test -n "$release"; then
2334            major=            major=
2335            verstring="0.0"            verstring="0.0"
2336              case $version_type in
2337              darwin)
2338                # we can't check for "0.0" in archive_cmds due to quoting
2339                # problems, so we reset it completely
2340                verstring=""
2341                ;;
2342              *)
2343                verstring="0.0"
2344                ;;
2345              esac
2346            if test "$need_version" = no; then            if test "$need_version" = no; then
2347              versuffix=              versuffix=
2348            else            else
# Line 2429  compiler." Line 2439  compiler."
2439            *-*-netbsd*)            *-*-netbsd*)
2440              # Don't link with libc until the a.out ld.so is fixed.              # Don't link with libc until the a.out ld.so is fixed.
2441              ;;              ;;
2442            *-*-openbsd*)            *-*-openbsd*)
2443              # Do not include libc due to us having libc/libc_r.              # Do not include libc due to us having libc/libc_r.
2444              ;;              ;;
2445            *)            *)
2446              # Add libc to deplibs on all other systems if necessary.              # Add libc to deplibs on all other systems if necessary.
2447              if test $build_libtool_need_lc = "yes"; then              if test $build_libtool_need_lc = "yes"; then
# Line 3642  else Line 3652  else
3652      if test -n \"\$relink_command\"; then      if test -n \"\$relink_command\"; then
3653        if relink_command_output=\`eval \$relink_command 2>&1\`; then :        if relink_command_output=\`eval \$relink_command 2>&1\`; then :
3654        else        else
3655          $echo \"\$relink_command_output\" >&2          $echo \"\$relink_command_output\" >&2
3656          $rm \"\$progdir/\$file\"          $rm \"\$progdir/\$file\"
3657          exit 1          exit 1
3658        fi        fi
# Line 4660  relink_command=\"$relink_command\"" Line 4670  relink_command=\"$relink_command\""
4670    
4671        # Don't error if the file doesn't exist and rm -f was used.        # Don't error if the file doesn't exist and rm -f was used.
4672        if (test -L "$file") >/dev/null 2>&1 \        if (test -L "$file") >/dev/null 2>&1 \
4673          || (test -h "$file") >/dev/null 2>&1 \          || (test -h "$file") >/dev/null 2>&1 \
4674          || test -f "$file"; then          || test -f "$file"; then
4675          :          :
4676        elif test -d "$file"; then        elif test -d "$file"; then
4677          exit_status=1          exit_status=1
4678          continue          continue
4679        elif test "$rmforce" = yes; then        elif test "$rmforce" = yes; then
4680          continue          continue
4681        fi        fi
4682    
4683        rmfiles="$file"        rmfiles="$file"

Legend:
Removed from v.1.259.2.6  
changed lines
  Added in v.1.259.2.7

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