~vorlon/ubuntu/natty/libidn/multiarch

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson, Simon Josefsson
  • Date: 2010-02-15 13:36:58 UTC
  • mfrom: (1.2.13 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100215133658-wbevca0cl958vasv
Tags: 1.18-1
[ Simon Josefsson ]
* New upstream version.
* libidn11.symbols: Fix based on upstream changes.
* Moved from experimental to unstable after testing.

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