Diff for /embedaddon/quagga/m4/libtool.m4 between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/05/29 11:53:41 version 1.1.1.2, 2016/11/02 10:09:12
Line 2479  freebsd* | dragonfly*) Line 2479  freebsd* | dragonfly*)
     *) objformat=elf ;;      *) objformat=elf ;;
     esac      esac
   fi    fi
  # Handle Gentoo/FreeBSD as it was Linux  version_type=freebsd-$objformat
  case $host_vendor in 
    gentoo) 
      version_type=linux ;; 
    *) 
      version_type=freebsd-$objformat ;; 
  esac 
 
   case $version_type in    case $version_type in
     freebsd-elf*)      freebsd-elf*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
Line 2497  freebsd* | dragonfly*) Line 2490  freebsd* | dragonfly*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       need_version=yes        need_version=yes
       ;;        ;;
     linux)  
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
       soname_spec='${libname}${release}${shared_ext}$major'  
       need_lib_prefix=no  
       need_version=no  
       ;;  
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
Line 2525  freebsd* | dragonfly*) Line 2512  freebsd* | dragonfly*)
   esac    esac
   ;;    ;;
   
 gnu*)  
   version_type=linux # correct to gnu/linux during the next big refactor  
   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  
   ;;  
   
 haiku*)  haiku*)
   version_type=linux # correct to gnu/linux during the next big refactor    version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
Line 2652  linux*oldld* | linux*aout* | linux*coff*) Line 2628  linux*oldld* | linux*aout* | linux*coff*)
   ;;    ;;
   
 # This must be glibc/ELF.  # This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor    version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
Line 2697  linux* | k*bsd*-gnu | kopensolaris*-gnu) Line 2673  linux* | k*bsd*-gnu | kopensolaris*-gnu)
   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
Line 3256  freebsd* | dragonfly*) Line 3244  freebsd* | dragonfly*)
   fi    fi
   ;;    ;;
   
 gnu*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 haiku*)  haiku*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
Line 3298  irix5* | irix6* | nonstopux*) Line 3282  irix5* | irix6* | nonstopux*)
   ;;    ;;
   
 # This must be glibc/ELF.  # This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)linux* | k*bsd*-gnu | kopensolaris*-gnu | 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
Line 4050  m4_if([$1], [CXX], [ Line 4034  m4_if([$1], [CXX], [
             ;;              ;;
         esac          esac
         ;;          ;;
      linux* | k*bsd*-gnu | kopensolaris*-gnu)      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in          case $cc_basename in
           KCC*)            KCC*)
             # KAI C++ Compiler              # KAI C++ Compiler
Line 4114  m4_if([$1], [CXX], [ Line 4098  m4_if([$1], [CXX], [
             ;;              ;;
         esac          esac
         ;;          ;;
      netbsd*)      netbsd* | netbsdelf*-gnu)
         ;;          ;;
       *qnx* | *nto*)        *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise          # QNX uses GNU C++, but need to define -shared option too, otherwise
Line 4349  m4_if([$1], [CXX], [ Line 4333  m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
       ;;        ;;
   
    linux* | k*bsd*-gnu | kopensolaris*-gnu)    linux* | k*bsd*-gnu | kopensolaris*-gnu | 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*)
Line 4591  m4_if([$1], [CXX], [ Line 4575  m4_if([$1], [CXX], [
       ;;        ;;
     esac      esac
     ;;      ;;
     linux* | k*bsd*-gnu | gnu*)
       _LT_TAGVAR(link_all_deplibs, $1)=no
       ;;
   *)    *)
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     ;;      ;;
Line 4653  dnl Note also adjust exclude_expsyms for C++ above. Line 4640  dnl Note also adjust exclude_expsyms for C++ above.
   openbsd*)    openbsd*)
     with_gnu_ld=no      with_gnu_ld=no
     ;;      ;;
     linux* | k*bsd*-gnu | gnu*)
       _LT_TAGVAR(link_all_deplibs, $1)=no
       ;;
   esac    esac
   
   _LT_TAGVAR(ld_shlibs, $1)=yes    _LT_TAGVAR(ld_shlibs, $1)=yes
Line 4874  _LT_EOF Line 4864  _LT_EOF
       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 $linker_flags -o $lib'          _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
         wlarc=          wlarc=
Line 5051  _LT_EOF Line 5041  _LT_EOF
         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
Line 5355  _LT_EOF Line 5346  _LT_EOF
       _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 $deplibs $linker_flags'  # a.out          _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else        else
Line 6235  if test "$_lt_caught_CXX_error" != yes; then Line 6226  if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(ld_shlibs, $1)=yes          _LT_TAGVAR(ld_shlibs, $1)=yes
         ;;          ;;
   
       gnu*)  
         ;;  
   
       haiku*)        haiku*)
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         _LT_TAGVAR(link_all_deplibs, $1)=yes          _LT_TAGVAR(link_all_deplibs, $1)=yes
Line 6399  if test "$_lt_caught_CXX_error" != yes; then Line 6387  if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(inherit_rpath, $1)=yes          _LT_TAGVAR(inherit_rpath, $1)=yes
         ;;          ;;
   
      linux* | k*bsd*-gnu | kopensolaris*-gnu)      linux* | k*bsd*-gnu | kopensolaris*-gnu | 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

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>