|
|
|
|
@ -88,7 +88,6 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
|
|
else
|
|
|
|
|
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
|
|
|
|
fi
|
|
|
|
|
BIN_SH=xpg4; export BIN_SH # for Tru64
|
|
|
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
|
|
|
|
|
|
# NLS nuisances: We save the old values to restore during execute mode.
|
|
|
|
|
@ -2433,10 +2432,6 @@ typedef struct {
|
|
|
|
|
runtime relocations are performed -- see ld's documentation
|
|
|
|
|
on pseudo-relocs. */"
|
|
|
|
|
lt_dlsym_const= ;;
|
|
|
|
|
*osf5*)
|
|
|
|
|
echo >> "$output_objdir/$my_dlsyms" "\
|
|
|
|
|
/* This system does not cope well with relocations in const data */"
|
|
|
|
|
lt_dlsym_const= ;;
|
|
|
|
|
*)
|
|
|
|
|
lt_dlsym_const=const ;;
|
|
|
|
|
esac
|
|
|
|
|
@ -2732,7 +2727,6 @@ if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
|
|
|
|
|
else
|
|
|
|
|
case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
|
|
|
|
|
fi
|
|
|
|
|
BIN_SH=xpg4; export BIN_SH # for Tru64
|
|
|
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
|
|
|
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
|
|
|
@ -3476,7 +3470,6 @@ EOF
|
|
|
|
|
XFREE (actual_cwrapper_path);
|
|
|
|
|
XFREE (actual_cwrapper_name);
|
|
|
|
|
|
|
|
|
|
lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
|
|
|
|
|
lt_setenv ("DUALCASE", "1"); /* for MSK sh */
|
|
|
|
|
lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
|
|
|
|
|
lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
|
|
|
|
|
@ -4565,10 +4558,8 @@ func_mode_link ()
|
|
|
|
|
continue
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# Tru64 UNIX uses -model [arg] to determine the layout of C++
|
|
|
|
|
# classes, name mangling, and exception handling.
|
|
|
|
|
# Darwin uses the -arch flag to determine output architecture.
|
|
|
|
|
-model|-arch|-isysroot)
|
|
|
|
|
arch|-isysroot)
|
|
|
|
|
compiler_flags="$compiler_flags $arg"
|
|
|
|
|
func_append compile_command " $arg"
|
|
|
|
|
func_append finalize_command " $arg"
|
|
|
|
|
@ -4748,12 +4739,6 @@ func_mode_link ()
|
|
|
|
|
continue
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# -msg_* for osf cc
|
|
|
|
|
-msg_*)
|
|
|
|
|
func_quote_for_eval "$arg"
|
|
|
|
|
arg="$func_quote_for_eval_result"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# -64, -mips[0-9] enable 64-bit mode on the SGI compiler
|
|
|
|
|
# -r[0-9][0-9]* specifies the processor on the SGI compiler
|
|
|
|
|
# -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
|
|
|
|
|
@ -6192,7 +6177,7 @@ func_mode_link ()
|
|
|
|
|
# which has an extra 1 added just for fun
|
|
|
|
|
#
|
|
|
|
|
case $version_type in
|
|
|
|
|
darwin|linux|osf|windows|none)
|
|
|
|
|
darwin|linux|windows|none)
|
|
|
|
|
func_arith $number_major + $number_minor
|
|
|
|
|
current=$func_arith_result
|
|
|
|
|
age="$number_minor"
|
|
|
|
|
@ -6317,26 +6302,6 @@ func_mode_link ()
|
|
|
|
|
versuffix="$major.$age.$revision"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf)
|
|
|
|
|
func_arith $current - $age
|
|
|
|
|
major=.$func_arith_result
|
|
|
|
|
versuffix=".$current.$age.$revision"
|
|
|
|
|
verstring="$current.$age.$revision"
|
|
|
|
|
|
|
|
|
|
# Add in all the interfaces that we are compatible with.
|
|
|
|
|
loop=$age
|
|
|
|
|
while test "$loop" -ne 0; do
|
|
|
|
|
func_arith $current - $loop
|
|
|
|
|
iface=$func_arith_result
|
|
|
|
|
func_arith $loop - 1
|
|
|
|
|
loop=$func_arith_result
|
|
|
|
|
verstring="$verstring:${iface}.0"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Make executables depend on our current version.
|
|
|
|
|
verstring="$verstring:${current}.0"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
qnx)
|
|
|
|
|
major=".$current"
|
|
|
|
|
versuffix=".$current"
|
|
|
|
|
@ -6529,9 +6494,7 @@ func_mode_link ()
|
|
|
|
|
pass_all)
|
|
|
|
|
# Don't check for shared/static. Everything works.
|
|
|
|
|
# This might be a little naive. We might want to check
|
|
|
|
|
# whether the library exists or not. But this is on
|
|
|
|
|
# osf3 & osf4 and I'm not really sure... Just
|
|
|
|
|
# implementing what was already the behavior.
|
|
|
|
|
# whether the library exists or not.
|
|
|
|
|
newdeplibs=$deplibs
|
|
|
|
|
;;
|
|
|
|
|
test_compile)
|
|
|
|
|
|