~ubuntu-branches/ubuntu/quantal/epiphany-extensions/quantal

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2011-04-14 19:04:24 UTC
  • mfrom: (1.1.43 upstream) (2.3.16 experimental)
  • Revision ID: james.westby@ubuntu.com-20110414190424-df2o8wz2pei97hbd
Tags: 3.0.0-2
debian/control.in: bump build-dep on epiphany.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2445
2445
  ;;
2446
2446
 
2447
2447
# This must be Linux ELF.
2448
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
2448
linux* | k*bsd*-gnu)
2449
2449
  version_type=linux
2450
2450
  need_lib_prefix=no
2451
2451
  need_version=no
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
3084
3075
  ;;
3085
3076
 
3086
3077
# This must be Linux ELF.
3087
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3078
linux* | k*bsd*-gnu)
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
3705
3696
            ;;
3706
3697
        esac
3707
3698
        ;;
3708
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3699
      linux* | k*bsd*-gnu)
3709
3700
        case $cc_basename in
3710
3701
          KCC*)
3711
3702
            # KAI C++ Compiler
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
3989
3980
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3990
3981
      ;;
3991
3982
 
3992
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3983
    linux* | k*bsd*-gnu)
3993
3984
      case $cc_basename in
3994
3985
      # old Intel for x86_64 which still supported -KPIC.
3995
3986
      ecc*)
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
4285
4270
    fi
4286
4271
    supports_anon_versioning=no
4287
4272
    case `$LD -v 2>&1` in
4288
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
4289
4273
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4290
4274
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4291
4275
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4377
4361
      _LT_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'
4378
4362
      ;;
4379
4363
 
4380
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
4364
    gnu* | linux* | tpf* | k*bsd*-gnu)
4381
4365
      tmp_diet=no
4382
4366
      if test "$host_os" = linux-dietlibc; then
4383
4367
        case $cc_basename in
4447
4431
      fi
4448
4432
      ;;
4449
4433
 
4450
 
    netbsd* | netbsdelf*-gnu)
 
4434
    netbsd*)
4451
4435
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4452
4436
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4453
4437
        wlarc=
4622
4606
        if test "$aix_use_runtimelinking" = yes; then
4623
4607
          shared_flag="$shared_flag "'${wl}-G'
4624
4608
        fi
4625
 
        _LT_TAGVAR(link_all_deplibs, $1)=no
4626
4609
      else
4627
4610
        # not using gcc
4628
4611
        if test "$host_cpu" = ia64; then
4861
4844
      _LT_TAGVAR(link_all_deplibs, $1)=yes
4862
4845
      ;;
4863
4846
 
4864
 
    netbsd* | netbsdelf*-gnu)
 
4847
    netbsd*)
4865
4848
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4866
4849
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4867
4850
      else
5861
5844
        _LT_TAGVAR(inherit_rpath, $1)=yes
5862
5845
        ;;
5863
5846
 
5864
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5847
      linux* | k*bsd*-gnu)
5865
5848
        case $cc_basename in
5866
5849
          KCC*)
5867
5850
            # Kuck and Associates, Inc. (KAI) C++ Compiler