libtool.m4 | libtool.m4 | |||
---|---|---|---|---|
skipping to change at line 2390 | skipping to change at line 2390 | |||
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | |||
hardcode_into_libs=yes | hardcode_into_libs=yes | |||
;; | ;; | |||
# No shared lib support for Linux oldld, aout, or coff. | # No shared lib support for Linux oldld, aout, or coff. | |||
linux*oldld* | linux*aout* | linux*coff*) | linux*oldld* | linux*aout* | linux*coff*) | |||
dynamic_linker=no | dynamic_linker=no | |||
;; | ;; | |||
# This must be Linux ELF. | # This must be Linux ELF. | |||
linux* | k*bsd*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |||
version_type=linux | version_type=linux | |||
need_lib_prefix=no | need_lib_prefix=no | |||
need_version=no | need_version=no | |||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}' | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}' | |||
soname_spec='${libname}${release}${shared_ext}$major' | soname_spec='${libname}${release}${shared_ext}$major' | |||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |||
shlibpath_var=LD_LIBRARY_PATH | shlibpath_var=LD_LIBRARY_PATH | |||
shlibpath_overrides_runpath=no | shlibpath_overrides_runpath=no | |||
# Some binutils ld are patched to set DT_RUNPATH | # Some binutils ld are patched to set DT_RUNPATH | |||
save_LDFLAGS=$LDFLAGS | save_LDFLAGS=$LDFLAGS | |||
skipping to change at line 2430 | skipping to change at line 2430 | |||
# We used to test for /lib/ld.so.1 and disable shared libraries on | # We used to test for /lib/ld.so.1 and disable shared libraries on | |||
# powerpc, because MkLinux only supported shared libraries with the | # powerpc, because MkLinux only supported shared libraries with the | |||
# GNU dynamic linker. Since this was broken with cross compilers, | # GNU dynamic linker. Since this was broken with cross compilers, | |||
# most powerpc-linux boxes support dynamic linking these days and | # most powerpc-linux boxes support dynamic linking these days and | |||
# people can always --disable-shared, the test was removed, and we | # people can always --disable-shared, the test was removed, and we | |||
# assume the GNU/Linux dynamic linker is in use. | # assume the GNU/Linux dynamic linker is in use. | |||
dynamic_linker='GNU/Linux ld.so' | dynamic_linker='GNU/Linux ld.so' | |||
;; | ;; | |||
netbsdelf*-gnu) | ||||
version_type=linux | ||||
need_lib_prefix=no | ||||
need_version=no | ||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname | ||||
}${release}${shared_ext}$major ${libname}${shared_ext}' | ||||
soname_spec='${libname}${release}${shared_ext}$major' | ||||
shlibpath_var=LD_LIBRARY_PATH | ||||
shlibpath_overrides_runpath=no | ||||
hardcode_into_libs=yes | ||||
dynamic_linker='NetBSD ld.elf_so' | ||||
;; | ||||
netbsd*) | netbsd*) | |||
version_type=sunos | version_type=sunos | |||
need_lib_prefix=no | need_lib_prefix=no | |||
need_version=no | need_version=no | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna me}${shared_ext}$versuffix' | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna me}${shared_ext}$versuffix' | |||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |||
dynamic_linker='NetBSD (a.out) ld.so' | dynamic_linker='NetBSD (a.out) ld.so' | |||
else | else | |||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna me}${release}${shared_ext}$major ${libname}${shared_ext}' | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna me}${release}${shared_ext}$major ${libname}${shared_ext}' | |||
skipping to change at line 3011 | skipping to change at line 3023 | |||
case $LD in | case $LD in | |||
*-32|*"-32 ") libmagic=32-bit;; | *-32|*"-32 ") libmagic=32-bit;; | |||
*-n32|*"-n32 ") libmagic=N32;; | *-n32|*"-n32 ") libmagic=N32;; | |||
*-64|*"-64 ") libmagic=64-bit;; | *-64|*"-64 ") libmagic=64-bit;; | |||
*) libmagic=never-match;; | *) libmagic=never-match;; | |||
esac | esac | |||
lt_cv_deplibs_check_method=pass_all | lt_cv_deplibs_check_method=pass_all | |||
;; | ;; | |||
# This must be Linux ELF. | # This must be Linux ELF. | |||
linux* | k*bsd*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |||
lt_cv_deplibs_check_method=pass_all | lt_cv_deplibs_check_method=pass_all | |||
;; | ;; | |||
netbsd*) | netbsd* | netbsdelf*-gnu) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[ [0-9]]+|_pic\.a)$' | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[ [0-9]]+|_pic\.a)$' | |||
else | else | |||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' | |||
fi | fi | |||
;; | ;; | |||
newos6*) | newos6*) | |||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB ( executable|dynamic lib)' | lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB ( executable|dynamic lib)' | |||
lt_cv_file_magic_cmd=/usr/bin/file | lt_cv_file_magic_cmd=/usr/bin/file | |||
skipping to change at line 3627 | skipping to change at line 3639 | |||
case $cc_basename in | case $cc_basename in | |||
CC*) | CC*) | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | |||
# CC pic flag -KPIC is the default. | # CC pic flag -KPIC is the default. | |||
;; | ;; | |||
*) | *) | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
linux* | k*bsd*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |||
case $cc_basename in | case $cc_basename in | |||
KCC*) | KCC*) | |||
# KAI C++ Compiler | # KAI C++ Compiler | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | |||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | |||
;; | ;; | |||
ecpc* ) | ecpc* ) | |||
# old Intel C++ for x86_64 which still supported -KPIC. | # old Intel C++ for x86_64 which still supported -KPIC. | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | |||
skipping to change at line 3691 | skipping to change at line 3703 | |||
;; | ;; | |||
mvs*) | mvs*) | |||
case $cc_basename in | case $cc_basename in | |||
cxx*) | cxx*) | |||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' | |||
;; | ;; | |||
*) | *) | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
netbsd*) | netbsd* | netbsdelf*-gnu) | |||
;; | ;; | |||
*qnx* | *nto*) | *qnx* | *nto*) | |||
# QNX uses GNU C++, but need to define -shared option too, otherwis e | # QNX uses GNU C++, but need to define -shared option too, otherwis e | |||
# it will coredump. | # it will coredump. | |||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' | |||
;; | ;; | |||
osf3* | osf4* | osf5*) | osf3* | osf4* | osf5*) | |||
case $cc_basename in | case $cc_basename in | |||
KCC*) | KCC*) | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | |||
skipping to change at line 3911 | skipping to change at line 3923 | |||
# Is there a better lt_prog_compiler_static that works with the bundl ed CC? | # Is there a better lt_prog_compiler_static that works with the bundl ed CC? | |||
_LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' | _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' | |||
;; | ;; | |||
irix5* | irix6* | nonstopux*) | irix5* | irix6* | nonstopux*) | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |||
# PIC (with -KPIC) is the default. | # PIC (with -KPIC) is the default. | |||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | |||
;; | ;; | |||
linux* | k*bsd*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |||
case $cc_basename in | case $cc_basename in | |||
# old Intel for x86_64 which still supported -KPIC. | # old Intel for x86_64 which still supported -KPIC. | |||
ecc*) | ecc*) | |||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | |||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | |||
;; | ;; | |||
# icc used to be incompatible with GCC. | # icc used to be incompatible with GCC. | |||
# ICC 10 doesn't accept -KPIC any more. | # ICC 10 doesn't accept -KPIC any more. | |||
icc* | ifort*) | icc* | ifort*) | |||
skipping to change at line 4115 | skipping to change at line 4127 | |||
else | else | |||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([subs tr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([subs tr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | |||
fi | fi | |||
;; | ;; | |||
pw32*) | pw32*) | |||
_LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" | _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" | |||
;; | ;; | |||
cygwin* | mingw* | cegcc*) | cygwin* | mingw* | cegcc*) | |||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $globa l_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/ ;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/ d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' | _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $globa l_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/ ;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/ d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' | |||
;; | ;; | |||
linux* | k*bsd*-gnu) | ||||
_LT_TAGVAR(link_all_deplibs, $1)=no | ||||
;; | ||||
*) | *) | |||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $globa l_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $globa l_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | |||
;; | ;; | |||
esac | esac | |||
_LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.* '] | _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.* '] | |||
], [ | ], [ | |||
runpath_var= | runpath_var= | |||
_LT_TAGVAR(allow_undefined_flag, $1)= | _LT_TAGVAR(allow_undefined_flag, $1)= | |||
_LT_TAGVAR(always_export_symbols, $1)=no | _LT_TAGVAR(always_export_symbols, $1)=no | |||
_LT_TAGVAR(archive_cmds, $1)= | _LT_TAGVAR(archive_cmds, $1)= | |||
skipping to change at line 4179 | skipping to change at line 4194 | |||
with_gnu_ld=no | with_gnu_ld=no | |||
fi | fi | |||
;; | ;; | |||
interix*) | interix*) | |||
# we just hope/assume this is gcc and not c89 (= MSVC++) | # we just hope/assume this is gcc and not c89 (= MSVC++) | |||
with_gnu_ld=yes | with_gnu_ld=yes | |||
;; | ;; | |||
openbsd*) | openbsd*) | |||
with_gnu_ld=no | with_gnu_ld=no | |||
;; | ;; | |||
linux* | k*bsd*-gnu) | ||||
_LT_TAGVAR(link_all_deplibs, $1)=no | ||||
;; | ||||
esac | esac | |||
_LT_TAGVAR(ld_shlibs, $1)=yes | _LT_TAGVAR(ld_shlibs, $1)=yes | |||
if test "$with_gnu_ld" = yes; then | if test "$with_gnu_ld" = yes; then | |||
# If archive_cmds runs LD, not CC, wlarc should be empty | # If archive_cmds runs LD, not CC, wlarc should be empty | |||
wlarc='${wl}' | wlarc='${wl}' | |||
# Set some defaults for GNU ld with shared library support. These | # Set some defaults for GNU ld with shared library support. These | |||
# are reset later if shared libraries are not supported. Putting them | # are reset later if shared libraries are not supported. Putting them | |||
# here allows them to be overridden if necessary. | # here allows them to be overridden if necessary. | |||
skipping to change at line 4200 | skipping to change at line 4218 | |||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | |||
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | |||
# ancient GNU ld didn't support --whole-archive et. al. | # ancient GNU ld didn't support --whole-archive et. al. | |||
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | |||
_LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$conv enience '"$wlarc"'--no-whole-archive' | _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$conv enience '"$wlarc"'--no-whole-archive' | |||
else | else | |||
_LT_TAGVAR(whole_archive_flag_spec, $1)= | _LT_TAGVAR(whole_archive_flag_spec, $1)= | |||
fi | fi | |||
supports_anon_versioning=no | supports_anon_versioning=no | |||
case `$LD -v 2>&1` in | case `$LD -v 2>&1` in | |||
*GNU\ gold*) supports_anon_versioning=yes ;; | ||||
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 | *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 | |||
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |||
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 .. . | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 .. . | |||
*\ 2.11.*) ;; # other 2.11 versions | *\ 2.11.*) ;; # other 2.11 versions | |||
*) supports_anon_versioning=yes ;; | *) supports_anon_versioning=yes ;; | |||
esac | esac | |||
# See if GNU ld supports shared libraries. | # See if GNU ld supports shared libraries. | |||
case $host_os in | case $host_os in | |||
aix[[3-9]]*) | aix[[3-9]]*) | |||
skipping to change at line 4291 | skipping to change at line 4310 | |||
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc . | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc . | |||
# Instead, shared libraries are loaded at an image base (0x10000000 b y | # Instead, shared libraries are loaded at an image base (0x10000000 b y | |||
# default) and relocated if they conflict, which is a slow very memor y | # default) and relocated if they conflict, which is a slow very memor y | |||
# consuming and fragmenting process. To avoid this, we pick a random , | # consuming and fragmenting process. To avoid this, we pick a random , | |||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at lin k | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at lin k | |||
# time. Moving up from 0x10000000 also allows more sbrk(2) space. | # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 409 6 / 2 \* 262144 + 1342177280` -o $lib' | _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 409 6 / 2 \* 262144 + 1342177280` -o $lib' | |||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$o utput_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compil er_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname. expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 13421772 80` -o $lib' | _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$o utput_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compil er_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname. expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 13421772 80` -o $lib' | |||
;; | ;; | |||
gnu* | linux* | tpf* | k*bsd*-gnu) | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |||
tmp_diet=no | tmp_diet=no | |||
if test "$host_os" = linux-dietlibc; then | if test "$host_os" = linux-dietlibc; then | |||
case $cc_basename in | case $cc_basename in | |||
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) | |||
esac | esac | |||
fi | fi | |||
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | |||
&& test "$tmp_diet" = no | && test "$tmp_diet" = no | |||
then | then | |||
tmp_addflag= | tmp_addflag= | |||
skipping to change at line 4361 | skipping to change at line 4380 | |||
echo "local: *; };" >> $output_objdir/$libname.ver~ | echo "local: *; };" >> $output_objdir/$libname.ver~ | |||
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
else | else | |||
_LT_TAGVAR(ld_shlibs, $1)=no | _LT_TAGVAR(ld_shlibs, $1)=no | |||
fi | fi | |||
;; | ;; | |||
netbsd*) | netbsd* | netbsdelf*-gnu) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $lin ker_flags -o $lib' | _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $lin ker_flags -o $lib' | |||
wlarc= | wlarc= | |||
else | else | |||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile r_flags ${wl}-soname $wl$soname -o $lib' | _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile r_flags ${wl}-soname $wl$soname -o $lib' | |||
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $ compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export _symbols -o $lib' | _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $ compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export _symbols -o $lib' | |||
fi | fi | |||
;; | ;; | |||
solaris*) | solaris*) | |||
skipping to change at line 4536 | skipping to change at line 4555 | |||
_LT_TAGVAR(hardcode_minus_L, $1)=yes | _LT_TAGVAR(hardcode_minus_L, $1)=yes | |||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | |||
_LT_TAGVAR(hardcode_libdir_separator, $1)= | _LT_TAGVAR(hardcode_libdir_separator, $1)= | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
shared_flag='-shared' | shared_flag='-shared' | |||
if test "$aix_use_runtimelinking" = yes; then | if test "$aix_use_runtimelinking" = yes; then | |||
shared_flag="$shared_flag "'${wl}-G' | shared_flag="$shared_flag "'${wl}-G' | |||
fi | fi | |||
_LT_TAGVAR(link_all_deplibs, $1)=no | ||||
else | else | |||
# not using gcc | # not using gcc | |||
if test "$host_cpu" = ia64; then | if test "$host_cpu" = ia64; then | |||
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |||
# chokes on -Wl,-G. The following line is correct: | # chokes on -Wl,-G. The following line is correct: | |||
shared_flag='-G' | shared_flag='-G' | |||
else | else | |||
if test "$aix_use_runtimelinking" = yes; then | if test "$aix_use_runtimelinking" = yes; then | |||
shared_flag='${wl}-G' | shared_flag='${wl}-G' | |||
else | else | |||
skipping to change at line 4774 | skipping to change at line 4794 | |||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile r_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $vers tring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' | _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile r_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $vers tring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' | |||
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $ compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_versio n $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -expo rts_file $export_symbols -o $lib' | _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $ compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_versio n $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -expo rts_file $export_symbols -o $lib' | |||
fi | fi | |||
_LT_TAGVAR(archive_cmds_need_lc, $1)='no' | _LT_TAGVAR(archive_cmds_need_lc, $1)='no' | |||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | |||
_LT_TAGVAR(hardcode_libdir_separator, $1)=: | _LT_TAGVAR(hardcode_libdir_separator, $1)=: | |||
_LT_TAGVAR(inherit_rpath, $1)=yes | _LT_TAGVAR(inherit_rpath, $1)=yes | |||
_LT_TAGVAR(link_all_deplibs, $1)=yes | _LT_TAGVAR(link_all_deplibs, $1)=yes | |||
;; | ;; | |||
netbsd*) | netbsd* | netbsdelf*-gnu) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $depl ibs $linker_flags' # a.out | _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $depl ibs $linker_flags' # a.out | |||
else | else | |||
_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | |||
fi | fi | |||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | |||
_LT_TAGVAR(hardcode_direct, $1)=yes | _LT_TAGVAR(hardcode_direct, $1)=yes | |||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no | _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | |||
;; | ;; | |||
skipping to change at line 5771 | skipping to change at line 5791 | |||
fi | fi | |||
fi | fi | |||
_LT_TAGVAR(link_all_deplibs, $1)=yes | _LT_TAGVAR(link_all_deplibs, $1)=yes | |||
;; | ;; | |||
esac | esac | |||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir ' | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir ' | |||
_LT_TAGVAR(hardcode_libdir_separator, $1)=: | _LT_TAGVAR(hardcode_libdir_separator, $1)=: | |||
_LT_TAGVAR(inherit_rpath, $1)=yes | _LT_TAGVAR(inherit_rpath, $1)=yes | |||
;; | ;; | |||
linux* | k*bsd*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |||
case $cc_basename in | case $cc_basename in | |||
KCC*) | KCC*) | |||
# Kuck and Associates, Inc. (KAI) C++ Compiler | # Kuck and Associates, Inc. (KAI) C++ Compiler | |||
# KCC will only create a shared library if the output file | # KCC will only create a shared library if the output file | |||
# ends with ".so" (or ".sl" for HP-UX), so rename the library | # ends with ".so" (or ".sl" for HP-UX), so rename the library | |||
# to its proper name (with version) after linking. | # 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_o bjects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | _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_o bjects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | |||
_LT_TAGVAR(archive_expsym_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 $po stdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-sy mbols-file,$export_symbols; mv \$templib $lib' | _LT_TAGVAR(archive_expsym_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 $po stdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-sy mbols-file,$export_symbols; mv \$templib $lib' | |||
# Commands to make compiler produce verbose output that lists | # Commands to make compiler produce verbose output that lists | |||
End of changes. 15 change blocks. | ||||
10 lines changed or deleted | 31 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |