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

Diff of /libtool/libtool.m4

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

revision 1.166.2.3 by oliva, Sun May 20 18:24:28 2001 UTC revision 1.166.2.4 by gary, Wed Jun 27 18:44:03 2001 UTC
# Line 1180  exclude_expsyms="_GLOBAL_OFFSET_TABLE_" Line 1180  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
1180  extract_expsyms_cmds=  extract_expsyms_cmds=
1181    
1182  case $host_os in  case $host_os in
1183  cygwin* | mingw* | pw32* )  cygwin* | mingw* | pw32*)
1184    # FIXME: the MSVC++ port hasn't been tested in a loooong time    # FIXME: the MSVC++ port hasn't been tested in a loooong time
1185    # When not using gcc, we currently assume that we are using    # When not using gcc, we currently assume that we are using
1186    # Microsoft Visual C++.    # Microsoft Visual C++.
# Line 1188  cygwin* | mingw* | pw32* ) Line 1188  cygwin* | mingw* | pw32* )
1188      with_gnu_ld=no      with_gnu_ld=no
1189    fi    fi
1190    ;;    ;;
1191    openbsd*)
1192      with_gnu_ld=no
1193      ;;
1194  esac  esac
1195    
1196  ld_shlibs=yes  ld_shlibs=yes
# Line 1592  else Line 1594  else
1594      ;;      ;;
1595    
1596    openbsd*)    openbsd*)
     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_libdir_flag_spec='-R$libdir'  
1597      hardcode_direct=yes      hardcode_direct=yes
1598      hardcode_shlibpath_var=no      hardcode_shlibpath_var=no
1599        case "$host_os" in
1600          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1601            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1602            hardcode_libdir_flag_spec='-R$libdir'
1603          ;;
1604          *)
1605            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
1606            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1607            if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then
1608             export_dynamic_flag_spec='${wl}-E'
1609            fi
1610          ;;
1611        esac
1612      ;;      ;;
1613    
1614    os2*)    os2*)
# Line 2081  newsos6) Line 2094  newsos6)
2094    
2095  openbsd*)  openbsd*)
2096    version_type=sunos    version_type=sunos
2097    if test "$with_gnu_ld" = yes; then    file_magic_cmd=/usr/bin/file
2098      need_lib_prefix=no    file_magic_test_file=`echo /usr/lib/libc.so.*`
2099      need_version=no    if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then
2100        deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
2101      else
2102        deplibs_check_method='file_magic OpenBSD.* shared library'
2103    fi    fi
2104    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
2105    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'

Legend:
Removed from v.1.166.2.3  
changed lines
  Added in v.1.166.2.4

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