Merge lp:~indicator-applet-developers/ubuntu/precise/indicator-power/upstream into lp:~ubuntu-desktop/indicator-power/ubuntu

Proposed by Ted Gould
Status: Merged
Merged at revision: 93
Proposed branch: lp:~indicator-applet-developers/ubuntu/precise/indicator-power/upstream
Merge into: lp:~ubuntu-desktop/indicator-power/ubuntu
Diff against target: 5267 lines (+2298/-614)
24 files modified
AUTHORS (+3/-0)
ChangeLog (+124/-0)
Makefile.am (+41/-18)
Makefile.in (+148/-92)
aclocal.m4 (+79/-29)
build-aux/compile (+183/-16)
build-aux/depcomp (+66/-8)
build-aux/install-sh (+18/-11)
build-aux/ltmain.sh (+57/-38)
build-aux/missing (+4/-49)
configure (+479/-104)
configure.ac (+13/-1)
data/Makefile.am (+17/-0)
data/Makefile.in (+442/-0)
data/com.canonical.indicator.power.gschema.xml (+11/-1)
data/com.canonical.indicator.power.gschema.xml.in (+11/-1)
debian/changelog (+8/-0)
m4/gcov.m4 (+83/-0)
m4/intltool.m4 (+40/-21)
m4/libtool.m4 (+207/-57)
m4/ltoptions.m4 (+17/-2)
m4/ltversion.m4 (+5/-5)
po/Makefile.in.in (+9/-4)
src/indicator-power.c (+233/-157)
To merge this branch: bzr merge lp:~indicator-applet-developers/ubuntu/precise/indicator-power/upstream
Reviewer Review Type Date Requested Status
Sebastien Bacher Pending
Review via email: mp+93095@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS'
--- AUTHORS 2011-09-23 17:03:11 +0000
+++ AUTHORS 2012-02-14 22:32:23 +0000
@@ -1,9 +1,12 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile. Do not edit.
22
3 Allan LeSage
4 Charles Kerr
3 Gabor Kelemen 5 Gabor Kelemen
4 Javier Jardon 6 Javier Jardon
5 Javier Jardón 7 Javier Jardón
6 Ken VanDine 8 Ken VanDine
7 ken.vandine@canonical.com9 ken.vandine@canonical.com
10 Marco Trevisan (Treviño)
8 Michael Terry 11 Michael Terry
9 Ted Gould 12 Ted Gould
1013
=== modified file 'ChangeLog'
--- ChangeLog 2011-10-24 15:07:53 +0000
+++ ChangeLog 2012-02-14 22:32:23 +0000
@@ -1,5 +1,129 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile. Do not edit.
22
32012-02-14 Ted Gould <ted@gould.cx>
4
5 1.90
6
72012-02-14 Ted Gould <ted@gould.cx>
8
9 Fixing distcheck
10
112012-02-14 Ted Gould <ted@gould.cx>
12
13 Make data have it's own makefile so the GSettings rules work properly on distcheck
14
152012-02-14 Ted Gould <ted@gould.cx>
16
17 Style and performance fixes
18
192012-02-14 Javier Jardón <javier.jardon@codethink.co.uk>
20
21 Use G_GNUC_CONST for indicator_power_get_type() to improve performance
22
232012-02-14 Javier Jardón <javier.jardon@codethink.co.uk>
24
25 Code style fixes
26
272012-02-13 Charles Kerr <charles.kerr@canonical.com>
28
29 add icon-policy from branch lp:~charlesk/indicator-power/icon-policy
30
312012-02-13 Charles Kerr <charles.kerr@canonical.com>
32
33 ensure that we don't have a reference to the proxy or proxy_cancel fields in indicator_power_dispose().
34
352012-02-13 Charles Kerr <charles.kerr@canonical.com>
36
37 move POWER_INDICATOR_ICON_POLICY_* enum to the top of the file
38
392012-02-13 Charles Kerr <charles.kerr@canonical.com>
40
41 remove unncessary private field 'visible'
42
432012-02-13 Charles Kerr <charles.kerr@canonical.com>
44
45 consistent use of ICON_POLICY_KEY
46
472012-02-13 Charles Kerr <charles.kerr@canonical.com>
48
49 remove unnecessary G_OBJECT() cast
50
512012-02-13 Charles Kerr <charles.kerr@canonical.com>
52
53 make prototypes for update_visibility() and should_be_visible() align with the neighboring forward declarations
54
552012-02-01 Charles Kerr <charles.kerr@canonical.com>
56
57 add support for icon-policy setting
58
592012-02-01 Charles Kerr <charles.kerr@canonical.com>
60
61 create the menu at init time s.t. we don't have to keep checking to see if it exists
62
632012-02-01 Charles Kerr <charles.kerr@canonical.com>
64
65 use g_settings_bind() for the show-time checkbox
66
672012-02-01 Charles Kerr <charles.kerr@canonical.com>
68
69 better error reporting if g_spawn_command_line_async() fails
70
712012-02-01 Charles Kerr <charles.kerr@canonical.com>
72
73 remove redundant #include of glib.h
74
752012-02-01 Charles Kerr <charles.kerr@canonical.com>
76
77 use g_clear_object() on the proxy_cancel field
78
792012-02-01 Charles Kerr <charles.kerr@canonical.com>
80
81 remove unnecessary Priv struct -- the =entire class= is private
82
832012-02-01 Charles Kerr <charles.kerr@canonical.com>
84
85 remove unused struct names
86
872012-02-01 Charles Kerr <charles.kerr@canonical.com>
88
89 group the indicator_power lifecycle funcs together
90
912012-02-01 Charles Kerr <charles.kerr@canonical.com>
92
93 unref+clear Priv's variant fields in _dispose()
94
952012-02-01 Charles Kerr <charles.kerr@canonical.com>
96
97 don't leak priv->settings
98
992012-02-01 Charles Kerr <charles.kerr@canonical.com>
100
101 don't leak priv->accessible_desc
102
1032012-02-01 Charles Kerr <charles.kerr@canonical.com>
104
105 remove redundant prototypes
106
1072012-02-10 Ted Gould <ted@gould.cx>
108
109 Support building coverage targets
110
1112011-12-06 Allan LeSage <allanlesage@gmail.com>
112
113 Added coverage reporting via gcov config and targets.
114
1152011-11-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
116
117 Add name-hint.
118
119 Using the defined PACKAGE_NAME value.
120
1212011-11-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
122
123 Add name-hint.
124
125 Using the defined PACKAGE_NAME value.
126
32011-10-13 Javier Jardón <javier.jardon@codethink.co.uk>1272011-10-13 Javier Jardón <javier.jardon@codethink.co.uk>
4128
5 0.10129 0.10
6130
=== modified file 'Makefile.am'
--- Makefile.am 2011-08-25 17:46:15 +0000
+++ Makefile.am 2012-02-14 22:32:23 +0000
@@ -1,13 +1,8 @@
1ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}1ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
22
3SUBDIRS = po3SUBDIRS = \
44 po \
5gsettings_in_file = data/com.canonical.indicator.power.gschema.xml.in5 data
6gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
7
8@INTLTOOL_XML_NOMERGE_RULE@
9
10@GSETTINGS_RULES@
116
12###################7###################
13# Indicator Stuff8# Indicator Stuff
@@ -20,12 +15,14 @@
20libpower_la_CFLAGS = \15libpower_la_CFLAGS = \
21 $(UPOWER_CFLAGS) \16 $(UPOWER_CFLAGS) \
22 $(INDICATOR_CFLAGS) \17 $(INDICATOR_CFLAGS) \
18 $(COVERAGE_CFLAGS) \
23 -Wall -Werror \19 -Wall -Werror \
24 -DG_LOG_DOMAIN=\"Indicator-Power\"20 -DG_LOG_DOMAIN=\"Indicator-Power\"
25libpower_la_LIBADD = \21libpower_la_LIBADD = \
26 $(UPOWER_LIBS) \22 $(UPOWER_LIBS) \
27 $(INDICATOR_LIBS)23 $(INDICATOR_LIBS)
28libpower_la_LDFLAGS = \24libpower_la_LDFLAGS = \
25 $(COVERAGE_LDFLAGS) \
29 -module \26 -module \
30 -avoid-version27 -avoid-version
3128
@@ -34,16 +31,6 @@
34dist_noinst_SCRIPTS = \31dist_noinst_SCRIPTS = \
35 autogen.sh32 autogen.sh
3633
37dist_noinst_DATA = \
38 data/com.canonical.indicator.power.gschema.xml \
39 $(gsettings_in_file)
40
41CLEANFILES = \
42 $(gsettings_SCHEMAS)
43
44MAINTAINERCLEANFILES = \
45 $(gsettings_SCHEMAS:.xml=.valid)
46
47DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall34DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
4835
49############################################################36############################################################
@@ -73,3 +60,39 @@
73 else \60 else \
74 echo Failed to generate AUTHORS: not a branch >&2; \61 echo Failed to generate AUTHORS: not a branch >&2; \
75 fi62 fi
63
64
65# Coverage targets
66
67.PHONY: clean-gcda
68clean-gcda:
69 @echo Removing old coverage results
70 -find -name '*.gcda' -print | xargs -r rm
71
72.PHONY: coverage-html generate-coverage-html clean-coverage-html
73coverage-html: clean-gcda
74 -$(MAKE) $(AM_MAKEFLAGS) -k check
75 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
76
77generate-coverage-html:
78 @echo Collecting coverage data
79 $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool
80 LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
81
82clean-coverage-html: clean-gcda
83 -$(LCOV) --directory $(top_builddir) -z
84 -rm -rf coverage.info coveragereport
85
86.PHONY: coverage-xml generate-coverage-xml clean-coverage-xml
87coverage-xml: clean-gcda
88 -$(MAKE) $(AM_MAKEFLAGS) -k check
89 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-xml
90
91generate-coverage-xml:
92 @echo Generating coverage XML report
93 $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml
94
95clean-coverage-xml: clean-gcda
96 -rm -rf $(top_builddir)/coverage.xml
97
98clean-local: clean-coverage-html clean-coverage-xml
7699
=== modified file 'Makefile.in'
--- Makefile.in 2011-09-23 17:03:11 +0000
+++ Makefile.in 2012-02-14 22:32:23 +0000
@@ -1,9 +1,9 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.1# Makefile.in generated by automake 1.11.3 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Inc.6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.9# with or without modifications, as long as this notice is preserved.
@@ -16,7 +16,6 @@
16@SET_MAKE@16@SET_MAKE@
1717
1818
19
20VPATH = @srcdir@19VPATH = @srcdir@
21pkgdatadir = $(datadir)/@PACKAGE@20pkgdatadir = $(datadir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@21pkgincludedir = $(includedir)/@PACKAGE@
@@ -37,13 +36,12 @@
37build_triplet = @build@36build_triplet = @build@
38host_triplet = @host@37host_triplet = @host@
39subdir = .38subdir = .
40DIST_COMMON = $(am__configure_deps) $(dist_noinst_DATA) \39DIST_COMMON = $(am__configure_deps) $(dist_noinst_SCRIPTS) \
41 $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \40 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42 $(srcdir)/Makefile.in $(srcdir)/config.h.in \41 $(srcdir)/config.h.in $(top_srcdir)/configure ABOUT-NLS \
43 $(top_srcdir)/configure ABOUT-NLS COPYING build-aux/compile \42 COPYING build-aux/compile build-aux/config.guess \
44 build-aux/config.guess build-aux/config.rpath \43 build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
45 build-aux/config.sub build-aux/depcomp build-aux/install-sh \44 build-aux/install-sh build-aux/ltmain.sh build-aux/missing
46 build-aux/ltmain.sh build-aux/missing
47ACLOCAL_M4 = $(top_srcdir)/aclocal.m445ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \46am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
49 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \47 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
@@ -53,7 +51,7 @@
53 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \51 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
54 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \52 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
55 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \53 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
56 $(top_srcdir)/configure.ac54 $(top_srcdir)/m4/gcov.m4 $(top_srcdir)/configure.ac
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \55am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 $(ACLOCAL_M4)56 $(ACLOCAL_M4)
59am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \57am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -83,6 +81,12 @@
83am__base_list = \81am__base_list = \
84 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \82 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
85 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'83 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
84am__uninstall_files_from_dir = { \
85 test -z "$$files" \
86 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
87 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
88 $(am__cd) "$$dir" && rm -f $$files; }; \
89 }
86am__installdirs = "$(DESTDIR)$(powerlibdir)"90am__installdirs = "$(DESTDIR)$(powerlibdir)"
87LTLIBRARIES = $(powerlib_LTLIBRARIES)91LTLIBRARIES = $(powerlib_LTLIBRARIES)
88am__DEPENDENCIES_1 =92am__DEPENDENCIES_1 =
@@ -90,8 +94,8 @@
90am__dirstamp = $(am__leading_dot)dirstamp94am__dirstamp = $(am__leading_dot)dirstamp
91am_libpower_la_OBJECTS = src/libpower_la-indicator-power.lo95am_libpower_la_OBJECTS = src/libpower_la-indicator-power.lo
92libpower_la_OBJECTS = $(am_libpower_la_OBJECTS)96libpower_la_OBJECTS = $(am_libpower_la_OBJECTS)
93AM_V_lt = $(am__v_lt_$(V))97AM_V_lt = $(am__v_lt_@AM_V@)
94am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))98am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
95am__v_lt_0 = --silent99am__v_lt_0 = --silent
96libpower_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \100libpower_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
97 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpower_la_CFLAGS) \101 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpower_la_CFLAGS) \
@@ -107,21 +111,21 @@
107 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \111 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
108 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \112 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
109 $(AM_CFLAGS) $(CFLAGS)113 $(AM_CFLAGS) $(CFLAGS)
110AM_V_CC = $(am__v_CC_$(V))114AM_V_CC = $(am__v_CC_@AM_V@)
111am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))115am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
112am__v_CC_0 = @echo " CC " $@;116am__v_CC_0 = @echo " CC " $@;
113AM_V_at = $(am__v_at_$(V))117AM_V_at = $(am__v_at_@AM_V@)
114am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))118am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115am__v_at_0 = @119am__v_at_0 = @
116CCLD = $(CC)120CCLD = $(CC)
117LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \121LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
118 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \122 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
119 $(AM_LDFLAGS) $(LDFLAGS) -o $@123 $(AM_LDFLAGS) $(LDFLAGS) -o $@
120AM_V_CCLD = $(am__v_CCLD_$(V))124AM_V_CCLD = $(am__v_CCLD_@AM_V@)
121am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))125am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
122am__v_CCLD_0 = @echo " CCLD " $@;126am__v_CCLD_0 = @echo " CCLD " $@;
123AM_V_GEN = $(am__v_GEN_$(V))127AM_V_GEN = $(am__v_GEN_@AM_V@)
124am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))128am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
125am__v_GEN_0 = @echo " GEN " $@;129am__v_GEN_0 = @echo " GEN " $@;
126SOURCES = $(libpower_la_SOURCES)130SOURCES = $(libpower_la_SOURCES)
127DIST_SOURCES = $(libpower_la_SOURCES)131DIST_SOURCES = $(libpower_la_SOURCES)
@@ -132,7 +136,6 @@
132 install-pdf-recursive install-ps-recursive install-recursive \136 install-pdf-recursive install-ps-recursive install-recursive \
133 installcheck-recursive installdirs-recursive pdf-recursive \137 installcheck-recursive installdirs-recursive pdf-recursive \
134 ps-recursive uninstall-recursive138 ps-recursive uninstall-recursive
135DATA = $(dist_noinst_DATA)
136RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \139RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
137 distclean-recursive maintainer-clean-recursive140 distclean-recursive maintainer-clean-recursive
138AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \141AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
@@ -145,9 +148,11 @@
145distdir = $(PACKAGE)-$(VERSION)148distdir = $(PACKAGE)-$(VERSION)
146top_distdir = $(distdir)149top_distdir = $(distdir)
147am__remove_distdir = \150am__remove_distdir = \
148 { test ! -d "$(distdir)" \151 if test -d "$(distdir)"; then \
149 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \152 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
150 && rm -fr "$(distdir)"; }; }153 && rm -rf "$(distdir)" \
154 || { sleep 5 && rm -rf "$(distdir)"; }; \
155 else :; fi
151am__relativize = \156am__relativize = \
152 dir0=`pwd`; \157 dir0=`pwd`; \
153 sed_first='s,^\([^/]*\)/.*$$,\1,'; \158 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -176,6 +181,8 @@
176DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz181DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
177GZIP_ENV = --best182GZIP_ENV = --best
178distuninstallcheck_listfiles = find . -type f -print183distuninstallcheck_listfiles = find . -type f -print
184am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
185 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
179distcleancheck_listfiles = find . -type f -print186distcleancheck_listfiles = find . -type f -print
180ACLOCAL = @ACLOCAL@187ACLOCAL = @ACLOCAL@
181ALL_LINGUAS = @ALL_LINGUAS@188ALL_LINGUAS = @ALL_LINGUAS@
@@ -189,6 +196,9 @@
189CC = @CC@196CC = @CC@
190CCDEPMODE = @CCDEPMODE@197CCDEPMODE = @CCDEPMODE@
191CFLAGS = @CFLAGS@198CFLAGS = @CFLAGS@
199COVERAGE_CFLAGS = @COVERAGE_CFLAGS@
200COVERAGE_CXXFLAGS = @COVERAGE_CXXFLAGS@
201COVERAGE_LDFLAGS = @COVERAGE_LDFLAGS@
192CPP = @CPP@202CPP = @CPP@
193CPPFLAGS = @CPPFLAGS@203CPPFLAGS = @CPPFLAGS@
194CYGPATH_W = @CYGPATH_W@204CYGPATH_W = @CYGPATH_W@
@@ -204,6 +214,8 @@
204EGREP = @EGREP@214EGREP = @EGREP@
205EXEEXT = @EXEEXT@215EXEEXT = @EXEEXT@
206FGREP = @FGREP@216FGREP = @FGREP@
217GCOVR = @GCOVR@
218GENHTML = @GENHTML@
207GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@219GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
208GETTEXT_PACKAGE = @GETTEXT_PACKAGE@220GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
209GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@221GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
@@ -227,7 +239,12 @@
227INTLTOOL_MERGE = @INTLTOOL_MERGE@239INTLTOOL_MERGE = @INTLTOOL_MERGE@
228INTLTOOL_PERL = @INTLTOOL_PERL@240INTLTOOL_PERL = @INTLTOOL_PERL@
229INTLTOOL_UPDATE = @INTLTOOL_UPDATE@241INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
242INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
243INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
244INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
245INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
230INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@246INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
247LCOV = @LCOV@
231LD = @LD@248LD = @LD@
232LDFLAGS = @LDFLAGS@249LDFLAGS = @LDFLAGS@
233LIBICONV = @LIBICONV@250LIBICONV = @LIBICONV@
@@ -269,6 +286,7 @@
269SED = @SED@286SED = @SED@
270SET_MAKE = @SET_MAKE@287SET_MAKE = @SET_MAKE@
271SHELL = @SHELL@288SHELL = @SHELL@
289SHTOOL = @SHTOOL@
272STRIP = @STRIP@290STRIP = @STRIP@
273UPOWER_CFLAGS = @UPOWER_CFLAGS@291UPOWER_CFLAGS = @UPOWER_CFLAGS@
274UPOWER_LIBS = @UPOWER_LIBS@292UPOWER_LIBS = @UPOWER_LIBS@
@@ -311,6 +329,8 @@
311includedir = @includedir@329includedir = @includedir@
312infodir = @infodir@330infodir = @infodir@
313install_sh = @install_sh@331install_sh = @install_sh@
332intltool__v_merge_options_ = @intltool__v_merge_options_@
333intltool__v_merge_options_0 = @intltool__v_merge_options_0@
314libdir = @libdir@334libdir = @libdir@
315libexecdir = @libexecdir@335libexecdir = @libexecdir@
316localedir = @localedir@336localedir = @localedir@
@@ -331,9 +351,10 @@
331top_builddir = @top_builddir@351top_builddir = @top_builddir@
332top_srcdir = @top_srcdir@352top_srcdir = @top_srcdir@
333ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}353ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
334SUBDIRS = po354SUBDIRS = \
335gsettings_in_file = data/com.canonical.indicator.power.gschema.xml.in355 po \
336gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)356 data
357
337358
338###################359###################
339# Indicator Stuff360# Indicator Stuff
@@ -346,6 +367,7 @@
346libpower_la_CFLAGS = \367libpower_la_CFLAGS = \
347 $(UPOWER_CFLAGS) \368 $(UPOWER_CFLAGS) \
348 $(INDICATOR_CFLAGS) \369 $(INDICATOR_CFLAGS) \
370 $(COVERAGE_CFLAGS) \
349 -Wall -Werror \371 -Wall -Werror \
350 -DG_LOG_DOMAIN=\"Indicator-Power\"372 -DG_LOG_DOMAIN=\"Indicator-Power\"
351373
@@ -354,6 +376,7 @@
354 $(INDICATOR_LIBS)376 $(INDICATOR_LIBS)
355377
356libpower_la_LDFLAGS = \378libpower_la_LDFLAGS = \
379 $(COVERAGE_LDFLAGS) \
357 -module \380 -module \
358 -avoid-version381 -avoid-version
359382
@@ -362,23 +385,13 @@
362dist_noinst_SCRIPTS = \385dist_noinst_SCRIPTS = \
363 autogen.sh386 autogen.sh
364387
365dist_noinst_DATA = \
366 data/com.canonical.indicator.power.gschema.xml \
367 $(gsettings_in_file)
368
369CLEANFILES = \
370 $(gsettings_SCHEMAS)
371
372MAINTAINERCLEANFILES = \
373 $(gsettings_SCHEMAS:.xml=.valid)
374
375DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall388DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
376all: config.h389all: config.h
377 $(MAKE) $(AM_MAKEFLAGS) all-recursive390 $(MAKE) $(AM_MAKEFLAGS) all-recursive
378391
379.SUFFIXES:392.SUFFIXES:
380.SUFFIXES: .c .lo .o .obj393.SUFFIXES: .c .lo .o .obj
381am--refresh:394am--refresh: Makefile
382 @:395 @:
383$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)396$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
384 @for dep in $?; do \397 @for dep in $?; do \
@@ -414,10 +427,8 @@
414$(am__aclocal_m4_deps):427$(am__aclocal_m4_deps):
415428
416config.h: stamp-h1429config.h: stamp-h1
417 @if test ! -f $@; then \430 @if test ! -f $@; then rm -f stamp-h1; else :; fi
418 rm -f stamp-h1; \431 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
419 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
420 else :; fi
421432
422stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status433stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
423 @rm -f stamp-h1434 @rm -f stamp-h1
@@ -468,7 +479,7 @@
468 @: > src/$(DEPDIR)/$(am__dirstamp)479 @: > src/$(DEPDIR)/$(am__dirstamp)
469src/libpower_la-indicator-power.lo: src/$(am__dirstamp) \480src/libpower_la-indicator-power.lo: src/$(am__dirstamp) \
470 src/$(DEPDIR)/$(am__dirstamp)481 src/$(DEPDIR)/$(am__dirstamp)
471libpower.la: $(libpower_la_OBJECTS) $(libpower_la_DEPENDENCIES) 482libpower.la: $(libpower_la_OBJECTS) $(libpower_la_DEPENDENCIES) $(EXTRA_libpower_la_DEPENDENCIES)
472 $(AM_V_CCLD)$(libpower_la_LINK) -rpath $(powerlibdir) $(libpower_la_OBJECTS) $(libpower_la_LIBADD) $(LIBS)483 $(AM_V_CCLD)$(libpower_la_LINK) -rpath $(powerlibdir) $(libpower_la_OBJECTS) $(libpower_la_LIBADD) $(LIBS)
473484
474mostlyclean-compile:485mostlyclean-compile:
@@ -485,36 +496,32 @@
485@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\496@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
486@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\497@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
487@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po498@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
488@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@499@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
489@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
490@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@500@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
491@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<501@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
492502
493.c.obj:503.c.obj:
494@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\504@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
495@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\505@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
496@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po506@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
497@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@507@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
498@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
499@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@508@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
500@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`509@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
501510
502.c.lo:511.c.lo:
503@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\512@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
504@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\513@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
505@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo514@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
506@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@515@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
507@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
508@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@516@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
509@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<517@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
510518
511src/libpower_la-indicator-power.lo: src/indicator-power.c519src/libpower_la-indicator-power.lo: src/indicator-power.c
512@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpower_la_CFLAGS) $(CFLAGS) -MT src/libpower_la-indicator-power.lo -MD -MP -MF src/$(DEPDIR)/libpower_la-indicator-power.Tpo -c -o src/libpower_la-indicator-power.lo `test -f 'src/indicator-power.c' || echo '$(srcdir)/'`src/indicator-power.c520@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpower_la_CFLAGS) $(CFLAGS) -MT src/libpower_la-indicator-power.lo -MD -MP -MF src/$(DEPDIR)/libpower_la-indicator-power.Tpo -c -o src/libpower_la-indicator-power.lo `test -f 'src/indicator-power.c' || echo '$(srcdir)/'`src/indicator-power.c
513@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libpower_la-indicator-power.Tpo src/$(DEPDIR)/libpower_la-indicator-power.Plo521@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libpower_la-indicator-power.Tpo src/$(DEPDIR)/libpower_la-indicator-power.Plo
514@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@522@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/indicator-power.c' object='src/libpower_la-indicator-power.lo' libtool=yes @AMDEPBACKSLASH@
515@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/indicator-power.c' object='src/libpower_la-indicator-power.lo' libtool=yes @AMDEPBACKSLASH@
516@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@523@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
517@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpower_la_CFLAGS) $(CFLAGS) -c -o src/libpower_la-indicator-power.lo `test -f 'src/indicator-power.c' || echo '$(srcdir)/'`src/indicator-power.c524@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpower_la_CFLAGS) $(CFLAGS) -c -o src/libpower_la-indicator-power.lo `test -f 'src/indicator-power.c' || echo '$(srcdir)/'`src/indicator-power.c
518525
519mostlyclean-libtool:526mostlyclean-libtool:
520 -rm -f *.lo527 -rm -f *.lo
@@ -736,14 +743,18 @@
736 $(am__remove_distdir)743 $(am__remove_distdir)
737744
738dist-bzip2: distdir745dist-bzip2: distdir
739 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2746 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
747 $(am__remove_distdir)
748
749dist-lzip: distdir
750 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
740 $(am__remove_distdir)751 $(am__remove_distdir)
741752
742dist-lzma: distdir753dist-lzma: distdir
743 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma754 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
744 $(am__remove_distdir)755 $(am__remove_distdir)
745dist-xz: distdir756dist-xz: distdir
746 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz757 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
747 $(am__remove_distdir)758 $(am__remove_distdir)
748759
749dist-tarZ: distdir760dist-tarZ: distdir
@@ -761,7 +772,7 @@
761772
762dist dist-all: distdir773dist dist-all: distdir
763 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz774 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
764 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz775 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
765 $(am__remove_distdir)776 $(am__remove_distdir)
766777
767# This target untars the dist file and tries a VPATH configuration. Then778# This target untars the dist file and tries a VPATH configuration. Then
@@ -775,6 +786,8 @@
775 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\786 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
776 *.tar.lzma*) \787 *.tar.lzma*) \
777 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\788 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
789 *.tar.lz*) \
790 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
778 *.tar.xz*) \791 *.tar.xz*) \
779 xz -dc $(distdir).tar.xz | $(am__untar) ;;\792 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
780 *.tar.Z*) \793 *.tar.Z*) \
@@ -794,6 +807,7 @@
794 && am__cwd=`pwd` \807 && am__cwd=`pwd` \
795 && $(am__cd) $(distdir)/_build \808 && $(am__cd) $(distdir)/_build \
796 && ../configure --srcdir=.. --prefix="$$dc_install_base" \809 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
810 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
797 $(DISTCHECK_CONFIGURE_FLAGS) \811 $(DISTCHECK_CONFIGURE_FLAGS) \
798 && $(MAKE) $(AM_MAKEFLAGS) \812 && $(MAKE) $(AM_MAKEFLAGS) \
799 && $(MAKE) $(AM_MAKEFLAGS) dvi \813 && $(MAKE) $(AM_MAKEFLAGS) dvi \
@@ -822,8 +836,16 @@
822 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \836 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
823 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'837 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
824distuninstallcheck:838distuninstallcheck:
825 @$(am__cd) '$(distuninstallcheck_dir)' \839 @test -n '$(distuninstallcheck_dir)' || { \
826 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \840 echo 'ERROR: trying to run $@ with an empty' \
841 '$$(distuninstallcheck_dir)' >&2; \
842 exit 1; \
843 }; \
844 $(am__cd) '$(distuninstallcheck_dir)' || { \
845 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
846 exit 1; \
847 }; \
848 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
827 || { echo "ERROR: files left after uninstall:" ; \849 || { echo "ERROR: files left after uninstall:" ; \
828 if test -n "$(DESTDIR)"; then \850 if test -n "$(DESTDIR)"; then \
829 echo " (check DESTDIR support)"; \851 echo " (check DESTDIR support)"; \
@@ -841,7 +863,7 @@
841 exit 1; } >&2863 exit 1; } >&2
842check-am: all-am864check-am: all-am
843check: check-recursive865check: check-recursive
844all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) config.h866all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) config.h
845installdirs: installdirs-recursive867installdirs: installdirs-recursive
846installdirs-am:868installdirs-am:
847 for dir in "$(DESTDIR)$(powerlibdir)"; do \869 for dir in "$(DESTDIR)$(powerlibdir)"; do \
@@ -857,14 +879,18 @@
857879
858installcheck: installcheck-recursive880installcheck: installcheck-recursive
859install-strip:881install-strip:
860 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \882 if test -z '$(STRIP)'; then \
861 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \883 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
862 `test -z '$(STRIP)' || \884 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
863 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install885 install; \
886 else \
887 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
888 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
889 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
890 fi
864mostlyclean-generic:891mostlyclean-generic:
865892
866clean-generic:893clean-generic:
867 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
868894
869distclean-generic:895distclean-generic:
870 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)896 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -875,11 +901,10 @@
875maintainer-clean-generic:901maintainer-clean-generic:
876 @echo "This command is intended for maintainers to use"902 @echo "This command is intended for maintainers to use"
877 @echo "it deletes files that may require special tools to rebuild."903 @echo "it deletes files that may require special tools to rebuild."
878 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
879clean: clean-recursive904clean: clean-recursive
880905
881clean-am: clean-generic clean-libtool clean-powerlibLTLIBRARIES \906clean-am: clean-generic clean-libtool clean-local \
882 mostlyclean-am907 clean-powerlibLTLIBRARIES mostlyclean-am
883908
884distclean: distclean-recursive909distclean: distclean-recursive
885 -rm -f $(am__CONFIG_DISTCLEAN_FILES)910 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
@@ -955,27 +980,23 @@
955980
956.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \981.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
957 all all-am am--refresh check check-am clean clean-generic \982 all all-am am--refresh check check-am clean clean-generic \
958 clean-libtool clean-powerlibLTLIBRARIES ctags ctags-recursive \983 clean-libtool clean-local clean-powerlibLTLIBRARIES ctags \
959 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzma \984 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
960 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \985 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
961 distclean-compile distclean-generic distclean-hdr \986 distcheck distclean distclean-compile distclean-generic \
962 distclean-libtool distclean-tags distcleancheck distdir \987 distclean-hdr distclean-libtool distclean-tags distcleancheck \
963 distuninstallcheck dvi dvi-am html html-am info info-am \988 distdir distuninstallcheck dvi dvi-am html html-am info \
964 install install-am install-data install-data-am install-dvi \989 info-am install install-am install-data install-data-am \
965 install-dvi-am install-exec install-exec-am install-html \990 install-dvi install-dvi-am install-exec install-exec-am \
966 install-html-am install-info install-info-am install-man \991 install-html install-html-am install-info install-info-am \
967 install-pdf install-pdf-am install-powerlibLTLIBRARIES \992 install-man install-pdf install-pdf-am \
968 install-ps install-ps-am install-strip installcheck \993 install-powerlibLTLIBRARIES install-ps install-ps-am \
969 installcheck-am installdirs installdirs-am maintainer-clean \994 install-strip installcheck installcheck-am installdirs \
970 maintainer-clean-generic mostlyclean mostlyclean-compile \995 installdirs-am maintainer-clean maintainer-clean-generic \
971 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \996 mostlyclean mostlyclean-compile mostlyclean-generic \
972 tags tags-recursive uninstall uninstall-am \997 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
973 uninstall-powerlibLTLIBRARIES998 uninstall uninstall-am uninstall-powerlibLTLIBRARIES
974999
975
976@INTLTOOL_XML_NOMERGE_RULE@
977
978@GSETTINGS_RULES@
9791000
980############################################################1001############################################################
9811002
@@ -1005,6 +1026,41 @@
1005 echo Failed to generate AUTHORS: not a branch >&2; \1026 echo Failed to generate AUTHORS: not a branch >&2; \
1006 fi1027 fi
10071028
1029# Coverage targets
1030
1031.PHONY: clean-gcda
1032clean-gcda:
1033 @echo Removing old coverage results
1034 -find -name '*.gcda' -print | xargs -r rm
1035
1036.PHONY: coverage-html generate-coverage-html clean-coverage-html
1037coverage-html: clean-gcda
1038 -$(MAKE) $(AM_MAKEFLAGS) -k check
1039 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
1040
1041generate-coverage-html:
1042 @echo Collecting coverage data
1043 $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool
1044 LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
1045
1046clean-coverage-html: clean-gcda
1047 -$(LCOV) --directory $(top_builddir) -z
1048 -rm -rf coverage.info coveragereport
1049
1050.PHONY: coverage-xml generate-coverage-xml clean-coverage-xml
1051coverage-xml: clean-gcda
1052 -$(MAKE) $(AM_MAKEFLAGS) -k check
1053 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-xml
1054
1055generate-coverage-xml:
1056 @echo Generating coverage XML report
1057 $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml
1058
1059clean-coverage-xml: clean-gcda
1060 -rm -rf $(top_builddir)/coverage.xml
1061
1062clean-local: clean-coverage-html clean-coverage-xml
1063
1008# Tell versions [3.59,3.63) of GNU make to not export all variables.1064# Tell versions [3.59,3.63) of GNU make to not export all variables.
1009# Otherwise a system limit (for SysV at least) may be exceeded.1065# Otherwise a system limit (for SysV at least) may be exceeded.
1010.NOEXPORT:1066.NOEXPORT:
10111067
=== modified file 'aclocal.m4'
--- aclocal.m4 2011-08-23 16:44:57 +0000
+++ aclocal.m4 2012-02-14 22:32:23 +0000
@@ -1,7 +1,8 @@
1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-1# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
5# This file is free software; the Free Software Foundation6# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -263,12 +264,15 @@
263fi[]dnl264fi[]dnl
264])# PKG_CHECK_MODULES265])# PKG_CHECK_MODULES
265266
266# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.267# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
268# Foundation, Inc.
267#269#
268# This file is free software; the Free Software Foundation270# This file is free software; the Free Software Foundation
269# gives unlimited permission to copy and/or distribute it,271# gives unlimited permission to copy and/or distribute it,
270# with or without modifications, as long as this notice is preserved.272# with or without modifications, as long as this notice is preserved.
271273
274# serial 1
275
272# AM_AUTOMAKE_VERSION(VERSION)276# AM_AUTOMAKE_VERSION(VERSION)
273# ----------------------------277# ----------------------------
274# Automake X.Y traces this macro to ensure aclocal.m4 has been278# Automake X.Y traces this macro to ensure aclocal.m4 has been
@@ -278,7 +282,7 @@
278[am__api_version='1.11'282[am__api_version='1.11'
279dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to283dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
280dnl require some minimum version. Point them to the right macro.284dnl require some minimum version. Point them to the right macro.
281m4_if([$1], [1.11.1], [],285m4_if([$1], [1.11.3], [],
282 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl286 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
283])287])
284288
@@ -294,19 +298,21 @@
294# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.298# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
295# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.299# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
296AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],300AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
297[AM_AUTOMAKE_VERSION([1.11.1])dnl301[AM_AUTOMAKE_VERSION([1.11.3])dnl
298m4_ifndef([AC_AUTOCONF_VERSION],302m4_ifndef([AC_AUTOCONF_VERSION],
299 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl303 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
300_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])304_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
301305
302# AM_AUX_DIR_EXPAND -*- Autoconf -*-306# AM_AUX_DIR_EXPAND -*- Autoconf -*-
303307
304# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.308# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
305#309#
306# This file is free software; the Free Software Foundation310# This file is free software; the Free Software Foundation
307# gives unlimited permission to copy and/or distribute it,311# gives unlimited permission to copy and/or distribute it,
308# with or without modifications, as long as this notice is preserved.312# with or without modifications, as long as this notice is preserved.
309313
314# serial 1
315
310# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets316# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
311# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to317# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
312# `$srcdir', `$srcdir/..', or `$srcdir/../..'.318# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
@@ -388,14 +394,14 @@
388Usually this means the macro was only invoked conditionally.]])394Usually this means the macro was only invoked conditionally.]])
389fi])])395fi])])
390396
391# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009397# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
392# Free Software Foundation, Inc.398# 2010, 2011 Free Software Foundation, Inc.
393#399#
394# This file is free software; the Free Software Foundation400# This file is free software; the Free Software Foundation
395# gives unlimited permission to copy and/or distribute it,401# gives unlimited permission to copy and/or distribute it,
396# with or without modifications, as long as this notice is preserved.402# with or without modifications, as long as this notice is preserved.
397403
398# serial 10404# serial 12
399405
400# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be406# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
401# written in clear, in which case automake, when reading aclocal.m4,407# written in clear, in which case automake, when reading aclocal.m4,
@@ -435,6 +441,7 @@
435 # instance it was reported that on HP-UX the gcc test will end up441 # instance it was reported that on HP-UX the gcc test will end up
436 # making a dummy file named `D' -- because `-MD' means `put the output442 # making a dummy file named `D' -- because `-MD' means `put the output
437 # in D'.443 # in D'.
444 rm -rf conftest.dir
438 mkdir conftest.dir445 mkdir conftest.dir
439 # Copy depcomp to subdir because otherwise we won't find it if we're446 # Copy depcomp to subdir because otherwise we won't find it if we're
440 # using a relative directory.447 # using a relative directory.
@@ -499,7 +506,7 @@
499 break506 break
500 fi507 fi
501 ;;508 ;;
502 msvisualcpp | msvcmsys)509 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
503 # This compiler won't grok `-c -o', but also, the minuso test has510 # This compiler won't grok `-c -o', but also, the minuso test has
504 # not run yet. These depmodes are late enough in the game, and511 # not run yet. These depmodes are late enough in the game, and
505 # so weak that their functioning should not be impacted.512 # so weak that their functioning should not be impacted.
@@ -564,10 +571,13 @@
564if test "x$enable_dependency_tracking" != xno; then571if test "x$enable_dependency_tracking" != xno; then
565 am_depcomp="$ac_aux_dir/depcomp"572 am_depcomp="$ac_aux_dir/depcomp"
566 AMDEPBACKSLASH='\'573 AMDEPBACKSLASH='\'
574 am__nodep='_no'
567fi575fi
568AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])576AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
569AC_SUBST([AMDEPBACKSLASH])dnl577AC_SUBST([AMDEPBACKSLASH])dnl
570_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl578_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
579AC_SUBST([am__nodep])dnl
580_AM_SUBST_NOTMAKE([am__nodep])dnl
571])581])
572582
573# Generate code to set up dependency tracking. -*- Autoconf -*-583# Generate code to set up dependency tracking. -*- Autoconf -*-
@@ -789,12 +799,15 @@
789done799done
790echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])800echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
791801
792# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.802# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
803# Inc.
793#804#
794# This file is free software; the Free Software Foundation805# This file is free software; the Free Software Foundation
795# gives unlimited permission to copy and/or distribute it,806# gives unlimited permission to copy and/or distribute it,
796# with or without modifications, as long as this notice is preserved.807# with or without modifications, as long as this notice is preserved.
797808
809# serial 1
810
798# AM_PROG_INSTALL_SH811# AM_PROG_INSTALL_SH
799# ------------------812# ------------------
800# Define $install_sh.813# Define $install_sh.
@@ -834,8 +847,8 @@
834# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-847# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
835# From Jim Meyering848# From Jim Meyering
836849
837# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008850# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
838# Free Software Foundation, Inc.851# 2011 Free Software Foundation, Inc.
839#852#
840# This file is free software; the Free Software Foundation853# This file is free software; the Free Software Foundation
841# gives unlimited permission to copy and/or distribute it,854# gives unlimited permission to copy and/or distribute it,
@@ -855,7 +868,7 @@
855 [disable], [m4_define([am_maintainer_other], [enable])],868 [disable], [m4_define([am_maintainer_other], [enable])],
856 [m4_define([am_maintainer_other], [enable])869 [m4_define([am_maintainer_other], [enable])
857 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])870 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
858AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])871AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
859 dnl maintainer-mode's default is 'disable' unless 'enable' is passed872 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
860 AC_ARG_ENABLE([maintainer-mode],873 AC_ARG_ENABLE([maintainer-mode],
861[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful874[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -1001,12 +1014,15 @@
1001fi1014fi
1002])1015])
10031016
1004# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.1017# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1018# Inc.
1005#1019#
1006# This file is free software; the Free Software Foundation1020# This file is free software; the Free Software Foundation
1007# gives unlimited permission to copy and/or distribute it,1021# gives unlimited permission to copy and/or distribute it,
1008# with or without modifications, as long as this notice is preserved.1022# with or without modifications, as long as this notice is preserved.
10091023
1024# serial 1
1025
1010# AM_PROG_MKDIR_P1026# AM_PROG_MKDIR_P
1011# ---------------1027# ---------------
1012# Check for `mkdir -p'.1028# Check for `mkdir -p'.
@@ -1029,13 +1045,14 @@
10291045
1030# Helper functions for option handling. -*- Autoconf -*-1046# Helper functions for option handling. -*- Autoconf -*-
10311047
1032# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.1048# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1049# Foundation, Inc.
1033#1050#
1034# This file is free software; the Free Software Foundation1051# This file is free software; the Free Software Foundation
1035# gives unlimited permission to copy and/or distribute it,1052# gives unlimited permission to copy and/or distribute it,
1036# with or without modifications, as long as this notice is preserved.1053# with or without modifications, as long as this notice is preserved.
10371054
1038# serial 41055# serial 5
10391056
1040# _AM_MANGLE_OPTION(NAME)1057# _AM_MANGLE_OPTION(NAME)
1041# -----------------------1058# -----------------------
@@ -1043,13 +1060,13 @@
1043[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])1060[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
10441061
1045# _AM_SET_OPTION(NAME)1062# _AM_SET_OPTION(NAME)
1046# ------------------------------1063# --------------------
1047# Set option NAME. Presently that only means defining a flag for this option.1064# Set option NAME. Presently that only means defining a flag for this option.
1048AC_DEFUN([_AM_SET_OPTION],1065AC_DEFUN([_AM_SET_OPTION],
1049[m4_define(_AM_MANGLE_OPTION([$1]), 1)])1066[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
10501067
1051# _AM_SET_OPTIONS(OPTIONS)1068# _AM_SET_OPTIONS(OPTIONS)
1052# ----------------------------------1069# ------------------------
1053# OPTIONS is a space-separated list of Automake options.1070# OPTIONS is a space-separated list of Automake options.
1054AC_DEFUN([_AM_SET_OPTIONS],1071AC_DEFUN([_AM_SET_OPTIONS],
1055[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])1072[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
@@ -1125,13 +1142,13 @@
1125fi1142fi
1126AC_MSG_RESULT(yes)])1143AC_MSG_RESULT(yes)])
11271144
1128# Copyright (C) 2009 Free Software Foundation, Inc.1145# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
1129#1146#
1130# This file is free software; the Free Software Foundation1147# This file is free software; the Free Software Foundation
1131# gives unlimited permission to copy and/or distribute it,1148# gives unlimited permission to copy and/or distribute it,
1132# with or without modifications, as long as this notice is preserved.1149# with or without modifications, as long as this notice is preserved.
11331150
1134# serial 11151# serial 2
11351152
1136# AM_SILENT_RULES([DEFAULT])1153# AM_SILENT_RULES([DEFAULT])
1137# --------------------------1154# --------------------------
@@ -1146,18 +1163,50 @@
1146no) AM_DEFAULT_VERBOSITY=1;;1163no) AM_DEFAULT_VERBOSITY=1;;
1147*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;1164*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1148esac1165esac
1166dnl
1167dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1168dnl do not support nested variable expansions.
1169dnl See automake bug#9928 and bug#10237.
1170am_make=${MAKE-make}
1171AC_CACHE_CHECK([whether $am_make supports nested variables],
1172 [am_cv_make_support_nested_variables],
1173 [if AS_ECHO([['TRUE=$(BAR$(V))
1174BAR0=false
1175BAR1=true
1176V=1
1177am__doit:
1178 @$(TRUE)
1179.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1180 am_cv_make_support_nested_variables=yes
1181else
1182 am_cv_make_support_nested_variables=no
1183fi])
1184if test $am_cv_make_support_nested_variables = yes; then
1185 dnl Using `$V' instead of `$(V)' breaks IRIX make.
1186 AM_V='$(V)'
1187 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1188else
1189 AM_V=$AM_DEFAULT_VERBOSITY
1190 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1191fi
1192AC_SUBST([AM_V])dnl
1193AM_SUBST_NOTMAKE([AM_V])dnl
1194AC_SUBST([AM_DEFAULT_V])dnl
1195AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1149AC_SUBST([AM_DEFAULT_VERBOSITY])dnl1196AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1150AM_BACKSLASH='\'1197AM_BACKSLASH='\'
1151AC_SUBST([AM_BACKSLASH])dnl1198AC_SUBST([AM_BACKSLASH])dnl
1152_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl1199_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1153])1200])
11541201
1155# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.1202# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1156#1203#
1157# This file is free software; the Free Software Foundation1204# This file is free software; the Free Software Foundation
1158# gives unlimited permission to copy and/or distribute it,1205# gives unlimited permission to copy and/or distribute it,
1159# with or without modifications, as long as this notice is preserved.1206# with or without modifications, as long as this notice is preserved.
11601207
1208# serial 1
1209
1161# AM_PROG_INSTALL_STRIP1210# AM_PROG_INSTALL_STRIP
1162# ---------------------1211# ---------------------
1163# One issue with vendor `install' (even GNU) is that you can't1212# One issue with vendor `install' (even GNU) is that you can't
@@ -1180,13 +1229,13 @@
1180INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"1229INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1181AC_SUBST([INSTALL_STRIP_PROGRAM])])1230AC_SUBST([INSTALL_STRIP_PROGRAM])])
11821231
1183# Copyright (C) 2006, 2008 Free Software Foundation, Inc.1232# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1184#1233#
1185# This file is free software; the Free Software Foundation1234# This file is free software; the Free Software Foundation
1186# gives unlimited permission to copy and/or distribute it,1235# gives unlimited permission to copy and/or distribute it,
1187# with or without modifications, as long as this notice is preserved.1236# with or without modifications, as long as this notice is preserved.
11881237
1189# serial 21238# serial 3
11901239
1191# _AM_SUBST_NOTMAKE(VARIABLE)1240# _AM_SUBST_NOTMAKE(VARIABLE)
1192# ---------------------------1241# ---------------------------
@@ -1195,13 +1244,13 @@
1195AC_DEFUN([_AM_SUBST_NOTMAKE])1244AC_DEFUN([_AM_SUBST_NOTMAKE])
11961245
1197# AM_SUBST_NOTMAKE(VARIABLE)1246# AM_SUBST_NOTMAKE(VARIABLE)
1198# ---------------------------1247# --------------------------
1199# Public sister of _AM_SUBST_NOTMAKE.1248# Public sister of _AM_SUBST_NOTMAKE.
1200AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])1249AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
12011250
1202# Check how to create a tarball. -*- Autoconf -*-1251# Check how to create a tarball. -*- Autoconf -*-
12031252
1204# Copyright (C) 2004, 2005 Free Software Foundation, Inc.1253# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1205#1254#
1206# This file is free software; the Free Software Foundation1255# This file is free software; the Free Software Foundation
1207# gives unlimited permission to copy and/or distribute it,1256# gives unlimited permission to copy and/or distribute it,
@@ -1223,10 +1272,11 @@
1223# a tarball read from stdin.1272# a tarball read from stdin.
1224# $(am__untar) < result.tar1273# $(am__untar) < result.tar
1225AC_DEFUN([_AM_PROG_TAR],1274AC_DEFUN([_AM_PROG_TAR],
1226[# Always define AMTAR for backward compatibility.1275[# Always define AMTAR for backward compatibility. Yes, it's still used
1227AM_MISSING_PROG([AMTAR], [tar])1276# in the wild :-( We should find a proper way to deprecate it ...
1277AC_SUBST([AMTAR], ['$${TAR-tar}'])
1228m4_if([$1], [v7],1278m4_if([$1], [v7],
1229 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],1279 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1230 [m4_case([$1], [ustar],, [pax],,1280 [m4_case([$1], [ustar],, [pax],,
1231 [m4_fatal([Unknown tar format])])1281 [m4_fatal([Unknown tar format])])
1232AC_MSG_CHECKING([how to create a $1 tar archive])1282AC_MSG_CHECKING([how to create a $1 tar archive])
12331283
=== modified file 'build-aux/compile'
--- build-aux/compile 2011-07-07 18:12:06 +0000
+++ build-aux/compile 2012-02-14 22:32:23 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Wrapper for compilers which do not understand `-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2009-10-06.20; # UTC4scriptversion=2012-01-04.17; # UTC
55
6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
7# Foundation, Inc.7# Software Foundation, Inc.
8# Written by Tom Tromey <tromey@cygnus.com>.8# Written by Tom Tromey <tromey@cygnus.com>.
9#9#
10# This program is free software; you can redistribute it and/or modify10# This program is free software; you can redistribute it and/or modify
@@ -29,21 +29,186 @@
29# bugs to <bug-automake@gnu.org> or send patches to29# bugs to <bug-automake@gnu.org> or send patches to
30# <automake-patches@gnu.org>.30# <automake-patches@gnu.org>.
3131
32nl='
33'
34
35# We need space, tab and new line, in precisely that order. Quoting is
36# there to prevent tools from complaining about whitespace usage.
37IFS=" "" $nl"
38
39file_conv=
40
41# func_file_conv build_file lazy
42# Convert a $build file to $host form and store it in $file
43# Currently only supports Windows hosts. If the determined conversion
44# type is listed in (the comma separated) LAZY, no conversion will
45# take place.
46func_file_conv ()
47{
48 file=$1
49 case $file in
50 / | /[!/]*) # absolute file, and not a UNC file
51 if test -z "$file_conv"; then
52 # lazily determine how to convert abs files
53 case `uname -s` in
54 MINGW*)
55 file_conv=mingw
56 ;;
57 CYGWIN*)
58 file_conv=cygwin
59 ;;
60 *)
61 file_conv=wine
62 ;;
63 esac
64 fi
65 case $file_conv/,$2, in
66 *,$file_conv,*)
67 ;;
68 mingw/*)
69 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
70 ;;
71 cygwin/*)
72 file=`cygpath -m "$file" || echo "$file"`
73 ;;
74 wine/*)
75 file=`winepath -w "$file" || echo "$file"`
76 ;;
77 esac
78 ;;
79 esac
80}
81
82# func_cl_wrapper cl arg...
83# Adjust compile command to suit cl
84func_cl_wrapper ()
85{
86 # Assume a capable shell
87 lib_path=
88 shared=:
89 linker_opts=
90 for arg
91 do
92 if test -n "$eat"; then
93 eat=
94 else
95 case $1 in
96 -o)
97 # configure might choose to run compile as 'compile cc -o foo foo.c'.
98 eat=1
99 case $2 in
100 *.o | *.[oO][bB][jJ])
101 func_file_conv "$2"
102 set x "$@" -Fo"$file"
103 shift
104 ;;
105 *)
106 func_file_conv "$2"
107 set x "$@" -Fe"$file"
108 shift
109 ;;
110 esac
111 ;;
112 -I*)
113 func_file_conv "${1#-I}" mingw
114 set x "$@" -I"$file"
115 shift
116 ;;
117 -l*)
118 lib=${1#-l}
119 found=no
120 save_IFS=$IFS
121 IFS=';'
122 for dir in $lib_path $LIB
123 do
124 IFS=$save_IFS
125 if $shared && test -f "$dir/$lib.dll.lib"; then
126 found=yes
127 set x "$@" "$dir/$lib.dll.lib"
128 break
129 fi
130 if test -f "$dir/$lib.lib"; then
131 found=yes
132 set x "$@" "$dir/$lib.lib"
133 break
134 fi
135 done
136 IFS=$save_IFS
137
138 test "$found" != yes && set x "$@" "$lib.lib"
139 shift
140 ;;
141 -L*)
142 func_file_conv "${1#-L}"
143 if test -z "$lib_path"; then
144 lib_path=$file
145 else
146 lib_path="$lib_path;$file"
147 fi
148 linker_opts="$linker_opts -LIBPATH:$file"
149 ;;
150 -static)
151 shared=false
152 ;;
153 -Wl,*)
154 arg=${1#-Wl,}
155 save_ifs="$IFS"; IFS=','
156 for flag in $arg; do
157 IFS="$save_ifs"
158 linker_opts="$linker_opts $flag"
159 done
160 IFS="$save_ifs"
161 ;;
162 -Xlinker)
163 eat=1
164 linker_opts="$linker_opts $2"
165 ;;
166 -*)
167 set x "$@" "$1"
168 shift
169 ;;
170 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
171 func_file_conv "$1"
172 set x "$@" -Tp"$file"
173 shift
174 ;;
175 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
176 func_file_conv "$1" mingw
177 set x "$@" "$file"
178 shift
179 ;;
180 *)
181 set x "$@" "$1"
182 shift
183 ;;
184 esac
185 fi
186 shift
187 done
188 if test -n "$linker_opts"; then
189 linker_opts="-link$linker_opts"
190 fi
191 exec "$@" $linker_opts
192 exit 1
193}
194
195eat=
196
32case $1 in197case $1 in
33 '')198 '')
34 echo "$0: No command. Try \`$0 --help' for more information." 1>&2199 echo "$0: No command. Try '$0 --help' for more information." 1>&2
35 exit 1;200 exit 1;
36 ;;201 ;;
37 -h | --h*)202 -h | --h*)
38 cat <<\EOF203 cat <<\EOF
39Usage: compile [--help] [--version] PROGRAM [ARGS]204Usage: compile [--help] [--version] PROGRAM [ARGS]
40205
41Wrapper for compilers which do not understand `-c -o'.206Wrapper for compilers which do not understand '-c -o'.
42Remove `-o dest.o' from ARGS, run PROGRAM with the remaining207Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
43arguments, and rename the output as expected.208arguments, and rename the output as expected.
44209
45If you are trying to build a whole package this is not the210If you are trying to build a whole package this is not the
46right script to run: please start by reading the file `INSTALL'.211right script to run: please start by reading the file 'INSTALL'.
47212
48Report bugs to <bug-automake@gnu.org>.213Report bugs to <bug-automake@gnu.org>.
49EOF214EOF
@@ -53,11 +218,13 @@
53 echo "compile $scriptversion"218 echo "compile $scriptversion"
54 exit $?219 exit $?
55 ;;220 ;;
221 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
222 func_cl_wrapper "$@" # Doesn't return...
223 ;;
56esac224esac
57225
58ofile=226ofile=
59cfile=227cfile=
60eat=
61228
62for arg229for arg
63do230do
@@ -66,8 +233,8 @@
66 else233 else
67 case $1 in234 case $1 in
68 -o)235 -o)
69 # configure might choose to run compile as `compile cc -o foo foo.c'.236 # configure might choose to run compile as 'compile cc -o foo foo.c'.
70 # So we strip `-o arg' only if arg is an object.237 # So we strip '-o arg' only if arg is an object.
71 eat=1238 eat=1
72 case $2 in239 case $2 in
73 *.o | *.obj)240 *.o | *.obj)
@@ -94,10 +261,10 @@
94done261done
95262
96if test -z "$ofile" || test -z "$cfile"; then263if test -z "$ofile" || test -z "$cfile"; then
97 # If no `-o' option was seen then we might have been invoked from a264 # If no '-o' option was seen then we might have been invoked from a
98 # pattern rule where we don't need one. That is ok -- this is a265 # pattern rule where we don't need one. That is ok -- this is a
99 # normal compilation that the losing compiler can handle. If no266 # normal compilation that the losing compiler can handle. If no
100 # `.c' file was seen then we are probably linking. That is also267 # '.c' file was seen then we are probably linking. That is also
101 # ok.268 # ok.
102 exec "$@"269 exec "$@"
103fi270fi
@@ -106,7 +273,7 @@
106cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`273cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
107274
108# Create the lock directory.275# Create the lock directory.
109# Note: use `[/\\:.-]' here to ensure that we don't use the same name276# Note: use '[/\\:.-]' here to ensure that we don't use the same name
110# that we are using for the .o file. Also, base the name on the expected277# that we are using for the .o file. Also, base the name on the expected
111# object file name, since that is what matters with a parallel build.278# object file name, since that is what matters with a parallel build.
112lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d279lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
113280
=== modified file 'build-aux/depcomp'
--- build-aux/depcomp 2011-07-07 18:12:06 +0000
+++ build-aux/depcomp 2012-02-14 22:32:23 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# depcomp - compile a program generating dependencies as side-effects2# depcomp - compile a program generating dependencies as side-effects
33
4scriptversion=2009-04-28.21; # UTC4scriptversion=2011-12-04.11; # UTC
55
6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
7# Software Foundation, Inc.7# 2011 Free Software Foundation, Inc.
88
9# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by10# it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@
44 object Object file output by `PROGRAMS ARGS'.44 object Object file output by `PROGRAMS ARGS'.
45 DEPDIR directory where to store dependencies.45 DEPDIR directory where to store dependencies.
46 depfile Dependency file to output.46 depfile Dependency file to output.
47 tmpdepfile Temporary file to use when outputing dependencies.47 tmpdepfile Temporary file to use when outputting dependencies.
48 libtool Whether libtool is used (yes/no).48 libtool Whether libtool is used (yes/no).
4949
50Report bugs to <bug-automake@gnu.org>.50Report bugs to <bug-automake@gnu.org>.
@@ -90,10 +90,18 @@
90 # This is just like msvisualcpp but w/o cygpath translation.90 # This is just like msvisualcpp but w/o cygpath translation.
91 # Just convert the backslash-escaped backslashes to single forward91 # Just convert the backslash-escaped backslashes to single forward
92 # slashes to satisfy depend.m492 # slashes to satisfy depend.m4
93 cygpath_u="sed s,\\\\\\\\,/,g"93 cygpath_u='sed s,\\\\,/,g'
94 depmode=msvisualcpp94 depmode=msvisualcpp
95fi95fi
9696
97if test "$depmode" = msvc7msys; then
98 # This is just like msvc7 but w/o cygpath translation.
99 # Just convert the backslash-escaped backslashes to single forward
100 # slashes to satisfy depend.m4
101 cygpath_u='sed s,\\\\,/,g'
102 depmode=msvc7
103fi
104
97case "$depmode" in105case "$depmode" in
98gcc3)106gcc3)
99## gcc 3 implements dependency tracking that does exactly what107## gcc 3 implements dependency tracking that does exactly what
@@ -158,10 +166,12 @@
158' < "$tmpdepfile" |166' < "$tmpdepfile" |
159## Some versions of gcc put a space before the `:'. On the theory167## Some versions of gcc put a space before the `:'. On the theory
160## that the space means something, we add a space to the output as168## that the space means something, we add a space to the output as
161## well.169## well. hp depmode also adds that space, but also prefixes the VPATH
170## to the object. Take care to not repeat it in the output.
162## Some versions of the HPUX 10.20 sed can't process this invocation171## Some versions of the HPUX 10.20 sed can't process this invocation
163## correctly. Breaking it into two sed invocations is a workaround.172## correctly. Breaking it into two sed invocations is a workaround.
164 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"173 sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
174 | sed -e 's/$/ :/' >> "$depfile"
165 rm -f "$tmpdepfile"175 rm -f "$tmpdepfile"
166 ;;176 ;;
167177
@@ -405,6 +415,52 @@
405 rm -f "$tmpdepfile"415 rm -f "$tmpdepfile"
406 ;;416 ;;
407417
418msvc7)
419 if test "$libtool" = yes; then
420 showIncludes=-Wc,-showIncludes
421 else
422 showIncludes=-showIncludes
423 fi
424 "$@" $showIncludes > "$tmpdepfile"
425 stat=$?
426 grep -v '^Note: including file: ' "$tmpdepfile"
427 if test "$stat" = 0; then :
428 else
429 rm -f "$tmpdepfile"
430 exit $stat
431 fi
432 rm -f "$depfile"
433 echo "$object : \\" > "$depfile"
434 # The first sed program below extracts the file names and escapes
435 # backslashes for cygpath. The second sed program outputs the file
436 # name when reading, but also accumulates all include files in the
437 # hold buffer in order to output them again at the end. This only
438 # works with sed implementations that can handle large buffers.
439 sed < "$tmpdepfile" -n '
440/^Note: including file: *\(.*\)/ {
441 s//\1/
442 s/\\/\\\\/g
443 p
444}' | $cygpath_u | sort -u | sed -n '
445s/ /\\ /g
446s/\(.*\)/ \1 \\/p
447s/.\(.*\) \\/\1:/
448H
449$ {
450 s/.*/ /
451 G
452 p
453}' >> "$depfile"
454 rm -f "$tmpdepfile"
455 ;;
456
457msvc7msys)
458 # This case exists only to let depend.m4 do its work. It works by
459 # looking at the text of this script. This case will never be run,
460 # since it is checked for above.
461 exit 1
462 ;;
463
408#nosideeffect)464#nosideeffect)
409 # This comment above is used by automake to tell side-effect465 # This comment above is used by automake to tell side-effect
410 # dependency tracking mechanisms from slower ones.466 # dependency tracking mechanisms from slower ones.
@@ -503,7 +559,9 @@
503 touch "$tmpdepfile"559 touch "$tmpdepfile"
504 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"560 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
505 rm -f "$depfile"561 rm -f "$depfile"
506 cat < "$tmpdepfile" > "$depfile"562 # makedepend may prepend the VPATH from the source file name to the object.
563 # No need to regex-escape $object, excess matching of '.' is harmless.
564 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
507 sed '1,2d' "$tmpdepfile" | tr ' ' '565 sed '1,2d' "$tmpdepfile" | tr ' ' '
508' | \566' | \
509## Some versions of the HPUX 10.20 sed can't process this invocation567## Some versions of the HPUX 10.20 sed can't process this invocation
510568
=== modified file 'build-aux/install-sh'
--- build-aux/install-sh 2011-07-07 18:12:06 +0000
+++ build-aux/install-sh 2012-02-14 22:32:23 +0000
@@ -1,7 +1,7 @@
1#!/bin/sh1#!/bin/sh
2# install - install a program, script, or datafile2# install - install a program, script, or datafile
33
4scriptversion=2009-04-28.21; # UTC4scriptversion=2011-01-19.21; # UTC
55
6# This originates from X11R5 (mit/util/scripts/install.sh), which was6# This originates from X11R5 (mit/util/scripts/install.sh), which was
7# later released in X11R6 (xc/config/util/install.sh) with the7# later released in X11R6 (xc/config/util/install.sh) with the
@@ -156,6 +156,10 @@
156 -s) stripcmd=$stripprog;;156 -s) stripcmd=$stripprog;;
157157
158 -t) dst_arg=$2158 -t) dst_arg=$2
159 # Protect names problematic for `test' and other utilities.
160 case $dst_arg in
161 -* | [=\(\)!]) dst_arg=./$dst_arg;;
162 esac
159 shift;;163 shift;;
160164
161 -T) no_target_directory=true;;165 -T) no_target_directory=true;;
@@ -186,6 +190,10 @@
186 fi190 fi
187 shift # arg191 shift # arg
188 dst_arg=$arg192 dst_arg=$arg
193 # Protect names problematic for `test' and other utilities.
194 case $dst_arg in
195 -* | [=\(\)!]) dst_arg=./$dst_arg;;
196 esac
189 done197 done
190fi198fi
191199
@@ -200,7 +208,11 @@
200fi208fi
201209
202if test -z "$dir_arg"; then210if test -z "$dir_arg"; then
203 trap '(exit $?); exit' 1 2 13 15211 do_exit='(exit $ret); exit $ret'
212 trap "ret=129; $do_exit" 1
213 trap "ret=130; $do_exit" 2
214 trap "ret=141; $do_exit" 13
215 trap "ret=143; $do_exit" 15
204216
205 # Set umask so as not to create temps with too-generous modes.217 # Set umask so as not to create temps with too-generous modes.
206 # However, 'strip' requires both read and write access to temps.218 # However, 'strip' requires both read and write access to temps.
@@ -228,9 +240,9 @@
228240
229for src241for src
230do242do
231 # Protect names starting with `-'.243 # Protect names problematic for `test' and other utilities.
232 case $src in244 case $src in
233 -*) src=./$src;;245 -* | [=\(\)!]) src=./$src;;
234 esac246 esac
235247
236 if test -n "$dir_arg"; then248 if test -n "$dir_arg"; then
@@ -252,12 +264,7 @@
252 echo "$0: no destination specified." >&2264 echo "$0: no destination specified." >&2
253 exit 1265 exit 1
254 fi266 fi
255
256 dst=$dst_arg267 dst=$dst_arg
257 # Protect names starting with `-'.
258 case $dst in
259 -*) dst=./$dst;;
260 esac
261268
262 # If destination is a directory, append the input filename; won't work269 # If destination is a directory, append the input filename; won't work
263 # if double slashes aren't ignored.270 # if double slashes aren't ignored.
@@ -385,7 +392,7 @@
385392
386 case $dstdir in393 case $dstdir in
387 /*) prefix='/';;394 /*) prefix='/';;
388 -*) prefix='./';;395 [-=\(\)!]*) prefix='./';;
389 *) prefix='';;396 *) prefix='';;
390 esac397 esac
391398
@@ -403,7 +410,7 @@
403410
404 for d411 for d
405 do412 do
406 test -z "$d" && continue413 test X"$d" = X && continue
407414
408 prefix=$prefix$d415 prefix=$prefix$d
409 if test -d "$prefix"; then416 if test -d "$prefix"; then
410417
=== modified file 'build-aux/ltmain.sh' (properties changed: +x to -x)
--- build-aux/ltmain.sh 2011-07-07 18:12:06 +0000
+++ build-aux/ltmain.sh 2012-02-14 22:32:23 +0000
@@ -1,9 +1,9 @@
11
2# libtool (GNU libtool) 2.42# libtool (GNU libtool) 2.4.2
3# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 19963# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
5# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,5# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.6# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
7# This is free software; see the source for copying conditions. There is NO7# This is free software; see the source for copying conditions. There is NO
8# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.8# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
99
@@ -41,6 +41,7 @@
41# --quiet, --silent don't print informational messages41# --quiet, --silent don't print informational messages
42# --no-quiet, --no-silent42# --no-quiet, --no-silent
43# print informational messages (default)43# print informational messages (default)
44# --no-warn don't display warning messages
44# --tag=TAG use configuration variables from tag TAG45# --tag=TAG use configuration variables from tag TAG
45# -v, --verbose print more informational messages than default46# -v, --verbose print more informational messages than default
46# --no-verbose don't print the extra informational messages47# --no-verbose don't print the extra informational messages
@@ -69,7 +70,7 @@
69# compiler: $LTCC70# compiler: $LTCC
70# compiler flags: $LTCFLAGS71# compiler flags: $LTCFLAGS
71# linker: $LD (gnu? $with_gnu_ld)72# linker: $LD (gnu? $with_gnu_ld)
72# $progname: (GNU libtool) 2.4 Debian-2.4-2ubuntu173# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
73# automake: $automake_version74# automake: $automake_version
74# autoconf: $autoconf_version75# autoconf: $autoconf_version
75#76#
@@ -79,9 +80,9 @@
7980
80PROGRAM=libtool81PROGRAM=libtool
81PACKAGE=libtool82PACKAGE=libtool
82VERSION="2.4 Debian-2.4-2ubuntu1"83VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
83TIMESTAMP=""84TIMESTAMP=""
84package_revision=1.329385package_revision=1.3337
8586
86# Be Bourne compatible87# Be Bourne compatible
87if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then88if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -136,15 +137,10 @@
136137
137: ${CP="cp -f"}138: ${CP="cp -f"}
138test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}139test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
139: ${EGREP="/bin/grep -E"}
140: ${FGREP="/bin/grep -F"}
141: ${GREP="/bin/grep"}
142: ${LN_S="ln -s"}
143: ${MAKE="make"}140: ${MAKE="make"}
144: ${MKDIR="mkdir"}141: ${MKDIR="mkdir"}
145: ${MV="mv -f"}142: ${MV="mv -f"}
146: ${RM="rm -f"}143: ${RM="rm -f"}
147: ${SED="/bin/sed"}
148: ${SHELL="${CONFIG_SHELL-/bin/sh}"}144: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
149: ${Xsed="$SED -e 1s/^X//"}145: ${Xsed="$SED -e 1s/^X//"}
150146
@@ -387,7 +383,7 @@
387 ;;383 ;;
388 *)384 *)
389 save_IFS="$IFS"385 save_IFS="$IFS"
390 IFS=:386 IFS=${PATH_SEPARATOR-:}
391 for progdir in $PATH; do387 for progdir in $PATH; do
392 IFS="$save_IFS"388 IFS="$save_IFS"
393 test -x "$progdir/$progname" && break389 test -x "$progdir/$progname" && break
@@ -771,8 +767,8 @@
771 s*\$LTCFLAGS*'"$LTCFLAGS"'*767 s*\$LTCFLAGS*'"$LTCFLAGS"'*
772 s*\$LD*'"$LD"'*768 s*\$LD*'"$LD"'*
773 s/\$with_gnu_ld/'"$with_gnu_ld"'/769 s/\$with_gnu_ld/'"$with_gnu_ld"'/
774 s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/770 s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
775 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/771 s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
776 p772 p
777 d773 d
778 }774 }
@@ -1052,6 +1048,7 @@
1052opt_help=false1048opt_help=false
1053opt_help_all=false1049opt_help_all=false
1054opt_silent=:1050opt_silent=:
1051opt_warning=:
1055opt_verbose=:1052opt_verbose=:
1056opt_silent=false1053opt_silent=false
1057opt_verbose=false1054opt_verbose=false
@@ -1120,6 +1117,10 @@
1120 opt_silent=false1117 opt_silent=false
1121func_append preserve_args " $opt"1118func_append preserve_args " $opt"
1122 ;;1119 ;;
1120 --no-warning|--no-warn)
1121 opt_warning=false
1122func_append preserve_args " $opt"
1123 ;;
1123 --no-verbose)1124 --no-verbose)
1124 opt_verbose=false1125 opt_verbose=false
1125func_append preserve_args " $opt"1126func_append preserve_args " $opt"
@@ -2059,7 +2060,7 @@
2059 *.[cCFSifmso] | \2060 *.[cCFSifmso] | \
2060 *.ada | *.adb | *.ads | *.asm | \2061 *.ada | *.adb | *.ads | *.asm | \
2061 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \2062 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
2062 *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)2063 *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
2063 func_xform "$libobj"2064 func_xform "$libobj"
2064 libobj=$func_xform_result2065 libobj=$func_xform_result
2065 ;;2066 ;;
@@ -3201,11 +3202,13 @@
32013202
3202 # Set up the ranlib parameters.3203 # Set up the ranlib parameters.
3203 oldlib="$destdir/$name"3204 oldlib="$destdir/$name"
3205 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
3206 tool_oldlib=$func_to_tool_file_result
32043207
3205 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'3208 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
32063209
3207 if test -n "$stripme" && test -n "$old_striplib"; then3210 if test -n "$stripme" && test -n "$old_striplib"; then
3208 func_show_eval "$old_striplib $oldlib" 'exit $?'3211 func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
3209 fi3212 fi
32103213
3211 # Do each command in the postinstall commands.3214 # Do each command in the postinstall commands.
@@ -3470,7 +3473,7 @@
3470 # linked before any other PIC object. But we must not use3473 # linked before any other PIC object. But we must not use
3471 # pic_flag when linking with -static. The problem exists in3474 # pic_flag when linking with -static. The problem exists in
3472 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.3475 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
3473 *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)3476 *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
3474 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;3477 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
3475 *-*-hpux*)3478 *-*-hpux*)
3476 pic_flag_for_symtable=" $pic_flag" ;;3479 pic_flag_for_symtable=" $pic_flag" ;;
@@ -3982,14 +3985,17 @@
3982# launches target application with the remaining arguments.3985# launches target application with the remaining arguments.
3983func_exec_program ()3986func_exec_program ()
3984{3987{
3985 for lt_wr_arg3988 case \" \$* \" in
3986 do3989 *\\ --lt-*)
3987 case \$lt_wr_arg in3990 for lt_wr_arg
3988 --lt-*) ;;3991 do
3989 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;3992 case \$lt_wr_arg in
3990 esac3993 --lt-*) ;;
3991 shift3994 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
3992 done3995 esac
3996 shift
3997 done ;;
3998 esac
3993 func_exec_program_core \${1+\"\$@\"}3999 func_exec_program_core \${1+\"\$@\"}
3994}4000}
39954001
@@ -5057,9 +5063,15 @@
5057{5063{
5058EOF5064EOF
5059 func_emit_wrapper yes |5065 func_emit_wrapper yes |
5060 $SED -e 's/\([\\"]\)/\\\1/g' \5066 $SED -n -e '
5061 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'5067s/^\(.\{79\}\)\(..*\)/\1\
50625068\2/
5069h
5070s/\([\\"]\)/\\\1/g
5071s/$/\\n/
5072s/\([^\n]*\).*/ fputs ("\1", f);/p
5073g
5074D'
5063 cat <<"EOF"5075 cat <<"EOF"
5064}5076}
5065EOF5077EOF
@@ -5643,7 +5655,8 @@
5643 continue5655 continue
5644 ;;5656 ;;
56455657
5646 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)5658 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
5659 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
5647 func_append compiler_flags " $arg"5660 func_append compiler_flags " $arg"
5648 func_append compile_command " $arg"5661 func_append compile_command " $arg"
5649 func_append finalize_command " $arg"5662 func_append finalize_command " $arg"
@@ -6150,7 +6163,8 @@
6150 lib=6163 lib=
6151 found=no6164 found=no
6152 case $deplib in6165 case $deplib in
6153 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)6166 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
6167 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
6154 if test "$linkmode,$pass" = "prog,link"; then6168 if test "$linkmode,$pass" = "prog,link"; then
6155 compile_deplibs="$deplib $compile_deplibs"6169 compile_deplibs="$deplib $compile_deplibs"
6156 finalize_deplibs="$deplib $finalize_deplibs"6170 finalize_deplibs="$deplib $finalize_deplibs"
@@ -6834,7 +6848,7 @@
6834 test "$hardcode_direct_absolute" = no; then6848 test "$hardcode_direct_absolute" = no; then
6835 add="$dir/$linklib"6849 add="$dir/$linklib"
6836 elif test "$hardcode_minus_L" = yes; then6850 elif test "$hardcode_minus_L" = yes; then
6837 add_dir="-L$dir"6851 add_dir="-L$absdir"
6838 # Try looking first in the location we're being installed to.6852 # Try looking first in the location we're being installed to.
6839 if test -n "$inst_prefix_dir"; then6853 if test -n "$inst_prefix_dir"; then
6840 case $libdir in6854 case $libdir in
@@ -7319,6 +7333,7 @@
7319 # which has an extra 1 added just for fun7333 # which has an extra 1 added just for fun
7320 #7334 #
7321 case $version_type in7335 case $version_type in
7336 # correct linux to gnu/linux during the next big refactor
7322 darwin|linux|osf|windows|none)7337 darwin|linux|osf|windows|none)
7323 func_arith $number_major + $number_minor7338 func_arith $number_major + $number_minor
7324 current=$func_arith_result7339 current=$func_arith_result
@@ -7438,7 +7453,7 @@
7438 versuffix="$major.$revision"7453 versuffix="$major.$revision"
7439 ;;7454 ;;
74407455
7441 linux)7456 linux) # correct to gnu/linux during the next big refactor
7442 func_arith $current - $age7457 func_arith $current - $age
7443 major=.$func_arith_result7458 major=.$func_arith_result
7444 versuffix="$major.$age.$revision"7459 versuffix="$major.$age.$revision"
@@ -8026,6 +8041,11 @@
80268041
8027 # Test again, we may have decided not to build it any more8042 # Test again, we may have decided not to build it any more
8028 if test "$build_libtool_libs" = yes; then8043 if test "$build_libtool_libs" = yes; then
8044 # Remove ${wl} instances when linking with ld.
8045 # FIXME: should test the right _cmds variable.
8046 case $archive_cmds in
8047 *\$LD\ *) wl= ;;
8048 esac
8029 if test "$hardcode_into_libs" = yes; then8049 if test "$hardcode_into_libs" = yes; then
8030 # Hardcode the library paths8050 # Hardcode the library paths
8031 hardcode_libdirs=8051 hardcode_libdirs=
@@ -8056,7 +8076,7 @@
8056 elif test -n "$runpath_var"; then8076 elif test -n "$runpath_var"; then
8057 case "$perm_rpath " in8077 case "$perm_rpath " in
8058 *" $libdir "*) ;;8078 *" $libdir "*) ;;
8059 *) func_apped perm_rpath " $libdir" ;;8079 *) func_append perm_rpath " $libdir" ;;
8060 esac8080 esac
8061 fi8081 fi
8062 done8082 done
@@ -8064,11 +8084,7 @@
8064 if test -n "$hardcode_libdir_separator" &&8084 if test -n "$hardcode_libdir_separator" &&
8065 test -n "$hardcode_libdirs"; then8085 test -n "$hardcode_libdirs"; then
8066 libdir="$hardcode_libdirs"8086 libdir="$hardcode_libdirs"
8067 if test -n "$hardcode_libdir_flag_spec_ld"; then8087 eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
8068 eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
8069 else
8070 eval dep_rpath=\"$hardcode_libdir_flag_spec\"
8071 fi
8072 fi8088 fi
8073 if test -n "$runpath_var" && test -n "$perm_rpath"; then8089 if test -n "$runpath_var" && test -n "$perm_rpath"; then
8074 # We should set the runpath_var.8090 # We should set the runpath_var.
@@ -9158,6 +9174,8 @@
9158 esac9174 esac
9159 done9175 done
9160 fi9176 fi
9177 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
9178 tool_oldlib=$func_to_tool_file_result
9161 eval cmds=\"$old_archive_cmds\"9179 eval cmds=\"$old_archive_cmds\"
91629180
9163 func_len " $cmds"9181 func_len " $cmds"
@@ -9267,7 +9285,8 @@
9267 *.la)9285 *.la)
9268 func_basename "$deplib"9286 func_basename "$deplib"
9269 name="$func_basename_result"9287 name="$func_basename_result"
9270 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`9288 func_resolve_sysroot "$deplib"
9289 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
9271 test -z "$libdir" && \9290 test -z "$libdir" && \
9272 func_fatal_error "\`$deplib' is not a valid libtool archive"9291 func_fatal_error "\`$deplib' is not a valid libtool archive"
9273 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"9292 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
92749293
=== modified file 'build-aux/missing'
--- build-aux/missing 2011-07-07 18:12:06 +0000
+++ build-aux/missing 2012-02-14 22:32:23 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Common stub for a few missing GNU programs while installing.2# Common stub for a few missing GNU programs while installing.
33
4scriptversion=2009-04-28.21; # UTC4scriptversion=2012-01-06.13; # UTC
55
6# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,6# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7# 2008, 2009 Free Software Foundation, Inc.7# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.8# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
99
10# This program is free software; you can redistribute it and/or modify10# This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@
84 help2man touch the output file84 help2man touch the output file
85 lex create \`lex.yy.c', if possible, from existing .c85 lex create \`lex.yy.c', if possible, from existing .c
86 makeinfo touch the output file86 makeinfo touch the output file
87 tar try tar, gnutar, gtar, then tar without non-portable flags
88 yacc create \`y.tab.[ch]', if possible, from existing .[ch]87 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
8988
90Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and89Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@
122 # Not GNU programs, they don't have --version.121 # Not GNU programs, they don't have --version.
123 ;;122 ;;
124123
125 tar*)
126 if test -n "$run"; then
127 echo 1>&2 "ERROR: \`tar' requires --run"
128 exit 1
129 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
130 exit 1
131 fi
132 ;;
133
134 *)124 *)
135 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then125 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
136 # We have it, but it failed.126 # We have it, but it failed.
@@ -226,7 +216,7 @@
226 \`Bison' from any GNU archive site."216 \`Bison' from any GNU archive site."
227 rm -f y.tab.c y.tab.h217 rm -f y.tab.c y.tab.h
228 if test $# -ne 1; then218 if test $# -ne 1; then
229 eval LASTARG="\${$#}"219 eval LASTARG=\${$#}
230 case $LASTARG in220 case $LASTARG in
231 *.y)221 *.y)
232 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`222 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@
256 \`Flex' from any GNU archive site."246 \`Flex' from any GNU archive site."
257 rm -f lex.yy.c247 rm -f lex.yy.c
258 if test $# -ne 1; then248 if test $# -ne 1; then
259 eval LASTARG="\${$#}"249 eval LASTARG=\${$#}
260 case $LASTARG in250 case $LASTARG in
261 *.l)251 *.l)
262 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`252 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@
318 touch $file308 touch $file
319 ;;309 ;;
320310
321 tar*)
322 shift
323
324 # We have already tried tar in the generic part.
325 # Look for gnutar/gtar before invocation to avoid ugly error
326 # messages.
327 if (gnutar --version > /dev/null 2>&1); then
328 gnutar "$@" && exit 0
329 fi
330 if (gtar --version > /dev/null 2>&1); then
331 gtar "$@" && exit 0
332 fi
333 firstarg="$1"
334 if shift; then
335 case $firstarg in
336 *o*)
337 firstarg=`echo "$firstarg" | sed s/o//`
338 tar "$firstarg" "$@" && exit 0
339 ;;
340 esac
341 case $firstarg in
342 *h*)
343 firstarg=`echo "$firstarg" | sed s/h//`
344 tar "$firstarg" "$@" && exit 0
345 ;;
346 esac
347 fi
348
349 echo 1>&2 "\
350WARNING: I can't seem to be able to run \`tar' with the given arguments.
351 You may want to install GNU tar or Free paxutils, or check the
352 command line arguments."
353 exit 1
354 ;;
355
356 *)311 *)
357 echo 1>&2 "\312 echo 1>&2 "\
358WARNING: \`$1' is needed, and is $msg.313WARNING: \`$1' is needed, and is $msg.
359314
=== modified file 'configure'
--- configure 2011-10-24 15:07:53 +0000
+++ configure 2012-02-14 22:32:23 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for indicator-power 0.10.3# Generated by GNU Autoconf 2.68 for indicator-power 1.90.
4#4#
5# Report bugs to <http://bugs.launchpad.net/indicator-power>.5# Report bugs to <http://bugs.launchpad.net/indicator-power>.
6#6#
@@ -570,8 +570,8 @@
570# Identity of this package.570# Identity of this package.
571PACKAGE_NAME='indicator-power'571PACKAGE_NAME='indicator-power'
572PACKAGE_TARNAME='indicator-power'572PACKAGE_TARNAME='indicator-power'
573PACKAGE_VERSION='0.10'573PACKAGE_VERSION='1.90'
574PACKAGE_STRING='indicator-power 0.10'574PACKAGE_STRING='indicator-power 1.90'
575PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-power'575PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-power'
576PACKAGE_URL='http://launchpad.net/indicator-power'576PACKAGE_URL='http://launchpad.net/indicator-power'
577577
@@ -656,12 +656,25 @@
656INTLTOOL_KEYS_RULE656INTLTOOL_KEYS_RULE
657INTLTOOL_DIRECTORY_RULE657INTLTOOL_DIRECTORY_RULE
658INTLTOOL_DESKTOP_RULE658INTLTOOL_DESKTOP_RULE
659intltool__v_merge_options_0
660intltool__v_merge_options_
661INTLTOOL_V_MERGE_OPTIONS
662INTLTOOL__v_MERGE_0
663INTLTOOL__v_MERGE_
664INTLTOOL_V_MERGE
659INTLTOOL_EXTRACT665INTLTOOL_EXTRACT
660INTLTOOL_MERGE666INTLTOOL_MERGE
661INTLTOOL_UPDATE667INTLTOOL_UPDATE
662USE_NLS668USE_NLS
663INDICATORICONSDIR669INDICATORICONSDIR
664INDICATORDIR670INDICATORDIR
671COVERAGE_LDFLAGS
672COVERAGE_CXXFLAGS
673COVERAGE_CFLAGS
674GCOVR
675GENHTML
676LCOV
677SHTOOL
665GSETTINGS_RULES678GSETTINGS_RULES
666GLIB_COMPILE_SCHEMAS679GLIB_COMPILE_SCHEMAS
667gsettingsschemadir680gsettingsschemadir
@@ -708,6 +721,7 @@
708am__fastdepCC_FALSE721am__fastdepCC_FALSE
709am__fastdepCC_TRUE722am__fastdepCC_TRUE
710CCDEPMODE723CCDEPMODE
724am__nodep
711AMDEPBACKSLASH725AMDEPBACKSLASH
712AMDEP_FALSE726AMDEP_FALSE
713AMDEP_TRUE727AMDEP_TRUE
@@ -723,6 +737,8 @@
723CC737CC
724AM_BACKSLASH738AM_BACKSLASH
725AM_DEFAULT_VERBOSITY739AM_DEFAULT_VERBOSITY
740AM_DEFAULT_V
741AM_V
726MAINT742MAINT
727MAINTAINER_MODE_FALSE743MAINTAINER_MODE_FALSE
728MAINTAINER_MODE_TRUE744MAINTAINER_MODE_TRUE
@@ -801,6 +817,7 @@
801with_sysroot817with_sysroot
802enable_libtool_lock818enable_libtool_lock
803enable_schemas_compile819enable_schemas_compile
820enable_gcov
804enable_localinstall821enable_localinstall
805enable_nls822enable_nls
806enable_rpath823enable_rpath
@@ -1367,7 +1384,7 @@
1367 # Omit some internal or obsolete options to make the list less imposing.1384 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.1385 # This message is too long to be a string in the A/UX 3.1 sh.
1369 cat <<_ACEOF1386 cat <<_ACEOF
1370\`configure' configures indicator-power 0.10 to adapt to many kinds of systems.1387\`configure' configures indicator-power 1.90 to adapt to many kinds of systems.
13711388
1372Usage: $0 [OPTION]... [VAR=VALUE]...1389Usage: $0 [OPTION]... [VAR=VALUE]...
13731390
@@ -1437,7 +1454,7 @@
14371454
1438if test -n "$ac_init_help"; then1455if test -n "$ac_init_help"; then
1439 case $ac_init_help in1456 case $ac_init_help in
1440 short | recursive ) echo "Configuration of indicator-power 0.10:";;1457 short | recursive ) echo "Configuration of indicator-power 1.90:";;
1441 esac1458 esac
1442 cat <<\_ACEOF1459 cat <<\_ACEOF
14431460
@@ -1458,6 +1475,7 @@
1458 --disable-libtool-lock avoid locking (might break parallel builds)1475 --disable-libtool-lock avoid locking (might break parallel builds)
1459 --disable-schemas-compile1476 --disable-schemas-compile
1460 Disable regeneration of gschemas.compiled on install1477 Disable regeneration of gschemas.compiled on install
1478 --enable-gcov enable coverage testing with gcov
1461 --enable-localinstall install all of the files localy instead of system1479 --enable-localinstall install all of the files localy instead of system
1462 directories (for distcheck)1480 directories (for distcheck)
1463 --disable-nls do not use Native Language Support1481 --disable-nls do not use Native Language Support
@@ -1466,7 +1484,7 @@
1466Optional Packages:1484Optional Packages:
1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469 --with-pic try to use only PIC/non-PIC objects [default=use1487 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1470 both]1488 both]
1471 --with-gnu-ld assume the C compiler uses GNU ld [default=no]1489 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1472 --with-sysroot=DIR Search for dependent libraries within DIR1490 --with-sysroot=DIR Search for dependent libraries within DIR
@@ -1568,7 +1586,7 @@
1568test -n "$ac_init_help" && exit $ac_status1586test -n "$ac_init_help" && exit $ac_status
1569if $ac_init_version; then1587if $ac_init_version; then
1570 cat <<\_ACEOF1588 cat <<\_ACEOF
1571indicator-power configure 0.101589indicator-power configure 1.90
1572generated by GNU Autoconf 2.681590generated by GNU Autoconf 2.68
15731591
1574Copyright (C) 2010 Free Software Foundation, Inc.1592Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1846,7 +1864,7 @@
1846This file contains any messages produced by compilers while1864This file contains any messages produced by compilers while
1847running configure, to aid debugging if configure makes a mistake.1865running configure, to aid debugging if configure makes a mistake.
18481866
1849It was created by indicator-power $as_me 0.10, which was1867It was created by indicator-power $as_me 1.90, which was
1850generated by GNU Autoconf 2.68. Invocation command line was1868generated by GNU Autoconf 2.68. Invocation command line was
18511869
1852 $ $0 $@1870 $ $0 $@
@@ -2670,7 +2688,7 @@
26702688
2671# Define the identity of the package.2689# Define the identity of the package.
2672 PACKAGE='indicator-power'2690 PACKAGE='indicator-power'
2673 VERSION='0.10'2691 VERSION='1.90'
26742692
26752693
2676cat >>confdefs.h <<_ACEOF2694cat >>confdefs.h <<_ACEOF
@@ -2700,19 +2718,19 @@
27002718
2701# We need awk for the "check" target. The system "awk" is bad on2719# We need awk for the "check" target. The system "awk" is bad on
2702# some platforms.2720# some platforms.
2703# Always define AMTAR for backward compatibility.2721# Always define AMTAR for backward compatibility. Yes, it's still used
27042722# in the wild :-( We should find a proper way to deprecate it ...
2705AMTAR=${AMTAR-"${am_missing_run}tar"}2723AMTAR='$${TAR-tar}'
27062724
2707am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'2725am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
27082726
27092727
27102728
27112729
27122730
27132731
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&52732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2715$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }2733$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2716 # Check whether --enable-maintainer-mode was given.2734 # Check whether --enable-maintainer-mode was given.
2717if test "${enable_maintainer_mode+set}" = set; then :2735if test "${enable_maintainer_mode+set}" = set; then :
2718 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval2736 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
@@ -2744,6 +2762,33 @@
2744no) AM_DEFAULT_VERBOSITY=1;;2762no) AM_DEFAULT_VERBOSITY=1;;
2745*) AM_DEFAULT_VERBOSITY=0;;2763*) AM_DEFAULT_VERBOSITY=0;;
2746esac2764esac
2765am_make=${MAKE-make}
2766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2767$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2768if ${am_cv_make_support_nested_variables+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770else
2771 if $as_echo 'TRUE=$(BAR$(V))
2772BAR0=false
2773BAR1=true
2774V=1
2775am__doit:
2776 @$(TRUE)
2777.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2778 am_cv_make_support_nested_variables=yes
2779else
2780 am_cv_make_support_nested_variables=no
2781fi
2782fi
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2784$as_echo "$am_cv_make_support_nested_variables" >&6; }
2785if test $am_cv_make_support_nested_variables = yes; then
2786 AM_V='$(V)'
2787 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2788else
2789 AM_V=$AM_DEFAULT_VERBOSITY
2790 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2791fi
2747AM_BACKSLASH='\'2792AM_BACKSLASH='\'
27482793
27492794
@@ -3589,6 +3634,7 @@
3589if test "x$enable_dependency_tracking" != xno; then3634if test "x$enable_dependency_tracking" != xno; then
3590 am_depcomp="$ac_aux_dir/depcomp"3635 am_depcomp="$ac_aux_dir/depcomp"
3591 AMDEPBACKSLASH='\'3636 AMDEPBACKSLASH='\'
3637 am__nodep='_no'
3592fi3638fi
3593 if test "x$enable_dependency_tracking" != xno; then3639 if test "x$enable_dependency_tracking" != xno; then
3594 AMDEP_TRUE=3640 AMDEP_TRUE=
@@ -3613,6 +3659,7 @@
3613 # instance it was reported that on HP-UX the gcc test will end up3659 # instance it was reported that on HP-UX the gcc test will end up
3614 # making a dummy file named `D' -- because `-MD' means `put the output3660 # making a dummy file named `D' -- because `-MD' means `put the output
3615 # in D'.3661 # in D'.
3662 rm -rf conftest.dir
3616 mkdir conftest.dir3663 mkdir conftest.dir
3617 # Copy depcomp to subdir because otherwise we won't find it if we're3664 # Copy depcomp to subdir because otherwise we won't find it if we're
3618 # using a relative directory.3665 # using a relative directory.
@@ -3672,7 +3719,7 @@
3672 break3719 break
3673 fi3720 fi
3674 ;;3721 ;;
3675 msvisualcpp | msvcmsys)3722 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3676 # This compiler won't grok `-c -o', but also, the minuso test has3723 # This compiler won't grok `-c -o', but also, the minuso test has
3677 # not run yet. These depmodes are late enough in the game, and3724 # not run yet. These depmodes are late enough in the game, and
3678 # so weak that their functioning should not be impacted.3725 # so weak that their functioning should not be impacted.
@@ -3864,8 +3911,8 @@
38643911
38653912
38663913
3867macro_version='2.4'3914macro_version='2.4.2'
3868macro_revision='1.3293'3915macro_revision='1.3337'
38693916
38703917
38713918
@@ -4710,6 +4757,11 @@
4710 lt_cv_sys_max_cmd_len=1966084757 lt_cv_sys_max_cmd_len=196608
4711 ;;4758 ;;
47124759
4760 os2*)
4761 # The test takes a long time on OS/2.
4762 lt_cv_sys_max_cmd_len=8192
4763 ;;
4764
4713 osf*)4765 osf*)
4714 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure4766 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4715 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not4767 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -4749,7 +4801,7 @@
4749 # If test is not a shell built-in, we'll probably end up computing a4801 # If test is not a shell built-in, we'll probably end up computing a
4750 # maximum length that is only half of the actual maximum length, but4802 # maximum length that is only half of the actual maximum length, but
4751 # we can't tell.4803 # we can't tell.
4752 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \4804 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4753 = "X$teststring$teststring"; } >/dev/null 2>&1 &&4805 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4754 test $i != 17 # 1/2 MB should be enough4806 test $i != 17 # 1/2 MB should be enough
4755 do4807 do
@@ -5178,7 +5230,7 @@
5178 lt_cv_deplibs_check_method=pass_all5230 lt_cv_deplibs_check_method=pass_all
5179 ;;5231 ;;
51805232
5181# This must be Linux ELF.5233# This must be glibc/ELF.
5182linux* | k*bsd*-gnu | kopensolaris*-gnu)5234linux* | k*bsd*-gnu | kopensolaris*-gnu)
5183 lt_cv_deplibs_check_method=pass_all5235 lt_cv_deplibs_check_method=pass_all
5184 ;;5236 ;;
@@ -5819,13 +5871,13 @@
5819if test -n "$RANLIB"; then5871if test -n "$RANLIB"; then
5820 case $host_os in5872 case $host_os in
5821 openbsd*)5873 openbsd*)
5822 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"5874 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5823 ;;5875 ;;
5824 *)5876 *)
5825 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"5877 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5826 ;;5878 ;;
5827 esac5879 esac
5828 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"5880 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5829fi5881fi
58305882
5831case $host_os in5883case $host_os in
@@ -5972,6 +6024,7 @@
5972 # which start with @ or ?.6024 # which start with @ or ?.
5973 lt_cv_sys_global_symbol_pipe="$AWK '"\6025 lt_cv_sys_global_symbol_pipe="$AWK '"\
5974" {last_section=section; section=\$ 3};"\6026" {last_section=section; section=\$ 3};"\
6027" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5975" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\6028" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5976" \$ 0!~/External *\|/{next};"\6029" \$ 0!~/External *\|/{next};"\
5977" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\6030" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -6360,7 +6413,7 @@
6360 CFLAGS="$SAVE_CFLAGS"6413 CFLAGS="$SAVE_CFLAGS"
6361 fi6414 fi
6362 ;;6415 ;;
6363sparc*-*solaris*)6416*-*solaris*)
6364 # Find out which ABI we are using.6417 # Find out which ABI we are using.
6365 echo 'int i;' > conftest.$ac_ext6418 echo 'int i;' > conftest.$ac_ext
6366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -6371,7 +6424,20 @@
6371 case `/usr/bin/file conftest.o` in6424 case `/usr/bin/file conftest.o` in
6372 *64-bit*)6425 *64-bit*)
6373 case $lt_cv_prog_gnu_ld in6426 case $lt_cv_prog_gnu_ld in
6374 yes*) LD="${LD-ld} -m elf64_sparc" ;;6427 yes*)
6428 case $host in
6429 i?86-*-solaris*)
6430 LD="${LD-ld} -m elf_x86_64"
6431 ;;
6432 sparc*-*-solaris*)
6433 LD="${LD-ld} -m elf64_sparc"
6434 ;;
6435 esac
6436 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6437 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6438 LD="${LD-ld}_sol2"
6439 fi
6440 ;;
6375 *)6441 *)
6376 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then6442 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6377 LD="${LD-ld} -64"6443 LD="${LD-ld} -64"
@@ -7011,7 +7077,13 @@
7011 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \7077 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7012 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err7078 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7013 _lt_result=$?7079 _lt_result=$?
7014 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then7080 # If there is a non-empty error log, and "single_module"
7081 # appears in it, assume the flag caused a linker warning
7082 if test -s conftest.err && $GREP single_module conftest.err; then
7083 cat conftest.err >&5
7084 # Otherwise, if the output was created with a 0 exit code from
7085 # the compiler, it worked.
7086 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7015 lt_cv_apple_cc_single_mod=yes7087 lt_cv_apple_cc_single_mod=yes
7016 else7088 else
7017 cat conftest.err >&57089 cat conftest.err >&5
@@ -7022,6 +7094,7 @@
7022fi7094fi
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&57095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7024$as_echo "$lt_cv_apple_cc_single_mod" >&6; }7096$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7097
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&57098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7026$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }7099$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7027if ${lt_cv_ld_exported_symbols_list+:} false; then :7100if ${lt_cv_ld_exported_symbols_list+:} false; then :
@@ -7054,6 +7127,7 @@
7054fi7127fi
7055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&57128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7056$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }7129$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7130
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&57131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7058$as_echo_n "checking for -force_load linker flag... " >&6; }7132$as_echo_n "checking for -force_load linker flag... " >&6; }
7059if ${lt_cv_ld_force_load+:} false; then :7133if ${lt_cv_ld_force_load+:} false; then :
@@ -7075,7 +7149,9 @@
7075 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&57149 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7076 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err7150 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7077 _lt_result=$?7151 _lt_result=$?
7078 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then7152 if test -s conftest.err && $GREP force_load conftest.err; then
7153 cat conftest.err >&5
7154 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7079 lt_cv_ld_force_load=yes7155 lt_cv_ld_force_load=yes
7080 else7156 else
7081 cat conftest.err >&57157 cat conftest.err >&5
@@ -7480,7 +7556,22 @@
74807556
7481# Check whether --with-pic was given.7557# Check whether --with-pic was given.
7482if test "${with_pic+set}" = set; then :7558if test "${with_pic+set}" = set; then :
7483 withval=$with_pic; pic_mode="$withval"7559 withval=$with_pic; lt_p=${PACKAGE-default}
7560 case $withval in
7561 yes|no) pic_mode=$withval ;;
7562 *)
7563 pic_mode=default
7564 # Look at the argument we got. We use all the common list separators.
7565 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7566 for lt_pkg in $withval; do
7567 IFS="$lt_save_ifs"
7568 if test "X$lt_pkg" = "X$lt_p"; then
7569 pic_mode=yes
7570 fi
7571 done
7572 IFS="$lt_save_ifs"
7573 ;;
7574 esac
7484else7575else
7485 pic_mode=default7576 pic_mode=default
7486fi7577fi
@@ -7558,6 +7649,10 @@
75587649
75597650
75607651
7652
7653
7654
7655
7561test -z "$LN_S" && LN_S="ln -s"7656test -z "$LN_S" && LN_S="ln -s"
75627657
75637658
@@ -8017,7 +8112,9 @@
8017 case $cc_basename in8112 case $cc_basename in
8018 nvcc*) # Cuda Compiler Driver 2.28113 nvcc*) # Cuda Compiler Driver 2.2
8019 lt_prog_compiler_wl='-Xlinker '8114 lt_prog_compiler_wl='-Xlinker '
8020 lt_prog_compiler_pic='-Xcompiler -fPIC'8115 if test -n "$lt_prog_compiler_pic"; then
8116 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8117 fi
8021 ;;8118 ;;
8022 esac8119 esac
8023 else8120 else
@@ -8108,18 +8205,33 @@
8108 ;;8205 ;;
8109 *)8206 *)
8110 case `$CC -V 2>&1 | sed 5q` in8207 case `$CC -V 2>&1 | sed 5q` in
8111 *Sun\ F* | *Sun*Fortran*)8208 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8112 # Sun Fortran 8.3 passes all unrecognized flags to the linker8209 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8113 lt_prog_compiler_pic='-KPIC'8210 lt_prog_compiler_pic='-KPIC'
8114 lt_prog_compiler_static='-Bstatic'8211 lt_prog_compiler_static='-Bstatic'
8115 lt_prog_compiler_wl=''8212 lt_prog_compiler_wl=''
8116 ;;8213 ;;
8214 *Sun\ F* | *Sun*Fortran*)
8215 lt_prog_compiler_pic='-KPIC'
8216 lt_prog_compiler_static='-Bstatic'
8217 lt_prog_compiler_wl='-Qoption ld '
8218 ;;
8117 *Sun\ C*)8219 *Sun\ C*)
8118 # Sun C 5.98220 # Sun C 5.9
8119 lt_prog_compiler_pic='-KPIC'8221 lt_prog_compiler_pic='-KPIC'
8120 lt_prog_compiler_static='-Bstatic'8222 lt_prog_compiler_static='-Bstatic'
8121 lt_prog_compiler_wl='-Wl,'8223 lt_prog_compiler_wl='-Wl,'
8122 ;;8224 ;;
8225 *Intel*\ [CF]*Compiler*)
8226 lt_prog_compiler_wl='-Wl,'
8227 lt_prog_compiler_pic='-fPIC'
8228 lt_prog_compiler_static='-static'
8229 ;;
8230 *Portland\ Group*)
8231 lt_prog_compiler_wl='-Wl,'
8232 lt_prog_compiler_pic='-fpic'
8233 lt_prog_compiler_static='-Bstatic'
8234 ;;
8123 esac8235 esac
8124 ;;8236 ;;
8125 esac8237 esac
@@ -8481,7 +8593,6 @@
8481 hardcode_direct=no8593 hardcode_direct=no
8482 hardcode_direct_absolute=no8594 hardcode_direct_absolute=no
8483 hardcode_libdir_flag_spec=8595 hardcode_libdir_flag_spec=
8484 hardcode_libdir_flag_spec_ld=
8485 hardcode_libdir_separator=8596 hardcode_libdir_separator=
8486 hardcode_minus_L=no8597 hardcode_minus_L=no
8487 hardcode_shlibpath_var=unsupported8598 hardcode_shlibpath_var=unsupported
@@ -8734,8 +8845,7 @@
8734 xlf* | bgf* | bgxlf* | mpixlf*)8845 xlf* | bgf* | bgxlf* | mpixlf*)
8735 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself8846 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8736 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'8847 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8737 hardcode_libdir_flag_spec=8848 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8738 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8739 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'8849 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8740 if test "x$supports_anon_versioning" = xyes; then8850 if test "x$supports_anon_versioning" = xyes; then
8741 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~8851 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
@@ -9115,6 +9225,7 @@
9115 # The linker will not automatically build a static lib if we build a DLL.9225 # The linker will not automatically build a static lib if we build a DLL.
9116 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'9226 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9117 enable_shared_with_static_runtimes=yes9227 enable_shared_with_static_runtimes=yes
9228 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9118 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'9229 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9119 # Don't use ranlib9230 # Don't use ranlib
9120 old_postinstall_cmds='chmod 644 $oldlib'9231 old_postinstall_cmds='chmod 644 $oldlib'
@@ -9160,6 +9271,7 @@
9160 hardcode_shlibpath_var=unsupported9271 hardcode_shlibpath_var=unsupported
9161 if test "$lt_cv_ld_force_load" = "yes"; then9272 if test "$lt_cv_ld_force_load" = "yes"; then
9162 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'9273 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9274
9163 else9275 else
9164 whole_archive_flag_spec=''9276 whole_archive_flag_spec=''
9165 fi9277 fi
@@ -9188,10 +9300,6 @@
9188 hardcode_shlibpath_var=no9300 hardcode_shlibpath_var=no
9189 ;;9301 ;;
91909302
9191 freebsd1*)
9192 ld_shlibs=no
9193 ;;
9194
9195 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor9303 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9196 # support. Future versions do this automatically, but an explicit c++rt0.o9304 # support. Future versions do this automatically, but an explicit c++rt0.o
9197 # does not break anything, and helps significantly (at the cost of a little9305 # does not break anything, and helps significantly (at the cost of a little
@@ -9204,7 +9312,7 @@
9204 ;;9312 ;;
92059313
9206 # Unfortunately, older versions of FreeBSD 2 do not have this feature.9314 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9207 freebsd2*)9315 freebsd2.*)
9208 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'9316 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9209 hardcode_direct=yes9317 hardcode_direct=yes
9210 hardcode_minus_L=yes9318 hardcode_minus_L=yes
@@ -9243,7 +9351,6 @@
9243 fi9351 fi
9244 if test "$with_gnu_ld" = no; then9352 if test "$with_gnu_ld" = no; then
9245 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'9353 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9246 hardcode_libdir_flag_spec_ld='+b $libdir'
9247 hardcode_libdir_separator=:9354 hardcode_libdir_separator=:
9248 hardcode_direct=yes9355 hardcode_direct=yes
9249 hardcode_direct_absolute=yes9356 hardcode_direct_absolute=yes
@@ -9867,11 +9974,6 @@
98679974
98689975
98699976
9870
9871
9872
9873
9874
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&59977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9876$as_echo_n "checking dynamic linker characteristics... " >&6; }9978$as_echo_n "checking dynamic linker characteristics... " >&6; }
98779979
@@ -9961,7 +10063,7 @@
996110063
9962case $host_os in10064case $host_os in
9963aix3*)10065aix3*)
9964 version_type=linux10066 version_type=linux # correct to gnu/linux during the next big refactor
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'10067 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9966 shlibpath_var=LIBPATH10068 shlibpath_var=LIBPATH
996710069
@@ -9970,7 +10072,7 @@
9970 ;;10072 ;;
997110073
9972aix[4-9]*)10074aix[4-9]*)
9973 version_type=linux10075 version_type=linux # correct to gnu/linux during the next big refactor
9974 need_lib_prefix=no10076 need_lib_prefix=no
9975 need_version=no10077 need_version=no
9976 hardcode_into_libs=yes10078 hardcode_into_libs=yes
@@ -10035,7 +10137,7 @@
10035 ;;10137 ;;
1003610138
10037bsdi[45]*)10139bsdi[45]*)
10038 version_type=linux10140 version_type=linux # correct to gnu/linux during the next big refactor
10039 need_version=no10141 need_version=no
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041 soname_spec='${libname}${release}${shared_ext}$major'10143 soname_spec='${libname}${release}${shared_ext}$major'
@@ -10174,7 +10276,7 @@
10174 ;;10276 ;;
1017510277
10176dgux*)10278dgux*)
10177 version_type=linux10279 version_type=linux # correct to gnu/linux during the next big refactor
10178 need_lib_prefix=no10280 need_lib_prefix=no
10179 need_version=no10281 need_version=no
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'10282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -10182,10 +10284,6 @@
10182 shlibpath_var=LD_LIBRARY_PATH10284 shlibpath_var=LD_LIBRARY_PATH
10183 ;;10285 ;;
1018410286
10185freebsd1*)
10186 dynamic_linker=no
10187 ;;
10188
10189freebsd* | dragonfly*)10287freebsd* | dragonfly*)
10190 # DragonFly does not have aout. When/if they implement a new10288 # DragonFly does not have aout. When/if they implement a new
10191 # versioning mechanism, adjust this.10289 # versioning mechanism, adjust this.
@@ -10193,7 +10291,7 @@
10193 objformat=`/usr/bin/objformat`10291 objformat=`/usr/bin/objformat`
10194 else10292 else
10195 case $host_os in10293 case $host_os in
10196 freebsd[123]*) objformat=aout ;;10294 freebsd[23].*) objformat=aout ;;
10197 *) objformat=elf ;;10295 *) objformat=elf ;;
10198 esac10296 esac
10199 fi10297 fi
@@ -10211,7 +10309,7 @@
10211 esac10309 esac
10212 shlibpath_var=LD_LIBRARY_PATH10310 shlibpath_var=LD_LIBRARY_PATH
10213 case $host_os in10311 case $host_os in
10214 freebsd2*)10312 freebsd2.*)
10215 shlibpath_overrides_runpath=yes10313 shlibpath_overrides_runpath=yes
10216 ;;10314 ;;
10217 freebsd3.[01]* | freebsdelf3.[01]*)10315 freebsd3.[01]* | freebsdelf3.[01]*)
@@ -10231,7 +10329,7 @@
10231 ;;10329 ;;
1023210330
10233gnu*)10331gnu*)
10234 version_type=linux10332 version_type=linux # correct to gnu/linux during the next big refactor
10235 need_lib_prefix=no10333 need_lib_prefix=no
10236 need_version=no10334 need_version=no
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'10335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
@@ -10242,7 +10340,7 @@
10242 ;;10340 ;;
1024310341
10244haiku*)10342haiku*)
10245 version_type=linux10343 version_type=linux # correct to gnu/linux during the next big refactor
10246 need_lib_prefix=no10344 need_lib_prefix=no
10247 need_version=no10345 need_version=no
10248 dynamic_linker="$host_os runtime_loader"10346 dynamic_linker="$host_os runtime_loader"
@@ -10303,7 +10401,7 @@
10303 ;;10401 ;;
1030410402
10305interix[3-9]*)10403interix[3-9]*)
10306 version_type=linux10404 version_type=linux # correct to gnu/linux during the next big refactor
10307 need_lib_prefix=no10405 need_lib_prefix=no
10308 need_version=no10406 need_version=no
10309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -10319,7 +10417,7 @@
10319 nonstopux*) version_type=nonstopux ;;10417 nonstopux*) version_type=nonstopux ;;
10320 *)10418 *)
10321 if test "$lt_cv_prog_gnu_ld" = yes; then10419 if test "$lt_cv_prog_gnu_ld" = yes; then
10322 version_type=linux10420 version_type=linux # correct to gnu/linux during the next big refactor
10323 else10421 else
10324 version_type=irix10422 version_type=irix
10325 fi ;;10423 fi ;;
@@ -10356,9 +10454,9 @@
10356 dynamic_linker=no10454 dynamic_linker=no
10357 ;;10455 ;;
1035810456
10359# This must be Linux ELF.10457# This must be glibc/ELF.
10360linux* | k*bsd*-gnu | kopensolaris*-gnu)10458linux* | k*bsd*-gnu | kopensolaris*-gnu)
10361 version_type=linux10459 version_type=linux # correct to gnu/linux during the next big refactor
10362 need_lib_prefix=no10460 need_lib_prefix=no
10363 need_version=no10461 need_version=no
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10452,7 +10550,7 @@
10452 ;;10550 ;;
1045310551
10454newsos6)10552newsos6)
10455 version_type=linux10553 version_type=linux # correct to gnu/linux during the next big refactor
10456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 shlibpath_var=LD_LIBRARY_PATH10555 shlibpath_var=LD_LIBRARY_PATH
10458 shlibpath_overrides_runpath=yes10556 shlibpath_overrides_runpath=yes
@@ -10521,7 +10619,7 @@
10521 ;;10619 ;;
1052210620
10523solaris*)10621solaris*)
10524 version_type=linux10622 version_type=linux # correct to gnu/linux during the next big refactor
10525 need_lib_prefix=no10623 need_lib_prefix=no
10526 need_version=no10624 need_version=no
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10546,7 +10644,7 @@
10546 ;;10644 ;;
1054710645
10548sysv4 | sysv4.3*)10646sysv4 | sysv4.3*)
10549 version_type=linux10647 version_type=linux # correct to gnu/linux during the next big refactor
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec='${libname}${release}${shared_ext}$major'10649 soname_spec='${libname}${release}${shared_ext}$major'
10552 shlibpath_var=LD_LIBRARY_PATH10650 shlibpath_var=LD_LIBRARY_PATH
@@ -10570,7 +10668,7 @@
1057010668
10571sysv4*MP*)10669sysv4*MP*)
10572 if test -d /usr/nec ;then10670 if test -d /usr/nec ;then
10573 version_type=linux10671 version_type=linux # correct to gnu/linux during the next big refactor
10574 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'10672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10575 soname_spec='$libname${shared_ext}.$major'10673 soname_spec='$libname${shared_ext}.$major'
10576 shlibpath_var=LD_LIBRARY_PATH10674 shlibpath_var=LD_LIBRARY_PATH
@@ -10601,7 +10699,7 @@
1060110699
10602tpf*)10700tpf*)
10603 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.10701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10604 version_type=linux10702 version_type=linux # correct to gnu/linux during the next big refactor
10605 need_lib_prefix=no10703 need_lib_prefix=no
10606 need_version=no10704 need_version=no
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10611,7 +10709,7 @@
10611 ;;10709 ;;
1061210710
10613uts4*)10711uts4*)
10614 version_type=linux10712 version_type=linux # correct to gnu/linux during the next big refactor
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec='${libname}${release}${shared_ext}$major'10714 soname_spec='${libname}${release}${shared_ext}$major'
10617 shlibpath_var=LD_LIBRARY_PATH10715 shlibpath_var=LD_LIBRARY_PATH
@@ -11393,6 +11491,8 @@
1139311491
1139411492
1139511493
11494
11495
11396 ac_config_commands="$ac_config_commands libtool"11496 ac_config_commands="$ac_config_commands libtool"
1139711497
1139811498
@@ -12079,6 +12179,260 @@
1207912179
1208012180
12081###########################12181###########################
12182# gcov coverage reporting
12183###########################
12184
12185# Checks for existence of coverage tools:
12186# * gcov
12187# * lcov
12188# * genhtml
12189# * gcovr
12190#
12191# Sets ac_cv_check_gcov to yes if tooling is present
12192# and reports the executables to the variables LCOV, GCOVR and GENHTML.
12193 # AC_TDD_GCOV
12194
12195
12196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether code coverage tools are available" >&5
12197$as_echo_n "checking whether code coverage tools are available... " >&6; }
12198if ${ac_cv_check_gcov+:} false; then :
12199 $as_echo_n "(cached) " >&6
12200else
12201
12202# Check whether --enable-gcov was given.
12203if test "${enable_gcov+set}" = set; then :
12204 enableval=$enable_gcov; use_gcov=$enableval
12205else
12206 use_gcov=no
12207fi
12208
12209
12210 if test "x$use_gcov" = "xyes"; then
12211 # we need gcc:
12212 if test "$GCC" != "yes"; then
12213 as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
12214 fi
12215
12216 # Check if ccache is being used
12217 # Extract the first word of "shtool", so it can be a program name with args.
12218set dummy shtool; ac_word=$2
12219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12220$as_echo_n "checking for $ac_word... " >&6; }
12221if ${ac_cv_prog_SHTOOL+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223else
12224 if test -n "$SHTOOL"; then
12225 ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
12226else
12227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228for as_dir in $PATH
12229do
12230 IFS=$as_save_IFS
12231 test -z "$as_dir" && as_dir=.
12232 for ac_exec_ext in '' $ac_executable_extensions; do
12233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12234 ac_cv_prog_SHTOOL="shtool"
12235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12236 break 2
12237 fi
12238done
12239 done
12240IFS=$as_save_IFS
12241
12242fi
12243fi
12244SHTOOL=$ac_cv_prog_SHTOOL
12245if test -n "$SHTOOL"; then
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
12247$as_echo "$SHTOOL" >&6; }
12248else
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250$as_echo "no" >&6; }
12251fi
12252
12253
12254 case `$SHTOOL path $CC` in
12255 *ccache*) gcc_ccache=yes;;
12256 *) gcc_ccache=no;;
12257 esac
12258
12259 if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
12260 as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
12261 fi
12262
12263 lcov_version_list="1.6 1.7 1.8 1.9"
12264 # Extract the first word of "lcov", so it can be a program name with args.
12265set dummy lcov; ac_word=$2
12266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12267$as_echo_n "checking for $ac_word... " >&6; }
12268if ${ac_cv_prog_LCOV+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270else
12271 if test -n "$LCOV"; then
12272 ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
12273else
12274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12275for as_dir in $PATH
12276do
12277 IFS=$as_save_IFS
12278 test -z "$as_dir" && as_dir=.
12279 for ac_exec_ext in '' $ac_executable_extensions; do
12280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12281 ac_cv_prog_LCOV="lcov"
12282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12283 break 2
12284 fi
12285done
12286 done
12287IFS=$as_save_IFS
12288
12289fi
12290fi
12291LCOV=$ac_cv_prog_LCOV
12292if test -n "$LCOV"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
12294$as_echo "$LCOV" >&6; }
12295else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297$as_echo "no" >&6; }
12298fi
12299
12300
12301 # Extract the first word of "genhtml", so it can be a program name with args.
12302set dummy genhtml; ac_word=$2
12303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12304$as_echo_n "checking for $ac_word... " >&6; }
12305if ${ac_cv_prog_GENHTML+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307else
12308 if test -n "$GENHTML"; then
12309 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
12310else
12311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312for as_dir in $PATH
12313do
12314 IFS=$as_save_IFS
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_prog_GENHTML="genhtml"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12320 break 2
12321 fi
12322done
12323 done
12324IFS=$as_save_IFS
12325
12326fi
12327fi
12328GENHTML=$ac_cv_prog_GENHTML
12329if test -n "$GENHTML"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
12331$as_echo "$GENHTML" >&6; }
12332else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334$as_echo "no" >&6; }
12335fi
12336
12337
12338 # Extract the first word of "gcovr", so it can be a program name with args.
12339set dummy gcovr; ac_word=$2
12340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12341$as_echo_n "checking for $ac_word... " >&6; }
12342if ${ac_cv_prog_GCOVR+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344else
12345 if test -n "$GCOVR"; then
12346 ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
12347else
12348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12349for as_dir in $PATH
12350do
12351 IFS=$as_save_IFS
12352 test -z "$as_dir" && as_dir=.
12353 for ac_exec_ext in '' $ac_executable_extensions; do
12354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12355 ac_cv_prog_GCOVR="gcovr"
12356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12357 break 2
12358 fi
12359done
12360 done
12361IFS=$as_save_IFS
12362
12363fi
12364fi
12365GCOVR=$ac_cv_prog_GCOVR
12366if test -n "$GCOVR"; then
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
12368$as_echo "$GCOVR" >&6; }
12369else
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371$as_echo "no" >&6; }
12372fi
12373
12374
12375
12376 if test "$LCOV"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
12378$as_echo_n "checking for lcov version... " >&6; }
12379if ${glib_cv_lcov_version+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381else
12382
12383 glib_cv_lcov_version=invalid
12384 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
12385 for lcov_check_version in $lcov_version_list; do
12386 if test "$lcov_version" = "$lcov_check_version"; then
12387 glib_cv_lcov_version="$lcov_check_version (ok)"
12388 fi
12389 done
12390
12391fi
12392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
12393$as_echo "$glib_cv_lcov_version" >&6; }
12394 else
12395 lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
12396 as_fn_error $? "$lcov_msg" "$LINENO" 5
12397 fi
12398
12399 case $glib_cv_lcov_version in
12400 ""|invalid)
12401 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
12402 as_fn_error $? "$lcov_msg" "$LINENO" 5
12403 LCOV="exit 0;"
12404 ;;
12405 esac
12406
12407 if test -z "$GENHTML"; then
12408 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
12409 fi
12410
12411 if test -z "$GCOVR"; then
12412 as_fn_error $? "Could not find gcovr; easy_install (or pip) gcovr" "$LINENO" 5
12413 fi
12414
12415
12416 # Remove all optimization flags from CFLAGS
12417
12418 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
12419
12420
12421 # Add the special gcc flags
12422 COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
12423 COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
12424 COVERAGE_LDFLAGS="-lgcov"
12425
12426fi
12427
12428fi
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_check_gcov" >&5
12430$as_echo "$ac_cv_check_gcov" >&6; }
12431
12432
12433
12434
12435###########################
12082# Check to see if we're local12436# Check to see if we're local
12083###########################12437###########################
1208412438
@@ -12277,25 +12631,44 @@
12277 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 512631 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12278fi12632fi
1227912633
12280 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12634if test -z "$AM_DEFAULT_VERBOSITY"; then
12281INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12635 AM_DEFAULT_VERBOSITY=1
12282 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12636fi
12283 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12637
12284 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'12638
12285 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12639INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12286 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12640INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12287 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12641INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12288INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12642
12289 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12643
12290 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12644
12291 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'12645
12292 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12646INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12293 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12647intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12294 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12648intltool__v_merge_options_0='-q'
12295 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12649
12296 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12650
12297 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12651
12298 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'12652
12653 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12654INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12655 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12656 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12657 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12658 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12659 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12660 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12661INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12662 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12663 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12664 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12665 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12666 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12667 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12668 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12669 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12670 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12671 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1229912672
1230012673
1230112674
@@ -12614,7 +12987,7 @@
12614if test $? -ne 0; then12987if test $? -ne 0; then
12615 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 512988 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12616else12989else
12617 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"12990 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&512991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12619$as_echo "$IT_PERL_VERSION" >&6; }12992$as_echo "$IT_PERL_VERSION" >&6; }
12620fi12993fi
@@ -14575,7 +14948,7 @@
14575# Files14948# Files
14576###########################14949###########################
1457714950
14578ac_config_files="$ac_config_files Makefile po/Makefile.in"14951ac_config_files="$ac_config_files Makefile po/Makefile.in data/Makefile"
1457914952
14580cat >confcache <<\_ACEOF14953cat >confcache <<\_ACEOF
14581# This file is a shell script that caches the results of configure14954# This file is a shell script that caches the results of configure
@@ -15119,7 +15492,7 @@
15119# report actual input values of CONFIG_FILES etc. instead of their15492# report actual input values of CONFIG_FILES etc. instead of their
15120# values after options handling.15493# values after options handling.
15121ac_log="15494ac_log="
15122This file was extended by indicator-power $as_me 0.10, which was15495This file was extended by indicator-power $as_me 1.90, which was
15123generated by GNU Autoconf 2.68. Invocation command line was15496generated by GNU Autoconf 2.68. Invocation command line was
1512415497
15125 CONFIG_FILES = $CONFIG_FILES15498 CONFIG_FILES = $CONFIG_FILES
@@ -15186,7 +15559,7 @@
15186cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115559cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15187ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"15560ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15188ac_cs_version="\\15561ac_cs_version="\\
15189indicator-power config.status 0.1015562indicator-power config.status 1.90
15190configured by $0, generated by GNU Autoconf 2.68,15563configured by $0, generated by GNU Autoconf 2.68,
15191 with options \\"\$ac_cs_config\\"15564 with options \\"\$ac_cs_config\\"
1519215565
@@ -15323,6 +15696,7 @@
15323enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'15696enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15324SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'15697SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15325ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'15698ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15699PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15326host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'15700host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15327host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'15701host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15328host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'15702host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
@@ -15405,7 +15779,6 @@
15405allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'15779allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15406no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'15780no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15407hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'15781hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15408hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15409hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'15782hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15410hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'15783hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15411hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'15784hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
@@ -15461,6 +15834,7 @@
15461# Quote evaled strings.15834# Quote evaled strings.
15462for var in SHELL \15835for var in SHELL \
15463ECHO \15836ECHO \
15837PATH_SEPARATOR \
15464SED \15838SED \
15465GREP \15839GREP \
15466EGREP \15840EGREP \
@@ -15511,7 +15885,6 @@
15511allow_undefined_flag \15885allow_undefined_flag \
15512no_undefined_flag \15886no_undefined_flag \
15513hardcode_libdir_flag_spec \15887hardcode_libdir_flag_spec \
15514hardcode_libdir_flag_spec_ld \
15515hardcode_libdir_separator \15888hardcode_libdir_separator \
15516exclude_expsyms \15889exclude_expsyms \
15517include_expsyms \15890include_expsyms \
@@ -15605,6 +15978,7 @@
15605 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;15978 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15606 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;15979 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15607 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;15980 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15981 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15608 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;15982 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1560915983
15610 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;15984 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
@@ -16317,8 +16691,8 @@
16317# NOTE: Changes made to this file will be lost: look at ltmain.sh.16691# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16318#16692#
16319# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,16693# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16320# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,16694# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16321# Inc.16695# Foundation, Inc.
16322# Written by Gordon Matzigkeit, 199616696# Written by Gordon Matzigkeit, 1996
16323#16697#
16324# This file is part of GNU Libtool.16698# This file is part of GNU Libtool.
@@ -16372,6 +16746,9 @@
16372# An echo program that protects backslashes.16746# An echo program that protects backslashes.
16373ECHO=$lt_ECHO16747ECHO=$lt_ECHO
1637416748
16749# The PATH separator for the build system.
16750PATH_SEPARATOR=$lt_PATH_SEPARATOR
16751
16375# The host system.16752# The host system.
16376host_alias=$host_alias16753host_alias=$host_alias
16377host=$host16754host=$host
@@ -16673,10 +17050,6 @@
16673# This must work even if \$libdir does not exist17050# This must work even if \$libdir does not exist
16674hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec17051hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1667517052
16676# If ld is used when linking, flag to hardcode \$libdir into a binary
16677# during linking. This must work even if \$libdir does not exist.
16678hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16679
16680# Whether we need a single "-rpath" flag with a separated argument.17053# Whether we need a single "-rpath" flag with a separated argument.
16681hardcode_libdir_separator=$lt_hardcode_libdir_separator17054hardcode_libdir_separator=$lt_hardcode_libdir_separator
1668217055
@@ -17109,6 +17482,7 @@
1710917482
17110 Prefix: $prefix17483 Prefix: $prefix
17111 Local Install: $with_localinstall17484 Local Install: $with_localinstall
17485 gcov: $use_gcov
17112" >&517486" >&5
17113$as_echo "$as_me:17487$as_echo "$as_me:
1711417488
@@ -17116,4 +17490,5 @@
1711617490
17117 Prefix: $prefix17491 Prefix: $prefix
17118 Local Install: $with_localinstall17492 Local Install: $with_localinstall
17493 gcov: $use_gcov
17119" >&6;}17494" >&6;}
1712017495
=== modified file 'configure.ac'
--- configure.ac 2011-10-24 16:27:33 +0000
+++ configure.ac 2012-02-14 22:32:23 +0000
@@ -1,5 +1,5 @@
1AC_INIT([indicator-power],1AC_INIT([indicator-power],
2 [0.10],2 [1.90],
3 [http://bugs.launchpad.net/indicator-power],3 [http://bugs.launchpad.net/indicator-power],
4 [indicator-power],4 [indicator-power],
5 [http://launchpad.net/indicator-power])5 [http://launchpad.net/indicator-power])
@@ -48,6 +48,16 @@
48GLIB_GSETTINGS48GLIB_GSETTINGS
4949
50###########################50###########################
51# gcov coverage reporting
52###########################
53
54m4_include([m4/gcov.m4])
55AC_TDD_GCOV
56AC_SUBST(COVERAGE_CFLAGS)
57AC_SUBST(COVERAGE_CXXFLAGS)
58AC_SUBST(COVERAGE_LDFLAGS)
59
60###########################
51# Check to see if we're local61# Check to see if we're local
52###########################62###########################
5363
@@ -105,6 +115,7 @@
105AC_CONFIG_FILES([115AC_CONFIG_FILES([
106Makefile116Makefile
107po/Makefile.in117po/Makefile.in
118data/Makefile
108])119])
109AC_OUTPUT120AC_OUTPUT
110121
@@ -118,4 +129,5 @@
118129
119 Prefix: $prefix130 Prefix: $prefix
120 Local Install: $with_localinstall131 Local Install: $with_localinstall
132 gcov: $use_gcov
121])133])
122134
=== added file 'data/Makefile.am'
--- data/Makefile.am 1970-01-01 00:00:00 +0000
+++ data/Makefile.am 2012-02-14 22:32:23 +0000
@@ -0,0 +1,17 @@
1
2gsettings_in_file = com.canonical.indicator.power.gschema.xml.in
3gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
4
5@INTLTOOL_XML_NOMERGE_RULE@
6
7@GSETTINGS_RULES@
8
9dist_noinst_DATA = \
10 com.canonical.indicator.power.gschema.xml \
11 $(gsettings_in_file)
12
13CLEANFILES = \
14 $(gsettings_SCHEMAS)
15
16MAINTAINERCLEANFILES = \
17 $(gsettings_SCHEMAS:.xml=.valid)
018
=== added file 'data/Makefile.in'
--- data/Makefile.in 1970-01-01 00:00:00 +0000
+++ data/Makefile.in 2012-02-14 22:32:23 +0000
@@ -0,0 +1,442 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37subdir = data
38DIST_COMMON = $(dist_noinst_DATA) $(srcdir)/Makefile.am \
39 $(srcdir)/Makefile.in
40ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
42 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
43 $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/lib-ld.m4 \
44 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
45 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
46 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
47 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
48 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
49 $(top_srcdir)/m4/gcov.m4 $(top_srcdir)/configure.ac
50am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 $(ACLOCAL_M4)
52mkinstalldirs = $(install_sh) -d
53CONFIG_HEADER = $(top_builddir)/config.h
54CONFIG_CLEAN_FILES =
55CONFIG_CLEAN_VPATH_FILES =
56AM_V_GEN = $(am__v_GEN_@AM_V@)
57am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
58am__v_GEN_0 = @echo " GEN " $@;
59AM_V_at = $(am__v_at_@AM_V@)
60am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
61am__v_at_0 = @
62SOURCES =
63DIST_SOURCES =
64DATA = $(dist_noinst_DATA)
65DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
66ACLOCAL = @ACLOCAL@
67ALL_LINGUAS = @ALL_LINGUAS@
68AMTAR = @AMTAR@
69AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
70AR = @AR@
71AUTOCONF = @AUTOCONF@
72AUTOHEADER = @AUTOHEADER@
73AUTOMAKE = @AUTOMAKE@
74AWK = @AWK@
75CC = @CC@
76CCDEPMODE = @CCDEPMODE@
77CFLAGS = @CFLAGS@
78COVERAGE_CFLAGS = @COVERAGE_CFLAGS@
79COVERAGE_CXXFLAGS = @COVERAGE_CXXFLAGS@
80COVERAGE_LDFLAGS = @COVERAGE_LDFLAGS@
81CPP = @CPP@
82CPPFLAGS = @CPPFLAGS@
83CYGPATH_W = @CYGPATH_W@
84DATADIRNAME = @DATADIRNAME@
85DEFS = @DEFS@
86DEPDIR = @DEPDIR@
87DLLTOOL = @DLLTOOL@
88DSYMUTIL = @DSYMUTIL@
89DUMPBIN = @DUMPBIN@
90ECHO_C = @ECHO_C@
91ECHO_N = @ECHO_N@
92ECHO_T = @ECHO_T@
93EGREP = @EGREP@
94EXEEXT = @EXEEXT@
95FGREP = @FGREP@
96GCOVR = @GCOVR@
97GENHTML = @GENHTML@
98GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
99GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
100GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
101GMSGFMT = @GMSGFMT@
102GMSGFMT_015 = @GMSGFMT_015@
103GREP = @GREP@
104GSD_CFLAGS = @GSD_CFLAGS@
105GSD_LIBS = @GSD_LIBS@
106GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
107INDICATORDIR = @INDICATORDIR@
108INDICATORICONSDIR = @INDICATORICONSDIR@
109INDICATOR_CFLAGS = @INDICATOR_CFLAGS@
110INDICATOR_LIBS = @INDICATOR_LIBS@
111INSTALL = @INSTALL@
112INSTALL_DATA = @INSTALL_DATA@
113INSTALL_PROGRAM = @INSTALL_PROGRAM@
114INSTALL_SCRIPT = @INSTALL_SCRIPT@
115INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
116INTLLIBS = @INTLLIBS@
117INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
118INTLTOOL_MERGE = @INTLTOOL_MERGE@
119INTLTOOL_PERL = @INTLTOOL_PERL@
120INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
121INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
122INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
123INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
124INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
125INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
126LCOV = @LCOV@
127LD = @LD@
128LDFLAGS = @LDFLAGS@
129LIBICONV = @LIBICONV@
130LIBINTL = @LIBINTL@
131LIBOBJS = @LIBOBJS@
132LIBS = @LIBS@
133LIBTOOL = @LIBTOOL@
134LIPO = @LIPO@
135LN_S = @LN_S@
136LTLIBICONV = @LTLIBICONV@
137LTLIBINTL = @LTLIBINTL@
138LTLIBOBJS = @LTLIBOBJS@
139MAINT = @MAINT@
140MAKEINFO = @MAKEINFO@
141MANIFEST_TOOL = @MANIFEST_TOOL@
142MKDIR_P = @MKDIR_P@
143MSGFMT = @MSGFMT@
144MSGFMT_015 = @MSGFMT_015@
145MSGMERGE = @MSGMERGE@
146NM = @NM@
147NMEDIT = @NMEDIT@
148OBJDUMP = @OBJDUMP@
149OBJEXT = @OBJEXT@
150OTOOL = @OTOOL@
151OTOOL64 = @OTOOL64@
152PACKAGE = @PACKAGE@
153PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
154PACKAGE_NAME = @PACKAGE_NAME@
155PACKAGE_STRING = @PACKAGE_STRING@
156PACKAGE_TARNAME = @PACKAGE_TARNAME@
157PACKAGE_URL = @PACKAGE_URL@
158PACKAGE_VERSION = @PACKAGE_VERSION@
159PATH_SEPARATOR = @PATH_SEPARATOR@
160PKG_CONFIG = @PKG_CONFIG@
161PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
162PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
163POSUB = @POSUB@
164RANLIB = @RANLIB@
165SED = @SED@
166SET_MAKE = @SET_MAKE@
167SHELL = @SHELL@
168SHTOOL = @SHTOOL@
169STRIP = @STRIP@
170UPOWER_CFLAGS = @UPOWER_CFLAGS@
171UPOWER_LIBS = @UPOWER_LIBS@
172USE_NLS = @USE_NLS@
173VERSION = @VERSION@
174XGETTEXT = @XGETTEXT@
175XGETTEXT_015 = @XGETTEXT_015@
176XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
177abs_builddir = @abs_builddir@
178abs_srcdir = @abs_srcdir@
179abs_top_builddir = @abs_top_builddir@
180abs_top_srcdir = @abs_top_srcdir@
181ac_ct_AR = @ac_ct_AR@
182ac_ct_CC = @ac_ct_CC@
183ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
184am__include = @am__include@
185am__leading_dot = @am__leading_dot@
186am__quote = @am__quote@
187am__tar = @am__tar@
188am__untar = @am__untar@
189bindir = @bindir@
190build = @build@
191build_alias = @build_alias@
192build_cpu = @build_cpu@
193build_os = @build_os@
194build_vendor = @build_vendor@
195builddir = @builddir@
196datadir = @datadir@
197datarootdir = @datarootdir@
198docdir = @docdir@
199dvidir = @dvidir@
200exec_prefix = @exec_prefix@
201gsettingsschemadir = @gsettingsschemadir@
202host = @host@
203host_alias = @host_alias@
204host_cpu = @host_cpu@
205host_os = @host_os@
206host_vendor = @host_vendor@
207htmldir = @htmldir@
208includedir = @includedir@
209infodir = @infodir@
210install_sh = @install_sh@
211intltool__v_merge_options_ = @intltool__v_merge_options_@
212intltool__v_merge_options_0 = @intltool__v_merge_options_0@
213libdir = @libdir@
214libexecdir = @libexecdir@
215localedir = @localedir@
216localstatedir = @localstatedir@
217mandir = @mandir@
218mkdir_p = @mkdir_p@
219oldincludedir = @oldincludedir@
220pdfdir = @pdfdir@
221prefix = @prefix@
222program_transform_name = @program_transform_name@
223psdir = @psdir@
224sbindir = @sbindir@
225sharedstatedir = @sharedstatedir@
226srcdir = @srcdir@
227sysconfdir = @sysconfdir@
228target_alias = @target_alias@
229top_build_prefix = @top_build_prefix@
230top_builddir = @top_builddir@
231top_srcdir = @top_srcdir@
232gsettings_in_file = com.canonical.indicator.power.gschema.xml.in
233gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
234dist_noinst_DATA = \
235 com.canonical.indicator.power.gschema.xml \
236 $(gsettings_in_file)
237
238CLEANFILES = \
239 $(gsettings_SCHEMAS)
240
241MAINTAINERCLEANFILES = \
242 $(gsettings_SCHEMAS:.xml=.valid)
243
244all: all-am
245
246.SUFFIXES:
247$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
248 @for dep in $?; do \
249 case '$(am__configure_deps)' in \
250 *$$dep*) \
251 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
252 && { if test -f $@; then exit 0; else break; fi; }; \
253 exit 1;; \
254 esac; \
255 done; \
256 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \
257 $(am__cd) $(top_srcdir) && \
258 $(AUTOMAKE) --foreign data/Makefile
259.PRECIOUS: Makefile
260Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
261 @case '$?' in \
262 *config.status*) \
263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
264 *) \
265 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
266 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
267 esac;
268
269$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
270 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
271
272$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
273 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
275 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
276$(am__aclocal_m4_deps):
277
278mostlyclean-libtool:
279 -rm -f *.lo
280
281clean-libtool:
282 -rm -rf .libs _libs
283tags: TAGS
284TAGS:
285
286ctags: CTAGS
287CTAGS:
288
289
290distdir: $(DISTFILES)
291 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
292 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
293 list='$(DISTFILES)'; \
294 dist_files=`for file in $$list; do echo $$file; done | \
295 sed -e "s|^$$srcdirstrip/||;t" \
296 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
297 case $$dist_files in \
298 */*) $(MKDIR_P) `echo "$$dist_files" | \
299 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
300 sort -u` ;; \
301 esac; \
302 for file in $$dist_files; do \
303 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
304 if test -d $$d/$$file; then \
305 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
306 if test -d "$(distdir)/$$file"; then \
307 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
308 fi; \
309 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
310 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
311 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
312 fi; \
313 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
314 else \
315 test -f "$(distdir)/$$file" \
316 || cp -p $$d/$$file "$(distdir)/$$file" \
317 || exit 1; \
318 fi; \
319 done
320check-am: all-am
321check: check-am
322all-am: Makefile $(DATA)
323installdirs:
324install: install-am
325install-exec: install-exec-am
326install-data: install-data-am
327uninstall: uninstall-am
328
329install-am: all-am
330 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
331
332installcheck: installcheck-am
333install-strip:
334 if test -z '$(STRIP)'; then \
335 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
336 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
337 install; \
338 else \
339 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
340 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
341 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
342 fi
343mostlyclean-generic:
344
345clean-generic:
346 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
347
348distclean-generic:
349 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
350 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
351
352maintainer-clean-generic:
353 @echo "This command is intended for maintainers to use"
354 @echo "it deletes files that may require special tools to rebuild."
355 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
356clean: clean-am
357
358clean-am: clean-generic clean-libtool mostlyclean-am
359
360distclean: distclean-am
361 -rm -f Makefile
362distclean-am: clean-am distclean-generic
363
364dvi: dvi-am
365
366dvi-am:
367
368html: html-am
369
370html-am:
371
372info: info-am
373
374info-am:
375
376install-data-am:
377
378install-dvi: install-dvi-am
379
380install-dvi-am:
381
382install-exec-am:
383
384install-html: install-html-am
385
386install-html-am:
387
388install-info: install-info-am
389
390install-info-am:
391
392install-man:
393
394install-pdf: install-pdf-am
395
396install-pdf-am:
397
398install-ps: install-ps-am
399
400install-ps-am:
401
402installcheck-am:
403
404maintainer-clean: maintainer-clean-am
405 -rm -f Makefile
406maintainer-clean-am: distclean-am maintainer-clean-generic
407
408mostlyclean: mostlyclean-am
409
410mostlyclean-am: mostlyclean-generic mostlyclean-libtool
411
412pdf: pdf-am
413
414pdf-am:
415
416ps: ps-am
417
418ps-am:
419
420uninstall-am:
421
422.MAKE: install-am install-strip
423
424.PHONY: all all-am check check-am clean clean-generic clean-libtool \
425 distclean distclean-generic distclean-libtool distdir dvi \
426 dvi-am html html-am info info-am install install-am \
427 install-data install-data-am install-dvi install-dvi-am \
428 install-exec install-exec-am install-html install-html-am \
429 install-info install-info-am install-man install-pdf \
430 install-pdf-am install-ps install-ps-am install-strip \
431 installcheck installcheck-am installdirs maintainer-clean \
432 maintainer-clean-generic mostlyclean mostlyclean-generic \
433 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
434
435
436@INTLTOOL_XML_NOMERGE_RULE@
437
438@GSETTINGS_RULES@
439
440# Tell versions [3.59,3.63) of GNU make to not export all variables.
441# Otherwise a system limit (for SysV at least) may be exceeded.
442.NOEXPORT:
0443
=== modified file 'data/com.canonical.indicator.power.gschema.xml'
--- data/com.canonical.indicator.power.gschema.xml 2011-09-23 17:03:11 +0000
+++ data/com.canonical.indicator.power.gschema.xml 2012-02-14 22:32:23 +0000
@@ -1,10 +1,20 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<schemalist>2<schemalist>
3 <enum id="icon-policy-enum">
4 <value value="0" nick="present"/>
5 <value value="1" nick="charge"/>
6 <value value="2" nick="never"/>
7 </enum>
3 <schema path="/com/canonical/indicator/power/" id="com.canonical.indicator.power" gettext-domain="@GETTEXT_PACKAGE@">8 <schema path="/com/canonical/indicator/power/" id="com.canonical.indicator.power" gettext-domain="@GETTEXT_PACKAGE@">
4 <key type="b" name="show-time">9 <key type="b" name="show-time">
5 <default>false</default>10 <default>false</default>
6 <summary>Show time in Menu Bar</summary>11 <summary>Show time in Menu Bar</summary>
7 <description>Whether show the time in the menu bar.</description>12 <description>Whether or not to show the time in the menu bar.</description>
13 </key>
14 <key name="icon-policy" enum="icon-policy-enum">
15 <default>"present"</default>
16 <summary>When to show the battery status in the menu bar.</summary>
17 <description>Options for when to show battery status. Valid options are "present", "charge", and "never".</description>
8 </key>18 </key>
9 </schema>19 </schema>
10</schemalist>20</schemalist>
11\ No newline at end of file21\ No newline at end of file
1222
=== modified file 'data/com.canonical.indicator.power.gschema.xml.in'
--- data/com.canonical.indicator.power.gschema.xml.in 2011-08-25 17:46:15 +0000
+++ data/com.canonical.indicator.power.gschema.xml.in 2012-02-14 22:32:23 +0000
@@ -1,9 +1,19 @@
1<schemalist>1<schemalist>
2 <enum id="icon-policy-enum">
3 <value nick="present" value="0" />
4 <value nick="charge" value="1" />
5 <value nick="never" value="2" />
6 </enum>
2 <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.indicator.power" path="/com/canonical/indicator/power/">7 <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.indicator.power" path="/com/canonical/indicator/power/">
3 <key name="show-time" type="b">8 <key name="show-time" type="b">
4 <default>false</default>9 <default>false</default>
5 <_summary>Show time in Menu Bar</_summary>10 <_summary>Show time in Menu Bar</_summary>
6 <_description>Whether show the time in the menu bar.</_description>11 <_description>Whether or not to show the time in the menu bar.</_description>
12 </key>
13 <key enum="icon-policy-enum" name="icon-policy">
14 <default>"present"</default>
15 <_summary>When to show the battery status in the menu bar.</_summary>
16 <_description>Options for when to show battery status. Valid options are "present", "charge", and "never".</_description>
7 </key>17 </key>
8 </schema>18 </schema>
9</schemalist>19</schemalist>
1020
=== modified file 'debian/changelog'
--- debian/changelog 2012-01-25 14:58:45 +0000
+++ debian/changelog 2012-02-14 22:32:23 +0000
@@ -1,3 +1,11 @@
1indicator-power (1.90-0ubuntu1~ppa1) precise; urgency=low
2
3 * New upstream release.
4 * Support for hiding of icon and settings for it as well
5 * Adding a name hint
6
7 -- Ted Gould <ted@ubuntu.com> Tue, 14 Feb 2012 16:26:48 -0600
8
1indicator-power (0.10-0ubuntu2) precise; urgency=low9indicator-power (0.10-0ubuntu2) precise; urgency=low
210
3 * no change rebuild for libindicator711 * no change rebuild for libindicator7
412
=== added directory 'm4'
=== removed directory 'm4'
=== added file 'm4/gcov.m4'
--- m4/gcov.m4 1970-01-01 00:00:00 +0000
+++ m4/gcov.m4 2012-02-14 22:32:23 +0000
@@ -0,0 +1,83 @@
1# Checks for existence of coverage tools:
2# * gcov
3# * lcov
4# * genhtml
5# * gcovr
6#
7# Sets ac_cv_check_gcov to yes if tooling is present
8# and reports the executables to the variables LCOV, GCOVR and GENHTML.
9AC_DEFUN([AC_TDD_GCOV],
10[AC_CACHE_CHECK([whether code coverage tools are available], ac_cv_check_gcov,
11[
12AC_ARG_ENABLE(gcov,
13 AS_HELP_STRING([--enable-gcov],
14 [enable coverage testing with gcov]),
15 [use_gcov=$enableval], [use_gcov=no])
16
17 if test "x$use_gcov" = "xyes"; then
18 # we need gcc:
19 if test "$GCC" != "yes"; then
20 AC_MSG_ERROR([GCC is required for --enable-gcov])
21 fi
22
23 # Check if ccache is being used
24 AC_CHECK_PROG(SHTOOL, shtool, shtool)
25 case `$SHTOOL path $CC` in
26 *ccache*[)] gcc_ccache=yes;;
27 *[)] gcc_ccache=no;;
28 esac
29
30 if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
31 AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
32 fi
33
34 lcov_version_list="1.6 1.7 1.8 1.9"
35 AC_CHECK_PROG(LCOV, lcov, lcov)
36 AC_CHECK_PROG(GENHTML, genhtml, genhtml)
37 AC_CHECK_PROG(GCOVR, gcovr, gcovr)
38
39 if test "$LCOV"; then
40 AC_CACHE_CHECK([for lcov version], glib_cv_lcov_version, [
41 glib_cv_lcov_version=invalid
42 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
43 for lcov_check_version in $lcov_version_list; do
44 if test "$lcov_version" = "$lcov_check_version"; then
45 glib_cv_lcov_version="$lcov_check_version (ok)"
46 fi
47 done
48 ])
49 else
50 lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
51 AC_MSG_ERROR([$lcov_msg])
52 fi
53
54 case $glib_cv_lcov_version in
55 ""|invalid[)]
56 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
57 AC_MSG_ERROR([$lcov_msg])
58 LCOV="exit 0;"
59 ;;
60 esac
61
62 if test -z "$GENHTML"; then
63 AC_MSG_ERROR([Could not find genhtml from the lcov package])
64 fi
65
66 if test -z "$GCOVR"; then
67 AC_MSG_ERROR([Could not find gcovr; easy_install (or pip) gcovr])
68 fi
69
70
71 # Remove all optimization flags from CFLAGS
72 changequote({,})
73 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
74 changequote([,])
75
76 # Add the special gcc flags
77 COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
78 COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
79 COVERAGE_LDFLAGS="-lgcov"
80
81fi
82])]) # AC_TDD_GCOV
83
084
=== renamed file 'm4/gettext.m4' => 'm4/gettext.m4'
=== renamed file 'm4/iconv.m4' => 'm4/iconv.m4'
=== renamed file 'm4/intlmacosx.m4' => 'm4/intlmacosx.m4'
=== renamed file 'm4/intltool.m4' => 'm4/intltool.m4'
--- m4/intltool.m4 2011-07-07 18:12:06 +0000
+++ m4/intltool.m4 2012-02-14 22:32:23 +0000
@@ -23,7 +23,7 @@
23## the same distribution terms that you use for the rest of that program.23## the same distribution terms that you use for the rest of that program.
2424
25dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])25dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
26# serial 40 IT_PROG_INTLTOOL26# serial 41 IT_PROG_INTLTOOL
27AC_DEFUN([IT_PROG_INTLTOOL], [27AC_DEFUN([IT_PROG_INTLTOOL], [
28AC_PREREQ([2.50])dnl28AC_PREREQ([2.50])dnl
29AC_REQUIRE([AM_NLS])dnl29AC_REQUIRE([AM_NLS])dnl
@@ -55,25 +55,44 @@
55 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])55 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
56fi56fi
5757
58 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 58if test -z "$AM_DEFAULT_VERBOSITY"; then
59INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 59 AM_DEFAULT_VERBOSITY=1
60 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 60fi
61 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 61AC_SUBST([AM_DEFAULT_VERBOSITY])
62 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'62
63 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 63INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
64 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 64INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
65 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 65INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
66INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 66AC_SUBST(INTLTOOL_V_MERGE)
67 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 67AC_SUBST(INTLTOOL__v_MERGE_)
68 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 68AC_SUBST(INTLTOOL__v_MERGE_0)
69 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 69
70 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 70INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
71 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 71intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
72 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 72intltool__v_merge_options_0='-q'
73 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 73AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
74 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 74AC_SUBST(intltool__v_merge_options_)
75 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'75AC_SUBST(intltool__v_merge_options_0)
76 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'76
77 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
78INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
79 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
80 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
81 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
82 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
83 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
84 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
85INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
86 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
87 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
88 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
89 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
90 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
91 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
92 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
93 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
94 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
95 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
7796
78_IT_SUBST(INTLTOOL_DESKTOP_RULE)97_IT_SUBST(INTLTOOL_DESKTOP_RULE)
79_IT_SUBST(INTLTOOL_DIRECTORY_RULE)98_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
@@ -119,7 +138,7 @@
119if test $? -ne 0; then138if test $? -ne 0; then
120 AC_MSG_ERROR([perl 5.8.1 is required for intltool])139 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
121else140else
122 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"141 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
123 AC_MSG_RESULT([$IT_PERL_VERSION])142 AC_MSG_RESULT([$IT_PERL_VERSION])
124fi143fi
125if test "x$2" != "xno-xml"; then144if test "x$2" != "xno-xml"; then
126145
=== renamed file 'm4/lib-ld.m4' => 'm4/lib-ld.m4'
=== renamed file 'm4/lib-link.m4' => 'm4/lib-link.m4'
=== renamed file 'm4/lib-prefix.m4' => 'm4/lib-prefix.m4'
=== renamed file 'm4/libtool.m4' => 'm4/libtool.m4'
--- m4/libtool.m4 2011-07-07 18:12:06 +0000
+++ m4/libtool.m4 2012-02-14 22:32:23 +0000
@@ -1,8 +1,8 @@
1# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-1# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2#2#
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
4# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,4# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
5# Inc.5# Foundation, Inc.
6# Written by Gordon Matzigkeit, 19966# Written by Gordon Matzigkeit, 1996
7#7#
8# This file is free software; the Free Software Foundation gives8# This file is free software; the Free Software Foundation gives
@@ -11,8 +11,8 @@
1111
12m4_define([_LT_COPYING], [dnl12m4_define([_LT_COPYING], [dnl
13# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,13# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,14# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15# Inc.15# Foundation, Inc.
16# Written by Gordon Matzigkeit, 199616# Written by Gordon Matzigkeit, 1996
17#17#
18# This file is part of GNU Libtool.18# This file is part of GNU Libtool.
@@ -146,6 +146,8 @@
146AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl146AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
147AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl147AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
148148
149_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
150dnl
149_LT_DECL([], [host_alias], [0], [The host system])dnl151_LT_DECL([], [host_alias], [0], [The host system])dnl
150_LT_DECL([], [host], [0])dnl152_LT_DECL([], [host], [0])dnl
151_LT_DECL([], [host_os], [0])dnl153_LT_DECL([], [host_os], [0])dnl
@@ -637,7 +639,7 @@
637m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])639m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
638configured by $[0], generated by m4_PACKAGE_STRING.640configured by $[0], generated by m4_PACKAGE_STRING.
639641
640Copyright (C) 2010 Free Software Foundation, Inc.642Copyright (C) 2011 Free Software Foundation, Inc.
641This config.lt script is free software; the Free Software Foundation643This config.lt script is free software; the Free Software Foundation
642gives unlimited permision to copy, distribute and modify it."644gives unlimited permision to copy, distribute and modify it."
643645
@@ -801,6 +803,7 @@
801m4_case([$1],803m4_case([$1],
802 [C], [_LT_LANG(C)],804 [C], [_LT_LANG(C)],
803 [C++], [_LT_LANG(CXX)],805 [C++], [_LT_LANG(CXX)],
806 [Go], [_LT_LANG(GO)],
804 [Java], [_LT_LANG(GCJ)],807 [Java], [_LT_LANG(GCJ)],
805 [Fortran 77], [_LT_LANG(F77)],808 [Fortran 77], [_LT_LANG(F77)],
806 [Fortran], [_LT_LANG(FC)],809 [Fortran], [_LT_LANG(FC)],
@@ -822,6 +825,31 @@
822])# _LT_LANG825])# _LT_LANG
823826
824827
828m4_ifndef([AC_PROG_GO], [
829############################################################
830# NOTE: This macro has been submitted for inclusion into #
831# GNU Autoconf as AC_PROG_GO. When it is available in #
832# a released version of Autoconf we should remove this #
833# macro and use it instead. #
834############################################################
835m4_defun([AC_PROG_GO],
836[AC_LANG_PUSH(Go)dnl
837AC_ARG_VAR([GOC], [Go compiler command])dnl
838AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
839_AC_ARG_VAR_LDFLAGS()dnl
840AC_CHECK_TOOL(GOC, gccgo)
841if test -z "$GOC"; then
842 if test -n "$ac_tool_prefix"; then
843 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
844 fi
845fi
846if test -z "$GOC"; then
847 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
848fi
849])#m4_defun
850])#m4_ifndef
851
852
825# _LT_LANG_DEFAULT_CONFIG853# _LT_LANG_DEFAULT_CONFIG
826# -----------------------854# -----------------------
827m4_defun([_LT_LANG_DEFAULT_CONFIG],855m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -852,6 +880,10 @@
852 m4_ifdef([LT_PROG_GCJ],880 m4_ifdef([LT_PROG_GCJ],
853 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])881 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
854882
883AC_PROVIDE_IFELSE([AC_PROG_GO],
884 [LT_LANG(GO)],
885 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
886
855AC_PROVIDE_IFELSE([LT_PROG_RC],887AC_PROVIDE_IFELSE([LT_PROG_RC],
856 [LT_LANG(RC)],888 [LT_LANG(RC)],
857 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])889 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -954,7 +986,13 @@
954 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \986 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
955 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err987 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
956 _lt_result=$?988 _lt_result=$?
957 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then989 # If there is a non-empty error log, and "single_module"
990 # appears in it, assume the flag caused a linker warning
991 if test -s conftest.err && $GREP single_module conftest.err; then
992 cat conftest.err >&AS_MESSAGE_LOG_FD
993 # Otherwise, if the output was created with a 0 exit code from
994 # the compiler, it worked.
995 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
958 lt_cv_apple_cc_single_mod=yes996 lt_cv_apple_cc_single_mod=yes
959 else997 else
960 cat conftest.err >&AS_MESSAGE_LOG_FD998 cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -962,6 +1000,7 @@
962 rm -rf libconftest.dylib*1000 rm -rf libconftest.dylib*
963 rm -f conftest.*1001 rm -f conftest.*
964 fi])1002 fi])
1003
965 AC_CACHE_CHECK([for -exported_symbols_list linker flag],1004 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
966 [lt_cv_ld_exported_symbols_list],1005 [lt_cv_ld_exported_symbols_list],
967 [lt_cv_ld_exported_symbols_list=no1006 [lt_cv_ld_exported_symbols_list=no
@@ -973,6 +1012,7 @@
973 [lt_cv_ld_exported_symbols_list=no])1012 [lt_cv_ld_exported_symbols_list=no])
974 LDFLAGS="$save_LDFLAGS"1013 LDFLAGS="$save_LDFLAGS"
975 ])1014 ])
1015
976 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],1016 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
977 [lt_cv_ld_force_load=no1017 [lt_cv_ld_force_load=no
978 cat > conftest.c << _LT_EOF1018 cat > conftest.c << _LT_EOF
@@ -990,7 +1030,9 @@
990 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD1030 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
991 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err1031 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
992 _lt_result=$?1032 _lt_result=$?
993 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then1033 if test -s conftest.err && $GREP force_load conftest.err; then
1034 cat conftest.err >&AS_MESSAGE_LOG_FD
1035 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
994 lt_cv_ld_force_load=yes1036 lt_cv_ld_force_load=yes
995 else1037 else
996 cat conftest.err >&AS_MESSAGE_LOG_FD1038 cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -1035,8 +1077,8 @@
1035])1077])
10361078
10371079
1038# _LT_DARWIN_LINKER_FEATURES1080# _LT_DARWIN_LINKER_FEATURES([TAG])
1039# --------------------------1081# ---------------------------------
1040# Checks for linker and compiler features on darwin1082# Checks for linker and compiler features on darwin
1041m4_defun([_LT_DARWIN_LINKER_FEATURES],1083m4_defun([_LT_DARWIN_LINKER_FEATURES],
1042[1084[
@@ -1047,6 +1089,8 @@
1047 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported1089 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1048 if test "$lt_cv_ld_force_load" = "yes"; then1090 if test "$lt_cv_ld_force_load" = "yes"; then
1049 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'1091 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1092 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1093 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1050 else1094 else
1051 _LT_TAGVAR(whole_archive_flag_spec, $1)=''1095 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1052 fi1096 fi
@@ -1330,14 +1374,27 @@
1330 CFLAGS="$SAVE_CFLAGS"1374 CFLAGS="$SAVE_CFLAGS"
1331 fi1375 fi
1332 ;;1376 ;;
1333sparc*-*solaris*)1377*-*solaris*)
1334 # Find out which ABI we are using.1378 # Find out which ABI we are using.
1335 echo 'int i;' > conftest.$ac_ext1379 echo 'int i;' > conftest.$ac_ext
1336 if AC_TRY_EVAL(ac_compile); then1380 if AC_TRY_EVAL(ac_compile); then
1337 case `/usr/bin/file conftest.o` in1381 case `/usr/bin/file conftest.o` in
1338 *64-bit*)1382 *64-bit*)
1339 case $lt_cv_prog_gnu_ld in1383 case $lt_cv_prog_gnu_ld in
1340 yes*) LD="${LD-ld} -m elf64_sparc" ;;1384 yes*)
1385 case $host in
1386 i?86-*-solaris*)
1387 LD="${LD-ld} -m elf_x86_64"
1388 ;;
1389 sparc*-*-solaris*)
1390 LD="${LD-ld} -m elf64_sparc"
1391 ;;
1392 esac
1393 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1394 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1395 LD="${LD-ld}_sol2"
1396 fi
1397 ;;
1341 *)1398 *)
1342 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then1399 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1343 LD="${LD-ld} -64"1400 LD="${LD-ld} -64"
@@ -1414,13 +1471,13 @@
1414if test -n "$RANLIB"; then1471if test -n "$RANLIB"; then
1415 case $host_os in1472 case $host_os in
1416 openbsd*)1473 openbsd*)
1417 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"1474 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1418 ;;1475 ;;
1419 *)1476 *)
1420 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"1477 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1421 ;;1478 ;;
1422 esac1479 esac
1423 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"1480 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1424fi1481fi
14251482
1426case $host_os in1483case $host_os in
@@ -1600,6 +1657,11 @@
1600 lt_cv_sys_max_cmd_len=1966081657 lt_cv_sys_max_cmd_len=196608
1601 ;;1658 ;;
16021659
1660 os2*)
1661 # The test takes a long time on OS/2.
1662 lt_cv_sys_max_cmd_len=8192
1663 ;;
1664
1603 osf*)1665 osf*)
1604 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure1666 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1605 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not1667 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -1639,7 +1701,7 @@
1639 # If test is not a shell built-in, we'll probably end up computing a1701 # If test is not a shell built-in, we'll probably end up computing a
1640 # maximum length that is only half of the actual maximum length, but1702 # maximum length that is only half of the actual maximum length, but
1641 # we can't tell.1703 # we can't tell.
1642 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \1704 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1643 = "X$teststring$teststring"; } >/dev/null 2>&1 &&1705 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1644 test $i != 17 # 1/2 MB should be enough1706 test $i != 17 # 1/2 MB should be enough
1645 do1707 do
@@ -2185,7 +2247,7 @@
21852247
2186case $host_os in2248case $host_os in
2187aix3*)2249aix3*)
2188 version_type=linux2250 version_type=linux # correct to gnu/linux during the next big refactor
2189 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'2251 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2190 shlibpath_var=LIBPATH2252 shlibpath_var=LIBPATH
21912253
@@ -2194,7 +2256,7 @@
2194 ;;2256 ;;
21952257
2196aix[[4-9]]*)2258aix[[4-9]]*)
2197 version_type=linux2259 version_type=linux # correct to gnu/linux during the next big refactor
2198 need_lib_prefix=no2260 need_lib_prefix=no
2199 need_version=no2261 need_version=no
2200 hardcode_into_libs=yes2262 hardcode_into_libs=yes
@@ -2259,7 +2321,7 @@
2259 ;;2321 ;;
22602322
2261bsdi[[45]]*)2323bsdi[[45]]*)
2262 version_type=linux2324 version_type=linux # correct to gnu/linux during the next big refactor
2263 need_version=no2325 need_version=no
2264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2265 soname_spec='${libname}${release}${shared_ext}$major'2327 soname_spec='${libname}${release}${shared_ext}$major'
@@ -2398,7 +2460,7 @@
2398 ;;2460 ;;
23992461
2400dgux*)2462dgux*)
2401 version_type=linux2463 version_type=linux # correct to gnu/linux during the next big refactor
2402 need_lib_prefix=no2464 need_lib_prefix=no
2403 need_version=no2465 need_version=no
2404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'2466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -2406,10 +2468,6 @@
2406 shlibpath_var=LD_LIBRARY_PATH2468 shlibpath_var=LD_LIBRARY_PATH
2407 ;;2469 ;;
24082470
2409freebsd1*)
2410 dynamic_linker=no
2411 ;;
2412
2413freebsd* | dragonfly*)2471freebsd* | dragonfly*)
2414 # DragonFly does not have aout. When/if they implement a new2472 # DragonFly does not have aout. When/if they implement a new
2415 # versioning mechanism, adjust this.2473 # versioning mechanism, adjust this.
@@ -2417,7 +2475,7 @@
2417 objformat=`/usr/bin/objformat`2475 objformat=`/usr/bin/objformat`
2418 else2476 else
2419 case $host_os in2477 case $host_os in
2420 freebsd[[123]]*) objformat=aout ;;2478 freebsd[[23]].*) objformat=aout ;;
2421 *) objformat=elf ;;2479 *) objformat=elf ;;
2422 esac2480 esac
2423 fi2481 fi
@@ -2435,7 +2493,7 @@
2435 esac2493 esac
2436 shlibpath_var=LD_LIBRARY_PATH2494 shlibpath_var=LD_LIBRARY_PATH
2437 case $host_os in2495 case $host_os in
2438 freebsd2*)2496 freebsd2.*)
2439 shlibpath_overrides_runpath=yes2497 shlibpath_overrides_runpath=yes
2440 ;;2498 ;;
2441 freebsd3.[[01]]* | freebsdelf3.[[01]]*)2499 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -2455,7 +2513,7 @@
2455 ;;2513 ;;
24562514
2457gnu*)2515gnu*)
2458 version_type=linux2516 version_type=linux # correct to gnu/linux during the next big refactor
2459 need_lib_prefix=no2517 need_lib_prefix=no
2460 need_version=no2518 need_version=no
2461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'2519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
@@ -2466,7 +2524,7 @@
2466 ;;2524 ;;
24672525
2468haiku*)2526haiku*)
2469 version_type=linux2527 version_type=linux # correct to gnu/linux during the next big refactor
2470 need_lib_prefix=no2528 need_lib_prefix=no
2471 need_version=no2529 need_version=no
2472 dynamic_linker="$host_os runtime_loader"2530 dynamic_linker="$host_os runtime_loader"
@@ -2527,7 +2585,7 @@
2527 ;;2585 ;;
25282586
2529interix[[3-9]]*)2587interix[[3-9]]*)
2530 version_type=linux2588 version_type=linux # correct to gnu/linux during the next big refactor
2531 need_lib_prefix=no2589 need_lib_prefix=no
2532 need_version=no2590 need_version=no
2533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'2591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -2543,7 +2601,7 @@
2543 nonstopux*) version_type=nonstopux ;;2601 nonstopux*) version_type=nonstopux ;;
2544 *)2602 *)
2545 if test "$lt_cv_prog_gnu_ld" = yes; then2603 if test "$lt_cv_prog_gnu_ld" = yes; then
2546 version_type=linux2604 version_type=linux # correct to gnu/linux during the next big refactor
2547 else2605 else
2548 version_type=irix2606 version_type=irix
2549 fi ;;2607 fi ;;
@@ -2580,9 +2638,9 @@
2580 dynamic_linker=no2638 dynamic_linker=no
2581 ;;2639 ;;
25822640
2583# This must be Linux ELF.2641# This must be glibc/ELF.
2584linux* | k*bsd*-gnu | kopensolaris*-gnu)2642linux* | k*bsd*-gnu | kopensolaris*-gnu)
2585 version_type=linux2643 version_type=linux # correct to gnu/linux during the next big refactor
2586 need_lib_prefix=no2644 need_lib_prefix=no
2587 need_version=no2645 need_version=no
2588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2657,7 +2715,7 @@
2657 ;;2715 ;;
26582716
2659newsos6)2717newsos6)
2660 version_type=linux2718 version_type=linux # correct to gnu/linux during the next big refactor
2661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2662 shlibpath_var=LD_LIBRARY_PATH2720 shlibpath_var=LD_LIBRARY_PATH
2663 shlibpath_overrides_runpath=yes2721 shlibpath_overrides_runpath=yes
@@ -2726,7 +2784,7 @@
2726 ;;2784 ;;
27272785
2728solaris*)2786solaris*)
2729 version_type=linux2787 version_type=linux # correct to gnu/linux during the next big refactor
2730 need_lib_prefix=no2788 need_lib_prefix=no
2731 need_version=no2789 need_version=no
2732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2751,7 +2809,7 @@
2751 ;;2809 ;;
27522810
2753sysv4 | sysv4.3*)2811sysv4 | sysv4.3*)
2754 version_type=linux2812 version_type=linux # correct to gnu/linux during the next big refactor
2755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2756 soname_spec='${libname}${release}${shared_ext}$major'2814 soname_spec='${libname}${release}${shared_ext}$major'
2757 shlibpath_var=LD_LIBRARY_PATH2815 shlibpath_var=LD_LIBRARY_PATH
@@ -2775,7 +2833,7 @@
27752833
2776sysv4*MP*)2834sysv4*MP*)
2777 if test -d /usr/nec ;then2835 if test -d /usr/nec ;then
2778 version_type=linux2836 version_type=linux # correct to gnu/linux during the next big refactor
2779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'2837 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2780 soname_spec='$libname${shared_ext}.$major'2838 soname_spec='$libname${shared_ext}.$major'
2781 shlibpath_var=LD_LIBRARY_PATH2839 shlibpath_var=LD_LIBRARY_PATH
@@ -2806,7 +2864,7 @@
28062864
2807tpf*)2865tpf*)
2808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.2866 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
2809 version_type=linux2867 version_type=linux # correct to gnu/linux during the next big refactor
2810 need_lib_prefix=no2868 need_lib_prefix=no
2811 need_version=no2869 need_version=no
2812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2816,7 +2874,7 @@
2816 ;;2874 ;;
28172875
2818uts4*)2876uts4*)
2819 version_type=linux2877 version_type=linux # correct to gnu/linux during the next big refactor
2820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2821 soname_spec='${libname}${release}${shared_ext}$major'2879 soname_spec='${libname}${release}${shared_ext}$major'
2822 shlibpath_var=LD_LIBRARY_PATH2880 shlibpath_var=LD_LIBRARY_PATH
@@ -3238,7 +3296,7 @@
3238 lt_cv_deplibs_check_method=pass_all3296 lt_cv_deplibs_check_method=pass_all
3239 ;;3297 ;;
32403298
3241# This must be Linux ELF.3299# This must be glibc/ELF.
3242linux* | k*bsd*-gnu | kopensolaris*-gnu)3300linux* | k*bsd*-gnu | kopensolaris*-gnu)
3243 lt_cv_deplibs_check_method=pass_all3301 lt_cv_deplibs_check_method=pass_all
3244 ;;3302 ;;
@@ -3658,6 +3716,7 @@
3658 # which start with @ or ?.3716 # which start with @ or ?.
3659 lt_cv_sys_global_symbol_pipe="$AWK ['"\3717 lt_cv_sys_global_symbol_pipe="$AWK ['"\
3660" {last_section=section; section=\$ 3};"\3718" {last_section=section; section=\$ 3};"\
3719" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3661" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\3720" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3662" \$ 0!~/External *\|/{next};"\3721" \$ 0!~/External *\|/{next};"\
3663" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\3722" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -4242,7 +4301,9 @@
4242 case $cc_basename in4301 case $cc_basename in
4243 nvcc*) # Cuda Compiler Driver 2.24302 nvcc*) # Cuda Compiler Driver 2.2
4244 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '4303 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4245 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'4304 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4305 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4306 fi
4246 ;;4307 ;;
4247 esac4308 esac
4248 else4309 else
@@ -4334,18 +4395,33 @@
4334 ;;4395 ;;
4335 *)4396 *)
4336 case `$CC -V 2>&1 | sed 5q` in4397 case `$CC -V 2>&1 | sed 5q` in
4337 *Sun\ F* | *Sun*Fortran*)4398 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4338 # Sun Fortran 8.3 passes all unrecognized flags to the linker4399 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4339 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4400 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4340 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4401 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4341 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''4402 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4342 ;;4403 ;;
4404 *Sun\ F* | *Sun*Fortran*)
4405 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4406 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4407 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4408 ;;
4343 *Sun\ C*)4409 *Sun\ C*)
4344 # Sun C 5.94410 # Sun C 5.9
4345 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4411 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4346 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4412 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4347 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4413 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4348 ;;4414 ;;
4415 *Intel*\ [[CF]]*Compiler*)
4416 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4417 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4418 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4419 ;;
4420 *Portland\ Group*)
4421 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4422 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4423 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4424 ;;
4349 esac4425 esac
4350 ;;4426 ;;
4351 esac4427 esac
@@ -4505,7 +4581,9 @@
4505 ;;4581 ;;
4506 cygwin* | mingw* | cegcc*)4582 cygwin* | mingw* | cegcc*)
4507 case $cc_basename in4583 case $cc_basename in
4508 cl*) ;;4584 cl*)
4585 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4586 ;;
4509 *)4587 *)
4510 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'4588 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4511 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']4589 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
@@ -4533,7 +4611,6 @@
4533 _LT_TAGVAR(hardcode_direct, $1)=no4611 _LT_TAGVAR(hardcode_direct, $1)=no
4534 _LT_TAGVAR(hardcode_direct_absolute, $1)=no4612 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4535 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=4613 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4536 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4537 _LT_TAGVAR(hardcode_libdir_separator, $1)=4614 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4538 _LT_TAGVAR(hardcode_minus_L, $1)=no4615 _LT_TAGVAR(hardcode_minus_L, $1)=no
4539 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported4616 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -4787,8 +4864,7 @@
4787 xlf* | bgf* | bgxlf* | mpixlf*)4864 xlf* | bgf* | bgxlf* | mpixlf*)
4788 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself4865 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4789 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'4866 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4790 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=4867 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4791 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4792 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'4868 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4793 if test "x$supports_anon_versioning" = xyes; then4869 if test "x$supports_anon_versioning" = xyes; then
4794 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~4870 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
@@ -5084,6 +5160,7 @@
5084 # The linker will not automatically build a static lib if we build a DLL.5160 # The linker will not automatically build a static lib if we build a DLL.
5085 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'5161 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5086 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes5162 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5163 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5087 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'5164 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5088 # Don't use ranlib5165 # Don't use ranlib
5089 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'5166 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
@@ -5130,10 +5207,6 @@
5130 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no5207 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5131 ;;5208 ;;
51325209
5133 freebsd1*)
5134 _LT_TAGVAR(ld_shlibs, $1)=no
5135 ;;
5136
5137 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor5210 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5138 # support. Future versions do this automatically, but an explicit c++rt0.o5211 # support. Future versions do this automatically, but an explicit c++rt0.o
5139 # does not break anything, and helps significantly (at the cost of a little5212 # does not break anything, and helps significantly (at the cost of a little
@@ -5146,7 +5219,7 @@
5146 ;;5219 ;;
51475220
5148 # Unfortunately, older versions of FreeBSD 2 do not have this feature.5221 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5149 freebsd2*)5222 freebsd2.*)
5150 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'5223 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5151 _LT_TAGVAR(hardcode_direct, $1)=yes5224 _LT_TAGVAR(hardcode_direct, $1)=yes
5152 _LT_TAGVAR(hardcode_minus_L, $1)=yes5225 _LT_TAGVAR(hardcode_minus_L, $1)=yes
@@ -5185,7 +5258,6 @@
5185 fi5258 fi
5186 if test "$with_gnu_ld" = no; then5259 if test "$with_gnu_ld" = no; then
5187 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'5260 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5188 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5189 _LT_TAGVAR(hardcode_libdir_separator, $1)=:5261 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5190 _LT_TAGVAR(hardcode_direct, $1)=yes5262 _LT_TAGVAR(hardcode_direct, $1)=yes
5191 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes5263 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -5627,9 +5699,6 @@
5627_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],5699_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5628 [Flag to hardcode $libdir into a binary during linking.5700 [Flag to hardcode $libdir into a binary during linking.
5629 This must work even if $libdir does not exist])5701 This must work even if $libdir does not exist])
5630_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5631 [[If ld is used when linking, flag to hardcode $libdir into a binary
5632 during linking. This must work even if $libdir does not exist]])
5633_LT_TAGDECL([], [hardcode_libdir_separator], [1],5702_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5634 [Whether we need a single "-rpath" flag with a separated argument])5703 [Whether we need a single "-rpath" flag with a separated argument])
5635_LT_TAGDECL([], [hardcode_direct], [0],5704_LT_TAGDECL([], [hardcode_direct], [0],
@@ -5787,7 +5856,6 @@
5787_LT_TAGVAR(hardcode_direct, $1)=no5856_LT_TAGVAR(hardcode_direct, $1)=no
5788_LT_TAGVAR(hardcode_direct_absolute, $1)=no5857_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5789_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=5858_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5790_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5791_LT_TAGVAR(hardcode_libdir_separator, $1)=5859_LT_TAGVAR(hardcode_libdir_separator, $1)=
5792_LT_TAGVAR(hardcode_minus_L, $1)=no5860_LT_TAGVAR(hardcode_minus_L, $1)=no
5793_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported5861_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -6157,7 +6225,7 @@
6157 esac6225 esac
6158 ;;6226 ;;
61596227
6160 freebsd[[12]]*)6228 freebsd2.*)
6161 # C++ shared libraries reported to be fairly broken before6229 # C++ shared libraries reported to be fairly broken before
6162 # switch to ELF6230 # switch to ELF
6163 _LT_TAGVAR(ld_shlibs, $1)=no6231 _LT_TAGVAR(ld_shlibs, $1)=no
@@ -6918,12 +6986,18 @@
6918 }6986 }
6919};6987};
6920_LT_EOF6988_LT_EOF
6989], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
6990package foo
6991func foo() {
6992}
6993_LT_EOF
6921])6994])
69226995
6923_lt_libdeps_save_CFLAGS=$CFLAGS6996_lt_libdeps_save_CFLAGS=$CFLAGS
6924case "$CC $CFLAGS " in #(6997case "$CC $CFLAGS " in #(
6925*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;6998*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
6926*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;6999*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7000*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
6927esac7001esac
69287002
6929dnl Parse the compiler output and extract the necessary7003dnl Parse the compiler output and extract the necessary
@@ -7120,7 +7194,6 @@
7120_LT_TAGVAR(hardcode_direct, $1)=no7194_LT_TAGVAR(hardcode_direct, $1)=no
7121_LT_TAGVAR(hardcode_direct_absolute, $1)=no7195_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7122_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=7196_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7123_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7124_LT_TAGVAR(hardcode_libdir_separator, $1)=7197_LT_TAGVAR(hardcode_libdir_separator, $1)=
7125_LT_TAGVAR(hardcode_minus_L, $1)=no7198_LT_TAGVAR(hardcode_minus_L, $1)=no
7126_LT_TAGVAR(hardcode_automatic, $1)=no7199_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -7253,7 +7326,6 @@
7253_LT_TAGVAR(hardcode_direct, $1)=no7326_LT_TAGVAR(hardcode_direct, $1)=no
7254_LT_TAGVAR(hardcode_direct_absolute, $1)=no7327_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7255_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=7328_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7256_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7257_LT_TAGVAR(hardcode_libdir_separator, $1)=7329_LT_TAGVAR(hardcode_libdir_separator, $1)=
7258_LT_TAGVAR(hardcode_minus_L, $1)=no7330_LT_TAGVAR(hardcode_minus_L, $1)=no
7259_LT_TAGVAR(hardcode_automatic, $1)=no7331_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -7440,6 +7512,77 @@
7440])# _LT_LANG_GCJ_CONFIG7512])# _LT_LANG_GCJ_CONFIG
74417513
74427514
7515# _LT_LANG_GO_CONFIG([TAG])
7516# --------------------------
7517# Ensure that the configuration variables for the GNU Go compiler
7518# are suitably defined. These variables are subsequently used by _LT_CONFIG
7519# to write the compiler configuration to `libtool'.
7520m4_defun([_LT_LANG_GO_CONFIG],
7521[AC_REQUIRE([LT_PROG_GO])dnl
7522AC_LANG_SAVE
7523
7524# Source file extension for Go test sources.
7525ac_ext=go
7526
7527# Object file extension for compiled Go test sources.
7528objext=o
7529_LT_TAGVAR(objext, $1)=$objext
7530
7531# Code to be used in simple compile tests
7532lt_simple_compile_test_code="package main; func main() { }"
7533
7534# Code to be used in simple link tests
7535lt_simple_link_test_code='package main; func main() { }'
7536
7537# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7538_LT_TAG_COMPILER
7539
7540# save warnings/boilerplate of simple test code
7541_LT_COMPILER_BOILERPLATE
7542_LT_LINKER_BOILERPLATE
7543
7544# Allow CC to be a program name with arguments.
7545lt_save_CC=$CC
7546lt_save_CFLAGS=$CFLAGS
7547lt_save_GCC=$GCC
7548GCC=yes
7549CC=${GOC-"gccgo"}
7550CFLAGS=$GOFLAGS
7551compiler=$CC
7552_LT_TAGVAR(compiler, $1)=$CC
7553_LT_TAGVAR(LD, $1)="$LD"
7554_LT_CC_BASENAME([$compiler])
7555
7556# Go did not exist at the time GCC didn't implicitly link libc in.
7557_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7558
7559_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7560_LT_TAGVAR(reload_flag, $1)=$reload_flag
7561_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7562
7563## CAVEAT EMPTOR:
7564## There is no encapsulation within the following macros, do not change
7565## the running order or otherwise move them around unless you know exactly
7566## what you are doing...
7567if test -n "$compiler"; then
7568 _LT_COMPILER_NO_RTTI($1)
7569 _LT_COMPILER_PIC($1)
7570 _LT_COMPILER_C_O($1)
7571 _LT_COMPILER_FILE_LOCKS($1)
7572 _LT_LINKER_SHLIBS($1)
7573 _LT_LINKER_HARDCODE_LIBPATH($1)
7574
7575 _LT_CONFIG($1)
7576fi
7577
7578AC_LANG_RESTORE
7579
7580GCC=$lt_save_GCC
7581CC=$lt_save_CC
7582CFLAGS=$lt_save_CFLAGS
7583])# _LT_LANG_GO_CONFIG
7584
7585
7443# _LT_LANG_RC_CONFIG([TAG])7586# _LT_LANG_RC_CONFIG([TAG])
7444# -------------------------7587# -------------------------
7445# Ensure that the configuration variables for the Windows resource compiler7588# Ensure that the configuration variables for the Windows resource compiler
@@ -7509,6 +7652,13 @@
7509dnl AC_DEFUN([LT_AC_PROG_GCJ], [])7652dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
75107653
75117654
7655# LT_PROG_GO
7656# ----------
7657AC_DEFUN([LT_PROG_GO],
7658[AC_CHECK_TOOL(GOC, gccgo,)
7659])
7660
7661
7512# LT_PROG_RC7662# LT_PROG_RC
7513# ----------7663# ----------
7514AC_DEFUN([LT_PROG_RC],7664AC_DEFUN([LT_PROG_RC],
75157665
=== renamed file 'm4/ltoptions.m4' => 'm4/ltoptions.m4'
--- m4/ltoptions.m4 2011-07-07 18:12:06 +0000
+++ m4/ltoptions.m4 2012-02-14 22:32:23 +0000
@@ -326,9 +326,24 @@
326# MODE is either `yes' or `no'. If omitted, it defaults to `both'.326# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
327m4_define([_LT_WITH_PIC],327m4_define([_LT_WITH_PIC],
328[AC_ARG_WITH([pic],328[AC_ARG_WITH([pic],
329 [AS_HELP_STRING([--with-pic],329 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
330 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],330 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
331 [pic_mode="$withval"],331 [lt_p=${PACKAGE-default}
332 case $withval in
333 yes|no) pic_mode=$withval ;;
334 *)
335 pic_mode=default
336 # Look at the argument we got. We use all the common list separators.
337 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
338 for lt_pkg in $withval; do
339 IFS="$lt_save_ifs"
340 if test "X$lt_pkg" = "X$lt_p"; then
341 pic_mode=yes
342 fi
343 done
344 IFS="$lt_save_ifs"
345 ;;
346 esac],
332 [pic_mode=default])347 [pic_mode=default])
333348
334test -z "$pic_mode" && pic_mode=m4_default([$1], [default])349test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
335350
=== renamed file 'm4/ltsugar.m4' => 'm4/ltsugar.m4'
=== renamed file 'm4/ltversion.m4' => 'm4/ltversion.m4'
--- m4/ltversion.m4 2011-07-07 18:12:06 +0000
+++ m4/ltversion.m4 2012-02-14 22:32:23 +0000
@@ -9,15 +9,15 @@
99
10# @configure_input@10# @configure_input@
1111
12# serial 3293 ltversion.m412# serial 3337 ltversion.m4
13# This file is part of GNU Libtool13# This file is part of GNU Libtool
1414
15m4_define([LT_PACKAGE_VERSION], [2.4])15m4_define([LT_PACKAGE_VERSION], [2.4.2])
16m4_define([LT_PACKAGE_REVISION], [1.3293])16m4_define([LT_PACKAGE_REVISION], [1.3337])
1717
18AC_DEFUN([LTVERSION_VERSION],18AC_DEFUN([LTVERSION_VERSION],
19[macro_version='2.4'19[macro_version='2.4.2'
20macro_revision='1.3293'20macro_revision='1.3337'
21_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])21_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
22_LT_DECL(, macro_revision, 0)22_LT_DECL(, macro_revision, 0)
23])23])
2424
=== renamed file 'm4/lt~obsolete.m4' => 'm4/lt~obsolete.m4'
=== renamed file 'm4/nls.m4' => 'm4/nls.m4'
=== renamed file 'm4/po.m4' => 'm4/po.m4'
=== renamed file 'm4/progtest.m4' => 'm4/progtest.m4'
=== modified file 'po/Makefile.in.in'
--- po/Makefile.in.in 2011-07-07 18:12:06 +0000
+++ po/Makefile.in.in 2012-02-14 22:32:23 +0000
@@ -49,8 +49,8 @@
49XGETTEXT = @XGETTEXT@49XGETTEXT = @XGETTEXT@
50INTLTOOL_UPDATE = @INTLTOOL_UPDATE@50INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
51INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@51INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
52MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist52MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
53GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot53GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
5454
55ALL_LINGUAS = @ALL_LINGUAS@55ALL_LINGUAS = @ALL_LINGUAS@
5656
@@ -73,15 +73,20 @@
73.SUFFIXES:73.SUFFIXES:
74.SUFFIXES: .po .pox .gmo .mo .msg .cat74.SUFFIXES: .po .pox .gmo .mo .msg .cat
7575
76AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
77INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V))
78INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
79INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@;
80
76.po.pox:81.po.pox:
77 $(MAKE) $(GETTEXT_PACKAGE).pot82 $(MAKE) $(GETTEXT_PACKAGE).pot
78 $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox83 $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
7984
80.po.mo:85.po.mo:
81 $(MSGFMT) -o $@ $<86 $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
8287
83.po.gmo:88.po.gmo:
84 file=`echo $* | sed 's,.*/,,'`.gmo \89 $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \
85 && rm -f $$file && $(GMSGFMT) -o $$file $<90 && rm -f $$file && $(GMSGFMT) -o $$file $<
8691
87.po.cat:92.po.cat:
8893
=== modified file 'src/indicator-power.c'
--- src/indicator-power.c 2011-10-24 16:27:33 +0000
+++ src/indicator-power.c 2012-02-14 22:32:23 +0000
@@ -24,7 +24,6 @@
24#endif24#endif
2525
26/* GStuff */26/* GStuff */
27#include <glib.h>
28#include <glib-object.h>27#include <glib-object.h>
29#include <glib/gi18n-lib.h>28#include <glib/gi18n-lib.h>
30#include <gio/gio.h>29#include <gio/gio.h>
@@ -36,6 +35,8 @@
36#include <libindicator/indicator.h>35#include <libindicator/indicator.h>
37#include <libindicator/indicator-object.h>36#include <libindicator/indicator-object.h>
3837
38#define ICON_POLICY_KEY "icon-policy"
39
39#define DEFAULT_ICON "gpm-battery-missing"40#define DEFAULT_ICON "gpm-battery-missing"
4041
41#define DBUS_SERVICE "org.gnome.SettingsDaemon"42#define DBUS_SERVICE "org.gnome.SettingsDaemon"
@@ -43,6 +44,12 @@
43#define POWER_DBUS_PATH DBUS_PATH "/Power"44#define POWER_DBUS_PATH DBUS_PATH "/Power"
44#define POWER_DBUS_INTERFACE "org.gnome.SettingsDaemon.Power"45#define POWER_DBUS_INTERFACE "org.gnome.SettingsDaemon.Power"
4546
47enum {
48 POWER_INDICATOR_ICON_POLICY_PRESENT,
49 POWER_INDICATOR_ICON_POLICY_CHARGE,
50 POWER_INDICATOR_ICON_POLICY_NEVER
51};
52
46#define INDICATOR_POWER_TYPE (indicator_power_get_type ())53#define INDICATOR_POWER_TYPE (indicator_power_get_type ())
47#define INDICATOR_POWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_POWER_TYPE, IndicatorPower))54#define INDICATOR_POWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_POWER_TYPE, IndicatorPower))
48#define INDICATOR_POWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_POWER_TYPE, IndicatorPowerClass))55#define INDICATOR_POWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_POWER_TYPE, IndicatorPowerClass))
@@ -50,27 +57,18 @@
50#define IS_INDICATOR_POWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_POWER_TYPE))57#define IS_INDICATOR_POWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_POWER_TYPE))
51#define INDICATOR_POWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_POWER_TYPE, IndicatorPowerClass))58#define INDICATOR_POWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_POWER_TYPE, IndicatorPowerClass))
5259
60typedef struct _IndicatorPowerClass IndicatorPowerClass;
53typedef struct _IndicatorPower IndicatorPower;61typedef struct _IndicatorPower IndicatorPower;
54typedef struct _IndicatorPowerClass IndicatorPowerClass;62
55typedef struct _IndicatorPowerPrivate IndicatorPowerPrivate;63struct _IndicatorPowerClass
64{
65 IndicatorObjectClass parent_class;
66};
5667
57struct _IndicatorPower68struct _IndicatorPower
58{69{
59 IndicatorObject parent_instance;70 IndicatorObject parent_instance;
6071
61 IndicatorPowerPrivate *priv;
62};
63
64struct _IndicatorPowerClass
65{
66 IndicatorObjectClass parent_class;
67};
68
69GType indicator_power_get_type (void) G_GNUC_CONST;
70
71
72struct _IndicatorPowerPrivate
73{
74 GtkMenu *menu;72 GtkMenu *menu;
7573
76 GtkLabel *label;74 GtkLabel *label;
@@ -87,9 +85,12 @@
87 GSettings *settings;85 GSettings *settings;
88};86};
8987
88GType indicator_power_get_type (void) G_GNUC_CONST;
89
90INDICATOR_SET_VERSION
91INDICATOR_SET_TYPE (INDICATOR_POWER_TYPE)
92
90/* Prototypes */93/* Prototypes */
91static void indicator_power_class_init (IndicatorPowerClass *klass);
92static void indicator_power_init (IndicatorPower *self);
93static void indicator_power_dispose (GObject *object);94static void indicator_power_dispose (GObject *object);
94static void indicator_power_finalize (GObject *object);95static void indicator_power_finalize (GObject *object);
9596
@@ -97,16 +98,15 @@
97static GtkImage* get_image (IndicatorObject * io);98static GtkImage* get_image (IndicatorObject * io);
98static GtkMenu* get_menu (IndicatorObject * io);99static GtkMenu* get_menu (IndicatorObject * io);
99static const gchar* get_accessible_desc (IndicatorObject * io);100static const gchar* get_accessible_desc (IndicatorObject * io);
100101static const gchar* get_name_hint (IndicatorObject * io);
102
103static void update_visibility (IndicatorPower * self);
104static gboolean should_be_visible (IndicatorPower * self);
105
106static void gsd_appeared_callback (GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer user_data);
101107
102G_DEFINE_TYPE (IndicatorPower, indicator_power, INDICATOR_OBJECT_TYPE);108G_DEFINE_TYPE (IndicatorPower, indicator_power, INDICATOR_OBJECT_TYPE);
103109
104
105/* Indicator stuff */
106INDICATOR_SET_VERSION
107INDICATOR_SET_TYPE (INDICATOR_POWER_TYPE)
108
109
110static void110static void
111indicator_power_class_init (IndicatorPowerClass *klass)111indicator_power_class_init (IndicatorPowerClass *klass)
112{112{
@@ -120,8 +120,76 @@
120 io_class->get_image = get_image;120 io_class->get_image = get_image;
121 io_class->get_menu = get_menu;121 io_class->get_menu = get_menu;
122 io_class->get_accessible_desc = get_accessible_desc;122 io_class->get_accessible_desc = get_accessible_desc;
123123 io_class->get_name_hint = get_name_hint;
124 g_type_class_add_private (klass, sizeof (IndicatorPowerPrivate));124}
125
126static void
127indicator_power_init (IndicatorPower *self)
128{
129 self->menu = GTK_MENU(gtk_menu_new());
130
131 self->accessible_desc = NULL;
132
133 self->watcher_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
134 DBUS_SERVICE,
135 G_BUS_NAME_WATCHER_FLAGS_NONE,
136 gsd_appeared_callback,
137 NULL,
138 self,
139 NULL);
140
141 self->settings = g_settings_new ("com.canonical.indicator.power");
142 g_signal_connect_swapped (self->settings, "changed::" ICON_POLICY_KEY,
143 G_CALLBACK(update_visibility), self);
144 g_object_set (G_OBJECT(self),
145 INDICATOR_OBJECT_DEFAULT_VISIBILITY, FALSE,
146 NULL);
147}
148
149static void
150indicator_power_dispose (GObject *object)
151{
152 IndicatorPower *self = INDICATOR_POWER(object);
153
154 if (self->devices != NULL) {
155 g_variant_unref (self->devices);
156 self->devices = NULL;
157 }
158
159 if (self->device != NULL) {
160 g_variant_unref (self->device);
161 self->device = NULL;
162 }
163
164 g_clear_object (&self->proxy);
165 g_clear_object (&self->proxy_cancel);
166
167 g_clear_object (&self->settings);
168
169 G_OBJECT_CLASS (indicator_power_parent_class)->dispose (object);
170}
171
172static void
173indicator_power_finalize (GObject *object)
174{
175 IndicatorPower *self = INDICATOR_POWER(object);
176
177 g_free (self->accessible_desc);
178
179 G_OBJECT_CLASS (indicator_power_parent_class)->finalize (object);
180}
181
182/***
183****
184***/
185
186static void
187spawn_command_line_async (const char * command)
188{
189 GError * err = NULL;
190 if (!g_spawn_command_line_async (command, &err))
191 g_warning ("Couldn't execute command \"%s\": %s", command, err->message);
192 g_clear_error (&err);
125}193}
126194
127static void195static void
@@ -129,37 +197,21 @@
129 gpointer data)197 gpointer data)
130{198{
131 /*TODO: show the statistics of the specific device*/199 /*TODO: show the statistics of the specific device*/
132 const gchar *command = "gnome-power-statistics";200 spawn_command_line_async ("gnome-power-statistics");
133
134 if (g_spawn_command_line_async (command, NULL) == FALSE)
135 g_warning ("Couldn't execute command: %s", command);
136}201}
137202
138static void203static void
139option_toggled_cb (GtkCheckMenuItem *item,204option_toggled_cb (GtkCheckMenuItem *item, IndicatorPower * self)
140 gpointer user_data)
141{205{
142 IndicatorPower *self = INDICATOR_POWER (user_data);206 gtk_widget_set_visible (GTK_WIDGET (self->label),
143 IndicatorPowerPrivate *priv = self->priv;207 gtk_check_menu_item_get_active(item));
144 gboolean visible;
145
146 visible = gtk_check_menu_item_get_active (item);
147
148 gtk_widget_set_visible (GTK_WIDGET (priv->label),
149 visible);
150
151 g_settings_set_boolean (priv->settings, "show-time",
152 visible);
153}208}
154209
155static void210static void
156show_preferences_cb (GtkMenuItem *item,211show_preferences_cb (GtkMenuItem *item,
157 gpointer data)212 gpointer data)
158{213{
159 const gchar *command = "gnome-control-center power";214 spawn_command_line_async ("gnome-control-center power");
160
161 if (g_spawn_command_line_async (command, NULL) == FALSE)
162 g_warning ("Couldn't execute command: %s", command);
163}215}
164216
165static void217static void
@@ -350,14 +402,12 @@
350set_accessible_desc (IndicatorPower *self,402set_accessible_desc (IndicatorPower *self,
351 const gchar *desc)403 const gchar *desc)
352{404{
353 IndicatorPowerPrivate *priv = self->priv;405 if (desc == NULL || desc[0] == '\0')
354
355 if (desc == NULL || strlen(desc) == 0)
356 return;406 return;
357407
358 g_free (priv->accessible_desc);408 g_free (self->accessible_desc);
359409
360 priv->accessible_desc = g_strdup (desc);410 self->accessible_desc = g_strdup (desc);
361}411}
362412
363static const gchar *413static const gchar *
@@ -557,38 +607,32 @@
557static void607static void
558build_menu (IndicatorPower *self)608build_menu (IndicatorPower *self)
559{609{
560 IndicatorPowerPrivate *priv = self->priv;
561 GtkWidget *item;610 GtkWidget *item;
562 GtkWidget *image;611 GtkWidget *image;
563 GList *children;612 GList *children;
564 gsize n_devices = 0;613 gsize n_devices = 0;
565 gboolean visible;614
566615 /* remove the existing menuitems */
567 if (priv->menu == NULL)616 children = gtk_container_get_children (GTK_CONTAINER (self->menu));
568 priv->menu = GTK_MENU (gtk_menu_new ());
569
570 children = gtk_container_get_children (GTK_CONTAINER (priv->menu));
571 g_list_foreach (children, (GFunc) gtk_widget_destroy, NULL);617 g_list_foreach (children, (GFunc) gtk_widget_destroy, NULL);
572 g_list_free (children);618 g_list_free (children);
573619
574 /* devices */620 /* devices */
575 n_devices = menu_add_devices (priv->menu, priv->devices);621 n_devices = menu_add_devices (self->menu, self->devices);
576622
577 if (!get_greeter_mode ()) {623 if (!get_greeter_mode ()) {
578 /* only do the separator if we have at least one device */624 /* only do the separator if we have at least one device */
579 if (n_devices != 0)625 if (n_devices != 0)
580 {626 {
581 item = gtk_separator_menu_item_new ();627 item = gtk_separator_menu_item_new ();
582 gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), item);628 gtk_menu_shell_append (GTK_MENU_SHELL (self->menu), item);
583 }629 }
584630
585 /* options */631 /* options */
586 item = gtk_check_menu_item_new_with_label (_("Show Time in Menu Bar"));632 item = gtk_check_menu_item_new_with_label (_("Show Time in Menu Bar"));
587 g_signal_connect (G_OBJECT (item), "toggled",633 g_signal_connect (item, "toggled", G_CALLBACK(option_toggled_cb), self);
588 G_CALLBACK (option_toggled_cb), self);634 g_settings_bind (self->settings, "show-time", item, "active", G_SETTINGS_BIND_DEFAULT);
589 visible = g_settings_get_boolean (priv->settings, "show-time");635 gtk_menu_shell_append (GTK_MENU_SHELL (self->menu), item);
590 gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), visible);
591 gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), item);
592636
593 /* preferences */637 /* preferences */
594 item = gtk_image_menu_item_new_with_label (_("Power Settings..."));638 item = gtk_image_menu_item_new_with_label (_("Power Settings..."));
@@ -596,11 +640,11 @@
596 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);640 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
597 g_signal_connect (G_OBJECT (item), "activate",641 g_signal_connect (G_OBJECT (item), "activate",
598 G_CALLBACK (show_preferences_cb), NULL);642 G_CALLBACK (show_preferences_cb), NULL);
599 gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), item);643 gtk_menu_shell_append (GTK_MENU_SHELL (self->menu), item);
600 }644 }
601645
602 /* show the menu */646 /* show the menu */
603 gtk_widget_show_all (GTK_WIDGET (priv->menu));647 gtk_widget_show_all (GTK_WIDGET (self->menu));
604}648}
605649
606static GVariant *650static GVariant *
@@ -623,7 +667,7 @@
623 gsize n_devices;667 gsize n_devices;
624 guint i;668 guint i;
625669
626 n_devices = g_variant_n_children (devices);670 n_devices = devices ? g_variant_n_children (devices) : 0;
627 g_debug ("Num devices: '%" G_GSIZE_FORMAT "'\n", n_devices);671 g_debug ("Num devices: '%" G_GSIZE_FORMAT "'\n", n_devices);
628672
629 for (i = 0; i < n_devices; i++)673 for (i = 0; i < n_devices; i++)
@@ -697,7 +741,6 @@
697put_primary_device (IndicatorPower *self,741put_primary_device (IndicatorPower *self,
698 GVariant *device)742 GVariant *device)
699{743{
700 IndicatorPowerPrivate *priv = self->priv;
701 UpDeviceKind kind;744 UpDeviceKind kind;
702 UpDeviceState state;745 UpDeviceState state;
703 GIcon *device_gicons;746 GIcon *device_gicons;
@@ -724,10 +767,10 @@
724767
725 /* set icon */768 /* set icon */
726 device_gicons = get_device_icon (kind, state, time, device_icon);769 device_gicons = get_device_icon (kind, state, time, device_icon);
727 gtk_image_set_from_gicon (priv->status_image,770 gtk_image_set_from_gicon (self->status_image,
728 device_gicons,771 device_gicons,
729 GTK_ICON_SIZE_LARGE_TOOLBAR);772 GTK_ICON_SIZE_LARGE_TOOLBAR);
730 gtk_widget_show (GTK_WIDGET (priv->status_image));773 gtk_widget_show (GTK_WIDGET (self->status_image));
731774
732775
733 /* get the device name */776 /* get the device name */
@@ -736,7 +779,7 @@
736 /* get the description */779 /* get the description */
737 build_device_time_details (device_name, time, state, percentage, &short_details, &details, &accesible_name);780 build_device_time_details (device_name, time, state, percentage, &short_details, &details, &accesible_name);
738781
739 gtk_label_set_label (GTK_LABEL (priv->label),782 gtk_label_set_label (GTK_LABEL (self->label),
740 short_details);783 short_details);
741 set_accessible_desc (self, accesible_name);784 set_accessible_desc (self, accesible_name);
742785
@@ -753,32 +796,47 @@
753 gpointer user_data)796 gpointer user_data)
754{797{
755 IndicatorPower *self = INDICATOR_POWER (user_data);798 IndicatorPower *self = INDICATOR_POWER (user_data);
756 IndicatorPowerPrivate *priv = self->priv;
757 GVariant *devices_container;799 GVariant *devices_container;
758 GError *error = NULL;800 GError *error = NULL;
759801
760 devices_container = g_dbus_proxy_call_finish (G_DBUS_PROXY (source_object), res, &error);802 devices_container = g_dbus_proxy_call_finish (G_DBUS_PROXY (source_object), res, &error);
761 if (devices_container == NULL)803 if (devices_container == NULL)
762 {804 {
763 g_printerr ("Error getting devices: %s\n", error->message);805 g_message ("Couldn't get devices: %s\n", error->message);
764 g_error_free (error);806 g_error_free (error);
765
766 return;
767 }807 }
768 priv->devices = g_variant_get_child_value (devices_container, 0);808 else /* update 'devices' */
769 g_variant_unref (devices_container);
770
771 priv->device = get_primary_device (priv->devices);
772 if (priv->device == NULL)
773 {809 {
774 g_printerr ("Error getting primary device");810 if (self->devices != NULL)
775811 g_variant_unref (self->devices);
776 return;812 self->devices = g_variant_get_child_value (devices_container, 0);
813
814 g_variant_unref (devices_container);
815
816 if (self->device != NULL)
817 g_variant_unref (self->device);
818 self->device = get_primary_device (self->devices);
819
820 if (self->device == NULL)
821 {
822 g_message ("Couldn't find primary device");
823 }
824 else
825 {
826 put_primary_device (self, self->device);
827 }
777 }828 }
778829
779 put_primary_device (self, priv->device);
780
781 build_menu (self);830 build_menu (self);
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches