Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 65272 | Differences between
and this patch

Collapse All | Expand All

(-)ltmain.sh.darwin (+26 lines)
Lines 24-29 Link Here
24
# configuration script generated by Autoconf, you may include it under
24
# configuration script generated by Autoconf, you may include it under
25
# the same distribution terms that you use for the rest of that program.
25
# the same distribution terms that you use for the rest of that program.
26
26
27
_S_=${LIBTOOL_CMD_SEP-\~}
28
27
# Check that we have a working $echo.
29
# Check that we have a working $echo.
28
if test "X$1" = X--no-reexec; then
30
if test "X$1" = X--no-reexec; then
29
  # Discard the --no-reexec flag, and continue.
31
  # Discard the --no-reexec flag, and continue.
Lines 1079-1084 Link Here
1079
	    # These systems don't actually have c library (as such)
1079
	    # These systems don't actually have c library (as such)
1080
	    continue
1080
	    continue
1081
	    ;;
1081
	    ;;
1082
	  *-*-rhapsody* | *-*-darwin1.[012])
1083
	    # Rhapsody C library is in the System framework
1084
	    deplibs="$deplibs -framework System"
1085
	    continue
1086
	    ;;
1082
	  esac
1087
	  esac
1083
	elif test "$arg" = "-lm"; then
1088
	elif test "$arg" = "-lm"; then
1084
	  case "$host" in
1089
	  case "$host" in
Lines 1086-1091 Link Here
1086
	    # These systems don't actually have math library (as such)
1091
	    # These systems don't actually have math library (as such)
1087
	    continue
1092
	    continue
1088
	    ;;
1093
	    ;;
1094
	  *-*-rhapsody* | *-*-darwin1.[012])
1095
	    # Rhapsody math library is in the System framework
1096
	    deplibs="$deplibs -framework System"
1097
	    continue
1098
	    ;;
1089
	  esac
1099
	  esac
1090
	fi
1100
	fi
1091
	deplibs="$deplibs $arg"
1101
	deplibs="$deplibs $arg"
Lines 1753-1758 Link Here
1753
	  versuffix="-$major-$age-$revision"
1763
	  versuffix="-$major-$age-$revision"
1754
	  ;;
1764
	  ;;
1755
1765
1766
	darwin)
1767
	  # Like Linux, but with the current version available in
1768
	  # verstring for coding it into the library header
1769
	  major=.`expr $current - $age`
1770
	  versuffix="$major.$age.$revision"
1771
	  # Darwin ld doesn't like 0 for these options...
1772
	  minor_current=`expr $current + 1`
1773
	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
1774
	  ;;
1775
1756
	*)
1776
	*)
1757
	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
1777
	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
1758
	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
1778
	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
Lines 1795-1800 Link Here
1795
	*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
1824
	*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
1796
	  # these systems don't actually have a c library (as such)!
1825
	  # these systems don't actually have a c library (as such)!
1797
	  ;;
1826
	  ;;
1827
        *-*-rhapsody* | *-*-darwin1.[012])
1828
	  # Rhapsody C library is in the System framework
1829
	  deplibs="$deplibs -framework System"
1830
	  ;;
1798
	*)
1831
	*)
1799
	  # Add libc to deplibs on all other systems.
1832
	  # Add libc to deplibs on all other systems.
1800
	  deplibs="$deplibs -lc"
1833
	  deplibs="$deplibs -lc"

Return to bug 65272