aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-19 12:12:26 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-19 12:12:26 -0400
commite9d8efca8c5bed812f5308a504c6fa25b70fa7e4 (patch)
tree8636c28e35df52b40ccfba3f78b62b50f240f7bb /configure
parentb891e8ba2224e1c554d6076a7f6df3536204db07 (diff)
parent13d993e0026366d430f8ecad0aef772951f4bdd2 (diff)
downloadayatana-indicator-power-e9d8efca8c5bed812f5308a504c6fa25b70fa7e4.tar.gz
ayatana-indicator-power-e9d8efca8c5bed812f5308a504c6fa25b70fa7e4.tar.bz2
ayatana-indicator-power-e9d8efca8c5bed812f5308a504c6fa25b70fa7e4.zip
Import upstream version 0.4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure114
1 files changed, 103 insertions, 11 deletions
diff --git a/configure b/configure
index 2f64ec7..65c7ea2 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for indicator-power 0.3.
+# Generated by GNU Autoconf 2.68 for indicator-power 0.4.
#
# Report bugs to <http://bugs.launchpad.net/indicator-power>.
#
@@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='indicator-power'
PACKAGE_TARNAME='indicator-power'
-PACKAGE_VERSION='0.3'
-PACKAGE_STRING='indicator-power 0.3'
+PACKAGE_VERSION='0.4'
+PACKAGE_STRING='indicator-power 0.4'
PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-power'
PACKAGE_URL='http://launchpad.net/indicator-power'
@@ -662,6 +662,10 @@ INTLTOOL_UPDATE
USE_NLS
INDICATORICONSDIR
INDICATORDIR
+HAVE_GSD_FALSE
+HAVE_GSD_TRUE
+GSD_LIBS
+GSD_CFLAGS
INDICATOR_LIBS
INDICATOR_CFLAGS
UPOWER_LIBS
@@ -815,7 +819,9 @@ PKG_CONFIG_LIBDIR
UPOWER_CFLAGS
UPOWER_LIBS
INDICATOR_CFLAGS
-INDICATOR_LIBS'
+INDICATOR_LIBS
+GSD_CFLAGS
+GSD_LIBS'
# Initialize some variables set by options.
@@ -1358,7 +1364,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures indicator-power 0.3 to adapt to many kinds of systems.
+\`configure' configures indicator-power 0.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1428,7 +1434,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of indicator-power 0.3:";;
+ short | recursive ) echo "Configuration of indicator-power 0.4:";;
esac
cat <<\_ACEOF
@@ -1487,6 +1493,8 @@ Some influential environment variables:
C compiler flags for INDICATOR, overriding pkg-config
INDICATOR_LIBS
linker flags for INDICATOR, overriding pkg-config
+ GSD_CFLAGS C compiler flags for GSD, overriding pkg-config
+ GSD_LIBS linker flags for GSD, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -1555,7 +1563,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-indicator-power configure 0.3
+indicator-power configure 0.4
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1833,7 +1841,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by indicator-power $as_me 0.3, which was
+It was created by indicator-power $as_me 0.4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2657,7 +2665,7 @@ fi
# Define the identity of the package.
PACKAGE='indicator-power'
- VERSION='0.3'
+ VERSION='0.4'
cat >>confdefs.h <<_ACEOF
@@ -11397,6 +11405,7 @@ CC="$lt_save_CC"
GTK_REQUIRED_VERSION=3.0
INDICATOR_REQUIRED_VERSION=0.3.90
UPOWER_REQUIRED_VERSION=0.9.5
+GSD_REQUIRED_VERSION=3.1.4
@@ -11728,6 +11737,85 @@ $as_echo "yes" >&6; }
fi
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSD" >&5
+$as_echo_n "checking for GSD... " >&6; }
+
+if test -n "$GSD_CFLAGS"; then
+ pkg_cv_GSD_CFLAGS="$GSD_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon>= \$GSD_REQUIRED_VERSION\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon>= $GSD_REQUIRED_VERSION") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GSD_CFLAGS=`$PKG_CONFIG --cflags "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GSD_LIBS"; then
+ pkg_cv_GSD_LIBS="$GSD_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon>= \$GSD_REQUIRED_VERSION\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon>= $GSD_REQUIRED_VERSION") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GSD_LIBS=`$PKG_CONFIG --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>&1`
+ else
+ GSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GSD_PKG_ERRORS" >&5
+
+ have_gsd=no
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ have_gsd=no
+else
+ GSD_CFLAGS=$pkg_cv_GSD_CFLAGS
+ GSD_LIBS=$pkg_cv_GSD_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ have_gsd=yes
+fi
+ if test x$have_gsd = xyes; then
+ HAVE_GSD_TRUE=
+ HAVE_GSD_FALSE='#'
+else
+ HAVE_GSD_TRUE='#'
+ HAVE_GSD_FALSE=
+fi
+
+
###########################
# Check to see if we're local
###########################
@@ -14356,6 +14444,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_GSD_TRUE}" && test -z "${HAVE_GSD_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_GSD\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
ac_config_commands="$ac_config_commands po/stamp-it"
@@ -14769,7 +14861,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by indicator-power $as_me 0.3, which was
+This file was extended by indicator-power $as_me 0.4, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14836,7 +14928,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-indicator-power config.status 0.3
+indicator-power config.status 0.4
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"