~ubuntu-branches/ubuntu/maverick/gnome-control-center/maverick

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2010-09-27 10:54:11 UTC
  • mfrom: (1.1.43 upstream)
  • Revision ID: james.westby@ubuntu.com-20100927105411-x1s22s7anvl1munb
Tags: 1:2.32.0-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
684
684
 
685
685
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
686
686
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
687
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
687
688
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
688
689
#
689
690
_LT_COPYING
2444
2445
  ;;
2445
2446
 
2446
2447
# This must be Linux ELF.
2447
 
linux* | k*bsd*-gnu)
 
2448
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2448
2449
  version_type=linux
2449
2450
  need_lib_prefix=no
2450
2451
  need_version=no
2484
2485
  dynamic_linker='GNU/Linux ld.so'
2485
2486
  ;;
2486
2487
 
 
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
 
2487
2500
netbsd*)
2488
2501
  version_type=sunos
2489
2502
  need_lib_prefix=no
3071
3084
  ;;
3072
3085
 
3073
3086
# This must be Linux ELF.
3074
 
linux* | k*bsd*-gnu)
 
3087
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3075
3088
  lt_cv_deplibs_check_method=pass_all
3076
3089
  ;;
3077
3090
 
3078
 
netbsd*)
 
3091
netbsd* | netbsdelf*-gnu)
3079
3092
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3080
3093
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3081
3094
  else
3692
3705
            ;;
3693
3706
        esac
3694
3707
        ;;
3695
 
      linux* | k*bsd*-gnu)
 
3708
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
3696
3709
        case $cc_basename in
3697
3710
          KCC*)
3698
3711
            # KAI C++ Compiler
3756
3769
            ;;
3757
3770
        esac
3758
3771
        ;;
3759
 
      netbsd*)
 
3772
      netbsd* | netbsdelf*-gnu)
3760
3773
        ;;
3761
3774
      *qnx* | *nto*)
3762
3775
        # QNX uses GNU C++, but need to define -shared option too, otherwise
3976
3989
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3977
3990
      ;;
3978
3991
 
3979
 
    linux* | k*bsd*-gnu)
 
3992
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
3980
3993
      case $cc_basename in
3981
3994
      # old Intel for x86_64 which still supported -KPIC.
3982
3995
      ecc*)
4181
4194
  cygwin* | mingw* | cegcc*)
4182
4195
    _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'
4183
4196
  ;;
 
4197
  linux* | k*bsd*-gnu)
 
4198
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4199
  ;;
4184
4200
  *)
4185
4201
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4186
4202
  ;;
4245
4261
  openbsd*)
4246
4262
    with_gnu_ld=no
4247
4263
    ;;
 
4264
  linux* | k*bsd*-gnu)
 
4265
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4266
    ;;
4248
4267
  esac
4249
4268
 
4250
4269
  _LT_TAGVAR(ld_shlibs, $1)=yes
4266
4285
    fi
4267
4286
    supports_anon_versioning=no
4268
4287
    case `$LD -v 2>&1` in
 
4288
      *GNU\ gold*) supports_anon_versioning=yes ;;
4269
4289
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4270
4290
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4271
4291
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4357
4377
      _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'
4358
4378
      ;;
4359
4379
 
4360
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
4380
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
4361
4381
      tmp_diet=no
4362
4382
      if test "$host_os" = linux-dietlibc; then
4363
4383
        case $cc_basename in
4427
4447
      fi
4428
4448
      ;;
4429
4449
 
4430
 
    netbsd*)
 
4450
    netbsd* | netbsdelf*-gnu)
4431
4451
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4432
4452
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4433
4453
        wlarc=
4602
4622
        if test "$aix_use_runtimelinking" = yes; then
4603
4623
          shared_flag="$shared_flag "'${wl}-G'
4604
4624
        fi
 
4625
        _LT_TAGVAR(link_all_deplibs, $1)=no
4605
4626
      else
4606
4627
        # not using gcc
4607
4628
        if test "$host_cpu" = ia64; then
4840
4861
      _LT_TAGVAR(link_all_deplibs, $1)=yes
4841
4862
      ;;
4842
4863
 
4843
 
    netbsd*)
 
4864
    netbsd* | netbsdelf*-gnu)
4844
4865
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4845
4866
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4846
4867
      else
5840
5861
        _LT_TAGVAR(inherit_rpath, $1)=yes
5841
5862
        ;;
5842
5863
 
5843
 
      linux* | k*bsd*-gnu)
 
5864
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
5844
5865
        case $cc_basename in
5845
5866
          KCC*)
5846
5867
            # Kuck and Associates, Inc. (KAI) C++ Compiler