~noskcaj/ubuntu/utopic/devhelp/merge

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-04-16 14:29:09 UTC
  • mfrom: (1.3.25)
  • Revision ID: package-import@ubuntu.com-20120416142909-z5jhmr23nhi1dti7
Tags: 3.4.1-0ubuntu1
* New upstream release:
  - Translation updates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2669
2669
  # before this can be enabled.
2670
2670
  hardcode_into_libs=yes
2671
2671
 
2672
 
  # Add ABI-specific directories to the system library path.
2673
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2674
 
 
2675
2672
  # Append ld.so.conf contents to the search path
2676
2673
  if test -f /etc/ld.so.conf; then
2677
2674
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2678
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2679
 
 
 
2675
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2680
2676
  fi
2681
2677
 
2682
2678
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2688
2684
  dynamic_linker='GNU/Linux ld.so'
2689
2685
  ;;
2690
2686
 
 
2687
netbsdelf*-gnu)
 
2688
  version_type=linux
 
2689
  need_lib_prefix=no
 
2690
  need_version=no
 
2691
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
2692
  soname_spec='${libname}${release}${shared_ext}$major'
 
2693
  shlibpath_var=LD_LIBRARY_PATH
 
2694
  shlibpath_overrides_runpath=no
 
2695
  hardcode_into_libs=yes
 
2696
  dynamic_linker='NetBSD ld.elf_so'
 
2697
  ;;
 
2698
 
2691
2699
netbsd*)
2692
2700
  version_type=sunos
2693
2701
  need_lib_prefix=no
3293
3301
  lt_cv_deplibs_check_method=pass_all
3294
3302
  ;;
3295
3303
 
3296
 
netbsd*)
 
3304
netbsd* | netbsdelf*-gnu)
3297
3305
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3298
3306
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3299
3307
  else
4105
4113
            ;;
4106
4114
        esac
4107
4115
        ;;
4108
 
      netbsd*)
 
4116
      netbsd* | netbsdelf*-gnu)
4109
4117
        ;;
4110
4118
      *qnx* | *nto*)
4111
4119
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4582
4590
      ;;
4583
4591
    esac
4584
4592
    ;;
 
4593
  linux* | k*bsd*-gnu | gnu*)
 
4594
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4595
    ;;
4585
4596
  *)
4586
4597
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4587
4598
    ;;
4644
4655
  openbsd*)
4645
4656
    with_gnu_ld=no
4646
4657
    ;;
 
4658
  linux* | k*bsd*-gnu | gnu*)
 
4659
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4660
    ;;
4647
4661
  esac
4648
4662
 
4649
4663
  _LT_TAGVAR(ld_shlibs, $1)=yes
4865
4879
      fi
4866
4880
      ;;
4867
4881
 
4868
 
    netbsd*)
 
4882
    netbsd* | netbsdelf*-gnu)
4869
4883
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4870
4884
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4871
4885
        wlarc=
5042
5056
        if test "$aix_use_runtimelinking" = yes; then
5043
5057
          shared_flag="$shared_flag "'${wl}-G'
5044
5058
        fi
 
5059
        _LT_TAGVAR(link_all_deplibs, $1)=no
5045
5060
      else
5046
5061
        # not using gcc
5047
5062
        if test "$host_cpu" = ia64; then
5346
5361
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5347
5362
      ;;
5348
5363
 
5349
 
    netbsd*)
 
5364
    netbsd* | netbsdelf*-gnu)
5350
5365
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5351
5366
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5352
5367
      else