~ubuntu-branches/ubuntu/maverick/packagekit/maverick-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Heinlein
  • Date: 2009-08-25 13:03:26 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090825130326-jrky8pfx0ukz0lib
Tags: 0.4.9+20090825-0ubuntu1
* New upstream snapshot provding a lot of APT backend improvements:
  - Allow to install updates which require the installation of additional
    packages. Updates depending on the removal of a package are still
    blocked (LP: #342671, LP: #374011, LP: #374011)
  - Warn about the installation of untrusted package (LP: #256245)
  - Don't crash in APT post update hook if system D-Bus daemon isn't 
    running (LP: #388623)
  - Don't try to estimate a download progress during cache updating, since
    APT reports only a forth- and backwards running progress. (LP: #348053)
  - Support for python-apt 0.7.12 (LP: #415993)
  - Translated package descriptions
* debian/patches:
  - Remove ignore_packages_in_conffile (Merged upstream)
  - Remove fix_typo (Merged upstream)
  - Add fix_unicode: Handle the encoding messages via stdin/stdout correctly
    (LP: #396513)
  - Add fix_unicode_debfile: Convert the path of the local file which
    should be installed to the correct encoding (LP: #347327)
* debian/libpackagekit-qt-dev.install: Fix install location of CMake module.
  Thanks to Sveinung Kvilhaugsvik (LP: #345706)
* debian/control: Fix spelling of Qt. Thanks to Sveinung Kvilhaugsvik
  (LP: #378419)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.64],,
 
17
[m4_warning([this file was generated for autoconf 2.64.
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'.])])
3152
3152
  # before this can be enabled.
3153
3153
  hardcode_into_libs=yes
3154
3154
 
3155
 
  # Add ABI-specific directories to the system library path.
3156
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
3157
 
 
3158
3155
  # Append ld.so.conf contents to the search path
3159
3156
  if test -f /etc/ld.so.conf; then
3160
3157
    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' ' '`
3161
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
3158
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3162
3159
  fi
3163
3160
 
3164
3161
  # We used to test for /lib/ld.so.1 and disable shared libraries on
3170
3167
  dynamic_linker='GNU/Linux ld.so'
3171
3168
  ;;
3172
3169
 
 
3170
netbsdelf*-gnu)
 
3171
  version_type=linux
 
3172
  need_lib_prefix=no
 
3173
  need_version=no
 
3174
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
3175
  soname_spec='${libname}${release}${shared_ext}$major'
 
3176
  shlibpath_var=LD_LIBRARY_PATH
 
3177
  shlibpath_overrides_runpath=no
 
3178
  hardcode_into_libs=yes
 
3179
  dynamic_linker='NetBSD ld.elf_so'
 
3180
  ;;
 
3181
 
3173
3182
netbsd*)
3174
3183
  version_type=sunos
3175
3184
  need_lib_prefix=no
3761
3770
  lt_cv_deplibs_check_method=pass_all
3762
3771
  ;;
3763
3772
 
3764
 
netbsd*)
 
3773
netbsd* | netbsdelf*-gnu)
3765
3774
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3766
3775
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3767
3776
  else
4442
4451
            ;;
4443
4452
        esac
4444
4453
        ;;
4445
 
      netbsd*)
 
4454
      netbsd* | netbsdelf*-gnu)
4446
4455
        ;;
4447
4456
      *qnx* | *nto*)
4448
4457
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4867
4876
  cygwin* | mingw* | cegcc*)
4868
4877
    _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'
4869
4878
  ;;
 
4879
  linux* | k*bsd*-gnu)
 
4880
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4881
  ;;
4870
4882
  *)
4871
4883
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4872
4884
  ;;
4931
4943
  openbsd*)
4932
4944
    with_gnu_ld=no
4933
4945
    ;;
 
4946
  linux* | k*bsd*-gnu)
 
4947
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4948
    ;;
4934
4949
  esac
4935
4950
 
4936
4951
  _LT_TAGVAR(ld_shlibs, $1)=yes
5113
5128
      fi
5114
5129
      ;;
5115
5130
 
5116
 
    netbsd*)
 
5131
    netbsd* | netbsdelf*-gnu)
5117
5132
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5118
5133
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5119
5134
        wlarc=
5288
5303
        if test "$aix_use_runtimelinking" = yes; then
5289
5304
          shared_flag="$shared_flag "'${wl}-G'
5290
5305
        fi
 
5306
        _LT_TAGVAR(link_all_deplibs, $1)=no
5291
5307
      else
5292
5308
        # not using gcc
5293
5309
        if test "$host_cpu" = ia64; then
5526
5542
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5527
5543
      ;;
5528
5544
 
5529
 
    netbsd*)
 
5545
    netbsd* | netbsdelf*-gnu)
5530
5546
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5531
5547
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5532
5548
      else
8735
8751
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8736
8752
# ---------------------------------------------
8737
8753
m4_define([_PKG_CONFIG],
8738
 
[if test -n "$$1"; then
8739
 
    pkg_cv_[]$1="$$1"
8740
 
 elif test -n "$PKG_CONFIG"; then
8741
 
    PKG_CHECK_EXISTS([$3],
8742
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8743
 
                     [pkg_failed=yes])
8744
 
 else
8745
 
    pkg_failed=untried
 
8754
[if test -n "$PKG_CONFIG"; then
 
8755
    if test -n "$$1"; then
 
8756
        pkg_cv_[]$1="$$1"
 
8757
    else
 
8758
        PKG_CHECK_EXISTS([$3],
 
8759
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
8760
                         [pkg_failed=yes])
 
8761
    fi
 
8762
else
 
8763
        pkg_failed=untried
8746
8764
fi[]dnl
8747
8765
])# _PKG_CONFIG
8748
8766
 
8786
8804
if test $pkg_failed = yes; then
8787
8805
        _PKG_SHORT_ERRORS_SUPPORTED
8788
8806
        if test $_pkg_short_errors_supported = yes; then
8789
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
 
8807
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
8790
8808
        else 
8791
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
 
8809
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
8792
8810
        fi
8793
8811
        # Put the nasty error message in config.log where it belongs
8794
8812
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
9114
9132
# gives unlimited permission to copy and/or distribute it,
9115
9133
# with or without modifications, as long as this notice is preserved.
9116
9134
 
9117
 
#serial 4
 
9135
#serial 5
9118
9136
 
9119
9137
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9120
9138
# ------------------------------
9121
9139
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9122
 
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
9123
 
# are listed without --file.  Let's play safe and only enable the eval
9124
 
# if we detect the quoting.
9125
 
case $CONFIG_FILES in
9126
 
*\'*) eval set x "$CONFIG_FILES" ;;
9127
 
*)   set x $CONFIG_FILES ;;
9128
 
esac
9129
 
shift
9130
 
for mf
9131
 
do
9132
 
  # Strip MF so we end up with the name of the file.
9133
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9134
 
  # Check whether this is an Automake generated Makefile or not.
9135
 
  # We used to match only the files named `Makefile.in', but
9136
 
  # some people rename them; so instead we look at the file content.
9137
 
  # Grep'ing the first line is not enough: some people post-process
9138
 
  # each Makefile.in and add a new line on top of each file to say so.
9139
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9140
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9141
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9142
 
    dirpart=`AS_DIRNAME("$mf")`
9143
 
  else
9144
 
    continue
9145
 
  fi
9146
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9147
 
  # from the Makefile without running `make'.
9148
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9149
 
  test -z "$DEPDIR" && continue
9150
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9151
 
  test -z "am__include" && continue
9152
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9153
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9154
 
  U=`sed -n 's/^U = //p' < "$mf"`
9155
 
  # Find all dependency output files, they are included files with
9156
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9157
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9158
 
  # expansion.
9159
 
  for file in `sed -n "
9160
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9161
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9162
 
    # Make sure the directory exists.
9163
 
    test -f "$dirpart/$file" && continue
9164
 
    fdir=`AS_DIRNAME(["$file"])`
9165
 
    AS_MKDIR_P([$dirpart/$fdir])
9166
 
    # echo "creating $dirpart/$file"
9167
 
    echo '# dummy' > "$dirpart/$file"
 
9140
[{
 
9141
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9142
  # are listed without --file.  Let's play safe and only enable the eval
 
9143
  # if we detect the quoting.
 
9144
  case $CONFIG_FILES in
 
9145
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9146
  *)   set x $CONFIG_FILES ;;
 
9147
  esac
 
9148
  shift
 
9149
  for mf
 
9150
  do
 
9151
    # Strip MF so we end up with the name of the file.
 
9152
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9153
    # Check whether this is an Automake generated Makefile or not.
 
9154
    # We used to match only the files named `Makefile.in', but
 
9155
    # some people rename them; so instead we look at the file content.
 
9156
    # Grep'ing the first line is not enough: some people post-process
 
9157
    # each Makefile.in and add a new line on top of each file to say so.
 
9158
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9159
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9160
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9161
      dirpart=`AS_DIRNAME("$mf")`
 
9162
    else
 
9163
      continue
 
9164
    fi
 
9165
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9166
    # from the Makefile without running `make'.
 
9167
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9168
    test -z "$DEPDIR" && continue
 
9169
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9170
    test -z "am__include" && continue
 
9171
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9172
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9173
    U=`sed -n 's/^U = //p' < "$mf"`
 
9174
    # Find all dependency output files, they are included files with
 
9175
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9176
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9177
    # expansion.
 
9178
    for file in `sed -n "
 
9179
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9180
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9181
      # Make sure the directory exists.
 
9182
      test -f "$dirpart/$file" && continue
 
9183
      fdir=`AS_DIRNAME(["$file"])`
 
9184
      AS_MKDIR_P([$dirpart/$fdir])
 
9185
      # echo "creating $dirpart/$file"
 
9186
      echo '# dummy' > "$dirpart/$file"
 
9187
    done
9168
9188
  done
9169
 
done
 
9189
}
9170
9190
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9171
9191
 
9172
9192
 
9652
9672
  dnl doesn't work.
9653
9673
  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
9654
9674
    [am_cv_python_pythondir],
9655
 
    [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
9656
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
 
9675
    [if test "x$prefix" = xNONE
 
9676
     then
 
9677
       am_py_prefix=$ac_default_prefix
 
9678
     else
 
9679
       am_py_prefix=$prefix
 
9680
     fi
 
9681
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
 
9682
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
9683
     case $am_cv_python_pythondir in
 
9684
     $am_py_prefix*)
 
9685
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
9686
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
9687
       ;;
 
9688
     esac
 
9689
    ])
9657
9690
  AC_SUBST([pythondir], [$am_cv_python_pythondir])
9658
9691
 
9659
9692
  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
9669
9702
  dnl doesn't work.
9670
9703
  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
9671
9704
    [am_cv_python_pyexecdir],
9672
 
    [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
9673
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
 
9705
    [if test "x$exec_prefix" = xNONE
 
9706
     then
 
9707
       am_py_exec_prefix=$am_py_prefix
 
9708
     else
 
9709
       am_py_exec_prefix=$exec_prefix
 
9710
     fi
 
9711
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
9712
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
9713
     case $am_cv_python_pyexecdir in
 
9714
     $am_py_exec_prefix*)
 
9715
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
9716
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
9717
       ;;
 
9718
     esac
 
9719
    ])
9674
9720
  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
9675
9721
 
9676
9722
  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
9702
9748
sys.exit(sys.hexversion < minverhex)"
9703
9749
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
9704
9750
 
 
9751
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9752
#
 
9753
# This file is free software; the Free Software Foundation
 
9754
# gives unlimited permission to copy and/or distribute it,
 
9755
# with or without modifications, as long as this notice is preserved.
 
9756
 
 
9757
# AM_RUN_LOG(COMMAND)
 
9758
# -------------------
 
9759
# Run COMMAND, save the exit status in ac_status, and log it.
 
9760
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 
9761
AC_DEFUN([AM_RUN_LOG],
 
9762
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 
9763
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 
9764
   ac_status=$?
 
9765
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
9766
   (exit $ac_status); }])
 
9767
 
9705
9768
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9706
9769
 
9707
9770
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005