~ubuntu-branches/ubuntu/saucy/libunique/saucy

« back to all changes in this revision

Viewing changes to build/autotools/libtool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-12-02 21:26:48 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091202212648-whzlibnidqo5pbh0
Tags: 1.1.6-1ubuntu1
* Sync on Debian
* debian/rules:
  - clean empty translation template it breaks builds

Show diffs side-by-side

added added

removed removed

Lines of Context:
2470
2470
  # before this can be enabled.
2471
2471
  hardcode_into_libs=yes
2472
2472
 
 
2473
  # Add ABI-specific directories to the system library path.
 
2474
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
2475
 
2473
2476
  # Append ld.so.conf contents to the search path
2474
2477
  if test -f /etc/ld.so.conf; then
2475
2478
    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;/^$/d' | tr '\n' ' '`
2476
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
2479
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2477
2480
  fi
2478
2481
 
2479
2482
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2485
2488
  dynamic_linker='GNU/Linux ld.so'
2486
2489
  ;;
2487
2490
 
2488
 
netbsdelf*-gnu)
2489
 
  version_type=linux
2490
 
  need_lib_prefix=no
2491
 
  need_version=no
2492
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2493
 
  soname_spec='${libname}${release}${shared_ext}$major'
2494
 
  shlibpath_var=LD_LIBRARY_PATH
2495
 
  shlibpath_overrides_runpath=no
2496
 
  hardcode_into_libs=yes
2497
 
  dynamic_linker='NetBSD ld.elf_so'
2498
 
  ;;
2499
 
 
2500
2491
netbsd*)
2501
2492
  version_type=sunos
2502
2493
  need_lib_prefix=no
3088
3079
  lt_cv_deplibs_check_method=pass_all
3089
3080
  ;;
3090
3081
 
3091
 
netbsd* | netbsdelf*-gnu)
 
3082
netbsd*)
3092
3083
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3093
3084
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3094
3085
  else
3769
3760
            ;;
3770
3761
        esac
3771
3762
        ;;
3772
 
      netbsd* | netbsdelf*-gnu)
 
3763
      netbsd*)
3773
3764
        ;;
3774
3765
      *qnx* | *nto*)
3775
3766
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4194
4185
  cygwin* | mingw* | cegcc*)
4195
4186
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4196
4187
  ;;
4197
 
  linux* | k*bsd*-gnu)
4198
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4199
 
  ;;
4200
4188
  *)
4201
4189
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4202
4190
  ;;
4261
4249
  openbsd*)
4262
4250
    with_gnu_ld=no
4263
4251
    ;;
4264
 
  linux* | k*bsd*-gnu)
4265
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4266
 
    ;;
4267
4252
  esac
4268
4253
 
4269
4254
  _LT_TAGVAR(ld_shlibs, $1)=yes
4446
4431
      fi
4447
4432
      ;;
4448
4433
 
4449
 
    netbsd* | netbsdelf*-gnu)
 
4434
    netbsd*)
4450
4435
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4451
4436
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4452
4437
        wlarc=
4621
4606
        if test "$aix_use_runtimelinking" = yes; then
4622
4607
          shared_flag="$shared_flag "'${wl}-G'
4623
4608
        fi
4624
 
        _LT_TAGVAR(link_all_deplibs, $1)=no
4625
4609
      else
4626
4610
        # not using gcc
4627
4611
        if test "$host_cpu" = ia64; then
4860
4844
      _LT_TAGVAR(link_all_deplibs, $1)=yes
4861
4845
      ;;
4862
4846
 
4863
 
    netbsd* | netbsdelf*-gnu)
 
4847
    netbsd*)
4864
4848
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4865
4849
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4866
4850
      else