|
|
|
|
@ -169,11 +169,6 @@ func_dirname_and_basename ()
|
|
|
|
|
|
|
|
|
|
# Generated shell functions inserted here.
|
|
|
|
|
|
|
|
|
|
# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
|
|
|
|
|
# is ksh but when the shell is invoked as "sh" and the current value of
|
|
|
|
|
# the _XPG environment variable is not equal to 1 (one), the special
|
|
|
|
|
# positional parameter $0, within a function call, is the name of the
|
|
|
|
|
# function.
|
|
|
|
|
progpath="$0"
|
|
|
|
|
|
|
|
|
|
# The name of this program:
|
|
|
|
|
@ -4449,18 +4444,6 @@ func_mode_link ()
|
|
|
|
|
continue
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
|
|
|
|
|
# so, if we see these flags be careful not to treat them like -L
|
|
|
|
|
-L[A-Z][A-Z]*:*)
|
|
|
|
|
case $with_gcc/$host in
|
|
|
|
|
no/*-*-irix* | /*-*-irix*)
|
|
|
|
|
func_append compile_command " $arg"
|
|
|
|
|
func_append finalize_command " $arg"
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
continue
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
-L*)
|
|
|
|
|
func_stripname '-L' '' "$arg"
|
|
|
|
|
dir=$func_stripname_result
|
|
|
|
|
@ -6162,9 +6145,7 @@ func_mode_link ()
|
|
|
|
|
# There are really only two kinds -- those that
|
|
|
|
|
# use the current revision as the major version
|
|
|
|
|
# and those that subtract age and use age as
|
|
|
|
|
# a minor version. But, then there is irix
|
|
|
|
|
# which has an extra 1 added just for fun
|
|
|
|
|
#
|
|
|
|
|
# a minor version.
|
|
|
|
|
case $version_type in
|
|
|
|
|
darwin|linux|windows|none)
|
|
|
|
|
func_arith $number_major + $number_minor
|
|
|
|
|
@ -6177,13 +6158,6 @@ func_mode_link ()
|
|
|
|
|
revision="$number_minor"
|
|
|
|
|
age="0"
|
|
|
|
|
;;
|
|
|
|
|
irix|nonstopux)
|
|
|
|
|
func_arith $number_major + $number_minor
|
|
|
|
|
current=$func_arith_result
|
|
|
|
|
age="$number_minor"
|
|
|
|
|
revision="$number_minor"
|
|
|
|
|
lt_irix_increment=no
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
func_fatal_configuration "$modename: unknown library version type \`$version_type'"
|
|
|
|
|
;;
|
|
|
|
|
@ -6256,35 +6230,6 @@ func_mode_link ()
|
|
|
|
|
versuffix=".$current"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
irix | nonstopux)
|
|
|
|
|
if test "X$lt_irix_increment" = "Xno"; then
|
|
|
|
|
func_arith $current - $age
|
|
|
|
|
else
|
|
|
|
|
func_arith $current - $age + 1
|
|
|
|
|
fi
|
|
|
|
|
major=$func_arith_result
|
|
|
|
|
|
|
|
|
|
case $version_type in
|
|
|
|
|
nonstopux) verstring_prefix=nonstopux ;;
|
|
|
|
|
*) verstring_prefix=sgi ;;
|
|
|
|
|
esac
|
|
|
|
|
verstring="$verstring_prefix$major.$revision"
|
|
|
|
|
|
|
|
|
|
# Add in all the interfaces that we are compatible with.
|
|
|
|
|
loop=$revision
|
|
|
|
|
while test "$loop" -ne 0; do
|
|
|
|
|
func_arith $revision - $loop
|
|
|
|
|
iface=$func_arith_result
|
|
|
|
|
func_arith $loop - 1
|
|
|
|
|
loop=$func_arith_result
|
|
|
|
|
verstring="$verstring_prefix$major.$iface:$verstring"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Before this point, $major must not contain `.'.
|
|
|
|
|
major=.$major
|
|
|
|
|
versuffix="$major.$revision"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
linux)
|
|
|
|
|
func_arith $current - $age
|
|
|
|
|
major=.$func_arith_result
|
|
|
|
|
|