~ubuntu-branches/ubuntu/precise/trousers/precise-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2011-11-21 21:21:39 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20111121212139-ctknyhaijski2e02
Tags: 0.3.7-1
* Imported Upstream version 0.3.7
* Adopt package (set new maintainer) (Closes: #543932)
* Add pkg-config to build-depends
* Update symbols for libtspi1
* Use dh --with autoreconf
* Update patches to work with dh_autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
 
17
[m4_warning([this file was generated for autoconf 2.67.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
2460
2460
  ;;
2461
2461
 
2462
2462
# This must be Linux ELF.
2463
 
linux* | k*bsd*-gnu)
 
2463
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2464
2464
  version_type=linux
2465
2465
  need_lib_prefix=no
2466
2466
  need_version=no
2485
2485
  # before this can be enabled.
2486
2486
  hardcode_into_libs=yes
2487
2487
 
2488
 
  # Add ABI-specific directories to the system library path.
2489
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2490
 
 
2491
2488
  # Append ld.so.conf contents to the search path
2492
2489
  if test -f /etc/ld.so.conf; then
2493
2490
    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;/^$/d' | tr '\n' ' '`
2494
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
2491
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2495
2492
  fi
2496
2493
 
2497
2494
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2503
2500
  dynamic_linker='GNU/Linux ld.so'
2504
2501
  ;;
2505
2502
 
 
2503
netbsdelf*-gnu)
 
2504
  version_type=linux
 
2505
  need_lib_prefix=no
 
2506
  need_version=no
 
2507
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
2508
  soname_spec='${libname}${release}${shared_ext}$major'
 
2509
  shlibpath_var=LD_LIBRARY_PATH
 
2510
  shlibpath_overrides_runpath=no
 
2511
  hardcode_into_libs=yes
 
2512
  dynamic_linker='NetBSD ld.elf_so'
 
2513
  ;;
 
2514
 
2506
2515
netbsd*)
2507
2516
  version_type=sunos
2508
2517
  need_lib_prefix=no
3090
3099
  ;;
3091
3100
 
3092
3101
# This must be Linux ELF.
3093
 
linux* | k*bsd*-gnu)
 
3102
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3094
3103
  lt_cv_deplibs_check_method=pass_all
3095
3104
  ;;
3096
3105
 
3097
 
netbsd*)
 
3106
netbsd* | netbsdelf*-gnu)
3098
3107
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3099
3108
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3100
3109
  else
3711
3720
            ;;
3712
3721
        esac
3713
3722
        ;;
3714
 
      linux* | k*bsd*-gnu)
 
3723
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
3715
3724
        case $cc_basename in
3716
3725
          KCC*)
3717
3726
            # KAI C++ Compiler
3775
3784
            ;;
3776
3785
        esac
3777
3786
        ;;
3778
 
      netbsd*)
 
3787
      netbsd* | netbsdelf*-gnu)
3779
3788
        ;;
3780
3789
      *qnx* | *nto*)
3781
3790
        # QNX uses GNU C++, but need to define -shared option too, otherwise
3995
4004
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3996
4005
      ;;
3997
4006
 
3998
 
    linux* | k*bsd*-gnu)
 
4007
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
3999
4008
      case $cc_basename in
4000
4009
      # old Intel for x86_64 which still supported -KPIC.
4001
4010
      ecc*)
4200
4209
  cygwin* | mingw* | cegcc*)
4201
4210
    _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'
4202
4211
  ;;
 
4212
  linux* | k*bsd*-gnu)
 
4213
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4214
  ;;
4203
4215
  *)
4204
4216
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4205
4217
  ;;
4264
4276
  openbsd*)
4265
4277
    with_gnu_ld=no
4266
4278
    ;;
 
4279
  linux* | k*bsd*-gnu)
 
4280
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4281
    ;;
4267
4282
  esac
4268
4283
 
4269
4284
  _LT_TAGVAR(ld_shlibs, $1)=yes
4285
4300
    fi
4286
4301
    supports_anon_versioning=no
4287
4302
    case `$LD -v 2>&1` in
 
4303
      *GNU\ gold*) supports_anon_versioning=yes ;;
4288
4304
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4289
4305
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4290
4306
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4376
4392
      _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'
4377
4393
      ;;
4378
4394
 
4379
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
4395
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
4380
4396
      tmp_diet=no
4381
4397
      if test "$host_os" = linux-dietlibc; then
4382
4398
        case $cc_basename in
4446
4462
      fi
4447
4463
      ;;
4448
4464
 
4449
 
    netbsd*)
 
4465
    netbsd* | netbsdelf*-gnu)
4450
4466
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4451
4467
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4452
4468
        wlarc=
4621
4637
        if test "$aix_use_runtimelinking" = yes; then
4622
4638
          shared_flag="$shared_flag "'${wl}-G'
4623
4639
        fi
 
4640
        _LT_TAGVAR(link_all_deplibs, $1)=no
4624
4641
      else
4625
4642
        # not using gcc
4626
4643
        if test "$host_cpu" = ia64; then
4859
4876
      _LT_TAGVAR(link_all_deplibs, $1)=yes
4860
4877
      ;;
4861
4878
 
4862
 
    netbsd*)
 
4879
    netbsd* | netbsdelf*-gnu)
4863
4880
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4864
4881
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4865
4882
      else
5855
5872
        _LT_TAGVAR(inherit_rpath, $1)=yes
5856
5873
        ;;
5857
5874
 
5858
 
      linux* | k*bsd*-gnu)
 
5875
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
5859
5876
        case $cc_basename in
5860
5877
          KCC*)
5861
5878
            # Kuck and Associates, Inc. (KAI) C++ Compiler
7862
7879
 
7863
7880
# Generated from ltversion.in.
7864
7881
 
7865
 
# serial 3012 ltversion.m4
 
7882
# serial 3017 ltversion.m4
7866
7883
# This file is part of GNU Libtool
7867
7884
 
7868
 
m4_define([LT_PACKAGE_VERSION], [2.2.6])
7869
 
m4_define([LT_PACKAGE_REVISION], [1.3012])
 
7885
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
 
7886
m4_define([LT_PACKAGE_REVISION], [1.3017])
7870
7887
 
7871
7888
AC_DEFUN([LTVERSION_VERSION],
7872
 
[macro_version='2.2.6'
7873
 
macro_revision='1.3012'
 
7889
[macro_version='2.2.6b'
 
7890
macro_revision='1.3017'
7874
7891
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7875
7892
_LT_DECL(, macro_revision, 0)
7876
7893
])
7969
7986
m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
7970
7987
 
7971
7988
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
7989
# serial 1 (pkg-config-0.24)
7972
7990
7973
7991
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
7974
7992
#
7996
8014
AC_DEFUN([PKG_PROG_PKG_CONFIG],
7997
8015
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
7998
8016
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
7999
 
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
8017
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
 
8018
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
 
8019
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
 
8020
 
8000
8021
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8001
8022
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
8002
8023
fi
8009
8030
                AC_MSG_RESULT([no])
8010
8031
                PKG_CONFIG=""
8011
8032
        fi
8012
 
                
8013
8033
fi[]dnl
8014
8034
])# PKG_PROG_PKG_CONFIG
8015
8035
 
8018
8038
# Check to see whether a particular set of modules exists.  Similar
8019
8039
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
8020
8040
#
8021
 
#
8022
 
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
8023
 
# this or PKG_CHECK_MODULES is called, or make sure to call
8024
 
# PKG_CHECK_EXISTS manually
 
8041
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
8042
# only at the first occurence in configure.ac, so if the first place
 
8043
# it's called might be skipped (such as if it is within an "if", you
 
8044
# have to call PKG_CHECK_EXISTS manually
8025
8045
# --------------------------------------------------------------
8026
8046
AC_DEFUN([PKG_CHECK_EXISTS],
8027
8047
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
8028
8048
if test -n "$PKG_CONFIG" && \
8029
8049
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8030
 
  m4_ifval([$2], [$2], [:])
 
8050
  m4_default([$2], [:])
8031
8051
m4_ifvaln([$3], [else
8032
8052
  $3])dnl
8033
8053
fi])
8034
8054
 
8035
 
 
8036
8055
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8037
8056
# ---------------------------------------------
8038
8057
m4_define([_PKG_CONFIG],
8085
8104
See the pkg-config man page for more details.])
8086
8105
 
8087
8106
if test $pkg_failed = yes; then
 
8107
        AC_MSG_RESULT([no])
8088
8108
        _PKG_SHORT_ERRORS_SUPPORTED
8089
8109
        if test $_pkg_short_errors_supported = yes; then
8090
8110
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8094
8114
        # Put the nasty error message in config.log where it belongs
8095
8115
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8096
8116
 
8097
 
        ifelse([$4], , [AC_MSG_ERROR(dnl
 
8117
        m4_default([$4], [AC_MSG_ERROR(
8098
8118
[Package requirements ($2) were not met:
8099
8119
 
8100
8120
$$1_PKG_ERRORS
8102
8122
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8103
8123
installed software in a non-standard prefix.
8104
8124
 
8105
 
_PKG_TEXT
8106
 
])],
8107
 
                [AC_MSG_RESULT([no])
8108
 
                $4])
 
8125
_PKG_TEXT])[]dnl
 
8126
        ])
8109
8127
elif test $pkg_failed = untried; then
8110
 
        ifelse([$4], , [AC_MSG_FAILURE(dnl
 
8128
        AC_MSG_RESULT([no])
 
8129
        m4_default([$4], [AC_MSG_FAILURE(
8111
8130
[The pkg-config script could not be found or is too old.  Make sure it
8112
8131
is in your PATH or set the PKG_CONFIG environment variable to the full
8113
8132
path to pkg-config.
8114
8133
 
8115
8134
_PKG_TEXT
8116
8135
 
8117
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
8118
 
                [$4])
 
8136
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
 
8137
        ])
8119
8138
else
8120
8139
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
8121
8140
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
8122
8141
        AC_MSG_RESULT([yes])
8123
 
        ifelse([$3], , :, [$3])
 
8142
        $3
8124
8143
fi[]dnl
8125
8144
])# PKG_CHECK_MODULES
8126
8145
 
8139
8158
[am__api_version='1.11'
8140
8159
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8141
8160
dnl require some minimum version.  Point them to the right macro.
8142
 
m4_if([$1], [1.11], [],
 
8161
m4_if([$1], [1.11.1], [],
8143
8162
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8144
8163
])
8145
8164
 
8155
8174
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8156
8175
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8157
8176
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8158
 
[AM_AUTOMAKE_VERSION([1.11])dnl
 
8177
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8159
8178
m4_ifndef([AC_AUTOCONF_VERSION],
8160
8179
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8161
8180
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])