~ubuntu-branches/ubuntu/utopic/ecasound2.2/utopic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2008-03-23 21:42:49 UTC
  • mfrom: (3.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080323214249-evlfv3y1o8q747la
Tags: 2.4.6.1-2
* Bug fix: "FTBFS with GCC 4.3: missing #includes", thanks to Martin
  Michlmayr (Closes: #454890).
- 13_gcc4: updated

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 Debian 1.5.22-4 AC_PROG_LIBTOOL
17
17
 
18
18
 
19
19
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1397
1397
  dynamic_linker=no
1398
1398
  ;;
1399
1399
 
1400
 
kfreebsd*-gnu)
1401
 
  version_type=linux
1402
 
  need_lib_prefix=no
1403
 
  need_version=no
1404
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1405
 
  soname_spec='${libname}${release}${shared_ext}$major'
1406
 
  shlibpath_var=LD_LIBRARY_PATH
1407
 
  shlibpath_overrides_runpath=no
1408
 
  hardcode_into_libs=yes
1409
 
  dynamic_linker='GNU ld.so'
1410
 
  ;;
1411
 
 
1412
1400
freebsd* | dragonfly*)
1413
1401
  # DragonFly does not have aout.  When/if they implement a new
1414
1402
  # versioning mechanism, adjust this.
1564
1552
  ;;
1565
1553
 
1566
1554
# This must be Linux ELF.
1567
 
linux*)
 
1555
linux* | k*bsd*-gnu)
1568
1556
  version_type=linux
1569
1557
  need_lib_prefix=no
1570
1558
  need_version=no
1605
1593
  dynamic_linker='NetBSD ld.elf_so'
1606
1594
  ;;
1607
1595
 
1608
 
knetbsd*-gnu)
1609
 
  version_type=linux
1610
 
  need_lib_prefix=no
1611
 
  need_version=no
1612
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1613
 
  soname_spec='${libname}${release}${shared_ext}$major'
1614
 
  shlibpath_var=LD_LIBRARY_PATH
1615
 
  shlibpath_overrides_runpath=no
1616
 
  hardcode_into_libs=yes
1617
 
  dynamic_linker='GNU ld.so'
1618
 
  ;;
1619
 
 
1620
1596
netbsd*)
1621
1597
  version_type=sunos
1622
1598
  need_lib_prefix=no
2322
2298
  lt_cv_deplibs_check_method=pass_all
2323
2299
  ;;
2324
2300
 
2325
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
2301
freebsd* | dragonfly*)
2326
2302
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2327
2303
    case $host_cpu in
2328
2304
    i*86 )
2376
2352
  ;;
2377
2353
 
2378
2354
# This must be Linux ELF.
2379
 
linux*)
 
2355
linux* | k*bsd*-gnu)
2380
2356
  lt_cv_deplibs_check_method=pass_all
2381
2357
  ;;
2382
2358
 
2383
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
2359
netbsd* | netbsdelf*-gnu)
2384
2360
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2385
2361
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2386
2362
  else
3128
3104
  freebsd-elf*)
3129
3105
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3130
3106
    ;;
3131
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
3107
  freebsd* | dragonfly*)
3132
3108
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3133
3109
    # conventions
3134
3110
    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3287
3263
    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3288
3264
    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3289
3265
    ;;
3290
 
  linux*)
 
3266
  linux* | k*bsd*-gnu)
3291
3267
    case $cc_basename in
3292
3268
      KCC*)
3293
3269
        # Kuck and Associates, Inc. (KAI) C++ Compiler
3389
3365
        ;;
3390
3366
    esac
3391
3367
    ;;
3392
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
3368
  netbsd* | netbsdelf*-gnu)
3393
3369
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3394
3370
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3395
3371
      wlarc=
4654
4630
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4655
4631
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4656
4632
  ;;
4657
 
linux*)
 
4633
linux* | k*bsd*-gnu)
4658
4634
  if test "$host_cpu" = ia64; then
4659
4635
    symcode='[[ABCDGIRSTW]]'
4660
4636
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4927
4903
            ;;
4928
4904
        esac
4929
4905
        ;;
4930
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
4906
      freebsd* | dragonfly*)
4931
4907
        # FreeBSD uses GNU C++
4932
4908
        ;;
4933
4909
      hpux9* | hpux10* | hpux11*)
4970
4946
            ;;
4971
4947
        esac
4972
4948
        ;;
4973
 
      linux*)
 
4949
      linux* | k*bsd*-gnu)
4974
4950
        case $cc_basename in
4975
4951
          KCC*)
4976
4952
            # KAI C++ Compiler
5013
4989
            ;;
5014
4990
        esac
5015
4991
        ;;
5016
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
4992
      netbsd* | netbsdelf*-gnu)
5017
4993
        ;;
5018
4994
      osf3* | osf4* | osf5*)
5019
4995
        case $cc_basename in
5224
5200
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5225
5201
      ;;
5226
5202
 
5227
 
    linux*)
 
5203
    linux* | k*bsd*-gnu)
5228
5204
      case $cc_basename in
5229
5205
      icc* | ecc*)
5230
5206
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5365
5341
  cygwin* | mingw*)
5366
5342
    _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
5343
  ;;
5368
 
  kfreebsd*-gnu)
5369
 
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5370
 
  ;;
5371
 
  linux*)
 
5344
  linux* | k*bsd*-gnu)
5372
5345
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5373
5346
  ;;
5374
5347
  *)
5541
5514
      _LT_AC_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'
5542
5515
      ;;
5543
5516
 
5544
 
    linux*)
 
5517
    linux* | k*bsd*-gnu)
5545
5518
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5546
5519
        tmp_addflag=
5547
5520
        case $cc_basename,$host_cpu in
5573
5546
      fi
5574
5547
      ;;
5575
5548
 
5576
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5549
    netbsd* | netbsdelf*-gnu)
5577
5550
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5578
5551
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5579
5552
        wlarc=
5909
5882
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5910
5883
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5911
5884
      ;;
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
5920
 
      ;;
5921
5885
 
5922
5886
    hpux9*)
5923
5887
      if test "$GCC" = yes; then
6014
5978
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6015
5979
      ;;
6016
5980
 
6017
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5981
    netbsd* | netbsdelf*-gnu)
6018
5982
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6019
5983
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6020
5984
      else