|
|
|
@ -1552,19 +1552,6 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
|
|
|
lt_cv_sys_max_cmd_len=196608
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf*)
|
|
|
|
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
|
|
|
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
|
|
|
|
# nice to cause kernel panics so lets avoid the loop below.
|
|
|
|
|
# First set a reasonable default.
|
|
|
|
|
lt_cv_sys_max_cmd_len=16384
|
|
|
|
|
#
|
|
|
|
|
if test -x /sbin/sysconfig; then
|
|
|
|
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
|
|
|
|
|
*1*) lt_cv_sys_max_cmd_len=-1 ;;
|
|
|
|
|
esac
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
lt_cv_sys_max_cmd_len=102400
|
|
|
|
|
;;
|
|
|
|
@ -2569,17 +2556,6 @@ os2*)
|
|
|
|
|
shlibpath_var=LIBPATH
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
version_type=osf
|
|
|
|
|
need_lib_prefix=no
|
|
|
|
|
need_version=no
|
|
|
|
|
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
|
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
|
|
|
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
rdos*)
|
|
|
|
|
dynamic_linker=no
|
|
|
|
|
;;
|
|
|
|
@ -3114,10 +3090,6 @@ openbsd*)
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
rdos*)
|
|
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
|
;;
|
|
|
|
@ -3197,9 +3169,8 @@ else
|
|
|
|
|
# Check to see if the nm accepts a BSD-compat flag.
|
|
|
|
|
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
|
|
|
|
# nm: unknown option "B" ignored
|
|
|
|
|
# Tru64's nm complains that /dev/null is an invalid object file
|
|
|
|
|
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
|
|
|
|
*/dev/null* | *'Invalid file or object type'*)
|
|
|
|
|
*'Invalid file or object type'*)
|
|
|
|
|
lt_cv_path_NM="$tmp_nm -B"
|
|
|
|
|
break
|
|
|
|
|
;;
|
|
|
|
@ -3348,9 +3319,6 @@ hpux*)
|
|
|
|
|
irix* | nonstopux*)
|
|
|
|
|
symcode='[[BCDEGRST]]'
|
|
|
|
|
;;
|
|
|
|
|
osf*)
|
|
|
|
|
symcode='[[BCDEGQRST]]'
|
|
|
|
|
;;
|
|
|
|
|
solaris*)
|
|
|
|
|
symcode='[[BDRT]]'
|
|
|
|
|
;;
|
|
|
|
@ -3580,7 +3548,7 @@ m4_if([$1], [CXX], [
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
|
|
|
beos* | irix5* | irix6* | nonstopux*)
|
|
|
|
|
# PIC is the default for these OSes.
|
|
|
|
|
;;
|
|
|
|
|
mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
|
|
@ -3734,7 +3702,7 @@ m4_if([$1], [CXX], [
|
|
|
|
|
cxx*)
|
|
|
|
|
# Compaq C++
|
|
|
|
|
# Make sure the PIC flag is empty. It appears that all Alpha
|
|
|
|
|
# Linux and Compaq Tru64 Unix objects are PIC.
|
|
|
|
|
# Linux objects are PIC.
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
@ -3776,27 +3744,6 @@ m4_if([$1], [CXX], [
|
|
|
|
|
# it will coredump.
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
|
|
|
|
;;
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
case $cc_basename in
|
|
|
|
|
KCC*)
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
|
|
|
|
|
;;
|
|
|
|
|
RCC*)
|
|
|
|
|
# Rational C++ 2.4.1
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
|
|
|
|
|
;;
|
|
|
|
|
cxx*)
|
|
|
|
|
# Digital/Compaq C++
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
|
|
|
# Make sure the PIC flag is empty. It appears that all Alpha
|
|
|
|
|
# Linux and Compaq Tru64 Unix objects are PIC.
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
psos*)
|
|
|
|
|
;;
|
|
|
|
|
solaris*)
|
|
|
|
@ -3886,7 +3833,7 @@ m4_if([$1], [CXX], [
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
|
|
|
beos* | irix5* | irix6* | nonstopux*)
|
|
|
|
|
# PIC is the default for these OSes.
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
@ -4058,12 +4005,6 @@ m4_if([$1], [CXX], [
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
|
|
|
# All OSF/1 code is PIC.
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
rdos*)
|
|
|
|
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
@ -4917,37 +4858,6 @@ _LT_EOF
|
|
|
|
|
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3*)
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
else
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
fi
|
|
|
|
|
_LT_TAGVAR(archive_cmds_need_lc, $1)='no'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
else
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
|
|
|
|
|
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
|
|
|
|
|
|
|
|
|
|
# Both c and cxx compiler support -rpath directly
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
|
|
|
|
|
fi
|
|
|
|
|
_LT_TAGVAR(archive_cmds_need_lc, $1)='no'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
solaris*)
|
|
|
|
|
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
@ -6064,89 +5974,6 @@ if test "$_lt_caught_CXX_error" != yes; then
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
case $cc_basename in
|
|
|
|
|
KCC*)
|
|
|
|
|
# Kuck and Associates, Inc. (KAI) C++ Compiler
|
|
|
|
|
|
|
|
|
|
# KCC will only create a shared library if the output file
|
|
|
|
|
# ends with ".so" (or ".sl" for HP-UX), so rename the library
|
|
|
|
|
# to its proper name (with version) after linking.
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
|
|
|
|
|
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Archives containing C++ object files must be created using
|
|
|
|
|
# the KAI C++ compiler.
|
|
|
|
|
case $host in
|
|
|
|
|
osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
|
|
|
|
|
*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
RCC*)
|
|
|
|
|
# Rational C++ 2.4.1
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
;;
|
|
|
|
|
cxx*)
|
|
|
|
|
case $host in
|
|
|
|
|
osf3*)
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
|
|
|
|
|
echo "-hidden">> $lib.exp~
|
|
|
|
|
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
|
|
|
|
|
$RM $lib.exp'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
#
|
|
|
|
|
# There doesn't appear to be a way to prevent this compiler from
|
|
|
|
|
# explicitly linking system object files so we need to strip them
|
|
|
|
|
# from the output so that they don't get included in the library
|
|
|
|
|
# dependencies.
|
|
|
|
|
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
|
|
|
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
case $host in
|
|
|
|
|
osf3*)
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
psos*)
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|