741 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
742 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
743 |
;; |
;; |
744 |
|
|
745 |
|
interix*) |
746 |
|
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
747 |
|
lt_cv_sys_max_cmd_len=196608 |
748 |
|
;; |
749 |
|
|
750 |
osf*) |
osf*) |
751 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
752 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
1499 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
1500 |
;; |
;; |
1501 |
|
|
1502 |
|
interix3*) |
1503 |
|
version_type=linux |
1504 |
|
need_lib_prefix=no |
1505 |
|
need_version=no |
1506 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1507 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
1508 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
1509 |
|
shlibpath_var=LD_LIBRARY_PATH |
1510 |
|
shlibpath_overrides_runpath=no |
1511 |
|
hardcode_into_libs=yes |
1512 |
|
;; |
1513 |
|
|
1514 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
1515 |
case $host_os in |
case $host_os in |
1516 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
2334 |
esac |
esac |
2335 |
;; |
;; |
2336 |
|
|
2337 |
|
interix3*) |
2338 |
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
2339 |
|
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' |
2340 |
|
;; |
2341 |
|
|
2342 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
2343 |
case $LD in |
case $LD in |
2344 |
*-32|*"-32 ") libmagic=32-bit;; |
*-32|*"-32 ") libmagic=32-bit;; |
3218 |
;; |
;; |
3219 |
esac |
esac |
3220 |
;; |
;; |
3221 |
|
interix3*) |
3222 |
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no |
3223 |
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
3224 |
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
3225 |
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
3226 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
3227 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
3228 |
|
# default) and relocated if they conflict, which is a slow very memory |
3229 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
3230 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
3231 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
3232 |
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
3233 |
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
3234 |
|
;; |
3235 |
irix5* | irix6*) |
irix5* | irix6*) |
3236 |
case $cc_basename in |
case $cc_basename in |
3237 |
CC*) |
CC*) |
3849 |
# PORTME: override above test on systems where it is broken |
# PORTME: override above test on systems where it is broken |
3850 |
ifelse([$1],[CXX], |
ifelse([$1],[CXX], |
3851 |
[case $host_os in |
[case $host_os in |
3852 |
|
interix3*) |
3853 |
|
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
3854 |
|
# hack all around it, let's just trust "g++" to DTRT. |
3855 |
|
_LT_AC_TAGVAR(predep_objects,$1)= |
3856 |
|
_LT_AC_TAGVAR(postdep_objects,$1)= |
3857 |
|
_LT_AC_TAGVAR(postdeps,$1)= |
3858 |
|
;; |
3859 |
|
|
3860 |
solaris*) |
solaris*) |
3861 |
case $cc_basename in |
case $cc_basename in |
3862 |
CC*) |
CC*) |
4837 |
# DJGPP does not support shared libraries at all |
# DJGPP does not support shared libraries at all |
4838 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
4839 |
;; |
;; |
4840 |
|
interix3*) |
4841 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
4842 |
|
# Instead, we relocate shared libraries at runtime. |
4843 |
|
;; |
4844 |
sysv4*MP*) |
sysv4*MP*) |
4845 |
if test -d /usr/nec; then |
if test -d /usr/nec; then |
4846 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic |
4931 |
;; |
;; |
4932 |
esac |
esac |
4933 |
;; |
;; |
4934 |
|
interix*) |
4935 |
|
# This is c89, which is MS Visual C++ (no shared libs) |
4936 |
|
# Anyone wants to do a port? |
4937 |
|
;; |
4938 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
4939 |
case $cc_basename in |
case $cc_basename in |
4940 |
CC*) |
CC*) |
5109 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
5110 |
;; |
;; |
5111 |
|
|
5112 |
|
interix3*) |
5113 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
5114 |
|
# Instead, we relocate shared libraries at runtime. |
5115 |
|
;; |
5116 |
|
|
5117 |
msdosdjgpp*) |
msdosdjgpp*) |
5118 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
5119 |
# on systems that don't support them. |
# on systems that don't support them. |
5393 |
with_gnu_ld=no |
with_gnu_ld=no |
5394 |
fi |
fi |
5395 |
;; |
;; |
5396 |
|
interix*) |
5397 |
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
5398 |
|
with_gnu_ld=yes |
5399 |
|
;; |
5400 |
openbsd*) |
openbsd*) |
5401 |
with_gnu_ld=no |
with_gnu_ld=no |
5402 |
;; |
;; |
5496 |
fi |
fi |
5497 |
;; |
;; |
5498 |
|
|
5499 |
|
interix3*) |
5500 |
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no |
5501 |
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
5502 |
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
5503 |
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
5504 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
5505 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
5506 |
|
# default) and relocated if they conflict, which is a slow very memory |
5507 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
5508 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
5509 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
5510 |
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
5511 |
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
5512 |
|
;; |
5513 |
|
|
5514 |
linux*) |
linux*) |
5515 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
5516 |
tmp_addflag= |
tmp_addflag= |