/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.314.2.135 by rwild, Mon Nov 14 22:50:35 2005 UTC revision 1.314.2.136 by rwild, Sun Nov 20 08:46:48 2005 UTC
# Line 741  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d Line 741  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
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
# Line 1493  hpux9* | hpux10* | hpux11*) Line 1499  hpux9* | hpux10* | hpux11*)
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 ;;
# Line 2316  hpux10.20* | hpux11*) Line 2334  hpux10.20* | hpux11*)
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;;
# Line 3195  case $host_os in Line 3218  case $host_os in
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*)
# Line 3812  $rm -f confest.$objext Line 3849  $rm -f confest.$objext
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*)
# Line 4792  AC_MSG_CHECKING([for $compiler option to Line 4837  AC_MSG_CHECKING([for $compiler option to
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
# Line 4882  AC_MSG_CHECKING([for $compiler option to Line 4931  AC_MSG_CHECKING([for $compiler option to
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*)
# Line 5056  AC_MSG_CHECKING([for $compiler option to Line 5109  AC_MSG_CHECKING([for $compiler option to
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.
# Line 5335  ifelse([$1],[CXX],[ Line 5393  ifelse([$1],[CXX],[
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      ;;      ;;
# Line 5434  EOF Line 5496  EOF
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=

Legend:
Removed from v.1.314.2.135  
changed lines
  Added in v.1.314.2.136

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26