~ubuntu-branches/ubuntu/feisty/gst-plugins-good0.10/feisty-security

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-08-15 02:58:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060815025826-h1sa4q0uxwqgzwki
Tags: 0.10.4-0ubuntu1
* Sync with Debian (pkg-gstreamer SVN, rev 470):
  + debian/rules,
    debian/control.in:
    - Add a -dbg package again

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15
15
 
16
 
# serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL
 
16
# serial 48 AC_PROG_LIBTOOL
17
17
 
18
18
 
19
19
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1578
1578
  # before this can be enabled.
1579
1579
  hardcode_into_libs=yes
1580
1580
 
 
1581
  # find out which ABI we are using
 
1582
  libsuff=
 
1583
  case "$host_cpu" in
 
1584
  x86_64*|s390x*|powerpc64*)
 
1585
    echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
1586
    if AC_TRY_EVAL(ac_compile); then
 
1587
      case `/usr/bin/file conftest.$ac_objext` in
 
1588
      *64-bit*)
 
1589
        libsuff=64
 
1590
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
1591
        ;;
 
1592
      esac
 
1593
    fi
 
1594
    rm -rf conftest*
 
1595
    ;;
 
1596
  esac
 
1597
 
1581
1598
  # Append ld.so.conf contents to the search path
1582
1599
  if test -f /etc/ld.so.conf; then
1583
1600
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1584
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
1601
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
1585
1602
  fi
1586
1603
 
1587
1604
  # We used to test for /lib/ld.so.1 and disable shared libraries on
1593
1610
  dynamic_linker='GNU/Linux ld.so'
1594
1611
  ;;
1595
1612
 
1596
 
netbsdelf*-gnu)
1597
 
  version_type=linux
1598
 
  need_lib_prefix=no
1599
 
  need_version=no
1600
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1601
 
  soname_spec='${libname}${release}${shared_ext}$major'
1602
 
  shlibpath_var=LD_LIBRARY_PATH
1603
 
  shlibpath_overrides_runpath=no
1604
 
  hardcode_into_libs=yes
1605
 
  dynamic_linker='NetBSD ld.elf_so'
1606
 
  ;;
1607
 
 
1608
1613
knetbsd*-gnu)
1609
1614
  version_type=linux
1610
1615
  need_lib_prefix=no
2380
2385
  lt_cv_deplibs_check_method=pass_all
2381
2386
  ;;
2382
2387
 
2383
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
2388
netbsd*)
2384
2389
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2385
2390
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2386
2391
  else
3389
3394
        ;;
3390
3395
    esac
3391
3396
    ;;
3392
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
3397
  netbsd*)
3393
3398
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3394
3399
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3395
3400
      wlarc=
5013
5018
            ;;
5014
5019
        esac
5015
5020
        ;;
5016
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5021
      netbsd*)
5017
5022
        ;;
5018
5023
      osf3* | osf4* | osf5*)
5019
5024
        case $cc_basename in
5365
5370
  cygwin* | mingw*)
5366
5371
    _LT_AC_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'
5367
5372
  ;;
5368
 
  kfreebsd*-gnu)
5369
 
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5370
 
  ;;
5371
 
  linux*)
5372
 
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5373
 
  ;;
5374
5373
  *)
5375
5374
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5376
5375
  ;;
5567
5566
  $echo "local: *; };" >> $output_objdir/$libname.ver~
5568
5567
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5569
5568
        fi
5570
 
        _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5571
5569
      else
5572
5570
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
5573
5571
      fi
5574
5572
      ;;
5575
5573
 
5576
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5574
    netbsd*)
5577
5575
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5578
5576
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5579
5577
        wlarc=
5903
5901
      ;;
5904
5902
 
5905
5903
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5906
 
    freebsd* | dragonfly*)
5907
 
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5908
 
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5909
 
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5910
 
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5911
 
      ;;
5912
 
      
5913
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
5914
 
    kfreebsd*-gnu)
5915
 
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5916
 
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5917
 
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5918
 
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5919
 
      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
5904
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
5905
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
5906
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
5907
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5908
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5920
5909
      ;;
5921
5910
 
5922
5911
    hpux9*)
6014
6003
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6015
6004
      ;;
6016
6005
 
6017
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
6006
    netbsd*)
6018
6007
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6019
6008
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6020
6009
      else
7310
7299
m4_include([common/m4/gst-feature.m4])
7311
7300
m4_include([common/m4/gst-gettext.m4])
7312
7301
m4_include([common/m4/gst-glib2.m4])
 
7302
m4_include([common/m4/gst-plugin-docs.m4])
7313
7303
m4_include([common/m4/gst-plugindir.m4])
7314
7304
m4_include([common/m4/gtk-doc.m4])
7315
7305
m4_include([common/m4/pkg.m4])