Merge lp:~mh21/ubuntu/utopic/indicator-multiload/version-0.4 into lp:ubuntu/utopic/indicator-multiload

Proposed by Michael Hofmann
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~mh21/ubuntu/utopic/indicator-multiload/version-0.4
Merge into: lp:ubuntu/utopic/indicator-multiload
Diff against target: 108382 lines (+48259/-31328)
181 files modified
HACKING (+1/-1)
Makefile.am (+150/-29)
Makefile.in (+840/-215)
README (+1/-1)
TODO (+10/-9)
aclocal.m4 (+420/-2596)
compile (+347/-0)
config.h.in (+0/-22)
configure (+491/-2841)
configure.ac (+18/-10)
data/Makefile.am (+0/-23)
data/Makefile.in (+0/-476)
data/de.mh21.indicator-multiload.gschema.xml.in.in (+801/-0)
data/de.mh21.indicator.multiload.gschema.xml.in.in (+0/-848)
data/indicator-multiload.desktop.in (+0/-1)
data/preferences.ui.in (+1696/-1216)
debian/changelog (+14/-0)
debian/compat (+1/-1)
debian/control (+2/-2)
debian/copyright (+2/-2)
depcomp (+296/-193)
indicator_multiload_vala.stamp (+1/-0)
install-sh (+7/-7)
missing (+159/-275)
po/POTFILES.in (+2/-2)
po/POTFILES.skip (+8/-2)
po/af.po (+278/-143)
po/am.po (+251/-128)
po/ar.po (+367/-176)
po/as.po (+321/-153)
po/ast.po (+333/-161)
po/az.po (+305/-158)
po/be.po (+327/-165)
po/bg.po (+360/-185)
po/bn.po (+344/-172)
po/br.po (+297/-144)
po/bs.po (+306/-159)
po/ca.po (+332/-160)
po/ca@valencia.po (+328/-160)
po/crh.po (+347/-179)
po/cs.po (+343/-161)
po/cy.po (+319/-160)
po/da.po (+346/-164)
po/de.po (+363/-185)
po/dz.po (+324/-167)
po/el.po (+330/-161)
po/en_CA.po (+319/-160)
po/en_GB.po (+333/-161)
po/eo.po (+329/-161)
po/es.po (+351/-173)
po/et.po (+329/-161)
po/eu.po (+329/-161)
po/fa.po (+322/-163)
po/fi.po (+334/-163)
po/fo.po (+234/-120)
po/fr.po (+345/-165)
po/ga.po (+329/-161)
po/gl.po (+332/-164)
po/gu.po (+331/-163)
po/he.po (+329/-161)
po/hi.po (+331/-163)
po/hr.po (+349/-166)
po/hu.po (+334/-161)
po/hy.po (+319/-151)
po/id.po (+329/-161)
po/is.po (+327/-161)
po/it.po (+343/-161)
po/ja.po (+372/-189)
po/ka.po (+320/-161)
po/kk.po (+244/-127)
po/kn.po (+329/-161)
po/ko.po (+339/-165)
po/ku.po (+322/-163)
po/ky.po (+211/-116)
po/lt.po (+353/-163)
po/lv.po (+329/-161)
po/mai.po (+322/-163)
po/mg.po (+319/-160)
po/mk.po (+319/-160)
po/ml.po (+332/-164)
po/mn.po (+292/-145)
po/mr.po (+333/-166)
po/ms.po (+343/-161)
po/nb.po (+328/-160)
po/ne.po (+314/-155)
po/nl.po (+344/-168)
po/nn.po (+329/-161)
po/oc.po (+329/-161)
po/or.po (+331/-163)
po/pa.po (+329/-162)
po/pl.po (+342/-161)
po/ps.po (+288/-147)
po/pt.po (+329/-161)
po/pt_BR.po (+333/-161)
po/ro.po (+328/-160)
po/ru.po (+355/-166)
po/rw.po (+230/-124)
po/si.po (+274/-142)
po/sk.po (+343/-161)
po/sl.po (+336/-163)
po/sq.po (+319/-160)
po/sr.po (+339/-161)
po/sr@latin.po (+330/-162)
po/sv.po (+329/-161)
po/ta.po (+334/-167)
po/te.po (+331/-163)
po/th.po (+331/-163)
po/tr.po (+329/-161)
po/ug.po (+329/-161)
po/uk.po (+348/-166)
po/vi.po (+328/-160)
po/wa.po (+264/-135)
po/xh.po (+320/-161)
po/zh_CN.po (+360/-166)
po/zh_HK.po (+328/-160)
po/zh_TW.po (+328/-160)
src/Makefile.am (+0/-58)
src/Makefile.in (+0/-752)
src/advpreferences.c (+846/-0)
src/advpreferences.vala (+182/-0)
src/appindicatorview.c (+275/-0)
src/appindicatorview.vala (+56/-0)
src/colormapper.c (+1065/-0)
src/colormapper.vala (+149/-0)
src/cpufreqprovider.c (+607/-0)
src/cpufreqprovider.vala (+81/-0)
src/cpuprovider.c (+522/-232)
src/cpuprovider.vala (+43/-18)
src/diskprovider.c (+154/-154)
src/diskprovider.vala (+5/-5)
src/expressionparser.c (+501/-501)
src/expressionparser.vala (+4/-3)
src/function.c (+204/-86)
src/function.vala (+16/-1)
src/graphmodel.c (+286/-367)
src/graphmodel.vala (+3/-13)
src/graphmodels.c (+36/-36)
src/graphmodels.vala (+1/-1)
src/gsettings-fixed.vapi (+0/-75)
src/indicator.c (+2050/-0)
src/indicator.vala (+257/-0)
src/indicator_multiload_vala.stamp (+0/-1)
src/indicatorview.c (+124/-0)
src/indicatorview.vala (+26/-0)
src/itemhelp.c (+716/-0)
src/itemhelp.vala (+126/-0)
src/itempreferences.c (+429/-408)
src/itempreferences.vala (+43/-35)
src/loadprovider.c (+83/-41)
src/loadprovider.vala (+5/-3)
src/main.c (+997/-965)
src/main.vala (+74/-56)
src/memprovider.c (+66/-66)
src/memprovider.vala (+2/-2)
src/menumodel.c (+59/-59)
src/menumodel.vala (+1/-1)
src/multiloadindicator.c (+0/-2006)
src/multiloadindicator.vala (+0/-268)
src/netprovider.c (+734/-341)
src/netprovider.vala (+51/-23)
src/preferences.c (+801/-334)
src/preferences.vala (+151/-55)
src/provider.c (+77/-45)
src/provider.vala (+4/-3)
src/providers.c (+184/-152)
src/providers.vala (+7/-6)
src/reaper.c (+59/-59)
src/reaper.vala (+1/-1)
src/settingscache.c (+52/-52)
src/settingscache.vala (+17/-18)
src/settingsconversion.c (+526/-445)
src/settingsconversion.vala (+58/-59)
src/swapprovider.c (+29/-29)
src/swapprovider.vala (+2/-2)
src/tracemodel.c (+116/-116)
src/tracemodel.vala (+2/-2)
src/trayindicatorview.c (+432/-0)
src/trayindicatorview.vala (+73/-0)
src/utils.c (+277/-208)
src/utils.vala (+37/-20)
src/various.vapi (+21/-3)
To merge this branch: bzr merge lp:~mh21/ubuntu/utopic/indicator-multiload/version-0.4
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+223158@code.launchpad.net

Description of the change

updated upstream version to 0.4

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Danke! Uploaded.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'HACKING'
--- HACKING 2011-08-07 13:04:59 +0000
+++ HACKING 2014-06-14 19:08:06 +0000
@@ -1,4 +1,4 @@
1You need at least vala 0.12 and devel packages for glib, gtk+ 3.0, cairo, appindicator and libgtop 2.0.1You need at least vala 0.14 and devel packages for glib, gtk+ 3.0, cairo, appindicator and libgtop 2.0.
22
3To compile, run3To compile, run
4 ./autogen.sh && make4 ./autogen.sh && make
55
=== modified file 'Makefile.am'
--- Makefile.am 2013-02-16 17:50:35 +0000
+++ Makefile.am 2014-06-14 19:08:06 +0000
@@ -1,4 +1,80 @@
1SUBDIRS = src data po1SUBDIRS = po
2
3# general stuff
4
5AM_CPPFLAGS = \
6 -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
7 -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
8 $(MULTILOADDEPS_CFLAGS) \
9 -include $(CONFIG_HEADER)
10
11AM_CFLAGS = -Wall \
12 -Wno-unused-but-set-variable \
13 -Wno-unused-variable \
14 -Wno-unused-function \
15 -Wno-missing-braces
16
17VALAFLAGS = \
18 --pkg=posix \
19 --pkg=gtk+-3.0 \
20 --pkg=cairo \
21 --pkg=appindicator3-0.1 \
22 --pkg=glib-2.0 \
23 --pkg=gio-unix-2.0 \
24 --pkg=gmodule-2.0 \
25 --enable-checking
26
27@INTLTOOL_DESKTOP_RULE@
28@INTLTOOL_XML_NOMERGE_RULE@
29@GSETTINGS_RULES@
30
31# the indicator
32
33bin_PROGRAMS = indicator-multiload
34
35indicator_multiload_VALASOURCES = \
36 src/advpreferences.vala \
37 src/appindicatorview.vala \
38 src/colormapper.vala \
39 src/cpufreqprovider.vala \
40 src/cpuprovider.vala \
41 src/diskprovider.vala \
42 src/expressionparser.vala \
43 src/function.vala \
44 src/graphmodels.vala \
45 src/graphmodel.vala \
46 src/indicator.vala \
47 src/indicatorview.vala \
48 src/itemhelp.vala \
49 src/itempreferences.vala \
50 src/loadprovider.vala \
51 src/main.vala \
52 src/memprovider.vala \
53 src/menumodel.vala \
54 src/netprovider.vala \
55 src/preferences.vala \
56 src/providers.vala \
57 src/provider.vala \
58 src/reaper.vala \
59 src/settingscache.vala \
60 src/settingsconversion.vala \
61 src/swapprovider.vala \
62 src/tracemodel.vala \
63 src/trayindicatorview.vala \
64 src/utils.vala
65
66indicator_multiload_SOURCES = \
67 $(indicator_multiload_VALASOURCES) \
68 src/config.vapi \
69 src/gtop.vapi \
70 src/various.vapi
71
72indicator_multiload_LDFLAGS = \
73 -Wl,--export-dynamic -Wl,--as-needed
74
75indicator_multiload_LDADD = $(MULTILOADDEPS_LIBS) -lm
76
77# documentation
278
3multiloaddocdir = ${datadir}/doc/indicator-multiload79multiloaddocdir = ${datadir}/doc/indicator-multiload
4multiloaddoc_DATA = \80multiloaddoc_DATA = \
@@ -7,36 +83,81 @@
7 TODO \83 TODO \
8 HACKING84 HACKING
985
86# gui
87
88uidir = $(pkgdatadir)
89nodist_ui_DATA = data/preferences.ui
90
91# desktop file
92
93desktopdir = $(datadir)/applications
94desktop_in_files = data/indicator-multiload.desktop.in
95desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
96
97# gsettings schema
98
99gsettings_SCHEMAS = data/de.mh21.indicator-multiload.gschema.xml
100
101# clean and dist
102
103CLEANFILES = \
104 $(desktop_DATA) \
105 $(gsettings_SCHEMAS)
106
107DISTCLEANFILES = \
108 $(indicator_multiload_VALASOURCES:.vala=.c) indicator_multiload_vala.stamp
109
10EXTRA_DIST = \110EXTRA_DIST = \
11 $(multiloaddoc_DATA) \111 $(multiloaddoc_DATA) \
112 $(desktop_in_files) \
113 data/preferences.ui.in \
114 data/de.mh21.indicator-multiload.gschema.xml.in.in \
12 autogen.sh115 autogen.sh
13116
14uninstall-hook:117uninstall-hook:
15 -rmdir $(multiloaddocdir)118 -rmdir $(multiloaddocdir) $(pkgdatadir)
16119
17test-run:120# run targets
18 -rm -rf local-xdg-data-dir121
19 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload122test-run: all
20 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas123 -rm -rf local-xdg-data-dir
21 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload124 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
22 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas125 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
23 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc src/indicator-multiload126 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
24 -rm -rf local-xdg-data-dir127 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
25128 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc ./indicator-multiload
26test-debug:129 -rm -rf local-xdg-data-dir
27 -rm -rf local-xdg-data-dir130
28 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload131test-verbose: all
29 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas132 -rm -rf local-xdg-data-dir
30 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload133 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
31 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas134 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
32 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc gdb src/indicator-multiload135 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
33 -rm -rf local-xdg-data-dir136 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
34137 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc ./indicator-multiload
35test-valgrind:138 -rm -rf local-xdg-data-dir
36 -rm -rf local-xdg-data-dir139
37 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload140test-debug: all
38 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas141 -rm -rf local-xdg-data-dir
39 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload142 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
40 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas143 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
41 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump src/indicator-multiload144 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
42 -rm -rf local-xdg-data-dir145 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
146 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc gdb --args ./indicator-multiload
147 -rm -rf local-xdg-data-dir
148
149test-valgrind: all
150 -rm -rf local-xdg-data-dir
151 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
152 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
153 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
154 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
155 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump ./indicator-multiload
156 -rm -rf local-xdg-data-dir
157
158# these are a bit of a hack, as automake has tags support
159tags:
160 -anjuta-tags -R -o tags src
161
162tags-vala:
163 -anjuta-tags -o tags-vala /usr/share/vala-$$($(VALAC) --version | sed 's/.*\(0\.[0-9]\+\)\.[0-9]\+/\1/')/vapi/*.vapi
43164
=== modified file 'Makefile.in'
--- Makefile.in 2013-02-16 17:50:35 +0000
+++ Makefile.in 2014-06-14 19:08:06 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.1# Makefile.in generated by automake 1.14.1 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-2013 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software5
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -15,7 +14,53 @@
1514
16@SET_MAKE@15@SET_MAKE@
1716
17
18VPATH = @srcdir@18VPATH = @srcdir@
19am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
20am__make_running_with_option = \
21 case $${target_option-} in \
22 ?) ;; \
23 *) echo "am__make_running_with_option: internal error: invalid" \
24 "target option '$${target_option-}' specified" >&2; \
25 exit 1;; \
26 esac; \
27 has_opt=no; \
28 sane_makeflags=$$MAKEFLAGS; \
29 if $(am__is_gnu_make); then \
30 sane_makeflags=$$MFLAGS; \
31 else \
32 case $$MAKEFLAGS in \
33 *\\[\ \ ]*) \
34 bs=\\; \
35 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
36 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
37 esac; \
38 fi; \
39 skip_next=no; \
40 strip_trailopt () \
41 { \
42 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
43 }; \
44 for flg in $$sane_makeflags; do \
45 test $$skip_next = yes && { skip_next=no; continue; }; \
46 case $$flg in \
47 *=*|--*) continue;; \
48 -*I) strip_trailopt 'I'; skip_next=yes;; \
49 -*I?*) strip_trailopt 'I';; \
50 -*O) strip_trailopt 'O'; skip_next=yes;; \
51 -*O?*) strip_trailopt 'O';; \
52 -*l) strip_trailopt 'l'; skip_next=yes;; \
53 -*l?*) strip_trailopt 'l';; \
54 -[dEDm]) skip_next=yes;; \
55 -[JT]) skip_next=yes;; \
56 esac; \
57 case $$flg in \
58 *$$target_option*) has_opt=yes; break;; \
59 esac; \
60 done; \
61 test $$has_opt = yes
62am__make_dryrun = (target_option=n; $(am__make_running_with_option))
63am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
19pkgdatadir = $(datadir)/@PACKAGE@64pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@65pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@66pkglibdir = $(libdir)/@PACKAGE@
@@ -32,14 +77,24 @@
32NORMAL_UNINSTALL = :77NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :78PRE_UNINSTALL = :
34POST_UNINSTALL = :79POST_UNINSTALL = :
35build_triplet = @build@80bin_PROGRAMS = indicator-multiload$(EXEEXT)
36host_triplet = @host@
37subdir = .81subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \83 $(top_srcdir)/configure $(am__configure_deps) \
40 $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING TODO \84 $(srcdir)/config.h.in $(top_srcdir)/data/preferences.ui.in \
41 config.guess config.rpath config.sub depcomp install-sh \85 $(top_srcdir)/data/de.mh21.indicator-multiload.gschema.xml.in.in \
42 missing86 src/advpreferences.c src/appindicatorview.c src/colormapper.c \
87 src/cpufreqprovider.c src/cpuprovider.c src/diskprovider.c \
88 src/expressionparser.c src/function.c src/graphmodels.c \
89 src/graphmodel.c src/indicator.c src/indicatorview.c \
90 src/itemhelp.c src/itempreferences.c src/loadprovider.c \
91 src/main.c src/memprovider.c src/menumodel.c src/netprovider.c \
92 src/preferences.c src/providers.c src/provider.c src/reaper.c \
93 src/settingscache.c src/settingsconversion.c \
94 src/swapprovider.c src/tracemodel.c src/trayindicatorview.c \
95 src/utils.c depcomp $(srcdir)/indicator_multiload_vala.stamp \
96 ABOUT-NLS AUTHORS COPYING README TODO compile config.guess \
97 config.rpath config.sub install-sh missing
43ACLOCAL_M4 = $(top_srcdir)/aclocal.m498ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44am__aclocal_m4_deps = $(top_srcdir)/configure.ac99am__aclocal_m4_deps = $(top_srcdir)/configure.ac
45am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \100am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -48,23 +103,82 @@
48 configure.lineno config.status.lineno103 configure.lineno config.status.lineno
49mkinstalldirs = $(install_sh) -d104mkinstalldirs = $(install_sh) -d
50CONFIG_HEADER = config.h105CONFIG_HEADER = config.h
51CONFIG_CLEAN_FILES =106CONFIG_CLEAN_FILES = data/preferences.ui \
107 data/de.mh21.indicator-multiload.gschema.xml.in
52CONFIG_CLEAN_VPATH_FILES =108CONFIG_CLEAN_VPATH_FILES =
109am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(desktopdir)" \
110 "$(DESTDIR)$(multiloaddocdir)" "$(DESTDIR)$(uidir)"
111PROGRAMS = $(bin_PROGRAMS)
112am__dirstamp = $(am__leading_dot)dirstamp
113am__objects_1 = src/advpreferences.$(OBJEXT) \
114 src/appindicatorview.$(OBJEXT) src/colormapper.$(OBJEXT) \
115 src/cpufreqprovider.$(OBJEXT) src/cpuprovider.$(OBJEXT) \
116 src/diskprovider.$(OBJEXT) src/expressionparser.$(OBJEXT) \
117 src/function.$(OBJEXT) src/graphmodels.$(OBJEXT) \
118 src/graphmodel.$(OBJEXT) src/indicator.$(OBJEXT) \
119 src/indicatorview.$(OBJEXT) src/itemhelp.$(OBJEXT) \
120 src/itempreferences.$(OBJEXT) src/loadprovider.$(OBJEXT) \
121 src/main.$(OBJEXT) src/memprovider.$(OBJEXT) \
122 src/menumodel.$(OBJEXT) src/netprovider.$(OBJEXT) \
123 src/preferences.$(OBJEXT) src/providers.$(OBJEXT) \
124 src/provider.$(OBJEXT) src/reaper.$(OBJEXT) \
125 src/settingscache.$(OBJEXT) src/settingsconversion.$(OBJEXT) \
126 src/swapprovider.$(OBJEXT) src/tracemodel.$(OBJEXT) \
127 src/trayindicatorview.$(OBJEXT) src/utils.$(OBJEXT)
128am_indicator_multiload_OBJECTS = $(am__objects_1)
129indicator_multiload_OBJECTS = $(am_indicator_multiload_OBJECTS)
130am__DEPENDENCIES_1 =
131indicator_multiload_DEPENDENCIES = $(am__DEPENDENCIES_1)
132indicator_multiload_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
133 $(indicator_multiload_LDFLAGS) $(LDFLAGS) -o $@
134AM_V_P = $(am__v_P_@AM_V@)
135am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
136am__v_P_0 = false
137am__v_P_1 = :
53AM_V_GEN = $(am__v_GEN_@AM_V@)138AM_V_GEN = $(am__v_GEN_@AM_V@)
54am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)139am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
55am__v_GEN_0 = @echo " GEN " $@;140am__v_GEN_0 = @echo " GEN " $@;
141am__v_GEN_1 =
56AM_V_at = $(am__v_at_@AM_V@)142AM_V_at = $(am__v_at_@AM_V@)
57am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)143am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
58am__v_at_0 = @144am__v_at_0 = @
59SOURCES =145am__v_at_1 =
60DIST_SOURCES =146DEFAULT_INCLUDES = -I.@am__isrc@
61RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \147depcomp = $(SHELL) $(top_srcdir)/depcomp
62 html-recursive info-recursive install-data-recursive \148am__depfiles_maybe = depfiles
63 install-dvi-recursive install-exec-recursive \149am__mv = mv -f
64 install-html-recursive install-info-recursive \150COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
65 install-pdf-recursive install-ps-recursive install-recursive \151 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
66 installcheck-recursive installdirs-recursive pdf-recursive \152AM_V_CC = $(am__v_CC_@AM_V@)
67 ps-recursive uninstall-recursive153am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
154am__v_CC_0 = @echo " CC " $@;
155am__v_CC_1 =
156CCLD = $(CC)
157LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
158AM_V_CCLD = $(am__v_CCLD_@AM_V@)
159am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
160am__v_CCLD_0 = @echo " CCLD " $@;
161am__v_CCLD_1 =
162VALACOMPILE = $(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS)
163AM_V_VALAC = $(am__v_VALAC_@AM_V@)
164am__v_VALAC_ = $(am__v_VALAC_@AM_DEFAULT_V@)
165am__v_VALAC_0 = @echo " VALAC " $@;
166am__v_VALAC_1 =
167SOURCES = $(indicator_multiload_SOURCES)
168DIST_SOURCES = $(indicator_multiload_SOURCES)
169RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
170 ctags-recursive dvi-recursive html-recursive info-recursive \
171 install-data-recursive install-dvi-recursive \
172 install-exec-recursive install-html-recursive \
173 install-info-recursive install-pdf-recursive \
174 install-ps-recursive install-recursive installcheck-recursive \
175 installdirs-recursive pdf-recursive ps-recursive \
176 tags-recursive uninstall-recursive
177am__can_run_installinfo = \
178 case $$AM_UPDATE_INFO_DIR in \
179 n|no|NO) false;; \
180 *) (install-info --version) >/dev/null 2>&1;; \
181 esac
68am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;182am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
69am__vpath_adj = case $$p in \183am__vpath_adj = case $$p in \
70 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \184 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -92,15 +206,36 @@
92 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \206 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
93 $(am__cd) "$$dir" && rm -f $$files; }; \207 $(am__cd) "$$dir" && rm -f $$files; }; \
94 }208 }
95am__installdirs = "$(DESTDIR)$(multiloaddocdir)"209DATA = $(desktop_DATA) $(multiloaddoc_DATA) $(nodist_ui_DATA)
96DATA = $(multiloaddoc_DATA)
97RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \210RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
98 distclean-recursive maintainer-clean-recursive211 distclean-recursive maintainer-clean-recursive
99AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \212am__recursive_targets = \
100 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \213 $(RECURSIVE_TARGETS) \
101 distdir dist dist-all distcheck214 $(RECURSIVE_CLEAN_TARGETS) \
215 $(am__extra_recursive_targets)
216AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
217 cscope distdir dist dist-all distcheck
218am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
219 $(LISP)config.h.in
220# Read a list of newline-separated strings from the standard input,
221# and print each of them once, without duplicates. Input order is
222# *not* preserved.
223am__uniquify_input = $(AWK) '\
224 BEGIN { nonempty = 0; } \
225 { items[$$0] = 1; nonempty = 1; } \
226 END { if (nonempty) { for (i in items) print i; }; } \
227'
228# Make sure the list of sources is unique. This is necessary because,
229# e.g., the same source file might be shared among _SOURCES variables
230# for different programs/libraries.
231am__define_uniq_tagged_files = \
232 list='$(am__tagged_files)'; \
233 unique=`for i in $$list; do \
234 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
235 done | $(am__uniquify_input)`
102ETAGS = etags236ETAGS = etags
103CTAGS = ctags237CTAGS = ctags
238CSCOPE = cscope
104DIST_SUBDIRS = $(SUBDIRS)239DIST_SUBDIRS = $(SUBDIRS)
105DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)240DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
106distdir = $(PACKAGE)-$(VERSION)241distdir = $(PACKAGE)-$(VERSION)
@@ -111,6 +246,7 @@
111 && rm -rf "$(distdir)" \246 && rm -rf "$(distdir)" \
112 || { sleep 5 && rm -rf "$(distdir)"; }; \247 || { sleep 5 && rm -rf "$(distdir)"; }; \
113 else :; fi248 else :; fi
249am__post_remove_distdir = $(am__remove_distdir)
114am__relativize = \250am__relativize = \
115 dir0=`pwd`; \251 dir0=`pwd`; \
116 sed_first='s,^\([^/]*\)/.*$$,\1,'; \252 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -136,8 +272,9 @@
136 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \272 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
137 done; \273 done; \
138 reldir="$$dir2"274 reldir="$$dir2"
139DIST_ARCHIVES = $(distdir).tar.gz
140GZIP_ENV = --best275GZIP_ENV = --best
276DIST_ARCHIVES = $(distdir).tar.xz
277DIST_TARGETS = dist-xz
141distuninstallcheck_listfiles = find . -type f -print278distuninstallcheck_listfiles = find . -type f -print
142am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \279am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
143 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'280 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -153,7 +290,6 @@
153CC = @CC@290CC = @CC@
154CCDEPMODE = @CCDEPMODE@291CCDEPMODE = @CCDEPMODE@
155CFLAGS = @CFLAGS@292CFLAGS = @CFLAGS@
156CPP = @CPP@
157CPPFLAGS = @CPPFLAGS@293CPPFLAGS = @CPPFLAGS@
158CYGPATH_W = @CYGPATH_W@294CYGPATH_W = @CYGPATH_W@
159DATADIRNAME = @DATADIRNAME@295DATADIRNAME = @DATADIRNAME@
@@ -162,21 +298,16 @@
162ECHO_C = @ECHO_C@298ECHO_C = @ECHO_C@
163ECHO_N = @ECHO_N@299ECHO_N = @ECHO_N@
164ECHO_T = @ECHO_T@300ECHO_T = @ECHO_T@
165EGREP = @EGREP@
166EXEEXT = @EXEEXT@301EXEEXT = @EXEEXT@
167GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
168GETTEXT_PACKAGE = @GETTEXT_PACKAGE@302GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
169GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@303GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
170GMSGFMT = @GMSGFMT@304GMSGFMT = @GMSGFMT@
171GMSGFMT_015 = @GMSGFMT_015@
172GREP = @GREP@
173GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@305GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
174INSTALL = @INSTALL@306INSTALL = @INSTALL@
175INSTALL_DATA = @INSTALL_DATA@307INSTALL_DATA = @INSTALL_DATA@
176INSTALL_PROGRAM = @INSTALL_PROGRAM@308INSTALL_PROGRAM = @INSTALL_PROGRAM@
177INSTALL_SCRIPT = @INSTALL_SCRIPT@309INSTALL_SCRIPT = @INSTALL_SCRIPT@
178INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@310INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179INTLLIBS = @INTLLIBS@
180INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@311INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
181INTLTOOL_MERGE = @INTLTOOL_MERGE@312INTLTOOL_MERGE = @INTLTOOL_MERGE@
182INTLTOOL_PERL = @INTLTOOL_PERL@313INTLTOOL_PERL = @INTLTOOL_PERL@
@@ -185,19 +316,13 @@
185INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@316INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
186INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@317INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
187INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@318INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
188INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
189LDFLAGS = @LDFLAGS@319LDFLAGS = @LDFLAGS@
190LIBICONV = @LIBICONV@
191LIBINTL = @LIBINTL@
192LIBOBJS = @LIBOBJS@320LIBOBJS = @LIBOBJS@
193LIBS = @LIBS@321LIBS = @LIBS@
194LTLIBICONV = @LTLIBICONV@
195LTLIBINTL = @LTLIBINTL@
196LTLIBOBJS = @LTLIBOBJS@322LTLIBOBJS = @LTLIBOBJS@
197MAKEINFO = @MAKEINFO@323MAKEINFO = @MAKEINFO@
198MKDIR_P = @MKDIR_P@324MKDIR_P = @MKDIR_P@
199MSGFMT = @MSGFMT@325MSGFMT = @MSGFMT@
200MSGFMT_015 = @MSGFMT_015@
201MSGMERGE = @MSGMERGE@326MSGMERGE = @MSGMERGE@
202MULTILOADDEPS_CFLAGS = @MULTILOADDEPS_CFLAGS@327MULTILOADDEPS_CFLAGS = @MULTILOADDEPS_CFLAGS@
203MULTILOADDEPS_LIBS = @MULTILOADDEPS_LIBS@328MULTILOADDEPS_LIBS = @MULTILOADDEPS_LIBS@
@@ -213,7 +338,6 @@
213PKG_CONFIG = @PKG_CONFIG@338PKG_CONFIG = @PKG_CONFIG@
214PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@339PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
215PKG_CONFIG_PATH = @PKG_CONFIG_PATH@340PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
216POSUB = @POSUB@
217SET_MAKE = @SET_MAKE@341SET_MAKE = @SET_MAKE@
218SHELL = @SHELL@342SHELL = @SHELL@
219STRIP = @STRIP@343STRIP = @STRIP@
@@ -221,8 +345,6 @@
221VALAC = @VALAC@345VALAC = @VALAC@
222VERSION = @VERSION@346VERSION = @VERSION@
223XGETTEXT = @XGETTEXT@347XGETTEXT = @XGETTEXT@
224XGETTEXT_015 = @XGETTEXT_015@
225XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
226abs_builddir = @abs_builddir@348abs_builddir = @abs_builddir@
227abs_srcdir = @abs_srcdir@349abs_srcdir = @abs_srcdir@
228abs_top_builddir = @abs_top_builddir@350abs_top_builddir = @abs_top_builddir@
@@ -234,11 +356,7 @@
234am__tar = @am__tar@356am__tar = @am__tar@
235am__untar = @am__untar@357am__untar = @am__untar@
236bindir = @bindir@358bindir = @bindir@
237build = @build@
238build_alias = @build_alias@359build_alias = @build_alias@
239build_cpu = @build_cpu@
240build_os = @build_os@
241build_vendor = @build_vendor@
242builddir = @builddir@360builddir = @builddir@
243datadir = @datadir@361datadir = @datadir@
244datarootdir = @datarootdir@362datarootdir = @datarootdir@
@@ -246,11 +364,7 @@
246dvidir = @dvidir@364dvidir = @dvidir@
247exec_prefix = @exec_prefix@365exec_prefix = @exec_prefix@
248gsettingsschemadir = @gsettingsschemadir@366gsettingsschemadir = @gsettingsschemadir@
249host = @host@
250host_alias = @host_alias@367host_alias = @host_alias@
251host_cpu = @host_cpu@
252host_os = @host_os@
253host_vendor = @host_vendor@
254htmldir = @htmldir@368htmldir = @htmldir@
255includedir = @includedir@369includedir = @includedir@
256infodir = @infodir@370infodir = @infodir@
@@ -276,7 +390,74 @@
276top_build_prefix = @top_build_prefix@390top_build_prefix = @top_build_prefix@
277top_builddir = @top_builddir@391top_builddir = @top_builddir@
278top_srcdir = @top_srcdir@392top_srcdir = @top_srcdir@
279SUBDIRS = src data po393SUBDIRS = po
394
395# general stuff
396AM_CPPFLAGS = \
397 -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
398 -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
399 $(MULTILOADDEPS_CFLAGS) \
400 -include $(CONFIG_HEADER)
401
402AM_CFLAGS = -Wall \
403 -Wno-unused-but-set-variable \
404 -Wno-unused-variable \
405 -Wno-unused-function \
406 -Wno-missing-braces
407
408VALAFLAGS = \
409 --pkg=posix \
410 --pkg=gtk+-3.0 \
411 --pkg=cairo \
412 --pkg=appindicator3-0.1 \
413 --pkg=glib-2.0 \
414 --pkg=gio-unix-2.0 \
415 --pkg=gmodule-2.0 \
416 --enable-checking
417
418indicator_multiload_VALASOURCES = \
419 src/advpreferences.vala \
420 src/appindicatorview.vala \
421 src/colormapper.vala \
422 src/cpufreqprovider.vala \
423 src/cpuprovider.vala \
424 src/diskprovider.vala \
425 src/expressionparser.vala \
426 src/function.vala \
427 src/graphmodels.vala \
428 src/graphmodel.vala \
429 src/indicator.vala \
430 src/indicatorview.vala \
431 src/itemhelp.vala \
432 src/itempreferences.vala \
433 src/loadprovider.vala \
434 src/main.vala \
435 src/memprovider.vala \
436 src/menumodel.vala \
437 src/netprovider.vala \
438 src/preferences.vala \
439 src/providers.vala \
440 src/provider.vala \
441 src/reaper.vala \
442 src/settingscache.vala \
443 src/settingsconversion.vala \
444 src/swapprovider.vala \
445 src/tracemodel.vala \
446 src/trayindicatorview.vala \
447 src/utils.vala
448
449indicator_multiload_SOURCES = \
450 $(indicator_multiload_VALASOURCES) \
451 src/config.vapi \
452 src/gtop.vapi \
453 src/various.vapi
454
455indicator_multiload_LDFLAGS = \
456 -Wl,--export-dynamic -Wl,--as-needed
457
458indicator_multiload_LDADD = $(MULTILOADDEPS_LIBS) -lm
459
460# documentation
280multiloaddocdir = ${datadir}/doc/indicator-multiload461multiloaddocdir = ${datadir}/doc/indicator-multiload
281multiloaddoc_DATA = \462multiloaddoc_DATA = \
282 COPYING \463 COPYING \
@@ -284,14 +465,39 @@
284 TODO \465 TODO \
285 HACKING466 HACKING
286467
468
469# gui
470uidir = $(pkgdatadir)
471nodist_ui_DATA = data/preferences.ui
472
473# desktop file
474desktopdir = $(datadir)/applications
475desktop_in_files = data/indicator-multiload.desktop.in
476desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
477
478# gsettings schema
479gsettings_SCHEMAS = data/de.mh21.indicator-multiload.gschema.xml
480
481# clean and dist
482CLEANFILES = \
483 $(desktop_DATA) \
484 $(gsettings_SCHEMAS)
485
486DISTCLEANFILES = \
487 $(indicator_multiload_VALASOURCES:.vala=.c) indicator_multiload_vala.stamp
488
287EXTRA_DIST = \489EXTRA_DIST = \
288 $(multiloaddoc_DATA) \490 $(multiloaddoc_DATA) \
491 $(desktop_in_files) \
492 data/preferences.ui.in \
493 data/de.mh21.indicator-multiload.gschema.xml.in.in \
289 autogen.sh494 autogen.sh
290495
291all: config.h496all: config.h
292 $(MAKE) $(AM_MAKEFLAGS) all-recursive497 $(MAKE) $(AM_MAKEFLAGS) all-recursive
293498
294.SUFFIXES:499.SUFFIXES:
500.SUFFIXES: .c .o .obj
295am--refresh: Makefile501am--refresh: Makefile
296 @:502 @:
297$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)503$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@@ -328,8 +534,8 @@
328$(am__aclocal_m4_deps):534$(am__aclocal_m4_deps):
329535
330config.h: stamp-h1536config.h: stamp-h1
331 @if test ! -f $@; then rm -f stamp-h1; else :; fi537 @test -f $@ || rm -f stamp-h1
332 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi538 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
333539
334stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status540stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
335 @rm -f stamp-h1541 @rm -f stamp-h1
@@ -341,10 +547,348 @@
341547
342distclean-hdr:548distclean-hdr:
343 -rm -f config.h stamp-h1549 -rm -f config.h stamp-h1
550data/preferences.ui: $(top_builddir)/config.status $(top_srcdir)/data/preferences.ui.in
551 cd $(top_builddir) && $(SHELL) ./config.status $@
552data/de.mh21.indicator-multiload.gschema.xml.in: $(top_builddir)/config.status $(top_srcdir)/data/de.mh21.indicator-multiload.gschema.xml.in.in
553 cd $(top_builddir) && $(SHELL) ./config.status $@
554install-binPROGRAMS: $(bin_PROGRAMS)
555 @$(NORMAL_INSTALL)
556 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
557 if test -n "$$list"; then \
558 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
559 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
560 fi; \
561 for p in $$list; do echo "$$p $$p"; done | \
562 sed 's/$(EXEEXT)$$//' | \
563 while read p p1; do if test -f $$p \
564 ; then echo "$$p"; echo "$$p"; else :; fi; \
565 done | \
566 sed -e 'p;s,.*/,,;n;h' \
567 -e 's|.*|.|' \
568 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
569 sed 'N;N;N;s,\n, ,g' | \
570 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
571 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
572 if ($$2 == $$4) files[d] = files[d] " " $$1; \
573 else { print "f", $$3 "/" $$4, $$1; } } \
574 END { for (d in files) print "f", d, files[d] }' | \
575 while read type dir files; do \
576 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
577 test -z "$$files" || { \
578 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
579 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
580 } \
581 ; done
582
583uninstall-binPROGRAMS:
584 @$(NORMAL_UNINSTALL)
585 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
586 files=`for p in $$list; do echo "$$p"; done | \
587 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
588 -e 's/$$/$(EXEEXT)/' \
589 `; \
590 test -n "$$list" || exit 0; \
591 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
592 cd "$(DESTDIR)$(bindir)" && rm -f $$files
593
594clean-binPROGRAMS:
595 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
596src/$(am__dirstamp):
597 @$(MKDIR_P) src
598 @: > src/$(am__dirstamp)
599src/$(DEPDIR)/$(am__dirstamp):
600 @$(MKDIR_P) src/$(DEPDIR)
601 @: > src/$(DEPDIR)/$(am__dirstamp)
602src/advpreferences.$(OBJEXT): src/$(am__dirstamp) \
603 src/$(DEPDIR)/$(am__dirstamp)
604src/appindicatorview.$(OBJEXT): src/$(am__dirstamp) \
605 src/$(DEPDIR)/$(am__dirstamp)
606src/colormapper.$(OBJEXT): src/$(am__dirstamp) \
607 src/$(DEPDIR)/$(am__dirstamp)
608src/cpufreqprovider.$(OBJEXT): src/$(am__dirstamp) \
609 src/$(DEPDIR)/$(am__dirstamp)
610src/cpuprovider.$(OBJEXT): src/$(am__dirstamp) \
611 src/$(DEPDIR)/$(am__dirstamp)
612src/diskprovider.$(OBJEXT): src/$(am__dirstamp) \
613 src/$(DEPDIR)/$(am__dirstamp)
614src/expressionparser.$(OBJEXT): src/$(am__dirstamp) \
615 src/$(DEPDIR)/$(am__dirstamp)
616src/function.$(OBJEXT): src/$(am__dirstamp) \
617 src/$(DEPDIR)/$(am__dirstamp)
618src/graphmodels.$(OBJEXT): src/$(am__dirstamp) \
619 src/$(DEPDIR)/$(am__dirstamp)
620src/graphmodel.$(OBJEXT): src/$(am__dirstamp) \
621 src/$(DEPDIR)/$(am__dirstamp)
622src/indicator.$(OBJEXT): src/$(am__dirstamp) \
623 src/$(DEPDIR)/$(am__dirstamp)
624src/indicatorview.$(OBJEXT): src/$(am__dirstamp) \
625 src/$(DEPDIR)/$(am__dirstamp)
626src/itemhelp.$(OBJEXT): src/$(am__dirstamp) \
627 src/$(DEPDIR)/$(am__dirstamp)
628src/itempreferences.$(OBJEXT): src/$(am__dirstamp) \
629 src/$(DEPDIR)/$(am__dirstamp)
630src/loadprovider.$(OBJEXT): src/$(am__dirstamp) \
631 src/$(DEPDIR)/$(am__dirstamp)
632src/main.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
633src/memprovider.$(OBJEXT): src/$(am__dirstamp) \
634 src/$(DEPDIR)/$(am__dirstamp)
635src/menumodel.$(OBJEXT): src/$(am__dirstamp) \
636 src/$(DEPDIR)/$(am__dirstamp)
637src/netprovider.$(OBJEXT): src/$(am__dirstamp) \
638 src/$(DEPDIR)/$(am__dirstamp)
639src/preferences.$(OBJEXT): src/$(am__dirstamp) \
640 src/$(DEPDIR)/$(am__dirstamp)
641src/providers.$(OBJEXT): src/$(am__dirstamp) \
642 src/$(DEPDIR)/$(am__dirstamp)
643src/provider.$(OBJEXT): src/$(am__dirstamp) \
644 src/$(DEPDIR)/$(am__dirstamp)
645src/reaper.$(OBJEXT): src/$(am__dirstamp) \
646 src/$(DEPDIR)/$(am__dirstamp)
647src/settingscache.$(OBJEXT): src/$(am__dirstamp) \
648 src/$(DEPDIR)/$(am__dirstamp)
649src/settingsconversion.$(OBJEXT): src/$(am__dirstamp) \
650 src/$(DEPDIR)/$(am__dirstamp)
651src/swapprovider.$(OBJEXT): src/$(am__dirstamp) \
652 src/$(DEPDIR)/$(am__dirstamp)
653src/tracemodel.$(OBJEXT): src/$(am__dirstamp) \
654 src/$(DEPDIR)/$(am__dirstamp)
655src/trayindicatorview.$(OBJEXT): src/$(am__dirstamp) \
656 src/$(DEPDIR)/$(am__dirstamp)
657src/utils.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
658
659indicator-multiload$(EXEEXT): $(indicator_multiload_OBJECTS) $(indicator_multiload_DEPENDENCIES) $(EXTRA_indicator_multiload_DEPENDENCIES)
660 @rm -f indicator-multiload$(EXEEXT)
661 $(AM_V_CCLD)$(indicator_multiload_LINK) $(indicator_multiload_OBJECTS) $(indicator_multiload_LDADD) $(LIBS)
662
663mostlyclean-compile:
664 -rm -f *.$(OBJEXT)
665 -rm -f src/*.$(OBJEXT)
666
667distclean-compile:
668 -rm -f *.tab.c
669
670@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/advpreferences.Po@am__quote@
671@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/appindicatorview.Po@am__quote@
672@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/colormapper.Po@am__quote@
673@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/cpufreqprovider.Po@am__quote@
674@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/cpuprovider.Po@am__quote@
675@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/diskprovider.Po@am__quote@
676@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/expressionparser.Po@am__quote@
677@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/function.Po@am__quote@
678@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/graphmodel.Po@am__quote@
679@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/graphmodels.Po@am__quote@
680@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/indicator.Po@am__quote@
681@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/indicatorview.Po@am__quote@
682@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/itemhelp.Po@am__quote@
683@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/itempreferences.Po@am__quote@
684@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/loadprovider.Po@am__quote@
685@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/main.Po@am__quote@
686@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/memprovider.Po@am__quote@
687@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/menumodel.Po@am__quote@
688@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/netprovider.Po@am__quote@
689@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/preferences.Po@am__quote@
690@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/provider.Po@am__quote@
691@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/providers.Po@am__quote@
692@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/reaper.Po@am__quote@
693@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/settingscache.Po@am__quote@
694@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/settingsconversion.Po@am__quote@
695@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/swapprovider.Po@am__quote@
696@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/tracemodel.Po@am__quote@
697@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/trayindicatorview.Po@am__quote@
698@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/utils.Po@am__quote@
699
700.c.o:
701@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
702@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
703@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
704@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
705@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
706@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
707
708.c.obj:
709@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
710@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
711@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
712@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
713@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
714@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
715$(srcdir)/src/advpreferences.c: $(srcdir)/indicator_multiload_vala.stamp
716 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
717 @if test -f $@; then :; else \
718 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
719 fi
720$(srcdir)/src/appindicatorview.c: $(srcdir)/indicator_multiload_vala.stamp
721 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
722 @if test -f $@; then :; else \
723 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
724 fi
725$(srcdir)/src/colormapper.c: $(srcdir)/indicator_multiload_vala.stamp
726 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
727 @if test -f $@; then :; else \
728 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
729 fi
730$(srcdir)/src/cpufreqprovider.c: $(srcdir)/indicator_multiload_vala.stamp
731 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
732 @if test -f $@; then :; else \
733 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
734 fi
735$(srcdir)/src/cpuprovider.c: $(srcdir)/indicator_multiload_vala.stamp
736 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
737 @if test -f $@; then :; else \
738 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
739 fi
740$(srcdir)/src/diskprovider.c: $(srcdir)/indicator_multiload_vala.stamp
741 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
742 @if test -f $@; then :; else \
743 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
744 fi
745$(srcdir)/src/expressionparser.c: $(srcdir)/indicator_multiload_vala.stamp
746 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
747 @if test -f $@; then :; else \
748 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
749 fi
750$(srcdir)/src/function.c: $(srcdir)/indicator_multiload_vala.stamp
751 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
752 @if test -f $@; then :; else \
753 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
754 fi
755$(srcdir)/src/graphmodels.c: $(srcdir)/indicator_multiload_vala.stamp
756 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
757 @if test -f $@; then :; else \
758 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
759 fi
760$(srcdir)/src/graphmodel.c: $(srcdir)/indicator_multiload_vala.stamp
761 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
762 @if test -f $@; then :; else \
763 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
764 fi
765$(srcdir)/src/indicator.c: $(srcdir)/indicator_multiload_vala.stamp
766 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
767 @if test -f $@; then :; else \
768 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
769 fi
770$(srcdir)/src/indicatorview.c: $(srcdir)/indicator_multiload_vala.stamp
771 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
772 @if test -f $@; then :; else \
773 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
774 fi
775$(srcdir)/src/itemhelp.c: $(srcdir)/indicator_multiload_vala.stamp
776 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
777 @if test -f $@; then :; else \
778 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
779 fi
780$(srcdir)/src/itempreferences.c: $(srcdir)/indicator_multiload_vala.stamp
781 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
782 @if test -f $@; then :; else \
783 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
784 fi
785$(srcdir)/src/loadprovider.c: $(srcdir)/indicator_multiload_vala.stamp
786 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
787 @if test -f $@; then :; else \
788 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
789 fi
790$(srcdir)/src/main.c: $(srcdir)/indicator_multiload_vala.stamp
791 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
792 @if test -f $@; then :; else \
793 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
794 fi
795$(srcdir)/src/memprovider.c: $(srcdir)/indicator_multiload_vala.stamp
796 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
797 @if test -f $@; then :; else \
798 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
799 fi
800$(srcdir)/src/menumodel.c: $(srcdir)/indicator_multiload_vala.stamp
801 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
802 @if test -f $@; then :; else \
803 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
804 fi
805$(srcdir)/src/netprovider.c: $(srcdir)/indicator_multiload_vala.stamp
806 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
807 @if test -f $@; then :; else \
808 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
809 fi
810$(srcdir)/src/preferences.c: $(srcdir)/indicator_multiload_vala.stamp
811 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
812 @if test -f $@; then :; else \
813 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
814 fi
815$(srcdir)/src/providers.c: $(srcdir)/indicator_multiload_vala.stamp
816 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
817 @if test -f $@; then :; else \
818 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
819 fi
820$(srcdir)/src/provider.c: $(srcdir)/indicator_multiload_vala.stamp
821 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
822 @if test -f $@; then :; else \
823 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
824 fi
825$(srcdir)/src/reaper.c: $(srcdir)/indicator_multiload_vala.stamp
826 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
827 @if test -f $@; then :; else \
828 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
829 fi
830$(srcdir)/src/settingscache.c: $(srcdir)/indicator_multiload_vala.stamp
831 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
832 @if test -f $@; then :; else \
833 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
834 fi
835$(srcdir)/src/settingsconversion.c: $(srcdir)/indicator_multiload_vala.stamp
836 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
837 @if test -f $@; then :; else \
838 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
839 fi
840$(srcdir)/src/swapprovider.c: $(srcdir)/indicator_multiload_vala.stamp
841 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
842 @if test -f $@; then :; else \
843 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
844 fi
845$(srcdir)/src/tracemodel.c: $(srcdir)/indicator_multiload_vala.stamp
846 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
847 @if test -f $@; then :; else \
848 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
849 fi
850$(srcdir)/src/trayindicatorview.c: $(srcdir)/indicator_multiload_vala.stamp
851 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
852 @if test -f $@; then :; else \
853 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
854 fi
855$(srcdir)/src/utils.c: $(srcdir)/indicator_multiload_vala.stamp
856 @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi
857 @if test -f $@; then :; else \
858 $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \
859 fi
860$(srcdir)/indicator_multiload_vala.stamp: src/advpreferences.vala src/appindicatorview.vala src/colormapper.vala src/cpufreqprovider.vala src/cpuprovider.vala src/diskprovider.vala src/expressionparser.vala src/function.vala src/graphmodels.vala src/graphmodel.vala src/indicator.vala src/indicatorview.vala src/itemhelp.vala src/itempreferences.vala src/loadprovider.vala src/main.vala src/memprovider.vala src/menumodel.vala src/netprovider.vala src/preferences.vala src/providers.vala src/provider.vala src/reaper.vala src/settingscache.vala src/settingsconversion.vala src/swapprovider.vala src/tracemodel.vala src/trayindicatorview.vala src/utils.vala src/config.vapi src/gtop.vapi src/various.vapi
861 $(AM_V_at)rm -f $@ && echo stamp > $@-t
862 $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS) -C src/advpreferences.vala src/appindicatorview.vala src/colormapper.vala src/cpufreqprovider.vala src/cpuprovider.vala src/diskprovider.vala src/expressionparser.vala src/function.vala src/graphmodels.vala src/graphmodel.vala src/indicator.vala src/indicatorview.vala src/itemhelp.vala src/itempreferences.vala src/loadprovider.vala src/main.vala src/memprovider.vala src/menumodel.vala src/netprovider.vala src/preferences.vala src/providers.vala src/provider.vala src/reaper.vala src/settingscache.vala src/settingsconversion.vala src/swapprovider.vala src/tracemodel.vala src/trayindicatorview.vala src/utils.vala src/config.vapi src/gtop.vapi src/various.vapi
863 $(AM_V_at)mv -f $@-t $@
864install-desktopDATA: $(desktop_DATA)
865 @$(NORMAL_INSTALL)
866 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
867 if test -n "$$list"; then \
868 echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \
869 $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \
870 fi; \
871 for p in $$list; do \
872 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
873 echo "$$d$$p"; \
874 done | $(am__base_list) | \
875 while read files; do \
876 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
877 $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
878 done
879
880uninstall-desktopDATA:
881 @$(NORMAL_UNINSTALL)
882 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
883 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
884 dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir)
344install-multiloaddocDATA: $(multiloaddoc_DATA)885install-multiloaddocDATA: $(multiloaddoc_DATA)
345 @$(NORMAL_INSTALL)886 @$(NORMAL_INSTALL)
346 test -z "$(multiloaddocdir)" || $(MKDIR_P) "$(DESTDIR)$(multiloaddocdir)"
347 @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \887 @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \
888 if test -n "$$list"; then \
889 echo " $(MKDIR_P) '$(DESTDIR)$(multiloaddocdir)'"; \
890 $(MKDIR_P) "$(DESTDIR)$(multiloaddocdir)" || exit 1; \
891 fi; \
348 for p in $$list; do \892 for p in $$list; do \
349 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \893 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
350 echo "$$d$$p"; \894 echo "$$d$$p"; \
@@ -359,24 +903,48 @@
359 @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \903 @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \
360 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \904 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
361 dir='$(DESTDIR)$(multiloaddocdir)'; $(am__uninstall_files_from_dir)905 dir='$(DESTDIR)$(multiloaddocdir)'; $(am__uninstall_files_from_dir)
906install-nodist_uiDATA: $(nodist_ui_DATA)
907 @$(NORMAL_INSTALL)
908 @list='$(nodist_ui_DATA)'; test -n "$(uidir)" || list=; \
909 if test -n "$$list"; then \
910 echo " $(MKDIR_P) '$(DESTDIR)$(uidir)'"; \
911 $(MKDIR_P) "$(DESTDIR)$(uidir)" || exit 1; \
912 fi; \
913 for p in $$list; do \
914 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
915 echo "$$d$$p"; \
916 done | $(am__base_list) | \
917 while read files; do \
918 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(uidir)'"; \
919 $(INSTALL_DATA) $$files "$(DESTDIR)$(uidir)" || exit $$?; \
920 done
921
922uninstall-nodist_uiDATA:
923 @$(NORMAL_UNINSTALL)
924 @list='$(nodist_ui_DATA)'; test -n "$(uidir)" || list=; \
925 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
926 dir='$(DESTDIR)$(uidir)'; $(am__uninstall_files_from_dir)
362927
363# This directory's subdirectories are mostly independent; you can cd928# This directory's subdirectories are mostly independent; you can cd
364# into them and run `make' without going through this Makefile.929# into them and run 'make' without going through this Makefile.
365# To change the values of `make' variables: instead of editing Makefiles,930# To change the values of 'make' variables: instead of editing Makefiles,
366# (1) if the variable is set in `config.status', edit `config.status'931# (1) if the variable is set in 'config.status', edit 'config.status'
367# (which will cause the Makefiles to be regenerated when you run `make');932# (which will cause the Makefiles to be regenerated when you run 'make');
368# (2) otherwise, pass the desired values on the `make' command line.933# (2) otherwise, pass the desired values on the 'make' command line.
369$(RECURSIVE_TARGETS):934$(am__recursive_targets):
370 @fail= failcom='exit 1'; \935 @fail=; \
371 for f in x $$MAKEFLAGS; do \936 if $(am__make_keepgoing); then \
372 case $$f in \937 failcom='fail=yes'; \
373 *=* | --[!k]*);; \938 else \
374 *k*) failcom='fail=yes';; \939 failcom='exit 1'; \
375 esac; \940 fi; \
376 done; \
377 dot_seen=no; \941 dot_seen=no; \
378 target=`echo $@ | sed s/-recursive//`; \942 target=`echo $@ | sed s/-recursive//`; \
379 list='$(SUBDIRS)'; for subdir in $$list; do \943 case "$@" in \
944 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
945 *) list='$(SUBDIRS)' ;; \
946 esac; \
947 for subdir in $$list; do \
380 echo "Making $$target in $$subdir"; \948 echo "Making $$target in $$subdir"; \
381 if test "$$subdir" = "."; then \949 if test "$$subdir" = "."; then \
382 dot_seen=yes; \950 dot_seen=yes; \
@@ -391,57 +959,11 @@
391 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \959 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
392 fi; test -z "$$fail"960 fi; test -z "$$fail"
393961
394$(RECURSIVE_CLEAN_TARGETS):962ID: $(am__tagged_files)
395 @fail= failcom='exit 1'; \963 $(am__define_uniq_tagged_files); mkid -fID $$unique
396 for f in x $$MAKEFLAGS; do \964TAGS: tags
397 case $$f in \965
398 *=* | --[!k]*);; \966tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
399 *k*) failcom='fail=yes';; \
400 esac; \
401 done; \
402 dot_seen=no; \
403 case "$@" in \
404 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
405 *) list='$(SUBDIRS)' ;; \
406 esac; \
407 rev=''; for subdir in $$list; do \
408 if test "$$subdir" = "."; then :; else \
409 rev="$$subdir $$rev"; \
410 fi; \
411 done; \
412 rev="$$rev ."; \
413 target=`echo $@ | sed s/-recursive//`; \
414 for subdir in $$rev; do \
415 echo "Making $$target in $$subdir"; \
416 if test "$$subdir" = "."; then \
417 local_target="$$target-am"; \
418 else \
419 local_target="$$target"; \
420 fi; \
421 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
422 || eval $$failcom; \
423 done && test -z "$$fail"
424tags-recursive:
425 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
427 done
428ctags-recursive:
429 list='$(SUBDIRS)'; for subdir in $$list; do \
430 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
431 done
432
433ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
434 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
435 unique=`for i in $$list; do \
436 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
437 done | \
438 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
439 END { if (nonempty) { for (i in files) print i; }; }'`; \
440 mkid -fID $$unique
441tags: TAGS
442
443TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)
445 set x; \967 set x; \
446 here=`pwd`; \968 here=`pwd`; \
447 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \969 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -457,12 +979,7 @@
457 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \979 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
458 fi; \980 fi; \
459 done; \981 done; \
460 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \982 $(am__define_uniq_tagged_files); \
461 unique=`for i in $$list; do \
462 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
463 done | \
464 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
465 END { if (nonempty) { for (i in files) print i; }; }'`; \
466 shift; \983 shift; \
467 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \984 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
468 test -n "$$unique" || unique=$$empty_fix; \985 test -n "$$unique" || unique=$$empty_fix; \
@@ -474,15 +991,11 @@
474 $$unique; \991 $$unique; \
475 fi; \992 fi; \
476 fi993 fi
477ctags: CTAGS994ctags: ctags-recursive
478CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \995
479 $(TAGS_FILES) $(LISP)996CTAGS: ctags
480 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \997ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
481 unique=`for i in $$list; do \998 $(am__define_uniq_tagged_files); \
482 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
483 done | \
484 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
485 END { if (nonempty) { for (i in files) print i; }; }'`; \
486 test -z "$(CTAGS_ARGS)$$unique" \999 test -z "$(CTAGS_ARGS)$$unique" \
487 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \1000 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
488 $$unique1001 $$unique
@@ -491,9 +1004,31 @@
491 here=`$(am__cd) $(top_builddir) && pwd` \1004 here=`$(am__cd) $(top_builddir) && pwd` \
492 && $(am__cd) $(top_srcdir) \1005 && $(am__cd) $(top_srcdir) \
493 && gtags -i $(GTAGS_ARGS) "$$here"1006 && gtags -i $(GTAGS_ARGS) "$$here"
1007cscope: cscope.files
1008 test ! -s cscope.files \
1009 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1010clean-cscope:
1011 -rm -f cscope.files
1012cscope.files: clean-cscope cscopelist
1013cscopelist: cscopelist-recursive
1014
1015cscopelist-am: $(am__tagged_files)
1016 list='$(am__tagged_files)'; \
1017 case "$(srcdir)" in \
1018 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1019 *) sdir=$(subdir)/$(srcdir) ;; \
1020 esac; \
1021 for i in $$list; do \
1022 if test -f "$$i"; then \
1023 echo "$(subdir)/$$i"; \
1024 else \
1025 echo "$$sdir/$$i"; \
1026 fi; \
1027 done >> $(top_builddir)/cscope.files
4941028
495distclean-tags:1029distclean-tags:
496 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags1030 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1031 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
4971032
498distdir: $(DISTFILES)1033distdir: $(DISTFILES)
499 $(am__remove_distdir)1034 $(am__remove_distdir)
@@ -529,13 +1064,10 @@
529 done1064 done
530 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \1065 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
531 if test "$$subdir" = .; then :; else \1066 if test "$$subdir" = .; then :; else \
532 test -d "$(distdir)/$$subdir" \1067 $(am__make_dryrun) \
533 || $(MKDIR_P) "$(distdir)/$$subdir" \1068 || test -d "$(distdir)/$$subdir" \
534 || exit 1; \1069 || $(MKDIR_P) "$(distdir)/$$subdir" \
535 fi; \1070 || exit 1; \
536 done
537 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
538 if test "$$subdir" = .; then :; else \
539 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \1071 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
540 $(am__relativize); \1072 $(am__relativize); \
541 new_distdir=$$reldir; \1073 new_distdir=$$reldir; \
@@ -564,40 +1096,41 @@
564 || chmod -R a+r "$(distdir)"1096 || chmod -R a+r "$(distdir)"
565dist-gzip: distdir1097dist-gzip: distdir
566 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1098 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
567 $(am__remove_distdir)1099 $(am__post_remove_distdir)
5681100
569dist-bzip2: distdir1101dist-bzip2: distdir
570 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz21102 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
571 $(am__remove_distdir)1103 $(am__post_remove_distdir)
5721104
573dist-lzip: distdir1105dist-lzip: distdir
574 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz1106 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
575 $(am__remove_distdir)1107 $(am__post_remove_distdir)
576
577dist-lzma: distdir
578 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
579 $(am__remove_distdir)
580
581dist-xz: distdir1108dist-xz: distdir
582 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz1109 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
583 $(am__remove_distdir)1110 $(am__post_remove_distdir)
5841111
585dist-tarZ: distdir1112dist-tarZ: distdir
1113 @echo WARNING: "Support for shar distribution archives is" \
1114 "deprecated." >&2
1115 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
586 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z1116 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
587 $(am__remove_distdir)1117 $(am__post_remove_distdir)
5881118
589dist-shar: distdir1119dist-shar: distdir
1120 @echo WARNING: "Support for distribution archives compressed with" \
1121 "legacy program 'compress' is deprecated." >&2
1122 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
590 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz1123 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
591 $(am__remove_distdir)1124 $(am__post_remove_distdir)
5921125
593dist-zip: distdir1126dist-zip: distdir
594 -rm -f $(distdir).zip1127 -rm -f $(distdir).zip
595 zip -rq $(distdir).zip $(distdir)1128 zip -rq $(distdir).zip $(distdir)
596 $(am__remove_distdir)1129 $(am__post_remove_distdir)
5971130
598dist dist-all: distdir1131dist dist-all:
599 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1132 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
600 $(am__remove_distdir)1133 $(am__post_remove_distdir)
6011134
602# This target untars the dist file and tries a VPATH configuration. Then1135# This target untars the dist file and tries a VPATH configuration. Then
603# it guarantees that the distribution is self-contained by making another1136# it guarantees that the distribution is self-contained by making another
@@ -608,8 +1141,6 @@
608 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\1141 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
609 *.tar.bz2*) \1142 *.tar.bz2*) \
610 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\1143 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
611 *.tar.lzma*) \
612 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
613 *.tar.lz*) \1144 *.tar.lz*) \
614 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\1145 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
615 *.tar.xz*) \1146 *.tar.xz*) \
@@ -621,18 +1152,19 @@
621 *.zip*) \1152 *.zip*) \
622 unzip $(distdir).zip ;;\1153 unzip $(distdir).zip ;;\
623 esac1154 esac
624 chmod -R a-w $(distdir); chmod a+w $(distdir)1155 chmod -R a-w $(distdir)
625 mkdir $(distdir)/_build1156 chmod u+w $(distdir)
626 mkdir $(distdir)/_inst1157 mkdir $(distdir)/_build $(distdir)/_inst
627 chmod a-w $(distdir)1158 chmod a-w $(distdir)
628 test -d $(distdir)/_build || exit 0; \1159 test -d $(distdir)/_build || exit 0; \
629 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \1160 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
630 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \1161 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
631 && am__cwd=`pwd` \1162 && am__cwd=`pwd` \
632 && $(am__cd) $(distdir)/_build \1163 && $(am__cd) $(distdir)/_build \
633 && ../configure --srcdir=.. --prefix="$$dc_install_base" \1164 && ../configure \
634 $(AM_DISTCHECK_CONFIGURE_FLAGS) \1165 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
635 $(DISTCHECK_CONFIGURE_FLAGS) \1166 $(DISTCHECK_CONFIGURE_FLAGS) \
1167 --srcdir=.. --prefix="$$dc_install_base" \
636 && $(MAKE) $(AM_MAKEFLAGS) \1168 && $(MAKE) $(AM_MAKEFLAGS) \
637 && $(MAKE) $(AM_MAKEFLAGS) dvi \1169 && $(MAKE) $(AM_MAKEFLAGS) dvi \
638 && $(MAKE) $(AM_MAKEFLAGS) check \1170 && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -655,7 +1187,7 @@
655 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \1187 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
656 && cd "$$am__cwd" \1188 && cd "$$am__cwd" \
657 || exit 11189 || exit 1
658 $(am__remove_distdir)1190 $(am__post_remove_distdir)
659 @(echo "$(distdir) archives ready for distribution: "; \1191 @(echo "$(distdir) archives ready for distribution: "; \
660 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \1192 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
661 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'1193 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
@@ -687,10 +1219,10 @@
687 exit 1; } >&21219 exit 1; } >&2
688check-am: all-am1220check-am: all-am
689check: check-recursive1221check: check-recursive
690all-am: Makefile $(DATA) config.h1222all-am: Makefile $(PROGRAMS) $(DATA) config.h
691installdirs: installdirs-recursive1223installdirs: installdirs-recursive
692installdirs-am:1224installdirs-am:
693 for dir in "$(DESTDIR)$(multiloaddocdir)"; do \1225 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(multiloaddocdir)" "$(DESTDIR)$(uidir)"; do \
694 test -z "$$dir" || $(MKDIR_P) "$$dir"; \1226 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
695 done1227 done
696install: install-recursive1228install: install-recursive
@@ -715,22 +1247,87 @@
715mostlyclean-generic:1247mostlyclean-generic:
7161248
717clean-generic:1249clean-generic:
1250 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
7181251
719distclean-generic:1252distclean-generic:
720 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)1253 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
721 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)1254 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1255 -rm -f src/$(DEPDIR)/$(am__dirstamp)
1256 -rm -f src/$(am__dirstamp)
1257 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
7221258
723maintainer-clean-generic:1259maintainer-clean-generic:
724 @echo "This command is intended for maintainers to use"1260 @echo "This command is intended for maintainers to use"
725 @echo "it deletes files that may require special tools to rebuild."1261 @echo "it deletes files that may require special tools to rebuild."
1262 -rm -f $(srcdir)/indicator_multiload_vala.stamp
1263 -rm -f $(srcdir)/src/advpreferences.c
1264 -rm -f $(srcdir)/src/appindicatorview.c
1265 -rm -f $(srcdir)/src/colormapper.c
1266 -rm -f $(srcdir)/src/cpufreqprovider.c
1267 -rm -f $(srcdir)/src/cpuprovider.c
1268 -rm -f $(srcdir)/src/diskprovider.c
1269 -rm -f $(srcdir)/src/expressionparser.c
1270 -rm -f $(srcdir)/src/function.c
1271 -rm -f $(srcdir)/src/graphmodel.c
1272 -rm -f $(srcdir)/src/graphmodels.c
1273 -rm -f $(srcdir)/src/indicator.c
1274 -rm -f $(srcdir)/src/indicatorview.c
1275 -rm -f $(srcdir)/src/itemhelp.c
1276 -rm -f $(srcdir)/src/itempreferences.c
1277 -rm -f $(srcdir)/src/loadprovider.c
1278 -rm -f $(srcdir)/src/main.c
1279 -rm -f $(srcdir)/src/memprovider.c
1280 -rm -f $(srcdir)/src/menumodel.c
1281 -rm -f $(srcdir)/src/netprovider.c
1282 -rm -f $(srcdir)/src/preferences.c
1283 -rm -f $(srcdir)/src/provider.c
1284 -rm -f $(srcdir)/src/providers.c
1285 -rm -f $(srcdir)/src/reaper.c
1286 -rm -f $(srcdir)/src/settingscache.c
1287 -rm -f $(srcdir)/src/settingsconversion.c
1288 -rm -f $(srcdir)/src/swapprovider.c
1289 -rm -f $(srcdir)/src/tracemodel.c
1290 -rm -f $(srcdir)/src/trayindicatorview.c
1291 -rm -f $(srcdir)/src/utils.c
1292 -rm -f src/advpreferences.c
1293 -rm -f src/appindicatorview.c
1294 -rm -f src/colormapper.c
1295 -rm -f src/cpufreqprovider.c
1296 -rm -f src/cpuprovider.c
1297 -rm -f src/diskprovider.c
1298 -rm -f src/expressionparser.c
1299 -rm -f src/function.c
1300 -rm -f src/graphmodel.c
1301 -rm -f src/graphmodels.c
1302 -rm -f src/indicator.c
1303 -rm -f src/indicatorview.c
1304 -rm -f src/itemhelp.c
1305 -rm -f src/itempreferences.c
1306 -rm -f src/loadprovider.c
1307 -rm -f src/main.c
1308 -rm -f src/memprovider.c
1309 -rm -f src/menumodel.c
1310 -rm -f src/netprovider.c
1311 -rm -f src/preferences.c
1312 -rm -f src/provider.c
1313 -rm -f src/providers.c
1314 -rm -f src/reaper.c
1315 -rm -f src/settingscache.c
1316 -rm -f src/settingsconversion.c
1317 -rm -f src/swapprovider.c
1318 -rm -f src/tracemodel.c
1319 -rm -f src/trayindicatorview.c
1320 -rm -f src/utils.c
726clean: clean-recursive1321clean: clean-recursive
7271322
728clean-am: clean-generic mostlyclean-am1323clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
7291324
730distclean: distclean-recursive1325distclean: distclean-recursive
731 -rm -f $(am__CONFIG_DISTCLEAN_FILES)1326 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1327 -rm -rf src/$(DEPDIR)
732 -rm -f Makefile1328 -rm -f Makefile
733distclean-am: clean-am distclean-generic distclean-hdr distclean-tags1329distclean-am: clean-am distclean-compile distclean-generic \
1330 distclean-hdr distclean-tags
7341331
735dvi: dvi-recursive1332dvi: dvi-recursive
7361333
@@ -744,13 +1341,14 @@
7441341
745info-am:1342info-am:
7461343
747install-data-am: install-multiloaddocDATA1344install-data-am: install-desktopDATA install-multiloaddocDATA \
1345 install-nodist_uiDATA
7481346
749install-dvi: install-dvi-recursive1347install-dvi: install-dvi-recursive
7501348
751install-dvi-am:1349install-dvi-am:
7521350
753install-exec-am:1351install-exec-am: install-binPROGRAMS
7541352
755install-html: install-html-recursive1353install-html: install-html-recursive
7561354
@@ -775,12 +1373,13 @@
775maintainer-clean: maintainer-clean-recursive1373maintainer-clean: maintainer-clean-recursive
776 -rm -f $(am__CONFIG_DISTCLEAN_FILES)1374 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
777 -rm -rf $(top_srcdir)/autom4te.cache1375 -rm -rf $(top_srcdir)/autom4te.cache
1376 -rm -rf src/$(DEPDIR)
778 -rm -f Makefile1377 -rm -f Makefile
779maintainer-clean-am: distclean-am maintainer-clean-generic1378maintainer-clean-am: distclean-am maintainer-clean-generic
7801379
781mostlyclean: mostlyclean-recursive1380mostlyclean: mostlyclean-recursive
7821381
783mostlyclean-am: mostlyclean-generic1382mostlyclean-am: mostlyclean-compile mostlyclean-generic
7841383
785pdf: pdf-recursive1384pdf: pdf-recursive
7861385
@@ -790,60 +1389,86 @@
7901389
791ps-am:1390ps-am:
7921391
793uninstall-am: uninstall-multiloaddocDATA1392uninstall-am: uninstall-binPROGRAMS uninstall-desktopDATA \
1393 uninstall-multiloaddocDATA uninstall-nodist_uiDATA
794 @$(NORMAL_INSTALL)1394 @$(NORMAL_INSTALL)
795 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook1395 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
796.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \1396.MAKE: $(am__recursive_targets) all install-am install-strip \
797 ctags-recursive install-am install-strip tags-recursive \
798 uninstall-am1397 uninstall-am
7991398
800.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \1399.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
801 all all-am am--refresh check check-am clean clean-generic \1400 am--refresh check check-am clean clean-binPROGRAMS \
802 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \1401 clean-cscope clean-generic cscope cscopelist-am ctags ctags-am \
803 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \1402 dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \
804 distcheck distclean distclean-generic distclean-hdr \1403 dist-tarZ dist-xz dist-zip distcheck distclean \
1404 distclean-compile distclean-generic distclean-hdr \
805 distclean-tags distcleancheck distdir distuninstallcheck dvi \1405 distclean-tags distcleancheck distdir distuninstallcheck dvi \
806 dvi-am html html-am info info-am install install-am \1406 dvi-am html html-am info info-am install install-am \
807 install-data install-data-am install-dvi install-dvi-am \1407 install-binPROGRAMS install-data install-data-am \
808 install-exec install-exec-am install-html install-html-am \1408 install-desktopDATA install-dvi install-dvi-am install-exec \
809 install-info install-info-am install-man \1409 install-exec-am install-html install-html-am install-info \
810 install-multiloaddocDATA install-pdf install-pdf-am install-ps \1410 install-info-am install-man install-multiloaddocDATA \
1411 install-nodist_uiDATA install-pdf install-pdf-am install-ps \
811 install-ps-am install-strip installcheck installcheck-am \1412 install-ps-am install-strip installcheck installcheck-am \
812 installdirs installdirs-am maintainer-clean \1413 installdirs installdirs-am maintainer-clean \
813 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \1414 maintainer-clean-generic mostlyclean mostlyclean-compile \
814 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \1415 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
815 uninstall-hook uninstall-multiloaddocDATA1416 uninstall-am uninstall-binPROGRAMS uninstall-desktopDATA \
8161417 uninstall-hook uninstall-multiloaddocDATA \
1418 uninstall-nodist_uiDATA
1419
1420
1421@INTLTOOL_DESKTOP_RULE@
1422@INTLTOOL_XML_NOMERGE_RULE@
1423@GSETTINGS_RULES@
8171424
818uninstall-hook:1425uninstall-hook:
819 -rmdir $(multiloaddocdir)1426 -rmdir $(multiloaddocdir) $(pkgdatadir)
8201427
821test-run:1428# run targets
822 -rm -rf local-xdg-data-dir1429
823 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload1430test-run: all
824 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas1431 -rm -rf local-xdg-data-dir
825 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload1432 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
826 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas1433 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
827 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc src/indicator-multiload1434 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
828 -rm -rf local-xdg-data-dir1435 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
8291436 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc ./indicator-multiload
830test-debug:1437 -rm -rf local-xdg-data-dir
831 -rm -rf local-xdg-data-dir1438
832 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload1439test-verbose: all
833 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas1440 -rm -rf local-xdg-data-dir
834 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload1441 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
835 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas1442 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
836 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc gdb src/indicator-multiload1443 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
837 -rm -rf local-xdg-data-dir1444 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
8381445 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc ./indicator-multiload
839test-valgrind:1446 -rm -rf local-xdg-data-dir
840 -rm -rf local-xdg-data-dir1447
841 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload1448test-debug: all
842 -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas1449 -rm -rf local-xdg-data-dir
843 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload1450 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
844 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas1451 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
845 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump src/indicator-multiload1452 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
846 -rm -rf local-xdg-data-dir1453 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
1454 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc gdb --args ./indicator-multiload
1455 -rm -rf local-xdg-data-dir
1456
1457test-valgrind: all
1458 -rm -rf local-xdg-data-dir
1459 -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
1460 -ln -s ../../../data/de.mh21.indicator-multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
1461 -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
1462 -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
1463 -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_MESSAGES_DEBUG=all G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump ./indicator-multiload
1464 -rm -rf local-xdg-data-dir
1465
1466# these are a bit of a hack, as automake has tags support
1467tags:
1468 -anjuta-tags -R -o tags src
1469
1470tags-vala:
1471 -anjuta-tags -o tags-vala /usr/share/vala-$$($(VALAC) --version | sed 's/.*\(0\.[0-9]\+\)\.[0-9]\+/\1/')/vapi/*.vapi
8471472
848# Tell versions [3.59,3.63) of GNU make to not export all variables.1473# Tell versions [3.59,3.63) of GNU make to not export all variables.
849# Otherwise a system limit (for SysV at least) may be exceeded.1474# Otherwise a system limit (for SysV at least) may be exceeded.
8501475
=== modified file 'README'
--- README 2013-02-16 17:50:35 +0000
+++ README 2014-06-14 19:08:06 +0000
@@ -3,7 +3,7 @@
3Strings have been kept the same as in gnome-applets where possible to reduce translation work.3Strings have been kept the same as in gnome-applets where possible to reduce translation work.
44
5For more advanced settings such as which variables are shown and whether graphs5For more advanced settings such as which variables are shown and whether graphs
6autoscale, open dconf-editor and navigate to /apps/indicators/multiload/.6autoscale, open dconf-editor and navigate to /de/mh21/indicator-multiload/.
77
8Expressions are strings with embedded code within $(...). Variables are of the8Expressions are strings with embedded code within $(...). Variables are of the
9form provider.variable, a list is available from indicator-multiload -l. You9form provider.variable, a list is available from indicator-multiload -l. You
1010
=== modified file 'TODO'
--- TODO 2013-02-16 17:50:35 +0000
+++ TODO 2014-06-14 19:08:06 +0000
@@ -1,11 +1,12 @@
10.3:
2- no graphs shown should be possible
3- first icon should be empty icon, not image-not-found
4- system(...) function
5
60.4:10.4:
7- color schemes2- de support indicator: lxde, xfce, gnome, classic, mint, cinnamon, unity, kde
3- de support tray icon: lxde, xfce, gnome, classic, mint, cinnamon, unity, kde
4- label guide bug? -> file bug
5- try to recover some translations for colors in pref dialog, menu items etc.
6
70.5:
8- gtop shared mem is always 0, remove or reuse? - alert color?
8- error messages for expressions not only on stderr9- error messages for expressions not only on stderr
910- more providers: temp, disk temp, disk space
10File bug reports:11- icon styles: text, bar, chart, checker board
11- glibtop lvm12- render text ourselves
1213
=== modified file 'aclocal.m4'
--- aclocal.m4 2013-02-16 17:50:35 +0000
+++ aclocal.m4 2014-06-14 19:08:06 +0000
@@ -1,8 +1,7 @@
1# generated automatically by aclocal 1.11.3 -*- Autoconf -*-1# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,4
5# Inc.
6# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -12,397 +11,14 @@
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1413
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15m4_ifndef([AC_AUTOCONF_VERSION],15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.68.18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to.19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])])21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
23# gettext.m4 serial 63 (gettext-0.18)
24dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
25dnl This file is free software; the Free Software Foundation
26dnl gives unlimited permission to copy and/or distribute it,
27dnl with or without modifications, as long as this notice is preserved.
28dnl
29dnl This file can can be used in projects which are not available under
30dnl the GNU General Public License or the GNU Library General Public
31dnl License but which still want to provide support for the GNU gettext
32dnl functionality.
33dnl Please note that the actual code of the GNU gettext library is covered
34dnl by the GNU Library General Public License, and the rest of the GNU
35dnl gettext package package is covered by the GNU General Public License.
36dnl They are *not* in the public domain.
37
38dnl Authors:
39dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
40dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010.
41
42dnl Macro to add for using GNU gettext.
43
44dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
45dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
46dnl default (if it is not specified or empty) is 'no-libtool'.
47dnl INTLSYMBOL should be 'external' for packages with no intl directory,
48dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
49dnl If INTLSYMBOL is 'use-libtool', then a libtool library
50dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
51dnl depending on --{enable,disable}-{shared,static} and on the presence of
52dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
53dnl $(top_builddir)/intl/libintl.a will be created.
54dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
55dnl implementations (in libc or libintl) without the ngettext() function
56dnl will be ignored. If NEEDSYMBOL is specified and is
57dnl 'need-formatstring-macros', then GNU gettext implementations that don't
58dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
59dnl INTLDIR is used to find the intl libraries. If empty,
60dnl the value `$(top_builddir)/intl/' is used.
61dnl
62dnl The result of the configuration is one of three cases:
63dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
64dnl and used.
65dnl Catalog format: GNU --> install in $(datadir)
66dnl Catalog extension: .mo after installation, .gmo in source tree
67dnl 2) GNU gettext has been found in the system's C library.
68dnl Catalog format: GNU --> install in $(datadir)
69dnl Catalog extension: .mo after installation, .gmo in source tree
70dnl 3) No internationalization, always use English msgid.
71dnl Catalog format: none
72dnl Catalog extension: none
73dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
74dnl The use of .gmo is historical (it was needed to avoid overwriting the
75dnl GNU format catalogs when building on a platform with an X/Open gettext),
76dnl but we keep it in order not to force irrelevant filename changes on the
77dnl maintainers.
78dnl
79AC_DEFUN([AM_GNU_GETTEXT],
80[
81 dnl Argument checking.
82 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
83 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
84])])])])])
85 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
86 [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
87 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
88 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
89])])])])
90 define([gt_included_intl],
91 ifelse([$1], [external],
92 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
93 [yes]))
94 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
95 gt_NEEDS_INIT
96 AM_GNU_GETTEXT_NEED([$2])
97
98 AC_REQUIRE([AM_PO_SUBDIRS])dnl
99 ifelse(gt_included_intl, yes, [
100 AC_REQUIRE([AM_INTL_SUBDIR])dnl
101 ])
102
103 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
104 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
105 AC_REQUIRE([AC_LIB_RPATH])
106
107 dnl Sometimes libintl requires libiconv, so first search for libiconv.
108 dnl Ideally we would do this search only after the
109 dnl if test "$USE_NLS" = "yes"; then
110 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
111 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
112 dnl the configure script would need to contain the same shell code
113 dnl again, outside any 'if'. There are two solutions:
114 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
115 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
116 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
117 dnl documented, we avoid it.
118 ifelse(gt_included_intl, yes, , [
119 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
120 ])
121
122 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
123 gt_INTL_MACOSX
124
125 dnl Set USE_NLS.
126 AC_REQUIRE([AM_NLS])
127
128 ifelse(gt_included_intl, yes, [
129 BUILD_INCLUDED_LIBINTL=no
130 USE_INCLUDED_LIBINTL=no
131 ])
132 LIBINTL=
133 LTLIBINTL=
134 POSUB=
135
136 dnl Add a version number to the cache macros.
137 case " $gt_needs " in
138 *" need-formatstring-macros "*) gt_api_version=3 ;;
139 *" need-ngettext "*) gt_api_version=2 ;;
140 *) gt_api_version=1 ;;
141 esac
142 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
143 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
144
145 dnl If we use NLS figure out what method
146 if test "$USE_NLS" = "yes"; then
147 gt_use_preinstalled_gnugettext=no
148 ifelse(gt_included_intl, yes, [
149 AC_MSG_CHECKING([whether included gettext is requested])
150 AC_ARG_WITH([included-gettext],
151 [ --with-included-gettext use the GNU gettext library included here],
152 nls_cv_force_use_gnu_gettext=$withval,
153 nls_cv_force_use_gnu_gettext=no)
154 AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
155
156 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
157 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
158 ])
159 dnl User does not insist on using GNU NLS library. Figure out what
160 dnl to use. If GNU gettext is available we use this. Else we have
161 dnl to fall back to GNU NLS library.
162
163 if test $gt_api_version -ge 3; then
164 gt_revision_test_code='
165#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
166#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
167#endif
168changequote(,)dnl
169typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
170changequote([,])dnl
171'
172 else
173 gt_revision_test_code=
174 fi
175 if test $gt_api_version -ge 2; then
176 gt_expression_test_code=' + * ngettext ("", "", 0)'
177 else
178 gt_expression_test_code=
179 fi
180
181 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
182 [AC_TRY_LINK([#include <libintl.h>
183$gt_revision_test_code
184extern int _nl_msg_cat_cntr;
185extern int *_nl_domain_bindings;],
186 [bindtextdomain ("", "");
187return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
188 [eval "$gt_func_gnugettext_libc=yes"],
189 [eval "$gt_func_gnugettext_libc=no"])])
190
191 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
192 dnl Sometimes libintl requires libiconv, so first search for libiconv.
193 ifelse(gt_included_intl, yes, , [
194 AM_ICONV_LINK
195 ])
196 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
197 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
198 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
199 dnl even if libiconv doesn't exist.
200 AC_LIB_LINKFLAGS_BODY([intl])
201 AC_CACHE_CHECK([for GNU gettext in libintl],
202 [$gt_func_gnugettext_libintl],
203 [gt_save_CPPFLAGS="$CPPFLAGS"
204 CPPFLAGS="$CPPFLAGS $INCINTL"
205 gt_save_LIBS="$LIBS"
206 LIBS="$LIBS $LIBINTL"
207 dnl Now see whether libintl exists and does not depend on libiconv.
208 AC_TRY_LINK([#include <libintl.h>
209$gt_revision_test_code
210extern int _nl_msg_cat_cntr;
211extern
212#ifdef __cplusplus
213"C"
214#endif
215const char *_nl_expand_alias (const char *);],
216 [bindtextdomain ("", "");
217return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
218 [eval "$gt_func_gnugettext_libintl=yes"],
219 [eval "$gt_func_gnugettext_libintl=no"])
220 dnl Now see whether libintl exists and depends on libiconv.
221 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
222 LIBS="$LIBS $LIBICONV"
223 AC_TRY_LINK([#include <libintl.h>
224$gt_revision_test_code
225extern int _nl_msg_cat_cntr;
226extern
227#ifdef __cplusplus
228"C"
229#endif
230const char *_nl_expand_alias (const char *);],
231 [bindtextdomain ("", "");
232return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
233 [LIBINTL="$LIBINTL $LIBICONV"
234 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
235 eval "$gt_func_gnugettext_libintl=yes"
236 ])
237 fi
238 CPPFLAGS="$gt_save_CPPFLAGS"
239 LIBS="$gt_save_LIBS"])
240 fi
241
242 dnl If an already present or preinstalled GNU gettext() is found,
243 dnl use it. But if this macro is used in GNU gettext, and GNU
244 dnl gettext is already preinstalled in libintl, we update this
245 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
246 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
247 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
248 && test "$PACKAGE" != gettext-runtime \
249 && test "$PACKAGE" != gettext-tools; }; then
250 gt_use_preinstalled_gnugettext=yes
251 else
252 dnl Reset the values set by searching for libintl.
253 LIBINTL=
254 LTLIBINTL=
255 INCINTL=
256 fi
257
258 ifelse(gt_included_intl, yes, [
259 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
260 dnl GNU gettext is not found in the C library.
261 dnl Fall back on included GNU gettext library.
262 nls_cv_use_gnu_gettext=yes
263 fi
264 fi
265
266 if test "$nls_cv_use_gnu_gettext" = "yes"; then
267 dnl Mark actions used to generate GNU NLS library.
268 BUILD_INCLUDED_LIBINTL=yes
269 USE_INCLUDED_LIBINTL=yes
270 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
271 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
272 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
273 fi
274
275 CATOBJEXT=
276 if test "$gt_use_preinstalled_gnugettext" = "yes" \
277 || test "$nls_cv_use_gnu_gettext" = "yes"; then
278 dnl Mark actions to use GNU gettext tools.
279 CATOBJEXT=.gmo
280 fi
281 ])
282
283 if test -n "$INTL_MACOSX_LIBS"; then
284 if test "$gt_use_preinstalled_gnugettext" = "yes" \
285 || test "$nls_cv_use_gnu_gettext" = "yes"; then
286 dnl Some extra flags are needed during linking.
287 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
288 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
289 fi
290 fi
291
292 if test "$gt_use_preinstalled_gnugettext" = "yes" \
293 || test "$nls_cv_use_gnu_gettext" = "yes"; then
294 AC_DEFINE([ENABLE_NLS], [1],
295 [Define to 1 if translation of program messages to the user's native language
296 is requested.])
297 else
298 USE_NLS=no
299 fi
300 fi
301
302 AC_MSG_CHECKING([whether to use NLS])
303 AC_MSG_RESULT([$USE_NLS])
304 if test "$USE_NLS" = "yes"; then
305 AC_MSG_CHECKING([where the gettext function comes from])
306 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
307 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
308 gt_source="external libintl"
309 else
310 gt_source="libc"
311 fi
312 else
313 gt_source="included intl directory"
314 fi
315 AC_MSG_RESULT([$gt_source])
316 fi
317
318 if test "$USE_NLS" = "yes"; then
319
320 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
321 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
322 AC_MSG_CHECKING([how to link with libintl])
323 AC_MSG_RESULT([$LIBINTL])
324 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
325 fi
326
327 dnl For backward compatibility. Some packages may be using this.
328 AC_DEFINE([HAVE_GETTEXT], [1],
329 [Define if the GNU gettext() function is already present or preinstalled.])
330 AC_DEFINE([HAVE_DCGETTEXT], [1],
331 [Define if the GNU dcgettext() function is already present or preinstalled.])
332 fi
333
334 dnl We need to process the po/ directory.
335 POSUB=po
336 fi
337
338 ifelse(gt_included_intl, yes, [
339 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
340 dnl to 'yes' because some of the testsuite requires it.
341 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
342 BUILD_INCLUDED_LIBINTL=yes
343 fi
344
345 dnl Make all variables we use known to autoconf.
346 AC_SUBST([BUILD_INCLUDED_LIBINTL])
347 AC_SUBST([USE_INCLUDED_LIBINTL])
348 AC_SUBST([CATOBJEXT])
349
350 dnl For backward compatibility. Some configure.ins may be using this.
351 nls_cv_header_intl=
352 nls_cv_header_libgt=
353
354 dnl For backward compatibility. Some Makefiles may be using this.
355 DATADIRNAME=share
356 AC_SUBST([DATADIRNAME])
357
358 dnl For backward compatibility. Some Makefiles may be using this.
359 INSTOBJEXT=.mo
360 AC_SUBST([INSTOBJEXT])
361
362 dnl For backward compatibility. Some Makefiles may be using this.
363 GENCAT=gencat
364 AC_SUBST([GENCAT])
365
366 dnl For backward compatibility. Some Makefiles may be using this.
367 INTLOBJS=
368 if test "$USE_INCLUDED_LIBINTL" = yes; then
369 INTLOBJS="\$(GETTOBJS)"
370 fi
371 AC_SUBST([INTLOBJS])
372
373 dnl Enable libtool support if the surrounding package wishes it.
374 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
375 AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
376 ])
377
378 dnl For backward compatibility. Some Makefiles may be using this.
379 INTLLIBS="$LIBINTL"
380 AC_SUBST([INTLLIBS])
381
382 dnl Make all documented variables known to autoconf.
383 AC_SUBST([LIBINTL])
384 AC_SUBST([LTLIBINTL])
385 AC_SUBST([POSUB])
386])
387
388
389dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
390m4_define([gt_NEEDS_INIT],
391[
392 m4_divert_text([DEFAULTS], [gt_needs=])
393 m4_define([gt_NEEDS_INIT], [])
394])
395
396
397dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
398AC_DEFUN([AM_GNU_GETTEXT_NEED],
399[
400 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
401])
402
403
404dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
405AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
40622
407dnl GLIB_GSETTINGS23dnl GLIB_GSETTINGS
408dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether24dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
@@ -443,7 +59,7 @@
443gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))59gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
44460
445%.gschema.valid: %.gschema.xml $(gsettings__enum_file)61%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
446 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@62 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
44763
448all-am: $(gsettings_SCHEMAS:.xml=.valid)64all-am: $(gsettings_SCHEMAS:.xml=.valid)
449uninstall-am: uninstall-gsettings-schemas65uninstall-am: uninstall-gsettings-schemas
@@ -488,273 +104,6 @@
488]104]
489)105)
490106
491# iconv.m4 serial 11 (gettext-0.18.1)
492dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
493dnl This file is free software; the Free Software Foundation
494dnl gives unlimited permission to copy and/or distribute it,
495dnl with or without modifications, as long as this notice is preserved.
496
497dnl From Bruno Haible.
498
499AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
500[
501 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
502 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
503 AC_REQUIRE([AC_LIB_RPATH])
504
505 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
506 dnl accordingly.
507 AC_LIB_LINKFLAGS_BODY([iconv])
508])
509
510AC_DEFUN([AM_ICONV_LINK],
511[
512 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
513 dnl those with the standalone portable GNU libiconv installed).
514 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
515
516 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
517 dnl accordingly.
518 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
519
520 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
521 dnl because if the user has installed libiconv and not disabled its use
522 dnl via --without-libiconv-prefix, he wants to use it. The first
523 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
524 am_save_CPPFLAGS="$CPPFLAGS"
525 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
526
527 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
528 am_cv_func_iconv="no, consider installing GNU libiconv"
529 am_cv_lib_iconv=no
530 AC_TRY_LINK([#include <stdlib.h>
531#include <iconv.h>],
532 [iconv_t cd = iconv_open("","");
533 iconv(cd,NULL,NULL,NULL,NULL);
534 iconv_close(cd);],
535 [am_cv_func_iconv=yes])
536 if test "$am_cv_func_iconv" != yes; then
537 am_save_LIBS="$LIBS"
538 LIBS="$LIBS $LIBICONV"
539 AC_TRY_LINK([#include <stdlib.h>
540#include <iconv.h>],
541 [iconv_t cd = iconv_open("","");
542 iconv(cd,NULL,NULL,NULL,NULL);
543 iconv_close(cd);],
544 [am_cv_lib_iconv=yes]
545 [am_cv_func_iconv=yes])
546 LIBS="$am_save_LIBS"
547 fi
548 ])
549 if test "$am_cv_func_iconv" = yes; then
550 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
551 dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10.
552 am_save_LIBS="$LIBS"
553 if test $am_cv_lib_iconv = yes; then
554 LIBS="$LIBS $LIBICONV"
555 fi
556 AC_TRY_RUN([
557#include <iconv.h>
558#include <string.h>
559int main ()
560{
561 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
562 returns. */
563 {
564 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
565 if (cd_utf8_to_88591 != (iconv_t)(-1))
566 {
567 static const char input[] = "\342\202\254"; /* EURO SIGN */
568 char buf[10];
569 const char *inptr = input;
570 size_t inbytesleft = strlen (input);
571 char *outptr = buf;
572 size_t outbytesleft = sizeof (buf);
573 size_t res = iconv (cd_utf8_to_88591,
574 (char **) &inptr, &inbytesleft,
575 &outptr, &outbytesleft);
576 if (res == 0)
577 return 1;
578 }
579 }
580 /* Test against Solaris 10 bug: Failures are not distinguishable from
581 successful returns. */
582 {
583 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
584 if (cd_ascii_to_88591 != (iconv_t)(-1))
585 {
586 static const char input[] = "\263";
587 char buf[10];
588 const char *inptr = input;
589 size_t inbytesleft = strlen (input);
590 char *outptr = buf;
591 size_t outbytesleft = sizeof (buf);
592 size_t res = iconv (cd_ascii_to_88591,
593 (char **) &inptr, &inbytesleft,
594 &outptr, &outbytesleft);
595 if (res == 0)
596 return 1;
597 }
598 }
599#if 0 /* This bug could be worked around by the caller. */
600 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
601 {
602 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
603 if (cd_88591_to_utf8 != (iconv_t)(-1))
604 {
605 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
606 char buf[50];
607 const char *inptr = input;
608 size_t inbytesleft = strlen (input);
609 char *outptr = buf;
610 size_t outbytesleft = sizeof (buf);
611 size_t res = iconv (cd_88591_to_utf8,
612 (char **) &inptr, &inbytesleft,
613 &outptr, &outbytesleft);
614 if ((int)res > 0)
615 return 1;
616 }
617 }
618#endif
619 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
620 provided. */
621 if (/* Try standardized names. */
622 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
623 /* Try IRIX, OSF/1 names. */
624 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
625 /* Try AIX names. */
626 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
627 /* Try HP-UX names. */
628 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
629 return 1;
630 return 0;
631}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
632 [case "$host_os" in
633 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
634 *) am_cv_func_iconv_works="guessing yes" ;;
635 esac])
636 LIBS="$am_save_LIBS"
637 ])
638 case "$am_cv_func_iconv_works" in
639 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
640 *) am_func_iconv=yes ;;
641 esac
642 else
643 am_func_iconv=no am_cv_lib_iconv=no
644 fi
645 if test "$am_func_iconv" = yes; then
646 AC_DEFINE([HAVE_ICONV], [1],
647 [Define if you have the iconv() function and it works.])
648 fi
649 if test "$am_cv_lib_iconv" = yes; then
650 AC_MSG_CHECKING([how to link with libiconv])
651 AC_MSG_RESULT([$LIBICONV])
652 else
653 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
654 dnl either.
655 CPPFLAGS="$am_save_CPPFLAGS"
656 LIBICONV=
657 LTLIBICONV=
658 fi
659 AC_SUBST([LIBICONV])
660 AC_SUBST([LTLIBICONV])
661])
662
663dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
664dnl avoid warnings like
665dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
666dnl This is tricky because of the way 'aclocal' is implemented:
667dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
668dnl Otherwise aclocal's initial scan pass would miss the macro definition.
669dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
670dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
671dnl warnings.
672m4_define([gl_iconv_AC_DEFUN],
673 m4_version_prereq([2.64],
674 [[AC_DEFUN_ONCE(
675 [$1], [$2])]],
676 [[AC_DEFUN(
677 [$1], [$2])]]))
678gl_iconv_AC_DEFUN([AM_ICONV],
679[
680 AM_ICONV_LINK
681 if test "$am_cv_func_iconv" = yes; then
682 AC_MSG_CHECKING([for iconv declaration])
683 AC_CACHE_VAL([am_cv_proto_iconv], [
684 AC_TRY_COMPILE([
685#include <stdlib.h>
686#include <iconv.h>
687extern
688#ifdef __cplusplus
689"C"
690#endif
691#if defined(__STDC__) || defined(__cplusplus)
692size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
693#else
694size_t iconv();
695#endif
696], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"])
697 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
698 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
699 AC_MSG_RESULT([
700 $am_cv_proto_iconv])
701 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
702 [Define as const if the declaration of iconv() needs const.])
703 fi
704])
705
706# intlmacosx.m4 serial 3 (gettext-0.18)
707dnl Copyright (C) 2004-2010 Free Software Foundation, Inc.
708dnl This file is free software; the Free Software Foundation
709dnl gives unlimited permission to copy and/or distribute it,
710dnl with or without modifications, as long as this notice is preserved.
711dnl
712dnl This file can can be used in projects which are not available under
713dnl the GNU General Public License or the GNU Library General Public
714dnl License but which still want to provide support for the GNU gettext
715dnl functionality.
716dnl Please note that the actual code of the GNU gettext library is covered
717dnl by the GNU Library General Public License, and the rest of the GNU
718dnl gettext package package is covered by the GNU General Public License.
719dnl They are *not* in the public domain.
720
721dnl Checks for special options needed on MacOS X.
722dnl Defines INTL_MACOSX_LIBS.
723AC_DEFUN([gt_INTL_MACOSX],
724[
725 dnl Check for API introduced in MacOS X 10.2.
726 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
727 [gt_cv_func_CFPreferencesCopyAppValue],
728 [gt_save_LIBS="$LIBS"
729 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
730 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
731 [CFPreferencesCopyAppValue(NULL, NULL)],
732 [gt_cv_func_CFPreferencesCopyAppValue=yes],
733 [gt_cv_func_CFPreferencesCopyAppValue=no])
734 LIBS="$gt_save_LIBS"])
735 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
736 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
737 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
738 fi
739 dnl Check for API introduced in MacOS X 10.3.
740 AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
741 [gt_save_LIBS="$LIBS"
742 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
743 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
744 [gt_cv_func_CFLocaleCopyCurrent=yes],
745 [gt_cv_func_CFLocaleCopyCurrent=no])
746 LIBS="$gt_save_LIBS"])
747 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
748 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
749 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
750 fi
751 INTL_MACOSX_LIBS=
752 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
753 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
754 fi
755 AC_SUBST([INTL_MACOSX_LIBS])
756])
757
758107
759dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])108dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
760# serial 42 IT_PROG_INTLTOOL109# serial 42 IT_PROG_INTLTOOL
@@ -970,1119 +319,8 @@
970# AC_DEFUN([AC_PROG_INTLTOOL], ...)319# AC_DEFUN([AC_PROG_INTLTOOL], ...)
971320
972321
973# lib-ld.m4 serial 4 (gettext-0.18)
974dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.
975dnl This file is free software; the Free Software Foundation
976dnl gives unlimited permission to copy and/or distribute it,
977dnl with or without modifications, as long as this notice is preserved.
978
979dnl Subroutines of libtool.m4,
980dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
981dnl with libtool.m4.
982
983dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
984AC_DEFUN([AC_LIB_PROG_LD_GNU],
985[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
986[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
987case `$LD -v 2>&1 </dev/null` in
988*GNU* | *'with BFD'*)
989 acl_cv_prog_gnu_ld=yes ;;
990*)
991 acl_cv_prog_gnu_ld=no ;;
992esac])
993with_gnu_ld=$acl_cv_prog_gnu_ld
994])
995
996dnl From libtool-1.4. Sets the variable LD.
997AC_DEFUN([AC_LIB_PROG_LD],
998[AC_ARG_WITH([gnu-ld],
999[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1000test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1001AC_REQUIRE([AC_PROG_CC])dnl
1002AC_REQUIRE([AC_CANONICAL_HOST])dnl
1003# Prepare PATH_SEPARATOR.
1004# The user is always right.
1005if test "${PATH_SEPARATOR+set}" != set; then
1006 echo "#! /bin/sh" >conf$$.sh
1007 echo "exit 0" >>conf$$.sh
1008 chmod +x conf$$.sh
1009 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1010 PATH_SEPARATOR=';'
1011 else
1012 PATH_SEPARATOR=:
1013 fi
1014 rm -f conf$$.sh
1015fi
1016ac_prog=ld
1017if test "$GCC" = yes; then
1018 # Check if gcc -print-prog-name=ld gives a path.
1019 AC_MSG_CHECKING([for ld used by GCC])
1020 case $host in
1021 *-*-mingw*)
1022 # gcc leaves a trailing carriage return which upsets mingw
1023 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1024 *)
1025 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1026 esac
1027 case $ac_prog in
1028 # Accept absolute paths.
1029 [[\\/]* | [A-Za-z]:[\\/]*)]
1030 [re_direlt='/[^/][^/]*/\.\./']
1031 # Canonicalize the path of ld
1032 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1033 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1034 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1035 done
1036 test -z "$LD" && LD="$ac_prog"
1037 ;;
1038 "")
1039 # If it fails, then pretend we aren't using GCC.
1040 ac_prog=ld
1041 ;;
1042 *)
1043 # If it is relative, then search for the first ld in PATH.
1044 with_gnu_ld=unknown
1045 ;;
1046 esac
1047elif test "$with_gnu_ld" = yes; then
1048 AC_MSG_CHECKING([for GNU ld])
1049else
1050 AC_MSG_CHECKING([for non-GNU ld])
1051fi
1052AC_CACHE_VAL([acl_cv_path_LD],
1053[if test -z "$LD"; then
1054 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1055 for ac_dir in $PATH; do
1056 test -z "$ac_dir" && ac_dir=.
1057 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1058 acl_cv_path_LD="$ac_dir/$ac_prog"
1059 # Check to see if the program is GNU ld. I'd rather use --version,
1060 # but apparently some GNU ld's only accept -v.
1061 # Break only if it was the GNU/non-GNU ld that we prefer.
1062 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1063 *GNU* | *'with BFD'*)
1064 test "$with_gnu_ld" != no && break ;;
1065 *)
1066 test "$with_gnu_ld" != yes && break ;;
1067 esac
1068 fi
1069 done
1070 IFS="$ac_save_ifs"
1071else
1072 acl_cv_path_LD="$LD" # Let the user override the test with a path.
1073fi])
1074LD="$acl_cv_path_LD"
1075if test -n "$LD"; then
1076 AC_MSG_RESULT([$LD])
1077else
1078 AC_MSG_RESULT([no])
1079fi
1080test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1081AC_LIB_PROG_LD_GNU
1082])
1083
1084# lib-link.m4 serial 21 (gettext-0.18)
1085dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.
1086dnl This file is free software; the Free Software Foundation
1087dnl gives unlimited permission to copy and/or distribute it,
1088dnl with or without modifications, as long as this notice is preserved.
1089
1090dnl From Bruno Haible.
1091
1092AC_PREREQ([2.54])
1093
1094dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1095dnl the libraries corresponding to explicit and implicit dependencies.
1096dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1097dnl augments the CPPFLAGS variable.
1098dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
1099dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1100AC_DEFUN([AC_LIB_LINKFLAGS],
1101[
1102 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1103 AC_REQUIRE([AC_LIB_RPATH])
1104 pushdef([Name],[translit([$1],[./-], [___])])
1105 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1106 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1107 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1108 AC_LIB_LINKFLAGS_BODY([$1], [$2])
1109 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1110 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1111 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
1112 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
1113 ])
1114 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1115 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1116 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
1117 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
1118 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1119 AC_SUBST([LIB]NAME)
1120 AC_SUBST([LTLIB]NAME)
1121 AC_SUBST([LIB]NAME[_PREFIX])
1122 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1123 dnl results of this search when this library appears as a dependency.
1124 HAVE_LIB[]NAME=yes
1125 popdef([NAME])
1126 popdef([Name])
1127])
1128
1129dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
1130dnl searches for libname and the libraries corresponding to explicit and
1131dnl implicit dependencies, together with the specified include files and
1132dnl the ability to compile and link the specified testcode. The missing-message
1133dnl defaults to 'no' and may contain additional hints for the user.
1134dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
1135dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
1136dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1137dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
1138dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
1139dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1140AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
1141[
1142 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1143 AC_REQUIRE([AC_LIB_RPATH])
1144 pushdef([Name],[translit([$1],[./-], [___])])
1145 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1146 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1147
1148 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1149 dnl accordingly.
1150 AC_LIB_LINKFLAGS_BODY([$1], [$2])
1151
1152 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1153 dnl because if the user has installed lib[]Name and not disabled its use
1154 dnl via --without-lib[]Name-prefix, he wants to use it.
1155 ac_save_CPPFLAGS="$CPPFLAGS"
1156 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1157
1158 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1159 ac_save_LIBS="$LIBS"
1160 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
1161 dnl because these -l options might require -L options that are present in
1162 dnl LIBS. -l options benefit only from the -L options listed before it.
1163 dnl Otherwise, add it to the front of LIBS, because it may be a static
1164 dnl library that depends on another static library that is present in LIBS.
1165 dnl Static libraries benefit only from the static libraries listed after
1166 dnl it.
1167 case " $LIB[]NAME" in
1168 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
1169 *) LIBS="$LIB[]NAME $LIBS" ;;
1170 esac
1171 AC_TRY_LINK([$3], [$4],
1172 [ac_cv_lib[]Name=yes],
1173 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
1174 LIBS="$ac_save_LIBS"
1175 ])
1176 if test "$ac_cv_lib[]Name" = yes; then
1177 HAVE_LIB[]NAME=yes
1178 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
1179 AC_MSG_CHECKING([how to link with lib[]$1])
1180 AC_MSG_RESULT([$LIB[]NAME])
1181 else
1182 HAVE_LIB[]NAME=no
1183 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1184 dnl $INC[]NAME either.
1185 CPPFLAGS="$ac_save_CPPFLAGS"
1186 LIB[]NAME=
1187 LTLIB[]NAME=
1188 LIB[]NAME[]_PREFIX=
1189 fi
1190 AC_SUBST([HAVE_LIB]NAME)
1191 AC_SUBST([LIB]NAME)
1192 AC_SUBST([LTLIB]NAME)
1193 AC_SUBST([LIB]NAME[_PREFIX])
1194 popdef([NAME])
1195 popdef([Name])
1196])
1197
1198dnl Determine the platform dependent parameters needed to use rpath:
1199dnl acl_libext,
1200dnl acl_shlibext,
1201dnl acl_hardcode_libdir_flag_spec,
1202dnl acl_hardcode_libdir_separator,
1203dnl acl_hardcode_direct,
1204dnl acl_hardcode_minus_L.
1205AC_DEFUN([AC_LIB_RPATH],
1206[
1207 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
1208 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
1209 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
1210 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
1211 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
1212 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
1213 AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
1214 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
1215 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
1216 . ./conftest.sh
1217 rm -f ./conftest.sh
1218 acl_cv_rpath=done
1219 ])
1220 wl="$acl_cv_wl"
1221 acl_libext="$acl_cv_libext"
1222 acl_shlibext="$acl_cv_shlibext"
1223 acl_libname_spec="$acl_cv_libname_spec"
1224 acl_library_names_spec="$acl_cv_library_names_spec"
1225 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1226 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
1227 acl_hardcode_direct="$acl_cv_hardcode_direct"
1228 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
1229 dnl Determine whether the user wants rpath handling at all.
1230 AC_ARG_ENABLE([rpath],
1231 [ --disable-rpath do not hardcode runtime library paths],
1232 :, enable_rpath=yes)
1233])
1234
1235dnl AC_LIB_FROMPACKAGE(name, package)
1236dnl declares that libname comes from the given package. The configure file
1237dnl will then not have a --with-libname-prefix option but a
1238dnl --with-package-prefix option. Several libraries can come from the same
1239dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
1240dnl macro call that searches for libname.
1241AC_DEFUN([AC_LIB_FROMPACKAGE],
1242[
1243 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1244 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1245 define([acl_frompackage_]NAME, [$2])
1246 popdef([NAME])
1247 pushdef([PACK],[$2])
1248 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
1249 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1250 define([acl_libsinpackage_]PACKUP,
1251 m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
1252 popdef([PACKUP])
1253 popdef([PACK])
1254])
1255
1256dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
1257dnl the libraries corresponding to explicit and implicit dependencies.
1258dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
1259dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
1260dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1261AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
1262[
1263 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1264 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1265 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1266 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
1267 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
1268 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1269 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
1270 dnl Autoconf >= 2.61 supports dots in --with options.
1271 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
1272 dnl By default, look in $includedir and $libdir.
1273 use_additional=yes
1274 AC_LIB_WITH_FINAL_PREFIX([
1275 eval additional_includedir=\"$includedir\"
1276 eval additional_libdir=\"$libdir\"
1277 ])
1278 AC_ARG_WITH(P_A_C_K[-prefix],
1279[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
1280 --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
1281[
1282 if test "X$withval" = "Xno"; then
1283 use_additional=no
1284 else
1285 if test "X$withval" = "X"; then
1286 AC_LIB_WITH_FINAL_PREFIX([
1287 eval additional_includedir=\"$includedir\"
1288 eval additional_libdir=\"$libdir\"
1289 ])
1290 else
1291 additional_includedir="$withval/include"
1292 additional_libdir="$withval/$acl_libdirstem"
1293 if test "$acl_libdirstem2" != "$acl_libdirstem" \
1294 && ! test -d "$withval/$acl_libdirstem"; then
1295 additional_libdir="$withval/$acl_libdirstem2"
1296 fi
1297 fi
1298 fi
1299])
1300 dnl Search the library and its dependencies in $additional_libdir and
1301 dnl $LDFLAGS. Using breadth-first-seach.
1302 LIB[]NAME=
1303 LTLIB[]NAME=
1304 INC[]NAME=
1305 LIB[]NAME[]_PREFIX=
1306 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
1307 dnl computed. So it has to be reset here.
1308 HAVE_LIB[]NAME=
1309 rpathdirs=
1310 ltrpathdirs=
1311 names_already_handled=
1312 names_next_round='$1 $2'
1313 while test -n "$names_next_round"; do
1314 names_this_round="$names_next_round"
1315 names_next_round=
1316 for name in $names_this_round; do
1317 already_handled=
1318 for n in $names_already_handled; do
1319 if test "$n" = "$name"; then
1320 already_handled=yes
1321 break
1322 fi
1323 done
1324 if test -z "$already_handled"; then
1325 names_already_handled="$names_already_handled $name"
1326 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1327 dnl or AC_LIB_HAVE_LINKFLAGS call.
1328 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1329 eval value=\"\$HAVE_LIB$uppername\"
1330 if test -n "$value"; then
1331 if test "$value" = yes; then
1332 eval value=\"\$LIB$uppername\"
1333 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1334 eval value=\"\$LTLIB$uppername\"
1335 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1336 else
1337 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1338 dnl that this library doesn't exist. So just drop it.
1339 :
1340 fi
1341 else
1342 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1343 dnl and the already constructed $LIBNAME/$LTLIBNAME.
1344 found_dir=
1345 found_la=
1346 found_so=
1347 found_a=
1348 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
1349 if test -n "$acl_shlibext"; then
1350 shrext=".$acl_shlibext" # typically: shrext=.so
1351 else
1352 shrext=
1353 fi
1354 if test $use_additional = yes; then
1355 dir="$additional_libdir"
1356 dnl The same code as in the loop below:
1357 dnl First look for a shared library.
1358 if test -n "$acl_shlibext"; then
1359 if test -f "$dir/$libname$shrext"; then
1360 found_dir="$dir"
1361 found_so="$dir/$libname$shrext"
1362 else
1363 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1364 ver=`(cd "$dir" && \
1365 for f in "$libname$shrext".*; do echo "$f"; done \
1366 | sed -e "s,^$libname$shrext\\\\.,," \
1367 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1368 | sed 1q ) 2>/dev/null`
1369 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1370 found_dir="$dir"
1371 found_so="$dir/$libname$shrext.$ver"
1372 fi
1373 else
1374 eval library_names=\"$acl_library_names_spec\"
1375 for f in $library_names; do
1376 if test -f "$dir/$f"; then
1377 found_dir="$dir"
1378 found_so="$dir/$f"
1379 break
1380 fi
1381 done
1382 fi
1383 fi
1384 fi
1385 dnl Then look for a static library.
1386 if test "X$found_dir" = "X"; then
1387 if test -f "$dir/$libname.$acl_libext"; then
1388 found_dir="$dir"
1389 found_a="$dir/$libname.$acl_libext"
1390 fi
1391 fi
1392 if test "X$found_dir" != "X"; then
1393 if test -f "$dir/$libname.la"; then
1394 found_la="$dir/$libname.la"
1395 fi
1396 fi
1397 fi
1398 if test "X$found_dir" = "X"; then
1399 for x in $LDFLAGS $LTLIB[]NAME; do
1400 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1401 case "$x" in
1402 -L*)
1403 dir=`echo "X$x" | sed -e 's/^X-L//'`
1404 dnl First look for a shared library.
1405 if test -n "$acl_shlibext"; then
1406 if test -f "$dir/$libname$shrext"; then
1407 found_dir="$dir"
1408 found_so="$dir/$libname$shrext"
1409 else
1410 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1411 ver=`(cd "$dir" && \
1412 for f in "$libname$shrext".*; do echo "$f"; done \
1413 | sed -e "s,^$libname$shrext\\\\.,," \
1414 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1415 | sed 1q ) 2>/dev/null`
1416 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1417 found_dir="$dir"
1418 found_so="$dir/$libname$shrext.$ver"
1419 fi
1420 else
1421 eval library_names=\"$acl_library_names_spec\"
1422 for f in $library_names; do
1423 if test -f "$dir/$f"; then
1424 found_dir="$dir"
1425 found_so="$dir/$f"
1426 break
1427 fi
1428 done
1429 fi
1430 fi
1431 fi
1432 dnl Then look for a static library.
1433 if test "X$found_dir" = "X"; then
1434 if test -f "$dir/$libname.$acl_libext"; then
1435 found_dir="$dir"
1436 found_a="$dir/$libname.$acl_libext"
1437 fi
1438 fi
1439 if test "X$found_dir" != "X"; then
1440 if test -f "$dir/$libname.la"; then
1441 found_la="$dir/$libname.la"
1442 fi
1443 fi
1444 ;;
1445 esac
1446 if test "X$found_dir" != "X"; then
1447 break
1448 fi
1449 done
1450 fi
1451 if test "X$found_dir" != "X"; then
1452 dnl Found the library.
1453 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1454 if test "X$found_so" != "X"; then
1455 dnl Linking with a shared library. We attempt to hardcode its
1456 dnl directory into the executable's runpath, unless it's the
1457 dnl standard /usr/lib.
1458 if test "$enable_rpath" = no \
1459 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
1460 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
1461 dnl No hardcoding is needed.
1462 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1463 else
1464 dnl Use an explicit option to hardcode DIR into the resulting
1465 dnl binary.
1466 dnl Potentially add DIR to ltrpathdirs.
1467 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1468 haveit=
1469 for x in $ltrpathdirs; do
1470 if test "X$x" = "X$found_dir"; then
1471 haveit=yes
1472 break
1473 fi
1474 done
1475 if test -z "$haveit"; then
1476 ltrpathdirs="$ltrpathdirs $found_dir"
1477 fi
1478 dnl The hardcoding into $LIBNAME is system dependent.
1479 if test "$acl_hardcode_direct" = yes; then
1480 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1481 dnl resulting binary.
1482 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1483 else
1484 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1485 dnl Use an explicit option to hardcode DIR into the resulting
1486 dnl binary.
1487 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1488 dnl Potentially add DIR to rpathdirs.
1489 dnl The rpathdirs will be appended to $LIBNAME at the end.
1490 haveit=
1491 for x in $rpathdirs; do
1492 if test "X$x" = "X$found_dir"; then
1493 haveit=yes
1494 break
1495 fi
1496 done
1497 if test -z "$haveit"; then
1498 rpathdirs="$rpathdirs $found_dir"
1499 fi
1500 else
1501 dnl Rely on "-L$found_dir".
1502 dnl But don't add it if it's already contained in the LDFLAGS
1503 dnl or the already constructed $LIBNAME
1504 haveit=
1505 for x in $LDFLAGS $LIB[]NAME; do
1506 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1507 if test "X$x" = "X-L$found_dir"; then
1508 haveit=yes
1509 break
1510 fi
1511 done
1512 if test -z "$haveit"; then
1513 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1514 fi
1515 if test "$acl_hardcode_minus_L" != no; then
1516 dnl FIXME: Not sure whether we should use
1517 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1518 dnl here.
1519 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1520 else
1521 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
1522 dnl here, because this doesn't fit in flags passed to the
1523 dnl compiler. So give up. No hardcoding. This affects only
1524 dnl very old systems.
1525 dnl FIXME: Not sure whether we should use
1526 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1527 dnl here.
1528 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1529 fi
1530 fi
1531 fi
1532 fi
1533 else
1534 if test "X$found_a" != "X"; then
1535 dnl Linking with a static library.
1536 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1537 else
1538 dnl We shouldn't come here, but anyway it's good to have a
1539 dnl fallback.
1540 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1541 fi
1542 fi
1543 dnl Assume the include files are nearby.
1544 additional_includedir=
1545 case "$found_dir" in
1546 */$acl_libdirstem | */$acl_libdirstem/)
1547 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
1548 if test "$name" = '$1'; then
1549 LIB[]NAME[]_PREFIX="$basedir"
1550 fi
1551 additional_includedir="$basedir/include"
1552 ;;
1553 */$acl_libdirstem2 | */$acl_libdirstem2/)
1554 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
1555 if test "$name" = '$1'; then
1556 LIB[]NAME[]_PREFIX="$basedir"
1557 fi
1558 additional_includedir="$basedir/include"
1559 ;;
1560 esac
1561 if test "X$additional_includedir" != "X"; then
1562 dnl Potentially add $additional_includedir to $INCNAME.
1563 dnl But don't add it
1564 dnl 1. if it's the standard /usr/include,
1565 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1566 dnl 3. if it's already present in $CPPFLAGS or the already
1567 dnl constructed $INCNAME,
1568 dnl 4. if it doesn't exist as a directory.
1569 if test "X$additional_includedir" != "X/usr/include"; then
1570 haveit=
1571 if test "X$additional_includedir" = "X/usr/local/include"; then
1572 if test -n "$GCC"; then
1573 case $host_os in
1574 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1575 esac
1576 fi
1577 fi
1578 if test -z "$haveit"; then
1579 for x in $CPPFLAGS $INC[]NAME; do
1580 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1581 if test "X$x" = "X-I$additional_includedir"; then
1582 haveit=yes
1583 break
1584 fi
1585 done
1586 if test -z "$haveit"; then
1587 if test -d "$additional_includedir"; then
1588 dnl Really add $additional_includedir to $INCNAME.
1589 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1590 fi
1591 fi
1592 fi
1593 fi
1594 fi
1595 dnl Look for dependencies.
1596 if test -n "$found_la"; then
1597 dnl Read the .la file. It defines the variables
1598 dnl dlname, library_names, old_library, dependency_libs, current,
1599 dnl age, revision, installed, dlopen, dlpreopen, libdir.
1600 save_libdir="$libdir"
1601 case "$found_la" in
1602 */* | *\\*) . "$found_la" ;;
1603 *) . "./$found_la" ;;
1604 esac
1605 libdir="$save_libdir"
1606 dnl We use only dependency_libs.
1607 for dep in $dependency_libs; do
1608 case "$dep" in
1609 -L*)
1610 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1611 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1612 dnl But don't add it
1613 dnl 1. if it's the standard /usr/lib,
1614 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1615 dnl 3. if it's already present in $LDFLAGS or the already
1616 dnl constructed $LIBNAME,
1617 dnl 4. if it doesn't exist as a directory.
1618 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
1619 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
1620 haveit=
1621 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
1622 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
1623 if test -n "$GCC"; then
1624 case $host_os in
1625 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1626 esac
1627 fi
1628 fi
1629 if test -z "$haveit"; then
1630 haveit=
1631 for x in $LDFLAGS $LIB[]NAME; do
1632 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1633 if test "X$x" = "X-L$additional_libdir"; then
1634 haveit=yes
1635 break
1636 fi
1637 done
1638 if test -z "$haveit"; then
1639 if test -d "$additional_libdir"; then
1640 dnl Really add $additional_libdir to $LIBNAME.
1641 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1642 fi
1643 fi
1644 haveit=
1645 for x in $LDFLAGS $LTLIB[]NAME; do
1646 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1647 if test "X$x" = "X-L$additional_libdir"; then
1648 haveit=yes
1649 break
1650 fi
1651 done
1652 if test -z "$haveit"; then
1653 if test -d "$additional_libdir"; then
1654 dnl Really add $additional_libdir to $LTLIBNAME.
1655 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1656 fi
1657 fi
1658 fi
1659 fi
1660 ;;
1661 -R*)
1662 dir=`echo "X$dep" | sed -e 's/^X-R//'`
1663 if test "$enable_rpath" != no; then
1664 dnl Potentially add DIR to rpathdirs.
1665 dnl The rpathdirs will be appended to $LIBNAME at the end.
1666 haveit=
1667 for x in $rpathdirs; do
1668 if test "X$x" = "X$dir"; then
1669 haveit=yes
1670 break
1671 fi
1672 done
1673 if test -z "$haveit"; then
1674 rpathdirs="$rpathdirs $dir"
1675 fi
1676 dnl Potentially add DIR to ltrpathdirs.
1677 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1678 haveit=
1679 for x in $ltrpathdirs; do
1680 if test "X$x" = "X$dir"; then
1681 haveit=yes
1682 break
1683 fi
1684 done
1685 if test -z "$haveit"; then
1686 ltrpathdirs="$ltrpathdirs $dir"
1687 fi
1688 fi
1689 ;;
1690 -l*)
1691 dnl Handle this in the next round.
1692 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
1693 ;;
1694 *.la)
1695 dnl Handle this in the next round. Throw away the .la's
1696 dnl directory; it is already contained in a preceding -L
1697 dnl option.
1698 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
1699 ;;
1700 *)
1701 dnl Most likely an immediate library name.
1702 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
1703 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
1704 ;;
1705 esac
1706 done
1707 fi
1708 else
1709 dnl Didn't find the library; assume it is in the system directories
1710 dnl known to the linker and runtime loader. (All the system
1711 dnl directories known to the linker should also be known to the
1712 dnl runtime loader, otherwise the system is severely misconfigured.)
1713 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1714 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
1715 fi
1716 fi
1717 fi
1718 done
1719 done
1720 if test "X$rpathdirs" != "X"; then
1721 if test -n "$acl_hardcode_libdir_separator"; then
1722 dnl Weird platform: only the last -rpath option counts, the user must
1723 dnl pass all path elements in one option. We can arrange that for a
1724 dnl single library, but not when more than one $LIBNAMEs are used.
1725 alldirs=
1726 for found_dir in $rpathdirs; do
1727 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
1728 done
1729 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
1730 acl_save_libdir="$libdir"
1731 libdir="$alldirs"
1732 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1733 libdir="$acl_save_libdir"
1734 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1735 else
1736 dnl The -rpath options are cumulative.
1737 for found_dir in $rpathdirs; do
1738 acl_save_libdir="$libdir"
1739 libdir="$found_dir"
1740 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1741 libdir="$acl_save_libdir"
1742 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1743 done
1744 fi
1745 fi
1746 if test "X$ltrpathdirs" != "X"; then
1747 dnl When using libtool, the option that works for both libraries and
1748 dnl executables is -R. The -R options are cumulative.
1749 for found_dir in $ltrpathdirs; do
1750 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
1751 done
1752 fi
1753 popdef([P_A_C_K])
1754 popdef([PACKLIBS])
1755 popdef([PACKUP])
1756 popdef([PACK])
1757 popdef([NAME])
1758])
1759
1760dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
1761dnl unless already present in VAR.
1762dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
1763dnl contains two or three consecutive elements that belong together.
1764AC_DEFUN([AC_LIB_APPENDTOVAR],
1765[
1766 for element in [$2]; do
1767 haveit=
1768 for x in $[$1]; do
1769 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1770 if test "X$x" = "X$element"; then
1771 haveit=yes
1772 break
1773 fi
1774 done
1775 if test -z "$haveit"; then
1776 [$1]="${[$1]}${[$1]:+ }$element"
1777 fi
1778 done
1779])
1780
1781dnl For those cases where a variable contains several -L and -l options
1782dnl referring to unknown libraries and directories, this macro determines the
1783dnl necessary additional linker options for the runtime path.
1784dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
1785dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
1786dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
1787dnl otherwise linking without libtool is assumed.
1788AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
1789[
1790 AC_REQUIRE([AC_LIB_RPATH])
1791 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1792 $1=
1793 if test "$enable_rpath" != no; then
1794 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1795 dnl Use an explicit option to hardcode directories into the resulting
1796 dnl binary.
1797 rpathdirs=
1798 next=
1799 for opt in $2; do
1800 if test -n "$next"; then
1801 dir="$next"
1802 dnl No need to hardcode the standard /usr/lib.
1803 if test "X$dir" != "X/usr/$acl_libdirstem" \
1804 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1805 rpathdirs="$rpathdirs $dir"
1806 fi
1807 next=
1808 else
1809 case $opt in
1810 -L) next=yes ;;
1811 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
1812 dnl No need to hardcode the standard /usr/lib.
1813 if test "X$dir" != "X/usr/$acl_libdirstem" \
1814 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1815 rpathdirs="$rpathdirs $dir"
1816 fi
1817 next= ;;
1818 *) next= ;;
1819 esac
1820 fi
1821 done
1822 if test "X$rpathdirs" != "X"; then
1823 if test -n ""$3""; then
1824 dnl libtool is used for linking. Use -R options.
1825 for dir in $rpathdirs; do
1826 $1="${$1}${$1:+ }-R$dir"
1827 done
1828 else
1829 dnl The linker is used for linking directly.
1830 if test -n "$acl_hardcode_libdir_separator"; then
1831 dnl Weird platform: only the last -rpath option counts, the user
1832 dnl must pass all path elements in one option.
1833 alldirs=
1834 for dir in $rpathdirs; do
1835 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
1836 done
1837 acl_save_libdir="$libdir"
1838 libdir="$alldirs"
1839 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1840 libdir="$acl_save_libdir"
1841 $1="$flag"
1842 else
1843 dnl The -rpath options are cumulative.
1844 for dir in $rpathdirs; do
1845 acl_save_libdir="$libdir"
1846 libdir="$dir"
1847 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1848 libdir="$acl_save_libdir"
1849 $1="${$1}${$1:+ }$flag"
1850 done
1851 fi
1852 fi
1853 fi
1854 fi
1855 fi
1856 AC_SUBST([$1])
1857])
1858
1859# lib-prefix.m4 serial 7 (gettext-0.18)
1860dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc.
1861dnl This file is free software; the Free Software Foundation
1862dnl gives unlimited permission to copy and/or distribute it,
1863dnl with or without modifications, as long as this notice is preserved.
1864
1865dnl From Bruno Haible.
1866
1867dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
1868dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
1869dnl require excessive bracketing.
1870ifdef([AC_HELP_STRING],
1871[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
1872[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
1873
1874dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
1875dnl to access previously installed libraries. The basic assumption is that
1876dnl a user will want packages to use other packages he previously installed
1877dnl with the same --prefix option.
1878dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
1879dnl libraries, but is otherwise very convenient.
1880AC_DEFUN([AC_LIB_PREFIX],
1881[
1882 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
1883 AC_REQUIRE([AC_PROG_CC])
1884 AC_REQUIRE([AC_CANONICAL_HOST])
1885 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1886 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1887 dnl By default, look in $includedir and $libdir.
1888 use_additional=yes
1889 AC_LIB_WITH_FINAL_PREFIX([
1890 eval additional_includedir=\"$includedir\"
1891 eval additional_libdir=\"$libdir\"
1892 ])
1893 AC_LIB_ARG_WITH([lib-prefix],
1894[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1895 --without-lib-prefix don't search for libraries in includedir and libdir],
1896[
1897 if test "X$withval" = "Xno"; then
1898 use_additional=no
1899 else
1900 if test "X$withval" = "X"; then
1901 AC_LIB_WITH_FINAL_PREFIX([
1902 eval additional_includedir=\"$includedir\"
1903 eval additional_libdir=\"$libdir\"
1904 ])
1905 else
1906 additional_includedir="$withval/include"
1907 additional_libdir="$withval/$acl_libdirstem"
1908 fi
1909 fi
1910])
1911 if test $use_additional = yes; then
1912 dnl Potentially add $additional_includedir to $CPPFLAGS.
1913 dnl But don't add it
1914 dnl 1. if it's the standard /usr/include,
1915 dnl 2. if it's already present in $CPPFLAGS,
1916 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
1917 dnl 4. if it doesn't exist as a directory.
1918 if test "X$additional_includedir" != "X/usr/include"; then
1919 haveit=
1920 for x in $CPPFLAGS; do
1921 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1922 if test "X$x" = "X-I$additional_includedir"; then
1923 haveit=yes
1924 break
1925 fi
1926 done
1927 if test -z "$haveit"; then
1928 if test "X$additional_includedir" = "X/usr/local/include"; then
1929 if test -n "$GCC"; then
1930 case $host_os in
1931 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1932 esac
1933 fi
1934 fi
1935 if test -z "$haveit"; then
1936 if test -d "$additional_includedir"; then
1937 dnl Really add $additional_includedir to $CPPFLAGS.
1938 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
1939 fi
1940 fi
1941 fi
1942 fi
1943 dnl Potentially add $additional_libdir to $LDFLAGS.
1944 dnl But don't add it
1945 dnl 1. if it's the standard /usr/lib,
1946 dnl 2. if it's already present in $LDFLAGS,
1947 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
1948 dnl 4. if it doesn't exist as a directory.
1949 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
1950 haveit=
1951 for x in $LDFLAGS; do
1952 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1953 if test "X$x" = "X-L$additional_libdir"; then
1954 haveit=yes
1955 break
1956 fi
1957 done
1958 if test -z "$haveit"; then
1959 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
1960 if test -n "$GCC"; then
1961 case $host_os in
1962 linux*) haveit=yes;;
1963 esac
1964 fi
1965 fi
1966 if test -z "$haveit"; then
1967 if test -d "$additional_libdir"; then
1968 dnl Really add $additional_libdir to $LDFLAGS.
1969 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
1970 fi
1971 fi
1972 fi
1973 fi
1974 fi
1975])
1976
1977dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1978dnl acl_final_exec_prefix, containing the values to which $prefix and
1979dnl $exec_prefix will expand at the end of the configure script.
1980AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1981[
1982 dnl Unfortunately, prefix and exec_prefix get only finally determined
1983 dnl at the end of configure.
1984 if test "X$prefix" = "XNONE"; then
1985 acl_final_prefix="$ac_default_prefix"
1986 else
1987 acl_final_prefix="$prefix"
1988 fi
1989 if test "X$exec_prefix" = "XNONE"; then
1990 acl_final_exec_prefix='${prefix}'
1991 else
1992 acl_final_exec_prefix="$exec_prefix"
1993 fi
1994 acl_save_prefix="$prefix"
1995 prefix="$acl_final_prefix"
1996 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1997 prefix="$acl_save_prefix"
1998])
1999
2000dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
2001dnl variables prefix and exec_prefix bound to the values they will have
2002dnl at the end of the configure script.
2003AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
2004[
2005 acl_save_prefix="$prefix"
2006 prefix="$acl_final_prefix"
2007 acl_save_exec_prefix="$exec_prefix"
2008 exec_prefix="$acl_final_exec_prefix"
2009 $1
2010 exec_prefix="$acl_save_exec_prefix"
2011 prefix="$acl_save_prefix"
2012])
2013
2014dnl AC_LIB_PREPARE_MULTILIB creates
2015dnl - a variable acl_libdirstem, containing the basename of the libdir, either
2016dnl "lib" or "lib64" or "lib/64",
2017dnl - a variable acl_libdirstem2, as a secondary possible value for
2018dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
2019dnl "lib/amd64".
2020AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
2021[
2022 dnl There is no formal standard regarding lib and lib64.
2023 dnl On glibc systems, the current practice is that on a system supporting
2024 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
2025 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
2026 dnl the compiler's default mode by looking at the compiler's library search
2027 dnl path. If at least one of its elements ends in /lib64 or points to a
2028 dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
2029 dnl Otherwise we use the default, namely "lib".
2030 dnl On Solaris systems, the current practice is that on a system supporting
2031 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
2032 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
2033 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
2034 AC_REQUIRE([AC_CANONICAL_HOST])
2035 acl_libdirstem=lib
2036 acl_libdirstem2=
2037 case "$host_os" in
2038 solaris*)
2039 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
2040 dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
2041 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
2042 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
2043 dnl symlink is missing, so we set acl_libdirstem2 too.
2044 AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
2045 [AC_EGREP_CPP([sixtyfour bits], [
2046#ifdef _LP64
2047sixtyfour bits
2048#endif
2049 ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
2050 ])
2051 if test $gl_cv_solaris_64bit = yes; then
2052 acl_libdirstem=lib/64
2053 case "$host_cpu" in
2054 sparc*) acl_libdirstem2=lib/sparcv9 ;;
2055 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
2056 esac
2057 fi
2058 ;;
2059 *)
2060 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
2061 if test -n "$searchpath"; then
2062 acl_save_IFS="${IFS= }"; IFS=":"
2063 for searchdir in $searchpath; do
2064 if test -d "$searchdir"; then
2065 case "$searchdir" in
2066 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
2067 */../ | */.. )
2068 # Better ignore directories of this form. They are misleading.
2069 ;;
2070 *) searchdir=`cd "$searchdir" && pwd`
2071 case "$searchdir" in
2072 */lib64 ) acl_libdirstem=lib64 ;;
2073 esac ;;
2074 esac
2075 fi
2076 done
2077 IFS="$acl_save_IFS"
2078 fi
2079 ;;
2080 esac
2081 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
2082])
2083
2084# nls.m4 serial 5 (gettext-0.18)322# nls.m4 serial 5 (gettext-0.18)
2085dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,323dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
2086dnl Inc.324dnl Inc.
2087dnl This file is free software; the Free Software Foundation325dnl This file is free software; the Free Software Foundation
2088dnl gives unlimited permission to copy and/or distribute it,326dnl gives unlimited permission to copy and/or distribute it,
@@ -2274,568 +512,22 @@
2274fi[]dnl512fi[]dnl
2275])# PKG_CHECK_MODULES513])# PKG_CHECK_MODULES
2276514
2277# po.m4 serial 17 (gettext-0.18)515# Copyright (C) 2002-2013 Free Software Foundation, Inc.
2278dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
2279dnl This file is free software; the Free Software Foundation
2280dnl gives unlimited permission to copy and/or distribute it,
2281dnl with or without modifications, as long as this notice is preserved.
2282dnl
2283dnl This file can can be used in projects which are not available under
2284dnl the GNU General Public License or the GNU Library General Public
2285dnl License but which still want to provide support for the GNU gettext
2286dnl functionality.
2287dnl Please note that the actual code of the GNU gettext library is covered
2288dnl by the GNU Library General Public License, and the rest of the GNU
2289dnl gettext package package is covered by the GNU General Public License.
2290dnl They are *not* in the public domain.
2291
2292dnl Authors:
2293dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
2294dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
2295
2296AC_PREREQ([2.50])
2297
2298dnl Checks for all prerequisites of the po subdirectory.
2299AC_DEFUN([AM_PO_SUBDIRS],
2300[
2301 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
2302 AC_REQUIRE([AC_PROG_INSTALL])dnl
2303 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
2304 AC_REQUIRE([AM_NLS])dnl
2305
2306 dnl Release version of the gettext macros. This is used to ensure that
2307 dnl the gettext macros and po/Makefile.in.in are in sync.
2308 AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
2309
2310 dnl Perform the following tests also if --disable-nls has been given,
2311 dnl because they are needed for "make dist" to work.
2312
2313 dnl Search for GNU msgfmt in the PATH.
2314 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
2315 dnl The second test excludes FreeBSD msgfmt.
2316 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
2317 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
2318 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
2319 :)
2320 AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
2321
2322 dnl Test whether it is GNU msgfmt >= 0.15.
2323changequote(,)dnl
2324 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2325 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2326 *) MSGFMT_015=$MSGFMT ;;
2327 esac
2328changequote([,])dnl
2329 AC_SUBST([MSGFMT_015])
2330changequote(,)dnl
2331 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2332 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2333 *) GMSGFMT_015=$GMSGFMT ;;
2334 esac
2335changequote([,])dnl
2336 AC_SUBST([GMSGFMT_015])
2337
2338 dnl Search for GNU xgettext 0.12 or newer in the PATH.
2339 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
2340 dnl The second test excludes FreeBSD xgettext.
2341 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
2342 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
2343 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
2344 :)
2345 dnl Remove leftover from FreeBSD xgettext call.
2346 rm -f messages.po
2347
2348 dnl Test whether it is GNU xgettext >= 0.15.
2349changequote(,)dnl
2350 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2351 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2352 *) XGETTEXT_015=$XGETTEXT ;;
2353 esac
2354changequote([,])dnl
2355 AC_SUBST([XGETTEXT_015])
2356
2357 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
2358 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
2359 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
2360
2361 dnl Installation directories.
2362 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
2363 dnl have to define it here, so that it can be used in po/Makefile.
2364 test -n "$localedir" || localedir='${datadir}/locale'
2365 AC_SUBST([localedir])
2366
2367 dnl Support for AM_XGETTEXT_OPTION.
2368 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
2369 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
2370
2371 AC_CONFIG_COMMANDS([po-directories], [[
2372 for ac_file in $CONFIG_FILES; do
2373 # Support "outfile[:infile[:infile...]]"
2374 case "$ac_file" in
2375 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2376 esac
2377 # PO directories have a Makefile.in generated from Makefile.in.in.
2378 case "$ac_file" in */Makefile.in)
2379 # Adjust a relative srcdir.
2380 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
2381 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
2382 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
2383 # In autoconf-2.13 it is called $ac_given_srcdir.
2384 # In autoconf-2.50 it is called $srcdir.
2385 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
2386 case "$ac_given_srcdir" in
2387 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
2388 /*) top_srcdir="$ac_given_srcdir" ;;
2389 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
2390 esac
2391 # Treat a directory as a PO directory if and only if it has a
2392 # POTFILES.in file. This allows packages to have multiple PO
2393 # directories under different names or in different locations.
2394 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
2395 rm -f "$ac_dir/POTFILES"
2396 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
2397 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
2398 POMAKEFILEDEPS="POTFILES.in"
2399 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
2400 # on $ac_dir but don't depend on user-specified configuration
2401 # parameters.
2402 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
2403 # The LINGUAS file contains the set of available languages.
2404 if test -n "$OBSOLETE_ALL_LINGUAS"; then
2405 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2406 fi
2407 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
2408 # Hide the ALL_LINGUAS assigment from automake < 1.5.
2409 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2410 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2411 else
2412 # The set of available languages was given in configure.in.
2413 # Hide the ALL_LINGUAS assigment from automake < 1.5.
2414 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
2415 fi
2416 # Compute POFILES
2417 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
2418 # Compute UPDATEPOFILES
2419 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
2420 # Compute DUMMYPOFILES
2421 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
2422 # Compute GMOFILES
2423 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
2424 case "$ac_given_srcdir" in
2425 .) srcdirpre= ;;
2426 *) srcdirpre='$(srcdir)/' ;;
2427 esac
2428 POFILES=
2429 UPDATEPOFILES=
2430 DUMMYPOFILES=
2431 GMOFILES=
2432 for lang in $ALL_LINGUAS; do
2433 POFILES="$POFILES $srcdirpre$lang.po"
2434 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
2435 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
2436 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2437 done
2438 # CATALOGS depends on both $ac_dir and the user's LINGUAS
2439 # environment variable.
2440 INST_LINGUAS=
2441 if test -n "$ALL_LINGUAS"; then
2442 for presentlang in $ALL_LINGUAS; do
2443 useit=no
2444 if test "%UNSET%" != "$LINGUAS"; then
2445 desiredlanguages="$LINGUAS"
2446 else
2447 desiredlanguages="$ALL_LINGUAS"
2448 fi
2449 for desiredlang in $desiredlanguages; do
2450 # Use the presentlang catalog if desiredlang is
2451 # a. equal to presentlang, or
2452 # b. a variant of presentlang (because in this case,
2453 # presentlang can be used as a fallback for messages
2454 # which are not translated in the desiredlang catalog).
2455 case "$desiredlang" in
2456 "$presentlang"*) useit=yes;;
2457 esac
2458 done
2459 if test $useit = yes; then
2460 INST_LINGUAS="$INST_LINGUAS $presentlang"
2461 fi
2462 done
2463 fi
2464 CATALOGS=
2465 if test -n "$INST_LINGUAS"; then
2466 for lang in $INST_LINGUAS; do
2467 CATALOGS="$CATALOGS $lang.gmo"
2468 done
2469 fi
2470 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
2471 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
2472 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
2473 if test -f "$f"; then
2474 case "$f" in
2475 *.orig | *.bak | *~) ;;
2476 *) cat "$f" >> "$ac_dir/Makefile" ;;
2477 esac
2478 fi
2479 done
2480 fi
2481 ;;
2482 esac
2483 done]],
2484 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
2485 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
2486 # from automake < 1.5.
2487 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
2488 # Capture the value of LINGUAS because we need it to compute CATALOGS.
2489 LINGUAS="${LINGUAS-%UNSET%}"
2490 ])
2491])
2492
2493dnl Postprocesses a Makefile in a directory containing PO files.
2494AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
2495[
2496 # When this code is run, in config.status, two variables have already been
2497 # set:
2498 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
2499 # - LINGUAS is the value of the environment variable LINGUAS at configure
2500 # time.
2501
2502changequote(,)dnl
2503 # Adjust a relative srcdir.
2504 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
2505 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
2506 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
2507 # In autoconf-2.13 it is called $ac_given_srcdir.
2508 # In autoconf-2.50 it is called $srcdir.
2509 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
2510 case "$ac_given_srcdir" in
2511 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
2512 /*) top_srcdir="$ac_given_srcdir" ;;
2513 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
2514 esac
2515
2516 # Find a way to echo strings without interpreting backslash.
2517 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
2518 gt_echo='echo'
2519 else
2520 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
2521 gt_echo='printf %s\n'
2522 else
2523 echo_func () {
2524 cat <<EOT
2525$*
2526EOT
2527 }
2528 gt_echo='echo_func'
2529 fi
2530 fi
2531
2532 # A sed script that extracts the value of VARIABLE from a Makefile.
2533 sed_x_variable='
2534# Test if the hold space is empty.
2535x
2536s/P/P/
2537x
2538ta
2539# Yes it was empty. Look if we have the expected variable definition.
2540/^[ ]*VARIABLE[ ]*=/{
2541 # Seen the first line of the variable definition.
2542 s/^[ ]*VARIABLE[ ]*=//
2543 ba
2544}
2545bd
2546:a
2547# Here we are processing a line from the variable definition.
2548# Remove comment, more precisely replace it with a space.
2549s/#.*$/ /
2550# See if the line ends in a backslash.
2551tb
2552:b
2553s/\\$//
2554# Print the line, without the trailing backslash.
2555p
2556tc
2557# There was no trailing backslash. The end of the variable definition is
2558# reached. Clear the hold space.
2559s/^.*$//
2560x
2561bd
2562:c
2563# A trailing backslash means that the variable definition continues in the
2564# next line. Put a nonempty string into the hold space to indicate this.
2565s/^.*$/P/
2566x
2567:d
2568'
2569changequote([,])dnl
2570
2571 # Set POTFILES to the value of the Makefile variable POTFILES.
2572 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
2573 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
2574 # Compute POTFILES_DEPS as
2575 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
2576 POTFILES_DEPS=
2577 for file in $POTFILES; do
2578 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
2579 done
2580 POMAKEFILEDEPS=""
2581
2582 if test -n "$OBSOLETE_ALL_LINGUAS"; then
2583 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2584 fi
2585 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
2586 # The LINGUAS file contains the set of available languages.
2587 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
2588 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2589 else
2590 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
2591 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
2592 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
2593 fi
2594 # Hide the ALL_LINGUAS assigment from automake < 1.5.
2595 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2596 # Compute POFILES
2597 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
2598 # Compute UPDATEPOFILES
2599 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
2600 # Compute DUMMYPOFILES
2601 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
2602 # Compute GMOFILES
2603 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
2604 # Compute PROPERTIESFILES
2605 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
2606 # Compute CLASSFILES
2607 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
2608 # Compute QMFILES
2609 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
2610 # Compute MSGFILES
2611 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
2612 # Compute RESOURCESDLLFILES
2613 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
2614 case "$ac_given_srcdir" in
2615 .) srcdirpre= ;;
2616 *) srcdirpre='$(srcdir)/' ;;
2617 esac
2618 POFILES=
2619 UPDATEPOFILES=
2620 DUMMYPOFILES=
2621 GMOFILES=
2622 PROPERTIESFILES=
2623 CLASSFILES=
2624 QMFILES=
2625 MSGFILES=
2626 RESOURCESDLLFILES=
2627 for lang in $ALL_LINGUAS; do
2628 POFILES="$POFILES $srcdirpre$lang.po"
2629 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
2630 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
2631 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2632 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
2633 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
2634 QMFILES="$QMFILES $srcdirpre$lang.qm"
2635 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
2636 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
2637 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
2638 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
2639 done
2640 # CATALOGS depends on both $ac_dir and the user's LINGUAS
2641 # environment variable.
2642 INST_LINGUAS=
2643 if test -n "$ALL_LINGUAS"; then
2644 for presentlang in $ALL_LINGUAS; do
2645 useit=no
2646 if test "%UNSET%" != "$LINGUAS"; then
2647 desiredlanguages="$LINGUAS"
2648 else
2649 desiredlanguages="$ALL_LINGUAS"
2650 fi
2651 for desiredlang in $desiredlanguages; do
2652 # Use the presentlang catalog if desiredlang is
2653 # a. equal to presentlang, or
2654 # b. a variant of presentlang (because in this case,
2655 # presentlang can be used as a fallback for messages
2656 # which are not translated in the desiredlang catalog).
2657 case "$desiredlang" in
2658 "$presentlang"*) useit=yes;;
2659 esac
2660 done
2661 if test $useit = yes; then
2662 INST_LINGUAS="$INST_LINGUAS $presentlang"
2663 fi
2664 done
2665 fi
2666 CATALOGS=
2667 JAVACATALOGS=
2668 QTCATALOGS=
2669 TCLCATALOGS=
2670 CSHARPCATALOGS=
2671 if test -n "$INST_LINGUAS"; then
2672 for lang in $INST_LINGUAS; do
2673 CATALOGS="$CATALOGS $lang.gmo"
2674 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
2675 QTCATALOGS="$QTCATALOGS $lang.qm"
2676 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
2677 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
2678 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
2679 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
2680 done
2681 fi
2682
2683 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
2684 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
2685 # Add dependencies that cannot be formulated as a simple suffix rule.
2686 for lang in $ALL_LINGUAS; do
2687 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
2688 cat >> "$ac_file.tmp" <<EOF
2689$frobbedlang.msg: $lang.po
2690 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
2691 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
2692EOF
2693 done
2694 fi
2695 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
2696 # Add dependencies that cannot be formulated as a simple suffix rule.
2697 for lang in $ALL_LINGUAS; do
2698 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
2699 cat >> "$ac_file.tmp" <<EOF
2700$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
2701 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
2702 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
2703EOF
2704 done
2705 fi
2706 if test -n "$POMAKEFILEDEPS"; then
2707 cat >> "$ac_file.tmp" <<EOF
2708Makefile: $POMAKEFILEDEPS
2709EOF
2710 fi
2711 mv "$ac_file.tmp" "$ac_file"
2712])
2713
2714dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
2715AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
2716[
2717 XGETTEXT_EXTRA_OPTIONS=
2718])
2719
2720dnl Registers an option to be passed to xgettext in the po subdirectory.
2721AC_DEFUN([AM_XGETTEXT_OPTION],
2722[
2723 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
2724 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
2725])
2726
2727# progtest.m4 serial 6 (gettext-0.18)
2728dnl Copyright (C) 1996-2003, 2005, 2008-2010 Free Software Foundation, Inc.
2729dnl This file is free software; the Free Software Foundation
2730dnl gives unlimited permission to copy and/or distribute it,
2731dnl with or without modifications, as long as this notice is preserved.
2732dnl
2733dnl This file can can be used in projects which are not available under
2734dnl the GNU General Public License or the GNU Library General Public
2735dnl License but which still want to provide support for the GNU gettext
2736dnl functionality.
2737dnl Please note that the actual code of the GNU gettext library is covered
2738dnl by the GNU Library General Public License, and the rest of the GNU
2739dnl gettext package package is covered by the GNU General Public License.
2740dnl They are *not* in the public domain.
2741
2742dnl Authors:
2743dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
2744
2745AC_PREREQ([2.50])
2746
2747# Search path for a program which passes the given test.
2748
2749dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
2750dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
2751AC_DEFUN([AM_PATH_PROG_WITH_TEST],
2752[
2753# Prepare PATH_SEPARATOR.
2754# The user is always right.
2755if test "${PATH_SEPARATOR+set}" != set; then
2756 echo "#! /bin/sh" >conf$$.sh
2757 echo "exit 0" >>conf$$.sh
2758 chmod +x conf$$.sh
2759 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2760 PATH_SEPARATOR=';'
2761 else
2762 PATH_SEPARATOR=:
2763 fi
2764 rm -f conf$$.sh
2765fi
2766
2767# Find out how to test for executable files. Don't use a zero-byte file,
2768# as systems may use methods other than mode bits to determine executability.
2769cat >conf$$.file <<_ASEOF
2770#! /bin/sh
2771exit 0
2772_ASEOF
2773chmod +x conf$$.file
2774if test -x conf$$.file >/dev/null 2>&1; then
2775 ac_executable_p="test -x"
2776else
2777 ac_executable_p="test -f"
2778fi
2779rm -f conf$$.file
2780
2781# Extract the first word of "$2", so it can be a program name with args.
2782set dummy $2; ac_word=[$]2
2783AC_MSG_CHECKING([for $ac_word])
2784AC_CACHE_VAL([ac_cv_path_$1],
2785[case "[$]$1" in
2786 [[\\/]]* | ?:[[\\/]]*)
2787 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
2788 ;;
2789 *)
2790 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2791 for ac_dir in ifelse([$5], , $PATH, [$5]); do
2792 IFS="$ac_save_IFS"
2793 test -z "$ac_dir" && ac_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2796 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
2797 if [$3]; then
2798 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
2799 break 2
2800 fi
2801 fi
2802 done
2803 done
2804 IFS="$ac_save_IFS"
2805dnl If no 4th arg is given, leave the cache variable unset,
2806dnl so AC_PATH_PROGS will keep looking.
2807ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
2808])dnl
2809 ;;
2810esac])dnl
2811$1="$ac_cv_path_$1"
2812if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
2813 AC_MSG_RESULT([$][$1])
2814else
2815 AC_MSG_RESULT([no])
2816fi
2817AC_SUBST([$1])dnl
2818])
2819
2820# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
2821# Foundation, Inc.
2822#516#
2823# This file is free software; the Free Software Foundation517# This file is free software; the Free Software Foundation
2824# gives unlimited permission to copy and/or distribute it,518# gives unlimited permission to copy and/or distribute it,
2825# with or without modifications, as long as this notice is preserved.519# with or without modifications, as long as this notice is preserved.
2826520
2827# serial 1
2828
2829# AM_AUTOMAKE_VERSION(VERSION)521# AM_AUTOMAKE_VERSION(VERSION)
2830# ----------------------------522# ----------------------------
2831# Automake X.Y traces this macro to ensure aclocal.m4 has been523# Automake X.Y traces this macro to ensure aclocal.m4 has been
2832# generated from the m4 files accompanying Automake X.Y.524# generated from the m4 files accompanying Automake X.Y.
2833# (This private macro should not be called outside this file.)525# (This private macro should not be called outside this file.)
2834AC_DEFUN([AM_AUTOMAKE_VERSION],526AC_DEFUN([AM_AUTOMAKE_VERSION],
2835[am__api_version='1.11'527[am__api_version='1.14'
2836dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to528dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2837dnl require some minimum version. Point them to the right macro.529dnl require some minimum version. Point them to the right macro.
2838m4_if([$1], [1.11.3], [],530m4_if([$1], [1.14.1], [],
2839 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl531 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
2840])532])
2841533
@@ -2851,24 +543,22 @@
2851# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.543# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
2852# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.544# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2853AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],545AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2854[AM_AUTOMAKE_VERSION([1.11.3])dnl546[AM_AUTOMAKE_VERSION([1.14.1])dnl
2855m4_ifndef([AC_AUTOCONF_VERSION],547m4_ifndef([AC_AUTOCONF_VERSION],
2856 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl548 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2857_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])549_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
2858550
2859# AM_AUX_DIR_EXPAND -*- Autoconf -*-551# AM_AUX_DIR_EXPAND -*- Autoconf -*-
2860552
2861# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.553# Copyright (C) 2001-2013 Free Software Foundation, Inc.
2862#554#
2863# This file is free software; the Free Software Foundation555# This file is free software; the Free Software Foundation
2864# gives unlimited permission to copy and/or distribute it,556# gives unlimited permission to copy and/or distribute it,
2865# with or without modifications, as long as this notice is preserved.557# with or without modifications, as long as this notice is preserved.
2866558
2867# serial 1
2868
2869# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets559# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
2870# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to560# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
2871# `$srcdir', `$srcdir/..', or `$srcdir/../..'.561# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
2872#562#
2873# Of course, Automake must honor this variable whenever it calls a563# Of course, Automake must honor this variable whenever it calls a
2874# tool from the auxiliary directory. The problem is that $srcdir (and564# tool from the auxiliary directory. The problem is that $srcdir (and
@@ -2887,7 +577,7 @@
2887#577#
2888# The reason of the latter failure is that $top_srcdir and $ac_aux_dir578# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
2889# are both prefixed by $srcdir. In an in-source build this is usually579# are both prefixed by $srcdir. In an in-source build this is usually
2890# harmless because $srcdir is `.', but things will broke when you580# harmless because $srcdir is '.', but things will broke when you
2891# start a VPATH build or use an absolute $srcdir.581# start a VPATH build or use an absolute $srcdir.
2892#582#
2893# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,583# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
@@ -2913,22 +603,19 @@
2913603
2914# AM_CONDITIONAL -*- Autoconf -*-604# AM_CONDITIONAL -*- Autoconf -*-
2915605
2916# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008606# Copyright (C) 1997-2013 Free Software Foundation, Inc.
2917# Free Software Foundation, Inc.
2918#607#
2919# This file is free software; the Free Software Foundation608# This file is free software; the Free Software Foundation
2920# gives unlimited permission to copy and/or distribute it,609# gives unlimited permission to copy and/or distribute it,
2921# with or without modifications, as long as this notice is preserved.610# with or without modifications, as long as this notice is preserved.
2922611
2923# serial 9
2924
2925# AM_CONDITIONAL(NAME, SHELL-CONDITION)612# AM_CONDITIONAL(NAME, SHELL-CONDITION)
2926# -------------------------------------613# -------------------------------------
2927# Define a conditional.614# Define a conditional.
2928AC_DEFUN([AM_CONDITIONAL],615AC_DEFUN([AM_CONDITIONAL],
2929[AC_PREREQ(2.52)dnl616[AC_PREREQ([2.52])dnl
2930 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],617 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
2931 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl618 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2932AC_SUBST([$1_TRUE])dnl619AC_SUBST([$1_TRUE])dnl
2933AC_SUBST([$1_FALSE])dnl620AC_SUBST([$1_FALSE])dnl
2934_AM_SUBST_NOTMAKE([$1_TRUE])dnl621_AM_SUBST_NOTMAKE([$1_TRUE])dnl
@@ -2947,16 +634,14 @@
2947Usually this means the macro was only invoked conditionally.]])634Usually this means the macro was only invoked conditionally.]])
2948fi])])635fi])])
2949636
2950# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,637# Copyright (C) 1999-2013 Free Software Foundation, Inc.
2951# 2010, 2011 Free Software Foundation, Inc.
2952#638#
2953# This file is free software; the Free Software Foundation639# This file is free software; the Free Software Foundation
2954# gives unlimited permission to copy and/or distribute it,640# gives unlimited permission to copy and/or distribute it,
2955# with or without modifications, as long as this notice is preserved.641# with or without modifications, as long as this notice is preserved.
2956642
2957# serial 12
2958643
2959# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be644# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
2960# written in clear, in which case automake, when reading aclocal.m4,645# written in clear, in which case automake, when reading aclocal.m4,
2961# will think it sees a *use*, and therefore will trigger all it's646# will think it sees a *use*, and therefore will trigger all it's
2962# C support machinery. Also note that it means that autoscan, seeing647# C support machinery. Also note that it means that autoscan, seeing
@@ -2966,7 +651,7 @@
2966# _AM_DEPENDENCIES(NAME)651# _AM_DEPENDENCIES(NAME)
2967# ----------------------652# ----------------------
2968# See how the compiler implements dependency checking.653# See how the compiler implements dependency checking.
2969# NAME is "CC", "CXX", "GCJ", or "OBJC".654# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
2970# We try a few techniques and use that to set a single cache variable.655# We try a few techniques and use that to set a single cache variable.
2971#656#
2972# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was657# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
@@ -2979,12 +664,13 @@
2979AC_REQUIRE([AM_MAKE_INCLUDE])dnl664AC_REQUIRE([AM_MAKE_INCLUDE])dnl
2980AC_REQUIRE([AM_DEP_TRACK])dnl665AC_REQUIRE([AM_DEP_TRACK])dnl
2981666
2982ifelse([$1], CC, [depcc="$CC" am_compiler_list=],667m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
2983 [$1], CXX, [depcc="$CXX" am_compiler_list=],668 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
2984 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],669 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
2985 [$1], UPC, [depcc="$UPC" am_compiler_list=],670 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
2986 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],671 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
2987 [depcc="$$1" am_compiler_list=])672 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
673 [depcc="$$1" am_compiler_list=])
2988674
2989AC_CACHE_CHECK([dependency style of $depcc],675AC_CACHE_CHECK([dependency style of $depcc],
2990 [am_cv_$1_dependencies_compiler_type],676 [am_cv_$1_dependencies_compiler_type],
@@ -2992,8 +678,8 @@
2992 # We make a subdir and do the tests there. Otherwise we can end up678 # We make a subdir and do the tests there. Otherwise we can end up
2993 # making bogus files that we don't know about and never remove. For679 # making bogus files that we don't know about and never remove. For
2994 # instance it was reported that on HP-UX the gcc test will end up680 # instance it was reported that on HP-UX the gcc test will end up
2995 # making a dummy file named `D' -- because `-MD' means `put the output681 # making a dummy file named 'D' -- because '-MD' means "put the output
2996 # in D'.682 # in D".
2997 rm -rf conftest.dir683 rm -rf conftest.dir
2998 mkdir conftest.dir684 mkdir conftest.dir
2999 # Copy depcomp to subdir because otherwise we won't find it if we're685 # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -3033,16 +719,16 @@
3033 : > sub/conftest.c719 : > sub/conftest.c
3034 for i in 1 2 3 4 5 6; do720 for i in 1 2 3 4 5 6; do
3035 echo '#include "conftst'$i'.h"' >> sub/conftest.c721 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3036 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with722 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3037 # Solaris 8's {/usr,}/bin/sh.723 # Solaris 10 /bin/sh.
3038 touch sub/conftst$i.h724 echo '/* dummy */' > sub/conftst$i.h
3039 done725 done
3040 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3041727
3042 # We check with `-c' and `-o' for the sake of the "dashmstdout"728 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3043 # mode. It turns out that the SunPro C++ compiler does not properly729 # mode. It turns out that the SunPro C++ compiler does not properly
3044 # handle `-M -o', and we need to detect this. Also, some Intel730 # handle '-M -o', and we need to detect this. Also, some Intel
3045 # versions had trouble with output in subdirs731 # versions had trouble with output in subdirs.
3046 am__obj=sub/conftest.${OBJEXT-o}732 am__obj=sub/conftest.${OBJEXT-o}
3047 am__minus_obj="-o $am__obj"733 am__minus_obj="-o $am__obj"
3048 case $depmode in734 case $depmode in
@@ -3051,8 +737,8 @@
3051 test "$am__universal" = false || continue737 test "$am__universal" = false || continue
3052 ;;738 ;;
3053 nosideeffect)739 nosideeffect)
3054 # after this tag, mechanisms are not by side-effect, so they'll740 # After this tag, mechanisms are not by side-effect, so they'll
3055 # only be used when explicitly requested741 # only be used when explicitly requested.
3056 if test "x$enable_dependency_tracking" = xyes; then742 if test "x$enable_dependency_tracking" = xyes; then
3057 continue743 continue
3058 else744 else
@@ -3060,7 +746,7 @@
3060 fi746 fi
3061 ;;747 ;;
3062 msvc7 | msvc7msys | msvisualcpp | msvcmsys)748 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3063 # This compiler won't grok `-c -o', but also, the minuso test has749 # This compiler won't grok '-c -o', but also, the minuso test has
3064 # not run yet. These depmodes are late enough in the game, and750 # not run yet. These depmodes are late enough in the game, and
3065 # so weak that their functioning should not be impacted.751 # so weak that their functioning should not be impacted.
3066 am__obj=conftest.${OBJEXT-o}752 am__obj=conftest.${OBJEXT-o}
@@ -3108,7 +794,7 @@
3108# AM_SET_DEPDIR794# AM_SET_DEPDIR
3109# -------------795# -------------
3110# Choose a directory name for dependency files.796# Choose a directory name for dependency files.
3111# This macro is AC_REQUIREd in _AM_DEPENDENCIES797# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
3112AC_DEFUN([AM_SET_DEPDIR],798AC_DEFUN([AM_SET_DEPDIR],
3113[AC_REQUIRE([AM_SET_LEADING_DOT])dnl799[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3114AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl800AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
@@ -3118,9 +804,13 @@
3118# AM_DEP_TRACK804# AM_DEP_TRACK
3119# ------------805# ------------
3120AC_DEFUN([AM_DEP_TRACK],806AC_DEFUN([AM_DEP_TRACK],
3121[AC_ARG_ENABLE(dependency-tracking,807[AC_ARG_ENABLE([dependency-tracking], [dnl
3122[ --disable-dependency-tracking speeds up one-time build808AS_HELP_STRING(
3123 --enable-dependency-tracking do not reject slow dependency extractors])809 [--enable-dependency-tracking],
810 [do not reject slow dependency extractors])
811AS_HELP_STRING(
812 [--disable-dependency-tracking],
813 [speeds up one-time build])])
3124if test "x$enable_dependency_tracking" != xno; then814if test "x$enable_dependency_tracking" != xno; then
3125 am_depcomp="$ac_aux_dir/depcomp"815 am_depcomp="$ac_aux_dir/depcomp"
3126 AMDEPBACKSLASH='\'816 AMDEPBACKSLASH='\'
@@ -3135,20 +825,18 @@
3135825
3136# Generate code to set up dependency tracking. -*- Autoconf -*-826# Generate code to set up dependency tracking. -*- Autoconf -*-
3137827
3138# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008828# Copyright (C) 1999-2013 Free Software Foundation, Inc.
3139# Free Software Foundation, Inc.
3140#829#
3141# This file is free software; the Free Software Foundation830# This file is free software; the Free Software Foundation
3142# gives unlimited permission to copy and/or distribute it,831# gives unlimited permission to copy and/or distribute it,
3143# with or without modifications, as long as this notice is preserved.832# with or without modifications, as long as this notice is preserved.
3144833
3145#serial 5
3146834
3147# _AM_OUTPUT_DEPENDENCY_COMMANDS835# _AM_OUTPUT_DEPENDENCY_COMMANDS
3148# ------------------------------836# ------------------------------
3149AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],837AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
3150[{838[{
3151 # Autoconf 2.62 quotes --file arguments for eval, but not when files839 # Older Autoconf quotes --file arguments for eval, but not when files
3152 # are listed without --file. Let's play safe and only enable the eval840 # are listed without --file. Let's play safe and only enable the eval
3153 # if we detect the quoting.841 # if we detect the quoting.
3154 case $CONFIG_FILES in842 case $CONFIG_FILES in
@@ -3161,7 +849,7 @@
3161 # Strip MF so we end up with the name of the file.849 # Strip MF so we end up with the name of the file.
3162 mf=`echo "$mf" | sed -e 's/:.*$//'`850 mf=`echo "$mf" | sed -e 's/:.*$//'`
3163 # Check whether this is an Automake generated Makefile or not.851 # Check whether this is an Automake generated Makefile or not.
3164 # We used to match only the files named `Makefile.in', but852 # We used to match only the files named 'Makefile.in', but
3165 # some people rename them; so instead we look at the file content.853 # some people rename them; so instead we look at the file content.
3166 # Grep'ing the first line is not enough: some people post-process854 # Grep'ing the first line is not enough: some people post-process
3167 # each Makefile.in and add a new line on top of each file to say so.855 # each Makefile.in and add a new line on top of each file to say so.
@@ -3173,21 +861,19 @@
3173 continue861 continue
3174 fi862 fi
3175 # Extract the definition of DEPDIR, am__include, and am__quote863 # Extract the definition of DEPDIR, am__include, and am__quote
3176 # from the Makefile without running `make'.864 # from the Makefile without running 'make'.
3177 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`865 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3178 test -z "$DEPDIR" && continue866 test -z "$DEPDIR" && continue
3179 am__include=`sed -n 's/^am__include = //p' < "$mf"`867 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3180 test -z "am__include" && continue868 test -z "$am__include" && continue
3181 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`869 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3182 # When using ansi2knr, U may be empty or an underscore; expand it
3183 U=`sed -n 's/^U = //p' < "$mf"`
3184 # Find all dependency output files, they are included files with870 # Find all dependency output files, they are included files with
3185 # $(DEPDIR) in their names. We invoke sed twice because it is the871 # $(DEPDIR) in their names. We invoke sed twice because it is the
3186 # simplest approach to changing $(DEPDIR) to its actual value in the872 # simplest approach to changing $(DEPDIR) to its actual value in the
3187 # expansion.873 # expansion.
3188 for file in `sed -n "874 for file in `sed -n "
3189 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \875 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3190 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do876 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
3191 # Make sure the directory exists.877 # Make sure the directory exists.
3192 test -f "$dirpart/$file" && continue878 test -f "$dirpart/$file" && continue
3193 fdir=`AS_DIRNAME(["$file"])`879 fdir=`AS_DIRNAME(["$file"])`
@@ -3205,7 +891,7 @@
3205# This macro should only be invoked once -- use via AC_REQUIRE.891# This macro should only be invoked once -- use via AC_REQUIRE.
3206#892#
3207# This code is only required when automatic dependency tracking893# This code is only required when automatic dependency tracking
3208# is enabled. FIXME. This creates each `.P' file that we will894# is enabled. FIXME. This creates each '.P' file that we will
3209# need in order to bootstrap the dependency handling code.895# need in order to bootstrap the dependency handling code.
3210AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],896AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
3211[AC_CONFIG_COMMANDS([depfiles],897[AC_CONFIG_COMMANDS([depfiles],
@@ -3215,18 +901,21 @@
3215901
3216# Do all the work for Automake. -*- Autoconf -*-902# Do all the work for Automake. -*- Autoconf -*-
3217903
3218# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,904# Copyright (C) 1996-2013 Free Software Foundation, Inc.
3219# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
3220#905#
3221# This file is free software; the Free Software Foundation906# This file is free software; the Free Software Foundation
3222# gives unlimited permission to copy and/or distribute it,907# gives unlimited permission to copy and/or distribute it,
3223# with or without modifications, as long as this notice is preserved.908# with or without modifications, as long as this notice is preserved.
3224909
3225# serial 16
3226
3227# This macro actually does too much. Some checks are only needed if910# This macro actually does too much. Some checks are only needed if
3228# your package does certain things. But this isn't really a big deal.911# your package does certain things. But this isn't really a big deal.
3229912
913dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
914m4_define([AC_PROG_CC],
915m4_defn([AC_PROG_CC])
916[_AM_PROG_CC_C_O
917])
918
3230# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])919# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
3231# AM_INIT_AUTOMAKE([OPTIONS])920# AM_INIT_AUTOMAKE([OPTIONS])
3232# -----------------------------------------------921# -----------------------------------------------
@@ -3239,7 +928,7 @@
3239# arguments mandatory, and then we can depend on a new Autoconf928# arguments mandatory, and then we can depend on a new Autoconf
3240# release and drop the old call support.929# release and drop the old call support.
3241AC_DEFUN([AM_INIT_AUTOMAKE],930AC_DEFUN([AM_INIT_AUTOMAKE],
3242[AC_PREREQ([2.62])dnl931[AC_PREREQ([2.65])dnl
3243dnl Autoconf wants to disallow AM_ names. We explicitly allow932dnl Autoconf wants to disallow AM_ names. We explicitly allow
3244dnl the ones we care about.933dnl the ones we care about.
3245m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl934m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -3268,31 +957,40 @@
3268# Define the identity of the package.957# Define the identity of the package.
3269dnl Distinguish between old-style and new-style calls.958dnl Distinguish between old-style and new-style calls.
3270m4_ifval([$2],959m4_ifval([$2],
3271[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl960[AC_DIAGNOSE([obsolete],
961 [$0: two- and three-arguments forms are deprecated.])
962m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
3272 AC_SUBST([PACKAGE], [$1])dnl963 AC_SUBST([PACKAGE], [$1])dnl
3273 AC_SUBST([VERSION], [$2])],964 AC_SUBST([VERSION], [$2])],
3274[_AM_SET_OPTIONS([$1])dnl965[_AM_SET_OPTIONS([$1])dnl
3275dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.966dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
3276m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,967m4_if(
968 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
969 [ok:ok],,
3277 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl970 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
3278 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl971 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
3279 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl972 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
3280973
3281_AM_IF_OPTION([no-define],,974_AM_IF_OPTION([no-define],,
3282[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])975[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3283 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl976 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
3284977
3285# Some tools Automake needs.978# Some tools Automake needs.
3286AC_REQUIRE([AM_SANITY_CHECK])dnl979AC_REQUIRE([AM_SANITY_CHECK])dnl
3287AC_REQUIRE([AC_ARG_PROGRAM])dnl980AC_REQUIRE([AC_ARG_PROGRAM])dnl
3288AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})981AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3289AM_MISSING_PROG(AUTOCONF, autoconf)982AM_MISSING_PROG([AUTOCONF], [autoconf])
3290AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})983AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3291AM_MISSING_PROG(AUTOHEADER, autoheader)984AM_MISSING_PROG([AUTOHEADER], [autoheader])
3292AM_MISSING_PROG(MAKEINFO, makeinfo)985AM_MISSING_PROG([MAKEINFO], [makeinfo])
3293AC_REQUIRE([AM_PROG_INSTALL_SH])dnl986AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3294AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl987AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
3295AC_REQUIRE([AM_PROG_MKDIR_P])dnl988AC_REQUIRE([AC_PROG_MKDIR_P])dnl
989# For better backward compatibility. To be removed once Automake 1.9.x
990# dies out for good. For more background, see:
991# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
992# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
993AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
3296# We need awk for the "check" target. The system "awk" is bad on994# We need awk for the "check" target. The system "awk" is bad on
3297# some platforms.995# some platforms.
3298AC_REQUIRE([AC_PROG_AWK])dnl996AC_REQUIRE([AC_PROG_AWK])dnl
@@ -3303,34 +1001,78 @@
3303 [_AM_PROG_TAR([v7])])])1001 [_AM_PROG_TAR([v7])])])
3304_AM_IF_OPTION([no-dependencies],,1002_AM_IF_OPTION([no-dependencies],,
3305[AC_PROVIDE_IFELSE([AC_PROG_CC],1003[AC_PROVIDE_IFELSE([AC_PROG_CC],
3306 [_AM_DEPENDENCIES(CC)],1004 [_AM_DEPENDENCIES([CC])],
3307 [define([AC_PROG_CC],1005 [m4_define([AC_PROG_CC],
3308 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl1006 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3309AC_PROVIDE_IFELSE([AC_PROG_CXX],1007AC_PROVIDE_IFELSE([AC_PROG_CXX],
3310 [_AM_DEPENDENCIES(CXX)],1008 [_AM_DEPENDENCIES([CXX])],
3311 [define([AC_PROG_CXX],1009 [m4_define([AC_PROG_CXX],
3312 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl1010 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3313AC_PROVIDE_IFELSE([AC_PROG_OBJC],1011AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3314 [_AM_DEPENDENCIES(OBJC)],1012 [_AM_DEPENDENCIES([OBJC])],
3315 [define([AC_PROG_OBJC],1013 [m4_define([AC_PROG_OBJC],
3316 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl1014 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1015AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1016 [_AM_DEPENDENCIES([OBJCXX])],
1017 [m4_define([AC_PROG_OBJCXX],
1018 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3317])1019])
3318_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl1020AC_REQUIRE([AM_SILENT_RULES])dnl
3319dnl The `parallel-tests' driver may need to know about EXEEXT, so add the1021dnl The testsuite driver may need to know about EXEEXT, so add the
3320dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro1022dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
3321dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.1023dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
3322AC_CONFIG_COMMANDS_PRE(dnl1024AC_CONFIG_COMMANDS_PRE(dnl
3323[m4_provide_if([_AM_COMPILER_EXEEXT],1025[m4_provide_if([_AM_COMPILER_EXEEXT],
3324 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl1026 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
3325])1027
33261028# POSIX will say in a future version that running "rm -f" with no argument
3327dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not1029# is OK; and we want to be able to make that assumption in our Makefile
1030# recipes. So use an aggressive probe to check that the usage we want is
1031# actually supported "in the wild" to an acceptable degree.
1032# See automake bug#10828.
1033# To make any issue more visible, cause the running configure to be aborted
1034# by default if the 'rm' program in use doesn't match our expectations; the
1035# user can still override this though.
1036if rm -f && rm -fr && rm -rf; then : OK; else
1037 cat >&2 <<'END'
1038Oops!
1039
1040Your 'rm' program seems unable to run without file operands specified
1041on the command line, even when the '-f' option is present. This is contrary
1042to the behaviour of most rm programs out there, and not conforming with
1043the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1044
1045Please tell bug-automake@gnu.org about your system, including the value
1046of your $PATH and any error possibly output before this message. This
1047can help us improve future automake versions.
1048
1049END
1050 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1051 echo 'Configuration will proceed anyway, since you have set the' >&2
1052 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1053 echo >&2
1054 else
1055 cat >&2 <<'END'
1056Aborting the configuration process, to ensure you take notice of the issue.
1057
1058You can download and install GNU coreutils to get an 'rm' implementation
1059that behaves properly: <http://www.gnu.org/software/coreutils/>.
1060
1061If you want to complete the configuration process using your problematic
1062'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1063to "yes", and re-run configure.
1064
1065END
1066 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1067 fi
1068fi])
1069
1070dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
3328dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further1071dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
3329dnl mangled by Autoconf and run in a shell conditional statement.1072dnl mangled by Autoconf and run in a shell conditional statement.
3330m4_define([_AC_COMPILER_EXEEXT],1073m4_define([_AC_COMPILER_EXEEXT],
3331m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])1074m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
33321075
3333
3334# When config.status generates a header, we must update the stamp-h file.1076# When config.status generates a header, we must update the stamp-h file.
3335# This file resides in the same directory as the config header1077# This file resides in the same directory as the config header
3336# that is generated. The stamp files are numbered to have different names.1078# that is generated. The stamp files are numbered to have different names.
@@ -3352,15 +1094,12 @@
3352done1094done
3353echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])1095echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
33541096
3355# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,1097# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3356# Inc.
3357#1098#
3358# This file is free software; the Free Software Foundation1099# This file is free software; the Free Software Foundation
3359# gives unlimited permission to copy and/or distribute it,1100# gives unlimited permission to copy and/or distribute it,
3360# with or without modifications, as long as this notice is preserved.1101# with or without modifications, as long as this notice is preserved.
33611102
3362# serial 1
3363
3364# AM_PROG_INSTALL_SH1103# AM_PROG_INSTALL_SH
3365# ------------------1104# ------------------
3366# Define $install_sh.1105# Define $install_sh.
@@ -3374,16 +1113,14 @@
3374 install_sh="\${SHELL} $am_aux_dir/install-sh"1113 install_sh="\${SHELL} $am_aux_dir/install-sh"
3375 esac1114 esac
3376fi1115fi
3377AC_SUBST(install_sh)])1116AC_SUBST([install_sh])])
33781117
3379# Copyright (C) 2003, 2005 Free Software Foundation, Inc.1118# Copyright (C) 2003-2013 Free Software Foundation, Inc.
3380#1119#
3381# This file is free software; the Free Software Foundation1120# This file is free software; the Free Software Foundation
3382# gives unlimited permission to copy and/or distribute it,1121# gives unlimited permission to copy and/or distribute it,
3383# with or without modifications, as long as this notice is preserved.1122# with or without modifications, as long as this notice is preserved.
33841123
3385# serial 2
3386
3387# Check whether the underlying file-system supports filenames1124# Check whether the underlying file-system supports filenames
3388# with a leading dot. For instance MS-DOS doesn't.1125# with a leading dot. For instance MS-DOS doesn't.
3389AC_DEFUN([AM_SET_LEADING_DOT],1126AC_DEFUN([AM_SET_LEADING_DOT],
@@ -3399,14 +1136,12 @@
33991136
3400# Check to see how 'make' treats includes. -*- Autoconf -*-1137# Check to see how 'make' treats includes. -*- Autoconf -*-
34011138
3402# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.1139# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3403#1140#
3404# This file is free software; the Free Software Foundation1141# This file is free software; the Free Software Foundation
3405# gives unlimited permission to copy and/or distribute it,1142# gives unlimited permission to copy and/or distribute it,
3406# with or without modifications, as long as this notice is preserved.1143# with or without modifications, as long as this notice is preserved.
34071144
3408# serial 4
3409
3410# AM_MAKE_INCLUDE()1145# AM_MAKE_INCLUDE()
3411# -----------------1146# -----------------
3412# Check to see how make treats includes.1147# Check to see how make treats includes.
@@ -3424,7 +1159,7 @@
3424_am_result=none1159_am_result=none
3425# First try GNU make style include.1160# First try GNU make style include.
3426echo "include confinc" > confmf1161echo "include confinc" > confmf
3427# Ignore all kinds of additional output from `make'.1162# Ignore all kinds of additional output from 'make'.
3428case `$am_make -s -f confmf 2> /dev/null` in #(1163case `$am_make -s -f confmf 2> /dev/null` in #(
3429*the\ am__doit\ target*)1164*the\ am__doit\ target*)
3430 am__include=include1165 am__include=include
@@ -3451,15 +1186,12 @@
34511186
3452# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-1187# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
34531188
3454# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 20081189# Copyright (C) 1997-2013 Free Software Foundation, Inc.
3455# Free Software Foundation, Inc.
3456#1190#
3457# This file is free software; the Free Software Foundation1191# This file is free software; the Free Software Foundation
3458# gives unlimited permission to copy and/or distribute it,1192# gives unlimited permission to copy and/or distribute it,
3459# with or without modifications, as long as this notice is preserved.1193# with or without modifications, as long as this notice is preserved.
34601194
3461# serial 6
3462
3463# AM_MISSING_PROG(NAME, PROGRAM)1195# AM_MISSING_PROG(NAME, PROGRAM)
3464# ------------------------------1196# ------------------------------
3465AC_DEFUN([AM_MISSING_PROG],1197AC_DEFUN([AM_MISSING_PROG],
@@ -3467,11 +1199,10 @@
3467$1=${$1-"${am_missing_run}$2"}1199$1=${$1-"${am_missing_run}$2"}
3468AC_SUBST($1)])1200AC_SUBST($1)])
34691201
3470
3471# AM_MISSING_HAS_RUN1202# AM_MISSING_HAS_RUN
3472# ------------------1203# ------------------
3473# Define MISSING if not defined so far and test if it supports --run.1204# Define MISSING if not defined so far and test if it is modern enough.
3474# If it does, set am_missing_run to use it, otherwise, to nothing.1205# If it is, set am_missing_run to use it, otherwise, to nothing.
3475AC_DEFUN([AM_MISSING_HAS_RUN],1206AC_DEFUN([AM_MISSING_HAS_RUN],
3476[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl1207[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3477AC_REQUIRE_AUX_FILE([missing])dnl1208AC_REQUIRE_AUX_FILE([missing])dnl
@@ -3484,54 +1215,22 @@
3484 esac1215 esac
3485fi1216fi
3486# Use eval to expand $SHELL1217# Use eval to expand $SHELL
3487if eval "$MISSING --run true"; then1218if eval "$MISSING --is-lightweight"; then
3488 am_missing_run="$MISSING --run "1219 am_missing_run="$MISSING "
3489else1220else
3490 am_missing_run=1221 am_missing_run=
3491 AC_MSG_WARN([`missing' script is too old or missing])1222 AC_MSG_WARN(['missing' script is too old or missing])
3492fi1223fi
3493])1224])
34941225
3495# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
3496# Inc.
3497#
3498# This file is free software; the Free Software Foundation
3499# gives unlimited permission to copy and/or distribute it,
3500# with or without modifications, as long as this notice is preserved.
3501
3502# serial 1
3503
3504# AM_PROG_MKDIR_P
3505# ---------------
3506# Check for `mkdir -p'.
3507AC_DEFUN([AM_PROG_MKDIR_P],
3508[AC_PREREQ([2.60])dnl
3509AC_REQUIRE([AC_PROG_MKDIR_P])dnl
3510dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
3511dnl while keeping a definition of mkdir_p for backward compatibility.
3512dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
3513dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
3514dnl Makefile.ins that do not define MKDIR_P, so we do our own
3515dnl adjustment using top_builddir (which is defined more often than
3516dnl MKDIR_P).
3517AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
3518case $mkdir_p in
3519 [[\\/$]]* | ?:[[\\/]]*) ;;
3520 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3521esac
3522])
3523
3524# Helper functions for option handling. -*- Autoconf -*-1226# Helper functions for option handling. -*- Autoconf -*-
35251227
3526# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software1228# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3527# Foundation, Inc.
3528#1229#
3529# This file is free software; the Free Software Foundation1230# This file is free software; the Free Software Foundation
3530# gives unlimited permission to copy and/or distribute it,1231# gives unlimited permission to copy and/or distribute it,
3531# with or without modifications, as long as this notice is preserved.1232# with or without modifications, as long as this notice is preserved.
35321233
3533# serial 5
3534
3535# _AM_MANGLE_OPTION(NAME)1234# _AM_MANGLE_OPTION(NAME)
3536# -----------------------1235# -----------------------
3537AC_DEFUN([_AM_MANGLE_OPTION],1236AC_DEFUN([_AM_MANGLE_OPTION],
@@ -3541,7 +1240,7 @@
3541# --------------------1240# --------------------
3542# Set option NAME. Presently that only means defining a flag for this option.1241# Set option NAME. Presently that only means defining a flag for this option.
3543AC_DEFUN([_AM_SET_OPTION],1242AC_DEFUN([_AM_SET_OPTION],
3544[m4_define(_AM_MANGLE_OPTION([$1]), 1)])1243[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
35451244
3546# _AM_SET_OPTIONS(OPTIONS)1245# _AM_SET_OPTIONS(OPTIONS)
3547# ------------------------1246# ------------------------
@@ -3555,24 +1254,82 @@
3555AC_DEFUN([_AM_IF_OPTION],1254AC_DEFUN([_AM_IF_OPTION],
3556[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])1255[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
35571256
1257# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1258#
1259# This file is free software; the Free Software Foundation
1260# gives unlimited permission to copy and/or distribute it,
1261# with or without modifications, as long as this notice is preserved.
1262
1263# _AM_PROG_CC_C_O
1264# ---------------
1265# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1266# to automatically call this.
1267AC_DEFUN([_AM_PROG_CC_C_O],
1268[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1269AC_REQUIRE_AUX_FILE([compile])dnl
1270AC_LANG_PUSH([C])dnl
1271AC_CACHE_CHECK(
1272 [whether $CC understands -c and -o together],
1273 [am_cv_prog_cc_c_o],
1274 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1275 # Make sure it works both with $CC and with simple cc.
1276 # Following AC_PROG_CC_C_O, we do the test twice because some
1277 # compilers refuse to overwrite an existing .o file with -o,
1278 # though they will create one.
1279 am_cv_prog_cc_c_o=yes
1280 for am_i in 1 2; do
1281 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1282 && test -f conftest2.$ac_objext; then
1283 : OK
1284 else
1285 am_cv_prog_cc_c_o=no
1286 break
1287 fi
1288 done
1289 rm -f core conftest*
1290 unset am_i])
1291if test "$am_cv_prog_cc_c_o" != yes; then
1292 # Losing compiler, so override with the script.
1293 # FIXME: It is wrong to rewrite CC.
1294 # But if we don't then we get into trouble of one sort or another.
1295 # A longer-term fix would be to have automake use am__CC in this case,
1296 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1297 CC="$am_aux_dir/compile $CC"
1298fi
1299AC_LANG_POP([C])])
1300
1301# For backward compatibility.
1302AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1303
1304# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1305#
1306# This file is free software; the Free Software Foundation
1307# gives unlimited permission to copy and/or distribute it,
1308# with or without modifications, as long as this notice is preserved.
1309
1310# AM_RUN_LOG(COMMAND)
1311# -------------------
1312# Run COMMAND, save the exit status in ac_status, and log it.
1313# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1314AC_DEFUN([AM_RUN_LOG],
1315[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1316 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1317 ac_status=$?
1318 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1319 (exit $ac_status); }])
1320
3558# Check to make sure that the build environment is sane. -*- Autoconf -*-1321# Check to make sure that the build environment is sane. -*- Autoconf -*-
35591322
3560# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 20081323# Copyright (C) 1996-2013 Free Software Foundation, Inc.
3561# Free Software Foundation, Inc.
3562#1324#
3563# This file is free software; the Free Software Foundation1325# This file is free software; the Free Software Foundation
3564# gives unlimited permission to copy and/or distribute it,1326# gives unlimited permission to copy and/or distribute it,
3565# with or without modifications, as long as this notice is preserved.1327# with or without modifications, as long as this notice is preserved.
35661328
3567# serial 5
3568
3569# AM_SANITY_CHECK1329# AM_SANITY_CHECK
3570# ---------------1330# ---------------
3571AC_DEFUN([AM_SANITY_CHECK],1331AC_DEFUN([AM_SANITY_CHECK],
3572[AC_MSG_CHECKING([whether build environment is sane])1332[AC_MSG_CHECKING([whether build environment is sane])
3573# Just in case
3574sleep 1
3575echo timestamp > conftest.file
3576# Reject unsafe characters in $srcdir or the absolute working directory1333# Reject unsafe characters in $srcdir or the absolute working directory
3577# name. Accept space and tab only in the latter.1334# name. Accept space and tab only in the latter.
3578am_lf='1335am_lf='
@@ -3583,32 +1340,40 @@
3583esac1340esac
3584case $srcdir in1341case $srcdir in
3585 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)1342 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
3586 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;1343 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
3587esac1344esac
35881345
3589# Do `set' in a subshell so we don't clobber the current shell's1346# Do 'set' in a subshell so we don't clobber the current shell's
3590# arguments. Must try -L first in case configure is actually a1347# arguments. Must try -L first in case configure is actually a
3591# symlink; some systems play weird games with the mod time of symlinks1348# symlink; some systems play weird games with the mod time of symlinks
3592# (eg FreeBSD returns the mod time of the symlink's containing1349# (eg FreeBSD returns the mod time of the symlink's containing
3593# directory).1350# directory).
3594if (1351if (
3595 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`1352 am_has_slept=no
3596 if test "$[*]" = "X"; then1353 for am_try in 1 2; do
3597 # -L didn't work.1354 echo "timestamp, slept: $am_has_slept" > conftest.file
3598 set X `ls -t "$srcdir/configure" conftest.file`1355 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3599 fi1356 if test "$[*]" = "X"; then
3600 rm -f conftest.file1357 # -L didn't work.
3601 if test "$[*]" != "X $srcdir/configure conftest.file" \1358 set X `ls -t "$srcdir/configure" conftest.file`
3602 && test "$[*]" != "X conftest.file $srcdir/configure"; then1359 fi
36031360 if test "$[*]" != "X $srcdir/configure conftest.file" \
3604 # If neither matched, then we have a broken ls. This can happen1361 && test "$[*]" != "X conftest.file $srcdir/configure"; then
3605 # if, for instance, CONFIG_SHELL is bash and it inherits a1362
3606 # broken ls alias from the environment. This has actually1363 # If neither matched, then we have a broken ls. This can happen
3607 # happened. Such a system could not be considered "sane".1364 # if, for instance, CONFIG_SHELL is bash and it inherits a
3608 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken1365 # broken ls alias from the environment. This has actually
3609alias in your environment])1366 # happened. Such a system could not be considered "sane".
3610 fi1367 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
36111368 alias in your environment])
1369 fi
1370 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1371 break
1372 fi
1373 # Just in case.
1374 sleep 1
1375 am_has_slept=yes
1376 done
3612 test "$[2]" = conftest.file1377 test "$[2]" = conftest.file
3613 )1378 )
3614then1379then
@@ -3618,31 +1383,50 @@
3618 AC_MSG_ERROR([newly created file is older than distributed files!1383 AC_MSG_ERROR([newly created file is older than distributed files!
3619Check your system clock])1384Check your system clock])
3620fi1385fi
3621AC_MSG_RESULT(yes)])1386AC_MSG_RESULT([yes])
1387# If we didn't sleep, we still need to ensure time stamps of config.status and
1388# generated files are strictly newer.
1389am_sleep_pid=
1390if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1391 ( sleep 1 ) &
1392 am_sleep_pid=$!
1393fi
1394AC_CONFIG_COMMANDS_PRE(
1395 [AC_MSG_CHECKING([that generated files are newer than configure])
1396 if test -n "$am_sleep_pid"; then
1397 # Hide warnings about reused PIDs.
1398 wait $am_sleep_pid 2>/dev/null
1399 fi
1400 AC_MSG_RESULT([done])])
1401rm -f conftest.file
1402])
36221403
3623# Copyright (C) 2009, 2011 Free Software Foundation, Inc.1404# Copyright (C) 2009-2013 Free Software Foundation, Inc.
3624#1405#
3625# This file is free software; the Free Software Foundation1406# This file is free software; the Free Software Foundation
3626# gives unlimited permission to copy and/or distribute it,1407# gives unlimited permission to copy and/or distribute it,
3627# with or without modifications, as long as this notice is preserved.1408# with or without modifications, as long as this notice is preserved.
36281409
3629# serial 2
3630
3631# AM_SILENT_RULES([DEFAULT])1410# AM_SILENT_RULES([DEFAULT])
3632# --------------------------1411# --------------------------
3633# Enable less verbose build rules; with the default set to DEFAULT1412# Enable less verbose build rules; with the default set to DEFAULT
3634# (`yes' being less verbose, `no' or empty being verbose).1413# ("yes" being less verbose, "no" or empty being verbose).
3635AC_DEFUN([AM_SILENT_RULES],1414AC_DEFUN([AM_SILENT_RULES],
3636[AC_ARG_ENABLE([silent-rules],1415[AC_ARG_ENABLE([silent-rules], [dnl
3637[ --enable-silent-rules less verbose build output (undo: `make V=1')1416AS_HELP_STRING(
3638 --disable-silent-rules verbose build output (undo: `make V=0')])1417 [--enable-silent-rules],
3639case $enable_silent_rules in1418 [less verbose build output (undo: "make V=1")])
3640yes) AM_DEFAULT_VERBOSITY=0;;1419AS_HELP_STRING(
3641no) AM_DEFAULT_VERBOSITY=1;;1420 [--disable-silent-rules],
3642*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;1421 [verbose build output (undo: "make V=0")])dnl
1422])
1423case $enable_silent_rules in @%:@ (((
1424 yes) AM_DEFAULT_VERBOSITY=0;;
1425 no) AM_DEFAULT_VERBOSITY=1;;
1426 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
3643esac1427esac
3644dnl1428dnl
3645dnl A few `make' implementations (e.g., NonStop OS and NextStep)1429dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
3646dnl do not support nested variable expansions.1430dnl do not support nested variable expansions.
3647dnl See automake bug#9928 and bug#10237.1431dnl See automake bug#9928 and bug#10237.
3648am_make=${MAKE-make}1432am_make=${MAKE-make}
@@ -3660,7 +1444,7 @@
3660 am_cv_make_support_nested_variables=no1444 am_cv_make_support_nested_variables=no
3661fi])1445fi])
3662if test $am_cv_make_support_nested_variables = yes; then1446if test $am_cv_make_support_nested_variables = yes; then
3663 dnl Using `$V' instead of `$(V)' breaks IRIX make.1447 dnl Using '$V' instead of '$(V)' breaks IRIX make.
3664 AM_V='$(V)'1448 AM_V='$(V)'
3665 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'1449 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3666else1450else
@@ -3677,44 +1461,40 @@
3677_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl1461_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
3678])1462])
36791463
3680# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.1464# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3681#1465#
3682# This file is free software; the Free Software Foundation1466# This file is free software; the Free Software Foundation
3683# gives unlimited permission to copy and/or distribute it,1467# gives unlimited permission to copy and/or distribute it,
3684# with or without modifications, as long as this notice is preserved.1468# with or without modifications, as long as this notice is preserved.
36851469
3686# serial 1
3687
3688# AM_PROG_INSTALL_STRIP1470# AM_PROG_INSTALL_STRIP
3689# ---------------------1471# ---------------------
3690# One issue with vendor `install' (even GNU) is that you can't1472# One issue with vendor 'install' (even GNU) is that you can't
3691# specify the program used to strip binaries. This is especially1473# specify the program used to strip binaries. This is especially
3692# annoying in cross-compiling environments, where the build's strip1474# annoying in cross-compiling environments, where the build's strip
3693# is unlikely to handle the host's binaries.1475# is unlikely to handle the host's binaries.
3694# Fortunately install-sh will honor a STRIPPROG variable, so we1476# Fortunately install-sh will honor a STRIPPROG variable, so we
3695# always use install-sh in `make install-strip', and initialize1477# always use install-sh in "make install-strip", and initialize
3696# STRIPPROG with the value of the STRIP variable (set by the user).1478# STRIPPROG with the value of the STRIP variable (set by the user).
3697AC_DEFUN([AM_PROG_INSTALL_STRIP],1479AC_DEFUN([AM_PROG_INSTALL_STRIP],
3698[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl1480[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3699# Installed binaries are usually stripped using `strip' when the user1481# Installed binaries are usually stripped using 'strip' when the user
3700# run `make install-strip'. However `strip' might not be the right1482# run "make install-strip". However 'strip' might not be the right
3701# tool to use in cross-compilation environments, therefore Automake1483# tool to use in cross-compilation environments, therefore Automake
3702# will honor the `STRIP' environment variable to overrule this program.1484# will honor the 'STRIP' environment variable to overrule this program.
3703dnl Don't test for $cross_compiling = yes, because it might be `maybe'.1485dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
3704if test "$cross_compiling" != no; then1486if test "$cross_compiling" != no; then
3705 AC_CHECK_TOOL([STRIP], [strip], :)1487 AC_CHECK_TOOL([STRIP], [strip], :)
3706fi1488fi
3707INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"1489INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3708AC_SUBST([INSTALL_STRIP_PROGRAM])])1490AC_SUBST([INSTALL_STRIP_PROGRAM])])
37091491
3710# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.1492# Copyright (C) 2006-2013 Free Software Foundation, Inc.
3711#1493#
3712# This file is free software; the Free Software Foundation1494# This file is free software; the Free Software Foundation
3713# gives unlimited permission to copy and/or distribute it,1495# gives unlimited permission to copy and/or distribute it,
3714# with or without modifications, as long as this notice is preserved.1496# with or without modifications, as long as this notice is preserved.
37151497
3716# serial 3
3717
3718# _AM_SUBST_NOTMAKE(VARIABLE)1498# _AM_SUBST_NOTMAKE(VARIABLE)
3719# ---------------------------1499# ---------------------------
3720# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.1500# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
@@ -3728,18 +1508,16 @@
37281508
3729# Check how to create a tarball. -*- Autoconf -*-1509# Check how to create a tarball. -*- Autoconf -*-
37301510
3731# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.1511# Copyright (C) 2004-2013 Free Software Foundation, Inc.
3732#1512#
3733# This file is free software; the Free Software Foundation1513# This file is free software; the Free Software Foundation
3734# gives unlimited permission to copy and/or distribute it,1514# gives unlimited permission to copy and/or distribute it,
3735# with or without modifications, as long as this notice is preserved.1515# with or without modifications, as long as this notice is preserved.
37361516
3737# serial 2
3738
3739# _AM_PROG_TAR(FORMAT)1517# _AM_PROG_TAR(FORMAT)
3740# --------------------1518# --------------------
3741# Check how to create a tarball in format FORMAT.1519# Check how to create a tarball in format FORMAT.
3742# FORMAT should be one of `v7', `ustar', or `pax'.1520# FORMAT should be one of 'v7', 'ustar', or 'pax'.
3743#1521#
3744# Substitute a variable $(am__tar) that is a command1522# Substitute a variable $(am__tar) that is a command
3745# writing to stdout a FORMAT-tarball containing the directory1523# writing to stdout a FORMAT-tarball containing the directory
@@ -3749,107 +1527,153 @@
3749# Substitute a variable $(am__untar) that extract such1527# Substitute a variable $(am__untar) that extract such
3750# a tarball read from stdin.1528# a tarball read from stdin.
3751# $(am__untar) < result.tar1529# $(am__untar) < result.tar
1530#
3752AC_DEFUN([_AM_PROG_TAR],1531AC_DEFUN([_AM_PROG_TAR],
3753[# Always define AMTAR for backward compatibility. Yes, it's still used1532[# Always define AMTAR for backward compatibility. Yes, it's still used
3754# in the wild :-( We should find a proper way to deprecate it ...1533# in the wild :-( We should find a proper way to deprecate it ...
3755AC_SUBST([AMTAR], ['$${TAR-tar}'])1534AC_SUBST([AMTAR], ['$${TAR-tar}'])
1535
1536# We'll loop over all known methods to create a tar archive until one works.
1537_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1538
3756m4_if([$1], [v7],1539m4_if([$1], [v7],
3757 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
3758 [m4_case([$1], [ustar],, [pax],,
3759 [m4_fatal([Unknown tar format])])
3760AC_MSG_CHECKING([how to create a $1 tar archive])
3761# Loop over all known methods to create a tar archive until one works.
3762_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
3763_am_tools=${am_cv_prog_tar_$1-$_am_tools}
3764# Do not fold the above two line into one, because Tru64 sh and
3765# Solaris sh will not grok spaces in the rhs of `-'.
3766for _am_tool in $_am_tools
3767do
3768 case $_am_tool in
3769 gnutar)
3770 for _am_tar in tar gnutar gtar;
3771 do
3772 AM_RUN_LOG([$_am_tar --version]) && break
3773 done
3774 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
3775 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
3776 am__untar="$_am_tar -xf -"
3777 ;;
3778 plaintar)
3779 # Must skip GNU tar: if it does not support --format= it doesn't create
3780 # ustar tarball either.
3781 (tar --version) >/dev/null 2>&1 && continue
3782 am__tar='tar chf - "$$tardir"'
3783 am__tar_='tar chf - "$tardir"'
3784 am__untar='tar xf -'
3785 ;;
3786 pax)
3787 am__tar='pax -L -x $1 -w "$$tardir"'
3788 am__tar_='pax -L -x $1 -w "$tardir"'
3789 am__untar='pax -r'
3790 ;;
3791 cpio)
3792 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
3793 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
3794 am__untar='cpio -i -H $1 -d'
3795 ;;
3796 none)
3797 am__tar=false
3798 am__tar_=false
3799 am__untar=false
3800 ;;
3801 esac
3802
3803 # If the value was cached, stop now. We just wanted to have am__tar
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches