~ubuntu-branches/ubuntu/karmic/devicekit-power/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-22 18:08:28 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090722180828-zd9mugnpllojb7py
Tags: 010-0ubuntu1
* New upstream release:
  - Port to PolicyKit 1 API.
  - Port from DeviceKit to gudev.
  - Bug fixes.
* debian/control: 
  - libpolkit-dbus-dev → libpolkit-gobject-1-dev build dependency.
  - libdevkit-gobject-dev → libgudev-1.0-dev build dependency.
  - Drop devicekit dependency.
  - Add Conflicts to devicekit. This is not really true in the packaging
    sense, but devicekit only started to exist in earlier karmic and will
    cease to exist now, so clean it up for the benefit of Karmic testers.
    This will be dropped in some weeks.
* Drop 0001-Add-a-notify-flag-to-set_lid_is_closed.patch, fixed upstream.
* Add Breaks to gnome-power-manager versions which aren't ported to new
  PolicyKit API yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for DeviceKit-power 009.
 
3
# Generated by GNU Autoconf 2.63 for DeviceKit-power 010.
4
4
#
5
5
# Report bugs to <http://lists.freedesktop.org/mailman/listinfo/devkit-devel>.
6
6
#
745
745
# Identity of this package.
746
746
PACKAGE_NAME='DeviceKit-power'
747
747
PACKAGE_TARNAME='devicekit-power'
748
 
PACKAGE_VERSION='009'
749
 
PACKAGE_STRING='DeviceKit-power 009'
 
748
PACKAGE_VERSION='010'
 
749
PACKAGE_STRING='DeviceKit-power 010'
750
750
PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/devkit-devel'
751
751
 
752
752
# Factoring default headers for most tests.
833
833
USE_NLS
834
834
GIO_LIBS
835
835
GIO_CFLAGS
836
 
POLKIT_DBUS_LIBS
837
 
POLKIT_DBUS_CFLAGS
 
836
POLKIT_LIBS
 
837
POLKIT_CFLAGS
838
838
DBUS_GLIB_LIBS
839
839
DBUS_GLIB_CFLAGS
840
840
DBUS_LIBS
841
841
DBUS_CFLAGS
842
842
GLIB_LIBS
843
843
GLIB_CFLAGS
844
 
DEVKIT_GOBJECT_LIBS
845
 
DEVKIT_GOBJECT_CFLAGS
846
 
DEVKIT_LIBS
847
 
DEVKIT_CFLAGS
 
844
GUDEV_LIBS
 
845
GUDEV_CFLAGS
848
846
slashlibdir
849
847
GTK_DOC_USE_LIBTOOL_FALSE
850
848
GTK_DOC_USE_LIBTOOL_TRUE
997
995
CPPFLAGS
998
996
CPP
999
997
PKG_CONFIG
1000
 
DEVKIT_CFLAGS
1001
 
DEVKIT_LIBS
 
998
GUDEV_CFLAGS
 
999
GUDEV_LIBS
1002
1000
GLIB_CFLAGS
1003
1001
GLIB_LIBS
1004
1002
DBUS_CFLAGS
1005
1003
DBUS_LIBS
1006
1004
DBUS_GLIB_CFLAGS
1007
1005
DBUS_GLIB_LIBS
1008
 
POLKIT_DBUS_CFLAGS
1009
 
POLKIT_DBUS_LIBS
 
1006
POLKIT_CFLAGS
 
1007
POLKIT_LIBS
1010
1008
GIO_CFLAGS
1011
1009
GIO_LIBS'
1012
1010
 
1561
1559
  # Omit some internal or obsolete options to make the list less imposing.
1562
1560
  # This message is too long to be a string in the A/UX 3.1 sh.
1563
1561
  cat <<_ACEOF
1564
 
\`configure' configures DeviceKit-power 009 to adapt to many kinds of systems.
 
1562
\`configure' configures DeviceKit-power 010 to adapt to many kinds of systems.
1565
1563
 
1566
1564
Usage: $0 [OPTION]... [VAR=VALUE]...
1567
1565
 
1631
1629
 
1632
1630
if test -n "$ac_init_help"; then
1633
1631
  case $ac_init_help in
1634
 
     short | recursive ) echo "Configuration of DeviceKit-power 009:";;
 
1632
     short | recursive ) echo "Configuration of DeviceKit-power 010:";;
1635
1633
   esac
1636
1634
  cat <<\_ACEOF
1637
1635
 
1675
1673
              you have headers in a nonstandard directory <include dir>
1676
1674
  CPP         C preprocessor
1677
1675
  PKG_CONFIG  path to pkg-config utility
1678
 
  DEVKIT_CFLAGS
1679
 
              C compiler flags for DEVKIT, overriding pkg-config
1680
 
  DEVKIT_LIBS linker flags for DEVKIT, overriding pkg-config
 
1676
  GUDEV_CFLAGS
 
1677
              C compiler flags for GUDEV, overriding pkg-config
 
1678
  GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
1681
1679
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1682
1680
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1683
1681
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1686
1684
              C compiler flags for DBUS_GLIB, overriding pkg-config
1687
1685
  DBUS_GLIB_LIBS
1688
1686
              linker flags for DBUS_GLIB, overriding pkg-config
1689
 
  POLKIT_DBUS_CFLAGS
1690
 
              C compiler flags for POLKIT_DBUS, overriding pkg-config
1691
 
  POLKIT_DBUS_LIBS
1692
 
              linker flags for POLKIT_DBUS, overriding pkg-config
 
1687
  POLKIT_CFLAGS
 
1688
              C compiler flags for POLKIT, overriding pkg-config
 
1689
  POLKIT_LIBS linker flags for POLKIT, overriding pkg-config
1693
1690
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1694
1691
  GIO_LIBS    linker flags for GIO, overriding pkg-config
1695
1692
 
1759
1756
test -n "$ac_init_help" && exit $ac_status
1760
1757
if $ac_init_version; then
1761
1758
  cat <<\_ACEOF
1762
 
DeviceKit-power configure 009
 
1759
DeviceKit-power configure 010
1763
1760
generated by GNU Autoconf 2.63
1764
1761
 
1765
1762
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1773
1770
This file contains any messages produced by compilers while
1774
1771
running configure, to aid debugging if configure makes a mistake.
1775
1772
 
1776
 
It was created by DeviceKit-power $as_me 009, which was
 
1773
It was created by DeviceKit-power $as_me 010, which was
1777
1774
generated by GNU Autoconf 2.63.  Invocation command line was
1778
1775
 
1779
1776
  $ $0 $@
2622
2619
 
2623
2620
# Define the identity of the package.
2624
2621
 PACKAGE=DeviceKit-power
2625
 
 VERSION=009
 
2622
 VERSION=010
2626
2623
 
2627
2624
 
2628
2625
cat >>confdefs.h <<_ACEOF
6671
6668
else
6672
6669
  lt_cv_nm_interface="BSD nm"
6673
6670
  echo "int some_variable = 0;" > conftest.$ac_ext
6674
 
  (eval echo "\"\$as_me:6674: $ac_compile\"" >&5)
 
6671
  (eval echo "\"\$as_me:6671: $ac_compile\"" >&5)
6675
6672
  (eval "$ac_compile" 2>conftest.err)
6676
6673
  cat conftest.err >&5
6677
 
  (eval echo "\"\$as_me:6677: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6674
  (eval echo "\"\$as_me:6674: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6678
6675
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6679
6676
  cat conftest.err >&5
6680
 
  (eval echo "\"\$as_me:6680: output\"" >&5)
 
6677
  (eval echo "\"\$as_me:6677: output\"" >&5)
6681
6678
  cat conftest.out >&5
6682
6679
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6683
6680
    lt_cv_nm_interface="MS dumpbin"
7882
7879
  ;;
7883
7880
*-*-irix6*)
7884
7881
  # Find out which ABI we are using.
7885
 
  echo '#line 7885 "configure"' > conftest.$ac_ext
 
7882
  echo '#line 7882 "configure"' > conftest.$ac_ext
7886
7883
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7887
7884
  (eval $ac_compile) 2>&5
7888
7885
  ac_status=$?
9320
9317
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9321
9318
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9322
9319
   -e 's:$: $lt_compiler_flag:'`
9323
 
   (eval echo "\"\$as_me:9323: $lt_compile\"" >&5)
 
9320
   (eval echo "\"\$as_me:9320: $lt_compile\"" >&5)
9324
9321
   (eval "$lt_compile" 2>conftest.err)
9325
9322
   ac_status=$?
9326
9323
   cat conftest.err >&5
9327
 
   echo "$as_me:9327: \$? = $ac_status" >&5
 
9324
   echo "$as_me:9324: \$? = $ac_status" >&5
9328
9325
   if (exit $ac_status) && test -s "$ac_outfile"; then
9329
9326
     # The compiler can only warn and ignore the option if not recognized
9330
9327
     # So say no if there are warnings other than the usual output.
9659
9656
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9660
9657
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9661
9658
   -e 's:$: $lt_compiler_flag:'`
9662
 
   (eval echo "\"\$as_me:9662: $lt_compile\"" >&5)
 
9659
   (eval echo "\"\$as_me:9659: $lt_compile\"" >&5)
9663
9660
   (eval "$lt_compile" 2>conftest.err)
9664
9661
   ac_status=$?
9665
9662
   cat conftest.err >&5
9666
 
   echo "$as_me:9666: \$? = $ac_status" >&5
 
9663
   echo "$as_me:9663: \$? = $ac_status" >&5
9667
9664
   if (exit $ac_status) && test -s "$ac_outfile"; then
9668
9665
     # The compiler can only warn and ignore the option if not recognized
9669
9666
     # So say no if there are warnings other than the usual output.
9764
9761
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9765
9762
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9766
9763
   -e 's:$: $lt_compiler_flag:'`
9767
 
   (eval echo "\"\$as_me:9767: $lt_compile\"" >&5)
 
9764
   (eval echo "\"\$as_me:9764: $lt_compile\"" >&5)
9768
9765
   (eval "$lt_compile" 2>out/conftest.err)
9769
9766
   ac_status=$?
9770
9767
   cat out/conftest.err >&5
9771
 
   echo "$as_me:9771: \$? = $ac_status" >&5
 
9768
   echo "$as_me:9768: \$? = $ac_status" >&5
9772
9769
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9773
9770
   then
9774
9771
     # The compiler can only warn and ignore the option if not recognized
9819
9816
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9820
9817
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9821
9818
   -e 's:$: $lt_compiler_flag:'`
9822
 
   (eval echo "\"\$as_me:9822: $lt_compile\"" >&5)
 
9819
   (eval echo "\"\$as_me:9819: $lt_compile\"" >&5)
9823
9820
   (eval "$lt_compile" 2>out/conftest.err)
9824
9821
   ac_status=$?
9825
9822
   cat out/conftest.err >&5
9826
 
   echo "$as_me:9826: \$? = $ac_status" >&5
 
9823
   echo "$as_me:9823: \$? = $ac_status" >&5
9827
9824
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9828
9825
   then
9829
9826
     # The compiler can only warn and ignore the option if not recognized
12622
12619
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12623
12620
  lt_status=$lt_dlunknown
12624
12621
  cat > conftest.$ac_ext <<_LT_EOF
12625
 
#line 12625 "configure"
 
12622
#line 12622 "configure"
12626
12623
#include "confdefs.h"
12627
12624
 
12628
12625
#if HAVE_DLFCN_H
12718
12715
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12719
12716
  lt_status=$lt_dlunknown
12720
12717
  cat > conftest.$ac_ext <<_LT_EOF
12721
 
#line 12721 "configure"
 
12718
#line 12718 "configure"
12722
12719
#include "confdefs.h"
12723
12720
 
12724
12721
#if HAVE_DLFCN_H
13857
13854
fi
13858
13855
 
13859
13856
pkg_failed=no
13860
 
{ $as_echo "$as_me:$LINENO: checking for DEVKIT" >&5
13861
 
$as_echo_n "checking for DEVKIT... " >&6; }
 
13857
{ $as_echo "$as_me:$LINENO: checking for GUDEV" >&5
 
13858
$as_echo_n "checking for GUDEV... " >&6; }
13862
13859
 
13863
 
if test -n "$DEVKIT_CFLAGS"; then
13864
 
    pkg_cv_DEVKIT_CFLAGS="$DEVKIT_CFLAGS"
 
13860
if test -n "$GUDEV_CFLAGS"; then
 
13861
    pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
13865
13862
 elif test -n "$PKG_CONFIG"; then
13866
13863
    if test -n "$PKG_CONFIG" && \
13867
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= 002\"") >&5
13868
 
  ($PKG_CONFIG --exists --print-errors "devkit-gobject >= 002") 2>&5
 
13864
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 001\"") >&5
 
13865
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 001") 2>&5
13869
13866
  ac_status=$?
13870
13867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871
13868
  (exit $ac_status); }; then
13872
 
  pkg_cv_DEVKIT_CFLAGS=`$PKG_CONFIG --cflags "devkit-gobject >= 002" 2>/dev/null`
 
13869
  pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= 001" 2>/dev/null`
13873
13870
else
13874
13871
  pkg_failed=yes
13875
13872
fi
13876
13873
 else
13877
13874
    pkg_failed=untried
13878
13875
fi
13879
 
if test -n "$DEVKIT_LIBS"; then
13880
 
    pkg_cv_DEVKIT_LIBS="$DEVKIT_LIBS"
 
13876
if test -n "$GUDEV_LIBS"; then
 
13877
    pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
13881
13878
 elif test -n "$PKG_CONFIG"; then
13882
13879
    if test -n "$PKG_CONFIG" && \
13883
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= 002\"") >&5
13884
 
  ($PKG_CONFIG --exists --print-errors "devkit-gobject >= 002") 2>&5
 
13880
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 001\"") >&5
 
13881
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 001") 2>&5
13885
13882
  ac_status=$?
13886
13883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887
13884
  (exit $ac_status); }; then
13888
 
  pkg_cv_DEVKIT_LIBS=`$PKG_CONFIG --libs "devkit-gobject >= 002" 2>/dev/null`
 
13885
  pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= 001" 2>/dev/null`
13889
13886
else
13890
13887
  pkg_failed=yes
13891
13888
fi
13903
13900
        _pkg_short_errors_supported=no
13904
13901
fi
13905
13902
        if test $_pkg_short_errors_supported = yes; then
13906
 
                DEVKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "devkit-gobject >= 002" 2>&1`
 
13903
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 >= 001" 2>&1`
13907
13904
        else
13908
 
                DEVKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "devkit-gobject >= 002" 2>&1`
 
13905
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0 >= 001" 2>&1`
13909
13906
        fi
13910
13907
        # Put the nasty error message in config.log where it belongs
13911
 
        echo "$DEVKIT_PKG_ERRORS" >&5
13912
 
 
13913
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (devkit-gobject >= 002) were not met:
13914
 
 
13915
 
$DEVKIT_PKG_ERRORS
 
13908
        echo "$GUDEV_PKG_ERRORS" >&5
 
13909
 
 
13910
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gudev-1.0 >= 001) were not met:
 
13911
 
 
13912
$GUDEV_PKG_ERRORS
13916
13913
 
13917
13914
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13918
13915
installed software in a non-standard prefix.
13919
13916
 
13920
 
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13921
 
and DEVKIT_LIBS to avoid the need to call pkg-config.
 
13917
Alternatively, you may set the environment variables GUDEV_CFLAGS
 
13918
and GUDEV_LIBS to avoid the need to call pkg-config.
13922
13919
See the pkg-config man page for more details.
13923
13920
" >&5
13924
 
$as_echo "$as_me: error: Package requirements (devkit-gobject >= 002) were not met:
 
13921
$as_echo "$as_me: error: Package requirements (gudev-1.0 >= 001) were not met:
13925
13922
 
13926
 
$DEVKIT_PKG_ERRORS
 
13923
$GUDEV_PKG_ERRORS
13927
13924
 
13928
13925
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13929
13926
installed software in a non-standard prefix.
13930
13927
 
13931
 
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13932
 
and DEVKIT_LIBS to avoid the need to call pkg-config.
 
13928
Alternatively, you may set the environment variables GUDEV_CFLAGS
 
13929
and GUDEV_LIBS to avoid the need to call pkg-config.
13933
13930
See the pkg-config man page for more details.
13934
13931
" >&2;}
13935
13932
   { (exit 1); exit 1; }; }
13940
13937
is in your PATH or set the PKG_CONFIG environment variable to the full
13941
13938
path to pkg-config.
13942
13939
 
13943
 
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13944
 
and DEVKIT_LIBS to avoid the need to call pkg-config.
 
13940
Alternatively, you may set the environment variables GUDEV_CFLAGS
 
13941
and GUDEV_LIBS to avoid the need to call pkg-config.
13945
13942
See the pkg-config man page for more details.
13946
13943
 
13947
13944
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13950
13947
is in your PATH or set the PKG_CONFIG environment variable to the full
13951
13948
path to pkg-config.
13952
13949
 
13953
 
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13954
 
and DEVKIT_LIBS to avoid the need to call pkg-config.
 
13950
Alternatively, you may set the environment variables GUDEV_CFLAGS
 
13951
and GUDEV_LIBS to avoid the need to call pkg-config.
13955
13952
See the pkg-config man page for more details.
13956
13953
 
13957
13954
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13958
13955
See \`config.log' for more details." >&2;}
13959
13956
   { (exit 1); exit 1; }; }; }
13960
13957
else
13961
 
        DEVKIT_CFLAGS=$pkg_cv_DEVKIT_CFLAGS
13962
 
        DEVKIT_LIBS=$pkg_cv_DEVKIT_LIBS
 
13958
        GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
 
13959
        GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
13963
13960
        { $as_echo "$as_me:$LINENO: result: yes" >&5
13964
13961
$as_echo "yes" >&6; }
13965
13962
        :
14305
14302
 
14306
14303
 
14307
14304
pkg_failed=no
14308
 
{ $as_echo "$as_me:$LINENO: checking for POLKIT_DBUS" >&5
14309
 
$as_echo_n "checking for POLKIT_DBUS... " >&6; }
 
14305
{ $as_echo "$as_me:$LINENO: checking for POLKIT" >&5
 
14306
$as_echo_n "checking for POLKIT... " >&6; }
14310
14307
 
14311
 
if test -n "$POLKIT_DBUS_CFLAGS"; then
14312
 
    pkg_cv_POLKIT_DBUS_CFLAGS="$POLKIT_DBUS_CFLAGS"
 
14308
if test -n "$POLKIT_CFLAGS"; then
 
14309
    pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS"
14313
14310
 elif test -n "$PKG_CONFIG"; then
14314
14311
    if test -n "$PKG_CONFIG" && \
14315
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= 0.7\"") >&5
14316
 
  ($PKG_CONFIG --exists --print-errors "polkit-dbus >= 0.7") 2>&5
 
14312
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.91\"") >&5
 
14313
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.91") 2>&5
14317
14314
  ac_status=$?
14318
14315
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319
14316
  (exit $ac_status); }; then
14320
 
  pkg_cv_POLKIT_DBUS_CFLAGS=`$PKG_CONFIG --cflags "polkit-dbus >= 0.7" 2>/dev/null`
 
14317
  pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1 >= 0.91" 2>/dev/null`
14321
14318
else
14322
14319
  pkg_failed=yes
14323
14320
fi
14324
14321
 else
14325
14322
    pkg_failed=untried
14326
14323
fi
14327
 
if test -n "$POLKIT_DBUS_LIBS"; then
14328
 
    pkg_cv_POLKIT_DBUS_LIBS="$POLKIT_DBUS_LIBS"
 
14324
if test -n "$POLKIT_LIBS"; then
 
14325
    pkg_cv_POLKIT_LIBS="$POLKIT_LIBS"
14329
14326
 elif test -n "$PKG_CONFIG"; then
14330
14327
    if test -n "$PKG_CONFIG" && \
14331
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= 0.7\"") >&5
14332
 
  ($PKG_CONFIG --exists --print-errors "polkit-dbus >= 0.7") 2>&5
 
14328
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.91\"") >&5
 
14329
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.91") 2>&5
14333
14330
  ac_status=$?
14334
14331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335
14332
  (exit $ac_status); }; then
14336
 
  pkg_cv_POLKIT_DBUS_LIBS=`$PKG_CONFIG --libs "polkit-dbus >= 0.7" 2>/dev/null`
 
14333
  pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1 >= 0.91" 2>/dev/null`
14337
14334
else
14338
14335
  pkg_failed=yes
14339
14336
fi
14351
14348
        _pkg_short_errors_supported=no
14352
14349
fi
14353
14350
        if test $_pkg_short_errors_supported = yes; then
14354
 
                POLKIT_DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-dbus >= 0.7" 2>&1`
 
14351
                POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-gobject-1 >= 0.91" 2>&1`
14355
14352
        else
14356
 
                POLKIT_DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-dbus >= 0.7" 2>&1`
 
14353
                POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-gobject-1 >= 0.91" 2>&1`
14357
14354
        fi
14358
14355
        # Put the nasty error message in config.log where it belongs
14359
 
        echo "$POLKIT_DBUS_PKG_ERRORS" >&5
14360
 
 
14361
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (polkit-dbus >= 0.7) were not met:
14362
 
 
14363
 
$POLKIT_DBUS_PKG_ERRORS
 
14356
        echo "$POLKIT_PKG_ERRORS" >&5
 
14357
 
 
14358
        { { $as_echo "$as_me:$LINENO: error: Package requirements (polkit-gobject-1 >= 0.91) were not met:
 
14359
 
 
14360
$POLKIT_PKG_ERRORS
14364
14361
 
14365
14362
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14366
14363
installed software in a non-standard prefix.
14367
14364
 
14368
 
Alternatively, you may set the environment variables POLKIT_DBUS_CFLAGS
14369
 
and POLKIT_DBUS_LIBS to avoid the need to call pkg-config.
 
14365
Alternatively, you may set the environment variables POLKIT_CFLAGS
 
14366
and POLKIT_LIBS to avoid the need to call pkg-config.
14370
14367
See the pkg-config man page for more details.
14371
14368
" >&5
14372
 
$as_echo "$as_me: error: Package requirements (polkit-dbus >= 0.7) were not met:
 
14369
$as_echo "$as_me: error: Package requirements (polkit-gobject-1 >= 0.91) were not met:
14373
14370
 
14374
 
$POLKIT_DBUS_PKG_ERRORS
 
14371
$POLKIT_PKG_ERRORS
14375
14372
 
14376
14373
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14377
14374
installed software in a non-standard prefix.
14378
14375
 
14379
 
Alternatively, you may set the environment variables POLKIT_DBUS_CFLAGS
14380
 
and POLKIT_DBUS_LIBS to avoid the need to call pkg-config.
 
14376
Alternatively, you may set the environment variables POLKIT_CFLAGS
 
14377
and POLKIT_LIBS to avoid the need to call pkg-config.
14381
14378
See the pkg-config man page for more details.
14382
14379
" >&2;}
14383
14380
   { (exit 1); exit 1; }; }
14388
14385
is in your PATH or set the PKG_CONFIG environment variable to the full
14389
14386
path to pkg-config.
14390
14387
 
14391
 
Alternatively, you may set the environment variables POLKIT_DBUS_CFLAGS
14392
 
and POLKIT_DBUS_LIBS to avoid the need to call pkg-config.
 
14388
Alternatively, you may set the environment variables POLKIT_CFLAGS
 
14389
and POLKIT_LIBS to avoid the need to call pkg-config.
14393
14390
See the pkg-config man page for more details.
14394
14391
 
14395
14392
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14398
14395
is in your PATH or set the PKG_CONFIG environment variable to the full
14399
14396
path to pkg-config.
14400
14397
 
14401
 
Alternatively, you may set the environment variables POLKIT_DBUS_CFLAGS
14402
 
and POLKIT_DBUS_LIBS to avoid the need to call pkg-config.
 
14398
Alternatively, you may set the environment variables POLKIT_CFLAGS
 
14399
and POLKIT_LIBS to avoid the need to call pkg-config.
14403
14400
See the pkg-config man page for more details.
14404
14401
 
14405
14402
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14406
14403
See \`config.log' for more details." >&2;}
14407
14404
   { (exit 1); exit 1; }; }; }
14408
14405
else
14409
 
        POLKIT_DBUS_CFLAGS=$pkg_cv_POLKIT_DBUS_CFLAGS
14410
 
        POLKIT_DBUS_LIBS=$pkg_cv_POLKIT_DBUS_LIBS
 
14406
        POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS
 
14407
        POLKIT_LIBS=$pkg_cv_POLKIT_LIBS
14411
14408
        { $as_echo "$as_me:$LINENO: result: yes" >&5
14412
14409
$as_echo "yes" >&6; }
14413
14410
        :
17545
17542
# report actual input values of CONFIG_FILES etc. instead of their
17546
17543
# values after options handling.
17547
17544
ac_log="
17548
 
This file was extended by DeviceKit-power $as_me 009, which was
 
17545
This file was extended by DeviceKit-power $as_me 010, which was
17549
17546
generated by GNU Autoconf 2.63.  Invocation command line was
17550
17547
 
17551
17548
  CONFIG_FILES    = $CONFIG_FILES
17608
17605
_ACEOF
17609
17606
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17610
17607
ac_cs_version="\\
17611
 
DeviceKit-power config.status 009
 
17608
DeviceKit-power config.status 010
17612
17609
configured by $0, generated by GNU Autoconf 2.63,
17613
17610
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17614
17611