~ubuntu-branches/debian/jessie/gnome-sushi/jessie

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-07-15 13:16:55 UTC
  • mfrom: (2.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20140715131655-55wqzvoehb562cn7
Tags: 3.12.0-2
* Build-depend on libdiscid-dev instead of libdiscid0-dev (Closes: #753633)
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1324
1324
            LD="${LD-ld} -m elf_i386_fbsd"
1325
1325
            ;;
1326
1326
          x86_64-*linux*)
1327
 
            LD="${LD-ld} -m elf_i386"
 
1327
            case `/usr/bin/file conftest.o` in
 
1328
              *x86-64*)
 
1329
                LD="${LD-ld} -m elf32_x86_64"
 
1330
                ;;
 
1331
              *)
 
1332
                LD="${LD-ld} -m elf_i386"
 
1333
                ;;
 
1334
            esac
1328
1335
            ;;
1329
1336
          ppc64-*linux*|powerpc64-*linux*)
1330
1337
            LD="${LD-ld} -m elf32ppclinux"
1688
1695
    ;;
1689
1696
  *)
1690
1697
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1691
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
1698
    if test -n "$lt_cv_sys_max_cmd_len" && \
 
1699
        test undefined != "$lt_cv_sys_max_cmd_len"; then
1692
1700
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1693
1701
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1694
1702
    else
2512
2520
  esac
2513
2521
  ;;
2514
2522
 
2515
 
gnu*)
2516
 
  version_type=linux # correct to gnu/linux during the next big refactor
2517
 
  need_lib_prefix=no
2518
 
  need_version=no
2519
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2520
 
  soname_spec='${libname}${release}${shared_ext}$major'
2521
 
  shlibpath_var=LD_LIBRARY_PATH
2522
 
  shlibpath_overrides_runpath=no
2523
 
  hardcode_into_libs=yes
2524
 
  ;;
2525
 
 
2526
2523
haiku*)
2527
2524
  version_type=linux # correct to gnu/linux during the next big refactor
2528
2525
  need_lib_prefix=no
2639
2636
  ;;
2640
2637
 
2641
2638
# This must be glibc/ELF.
2642
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
2639
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2643
2640
  version_type=linux # correct to gnu/linux during the next big refactor
2644
2641
  need_lib_prefix=no
2645
2642
  need_version=no
2669
2666
  # before this can be enabled.
2670
2667
  hardcode_into_libs=yes
2671
2668
 
2672
 
  # Add ABI-specific directories to the system library path.
2673
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2674
 
 
2675
2669
  # Append ld.so.conf contents to the search path
2676
2670
  if test -f /etc/ld.so.conf; then
2677
2671
    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
 
 
 
2672
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2680
2673
  fi
2681
2674
 
2682
2675
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2688
2681
  dynamic_linker='GNU/Linux ld.so'
2689
2682
  ;;
2690
2683
 
 
2684
netbsdelf*-gnu)
 
2685
  version_type=linux
 
2686
  need_lib_prefix=no
 
2687
  need_version=no
 
2688
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
2689
  soname_spec='${libname}${release}${shared_ext}$major'
 
2690
  shlibpath_var=LD_LIBRARY_PATH
 
2691
  shlibpath_overrides_runpath=no
 
2692
  hardcode_into_libs=yes
 
2693
  dynamic_linker='NetBSD ld.elf_so'
 
2694
  ;;
 
2695
 
2691
2696
netbsd*)
2692
2697
  version_type=sunos
2693
2698
  need_lib_prefix=no
3247
3252
  fi
3248
3253
  ;;
3249
3254
 
3250
 
gnu*)
3251
 
  lt_cv_deplibs_check_method=pass_all
3252
 
  ;;
3253
 
 
3254
3255
haiku*)
3255
3256
  lt_cv_deplibs_check_method=pass_all
3256
3257
  ;;
3289
3290
  ;;
3290
3291
 
3291
3292
# This must be glibc/ELF.
3292
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3293
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3293
3294
  lt_cv_deplibs_check_method=pass_all
3294
3295
  ;;
3295
3296
 
3296
 
netbsd*)
 
3297
netbsd* | netbsdelf*-gnu)
3297
3298
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3298
3299
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3299
3300
  else
4041
4042
            ;;
4042
4043
        esac
4043
4044
        ;;
4044
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
4045
      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4045
4046
        case $cc_basename in
4046
4047
          KCC*)
4047
4048
            # KAI C++ Compiler
4105
4106
            ;;
4106
4107
        esac
4107
4108
        ;;
4108
 
      netbsd*)
 
4109
      netbsd* | netbsdelf*-gnu)
4109
4110
        ;;
4110
4111
      *qnx* | *nto*)
4111
4112
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4340
4341
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4341
4342
      ;;
4342
4343
 
4343
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
4344
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4344
4345
      case $cc_basename in
4345
4346
      # old Intel for x86_64 which still supported -KPIC.
4346
4347
      ecc*)
4582
4583
      ;;
4583
4584
    esac
4584
4585
    ;;
 
4586
  linux* | k*bsd*-gnu | gnu*)
 
4587
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4588
    ;;
4585
4589
  *)
4586
4590
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4587
4591
    ;;
4644
4648
  openbsd*)
4645
4649
    with_gnu_ld=no
4646
4650
    ;;
 
4651
  linux* | k*bsd*-gnu | gnu*)
 
4652
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4653
    ;;
4647
4654
  esac
4648
4655
 
4649
4656
  _LT_TAGVAR(ld_shlibs, $1)=yes
4865
4872
      fi
4866
4873
      ;;
4867
4874
 
4868
 
    netbsd*)
 
4875
    netbsd* | netbsdelf*-gnu)
4869
4876
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4870
4877
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4871
4878
        wlarc=
5042
5049
        if test "$aix_use_runtimelinking" = yes; then
5043
5050
          shared_flag="$shared_flag "'${wl}-G'
5044
5051
        fi
 
5052
        _LT_TAGVAR(link_all_deplibs, $1)=no
5045
5053
      else
5046
5054
        # not using gcc
5047
5055
        if test "$host_cpu" = ia64; then
5346
5354
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5347
5355
      ;;
5348
5356
 
5349
 
    netbsd*)
 
5357
    netbsd* | netbsdelf*-gnu)
5350
5358
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5351
5359
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5352
5360
      else
6226
6234
        _LT_TAGVAR(ld_shlibs, $1)=yes
6227
6235
        ;;
6228
6236
 
6229
 
      gnu*)
6230
 
        ;;
6231
 
 
6232
6237
      haiku*)
6233
6238
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6234
6239
        _LT_TAGVAR(link_all_deplibs, $1)=yes
6390
6395
        _LT_TAGVAR(inherit_rpath, $1)=yes
6391
6396
        ;;
6392
6397
 
6393
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
6398
      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6394
6399
        case $cc_basename in
6395
6400
          KCC*)
6396
6401
            # Kuck and Associates, Inc. (KAI) C++ Compiler