Merge lp:~noskcaj/ubuntu/vivid/xfce4-sensors-plugin/1.2.6 into lp:ubuntu/vivid/xfce4-sensors-plugin

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/ubuntu/vivid/xfce4-sensors-plugin/1.2.6
Merge into: lp:ubuntu/vivid/xfce4-sensors-plugin
Diff against target: 28085 lines (+10928/-6974)
86 files modified
.pc/applied-patches (+0/-1)
.pc/fix_typo_in_fr.po.diff/po/fr.po (+0/-432)
INSTALL (+6/-6)
Makefile.in (+184/-149)
NEWS (+16/-1)
NOTES (+1/-2)
README (+2/-3)
aclocal.m4 (+1529/-1513)
compile (+7/-3)
config.guess (+118/-228)
config.h.in (+1/-4)
config.sub (+78/-52)
configure (+556/-437)
configure.ac (+440/-0)
configure.in (+0/-439)
debian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/fix_typo_in_fr.po.diff (+0/-17)
debian/patches/series (+0/-1)
depcomp (+269/-186)
icons/Makefile.in (+82/-40)
include/Makefile.in (+77/-35)
include/sensors-interface-common.h (+1/-0)
include/sensors-interface-plugin.h (+3/-1)
include/types.h (+2/-2)
install-sh (+7/-7)
lib/Makefile.am (+1/-6)
lib/Makefile.in (+201/-130)
lib/acpi.c (+56/-7)
lib/configuration.c (+20/-10)
lib/cpu.c (+25/-6)
lib/hddtemp.c (+14/-6)
lib/sensors-interface-common.c (+4/-4)
ltmain.sh (+2/-2)
missing (+159/-275)
mkinstalldirs (+2/-2)
panel-plugin/Makefile.am (+1/-2)
panel-plugin/Makefile.in (+169/-95)
panel-plugin/sensors-plugin.c (+93/-34)
po/ar.po (+104/-92)
po/ast.po (+118/-119)
po/bg.po (+437/-0)
po/ca.po (+57/-45)
po/cs.po (+63/-100)
po/da.po (+69/-70)
po/de.po (+88/-128)
po/el.po (+71/-57)
po/en_AU.po (+434/-0)
po/en_GB.po (+57/-45)
po/es.po (+95/-90)
po/eu.po (+57/-45)
po/fi.po (+70/-70)
po/fr.po (+125/-113)
po/gl.po (+57/-45)
po/hr.po (+435/-0)
po/hu.po (+57/-45)
po/id.po (+66/-78)
po/is.po (+396/-0)
po/it.po (+66/-64)
po/ja.po (+66/-66)
po/ko.po (+70/-60)
po/lt.po (+57/-45)
po/lv.po (+57/-45)
po/ms.po (+434/-0)
po/nb.po (+436/-0)
po/nl.po (+88/-123)
po/oc.po (+440/-0)
po/pl.po (+120/-147)
po/pt.po (+65/-53)
po/pt_BR.po (+67/-92)
po/ru.po (+110/-125)
po/sk.po (+57/-45)
po/sq.po (+57/-45)
po/sr.po (+435/-0)
po/sv.po (+122/-78)
po/th.po (+432/-0)
po/tr.po (+86/-77)
po/ug.po (+109/-106)
po/uk.po (+67/-64)
po/ur.po (+57/-45)
po/ur_PK.po (+57/-45)
po/vi.po (+53/-45)
po/zh_CN.po (+67/-56)
po/zh_TW.po (+69/-101)
src/Makefile.am (+1/-25)
src/Makefile.in (+192/-141)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/vivid/xfce4-sensors-plugin/1.2.6
Reviewer Review Type Date Requested Status
Sean Davis (community) xubuntu technical lead Approve
Review via email: mp+251215@code.launchpad.net

Description of the change

New upstream bugfix release

To post a comment you must log in.
Revision history for this message
Sean Davis (bluesabre) wrote :

Package looks good to me, but is not in the xubuntu packageset. I approve for upload, if any MOTUs or archive admins are able to sponsor.

review: Approve (xubuntu technical lead)

Unmerged revisions

15. By Jackson Doak

* New upstream bugfix release.
* Drop fix_typo_in_fr.po.diff, fixed upstream.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== removed file '.pc/applied-patches'
--- .pc/applied-patches 2013-05-26 13:18:22 +0000
+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1fix_typo_in_fr.po.diff
20
=== removed directory '.pc/fix_typo_in_fr.po.diff'
=== removed directory '.pc/fix_typo_in_fr.po.diff/po'
=== removed file '.pc/fix_typo_in_fr.po.diff/po/fr.po'
--- .pc/fix_typo_in_fr.po.diff/po/fr.po 2013-05-26 13:18:22 +0000
+++ .pc/fix_typo_in_fr.po.diff/po/fr.po 1970-01-01 00:00:00 +0000
@@ -1,432 +0,0 @@
1# French translations for xfce4-sensors-plugin package.
2# Copyright (C) 2004-2005 Fabian Nowak.
3# This file is distributed under the same license as the xfce4-sensors-plugin package.
4# Stephane Roy <sroy@j2n.net>, 2005.
5# Fabian Nowak <timystery@arcor.de>, 2005.
6# Maximilian Schleiss <maximilian@xfce.org>, 2006.
7#
8msgid ""
9msgstr ""
10"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
11"Report-Msgid-Bugs-To: \n"
12"POT-Creation-Date: 2012-05-14 14:26+0200\n"
13"PO-Revision-Date: 2009-03-19 21:00+0100\n"
14"Last-Translator: Mike Massonnet <mmassonnet@gmail.com>\n"
15"Language-Team: French <xfce-i18n@xfce.org>\n"
16"Language: fr\n"
17"MIME-Version: 1.0\n"
18"Content-Type: text/plain; charset=UTF-8\n"
19"Content-Transfer-Encoding: 8bit\n"
20
21#: ../panel-plugin/sensors-plugin.c:287 ../panel-plugin/sensors-plugin.c:384
22#: ../panel-plugin/sensors-plugin.c:977
23msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
24msgstr "<span foreground=\"#000000\"><b>Capteurs</b></span>"
25
26#. widget = sensors->eventbox;
27#: ../panel-plugin/sensors-plugin.c:783
28msgid "No sensors selected!"
29msgstr "Aucun capteur sélectionné !"
30
31#. FIXME: either print nothing, or undertake appropriate action,
32#. * or pop up a message box.
33#: ../panel-plugin/sensors-plugin.c:823
34#, c-format
35msgid ""
36"Sensors Plugin:\n"
37"Seems like there was a problem reading a sensor feature value.\n"
38"Proper proceeding cannot be guaranteed.\n"
39msgstr ""
40"Greffon de Capteurs :\n"
41"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
42"L'exécution normale ne peut pas être garantie.\n"
43
44#: ../panel-plugin/sensors-plugin.c:1684
45msgid "UI style:"
46msgstr "Style de l'interface :"
47
48#: ../panel-plugin/sensors-plugin.c:1685
49msgid "_text"
50msgstr "_texte"
51
52#: ../panel-plugin/sensors-plugin.c:1687
53msgid "_progress bars"
54msgstr "_barres de progression"
55
56#: ../panel-plugin/sensors-plugin.c:1689
57msgid "_tachos"
58msgstr "_tachys"
59
60#: ../panel-plugin/sensors-plugin.c:1734
61msgid "Show _labels"
62msgstr "Affi_cher les étiquettes"
63
64#: ../panel-plugin/sensors-plugin.c:1764
65msgid "Show colored _bars"
66msgstr "Afficher les _barres en couleur"
67
68#: ../panel-plugin/sensors-plugin.c:1792
69msgid "_Show title"
70msgstr "Affi_cher le titre"
71
72#: ../panel-plugin/sensors-plugin.c:1816
73msgid "_Number of text lines:"
74msgstr "_Nombre de lignes de texte :"
75
76#: ../panel-plugin/sensors-plugin.c:1851
77msgid "F_ont size:"
78msgstr "Taille de la _police :"
79
80#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
81#: ../panel-plugin/sensors-plugin.c:1858
82msgid "x-small"
83msgstr "très petite"
84
85#: ../panel-plugin/sensors-plugin.c:1859
86msgid "small"
87msgstr "petite"
88
89#: ../panel-plugin/sensors-plugin.c:1860
90msgid "medium"
91msgstr "normale"
92
93#: ../panel-plugin/sensors-plugin.c:1861
94msgid "large"
95msgstr "grande"
96
97#: ../panel-plugin/sensors-plugin.c:1862
98msgid "x-large"
99msgstr "très grande"
100
101#: ../panel-plugin/sensors-plugin.c:1893
102msgid "F_ont:"
103msgstr "Taille de la _police :"
104
105#: ../panel-plugin/sensors-plugin.c:1927
106msgid "Show _Units"
107msgstr "Afficher les _unités"
108
109#: ../panel-plugin/sensors-plugin.c:1948
110msgid "Small horizontal s_pacing"
111msgstr "E_space horizontal petit"
112
113#: ../panel-plugin/sensors-plugin.c:1970
114msgid "Suppress messages"
115msgstr "Supprimer les messages"
116
117#: ../panel-plugin/sensors-plugin.c:1995
118msgid "E_xecute on double click:"
119msgstr "E_xécute après un double clic :"
120
121#: ../panel-plugin/sensors-plugin.c:2038
122msgid "_View"
123msgstr "_Afficher"
124
125#: ../panel-plugin/sensors-plugin.c:2072
126msgid "_Miscellaneous"
127msgstr "_Divers"
128
129#: ../panel-plugin/sensors-plugin.c:2145 ../panel-plugin/sensors-plugin.h:30
130#: ../lib/hddtemp.c:180
131msgid "Sensors Plugin"
132msgstr "Greffon de Capteurs"
133
134#. gtk_cpu_paint(sensors->tachos [i][index_feature]);
135#. gtk_cpu_expose(sensors->tachos [i][index_feature], NULL);
136#. #if GTK_VERSION < 2.11
137#: ../panel-plugin/sensors-plugin.c:2184 ../src/actions.c:205
138msgid ""
139"You can change a feature's properties such as name, colours, min/max value "
140"by double-clicking the entry, editing the content, and pressing \"Return\" "
141"or selecting a different field."
142msgstr ""
143"Vous pouvez changez les propriétés d'un aspect tel que le nom, les couleurs, "
144"la valeur min/max en double-cliquant sur l'entrée, éditer le contenu et "
145"presser \"Entrée\" ou sélectionner un autre champ."
146
147#. only use this if no hddtemp sensor
148#. or do only use this , if it is an lmsensors device. whatever.
149#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
150#. assert correctly saved file
151#: ../lib/configuration.c:160 ../lib/configuration.c:358
152#: ../lib/configuration.c:365 ../lib/hddtemp.c:362 ../lib/hddtemp.c:411
153msgid "Hard disks"
154msgstr "Disques dur"
155
156#: ../lib/acpi.c:521 ../lib/acpi.c:529
157msgid "ACPI"
158msgstr "ACPI"
159
160#. to be displayed
161#. chip->description = g_strdup(_("Advanced Configuration and Power Interface"));
162#: ../lib/acpi.c:523
163#, c-format
164msgid "ACPI v%s zones"
165msgstr "Zones ACPI v%s"
166
167#. who knows, if we obtain non-NULL version at all...
168#. || g_strisempty(version))
169#: ../lib/acpi.c:661
170msgid "<Unknown>"
171msgstr "<Inconnu>"
172
173#: ../lib/nvidia.c:60
174msgid "NVidia GPU core temperature"
175msgstr "Température du GPU NVidia"
176
177#: ../lib/nvidia.c:61
178msgid "nvidia"
179msgstr "nvidia"
180
181#. if (scale == FAHRENHEIT) {
182#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
183#. } else { // Celsius
184#. Celsius
185#: ../lib/nvidia.c:126 ../lib/hddtemp.c:720
186#: ../lib/sensors-interface-common.c:147
187#, c-format
188msgid "%.1f °C"
189msgstr "%.1f °C"
190
191#: ../lib/hddtemp.c:410
192msgid "S.M.A.R.T. harddisk temperatures"
193msgstr "Sondes de température du disque dur S.M.A.R.T."
194
195#: ../lib/hddtemp.c:605
196#, c-format
197msgid ""
198"\"hddtemp\" was not executed correctly, although it is executable. This is "
199"most probably due to the disks requiring root privileges to read their "
200"temperatures, and \"hddtemp\" not being setuid root.\n"
201"\n"
202"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
203"restart this plugin or its panel.\n"
204"\n"
205"Calling \"%s\" gave the following error:\n"
206"%s\n"
207"with a return value of %d.\n"
208msgstr ""
209"\"hddtemp\" n'a pas été exécuté correctement bien qu'il soit exécutable. Il "
210"se pourrait bien que ce soit dû à des privilèges restreint pour la lecture "
211"des températures et que \"hddtemp\" ne soit pas fixé avec un setuid root.\n"
212"\n"
213"Une solution simple mais radicale consiste à lancer la commande \"chmod u+s "
214"%s\" en tant que root et de relancer le greffon ou le panneau.\n"
215"\n"
216"L'appel à \"%s\" a donné l'erreur suivante :\n"
217"%s\n"
218"avec le code retour %d.\n"
219
220#: ../lib/hddtemp.c:621 ../lib/hddtemp.c:651
221msgid "Suppress this message in future"
222msgstr "Ne plus afficher ce message"
223
224#: ../lib/hddtemp.c:645
225#, c-format
226msgid ""
227"An error occurred when executing \"%s\":\n"
228"%s"
229msgstr ""
230"Une erreur est survenue lors de l'exécution de \"%s\" :\n"
231"%s"
232
233#: ../lib/lmsensors.c:110
234msgid "LM Sensors"
235msgstr "LM Capteurs"
236
237#: ../lib/lmsensors.c:370 ../lib/lmsensors.c:417
238#, c-format
239msgid "Error: Could not connect to sensors!"
240msgstr "Erreur : ne peut pas se connecter aux capteurs !"
241
242#: ../lib/sensors-interface.c:84
243msgid "Sensors Plugin Failure"
244msgstr "Erreur dans le greffon de capteurs"
245
246#: ../lib/sensors-interface.c:85
247msgid ""
248"Seems like there was a problem reading a sensor feature value.\n"
249"Proper proceeding cannot be guaranteed."
250msgstr ""
251"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
252"L'exécution normale ne peut pas être garantie."
253
254#: ../lib/sensors-interface.c:172
255msgid "Sensors t_ype:"
256msgstr "T_ype de capteurs :"
257
258#: ../lib/sensors-interface.c:198
259msgid "Description:"
260msgstr "Description :"
261
262#: ../lib/sensors-interface.c:231
263msgid "U_pdate interval (seconds):"
264msgstr "_Intervalle de mise-à-jour (secondes) :"
265
266#: ../lib/sensors-interface.c:271
267msgid "Name"
268msgstr "Nom"
269
270#: ../lib/sensors-interface.c:283
271msgid "Value"
272msgstr "Valeur"
273
274#: ../lib/sensors-interface.c:291
275msgid "Show"
276msgstr "Afficher"
277
278#: ../lib/sensors-interface.c:300
279msgid "Color"
280msgstr "Couleur"
281
282#: ../lib/sensors-interface.c:313
283msgid "Min"
284msgstr "Min"
285
286#: ../lib/sensors-interface.c:330
287msgid "Max"
288msgstr "Max"
289
290#: ../lib/sensors-interface.c:371
291msgid "Temperature scale:"
292msgstr "Échelle de température :"
293
294#: ../lib/sensors-interface.c:373
295msgid "_Celsius"
296msgstr "_Celsius"
297
298#: ../lib/sensors-interface.c:375
299msgid "_Fahrenheit"
300msgstr "_Fahrenheit"
301
302#: ../lib/sensors-interface.c:411
303msgid "_Sensors"
304msgstr "_Senseurs"
305
306#: ../lib/sensors-interface-common.c:73 ../lib/sensors-interface-common.c:74
307msgid "No sensors found!"
308msgstr "Aucun capteur trouvé !"
309
310#: ../lib/sensors-interface-common.c:144
311#, c-format
312msgid "%.1f °F"
313msgstr "%.1f °F"
314
315#: ../lib/sensors-interface-common.c:152
316#, c-format
317msgid "%+.2f V"
318msgstr "%+.2f V"
319
320#: ../lib/sensors-interface-common.c:156
321#, c-format
322msgid "%.0f mWh"
323msgstr "%.0f mWh"
324
325#: ../lib/sensors-interface-common.c:161
326msgid "off"
327msgstr "inactif"
328
329#: ../lib/sensors-interface-common.c:163
330msgid "on"
331msgstr "actif"
332
333#: ../lib/sensors-interface-common.c:167
334#, c-format
335msgid "%.0f rpm"
336msgstr "%.0f tr/mn"
337
338#: ../src/main.c:52
339#, c-format
340msgid ""
341"Xfce4 Sensors %s\n"
342"This program is published under the GPL v2.\n"
343"The license text can be found inside the program's source archive or under /"
344"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
345"licenses/gpl-2.0.txt\n"
346msgstr ""
347"Capteurs Xfce4 %s\n"
348"Ce programme est publié sous la licence GPL v2.\n"
349"Le texte de la licence est disponible à l'intérieur de l'archive source du "
350"programme ou sur http://www.gun.org/licenses/\n"
351
352#: ../src/main.c:64
353#, c-format
354msgid ""
355"Xfce4 Sensors %s\n"
356"Displays information about your hardware sensors, ACPI status, harddisk "
357"temperatures and Nvidia GPU's temperature.\n"
358"Synopsis: \n"
359" xfce4-sensors options\n"
360"where options are one or more of the following:\n"
361" -h, --help Print this help dialog.\n"
362" -l, --license Print license information.\n"
363" -V, --version Print version information.\n"
364"\n"
365"This program is published under the GPL v2.\n"
366msgstr ""
367"Capteurs Xfce4 %s\n"
368"Affiche des informations à propos des capteurs et ACPI.\n"
369"Usage :\n"
370" options xfce4-sensors\n"
371"où options sont l'une où plusieurs des suivantes :\n"
372" -h, --help Affiche l'aide.\n"
373" -l, --license Affiche les informations de licence.\n"
374" -V, --version Affiche les informations de version.\n"
375"\n"
376"Ce programme est publié sous la licence GPL v2.\n"
377
378#: ../src/main.c:82
379#, c-format
380msgid "Xfce4 Sensors %s\n"
381msgstr "Capteurs Xfce4 %s\n"
382
383#: ../src/interface.c:78
384msgid "_Overview"
385msgstr "_Apercu"
386
387#: ../src/interface.c:99
388msgid "_Tachometers"
389msgstr "_Tachymètres"
390
391#: ../src/interface.c:116
392msgid "Sensors Viewer"
393msgstr "Afficheur de captures"
394
395#. FIXME: either print nothing, or undertake appropriate action,
396#. * or pop up a message box.
397#: ../src/actions.c:80
398#, c-format
399msgid ""
400"Sensors Viewer:\n"
401"Seems like there was a problem reading a sensor feature value.\n"
402"Proper proceeding cannot be guaranteed.\n"
403msgstr ""
404"Greffon de Capteurs :\n"
405"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
406"L'exécution normale ne peut pas être garantie.\n"
407
408#: ../src/xfce4-sensors.desktop.in.h:1
409msgid "Sensor Viewer"
410msgstr "Afficheur de capteur"
411
412#: ../src/xfce4-sensors.desktop.in.h:2
413#: ../panel-plugin/xfce4-sensors-plugin.desktop.in.in.h:2
414msgid "Show sensor values."
415msgstr "Afficher les valeurs du capteur."
416
417#: ../src/xfce4-sensors.desktop.in.h:3
418msgid "Sensor Values Viewer"
419msgstr "Afficheur des valeurs des capteurs"
420
421#: ../panel-plugin/xfce4-sensors-plugin.desktop.in.in.h:1
422msgid "Sensor plugin "
423msgstr "Greffon de capteurs"
424
425#~ msgid "No concrete error detected.\n"
426#~ msgstr "Aucune erreur concrète détectée.\n"
427
428#~ msgid "g_raphical"
429#~ msgstr "g_raphique"
430
431#~ msgid "Show _labels in graphical UI"
432#~ msgstr "Affic_her les étiquettes dans l'interface graphique"
4330
=== modified file 'INSTALL'
--- INSTALL 2012-05-15 23:20:16 +0000
+++ INSTALL 2015-02-27 07:38:45 +0000
@@ -1,7 +1,7 @@
1Installation Instructions1Installation Instructions
2*************************2*************************
33
4Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,4Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
5Inc.5Inc.
66
7 Copying and distribution of this file, with or without modification,7 Copying and distribution of this file, with or without modification,
@@ -12,8 +12,8 @@
12Basic Installation12Basic Installation
13==================13==================
1414
15 Briefly, the shell commands `./configure; make; make install' should15 Briefly, the shell command `./configure && make && make install'
16configure, build, and install this package. The following16should configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented19`INSTALL' file but do not implement all of the features documented
@@ -309,9 +309,10 @@
309overridden in the site shell script).309overridden in the site shell script).
310310
311Unfortunately, this technique does not work for `CONFIG_SHELL' due to311Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312an Autoconf bug. Until the bug is fixed you can use this workaround:312an Autoconf limitation. Until the limitation is lifted, you can use
313this workaround:
313314
314 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash315 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
315316
316`configure' Invocation317`configure' Invocation
317======================318======================
@@ -367,4 +368,3 @@
367368
368`configure' also accepts some other, not widely useful, options. Run369`configure' also accepts some other, not widely useful, options. Run
369`configure --help' for more details.370`configure --help' for more details.
370
371371
=== modified file 'Makefile.in'
--- Makefile.in 2012-05-15 23:20:16 +0000
+++ Makefile.in 2015-02-27 07:38:45 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.5 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.
@@ -17,23 +16,51 @@
1716
18# $Id$17# $Id$
19VPATH = @srcdir@18VPATH = @srcdir@
20am__make_dryrun = \19am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
21 { \20am__make_running_with_option = \
22 am__dry=no; \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 \
23 case $$MAKEFLAGS in \32 case $$MAKEFLAGS in \
24 *\\[\ \ ]*) \33 *\\[\ \ ]*) \
25 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \34 bs=\\; \
26 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \35 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
27 *) \36 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
28 for am__flg in $$MAKEFLAGS; do \37 esac; \
29 case $$am__flg in \38 fi; \
30 *=*|--*) ;; \39 skip_next=no; \
31 *n*) am__dry=yes; break;; \40 strip_trailopt () \
32 esac; \41 { \
33 done;; \42 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
34 esac; \43 }; \
35 test $$am__dry = yes; \44 for flg in $$sane_makeflags; do \
36 }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))
37pkgdatadir = $(datadir)/@PACKAGE@64pkgdatadir = $(datadir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@65pkgincludedir = $(includedir)/@PACKAGE@
39pkglibdir = $(libdir)/@PACKAGE@66pkglibdir = $(libdir)/@PACKAGE@
@@ -54,14 +81,14 @@
54host_triplet = @host@81host_triplet = @host@
55target_triplet = @target@82target_triplet = @target@
56subdir = .83subdir = .
57DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \84DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
58 $(srcdir)/Makefile.in $(srcdir)/config.h.in \85 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
59 $(srcdir)/xfce4-sensors-plugin.spec.in $(top_srcdir)/configure \86 $(top_srcdir)/configure $(am__configure_deps) \
60 AUTHORS COPYING ChangeLog INSTALL NEWS TODO compile \87 $(srcdir)/config.h.in mkinstalldirs \
61 config.guess config.sub depcomp install-sh ltmain.sh missing \88 $(srcdir)/xfce4-sensors-plugin.spec.in COPYING TODO compile \
62 mkinstalldirs89 config.guess config.sub depcomp install-sh missing ltmain.sh
63ACLOCAL_M4 = $(top_srcdir)/aclocal.m490ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64am__aclocal_m4_deps = $(top_srcdir)/configure.in91am__aclocal_m4_deps = $(top_srcdir)/configure.ac
65am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \92am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66 $(ACLOCAL_M4)93 $(ACLOCAL_M4)
67am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \94am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -70,15 +97,28 @@
70CONFIG_HEADER = config.h97CONFIG_HEADER = config.h
71CONFIG_CLEAN_FILES = xfce4-sensors-plugin.spec98CONFIG_CLEAN_FILES = xfce4-sensors-plugin.spec
72CONFIG_CLEAN_VPATH_FILES =99CONFIG_CLEAN_VPATH_FILES =
100AM_V_P = $(am__v_P_@AM_V@)
101am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
102am__v_P_0 = false
103am__v_P_1 = :
104AM_V_GEN = $(am__v_GEN_@AM_V@)
105am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106am__v_GEN_0 = @echo " GEN " $@;
107am__v_GEN_1 =
108AM_V_at = $(am__v_at_@AM_V@)
109am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
110am__v_at_0 = @
111am__v_at_1 =
73SOURCES =112SOURCES =
74DIST_SOURCES =113DIST_SOURCES =
75RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \114RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
76 html-recursive info-recursive install-data-recursive \115 ctags-recursive dvi-recursive html-recursive info-recursive \
77 install-dvi-recursive install-exec-recursive \116 install-data-recursive install-dvi-recursive \
78 install-html-recursive install-info-recursive \117 install-exec-recursive install-html-recursive \
79 install-pdf-recursive install-ps-recursive install-recursive \118 install-info-recursive install-pdf-recursive \
80 installcheck-recursive installdirs-recursive pdf-recursive \119 install-ps-recursive install-recursive installcheck-recursive \
81 ps-recursive uninstall-recursive120 installdirs-recursive pdf-recursive ps-recursive \
121 tags-recursive uninstall-recursive
82am__can_run_installinfo = \122am__can_run_installinfo = \
83 case $$AM_UPDATE_INFO_DIR in \123 case $$AM_UPDATE_INFO_DIR in \
84 n|no|NO) false;; \124 n|no|NO) false;; \
@@ -86,11 +126,33 @@
86 esac126 esac
87RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \127RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
88 distclean-recursive maintainer-clean-recursive128 distclean-recursive maintainer-clean-recursive
89AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \129am__recursive_targets = \
90 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \130 $(RECURSIVE_TARGETS) \
91 distdir dist dist-all distcheck131 $(RECURSIVE_CLEAN_TARGETS) \
132 $(am__extra_recursive_targets)
133AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
134 cscope distdir dist dist-all distcheck
135am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
136 $(LISP)config.h.in
137# Read a list of newline-separated strings from the standard input,
138# and print each of them once, without duplicates. Input order is
139# *not* preserved.
140am__uniquify_input = $(AWK) '\
141 BEGIN { nonempty = 0; } \
142 { items[$$0] = 1; nonempty = 1; } \
143 END { if (nonempty) { for (i in items) print i; }; } \
144'
145# Make sure the list of sources is unique. This is necessary because,
146# e.g., the same source file might be shared among _SOURCES variables
147# for different programs/libraries.
148am__define_uniq_tagged_files = \
149 list='$(am__tagged_files)'; \
150 unique=`for i in $$list; do \
151 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
152 done | $(am__uniquify_input)`
92ETAGS = etags153ETAGS = etags
93CTAGS = ctags154CTAGS = ctags
155CSCOPE = cscope
94DIST_SUBDIRS = $(SUBDIRS)156DIST_SUBDIRS = $(SUBDIRS)
95DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)157DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96distdir = $(PACKAGE)-$(VERSION)158distdir = $(PACKAGE)-$(VERSION)
@@ -101,6 +163,7 @@
101 && rm -rf "$(distdir)" \163 && rm -rf "$(distdir)" \
102 || { sleep 5 && rm -rf "$(distdir)"; }; \164 || { sleep 5 && rm -rf "$(distdir)"; }; \
103 else :; fi165 else :; fi
166am__post_remove_distdir = $(am__remove_distdir)
104am__relativize = \167am__relativize = \
105 dir0=`pwd`; \168 dir0=`pwd`; \
106 sed_first='s,^\([^/]*\)/.*$$,\1,'; \169 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -128,6 +191,7 @@
128 reldir="$$dir2"191 reldir="$$dir2"
129DIST_ARCHIVES = $(distdir).tar.gz192DIST_ARCHIVES = $(distdir).tar.gz
130GZIP_ENV = --best193GZIP_ENV = --best
194DIST_TARGETS = dist-gzip
131distuninstallcheck_listfiles = find . -type f -print195distuninstallcheck_listfiles = find . -type f -print
132am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \196am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
133 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'197 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -399,8 +463,8 @@
399$(am__aclocal_m4_deps):463$(am__aclocal_m4_deps):
400464
401config.h: stamp-h1465config.h: stamp-h1
402 @if test ! -f $@; then rm -f stamp-h1; else :; fi466 @test -f $@ || rm -f stamp-h1
403 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi467 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
404468
405stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status469stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
406 @rm -f stamp-h1470 @rm -f stamp-h1
@@ -425,22 +489,25 @@
425 -rm -f libtool config.lt489 -rm -f libtool config.lt
426490
427# This directory's subdirectories are mostly independent; you can cd491# This directory's subdirectories are mostly independent; you can cd
428# into them and run `make' without going through this Makefile.492# into them and run 'make' without going through this Makefile.
429# To change the values of `make' variables: instead of editing Makefiles,493# To change the values of 'make' variables: instead of editing Makefiles,
430# (1) if the variable is set in `config.status', edit `config.status'494# (1) if the variable is set in 'config.status', edit 'config.status'
431# (which will cause the Makefiles to be regenerated when you run `make');495# (which will cause the Makefiles to be regenerated when you run 'make');
432# (2) otherwise, pass the desired values on the `make' command line.496# (2) otherwise, pass the desired values on the 'make' command line.
433$(RECURSIVE_TARGETS):497$(am__recursive_targets):
434 @fail= failcom='exit 1'; \498 @fail=; \
435 for f in x $$MAKEFLAGS; do \499 if $(am__make_keepgoing); then \
436 case $$f in \500 failcom='fail=yes'; \
437 *=* | --[!k]*);; \501 else \
438 *k*) failcom='fail=yes';; \502 failcom='exit 1'; \
439 esac; \503 fi; \
440 done; \
441 dot_seen=no; \504 dot_seen=no; \
442 target=`echo $@ | sed s/-recursive//`; \505 target=`echo $@ | sed s/-recursive//`; \
443 list='$(SUBDIRS)'; for subdir in $$list; do \506 case "$@" in \
507 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
508 *) list='$(SUBDIRS)' ;; \
509 esac; \
510 for subdir in $$list; do \
444 echo "Making $$target in $$subdir"; \511 echo "Making $$target in $$subdir"; \
445 if test "$$subdir" = "."; then \512 if test "$$subdir" = "."; then \
446 dot_seen=yes; \513 dot_seen=yes; \
@@ -455,57 +522,12 @@
455 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \522 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
456 fi; test -z "$$fail"523 fi; test -z "$$fail"
457524
458$(RECURSIVE_CLEAN_TARGETS):525ID: $(am__tagged_files)
459 @fail= failcom='exit 1'; \526 $(am__define_uniq_tagged_files); mkid -fID $$unique
460 for f in x $$MAKEFLAGS; do \527tags: tags-recursive
461 case $$f in \528TAGS: tags
462 *=* | --[!k]*);; \529
463 *k*) failcom='fail=yes';; \530tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
464 esac; \
465 done; \
466 dot_seen=no; \
467 case "$@" in \
468 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
469 *) list='$(SUBDIRS)' ;; \
470 esac; \
471 rev=''; for subdir in $$list; do \
472 if test "$$subdir" = "."; then :; else \
473 rev="$$subdir $$rev"; \
474 fi; \
475 done; \
476 rev="$$rev ."; \
477 target=`echo $@ | sed s/-recursive//`; \
478 for subdir in $$rev; do \
479 echo "Making $$target in $$subdir"; \
480 if test "$$subdir" = "."; then \
481 local_target="$$target-am"; \
482 else \
483 local_target="$$target"; \
484 fi; \
485 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
486 || eval $$failcom; \
487 done && test -z "$$fail"
488tags-recursive:
489 list='$(SUBDIRS)'; for subdir in $$list; do \
490 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
491 done
492ctags-recursive:
493 list='$(SUBDIRS)'; for subdir in $$list; do \
494 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
495 done
496
497ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
498 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
499 unique=`for i in $$list; do \
500 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
501 done | \
502 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
503 END { if (nonempty) { for (i in files) print i; }; }'`; \
504 mkid -fID $$unique
505tags: TAGS
506
507TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
508 $(TAGS_FILES) $(LISP)
509 set x; \531 set x; \
510 here=`pwd`; \532 here=`pwd`; \
511 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \533 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -521,12 +543,7 @@
521 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \543 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
522 fi; \544 fi; \
523 done; \545 done; \
524 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \546 $(am__define_uniq_tagged_files); \
525 unique=`for i in $$list; do \
526 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
527 done | \
528 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
529 END { if (nonempty) { for (i in files) print i; }; }'`; \
530 shift; \547 shift; \
531 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \548 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
532 test -n "$$unique" || unique=$$empty_fix; \549 test -n "$$unique" || unique=$$empty_fix; \
@@ -538,15 +555,11 @@
538 $$unique; \555 $$unique; \
539 fi; \556 fi; \
540 fi557 fi
541ctags: CTAGS558ctags: ctags-recursive
542CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \559
543 $(TAGS_FILES) $(LISP)560CTAGS: ctags
544 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \561ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
545 unique=`for i in $$list; do \562 $(am__define_uniq_tagged_files); \
546 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
547 done | \
548 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
549 END { if (nonempty) { for (i in files) print i; }; }'`; \
550 test -z "$(CTAGS_ARGS)$$unique" \563 test -z "$(CTAGS_ARGS)$$unique" \
551 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \564 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
552 $$unique565 $$unique
@@ -555,9 +568,31 @@
555 here=`$(am__cd) $(top_builddir) && pwd` \568 here=`$(am__cd) $(top_builddir) && pwd` \
556 && $(am__cd) $(top_srcdir) \569 && $(am__cd) $(top_srcdir) \
557 && gtags -i $(GTAGS_ARGS) "$$here"570 && gtags -i $(GTAGS_ARGS) "$$here"
571cscope: cscope.files
572 test ! -s cscope.files \
573 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
574clean-cscope:
575 -rm -f cscope.files
576cscope.files: clean-cscope cscopelist
577cscopelist: cscopelist-recursive
578
579cscopelist-am: $(am__tagged_files)
580 list='$(am__tagged_files)'; \
581 case "$(srcdir)" in \
582 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
583 *) sdir=$(subdir)/$(srcdir) ;; \
584 esac; \
585 for i in $$list; do \
586 if test -f "$$i"; then \
587 echo "$(subdir)/$$i"; \
588 else \
589 echo "$$sdir/$$i"; \
590 fi; \
591 done >> $(top_builddir)/cscope.files
558592
559distclean-tags:593distclean-tags:
560 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags594 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
595 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
561596
562distdir: $(DISTFILES)597distdir: $(DISTFILES)
563 $(am__remove_distdir)598 $(am__remove_distdir)
@@ -625,40 +660,42 @@
625 || chmod -R a+r "$(distdir)"660 || chmod -R a+r "$(distdir)"
626dist-gzip: distdir661dist-gzip: distdir
627 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz662 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628 $(am__remove_distdir)663 $(am__post_remove_distdir)
629664
630dist-bzip2: distdir665dist-bzip2: distdir
631 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2666 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
632 $(am__remove_distdir)667 $(am__post_remove_distdir)
633668
634dist-lzip: distdir669dist-lzip: distdir
635 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz670 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
636 $(am__remove_distdir)671 $(am__post_remove_distdir)
637
638dist-lzma: distdir
639 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
640 $(am__remove_distdir)
641672
642dist-xz: distdir673dist-xz: distdir
643 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz674 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
644 $(am__remove_distdir)675 $(am__post_remove_distdir)
645676
646dist-tarZ: distdir677dist-tarZ: distdir
678 @echo WARNING: "Support for shar distribution archives is" \
679 "deprecated." >&2
680 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
647 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z681 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
648 $(am__remove_distdir)682 $(am__post_remove_distdir)
649683
650dist-shar: distdir684dist-shar: distdir
685 @echo WARNING: "Support for distribution archives compressed with" \
686 "legacy program 'compress' is deprecated." >&2
687 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
651 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz688 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
652 $(am__remove_distdir)689 $(am__post_remove_distdir)
653690
654dist-zip: distdir691dist-zip: distdir
655 -rm -f $(distdir).zip692 -rm -f $(distdir).zip
656 zip -rq $(distdir).zip $(distdir)693 zip -rq $(distdir).zip $(distdir)
657 $(am__remove_distdir)694 $(am__post_remove_distdir)
658695
659dist dist-all: distdir696dist dist-all:
660 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz697 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
661 $(am__remove_distdir)698 $(am__post_remove_distdir)
662699
663# This target untars the dist file and tries a VPATH configuration. Then700# This target untars the dist file and tries a VPATH configuration. Then
664# it guarantees that the distribution is self-contained by making another701# it guarantees that the distribution is self-contained by making another
@@ -669,8 +706,6 @@
669 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\706 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
670 *.tar.bz2*) \707 *.tar.bz2*) \
671 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\708 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
672 *.tar.lzma*) \
673 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
674 *.tar.lz*) \709 *.tar.lz*) \
675 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\710 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
676 *.tar.xz*) \711 *.tar.xz*) \
@@ -682,18 +717,19 @@
682 *.zip*) \717 *.zip*) \
683 unzip $(distdir).zip ;;\718 unzip $(distdir).zip ;;\
684 esac719 esac
685 chmod -R a-w $(distdir); chmod a+w $(distdir)720 chmod -R a-w $(distdir)
686 mkdir $(distdir)/_build721 chmod u+w $(distdir)
687 mkdir $(distdir)/_inst722 mkdir $(distdir)/_build $(distdir)/_inst
688 chmod a-w $(distdir)723 chmod a-w $(distdir)
689 test -d $(distdir)/_build || exit 0; \724 test -d $(distdir)/_build || exit 0; \
690 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \725 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
691 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \726 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
692 && am__cwd=`pwd` \727 && am__cwd=`pwd` \
693 && $(am__cd) $(distdir)/_build \728 && $(am__cd) $(distdir)/_build \
694 && ../configure --srcdir=.. --prefix="$$dc_install_base" \729 && ../configure \
695 $(AM_DISTCHECK_CONFIGURE_FLAGS) \730 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
696 $(DISTCHECK_CONFIGURE_FLAGS) \731 $(DISTCHECK_CONFIGURE_FLAGS) \
732 --srcdir=.. --prefix="$$dc_install_base" \
697 && $(MAKE) $(AM_MAKEFLAGS) \733 && $(MAKE) $(AM_MAKEFLAGS) \
698 && $(MAKE) $(AM_MAKEFLAGS) dvi \734 && $(MAKE) $(AM_MAKEFLAGS) dvi \
699 && $(MAKE) $(AM_MAKEFLAGS) check \735 && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -716,7 +752,7 @@
716 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \752 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
717 && cd "$$am__cwd" \753 && cd "$$am__cwd" \
718 || exit 1754 || exit 1
719 $(am__remove_distdir)755 $(am__post_remove_distdir)
720 @(echo "$(distdir) archives ready for distribution: "; \756 @(echo "$(distdir) archives ready for distribution: "; \
721 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \757 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
722 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'758 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
@@ -852,15 +888,14 @@
852888
853uninstall-am:889uninstall-am:
854890
855.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \891.MAKE: $(am__recursive_targets) all install-am install-strip
856 ctags-recursive install-am install-strip tags-recursive
857892
858.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \893.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
859 all all-am am--refresh check check-am clean clean-generic \894 am--refresh check check-am clean clean-cscope clean-generic \
860 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \895 clean-libtool cscope cscopelist-am ctags ctags-am dist \
861 dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \896 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
862 dist-zip distcheck distclean distclean-generic distclean-hdr \897 dist-xz dist-zip distcheck distclean distclean-generic \
863 distclean-libtool distclean-local distclean-tags \898 distclean-hdr distclean-libtool distclean-local distclean-tags \
864 distcleancheck distdir distuninstallcheck dvi dvi-am html \899 distcleancheck distdir distuninstallcheck dvi dvi-am html \
865 html-am info info-am install install-am install-data \900 html-am info info-am install install-am install-data \
866 install-data-am install-dvi install-dvi-am install-exec \901 install-data-am install-dvi install-dvi-am install-exec \
@@ -869,8 +904,8 @@
869 install-ps install-ps-am install-strip installcheck \904 install-ps install-ps-am install-strip installcheck \
870 installcheck-am installdirs installdirs-am maintainer-clean \905 installcheck-am installdirs installdirs-am maintainer-clean \
871 maintainer-clean-generic mostlyclean mostlyclean-generic \906 maintainer-clean-generic mostlyclean mostlyclean-generic \
872 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \907 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
873 uninstall uninstall-am908 uninstall-am
874909
875910
876distclean-local:911distclean-local:
877912
=== modified file 'NEWS'
--- NEWS 2010-04-23 00:16:37 +0000
+++ NEWS 2015-02-27 07:38:45 +0000
@@ -24,4 +24,19 @@
24 Labels in text view possible24 Labels in text view possible
25 Remember window size of configuration dialog25 Remember window size of configuration dialog
26 Respect "suppress messages" for error dialogs with acpi/sysfs26 Respect "suppress messages" for error dialogs with acpi/sysfs
27271.2.0...1.2.3: libnotify issues, new versions of libnotify, version changes
28 for libsensors in this package.
291.2.4: Fixes some memory issues, stabilizes support for hddtemp
30 and improves battery reading via ACPI and sysfs. In addition, many
31 translations have been updated.
321.2.5: Fix German translation; fix bug 8887 compile error
331.2.6: Bug 9395 fixed: When sensors are no longer available for any reason,
34 plugin won't crash.
35 Bug 10031 fixed: Automake/Autoconfigure option for config headers.
36 Bug 9962: smarter ACPI battery value reading
37 Bug 10840: suppress tooltip
38 Bug 4142: Suppress notification warnings for hddtemp after having displayed once
39 Bug 11544: NULL pointer checks
40 Bug 11252: Removed gsources
41 Bug 11596: Recover directory "m4" in autogen.sh
42 Bug 11012: ACPI thermal zones not shown
2843
=== modified file 'NOTES'
--- NOTES 2008-01-04 13:29:34 +0000
+++ NOTES 2015-02-27 07:38:45 +0000
@@ -10,5 +10,4 @@
1010
11If you know of any further OS-specific interface or system library that might be worth including, please tell me. 11If you know of any further OS-specific interface or system library that might be worth including, please tell me.
1212
13For hddtemp to work for users in the plugin, it must be setuid root or a hddtemp daemon must be running. if none of this is done, it cant display the hddtemp. A possible workaround consists of adding a wrapper script as option to --with-pathhddtemp, that will call sudo on hddtmep.13For hddtemp to work for users in the plugin, it must be setuid root or a hddtemp daemon must be running. If none of this is the case, the plugin can't display the hard disk temperatures. A possible workaround consists of adding a wrapper script as option to --with-pathhddtemp, that will call sudo on hddtemp.
14
1514
=== modified file 'README'
--- README 2012-05-15 23:20:16 +0000
+++ README 2015-02-27 07:38:45 +0000
@@ -1,9 +1,9 @@
1Xfce4-Sensors-Plugin1Xfce4-Sensors-Plugin
2====================2====================
33
4Version 1.0.0 - For Xfce 4 Panel 4.6.0 (and hopefully newer as well!)4Version 1.2.6 - For Xfce 4 Panel 4.6.0 (and hopefully newer as well!)
55
6Copyright (c) 2004-2009 by Fabian Nowak (timystery@arcor.de)6Copyright (c) 2004-2014 by Fabian Nowak (timystery@arcor.de)
7Copyright (c) 2005-2006 by Stefan Ott7Copyright (c) 2005-2006 by Stefan Ott
88
9Licence: GPL version 2 (or later at your option)9Licence: GPL version 2 (or later at your option)
@@ -28,4 +28,3 @@
2828
29Thanks to: Xfce Team and Enrico Tröger for additional help; 29Thanks to: Xfce Team and Enrico Tröger for additional help;
30 Raphael Groner for bug-hunting, usability reports, feature requests.30 Raphael Groner for bug-hunting, usability reports, feature requests.
31
3231
=== modified file 'aclocal.m4'
--- aclocal.m4 2012-05-15 23:20:16 +0000
+++ aclocal.m4 2015-02-27 07:38:45 +0000
@@ -1,8 +1,7 @@
1# generated automatically by aclocal 1.11.5 -*- 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,13 +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'.])])
2222
23# Copyright (C) 1995-2002 Free Software Foundation, Inc.23# Copyright (C) 1995-2002 Free Software Foundation, Inc.
24# Copyright (C) 2001-2003,2004 Red Hat, Inc.24# Copyright (C) 2001-2003,2004 Red Hat, Inc.
@@ -337,7 +337,6 @@
337dnl337dnl
338glib_DEFUN([GLIB_GNU_GETTEXT],338glib_DEFUN([GLIB_GNU_GETTEXT],
339 [AC_REQUIRE([AC_PROG_CC])dnl339 [AC_REQUIRE([AC_PROG_CC])dnl
340 AC_REQUIRE([AC_HEADER_STDC])dnl
341 340
342 GLIB_LC_MESSAGES341 GLIB_LC_MESSAGES
343 GLIB_WITH_NLS342 GLIB_WITH_NLS
@@ -457,6 +456,1417 @@
457fi])456fi])
458457
459458
459# nls.m4 serial 5 (gettext-0.18)
460dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
461dnl Inc.
462dnl This file is free software; the Free Software Foundation
463dnl gives unlimited permission to copy and/or distribute it,
464dnl with or without modifications, as long as this notice is preserved.
465dnl
466dnl This file can can be used in projects which are not available under
467dnl the GNU General Public License or the GNU Library General Public
468dnl License but which still want to provide support for the GNU gettext
469dnl functionality.
470dnl Please note that the actual code of the GNU gettext library is covered
471dnl by the GNU Library General Public License, and the rest of the GNU
472dnl gettext package package is covered by the GNU General Public License.
473dnl They are *not* in the public domain.
474
475dnl Authors:
476dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
477dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
478
479AC_PREREQ([2.50])
480
481AC_DEFUN([AM_NLS],
482[
483 AC_MSG_CHECKING([whether NLS is requested])
484 dnl Default is enabled NLS
485 AC_ARG_ENABLE([nls],
486 [ --disable-nls do not use Native Language Support],
487 USE_NLS=$enableval, USE_NLS=yes)
488 AC_MSG_RESULT([$USE_NLS])
489 AC_SUBST([USE_NLS])
490])
491
492# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
493# serial 1 (pkg-config-0.24)
494#
495# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
496#
497# This program is free software; you can redistribute it and/or modify
498# it under the terms of the GNU General Public License as published by
499# the Free Software Foundation; either version 2 of the License, or
500# (at your option) any later version.
501#
502# This program is distributed in the hope that it will be useful, but
503# WITHOUT ANY WARRANTY; without even the implied warranty of
504# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
505# General Public License for more details.
506#
507# You should have received a copy of the GNU General Public License
508# along with this program; if not, write to the Free Software
509# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
510#
511# As a special exception to the GNU General Public License, if you
512# distribute this file as part of a program that contains a
513# configuration script generated by Autoconf, you may include it under
514# the same distribution terms that you use for the rest of that program.
515
516# PKG_PROG_PKG_CONFIG([MIN-VERSION])
517# ----------------------------------
518AC_DEFUN([PKG_PROG_PKG_CONFIG],
519[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
520m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
521m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
522AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
523AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
524AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
525
526if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
527 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
528fi
529if test -n "$PKG_CONFIG"; then
530 _pkg_min_version=m4_default([$1], [0.9.0])
531 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
532 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
533 AC_MSG_RESULT([yes])
534 else
535 AC_MSG_RESULT([no])
536 PKG_CONFIG=""
537 fi
538fi[]dnl
539])# PKG_PROG_PKG_CONFIG
540
541# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
542#
543# Check to see whether a particular set of modules exists. Similar
544# to PKG_CHECK_MODULES(), but does not set variables or print errors.
545#
546# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
547# only at the first occurence in configure.ac, so if the first place
548# it's called might be skipped (such as if it is within an "if", you
549# have to call PKG_CHECK_EXISTS manually
550# --------------------------------------------------------------
551AC_DEFUN([PKG_CHECK_EXISTS],
552[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
553if test -n "$PKG_CONFIG" && \
554 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
555 m4_default([$2], [:])
556m4_ifvaln([$3], [else
557 $3])dnl
558fi])
559
560# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
561# ---------------------------------------------
562m4_define([_PKG_CONFIG],
563[if test -n "$$1"; then
564 pkg_cv_[]$1="$$1"
565 elif test -n "$PKG_CONFIG"; then
566 PKG_CHECK_EXISTS([$3],
567 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
568 test "x$?" != "x0" && pkg_failed=yes ],
569 [pkg_failed=yes])
570 else
571 pkg_failed=untried
572fi[]dnl
573])# _PKG_CONFIG
574
575# _PKG_SHORT_ERRORS_SUPPORTED
576# -----------------------------
577AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
578[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
579if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
580 _pkg_short_errors_supported=yes
581else
582 _pkg_short_errors_supported=no
583fi[]dnl
584])# _PKG_SHORT_ERRORS_SUPPORTED
585
586
587# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
588# [ACTION-IF-NOT-FOUND])
589#
590#
591# Note that if there is a possibility the first call to
592# PKG_CHECK_MODULES might not happen, you should be sure to include an
593# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
594#
595#
596# --------------------------------------------------------------
597AC_DEFUN([PKG_CHECK_MODULES],
598[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
599AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
600AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
601
602pkg_failed=no
603AC_MSG_CHECKING([for $1])
604
605_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
606_PKG_CONFIG([$1][_LIBS], [libs], [$2])
607
608m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
609and $1[]_LIBS to avoid the need to call pkg-config.
610See the pkg-config man page for more details.])
611
612if test $pkg_failed = yes; then
613 AC_MSG_RESULT([no])
614 _PKG_SHORT_ERRORS_SUPPORTED
615 if test $_pkg_short_errors_supported = yes; then
616 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
617 else
618 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
619 fi
620 # Put the nasty error message in config.log where it belongs
621 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
622
623 m4_default([$4], [AC_MSG_ERROR(
624[Package requirements ($2) were not met:
625
626$$1_PKG_ERRORS
627
628Consider adjusting the PKG_CONFIG_PATH environment variable if you
629installed software in a non-standard prefix.
630
631_PKG_TEXT])[]dnl
632 ])
633elif test $pkg_failed = untried; then
634 AC_MSG_RESULT([no])
635 m4_default([$4], [AC_MSG_FAILURE(
636[The pkg-config script could not be found or is too old. Make sure it
637is in your PATH or set the PKG_CONFIG environment variable to the full
638path to pkg-config.
639
640_PKG_TEXT
641
642To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
643 ])
644else
645 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
646 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
647 AC_MSG_RESULT([yes])
648 $3
649fi[]dnl
650])# PKG_CHECK_MODULES
651
652
653# PKG_INSTALLDIR(DIRECTORY)
654# -------------------------
655# Substitutes the variable pkgconfigdir as the location where a module
656# should install pkg-config .pc files. By default the directory is
657# $libdir/pkgconfig, but the default can be changed by passing
658# DIRECTORY. The user can override through the --with-pkgconfigdir
659# parameter.
660AC_DEFUN([PKG_INSTALLDIR],
661[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
662m4_pushdef([pkg_description],
663 [pkg-config installation directory @<:@]pkg_default[@:>@])
664AC_ARG_WITH([pkgconfigdir],
665 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
666 [with_pkgconfigdir=]pkg_default)
667AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
668m4_popdef([pkg_default])
669m4_popdef([pkg_description])
670]) dnl PKG_INSTALLDIR
671
672
673# PKG_NOARCH_INSTALLDIR(DIRECTORY)
674# -------------------------
675# Substitutes the variable noarch_pkgconfigdir as the location where a
676# module should install arch-independent pkg-config .pc files. By
677# default the directory is $datadir/pkgconfig, but the default can be
678# changed by passing DIRECTORY. The user can override through the
679# --with-noarch-pkgconfigdir parameter.
680AC_DEFUN([PKG_NOARCH_INSTALLDIR],
681[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
682m4_pushdef([pkg_description],
683 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
684AC_ARG_WITH([noarch-pkgconfigdir],
685 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
686 [with_noarch_pkgconfigdir=]pkg_default)
687AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
688m4_popdef([pkg_default])
689m4_popdef([pkg_description])
690]) dnl PKG_NOARCH_INSTALLDIR
691
692
693# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
694# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
695# -------------------------------------------
696# Retrieves the value of the pkg-config variable for the given module.
697AC_DEFUN([PKG_CHECK_VAR],
698[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
699AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
700
701_PKG_CONFIG([$1], [variable="][$3]["], [$2])
702AS_VAR_COPY([$1], [pkg_cv_][$1])
703
704AS_VAR_IF([$1], [""], [$5], [$4])dnl
705])# PKG_CHECK_VAR
706
707# Copyright (C) 2002-2013 Free Software Foundation, Inc.
708#
709# This file is free software; the Free Software Foundation
710# gives unlimited permission to copy and/or distribute it,
711# with or without modifications, as long as this notice is preserved.
712
713# AM_AUTOMAKE_VERSION(VERSION)
714# ----------------------------
715# Automake X.Y traces this macro to ensure aclocal.m4 has been
716# generated from the m4 files accompanying Automake X.Y.
717# (This private macro should not be called outside this file.)
718AC_DEFUN([AM_AUTOMAKE_VERSION],
719[am__api_version='1.14'
720dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
721dnl require some minimum version. Point them to the right macro.
722m4_if([$1], [1.14.1], [],
723 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
724])
725
726# _AM_AUTOCONF_VERSION(VERSION)
727# -----------------------------
728# aclocal traces this macro to find the Autoconf version.
729# This is a private macro too. Using m4_define simplifies
730# the logic in aclocal, which can simply ignore this definition.
731m4_define([_AM_AUTOCONF_VERSION], [])
732
733# AM_SET_CURRENT_AUTOMAKE_VERSION
734# -------------------------------
735# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
736# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
737AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
738[AM_AUTOMAKE_VERSION([1.14.1])dnl
739m4_ifndef([AC_AUTOCONF_VERSION],
740 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
741_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
742
743# AM_AUX_DIR_EXPAND -*- Autoconf -*-
744
745# Copyright (C) 2001-2013 Free Software Foundation, Inc.
746#
747# This file is free software; the Free Software Foundation
748# gives unlimited permission to copy and/or distribute it,
749# with or without modifications, as long as this notice is preserved.
750
751# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
752# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
753# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
754#
755# Of course, Automake must honor this variable whenever it calls a
756# tool from the auxiliary directory. The problem is that $srcdir (and
757# therefore $ac_aux_dir as well) can be either absolute or relative,
758# depending on how configure is run. This is pretty annoying, since
759# it makes $ac_aux_dir quite unusable in subdirectories: in the top
760# source directory, any form will work fine, but in subdirectories a
761# relative path needs to be adjusted first.
762#
763# $ac_aux_dir/missing
764# fails when called from a subdirectory if $ac_aux_dir is relative
765# $top_srcdir/$ac_aux_dir/missing
766# fails if $ac_aux_dir is absolute,
767# fails when called from a subdirectory in a VPATH build with
768# a relative $ac_aux_dir
769#
770# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
771# are both prefixed by $srcdir. In an in-source build this is usually
772# harmless because $srcdir is '.', but things will broke when you
773# start a VPATH build or use an absolute $srcdir.
774#
775# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
776# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
777# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
778# and then we would define $MISSING as
779# MISSING="\${SHELL} $am_aux_dir/missing"
780# This will work as long as MISSING is not called from configure, because
781# unfortunately $(top_srcdir) has no meaning in configure.
782# However there are other variables, like CC, which are often used in
783# configure, and could therefore not use this "fixed" $ac_aux_dir.
784#
785# Another solution, used here, is to always expand $ac_aux_dir to an
786# absolute PATH. The drawback is that using absolute paths prevent a
787# configured tree to be moved without reconfiguration.
788
789AC_DEFUN([AM_AUX_DIR_EXPAND],
790[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
791# Expand $ac_aux_dir to an absolute path.
792am_aux_dir=`cd "$ac_aux_dir" && pwd`
793])
794
795# AM_CONDITIONAL -*- Autoconf -*-
796
797# Copyright (C) 1997-2013 Free Software Foundation, Inc.
798#
799# This file is free software; the Free Software Foundation
800# gives unlimited permission to copy and/or distribute it,
801# with or without modifications, as long as this notice is preserved.
802
803# AM_CONDITIONAL(NAME, SHELL-CONDITION)
804# -------------------------------------
805# Define a conditional.
806AC_DEFUN([AM_CONDITIONAL],
807[AC_PREREQ([2.52])dnl
808 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
809 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
810AC_SUBST([$1_TRUE])dnl
811AC_SUBST([$1_FALSE])dnl
812_AM_SUBST_NOTMAKE([$1_TRUE])dnl
813_AM_SUBST_NOTMAKE([$1_FALSE])dnl
814m4_define([_AM_COND_VALUE_$1], [$2])dnl
815if $2; then
816 $1_TRUE=
817 $1_FALSE='#'
818else
819 $1_TRUE='#'
820 $1_FALSE=
821fi
822AC_CONFIG_COMMANDS_PRE(
823[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
824 AC_MSG_ERROR([[conditional "$1" was never defined.
825Usually this means the macro was only invoked conditionally.]])
826fi])])
827
828# Copyright (C) 1999-2013 Free Software Foundation, Inc.
829#
830# This file is free software; the Free Software Foundation
831# gives unlimited permission to copy and/or distribute it,
832# with or without modifications, as long as this notice is preserved.
833
834
835# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
836# written in clear, in which case automake, when reading aclocal.m4,
837# will think it sees a *use*, and therefore will trigger all it's
838# C support machinery. Also note that it means that autoscan, seeing
839# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
840
841
842# _AM_DEPENDENCIES(NAME)
843# ----------------------
844# See how the compiler implements dependency checking.
845# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
846# We try a few techniques and use that to set a single cache variable.
847#
848# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
849# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
850# dependency, and given that the user is not expected to run this macro,
851# just rely on AC_PROG_CC.
852AC_DEFUN([_AM_DEPENDENCIES],
853[AC_REQUIRE([AM_SET_DEPDIR])dnl
854AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
855AC_REQUIRE([AM_MAKE_INCLUDE])dnl
856AC_REQUIRE([AM_DEP_TRACK])dnl
857
858m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
859 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
860 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
861 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
862 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
863 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
864 [depcc="$$1" am_compiler_list=])
865
866AC_CACHE_CHECK([dependency style of $depcc],
867 [am_cv_$1_dependencies_compiler_type],
868[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
869 # We make a subdir and do the tests there. Otherwise we can end up
870 # making bogus files that we don't know about and never remove. For
871 # instance it was reported that on HP-UX the gcc test will end up
872 # making a dummy file named 'D' -- because '-MD' means "put the output
873 # in D".
874 rm -rf conftest.dir
875 mkdir conftest.dir
876 # Copy depcomp to subdir because otherwise we won't find it if we're
877 # using a relative directory.
878 cp "$am_depcomp" conftest.dir
879 cd conftest.dir
880 # We will build objects and dependencies in a subdirectory because
881 # it helps to detect inapplicable dependency modes. For instance
882 # both Tru64's cc and ICC support -MD to output dependencies as a
883 # side effect of compilation, but ICC will put the dependencies in
884 # the current directory while Tru64 will put them in the object
885 # directory.
886 mkdir sub
887
888 am_cv_$1_dependencies_compiler_type=none
889 if test "$am_compiler_list" = ""; then
890 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
891 fi
892 am__universal=false
893 m4_case([$1], [CC],
894 [case " $depcc " in #(
895 *\ -arch\ *\ -arch\ *) am__universal=true ;;
896 esac],
897 [CXX],
898 [case " $depcc " in #(
899 *\ -arch\ *\ -arch\ *) am__universal=true ;;
900 esac])
901
902 for depmode in $am_compiler_list; do
903 # Setup a source with many dependencies, because some compilers
904 # like to wrap large dependency lists on column 80 (with \), and
905 # we should not choose a depcomp mode which is confused by this.
906 #
907 # We need to recreate these files for each test, as the compiler may
908 # overwrite some of them when testing with obscure command lines.
909 # This happens at least with the AIX C compiler.
910 : > sub/conftest.c
911 for i in 1 2 3 4 5 6; do
912 echo '#include "conftst'$i'.h"' >> sub/conftest.c
913 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
914 # Solaris 10 /bin/sh.
915 echo '/* dummy */' > sub/conftst$i.h
916 done
917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
918
919 # We check with '-c' and '-o' for the sake of the "dashmstdout"
920 # mode. It turns out that the SunPro C++ compiler does not properly
921 # handle '-M -o', and we need to detect this. Also, some Intel
922 # versions had trouble with output in subdirs.
923 am__obj=sub/conftest.${OBJEXT-o}
924 am__minus_obj="-o $am__obj"
925 case $depmode in
926 gcc)
927 # This depmode causes a compiler race in universal mode.
928 test "$am__universal" = false || continue
929 ;;
930 nosideeffect)
931 # After this tag, mechanisms are not by side-effect, so they'll
932 # only be used when explicitly requested.
933 if test "x$enable_dependency_tracking" = xyes; then
934 continue
935 else
936 break
937 fi
938 ;;
939 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
940 # This compiler won't grok '-c -o', but also, the minuso test has
941 # not run yet. These depmodes are late enough in the game, and
942 # so weak that their functioning should not be impacted.
943 am__obj=conftest.${OBJEXT-o}
944 am__minus_obj=
945 ;;
946 none) break ;;
947 esac
948 if depmode=$depmode \
949 source=sub/conftest.c object=$am__obj \
950 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
951 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
952 >/dev/null 2>conftest.err &&
953 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
954 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
955 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
956 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
957 # icc doesn't choke on unknown options, it will just issue warnings
958 # or remarks (even with -Werror). So we grep stderr for any message
959 # that says an option was ignored or not supported.
960 # When given -MP, icc 7.0 and 7.1 complain thusly:
961 # icc: Command line warning: ignoring option '-M'; no argument required
962 # The diagnosis changed in icc 8.0:
963 # icc: Command line remark: option '-MP' not supported
964 if (grep 'ignoring option' conftest.err ||
965 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
966 am_cv_$1_dependencies_compiler_type=$depmode
967 break
968 fi
969 fi
970 done
971
972 cd ..
973 rm -rf conftest.dir
974else
975 am_cv_$1_dependencies_compiler_type=none
976fi
977])
978AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
979AM_CONDITIONAL([am__fastdep$1], [
980 test "x$enable_dependency_tracking" != xno \
981 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
982])
983
984
985# AM_SET_DEPDIR
986# -------------
987# Choose a directory name for dependency files.
988# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
989AC_DEFUN([AM_SET_DEPDIR],
990[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
991AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
992])
993
994
995# AM_DEP_TRACK
996# ------------
997AC_DEFUN([AM_DEP_TRACK],
998[AC_ARG_ENABLE([dependency-tracking], [dnl
999AS_HELP_STRING(
1000 [--enable-dependency-tracking],
1001 [do not reject slow dependency extractors])
1002AS_HELP_STRING(
1003 [--disable-dependency-tracking],
1004 [speeds up one-time build])])
1005if test "x$enable_dependency_tracking" != xno; then
1006 am_depcomp="$ac_aux_dir/depcomp"
1007 AMDEPBACKSLASH='\'
1008 am__nodep='_no'
1009fi
1010AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1011AC_SUBST([AMDEPBACKSLASH])dnl
1012_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1013AC_SUBST([am__nodep])dnl
1014_AM_SUBST_NOTMAKE([am__nodep])dnl
1015])
1016
1017# Generate code to set up dependency tracking. -*- Autoconf -*-
1018
1019# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1020#
1021# This file is free software; the Free Software Foundation
1022# gives unlimited permission to copy and/or distribute it,
1023# with or without modifications, as long as this notice is preserved.
1024
1025
1026# _AM_OUTPUT_DEPENDENCY_COMMANDS
1027# ------------------------------
1028AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1029[{
1030 # Older Autoconf quotes --file arguments for eval, but not when files
1031 # are listed without --file. Let's play safe and only enable the eval
1032 # if we detect the quoting.
1033 case $CONFIG_FILES in
1034 *\'*) eval set x "$CONFIG_FILES" ;;
1035 *) set x $CONFIG_FILES ;;
1036 esac
1037 shift
1038 for mf
1039 do
1040 # Strip MF so we end up with the name of the file.
1041 mf=`echo "$mf" | sed -e 's/:.*$//'`
1042 # Check whether this is an Automake generated Makefile or not.
1043 # We used to match only the files named 'Makefile.in', but
1044 # some people rename them; so instead we look at the file content.
1045 # Grep'ing the first line is not enough: some people post-process
1046 # each Makefile.in and add a new line on top of each file to say so.
1047 # Grep'ing the whole file is not good either: AIX grep has a line
1048 # limit of 2048, but all sed's we know have understand at least 4000.
1049 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1050 dirpart=`AS_DIRNAME("$mf")`
1051 else
1052 continue
1053 fi
1054 # Extract the definition of DEPDIR, am__include, and am__quote
1055 # from the Makefile without running 'make'.
1056 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1057 test -z "$DEPDIR" && continue
1058 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1059 test -z "$am__include" && continue
1060 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1061 # Find all dependency output files, they are included files with
1062 # $(DEPDIR) in their names. We invoke sed twice because it is the
1063 # simplest approach to changing $(DEPDIR) to its actual value in the
1064 # expansion.
1065 for file in `sed -n "
1066 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1067 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1068 # Make sure the directory exists.
1069 test -f "$dirpart/$file" && continue
1070 fdir=`AS_DIRNAME(["$file"])`
1071 AS_MKDIR_P([$dirpart/$fdir])
1072 # echo "creating $dirpart/$file"
1073 echo '# dummy' > "$dirpart/$file"
1074 done
1075 done
1076}
1077])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1078
1079
1080# AM_OUTPUT_DEPENDENCY_COMMANDS
1081# -----------------------------
1082# This macro should only be invoked once -- use via AC_REQUIRE.
1083#
1084# This code is only required when automatic dependency tracking
1085# is enabled. FIXME. This creates each '.P' file that we will
1086# need in order to bootstrap the dependency handling code.
1087AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1088[AC_CONFIG_COMMANDS([depfiles],
1089 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1090 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1091])
1092
1093# Do all the work for Automake. -*- Autoconf -*-
1094
1095# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1096#
1097# This file is free software; the Free Software Foundation
1098# gives unlimited permission to copy and/or distribute it,
1099# with or without modifications, as long as this notice is preserved.
1100
1101# This macro actually does too much. Some checks are only needed if
1102# your package does certain things. But this isn't really a big deal.
1103
1104dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
1105m4_define([AC_PROG_CC],
1106m4_defn([AC_PROG_CC])
1107[_AM_PROG_CC_C_O
1108])
1109
1110# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1111# AM_INIT_AUTOMAKE([OPTIONS])
1112# -----------------------------------------------
1113# The call with PACKAGE and VERSION arguments is the old style
1114# call (pre autoconf-2.50), which is being phased out. PACKAGE
1115# and VERSION should now be passed to AC_INIT and removed from
1116# the call to AM_INIT_AUTOMAKE.
1117# We support both call styles for the transition. After
1118# the next Automake release, Autoconf can make the AC_INIT
1119# arguments mandatory, and then we can depend on a new Autoconf
1120# release and drop the old call support.
1121AC_DEFUN([AM_INIT_AUTOMAKE],
1122[AC_PREREQ([2.65])dnl
1123dnl Autoconf wants to disallow AM_ names. We explicitly allow
1124dnl the ones we care about.
1125m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1126AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1127AC_REQUIRE([AC_PROG_INSTALL])dnl
1128if test "`cd $srcdir && pwd`" != "`pwd`"; then
1129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1130 # is not polluted with repeated "-I."
1131 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1132 # test to see if srcdir already configured
1133 if test -f $srcdir/config.status; then
1134 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1135 fi
1136fi
1137
1138# test whether we have cygpath
1139if test -z "$CYGPATH_W"; then
1140 if (cygpath --version) >/dev/null 2>/dev/null; then
1141 CYGPATH_W='cygpath -w'
1142 else
1143 CYGPATH_W=echo
1144 fi
1145fi
1146AC_SUBST([CYGPATH_W])
1147
1148# Define the identity of the package.
1149dnl Distinguish between old-style and new-style calls.
1150m4_ifval([$2],
1151[AC_DIAGNOSE([obsolete],
1152 [$0: two- and three-arguments forms are deprecated.])
1153m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1154 AC_SUBST([PACKAGE], [$1])dnl
1155 AC_SUBST([VERSION], [$2])],
1156[_AM_SET_OPTIONS([$1])dnl
1157dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1158m4_if(
1159 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1160 [ok:ok],,
1161 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1162 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1163 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1164
1165_AM_IF_OPTION([no-define],,
1166[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1167 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1168
1169# Some tools Automake needs.
1170AC_REQUIRE([AM_SANITY_CHECK])dnl
1171AC_REQUIRE([AC_ARG_PROGRAM])dnl
1172AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1173AM_MISSING_PROG([AUTOCONF], [autoconf])
1174AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1175AM_MISSING_PROG([AUTOHEADER], [autoheader])
1176AM_MISSING_PROG([MAKEINFO], [makeinfo])
1177AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1178AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1179AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1180# For better backward compatibility. To be removed once Automake 1.9.x
1181# dies out for good. For more background, see:
1182# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1183# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1184AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1185# We need awk for the "check" target. The system "awk" is bad on
1186# some platforms.
1187AC_REQUIRE([AC_PROG_AWK])dnl
1188AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1189AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1190_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1191 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1192 [_AM_PROG_TAR([v7])])])
1193_AM_IF_OPTION([no-dependencies],,
1194[AC_PROVIDE_IFELSE([AC_PROG_CC],
1195 [_AM_DEPENDENCIES([CC])],
1196 [m4_define([AC_PROG_CC],
1197 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1198AC_PROVIDE_IFELSE([AC_PROG_CXX],
1199 [_AM_DEPENDENCIES([CXX])],
1200 [m4_define([AC_PROG_CXX],
1201 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1202AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1203 [_AM_DEPENDENCIES([OBJC])],
1204 [m4_define([AC_PROG_OBJC],
1205 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1206AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1207 [_AM_DEPENDENCIES([OBJCXX])],
1208 [m4_define([AC_PROG_OBJCXX],
1209 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1210])
1211AC_REQUIRE([AM_SILENT_RULES])dnl
1212dnl The testsuite driver may need to know about EXEEXT, so add the
1213dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1214dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1215AC_CONFIG_COMMANDS_PRE(dnl
1216[m4_provide_if([_AM_COMPILER_EXEEXT],
1217 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1218
1219# POSIX will say in a future version that running "rm -f" with no argument
1220# is OK; and we want to be able to make that assumption in our Makefile
1221# recipes. So use an aggressive probe to check that the usage we want is
1222# actually supported "in the wild" to an acceptable degree.
1223# See automake bug#10828.
1224# To make any issue more visible, cause the running configure to be aborted
1225# by default if the 'rm' program in use doesn't match our expectations; the
1226# user can still override this though.
1227if rm -f && rm -fr && rm -rf; then : OK; else
1228 cat >&2 <<'END'
1229Oops!
1230
1231Your 'rm' program seems unable to run without file operands specified
1232on the command line, even when the '-f' option is present. This is contrary
1233to the behaviour of most rm programs out there, and not conforming with
1234the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1235
1236Please tell bug-automake@gnu.org about your system, including the value
1237of your $PATH and any error possibly output before this message. This
1238can help us improve future automake versions.
1239
1240END
1241 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1242 echo 'Configuration will proceed anyway, since you have set the' >&2
1243 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1244 echo >&2
1245 else
1246 cat >&2 <<'END'
1247Aborting the configuration process, to ensure you take notice of the issue.
1248
1249You can download and install GNU coreutils to get an 'rm' implementation
1250that behaves properly: <http://www.gnu.org/software/coreutils/>.
1251
1252If you want to complete the configuration process using your problematic
1253'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1254to "yes", and re-run configure.
1255
1256END
1257 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1258 fi
1259fi
1260])
1261
1262dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1263dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1264dnl mangled by Autoconf and run in a shell conditional statement.
1265m4_define([_AC_COMPILER_EXEEXT],
1266m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1267
1268# When config.status generates a header, we must update the stamp-h file.
1269# This file resides in the same directory as the config header
1270# that is generated. The stamp files are numbered to have different names.
1271
1272# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1273# loop where config.status creates the headers, so we can generate
1274# our stamp files there.
1275AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1276[# Compute $1's index in $config_headers.
1277_am_arg=$1
1278_am_stamp_count=1
1279for _am_header in $config_headers :; do
1280 case $_am_header in
1281 $_am_arg | $_am_arg:* )
1282 break ;;
1283 * )
1284 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1285 esac
1286done
1287echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1288
1289# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1290#
1291# This file is free software; the Free Software Foundation
1292# gives unlimited permission to copy and/or distribute it,
1293# with or without modifications, as long as this notice is preserved.
1294
1295# AM_PROG_INSTALL_SH
1296# ------------------
1297# Define $install_sh.
1298AC_DEFUN([AM_PROG_INSTALL_SH],
1299[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1300if test x"${install_sh}" != xset; then
1301 case $am_aux_dir in
1302 *\ * | *\ *)
1303 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1304 *)
1305 install_sh="\${SHELL} $am_aux_dir/install-sh"
1306 esac
1307fi
1308AC_SUBST([install_sh])])
1309
1310# Copyright (C) 2003-2013 Free Software Foundation, Inc.
1311#
1312# This file is free software; the Free Software Foundation
1313# gives unlimited permission to copy and/or distribute it,
1314# with or without modifications, as long as this notice is preserved.
1315
1316# Check whether the underlying file-system supports filenames
1317# with a leading dot. For instance MS-DOS doesn't.
1318AC_DEFUN([AM_SET_LEADING_DOT],
1319[rm -rf .tst 2>/dev/null
1320mkdir .tst 2>/dev/null
1321if test -d .tst; then
1322 am__leading_dot=.
1323else
1324 am__leading_dot=_
1325fi
1326rmdir .tst 2>/dev/null
1327AC_SUBST([am__leading_dot])])
1328
1329# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1330# From Jim Meyering
1331
1332# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1333#
1334# This file is free software; the Free Software Foundation
1335# gives unlimited permission to copy and/or distribute it,
1336# with or without modifications, as long as this notice is preserved.
1337
1338# AM_MAINTAINER_MODE([DEFAULT-MODE])
1339# ----------------------------------
1340# Control maintainer-specific portions of Makefiles.
1341# Default is to disable them, unless 'enable' is passed literally.
1342# For symmetry, 'disable' may be passed as well. Anyway, the user
1343# can override the default with the --enable/--disable switch.
1344AC_DEFUN([AM_MAINTAINER_MODE],
1345[m4_case(m4_default([$1], [disable]),
1346 [enable], [m4_define([am_maintainer_other], [disable])],
1347 [disable], [m4_define([am_maintainer_other], [enable])],
1348 [m4_define([am_maintainer_other], [enable])
1349 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1350AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1351 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1352 AC_ARG_ENABLE([maintainer-mode],
1353 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1354 am_maintainer_other[ make rules and dependencies not useful
1355 (and sometimes confusing) to the casual installer])],
1356 [USE_MAINTAINER_MODE=$enableval],
1357 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1358 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1359 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1360 MAINT=$MAINTAINER_MODE_TRUE
1361 AC_SUBST([MAINT])dnl
1362]
1363)
1364
1365# Check to see how 'make' treats includes. -*- Autoconf -*-
1366
1367# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1368#
1369# This file is free software; the Free Software Foundation
1370# gives unlimited permission to copy and/or distribute it,
1371# with or without modifications, as long as this notice is preserved.
1372
1373# AM_MAKE_INCLUDE()
1374# -----------------
1375# Check to see how make treats includes.
1376AC_DEFUN([AM_MAKE_INCLUDE],
1377[am_make=${MAKE-make}
1378cat > confinc << 'END'
1379am__doit:
1380 @echo this is the am__doit target
1381.PHONY: am__doit
1382END
1383# If we don't find an include directive, just comment out the code.
1384AC_MSG_CHECKING([for style of include used by $am_make])
1385am__include="#"
1386am__quote=
1387_am_result=none
1388# First try GNU make style include.
1389echo "include confinc" > confmf
1390# Ignore all kinds of additional output from 'make'.
1391case `$am_make -s -f confmf 2> /dev/null` in #(
1392*the\ am__doit\ target*)
1393 am__include=include
1394 am__quote=
1395 _am_result=GNU
1396 ;;
1397esac
1398# Now try BSD make style include.
1399if test "$am__include" = "#"; then
1400 echo '.include "confinc"' > confmf
1401 case `$am_make -s -f confmf 2> /dev/null` in #(
1402 *the\ am__doit\ target*)
1403 am__include=.include
1404 am__quote="\""
1405 _am_result=BSD
1406 ;;
1407 esac
1408fi
1409AC_SUBST([am__include])
1410AC_SUBST([am__quote])
1411AC_MSG_RESULT([$_am_result])
1412rm -f confinc confmf
1413])
1414
1415# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1416
1417# Copyright (C) 1997-2013 Free Software Foundation, Inc.
1418#
1419# This file is free software; the Free Software Foundation
1420# gives unlimited permission to copy and/or distribute it,
1421# with or without modifications, as long as this notice is preserved.
1422
1423# AM_MISSING_PROG(NAME, PROGRAM)
1424# ------------------------------
1425AC_DEFUN([AM_MISSING_PROG],
1426[AC_REQUIRE([AM_MISSING_HAS_RUN])
1427$1=${$1-"${am_missing_run}$2"}
1428AC_SUBST($1)])
1429
1430# AM_MISSING_HAS_RUN
1431# ------------------
1432# Define MISSING if not defined so far and test if it is modern enough.
1433# If it is, set am_missing_run to use it, otherwise, to nothing.
1434AC_DEFUN([AM_MISSING_HAS_RUN],
1435[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1436AC_REQUIRE_AUX_FILE([missing])dnl
1437if test x"${MISSING+set}" != xset; then
1438 case $am_aux_dir in
1439 *\ * | *\ *)
1440 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1441 *)
1442 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1443 esac
1444fi
1445# Use eval to expand $SHELL
1446if eval "$MISSING --is-lightweight"; then
1447 am_missing_run="$MISSING "
1448else
1449 am_missing_run=
1450 AC_MSG_WARN(['missing' script is too old or missing])
1451fi
1452])
1453
1454# Helper functions for option handling. -*- Autoconf -*-
1455
1456# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1457#
1458# This file is free software; the Free Software Foundation
1459# gives unlimited permission to copy and/or distribute it,
1460# with or without modifications, as long as this notice is preserved.
1461
1462# _AM_MANGLE_OPTION(NAME)
1463# -----------------------
1464AC_DEFUN([_AM_MANGLE_OPTION],
1465[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1466
1467# _AM_SET_OPTION(NAME)
1468# --------------------
1469# Set option NAME. Presently that only means defining a flag for this option.
1470AC_DEFUN([_AM_SET_OPTION],
1471[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1472
1473# _AM_SET_OPTIONS(OPTIONS)
1474# ------------------------
1475# OPTIONS is a space-separated list of Automake options.
1476AC_DEFUN([_AM_SET_OPTIONS],
1477[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1478
1479# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1480# -------------------------------------------
1481# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1482AC_DEFUN([_AM_IF_OPTION],
1483[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1484
1485# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1486#
1487# This file is free software; the Free Software Foundation
1488# gives unlimited permission to copy and/or distribute it,
1489# with or without modifications, as long as this notice is preserved.
1490
1491# _AM_PROG_CC_C_O
1492# ---------------
1493# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1494# to automatically call this.
1495AC_DEFUN([_AM_PROG_CC_C_O],
1496[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1497AC_REQUIRE_AUX_FILE([compile])dnl
1498AC_LANG_PUSH([C])dnl
1499AC_CACHE_CHECK(
1500 [whether $CC understands -c and -o together],
1501 [am_cv_prog_cc_c_o],
1502 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1503 # Make sure it works both with $CC and with simple cc.
1504 # Following AC_PROG_CC_C_O, we do the test twice because some
1505 # compilers refuse to overwrite an existing .o file with -o,
1506 # though they will create one.
1507 am_cv_prog_cc_c_o=yes
1508 for am_i in 1 2; do
1509 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1510 && test -f conftest2.$ac_objext; then
1511 : OK
1512 else
1513 am_cv_prog_cc_c_o=no
1514 break
1515 fi
1516 done
1517 rm -f core conftest*
1518 unset am_i])
1519if test "$am_cv_prog_cc_c_o" != yes; then
1520 # Losing compiler, so override with the script.
1521 # FIXME: It is wrong to rewrite CC.
1522 # But if we don't then we get into trouble of one sort or another.
1523 # A longer-term fix would be to have automake use am__CC in this case,
1524 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1525 CC="$am_aux_dir/compile $CC"
1526fi
1527AC_LANG_POP([C])])
1528
1529# For backward compatibility.
1530AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1531
1532# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1533#
1534# This file is free software; the Free Software Foundation
1535# gives unlimited permission to copy and/or distribute it,
1536# with or without modifications, as long as this notice is preserved.
1537
1538# AM_RUN_LOG(COMMAND)
1539# -------------------
1540# Run COMMAND, save the exit status in ac_status, and log it.
1541# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1542AC_DEFUN([AM_RUN_LOG],
1543[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1544 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1545 ac_status=$?
1546 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1547 (exit $ac_status); }])
1548
1549# Check to make sure that the build environment is sane. -*- Autoconf -*-
1550
1551# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1552#
1553# This file is free software; the Free Software Foundation
1554# gives unlimited permission to copy and/or distribute it,
1555# with or without modifications, as long as this notice is preserved.
1556
1557# AM_SANITY_CHECK
1558# ---------------
1559AC_DEFUN([AM_SANITY_CHECK],
1560[AC_MSG_CHECKING([whether build environment is sane])
1561# Reject unsafe characters in $srcdir or the absolute working directory
1562# name. Accept space and tab only in the latter.
1563am_lf='
1564'
1565case `pwd` in
1566 *[[\\\"\#\$\&\'\`$am_lf]]*)
1567 AC_MSG_ERROR([unsafe absolute working directory name]);;
1568esac
1569case $srcdir in
1570 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1571 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1572esac
1573
1574# Do 'set' in a subshell so we don't clobber the current shell's
1575# arguments. Must try -L first in case configure is actually a
1576# symlink; some systems play weird games with the mod time of symlinks
1577# (eg FreeBSD returns the mod time of the symlink's containing
1578# directory).
1579if (
1580 am_has_slept=no
1581 for am_try in 1 2; do
1582 echo "timestamp, slept: $am_has_slept" > conftest.file
1583 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1584 if test "$[*]" = "X"; then
1585 # -L didn't work.
1586 set X `ls -t "$srcdir/configure" conftest.file`
1587 fi
1588 if test "$[*]" != "X $srcdir/configure conftest.file" \
1589 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1590
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment])
1597 fi
1598 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1599 break
1600 fi
1601 # Just in case.
1602 sleep 1
1603 am_has_slept=yes
1604 done
1605 test "$[2]" = conftest.file
1606 )
1607then
1608 # Ok.
1609 :
1610else
1611 AC_MSG_ERROR([newly created file is older than distributed files!
1612Check your system clock])
1613fi
1614AC_MSG_RESULT([yes])
1615# If we didn't sleep, we still need to ensure time stamps of config.status and
1616# generated files are strictly newer.
1617am_sleep_pid=
1618if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1619 ( sleep 1 ) &
1620 am_sleep_pid=$!
1621fi
1622AC_CONFIG_COMMANDS_PRE(
1623 [AC_MSG_CHECKING([that generated files are newer than configure])
1624 if test -n "$am_sleep_pid"; then
1625 # Hide warnings about reused PIDs.
1626 wait $am_sleep_pid 2>/dev/null
1627 fi
1628 AC_MSG_RESULT([done])])
1629rm -f conftest.file
1630])
1631
1632# Copyright (C) 2009-2013 Free Software Foundation, Inc.
1633#
1634# This file is free software; the Free Software Foundation
1635# gives unlimited permission to copy and/or distribute it,
1636# with or without modifications, as long as this notice is preserved.
1637
1638# AM_SILENT_RULES([DEFAULT])
1639# --------------------------
1640# Enable less verbose build rules; with the default set to DEFAULT
1641# ("yes" being less verbose, "no" or empty being verbose).
1642AC_DEFUN([AM_SILENT_RULES],
1643[AC_ARG_ENABLE([silent-rules], [dnl
1644AS_HELP_STRING(
1645 [--enable-silent-rules],
1646 [less verbose build output (undo: "make V=1")])
1647AS_HELP_STRING(
1648 [--disable-silent-rules],
1649 [verbose build output (undo: "make V=0")])dnl
1650])
1651case $enable_silent_rules in @%:@ (((
1652 yes) AM_DEFAULT_VERBOSITY=0;;
1653 no) AM_DEFAULT_VERBOSITY=1;;
1654 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1655esac
1656dnl
1657dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1658dnl do not support nested variable expansions.
1659dnl See automake bug#9928 and bug#10237.
1660am_make=${MAKE-make}
1661AC_CACHE_CHECK([whether $am_make supports nested variables],
1662 [am_cv_make_support_nested_variables],
1663 [if AS_ECHO([['TRUE=$(BAR$(V))
1664BAR0=false
1665BAR1=true
1666V=1
1667am__doit:
1668 @$(TRUE)
1669.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1670 am_cv_make_support_nested_variables=yes
1671else
1672 am_cv_make_support_nested_variables=no
1673fi])
1674if test $am_cv_make_support_nested_variables = yes; then
1675 dnl Using '$V' instead of '$(V)' breaks IRIX make.
1676 AM_V='$(V)'
1677 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1678else
1679 AM_V=$AM_DEFAULT_VERBOSITY
1680 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1681fi
1682AC_SUBST([AM_V])dnl
1683AM_SUBST_NOTMAKE([AM_V])dnl
1684AC_SUBST([AM_DEFAULT_V])dnl
1685AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1686AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1687AM_BACKSLASH='\'
1688AC_SUBST([AM_BACKSLASH])dnl
1689_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1690])
1691
1692# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1693#
1694# This file is free software; the Free Software Foundation
1695# gives unlimited permission to copy and/or distribute it,
1696# with or without modifications, as long as this notice is preserved.
1697
1698# AM_PROG_INSTALL_STRIP
1699# ---------------------
1700# One issue with vendor 'install' (even GNU) is that you can't
1701# specify the program used to strip binaries. This is especially
1702# annoying in cross-compiling environments, where the build's strip
1703# is unlikely to handle the host's binaries.
1704# Fortunately install-sh will honor a STRIPPROG variable, so we
1705# always use install-sh in "make install-strip", and initialize
1706# STRIPPROG with the value of the STRIP variable (set by the user).
1707AC_DEFUN([AM_PROG_INSTALL_STRIP],
1708[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1709# Installed binaries are usually stripped using 'strip' when the user
1710# run "make install-strip". However 'strip' might not be the right
1711# tool to use in cross-compilation environments, therefore Automake
1712# will honor the 'STRIP' environment variable to overrule this program.
1713dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1714if test "$cross_compiling" != no; then
1715 AC_CHECK_TOOL([STRIP], [strip], :)
1716fi
1717INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1718AC_SUBST([INSTALL_STRIP_PROGRAM])])
1719
1720# Copyright (C) 2006-2013 Free Software Foundation, Inc.
1721#
1722# This file is free software; the Free Software Foundation
1723# gives unlimited permission to copy and/or distribute it,
1724# with or without modifications, as long as this notice is preserved.
1725
1726# _AM_SUBST_NOTMAKE(VARIABLE)
1727# ---------------------------
1728# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1729# This macro is traced by Automake.
1730AC_DEFUN([_AM_SUBST_NOTMAKE])
1731
1732# AM_SUBST_NOTMAKE(VARIABLE)
1733# --------------------------
1734# Public sister of _AM_SUBST_NOTMAKE.
1735AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1736
1737# Check how to create a tarball. -*- Autoconf -*-
1738
1739# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1740#
1741# This file is free software; the Free Software Foundation
1742# gives unlimited permission to copy and/or distribute it,
1743# with or without modifications, as long as this notice is preserved.
1744
1745# _AM_PROG_TAR(FORMAT)
1746# --------------------
1747# Check how to create a tarball in format FORMAT.
1748# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1749#
1750# Substitute a variable $(am__tar) that is a command
1751# writing to stdout a FORMAT-tarball containing the directory
1752# $tardir.
1753# tardir=directory && $(am__tar) > result.tar
1754#
1755# Substitute a variable $(am__untar) that extract such
1756# a tarball read from stdin.
1757# $(am__untar) < result.tar
1758#
1759AC_DEFUN([_AM_PROG_TAR],
1760[# Always define AMTAR for backward compatibility. Yes, it's still used
1761# in the wild :-( We should find a proper way to deprecate it ...
1762AC_SUBST([AMTAR], ['$${TAR-tar}'])
1763
1764# We'll loop over all known methods to create a tar archive until one works.
1765_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1766
1767m4_if([$1], [v7],
1768 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1769
1770 [m4_case([$1],
1771 [ustar],
1772 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1773 # There is notably a 21 bits limit for the UID and the GID. In fact,
1774 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1775 # and bug#13588).
1776 am_max_uid=2097151 # 2^21 - 1
1777 am_max_gid=$am_max_uid
1778 # The $UID and $GID variables are not portable, so we need to resort
1779 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1780 # below are definitely unexpected, so allow the users to see them
1781 # (that is, avoid stderr redirection).
1782 am_uid=`id -u || echo unknown`
1783 am_gid=`id -g || echo unknown`
1784 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1785 if test $am_uid -le $am_max_uid; then
1786 AC_MSG_RESULT([yes])
1787 else
1788 AC_MSG_RESULT([no])
1789 _am_tools=none
1790 fi
1791 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1792 if test $am_gid -le $am_max_gid; then
1793 AC_MSG_RESULT([yes])
1794 else
1795 AC_MSG_RESULT([no])
1796 _am_tools=none
1797 fi],
1798
1799 [pax],
1800 [],
1801
1802 [m4_fatal([Unknown tar format])])
1803
1804 AC_MSG_CHECKING([how to create a $1 tar archive])
1805
1806 # Go ahead even if we have the value already cached. We do so because we
1807 # need to set the values for the 'am__tar' and 'am__untar' variables.
1808 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1809
1810 for _am_tool in $_am_tools; do
1811 case $_am_tool in
1812 gnutar)
1813 for _am_tar in tar gnutar gtar; do
1814 AM_RUN_LOG([$_am_tar --version]) && break
1815 done
1816 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1817 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1818 am__untar="$_am_tar -xf -"
1819 ;;
1820 plaintar)
1821 # Must skip GNU tar: if it does not support --format= it doesn't create
1822 # ustar tarball either.
1823 (tar --version) >/dev/null 2>&1 && continue
1824 am__tar='tar chf - "$$tardir"'
1825 am__tar_='tar chf - "$tardir"'
1826 am__untar='tar xf -'
1827 ;;
1828 pax)
1829 am__tar='pax -L -x $1 -w "$$tardir"'
1830 am__tar_='pax -L -x $1 -w "$tardir"'
1831 am__untar='pax -r'
1832 ;;
1833 cpio)
1834 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1835 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1836 am__untar='cpio -i -H $1 -d'
1837 ;;
1838 none)
1839 am__tar=false
1840 am__tar_=false
1841 am__untar=false
1842 ;;
1843 esac
1844
1845 # If the value was cached, stop now. We just wanted to have am__tar
1846 # and am__untar set.
1847 test -n "${am_cv_prog_tar_$1}" && break
1848
1849 # tar/untar a dummy directory, and stop if the command works.
1850 rm -rf conftest.dir
1851 mkdir conftest.dir
1852 echo GrepMe > conftest.dir/file
1853 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1854 rm -rf conftest.dir
1855 if test -s conftest.tar; then
1856 AM_RUN_LOG([$am__untar <conftest.tar])
1857 AM_RUN_LOG([cat conftest.dir/file])
1858 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1859 fi
1860 done
1861 rm -rf conftest.dir
1862
1863 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1864 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1865
1866AC_SUBST([am__tar])
1867AC_SUBST([am__untar])
1868]) # _AM_PROG_TAR
1869
4601870
461dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])1871dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
462# serial 42 IT_PROG_INTLTOOL1872# serial 42 IT_PROG_INTLTOOL
@@ -1978,7 +3388,7 @@
1978 rm -rf conftest*3388 rm -rf conftest*
1979 ;;3389 ;;
19803390
1981x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \3391x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1982s390*-*linux*|s390*-*tpf*|sparc*-*linux*)3392s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1983 # Find out which ABI we are using.3393 # Find out which ABI we are using.
1984 echo 'int i;' > conftest.$ac_ext3394 echo 'int i;' > conftest.$ac_ext
@@ -1990,9 +3400,19 @@
1990 LD="${LD-ld} -m elf_i386_fbsd"3400 LD="${LD-ld} -m elf_i386_fbsd"
1991 ;;3401 ;;
1992 x86_64-*linux*)3402 x86_64-*linux*)
1993 LD="${LD-ld} -m elf_i386"3403 case `/usr/bin/file conftest.o` in
1994 ;;3404 *x86-64*)
1995 ppc64-*linux*|powerpc64-*linux*)3405 LD="${LD-ld} -m elf32_x86_64"
3406 ;;
3407 *)
3408 LD="${LD-ld} -m elf_i386"
3409 ;;
3410 esac
3411 ;;
3412 powerpc64le-*)
3413 LD="${LD-ld} -m elf32lppclinux"
3414 ;;
3415 powerpc64-*)
1996 LD="${LD-ld} -m elf32ppclinux"3416 LD="${LD-ld} -m elf32ppclinux"
1997 ;;3417 ;;
1998 s390x-*linux*)3418 s390x-*linux*)
@@ -2011,7 +3431,10 @@
2011 x86_64-*linux*)3431 x86_64-*linux*)
2012 LD="${LD-ld} -m elf_x86_64"3432 LD="${LD-ld} -m elf_x86_64"
2013 ;;3433 ;;
2014 ppc*-*linux*|powerpc*-*linux*)3434 powerpcle-*)
3435 LD="${LD-ld} -m elf64lppc"
3436 ;;
3437 powerpc-*)
2015 LD="${LD-ld} -m elf64ppc"3438 LD="${LD-ld} -m elf64ppc"
2016 ;;3439 ;;
2017 s390*-*linux*|s390*-*tpf*)3440 s390*-*linux*|s390*-*tpf*)
@@ -2354,7 +3777,8 @@
2354 ;;3777 ;;
2355 *)3778 *)
2356 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`3779 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2357 if test -n "$lt_cv_sys_max_cmd_len"; then3780 if test -n "$lt_cv_sys_max_cmd_len" && \
3781 test undefined != "$lt_cv_sys_max_cmd_len"; then
2358 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`3782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`3783 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2360 else3784 else
@@ -3178,17 +4602,6 @@
3178 esac4602 esac
3179 ;;4603 ;;
31804604
3181gnu*)
3182 version_type=linux # correct to gnu/linux during the next big refactor
3183 need_lib_prefix=no
3184 need_version=no
3185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3186 soname_spec='${libname}${release}${shared_ext}$major'
3187 shlibpath_var=LD_LIBRARY_PATH
3188 shlibpath_overrides_runpath=no
3189 hardcode_into_libs=yes
3190 ;;
3191
3192haiku*)4605haiku*)
3193 version_type=linux # correct to gnu/linux during the next big refactor4606 version_type=linux # correct to gnu/linux during the next big refactor
3194 need_lib_prefix=no4607 need_lib_prefix=no
@@ -3305,7 +4718,7 @@
3305 ;;4718 ;;
33064719
3307# This must be glibc/ELF.4720# This must be glibc/ELF.
3308linux* | k*bsd*-gnu | kopensolaris*-gnu)4721linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3309 version_type=linux # correct to gnu/linux during the next big refactor4722 version_type=linux # correct to gnu/linux during the next big refactor
3310 need_lib_prefix=no4723 need_lib_prefix=no
3311 need_version=no4724 need_version=no
@@ -3921,10 +5334,6 @@
3921 fi5334 fi
3922 ;;5335 ;;
39235336
3924gnu*)
3925 lt_cv_deplibs_check_method=pass_all
3926 ;;
3927
3928haiku*)5337haiku*)
3929 lt_cv_deplibs_check_method=pass_all5338 lt_cv_deplibs_check_method=pass_all
3930 ;;5339 ;;
@@ -3963,7 +5372,7 @@
3963 ;;5372 ;;
39645373
3965# This must be glibc/ELF.5374# This must be glibc/ELF.
3966linux* | k*bsd*-gnu | kopensolaris*-gnu)5375linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3967 lt_cv_deplibs_check_method=pass_all5376 lt_cv_deplibs_check_method=pass_all
3968 ;;5377 ;;
39695378
@@ -4715,7 +6124,7 @@
4715 ;;6124 ;;
4716 esac6125 esac
4717 ;;6126 ;;
4718 linux* | k*bsd*-gnu | kopensolaris*-gnu)6127 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4719 case $cc_basename in6128 case $cc_basename in
4720 KCC*)6129 KCC*)
4721 # KAI C++ Compiler6130 # KAI C++ Compiler
@@ -5014,7 +6423,7 @@
5014 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'6423 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5015 ;;6424 ;;
50166425
5017 linux* | k*bsd*-gnu | kopensolaris*-gnu)6426 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5018 case $cc_basename in6427 case $cc_basename in
5019 # old Intel for x86_64 which still supported -KPIC.6428 # old Intel for x86_64 which still supported -KPIC.
5020 ecc*)6429 ecc*)
@@ -6903,9 +8312,6 @@
6903 _LT_TAGVAR(ld_shlibs, $1)=yes8312 _LT_TAGVAR(ld_shlibs, $1)=yes
6904 ;;8313 ;;
69058314
6906 gnu*)
6907 ;;
6908
6909 haiku*)8315 haiku*)
6910 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8316 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6911 _LT_TAGVAR(link_all_deplibs, $1)=yes8317 _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -7067,7 +8473,7 @@
7067 _LT_TAGVAR(inherit_rpath, $1)=yes8473 _LT_TAGVAR(inherit_rpath, $1)=yes
7068 ;;8474 ;;
70698475
7070 linux* | k*bsd*-gnu | kopensolaris*-gnu)8476 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7071 case $cc_basename in8477 case $cc_basename in
7072 KCC*)8478 KCC*)
7073 # Kuck and Associates, Inc. (KAI) C++ Compiler8479 # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -9278,1235 +10684,6 @@
9278m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])10684m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
9279m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])10685m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
928010686
9281# nls.m4 serial 5 (gettext-0.18)
9282dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
9283dnl Inc.
9284dnl This file is free software; the Free Software Foundation
9285dnl gives unlimited permission to copy and/or distribute it,
9286dnl with or without modifications, as long as this notice is preserved.
9287dnl
9288dnl This file can can be used in projects which are not available under
9289dnl the GNU General Public License or the GNU Library General Public
9290dnl License but which still want to provide support for the GNU gettext
9291dnl functionality.
9292dnl Please note that the actual code of the GNU gettext library is covered
9293dnl by the GNU Library General Public License, and the rest of the GNU
9294dnl gettext package package is covered by the GNU General Public License.
9295dnl They are *not* in the public domain.
9296
9297dnl Authors:
9298dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
9299dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
9300
9301AC_PREREQ([2.50])
9302
9303AC_DEFUN([AM_NLS],
9304[
9305 AC_MSG_CHECKING([whether NLS is requested])
9306 dnl Default is enabled NLS
9307 AC_ARG_ENABLE([nls],
9308 [ --disable-nls do not use Native Language Support],
9309 USE_NLS=$enableval, USE_NLS=yes)
9310 AC_MSG_RESULT([$USE_NLS])
9311 AC_SUBST([USE_NLS])
9312])
9313
9314# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
9315# serial 1 (pkg-config-0.24)
9316#
9317# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
9318#
9319# This program is free software; you can redistribute it and/or modify
9320# it under the terms of the GNU General Public License as published by
9321# the Free Software Foundation; either version 2 of the License, or
9322# (at your option) any later version.
9323#
9324# This program is distributed in the hope that it will be useful, but
9325# WITHOUT ANY WARRANTY; without even the implied warranty of
9326# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9327# General Public License for more details.
9328#
9329# You should have received a copy of the GNU General Public License
9330# along with this program; if not, write to the Free Software
9331# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9332#
9333# As a special exception to the GNU General Public License, if you
9334# distribute this file as part of a program that contains a
9335# configuration script generated by Autoconf, you may include it under
9336# the same distribution terms that you use for the rest of that program.
9337
9338# PKG_PROG_PKG_CONFIG([MIN-VERSION])
9339# ----------------------------------
9340AC_DEFUN([PKG_PROG_PKG_CONFIG],
9341[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
9342m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
9343m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
9344AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
9345AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
9346AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
9347
9348if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9349 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
9350fi
9351if test -n "$PKG_CONFIG"; then
9352 _pkg_min_version=m4_default([$1], [0.9.0])
9353 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
9354 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9355 AC_MSG_RESULT([yes])
9356 else
9357 AC_MSG_RESULT([no])
9358 PKG_CONFIG=""
9359 fi
9360fi[]dnl
9361])# PKG_PROG_PKG_CONFIG
9362
9363# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
9364#
9365# Check to see whether a particular set of modules exists. Similar
9366# to PKG_CHECK_MODULES(), but does not set variables or print errors.
9367#
9368# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
9369# only at the first occurence in configure.ac, so if the first place
9370# it's called might be skipped (such as if it is within an "if", you
9371# have to call PKG_CHECK_EXISTS manually
9372# --------------------------------------------------------------
9373AC_DEFUN([PKG_CHECK_EXISTS],
9374[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
9375if test -n "$PKG_CONFIG" && \
9376 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
9377 m4_default([$2], [:])
9378m4_ifvaln([$3], [else
9379 $3])dnl
9380fi])
9381
9382# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
9383# ---------------------------------------------
9384m4_define([_PKG_CONFIG],
9385[if test -n "$$1"; then
9386 pkg_cv_[]$1="$$1"
9387 elif test -n "$PKG_CONFIG"; then
9388 PKG_CHECK_EXISTS([$3],
9389 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
9390 test "x$?" != "x0" && pkg_failed=yes ],
9391 [pkg_failed=yes])
9392 else
9393 pkg_failed=untried
9394fi[]dnl
9395])# _PKG_CONFIG
9396
9397# _PKG_SHORT_ERRORS_SUPPORTED
9398# -----------------------------
9399AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
9400[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
9401if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9402 _pkg_short_errors_supported=yes
9403else
9404 _pkg_short_errors_supported=no
9405fi[]dnl
9406])# _PKG_SHORT_ERRORS_SUPPORTED
9407
9408
9409# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
9410# [ACTION-IF-NOT-FOUND])
9411#
9412#
9413# Note that if there is a possibility the first call to
9414# PKG_CHECK_MODULES might not happen, you should be sure to include an
9415# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
9416#
9417#
9418# --------------------------------------------------------------
9419AC_DEFUN([PKG_CHECK_MODULES],
9420[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
9421AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
9422AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
9423
9424pkg_failed=no
9425AC_MSG_CHECKING([for $1])
9426
9427_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
9428_PKG_CONFIG([$1][_LIBS], [libs], [$2])
9429
9430m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
9431and $1[]_LIBS to avoid the need to call pkg-config.
9432See the pkg-config man page for more details.])
9433
9434if test $pkg_failed = yes; then
9435 AC_MSG_RESULT([no])
9436 _PKG_SHORT_ERRORS_SUPPORTED
9437 if test $_pkg_short_errors_supported = yes; then
9438 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
9439 else
9440 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
9441 fi
9442 # Put the nasty error message in config.log where it belongs
9443 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
9444
9445 m4_default([$4], [AC_MSG_ERROR(
9446[Package requirements ($2) were not met:
9447
9448$$1_PKG_ERRORS
9449
9450Consider adjusting the PKG_CONFIG_PATH environment variable if you
9451installed software in a non-standard prefix.
9452
9453_PKG_TEXT])[]dnl
9454 ])
9455elif test $pkg_failed = untried; then
9456 AC_MSG_RESULT([no])
9457 m4_default([$4], [AC_MSG_FAILURE(
9458[The pkg-config script could not be found or is too old. Make sure it
9459is in your PATH or set the PKG_CONFIG environment variable to the full
9460path to pkg-config.
9461
9462_PKG_TEXT
9463
9464To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
9465 ])
9466else
9467 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
9468 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
9469 AC_MSG_RESULT([yes])
9470 $3
9471fi[]dnl
9472])# PKG_CHECK_MODULES
9473
9474# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
9475# Foundation, Inc.
9476#
9477# This file is free software; the Free Software Foundation
9478# gives unlimited permission to copy and/or distribute it,
9479# with or without modifications, as long as this notice is preserved.
9480
9481# serial 1
9482
9483# AM_AUTOMAKE_VERSION(VERSION)
9484# ----------------------------
9485# Automake X.Y traces this macro to ensure aclocal.m4 has been
9486# generated from the m4 files accompanying Automake X.Y.
9487# (This private macro should not be called outside this file.)
9488AC_DEFUN([AM_AUTOMAKE_VERSION],
9489[am__api_version='1.11'
9490dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9491dnl require some minimum version. Point them to the right macro.
9492m4_if([$1], [1.11.5], [],
9493 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9494])
9495
9496# _AM_AUTOCONF_VERSION(VERSION)
9497# -----------------------------
9498# aclocal traces this macro to find the Autoconf version.
9499# This is a private macro too. Using m4_define simplifies
9500# the logic in aclocal, which can simply ignore this definition.
9501m4_define([_AM_AUTOCONF_VERSION], [])
9502
9503# AM_SET_CURRENT_AUTOMAKE_VERSION
9504# -------------------------------
9505# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9506# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9507AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9508[AM_AUTOMAKE_VERSION([1.11.5])dnl
9509m4_ifndef([AC_AUTOCONF_VERSION],
9510 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9511_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9512
9513# AM_AUX_DIR_EXPAND -*- Autoconf -*-
9514
9515# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9516#
9517# This file is free software; the Free Software Foundation
9518# gives unlimited permission to copy and/or distribute it,
9519# with or without modifications, as long as this notice is preserved.
9520
9521# serial 1
9522
9523# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9524# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
9525# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9526#
9527# Of course, Automake must honor this variable whenever it calls a
9528# tool from the auxiliary directory. The problem is that $srcdir (and
9529# therefore $ac_aux_dir as well) can be either absolute or relative,
9530# depending on how configure is run. This is pretty annoying, since
9531# it makes $ac_aux_dir quite unusable in subdirectories: in the top
9532# source directory, any form will work fine, but in subdirectories a
9533# relative path needs to be adjusted first.
9534#
9535# $ac_aux_dir/missing
9536# fails when called from a subdirectory if $ac_aux_dir is relative
9537# $top_srcdir/$ac_aux_dir/missing
9538# fails if $ac_aux_dir is absolute,
9539# fails when called from a subdirectory in a VPATH build with
9540# a relative $ac_aux_dir
9541#
9542# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9543# are both prefixed by $srcdir. In an in-source build this is usually
9544# harmless because $srcdir is `.', but things will broke when you
9545# start a VPATH build or use an absolute $srcdir.
9546#
9547# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9548# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
9549# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
9550# and then we would define $MISSING as
9551# MISSING="\${SHELL} $am_aux_dir/missing"
9552# This will work as long as MISSING is not called from configure, because
9553# unfortunately $(top_srcdir) has no meaning in configure.
9554# However there are other variables, like CC, which are often used in
9555# configure, and could therefore not use this "fixed" $ac_aux_dir.
9556#
9557# Another solution, used here, is to always expand $ac_aux_dir to an
9558# absolute PATH. The drawback is that using absolute paths prevent a
9559# configured tree to be moved without reconfiguration.
9560
9561AC_DEFUN([AM_AUX_DIR_EXPAND],
9562[dnl Rely on autoconf to set up CDPATH properly.
9563AC_PREREQ([2.50])dnl
9564# expand $ac_aux_dir to an absolute path
9565am_aux_dir=`cd $ac_aux_dir && pwd`
9566])
9567
9568# AM_CONDITIONAL -*- Autoconf -*-
9569
9570# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9571# Free Software Foundation, Inc.
9572#
9573# This file is free software; the Free Software Foundation
9574# gives unlimited permission to copy and/or distribute it,
9575# with or without modifications, as long as this notice is preserved.
9576
9577# serial 9
9578
9579# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9580# -------------------------------------
9581# Define a conditional.
9582AC_DEFUN([AM_CONDITIONAL],
9583[AC_PREREQ(2.52)dnl
9584 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9585 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9586AC_SUBST([$1_TRUE])dnl
9587AC_SUBST([$1_FALSE])dnl
9588_AM_SUBST_NOTMAKE([$1_TRUE])dnl
9589_AM_SUBST_NOTMAKE([$1_FALSE])dnl
9590m4_define([_AM_COND_VALUE_$1], [$2])dnl
9591if $2; then
9592 $1_TRUE=
9593 $1_FALSE='#'
9594else
9595 $1_TRUE='#'
9596 $1_FALSE=
9597fi
9598AC_CONFIG_COMMANDS_PRE(
9599[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9600 AC_MSG_ERROR([[conditional "$1" was never defined.
9601Usually this means the macro was only invoked conditionally.]])
9602fi])])
9603
9604# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
9605# 2010, 2011 Free Software Foundation, Inc.
9606#
9607# This file is free software; the Free Software Foundation
9608# gives unlimited permission to copy and/or distribute it,
9609# with or without modifications, as long as this notice is preserved.
9610
9611# serial 12
9612
9613# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9614# written in clear, in which case automake, when reading aclocal.m4,
9615# will think it sees a *use*, and therefore will trigger all it's
9616# C support machinery. Also note that it means that autoscan, seeing
9617# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
9618
9619
9620# _AM_DEPENDENCIES(NAME)
9621# ----------------------
9622# See how the compiler implements dependency checking.
9623# NAME is "CC", "CXX", "GCJ", or "OBJC".
9624# We try a few techniques and use that to set a single cache variable.
9625#
9626# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9627# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
9628# dependency, and given that the user is not expected to run this macro,
9629# just rely on AC_PROG_CC.
9630AC_DEFUN([_AM_DEPENDENCIES],
9631[AC_REQUIRE([AM_SET_DEPDIR])dnl
9632AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
9633AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9634AC_REQUIRE([AM_DEP_TRACK])dnl
9635
9636ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
9637 [$1], CXX, [depcc="$CXX" am_compiler_list=],
9638 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9639 [$1], UPC, [depcc="$UPC" am_compiler_list=],
9640 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9641 [depcc="$$1" am_compiler_list=])
9642
9643AC_CACHE_CHECK([dependency style of $depcc],
9644 [am_cv_$1_dependencies_compiler_type],
9645[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9646 # We make a subdir and do the tests there. Otherwise we can end up
9647 # making bogus files that we don't know about and never remove. For
9648 # instance it was reported that on HP-UX the gcc test will end up
9649 # making a dummy file named `D' -- because `-MD' means `put the output
9650 # in D'.
9651 rm -rf conftest.dir
9652 mkdir conftest.dir
9653 # Copy depcomp to subdir because otherwise we won't find it if we're
9654 # using a relative directory.
9655 cp "$am_depcomp" conftest.dir
9656 cd conftest.dir
9657 # We will build objects and dependencies in a subdirectory because
9658 # it helps to detect inapplicable dependency modes. For instance
9659 # both Tru64's cc and ICC support -MD to output dependencies as a
9660 # side effect of compilation, but ICC will put the dependencies in
9661 # the current directory while Tru64 will put them in the object
9662 # directory.
9663 mkdir sub
9664
9665 am_cv_$1_dependencies_compiler_type=none
9666 if test "$am_compiler_list" = ""; then
9667 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9668 fi
9669 am__universal=false
9670 m4_case([$1], [CC],
9671 [case " $depcc " in #(
9672 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9673 esac],
9674 [CXX],
9675 [case " $depcc " in #(
9676 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9677 esac])
9678
9679 for depmode in $am_compiler_list; do
9680 # Setup a source with many dependencies, because some compilers
9681 # like to wrap large dependency lists on column 80 (with \), and
9682 # we should not choose a depcomp mode which is confused by this.
9683 #
9684 # We need to recreate these files for each test, as the compiler may
9685 # overwrite some of them when testing with obscure command lines.
9686 # This happens at least with the AIX C compiler.
9687 : > sub/conftest.c
9688 for i in 1 2 3 4 5 6; do
9689 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9690 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9691 # Solaris 8's {/usr,}/bin/sh.
9692 touch sub/conftst$i.h
9693 done
9694 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9695
9696 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9697 # mode. It turns out that the SunPro C++ compiler does not properly
9698 # handle `-M -o', and we need to detect this. Also, some Intel
9699 # versions had trouble with output in subdirs
9700 am__obj=sub/conftest.${OBJEXT-o}
9701 am__minus_obj="-o $am__obj"
9702 case $depmode in
9703 gcc)
9704 # This depmode causes a compiler race in universal mode.
9705 test "$am__universal" = false || continue
9706 ;;
9707 nosideeffect)
9708 # after this tag, mechanisms are not by side-effect, so they'll
9709 # only be used when explicitly requested
9710 if test "x$enable_dependency_tracking" = xyes; then
9711 continue
9712 else
9713 break
9714 fi
9715 ;;
9716 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
9717 # This compiler won't grok `-c -o', but also, the minuso test has
9718 # not run yet. These depmodes are late enough in the game, and
9719 # so weak that their functioning should not be impacted.
9720 am__obj=conftest.${OBJEXT-o}
9721 am__minus_obj=
9722 ;;
9723 none) break ;;
9724 esac
9725 if depmode=$depmode \
9726 source=sub/conftest.c object=$am__obj \
9727 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9728 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9729 >/dev/null 2>conftest.err &&
9730 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9731 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9732 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9733 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9734 # icc doesn't choke on unknown options, it will just issue warnings
9735 # or remarks (even with -Werror). So we grep stderr for any message
9736 # that says an option was ignored or not supported.
9737 # When given -MP, icc 7.0 and 7.1 complain thusly:
9738 # icc: Command line warning: ignoring option '-M'; no argument required
9739 # The diagnosis changed in icc 8.0:
9740 # icc: Command line remark: option '-MP' not supported
9741 if (grep 'ignoring option' conftest.err ||
9742 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9743 am_cv_$1_dependencies_compiler_type=$depmode
9744 break
9745 fi
9746 fi
9747 done
9748
9749 cd ..
9750 rm -rf conftest.dir
9751else
9752 am_cv_$1_dependencies_compiler_type=none
9753fi
9754])
9755AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9756AM_CONDITIONAL([am__fastdep$1], [
9757 test "x$enable_dependency_tracking" != xno \
9758 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9759])
9760
9761
9762# AM_SET_DEPDIR
9763# -------------
9764# Choose a directory name for dependency files.
9765# This macro is AC_REQUIREd in _AM_DEPENDENCIES
9766AC_DEFUN([AM_SET_DEPDIR],
9767[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9768AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
9769])
9770
9771
9772# AM_DEP_TRACK
9773# ------------
9774AC_DEFUN([AM_DEP_TRACK],
9775[AC_ARG_ENABLE(dependency-tracking,
9776[ --disable-dependency-tracking speeds up one-time build
9777 --enable-dependency-tracking do not reject slow dependency extractors])
9778if test "x$enable_dependency_tracking" != xno; then
9779 am_depcomp="$ac_aux_dir/depcomp"
9780 AMDEPBACKSLASH='\'
9781 am__nodep='_no'
9782fi
9783AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9784AC_SUBST([AMDEPBACKSLASH])dnl
9785_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
9786AC_SUBST([am__nodep])dnl
9787_AM_SUBST_NOTMAKE([am__nodep])dnl
9788])
9789
9790# Generate code to set up dependency tracking. -*- Autoconf -*-
9791
9792# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9793# Free Software Foundation, Inc.
9794#
9795# This file is free software; the Free Software Foundation
9796# gives unlimited permission to copy and/or distribute it,
9797# with or without modifications, as long as this notice is preserved.
9798
9799#serial 5
9800
9801# _AM_OUTPUT_DEPENDENCY_COMMANDS
9802# ------------------------------
9803AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9804[{
9805 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9806 # are listed without --file. Let's play safe and only enable the eval
9807 # if we detect the quoting.
9808 case $CONFIG_FILES in
9809 *\'*) eval set x "$CONFIG_FILES" ;;
9810 *) set x $CONFIG_FILES ;;
9811 esac
9812 shift
9813 for mf
9814 do
9815 # Strip MF so we end up with the name of the file.
9816 mf=`echo "$mf" | sed -e 's/:.*$//'`
9817 # Check whether this is an Automake generated Makefile or not.
9818 # We used to match only the files named `Makefile.in', but
9819 # some people rename them; so instead we look at the file content.
9820 # Grep'ing the first line is not enough: some people post-process
9821 # each Makefile.in and add a new line on top of each file to say so.
9822 # Grep'ing the whole file is not good either: AIX grep has a line
9823 # limit of 2048, but all sed's we know have understand at least 4000.
9824 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9825 dirpart=`AS_DIRNAME("$mf")`
9826 else
9827 continue
9828 fi
9829 # Extract the definition of DEPDIR, am__include, and am__quote
9830 # from the Makefile without running `make'.
9831 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9832 test -z "$DEPDIR" && continue
9833 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9834 test -z "am__include" && continue
9835 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9836 # When using ansi2knr, U may be empty or an underscore; expand it
9837 U=`sed -n 's/^U = //p' < "$mf"`
9838 # Find all dependency output files, they are included files with
9839 # $(DEPDIR) in their names. We invoke sed twice because it is the
9840 # simplest approach to changing $(DEPDIR) to its actual value in the
9841 # expansion.
9842 for file in `sed -n "
9843 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9844 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9845 # Make sure the directory exists.
9846 test -f "$dirpart/$file" && continue
9847 fdir=`AS_DIRNAME(["$file"])`
9848 AS_MKDIR_P([$dirpart/$fdir])
9849 # echo "creating $dirpart/$file"
9850 echo '# dummy' > "$dirpart/$file"
9851 done
9852 done
9853}
9854])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9855
9856
9857# AM_OUTPUT_DEPENDENCY_COMMANDS
9858# -----------------------------
9859# This macro should only be invoked once -- use via AC_REQUIRE.
9860#
9861# This code is only required when automatic dependency tracking
9862# is enabled. FIXME. This creates each `.P' file that we will
9863# need in order to bootstrap the dependency handling code.
9864AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
9865[AC_CONFIG_COMMANDS([depfiles],
9866 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9867 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9868])
9869
9870# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
9871# Free Software Foundation, Inc.
9872#
9873# This file is free software; the Free Software Foundation
9874# gives unlimited permission to copy and/or distribute it,
9875# with or without modifications, as long as this notice is preserved.
9876
9877# serial 8
9878
9879# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
9880AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
9881
9882# Do all the work for Automake. -*- Autoconf -*-
9883
9884# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9885# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9886#
9887# This file is free software; the Free Software Foundation
9888# gives unlimited permission to copy and/or distribute it,
9889# with or without modifications, as long as this notice is preserved.
9890
9891# serial 16
9892
9893# This macro actually does too much. Some checks are only needed if
9894# your package does certain things. But this isn't really a big deal.
9895
9896# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9897# AM_INIT_AUTOMAKE([OPTIONS])
9898# -----------------------------------------------
9899# The call with PACKAGE and VERSION arguments is the old style
9900# call (pre autoconf-2.50), which is being phased out. PACKAGE
9901# and VERSION should now be passed to AC_INIT and removed from
9902# the call to AM_INIT_AUTOMAKE.
9903# We support both call styles for the transition. After
9904# the next Automake release, Autoconf can make the AC_INIT
9905# arguments mandatory, and then we can depend on a new Autoconf
9906# release and drop the old call support.
9907AC_DEFUN([AM_INIT_AUTOMAKE],
9908[AC_PREREQ([2.62])dnl
9909dnl Autoconf wants to disallow AM_ names. We explicitly allow
9910dnl the ones we care about.
9911m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9912AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
9913AC_REQUIRE([AC_PROG_INSTALL])dnl
9914if test "`cd $srcdir && pwd`" != "`pwd`"; then
9915 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9916 # is not polluted with repeated "-I."
9917 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9918 # test to see if srcdir already configured
9919 if test -f $srcdir/config.status; then
9920 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
9921 fi
9922fi
9923
9924# test whether we have cygpath
9925if test -z "$CYGPATH_W"; then
9926 if (cygpath --version) >/dev/null 2>/dev/null; then
9927 CYGPATH_W='cygpath -w'
9928 else
9929 CYGPATH_W=echo
9930 fi
9931fi
9932AC_SUBST([CYGPATH_W])
9933
9934# Define the identity of the package.
9935dnl Distinguish between old-style and new-style calls.
9936m4_ifval([$2],
9937[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9938 AC_SUBST([PACKAGE], [$1])dnl
9939 AC_SUBST([VERSION], [$2])],
9940[_AM_SET_OPTIONS([$1])dnl
9941dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9942m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
9943 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
9944 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
9945 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
9946
9947_AM_IF_OPTION([no-define],,
9948[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
9949 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
9950
9951# Some tools Automake needs.
9952AC_REQUIRE([AM_SANITY_CHECK])dnl
9953AC_REQUIRE([AC_ARG_PROGRAM])dnl
9954AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
9955AM_MISSING_PROG(AUTOCONF, autoconf)
9956AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9957AM_MISSING_PROG(AUTOHEADER, autoheader)
9958AM_MISSING_PROG(MAKEINFO, makeinfo)
9959AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9960AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9961AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9962# We need awk for the "check" target. The system "awk" is bad on
9963# some platforms.
9964AC_REQUIRE([AC_PROG_AWK])dnl
9965AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9966AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9967_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9968 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9969 [_AM_PROG_TAR([v7])])])
9970_AM_IF_OPTION([no-dependencies],,
9971[AC_PROVIDE_IFELSE([AC_PROG_CC],
9972 [_AM_DEPENDENCIES(CC)],
9973 [define([AC_PROG_CC],
9974 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9975AC_PROVIDE_IFELSE([AC_PROG_CXX],
9976 [_AM_DEPENDENCIES(CXX)],
9977 [define([AC_PROG_CXX],
9978 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9979AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9980 [_AM_DEPENDENCIES(OBJC)],
9981 [define([AC_PROG_OBJC],
9982 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9983])
9984_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9985dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9986dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9987dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9988AC_CONFIG_COMMANDS_PRE(dnl
9989[m4_provide_if([_AM_COMPILER_EXEEXT],
9990 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9991])
9992
9993dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9994dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9995dnl mangled by Autoconf and run in a shell conditional statement.
9996m4_define([_AC_COMPILER_EXEEXT],
9997m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9998
9999
10000# When config.status generates a header, we must update the stamp-h file.
10001# This file resides in the same directory as the config header
10002# that is generated. The stamp files are numbered to have different names.
10003
10004# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
10005# loop where config.status creates the headers, so we can generate
10006# our stamp files there.
10007AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
10008[# Compute $1's index in $config_headers.
10009_am_arg=$1
10010_am_stamp_count=1
10011for _am_header in $config_headers :; do
10012 case $_am_header in
10013 $_am_arg | $_am_arg:* )
10014 break ;;
10015 * )
10016 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10017 esac
10018done
10019echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
10020
10021# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
10022# Inc.
10023#
10024# This file is free software; the Free Software Foundation
10025# gives unlimited permission to copy and/or distribute it,
10026# with or without modifications, as long as this notice is preserved.
10027
10028# serial 1
10029
10030# AM_PROG_INSTALL_SH
10031# ------------------
10032# Define $install_sh.
10033AC_DEFUN([AM_PROG_INSTALL_SH],
10034[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10035if test x"${install_sh}" != xset; then
10036 case $am_aux_dir in
10037 *\ * | *\ *)
10038 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
10039 *)
10040 install_sh="\${SHELL} $am_aux_dir/install-sh"
10041 esac
10042fi
10043AC_SUBST(install_sh)])
10044
10045# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
10046#
10047# This file is free software; the Free Software Foundation
10048# gives unlimited permission to copy and/or distribute it,
10049# with or without modifications, as long as this notice is preserved.
10050
10051# serial 2
10052
10053# Check whether the underlying file-system supports filenames
10054# with a leading dot. For instance MS-DOS doesn't.
10055AC_DEFUN([AM_SET_LEADING_DOT],
10056[rm -rf .tst 2>/dev/null
10057mkdir .tst 2>/dev/null
10058if test -d .tst; then
10059 am__leading_dot=.
10060else
10061 am__leading_dot=_
10062fi
10063rmdir .tst 2>/dev/null
10064AC_SUBST([am__leading_dot])])
10065
10066# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
10067# From Jim Meyering
10068
10069# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
10070# 2011 Free Software Foundation, Inc.
10071#
10072# This file is free software; the Free Software Foundation
10073# gives unlimited permission to copy and/or distribute it,
10074# with or without modifications, as long as this notice is preserved.
10075
10076# serial 5
10077
10078# AM_MAINTAINER_MODE([DEFAULT-MODE])
10079# ----------------------------------
10080# Control maintainer-specific portions of Makefiles.
10081# Default is to disable them, unless `enable' is passed literally.
10082# For symmetry, `disable' may be passed as well. Anyway, the user
10083# can override the default with the --enable/--disable switch.
10084AC_DEFUN([AM_MAINTAINER_MODE],
10085[m4_case(m4_default([$1], [disable]),
10086 [enable], [m4_define([am_maintainer_other], [disable])],
10087 [disable], [m4_define([am_maintainer_other], [enable])],
10088 [m4_define([am_maintainer_other], [enable])
10089 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
10090AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
10091 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
10092 AC_ARG_ENABLE([maintainer-mode],
10093[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
10094 (and sometimes confusing) to the casual installer],
10095 [USE_MAINTAINER_MODE=$enableval],
10096 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
10097 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
10098 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
10099 MAINT=$MAINTAINER_MODE_TRUE
10100 AC_SUBST([MAINT])dnl
10101]
10102)
10103
10104AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
10105
10106# Check to see how 'make' treats includes. -*- Autoconf -*-
10107
10108# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
10109#
10110# This file is free software; the Free Software Foundation
10111# gives unlimited permission to copy and/or distribute it,
10112# with or without modifications, as long as this notice is preserved.
10113
10114# serial 4
10115
10116# AM_MAKE_INCLUDE()
10117# -----------------
10118# Check to see how make treats includes.
10119AC_DEFUN([AM_MAKE_INCLUDE],
10120[am_make=${MAKE-make}
10121cat > confinc << 'END'
10122am__doit:
10123 @echo this is the am__doit target
10124.PHONY: am__doit
10125END
10126# If we don't find an include directive, just comment out the code.
10127AC_MSG_CHECKING([for style of include used by $am_make])
10128am__include="#"
10129am__quote=
10130_am_result=none
10131# First try GNU make style include.
10132echo "include confinc" > confmf
10133# Ignore all kinds of additional output from `make'.
10134case `$am_make -s -f confmf 2> /dev/null` in #(
10135*the\ am__doit\ target*)
10136 am__include=include
10137 am__quote=
10138 _am_result=GNU
10139 ;;
10140esac
10141# Now try BSD make style include.
10142if test "$am__include" = "#"; then
10143 echo '.include "confinc"' > confmf
10144 case `$am_make -s -f confmf 2> /dev/null` in #(
10145 *the\ am__doit\ target*)
10146 am__include=.include
10147 am__quote="\""
10148 _am_result=BSD
10149 ;;
10150 esac
10151fi
10152AC_SUBST([am__include])
10153AC_SUBST([am__quote])
10154AC_MSG_RESULT([$_am_result])
10155rm -f confinc confmf
10156])
10157
10158# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
10159# Free Software Foundation, Inc.
10160#
10161# This file is free software; the Free Software Foundation
10162# gives unlimited permission to copy and/or distribute it,
10163# with or without modifications, as long as this notice is preserved.
10164
10165# serial 6
10166
10167# AM_PROG_CC_C_O
10168# --------------
10169# Like AC_PROG_CC_C_O, but changed for automake.
10170AC_DEFUN([AM_PROG_CC_C_O],
10171[AC_REQUIRE([AC_PROG_CC_C_O])dnl
10172AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10173AC_REQUIRE_AUX_FILE([compile])dnl
10174# FIXME: we rely on the cache variable name because
10175# there is no other way.
10176set dummy $CC
10177am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
10178eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
10179if test "$am_t" != yes; then
10180 # Losing compiler, so override with the script.
10181 # FIXME: It is wrong to rewrite CC.
10182 # But if we don't then we get into trouble of one sort or another.
10183 # A longer-term fix would be to have automake use am__CC in this case,
10184 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10185 CC="$am_aux_dir/compile $CC"
10186fi
10187dnl Make sure AC_PROG_CC is never called again, or it will override our
10188dnl setting of CC.
10189m4_define([AC_PROG_CC],
10190 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
10191])
10192
10193# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
10194
10195# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
10196# Free Software Foundation, Inc.
10197#
10198# This file is free software; the Free Software Foundation
10199# gives unlimited permission to copy and/or distribute it,
10200# with or without modifications, as long as this notice is preserved.
10201
10202# serial 6
10203
10204# AM_MISSING_PROG(NAME, PROGRAM)
10205# ------------------------------
10206AC_DEFUN([AM_MISSING_PROG],
10207[AC_REQUIRE([AM_MISSING_HAS_RUN])
10208$1=${$1-"${am_missing_run}$2"}
10209AC_SUBST($1)])
10210
10211
10212# AM_MISSING_HAS_RUN
10213# ------------------
10214# Define MISSING if not defined so far and test if it supports --run.
10215# If it does, set am_missing_run to use it, otherwise, to nothing.
10216AC_DEFUN([AM_MISSING_HAS_RUN],
10217[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10218AC_REQUIRE_AUX_FILE([missing])dnl
10219if test x"${MISSING+set}" != xset; then
10220 case $am_aux_dir in
10221 *\ * | *\ *)
10222 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
10223 *)
10224 MISSING="\${SHELL} $am_aux_dir/missing" ;;
10225 esac
10226fi
10227# Use eval to expand $SHELL
10228if eval "$MISSING --run true"; then
10229 am_missing_run="$MISSING --run "
10230else
10231 am_missing_run=
10232 AC_MSG_WARN([`missing' script is too old or missing])
10233fi
10234])
10235
10236# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
10237# Inc.
10238#
10239# This file is free software; the Free Software Foundation
10240# gives unlimited permission to copy and/or distribute it,
10241# with or without modifications, as long as this notice is preserved.
10242
10243# serial 1
10244
10245# AM_PROG_MKDIR_P
10246# ---------------
10247# Check for `mkdir -p'.
10248AC_DEFUN([AM_PROG_MKDIR_P],
10249[AC_PREREQ([2.60])dnl
10250AC_REQUIRE([AC_PROG_MKDIR_P])dnl
10251dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
10252dnl while keeping a definition of mkdir_p for backward compatibility.
10253dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
10254dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
10255dnl Makefile.ins that do not define MKDIR_P, so we do our own
10256dnl adjustment using top_builddir (which is defined more often than
10257dnl MKDIR_P).
10258AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
10259case $mkdir_p in
10260 [[\\/$]]* | ?:[[\\/]]*) ;;
10261 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10262esac
10263])
10264
10265# Helper functions for option handling. -*- Autoconf -*-
10266
10267# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
10268# Foundation, Inc.
10269#
10270# This file is free software; the Free Software Foundation
10271# gives unlimited permission to copy and/or distribute it,
10272# with or without modifications, as long as this notice is preserved.
10273
10274# serial 5
10275
10276# _AM_MANGLE_OPTION(NAME)
10277# -----------------------
10278AC_DEFUN([_AM_MANGLE_OPTION],
10279[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
10280
10281# _AM_SET_OPTION(NAME)
10282# --------------------
10283# Set option NAME. Presently that only means defining a flag for this option.
10284AC_DEFUN([_AM_SET_OPTION],
10285[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
10286
10287# _AM_SET_OPTIONS(OPTIONS)
10288# ------------------------
10289# OPTIONS is a space-separated list of Automake options.
10290AC_DEFUN([_AM_SET_OPTIONS],
10291[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
10292
10293# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
10294# -------------------------------------------
10295# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
10296AC_DEFUN([_AM_IF_OPTION],
10297[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10298
10299# Check to make sure that the build environment is sane. -*- Autoconf -*-
10300
10301# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
10302# Free Software Foundation, Inc.
10303#
10304# This file is free software; the Free Software Foundation
10305# gives unlimited permission to copy and/or distribute it,
10306# with or without modifications, as long as this notice is preserved.
10307
10308# serial 5
10309
10310# AM_SANITY_CHECK
10311# ---------------
10312AC_DEFUN([AM_SANITY_CHECK],
10313[AC_MSG_CHECKING([whether build environment is sane])
10314# Just in case
10315sleep 1
10316echo timestamp > conftest.file
10317# Reject unsafe characters in $srcdir or the absolute working directory
10318# name. Accept space and tab only in the latter.
10319am_lf='
10320'
10321case `pwd` in
10322 *[[\\\"\#\$\&\'\`$am_lf]]*)
10323 AC_MSG_ERROR([unsafe absolute working directory name]);;
10324esac
10325case $srcdir in
10326 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
10327 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
10328esac
10329
10330# Do `set' in a subshell so we don't clobber the current shell's
10331# arguments. Must try -L first in case configure is actually a
10332# symlink; some systems play weird games with the mod time of symlinks
10333# (eg FreeBSD returns the mod time of the symlink's containing
10334# directory).
10335if (
10336 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10337 if test "$[*]" = "X"; then
10338 # -L didn't work.
10339 set X `ls -t "$srcdir/configure" conftest.file`
10340 fi
10341 rm -f conftest.file
10342 if test "$[*]" != "X $srcdir/configure conftest.file" \
10343 && test "$[*]" != "X conftest.file $srcdir/configure"; then
10344
10345 # If neither matched, then we have a broken ls. This can happen
10346 # if, for instance, CONFIG_SHELL is bash and it inherits a
10347 # broken ls alias from the environment. This has actually
10348 # happened. Such a system could not be considered "sane".
10349 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
10350alias in your environment])
10351 fi
10352
10353 test "$[2]" = conftest.file
10354 )
10355then
10356 # Ok.
10357 :
10358else
10359 AC_MSG_ERROR([newly created file is older than distributed files!
10360Check your system clock])
10361fi
10362AC_MSG_RESULT(yes)])
10363
10364# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
10365#
10366# This file is free software; the Free Software Foundation
10367# gives unlimited permission to copy and/or distribute it,
10368# with or without modifications, as long as this notice is preserved.
10369
10370# serial 1
10371
10372# AM_PROG_INSTALL_STRIP
10373# ---------------------
10374# One issue with vendor `install' (even GNU) is that you can't
10375# specify the program used to strip binaries. This is especially
10376# annoying in cross-compiling environments, where the build's strip
10377# is unlikely to handle the host's binaries.
10378# Fortunately install-sh will honor a STRIPPROG variable, so we
10379# always use install-sh in `make install-strip', and initialize
10380# STRIPPROG with the value of the STRIP variable (set by the user).
10381AC_DEFUN([AM_PROG_INSTALL_STRIP],
10382[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
10383# Installed binaries are usually stripped using `strip' when the user
10384# run `make install-strip'. However `strip' might not be the right
10385# tool to use in cross-compilation environments, therefore Automake
10386# will honor the `STRIP' environment variable to overrule this program.
10387dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
10388if test "$cross_compiling" != no; then
10389 AC_CHECK_TOOL([STRIP], [strip], :)
10390fi
10391INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10392AC_SUBST([INSTALL_STRIP_PROGRAM])])
10393
10394# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
10395#
10396# This file is free software; the Free Software Foundation
10397# gives unlimited permission to copy and/or distribute it,
10398# with or without modifications, as long as this notice is preserved.
10399
10400# serial 3
10401
10402# _AM_SUBST_NOTMAKE(VARIABLE)
10403# ---------------------------
10404# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10405# This macro is traced by Automake.
10406AC_DEFUN([_AM_SUBST_NOTMAKE])
10407
10408# AM_SUBST_NOTMAKE(VARIABLE)
10409# --------------------------
10410# Public sister of _AM_SUBST_NOTMAKE.
10411AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
10412
10413# Check how to create a tarball. -*- Autoconf -*-
10414
10415# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
10416#
10417# This file is free software; the Free Software Foundation
10418# gives unlimited permission to copy and/or distribute it,
10419# with or without modifications, as long as this notice is preserved.
10420
10421# serial 2
10422
10423# _AM_PROG_TAR(FORMAT)
10424# --------------------
10425# Check how to create a tarball in format FORMAT.
10426# FORMAT should be one of `v7', `ustar', or `pax'.
10427#
10428# Substitute a variable $(am__tar) that is a command
10429# writing to stdout a FORMAT-tarball containing the directory
10430# $tardir.
10431# tardir=directory && $(am__tar) > result.tar
10432#
10433# Substitute a variable $(am__untar) that extract such
10434# a tarball read from stdin.
10435# $(am__untar) < result.tar
10436AC_DEFUN([_AM_PROG_TAR],
10437[# Always define AMTAR for backward compatibility. Yes, it's still used
10438# in the wild :-( We should find a proper way to deprecate it ...
10439AC_SUBST([AMTAR], ['$${TAR-tar}'])
10440m4_if([$1], [v7],
10441 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10442 [m4_case([$1], [ustar],, [pax],,
10443 [m4_fatal([Unknown tar format])])
10444AC_MSG_CHECKING([how to create a $1 tar archive])
10445# Loop over all known methods to create a tar archive until one works.
10446_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10447_am_tools=${am_cv_prog_tar_$1-$_am_tools}
10448# Do not fold the above two line into one, because Tru64 sh and
10449# Solaris sh will not grok spaces in the rhs of `-'.
10450for _am_tool in $_am_tools
10451do
10452 case $_am_tool in
10453 gnutar)
10454 for _am_tar in tar gnutar gtar;
10455 do
10456 AM_RUN_LOG([$_am_tar --version]) && break
10457 done
10458 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10459 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10460 am__untar="$_am_tar -xf -"
10461 ;;
10462 plaintar)
10463 # Must skip GNU tar: if it does not support --format= it doesn't create
10464 # ustar tarball either.
10465 (tar --version) >/dev/null 2>&1 && continue
10466 am__tar='tar chf - "$$tardir"'
10467 am__tar_='tar chf - "$tardir"'
10468 am__untar='tar xf -'
10469 ;;
10470 pax)
10471 am__tar='pax -L -x $1 -w "$$tardir"'
10472 am__tar_='pax -L -x $1 -w "$tardir"'
10473 am__untar='pax -r'
10474 ;;
10475 cpio)
10476 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10477 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10478 am__untar='cpio -i -H $1 -d'
10479 ;;
10480 none)
10481 am__tar=false
10482 am__tar_=false
10483 am__untar=false
10484 ;;
10485 esac
10486
10487 # If the value was cached, stop now. We just wanted to have am__tar
10488 # and am__untar set.
10489 test -n "${am_cv_prog_tar_$1}" && break
10490
10491 # tar/untar a dummy directory, and stop if the command works
10492 rm -rf conftest.dir
10493 mkdir conftest.dir
10494 echo GrepMe > conftest.dir/file
10495 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
10496 rm -rf conftest.dir
10497 if test -s conftest.tar; then
10498 AM_RUN_LOG([$am__untar <conftest.tar])
10499 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10500 fi
10501done
10502rm -rf conftest.dir
10503
10504AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10505AC_MSG_RESULT([$am_cv_prog_tar_$1])])
10506AC_SUBST([am__tar])
10507AC_SUBST([am__untar])
10508]) # _AM_PROG_TAR
10509
10510dnl $Id$10687dnl $Id$
10511dnl10688dnl
10512dnl Copyright (c) 2002-200610689dnl Copyright (c) 2002-2006
@@ -10514,19 +10691,19 @@
10514dnl10691dnl
10515dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.10692dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.
10516dnl10693dnl
10517dnl This program is free software; you can redistribute it and/or modify it10694dnl This program is free software; you can redistribute it and/or modify
10518dnl under the terms of the GNU General Public License as published by the Free10695dnl it under the terms of the GNU General Public License as published by
10519dnl Software Foundation; either version 2 of the License, or (at your option)10696dnl the Free Software Foundation; either version 2 of the License, or
10520dnl any later version.10697dnl (at your option) any later version.
10521dnl10698dnl
10522dnl This program is distributed in the hope that it will be useful, but WITHOUT10699dnl This program is distributed in the hope that it will be useful,
10523dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10700dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10524dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for10701dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10525dnl more details.10702dnl GNU General Public License for more details.
10526dnl10703dnl
10527dnl You should have received a copy of the GNU General Public License along with10704dnl You should have received a copy of the GNU General Public License along
10528dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple10705dnl with this program; if not, write to the Free Software Foundation, Inc.,
10529dnl Place, Suite 330, Boston, MA 02111-1307 USA10706dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
10530dnl10707dnl
10531dnl xdt-depends10708dnl xdt-depends
10532dnl -----------10709dnl -----------
@@ -10711,30 +10888,6 @@
1071110888
1071210889
1071310890
10714dnl BM_DEPEND(varname, package, version)
10715dnl
10716dnl Simple wrapper for XDT_CHECK_PACKAGE("varname", "package", "version"). Kept
10717dnl for backward compatibility. Will be removed in the future.
10718dnl
10719AC_DEFUN([BM_DEPEND],
10720[
10721 XDT_CHECK_PACKAGE([$1], [$2], [$3])
10722])
10723
10724
10725
10726dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring, default)
10727dnl
10728dnl Simple wrapper for XDT_CHECK_OPTIONAL_PACKAGE(). Kept for backward
10729dnl compatibility. Will be removed in the future.
10730dnl
10731AC_DEFUN([BM_DEPEND_CHECK],
10732[
10733 XDT_CHECK_OPTIONAL_PACKAGE([$1], [$2], [$3], [$4], [$5], [$6])
10734])
10735
10736
10737
10738dnl XDT_CHECK_LIBX11()10891dnl XDT_CHECK_LIBX11()
10739dnl10892dnl
10740dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS10893dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS
@@ -10871,66 +11024,6 @@
10871])11024])
1087211025
1087311026
10874
10875dnl BM_LIBX11()
10876dnl
10877dnl Simple wrapper for XDT_CHECK_LIBX11. Kept for backward
10878dnl compatibility. Will be removed in the future.
10879dnl
10880AC_DEFUN([BM_LIBX11],
10881[
10882 AC_REQUIRE([XDT_CHECK_LIBX11])
10883])
10884
10885
10886
10887dnl BM_LIBX11_REQUIRE()
10888dnl
10889dnl Simple wrapper for XDT_CHECK_LIBX11_REQUIRE. Kept for backward
10890dnl compatibility. Will be removed in the future.
10891dnl
10892AC_DEFUN([BM_LIBX11_REQUIRE],
10893[
10894 AC_REQUIRE([XDT_CHECK_LIBX11_REQUIRE])
10895])
10896
10897
10898
10899dnl BM_LIBSM()
10900dnl
10901dnl Simple wrapper for XDT_CHECK_LIBSM. Kept for backward
10902dnl compatibility. Will be removed in the future.
10903dnl
10904AC_DEFUN([BM_LIBSM],
10905[
10906 AC_REQUIRE([XDT_CHECK_LIBSM])
10907])
10908
10909
10910
10911dnl BM_LIBXPM
10912dnl
10913dnl Simple wrapper for XDT_CHECK_LIBXPM. Kept for backward
10914dnl compatibility. Will be removed in the future.
10915dnl
10916AC_DEFUN([BM_LIBXPM],
10917[
10918 AC_REQUIRE([XDT_CHECK_LIBXPM])
10919])
10920
10921
10922
10923dnl BM_LIBXPM_REQUIRE
10924dnl
10925dnl Simple wrapper for XDT_CHECK_LIBXPM_REQUIRE. Kept for
10926dnl backward compatibility. Will be removed in the future.
10927dnl
10928AC_DEFUN([BM_LIBXPM_REQUIRE],
10929[
10930 AC_REQUIRE([XDT_CHECK_LIBXPM_REQUIRE])
10931])
10932
10933
10934dnl $Id$11027dnl $Id$
10935dnl11028dnl
10936dnl Copyright (c) 2002-200611029dnl Copyright (c) 2002-2006
@@ -10938,19 +11031,19 @@
10938dnl11031dnl
10939dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.11032dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.
10940dnl11033dnl
10941dnl This program is free software; you can redistribute it and/or modify it11034dnl This program is free software; you can redistribute it and/or modify
10942dnl under the terms of the GNU General Public License as published by the Free11035dnl it under the terms of the GNU General Public License as published by
10943dnl Software Foundation; either version 2 of the License, or (at your option)11036dnl the Free Software Foundation; either version 2 of the License, or
10944dnl any later version.11037dnl (at your option) any later version.
10945dnl11038dnl
10946dnl This program is distributed in the hope that it will be useful, but WITHOUT11039dnl This program is distributed in the hope that it will be useful,
10947dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11040dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10948dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11041dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10949dnl more details.11042dnl GNU General Public License for more details.
10950dnl11043dnl
10951dnl You should have received a copy of the GNU General Public License along with11044dnl You should have received a copy of the GNU General Public License along
10952dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple11045dnl with this program; if not, write to the Free Software Foundation, Inc.,
10953dnl Place, Suite 330, Boston, MA 02111-1307 USA11046dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
10954dnl11047dnl
10955dnl xdt-depends11048dnl xdt-depends
10956dnl -----------11049dnl -----------
@@ -10975,7 +11068,7 @@
10975 AC_MSG_CHECKING([if $CC supports $flag])11068 AC_MSG_CHECKING([if $CC supports $flag])
10976 saved_CFLAGS="$CFLAGS"11069 saved_CFLAGS="$CFLAGS"
10977 CFLAGS="$CFLAGS $flag"11070 CFLAGS="$CFLAGS $flag"
10978 AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])11071 AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ])], [flag_supported=yes], [flag_supported=no])
10979 CFLAGS="$saved_CFLAGS"11072 CFLAGS="$saved_CFLAGS"
10980 AC_MSG_RESULT([$flag_supported])11073 AC_MSG_RESULT([$flag_supported])
1098111074
@@ -11007,17 +11100,25 @@
11007 -Wno-missing-field-initializers \11100 -Wno-missing-field-initializers \
11008 -Wno-unused-parameter -Wold-style-definition \11101 -Wno-unused-parameter -Wold-style-definition \
11009 -Wdeclaration-after-statement \11102 -Wdeclaration-after-statement \
11010 -Wmissing-declarations -Wredundant-decls \11103 -Wmissing-declarations \
11011 -Wmissing-noreturn -Wshadow -Wpointer-arith \11104 -Wmissing-noreturn -Wshadow -Wpointer-arith \
11012 -Wcast-align -Wformat-security \11105 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
11013 -Winit-self -Wmissing-include-dirs -Wundef \11106 -Winit-self -Wmissing-include-dirs -Wundef \
11014 -Wmissing-format-attribute -Wnested-externs \11107 -Wnested-externs"
11015 -fstack-protector"11108 CPPFLAGS="$CPPFLAGS"
11016 CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"11109
11017 11110 if test x`uname` = x"Linux"; then
11111 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
11112 fi
11113
11114 dnl # signal.h inline is crapy on openbsd
11115 if test x`uname` != x"OpenBSD"; then
11116 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
11117 fi
11118
11018 if test x"$enable_debug" = x"full"; then11119 if test x"$enable_debug" = x"full"; then
11019 AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])11120 AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
11020 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"11121 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
11021 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"11122 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
11022 AC_MSG_RESULT([full])11123 AC_MSG_RESULT([full])
11023 else11124 else
@@ -11044,7 +11145,7 @@
11044 CPPFLAGS="$CPPFLAGS -DNDEBUG"11145 CPPFLAGS="$CPPFLAGS -DNDEBUG"
1104511146
11046 if test x"$enable_debug" = x"no"; then11147 if test x"$enable_debug" = x"no"; then
11047 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"11148 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
11048 AC_MSG_RESULT([no])11149 AC_MSG_RESULT([no])
11049 else11150 else
11050 AC_MSG_RESULT([minimum])11151 AC_MSG_RESULT([minimum])
@@ -11071,7 +11172,7 @@
11071 saved_CFLAGS="$CFLAGS"11172 saved_CFLAGS="$CFLAGS"
11072 CFLAGS="$CFLAGS $xdt_vis_test_cflags"11173 CFLAGS="$CFLAGS $xdt_vis_test_cflags"
11073 AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])11174 AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
11074 AC_COMPILE_IFELSE(AC_LANG_SOURCE(11175 AC_COMPILE_IFELSE([AC_LANG_SOURCE(
11075 [11176 [
11076 void test_default (void);11177 void test_default (void);
11077 void test_hidden (void);11178 void test_hidden (void);
@@ -11084,7 +11185,7 @@
11084 test_hidden ();11185 test_hidden ();
11085 return 0;11186 return 0;
11086 }11187 }
11087 ]),11188 ])],
11088 [11189 [
11089 have_gnuc_visibility=yes11190 have_gnuc_visibility=yes
11090 AC_MSG_RESULT([yes])11191 AC_MSG_RESULT([yes])
@@ -11097,7 +11198,11 @@
1109711198
11098 if test "x$have_gnuc_visibility" = "xyes"; then11199 if test "x$have_gnuc_visibility" = "xyes"; then
11099 CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"11200 CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
11100 XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])11201 xdt_vis_hidden_cflags=""
11202 XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-xldscope=hidden])
11203 if test "x$xdt_vis_hidden_cflags" = "x"; then
11204 XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])
11205 fi
11101 CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"11206 CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
11102 fi11207 fi
1110311208
@@ -11116,104 +11221,28 @@
11116 [enable_linker_opts=$enableval], [enable_linker_opts=yes])11221 [enable_linker_opts=$enableval], [enable_linker_opts=yes])
1111711222
11118 if test "x$enable_linker_opts" != "xno"; then11223 if test "x$enable_linker_opts" != "xno"; then
11119 AC_MSG_CHECKING([whether $LD accepts --as-needed])11224 if test x`uname` != x"OpenBSD"; then
11120 case `$LD --as-needed -v 2>&1 </dev/null` in11225 AC_MSG_CHECKING([whether $LD accepts --as-needed])
11121 *GNU* | *'with BFD'*)11226 case `$LD --as-needed -v 2>&1 </dev/null` in
11122 LDFLAGS="$LDFLAGS -Wl,--as-needed"11227 *GNU* | *'with BFD'*)
11123 AC_MSG_RESULT([yes])11228 LDFLAGS="$LDFLAGS -Wl,--as-needed"
11124 ;;11229 AC_MSG_RESULT([yes])
11125 *)11230 ;;
11126 AC_MSG_RESULT([no])11231 *)
11127 ;;11232 AC_MSG_RESULT([no])
11128 esac11233 ;;
11129 AC_MSG_CHECKING([whether $LD accepts -O1])11234 esac
11130 case `$LD -O1 -v 2>&1 </dev/null` in11235 fi
11131 *GNU* | *'with BFD'*)11236 AC_MSG_CHECKING([whether $LD accepts -O1])
11132 LDFLAGS="$LDFLAGS -Wl,-O1"11237 case `$LD -O1 -v 2>&1 </dev/null` in
11133 AC_MSG_RESULT([yes])11238 *GNU* | *'with BFD'*)
11134 ;;11239 LDFLAGS="$LDFLAGS -Wl,-O1"
11135 *)11240 AC_MSG_RESULT([yes])
11136 AC_MSG_RESULT([no])11241 ;;
11137 ;;11242 *)
11138 esac11243 AC_MSG_RESULT([no])
11139 fi11244 ;;
11140])11245 esac
11141
11142dnl BM_DEBUG_SUPPORT()
11143dnl
11144AC_DEFUN([BM_DEBUG_SUPPORT],
11145[
11146dnl # --enable-debug
11147 AC_REQUIRE([XDT_FEATURE_DEBUG])
11148
11149dnl # --enable-profiling
11150 AC_ARG_ENABLE([profiling],
11151AC_HELP_STRING([--enable-profiling],
11152 [Generate extra code to write profile information])
11153AC_HELP_STRING([--disable-profiling],
11154 [No extra code for profiling (default)]),
11155 [], [enable_profiling=no])
11156
11157 AC_MSG_CHECKING([whether to build with profiling support])
11158 if test x"$enable_profiling" != x"no"; then
11159 CFLAGS="$CFLAGS -pg"
11160 LDFLAGS="$LDFLAGS -pg"
11161 AC_MSG_RESULT([yes])
11162 else
11163 AC_MSG_RESULT([no])
11164 fi
11165
11166dnl # --enable-gcov
11167 AC_ARG_ENABLE([gcov],
11168AC_HELP_STRING([--enable-gcov],
11169 [compile with coverage profiling instrumentation (gcc only)])
11170AC_HELP_STRING([--disable-gcov],
11171 [do not generate coverage profiling instrumentation (default)]),
11172 [], [enable_gcov=no])
11173
11174 AC_MSG_CHECKING([whether to compile with coverage profiling instrumentation])
11175 if test x"$enable_gcov" != x"no"; then
11176 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
11177 AC_MSG_RESULT([yes])
11178 else
11179 AC_MSG_RESULT([no])
11180 fi
11181
11182dnl # --disable-asserts
11183 AC_ARG_ENABLE([asserts],
11184AC_HELP_STRING([--disable-asserts], [Disable assertions [DANGEROUS]]),
11185 [], [enable_asserts=yes])
11186
11187 AC_MSG_CHECKING([whether to disable assertions])
11188 if test x"$enable_asserts" = x"no"; then
11189 AC_MSG_RESULT([yes])
11190 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT"
11191 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
11192 else
11193 AC_MSG_RESULT([no])
11194 fi
11195
11196dnl # --enable-final
11197 AC_REQUIRE([AC_PROG_LD])
11198 AC_ARG_ENABLE([final],
11199AC_HELP_STRING([--enable-final], [Build final version]),
11200 [], [enable_final=yes])
11201
11202 AC_MSG_CHECKING([whether to build final version])
11203 if test x"$enable_final" = x"yes"; then
11204 AC_MSG_RESULT([yes])
11205 AC_MSG_CHECKING([whether $LD accepts -O1])
11206 case `$LD -O1 -v 2>&1 </dev/null` in
11207 *GNU* | *'with BFD'*)
11208 LDFLAGS="$LDFLAGS -Wl,-O1"
11209 AC_MSG_RESULT([yes])
11210 ;;
11211 *)
11212 AC_MSG_RESULT([no])
11213 ;;
11214 esac
11215 else
11216 AC_MSG_RESULT([no])
11217 fi11246 fi
11218])11247])
1121911248
@@ -11224,19 +11253,19 @@
11224dnl11253dnl
11225dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.11254dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.
11226dnl11255dnl
11227dnl This program is free software; you can redistribute it and/or modify it11256dnl This program is free software; you can redistribute it and/or modify
11228dnl under the terms of the GNU General Public License as published by the Free11257dnl it under the terms of the GNU General Public License as published by
11229dnl Software Foundation; either version 2 of the License, or (at your option)11258dnl the Free Software Foundation; either version 2 of the License, or
11230dnl any later version.11259dnl (at your option) any later version.
11231dnl11260dnl
11232dnl This program is distributed in the hope that it will be useful, but WITHOUT11261dnl This program is distributed in the hope that it will be useful,
11233dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11262dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11234dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11263dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11235dnl more details.11264dnl GNU General Public License for more details.
11236dnl11265dnl
11237dnl You should have received a copy of the GNU General Public License along with11266dnl You should have received a copy of the GNU General Public License along
11238dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple11267dnl with this program; if not, write to the Free Software Foundation, Inc.,
11239dnl Place, Suite 330, Boston, MA 02111-1307 USA11268dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
11240dnl11269dnl
11241dnl xdt-i18n11270dnl xdt-i18n
11242dnl --------11271dnl --------
@@ -11295,16 +11324,3 @@
11295])11324])
1129611325
1129711326
11298
11299dnl BM_I18N(PACKAGE, LINGUAS)
11300dnl
11301dnl Simple wrapper for XDT_I18N(LINGUAS, PACKAGE). Kept for
11302dnl backward compatibility. Will be removed in the
11303dnl future.
11304dnl
11305AC_DEFUN([BM_I18N],
11306[
11307 XDT_I18N([$2], [$1])
11308])
11309
11310
1131111327
=== modified file 'compile'
--- compile 2012-05-15 23:20:16 +0000
+++ compile 2015-02-27 07:38:45 +0000
@@ -1,10 +1,9 @@
1#! /bin/sh1#! /bin/sh
2# Wrapper for compilers which do not understand '-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2012-03-05.13; # UTC4scriptversion=2012-10-14.11; # UTC
55
6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free6# Copyright (C) 1999-2013 Free Software Foundation, Inc.
7# Software Foundation, Inc.
8# Written by Tom Tromey <tromey@cygnus.com>.7# Written by Tom Tromey <tromey@cygnus.com>.
9#8#
10# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
@@ -113,6 +112,11 @@
113 lib=$dir/$lib.lib112 lib=$dir/$lib.lib
114 break113 break
115 fi114 fi
115 if test -f "$dir/lib$lib.a"; then
116 found=yes
117 lib=$dir/lib$lib.a
118 break
119 fi
116 done120 done
117 IFS=$save_IFS121 IFS=$save_IFS
118122
119123
=== modified file 'config.guess'
--- config.guess 2012-05-15 23:20:16 +0000
+++ config.guess 2015-02-27 07:38:45 +0000
@@ -1,14 +1,12 @@
1#! /bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright 1992-2014 Free Software Foundation, Inc.
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011, 2012 Free Software Foundation, Inc.
64
7timestamp='2012-02-10'5timestamp='2014-03-23'
86
9# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or9# the Free Software Foundation; either version 3 of the License, or
12# (at your option) any later version.10# (at your option) any later version.
13#11#
14# This program is distributed in the hope that it will be useful, but12# This program is distributed in the hope that it will be useful, but
@@ -22,19 +20,17 @@
22# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
24# configuration script generated by Autoconf, you may include it under22# configuration script generated by Autoconf, you may include it under
25# the same distribution terms that you use for the rest of that program.23# the same distribution terms that you use for the rest of that
2624# program. This Exception is an additional permission under section 7
2725# of the GNU General Public License, version 3 ("GPLv3").
28# Originally written by Per Bothner. Please send patches (context
29# diff format) to <config-patches@gnu.org> and include a ChangeLog
30# entry.
31#26#
32# This script attempts to guess a canonical system name similar to27# Originally written by Per Bothner.
33# config.sub. If it succeeds, it prints the system name on stdout, and
34# exits with 0. Otherwise, it exits with 1.
35#28#
36# You can get the latest version of this script from:29# You can get the latest version of this script from:
37# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD30# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
31#
32# Please send patches with a ChangeLog entry to config-patches@gnu.org.
33
3834
39me=`echo "$0" | sed -e 's,.*/,,'`35me=`echo "$0" | sed -e 's,.*/,,'`
4036
@@ -54,9 +50,7 @@
54GNU config.guess ($timestamp)50GNU config.guess ($timestamp)
5551
56Originally written by Per Bothner.52Originally written by Per Bothner.
57Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,53Copyright 1992-2014 Free Software Foundation, Inc.
582001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
59Free Software Foundation, Inc.
6054
61This is free software; see the source for copying conditions. There is NO55This is free software; see the source for copying conditions. There is NO
62warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -138,6 +132,27 @@
138UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
139UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
140134
135case "${UNAME_SYSTEM}" in
136Linux|GNU|GNU/*)
137 # If the system lacks a compiler, then just pick glibc.
138 # We could probably try harder.
139 LIBC=gnu
140
141 eval $set_cc_for_build
142 cat <<-EOF > $dummy.c
143 #include <features.h>
144 #if defined(__UCLIBC__)
145 LIBC=uclibc
146 #elif defined(__dietlibc__)
147 LIBC=dietlibc
148 #else
149 LIBC=gnu
150 #endif
151 EOF
152 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
153 ;;
154esac
155
141# Note: order is significant - the case branches are not exclusive.156# Note: order is significant - the case branches are not exclusive.
142157
143case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@@ -200,6 +215,10 @@
200 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.215 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
201 echo "${machine}-${os}${release}"216 echo "${machine}-${os}${release}"
202 exit ;;217 exit ;;
218 *:Bitrig:*:*)
219 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
221 exit ;;
203 *:OpenBSD:*:*)222 *:OpenBSD:*:*)
204 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`223 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
205 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}224 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
@@ -302,7 +321,7 @@
302 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)321 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
303 echo arm-acorn-riscix${UNAME_RELEASE}322 echo arm-acorn-riscix${UNAME_RELEASE}
304 exit ;;323 exit ;;
305 arm:riscos:*:*|arm:RISCOS:*:*)324 arm*:riscos:*:*|arm*:RISCOS:*:*)
306 echo arm-unknown-riscos325 echo arm-unknown-riscos
307 exit ;;326 exit ;;
308 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)327 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
@@ -801,10 +820,13 @@
801 i*:CYGWIN*:*)820 i*:CYGWIN*:*)
802 echo ${UNAME_MACHINE}-pc-cygwin821 echo ${UNAME_MACHINE}-pc-cygwin
803 exit ;;822 exit ;;
823 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
825 exit ;;
804 *:MINGW*:*)826 *:MINGW*:*)
805 echo ${UNAME_MACHINE}-pc-mingw32827 echo ${UNAME_MACHINE}-pc-mingw32
806 exit ;;828 exit ;;
807 i*:MSYS*:*)829 *:MSYS*:*)
808 echo ${UNAME_MACHINE}-pc-msys830 echo ${UNAME_MACHINE}-pc-msys
809 exit ;;831 exit ;;
810 i*:windows32*:*)832 i*:windows32*:*)
@@ -852,21 +874,21 @@
852 exit ;;874 exit ;;
853 *:GNU:*:*)875 *:GNU:*:*)
854 # the GNU system876 # the GNU system
855 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
856 exit ;;878 exit ;;
857 *:GNU/*:*:*)879 *:GNU/*:*:*)
858 # other systems with GNU libc and userland880 # other systems with GNU libc and userland
859 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
860 exit ;;882 exit ;;
861 i*86:Minix:*:*)883 i*86:Minix:*:*)
862 echo ${UNAME_MACHINE}-pc-minix884 echo ${UNAME_MACHINE}-pc-minix
863 exit ;;885 exit ;;
864 aarch64:Linux:*:*)886 aarch64:Linux:*:*)
865 echo ${UNAME_MACHINE}-unknown-linux-gnu887 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
866 exit ;;888 exit ;;
867 aarch64_be:Linux:*:*)889 aarch64_be:Linux:*:*)
868 UNAME_MACHINE=aarch64_be890 UNAME_MACHINE=aarch64_be
869 echo ${UNAME_MACHINE}-unknown-linux-gnu891 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
870 exit ;;892 exit ;;
871 alpha:Linux:*:*)893 alpha:Linux:*:*)
872 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in894 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -879,59 +901,54 @@
879 EV68*) UNAME_MACHINE=alphaev68 ;;901 EV68*) UNAME_MACHINE=alphaev68 ;;
880 esac902 esac
881 objdump --private-headers /bin/sh | grep -q ld.so.1903 objdump --private-headers /bin/sh | grep -q ld.so.1
882 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi904 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
883 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
906 exit ;;
907 arc:Linux:*:* | arceb:Linux:*:*)
908 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
884 exit ;;909 exit ;;
885 arm*:Linux:*:*)910 arm*:Linux:*:*)
886 eval $set_cc_for_build911 eval $set_cc_for_build
887 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \912 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
888 | grep -q __ARM_EABI__913 | grep -q __ARM_EABI__
889 then914 then
890 echo ${UNAME_MACHINE}-unknown-linux-gnu915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
891 else916 else
892 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \917 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
893 | grep -q __ARM_PCS_VFP918 | grep -q __ARM_PCS_VFP
894 then919 then
895 echo ${UNAME_MACHINE}-unknown-linux-gnueabi920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
896 else921 else
897 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf922 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
898 fi923 fi
899 fi924 fi
900 exit ;;925 exit ;;
901 avr32*:Linux:*:*)926 avr32*:Linux:*:*)
902 echo ${UNAME_MACHINE}-unknown-linux-gnu927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
903 exit ;;928 exit ;;
904 cris:Linux:*:*)929 cris:Linux:*:*)
905 echo ${UNAME_MACHINE}-axis-linux-gnu930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
906 exit ;;931 exit ;;
907 crisv32:Linux:*:*)932 crisv32:Linux:*:*)
908 echo ${UNAME_MACHINE}-axis-linux-gnu933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
909 exit ;;934 exit ;;
910 frv:Linux:*:*)935 frv:Linux:*:*)
911 echo ${UNAME_MACHINE}-unknown-linux-gnu936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
912 exit ;;937 exit ;;
913 hexagon:Linux:*:*)938 hexagon:Linux:*:*)
914 echo ${UNAME_MACHINE}-unknown-linux-gnu939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
915 exit ;;940 exit ;;
916 i*86:Linux:*:*)941 i*86:Linux:*:*)
917 LIBC=gnu942 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
918 eval $set_cc_for_build
919 sed 's/^ //' << EOF >$dummy.c
920 #ifdef __dietlibc__
921 LIBC=dietlibc
922 #endif
923EOF
924 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
925 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
926 exit ;;943 exit ;;
927 ia64:Linux:*:*)944 ia64:Linux:*:*)
928 echo ${UNAME_MACHINE}-unknown-linux-gnu945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
929 exit ;;946 exit ;;
930 m32r*:Linux:*:*)947 m32r*:Linux:*:*)
931 echo ${UNAME_MACHINE}-unknown-linux-gnu948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
932 exit ;;949 exit ;;
933 m68*:Linux:*:*)950 m68*:Linux:*:*)
934 echo ${UNAME_MACHINE}-unknown-linux-gnu951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
935 exit ;;952 exit ;;
936 mips:Linux:*:* | mips64:Linux:*:*)953 mips:Linux:*:* | mips64:Linux:*:*)
937 eval $set_cc_for_build954 eval $set_cc_for_build
@@ -950,54 +967,63 @@
950 #endif967 #endif
951EOF968EOF
952 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
953 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
954 ;;971 ;;
955 or32:Linux:*:*)972 openrisc*:Linux:*:*)
956 echo ${UNAME_MACHINE}-unknown-linux-gnu973 echo or1k-unknown-linux-${LIBC}
974 exit ;;
975 or32:Linux:*:* | or1k*:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
957 exit ;;977 exit ;;
958 padre:Linux:*:*)978 padre:Linux:*:*)
959 echo sparc-unknown-linux-gnu979 echo sparc-unknown-linux-${LIBC}
960 exit ;;980 exit ;;
961 parisc64:Linux:*:* | hppa64:Linux:*:*)981 parisc64:Linux:*:* | hppa64:Linux:*:*)
962 echo hppa64-unknown-linux-gnu982 echo hppa64-unknown-linux-${LIBC}
963 exit ;;983 exit ;;
964 parisc:Linux:*:* | hppa:Linux:*:*)984 parisc:Linux:*:* | hppa:Linux:*:*)
965 # Look for CPU level985 # Look for CPU level
966 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in986 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
967 PA7*) echo hppa1.1-unknown-linux-gnu ;;987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
968 PA8*) echo hppa2.0-unknown-linux-gnu ;;988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
969 *) echo hppa-unknown-linux-gnu ;;989 *) echo hppa-unknown-linux-${LIBC} ;;
970 esac990 esac
971 exit ;;991 exit ;;
972 ppc64:Linux:*:*)992 ppc64:Linux:*:*)
973 echo powerpc64-unknown-linux-gnu993 echo powerpc64-unknown-linux-${LIBC}
974 exit ;;994 exit ;;
975 ppc:Linux:*:*)995 ppc:Linux:*:*)
976 echo powerpc-unknown-linux-gnu996 echo powerpc-unknown-linux-${LIBC}
997 exit ;;
998 ppc64le:Linux:*:*)
999 echo powerpc64le-unknown-linux-${LIBC}
1000 exit ;;
1001 ppcle:Linux:*:*)
1002 echo powerpcle-unknown-linux-${LIBC}
977 exit ;;1003 exit ;;
978 s390:Linux:*:* | s390x:Linux:*:*)1004 s390:Linux:*:* | s390x:Linux:*:*)
979 echo ${UNAME_MACHINE}-ibm-linux1005 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
980 exit ;;1006 exit ;;
981 sh64*:Linux:*:*)1007 sh64*:Linux:*:*)
982 echo ${UNAME_MACHINE}-unknown-linux-gnu1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
983 exit ;;1009 exit ;;
984 sh*:Linux:*:*)1010 sh*:Linux:*:*)
985 echo ${UNAME_MACHINE}-unknown-linux-gnu1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
986 exit ;;1012 exit ;;
987 sparc:Linux:*:* | sparc64:Linux:*:*)1013 sparc:Linux:*:* | sparc64:Linux:*:*)
988 echo ${UNAME_MACHINE}-unknown-linux-gnu1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
989 exit ;;1015 exit ;;
990 tile*:Linux:*:*)1016 tile*:Linux:*:*)
991 echo ${UNAME_MACHINE}-unknown-linux-gnu1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
992 exit ;;1018 exit ;;
993 vax:Linux:*:*)1019 vax:Linux:*:*)
994 echo ${UNAME_MACHINE}-dec-linux-gnu1020 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
995 exit ;;1021 exit ;;
996 x86_64:Linux:*:*)1022 x86_64:Linux:*:*)
997 echo ${UNAME_MACHINE}-unknown-linux-gnu1023 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
998 exit ;;1024 exit ;;
999 xtensa*:Linux:*:*)1025 xtensa*:Linux:*:*)
1000 echo ${UNAME_MACHINE}-unknown-linux-gnu1026 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1001 exit ;;1027 exit ;;
1002 i*86:DYNIX/ptx:4*:*)1028 i*86:DYNIX/ptx:4*:*)
1003 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.1029 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1201,6 +1227,9 @@
1201 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.1227 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1202 echo i586-pc-haiku1228 echo i586-pc-haiku
1203 exit ;;1229 exit ;;
1230 x86_64:Haiku:*:*)
1231 echo x86_64-unknown-haiku
1232 exit ;;
1204 SX-4:SUPER-UX:*:*)1233 SX-4:SUPER-UX:*:*)
1205 echo sx4-nec-superux${UNAME_RELEASE}1234 echo sx4-nec-superux${UNAME_RELEASE}
1206 exit ;;1235 exit ;;
@@ -1227,19 +1256,31 @@
1227 exit ;;1256 exit ;;
1228 *:Darwin:*:*)1257 *:Darwin:*:*)
1229 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown1258 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1230 case $UNAME_PROCESSOR in1259 eval $set_cc_for_build
1231 i386)1260 if test "$UNAME_PROCESSOR" = unknown ; then
1232 eval $set_cc_for_build1261 UNAME_PROCESSOR=powerpc
1233 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then1262 fi
1234 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \1263 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1235 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \1264 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1236 grep IS_64BIT_ARCH >/dev/null1265 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1237 then1266 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1238 UNAME_PROCESSOR="x86_64"1267 grep IS_64BIT_ARCH >/dev/null
1239 fi1268 then
1240 fi ;;1269 case $UNAME_PROCESSOR in
1241 unknown) UNAME_PROCESSOR=powerpc ;;1270 i386) UNAME_PROCESSOR=x86_64 ;;
1242 esac1271 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1272 esac
1273 fi
1274 fi
1275 elif test "$UNAME_PROCESSOR" = i386 ; then
1276 # Avoid executing cc on OS X 10.9, as it ships with a stub
1277 # that puts up a graphical alert prompting to install
1278 # developer tools. Any system running Mac OS X 10.7 or
1279 # later (Darwin 11 and later) is required to have a 64-bit
1280 # processor. This is not true of the ARM version of Darwin
1281 # that Apple uses in portable devices.
1282 UNAME_PROCESSOR=x86_64
1283 fi
1243 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}1284 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1244 exit ;;1285 exit ;;
1245 *:procnto*:*:* | *:QNX:[0123456789]*:*)1286 *:procnto*:*:* | *:QNX:[0123456789]*:*)
@@ -1256,7 +1297,7 @@
1256 NEO-?:NONSTOP_KERNEL:*:*)1297 NEO-?:NONSTOP_KERNEL:*:*)
1257 echo neo-tandem-nsk${UNAME_RELEASE}1298 echo neo-tandem-nsk${UNAME_RELEASE}
1258 exit ;;1299 exit ;;
1259 NSE-?:NONSTOP_KERNEL:*:*)1300 NSE-*:NONSTOP_KERNEL:*:*)
1260 echo nse-tandem-nsk${UNAME_RELEASE}1301 echo nse-tandem-nsk${UNAME_RELEASE}
1261 exit ;;1302 exit ;;
1262 NSR-?:NONSTOP_KERNEL:*:*)1303 NSR-?:NONSTOP_KERNEL:*:*)
@@ -1330,157 +1371,6 @@
1330 exit ;;1371 exit ;;
1331esac1372esac
13321373
1333#echo '(No uname command or uname output not recognized.)' 1>&2
1334#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1335
1336eval $set_cc_for_build
1337cat >$dummy.c <<EOF
1338#ifdef _SEQUENT_
1339# include <sys/types.h>
1340# include <sys/utsname.h>
1341#endif
1342main ()
1343{
1344#if defined (sony)
1345#if defined (MIPSEB)
1346 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1347 I don't know.... */
1348 printf ("mips-sony-bsd\n"); exit (0);
1349#else
1350#include <sys/param.h>
1351 printf ("m68k-sony-newsos%s\n",
1352#ifdef NEWSOS4
1353 "4"
1354#else
1355 ""
1356#endif
1357 ); exit (0);
1358#endif
1359#endif
1360
1361#if defined (__arm) && defined (__acorn) && defined (__unix)
1362 printf ("arm-acorn-riscix\n"); exit (0);
1363#endif
1364
1365#if defined (hp300) && !defined (hpux)
1366 printf ("m68k-hp-bsd\n"); exit (0);
1367#endif
1368
1369#if defined (NeXT)
1370#if !defined (__ARCHITECTURE__)
1371#define __ARCHITECTURE__ "m68k"
1372#endif
1373 int version;
1374 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1375 if (version < 4)
1376 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1377 else
1378 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1379 exit (0);
1380#endif
1381
1382#if defined (MULTIMAX) || defined (n16)
1383#if defined (UMAXV)
1384 printf ("ns32k-encore-sysv\n"); exit (0);
1385#else
1386#if defined (CMU)
1387 printf ("ns32k-encore-mach\n"); exit (0);
1388#else
1389 printf ("ns32k-encore-bsd\n"); exit (0);
1390#endif
1391#endif
1392#endif
1393
1394#if defined (__386BSD__)
1395 printf ("i386-pc-bsd\n"); exit (0);
1396#endif
1397
1398#if defined (sequent)
1399#if defined (i386)
1400 printf ("i386-sequent-dynix\n"); exit (0);
1401#endif
1402#if defined (ns32000)
1403 printf ("ns32k-sequent-dynix\n"); exit (0);
1404#endif
1405#endif
1406
1407#if defined (_SEQUENT_)
1408 struct utsname un;
1409
1410 uname(&un);
1411
1412 if (strncmp(un.version, "V2", 2) == 0) {
1413 printf ("i386-sequent-ptx2\n"); exit (0);
1414 }
1415 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1416 printf ("i386-sequent-ptx1\n"); exit (0);
1417 }
1418 printf ("i386-sequent-ptx\n"); exit (0);
1419
1420#endif
1421
1422#if defined (vax)
1423# if !defined (ultrix)
1424# include <sys/param.h>
1425# if defined (BSD)
1426# if BSD == 43
1427 printf ("vax-dec-bsd4.3\n"); exit (0);
1428# else
1429# if BSD == 199006
1430 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1431# else
1432 printf ("vax-dec-bsd\n"); exit (0);
1433# endif
1434# endif
1435# else
1436 printf ("vax-dec-bsd\n"); exit (0);
1437# endif
1438# else
1439 printf ("vax-dec-ultrix\n"); exit (0);
1440# endif
1441#endif
1442
1443#if defined (alliant) && defined (i860)
1444 printf ("i860-alliant-bsd\n"); exit (0);
1445#endif
1446
1447 exit (1);
1448}
1449EOF
1450
1451$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1452 { echo "$SYSTEM_NAME"; exit; }
1453
1454# Apollos put the system type in the environment.
1455
1456test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1457
1458# Convex versions that predate uname can use getsysinfo(1)
1459
1460if [ -x /usr/convex/getsysinfo ]
1461then
1462 case `getsysinfo -f cpu_type` in
1463 c1*)
1464 echo c1-convex-bsd
1465 exit ;;
1466 c2*)
1467 if getsysinfo -f scalar_acc
1468 then echo c32-convex-bsd
1469 else echo c2-convex-bsd
1470 fi
1471 exit ;;
1472 c34*)
1473 echo c34-convex-bsd
1474 exit ;;
1475 c38*)
1476 echo c38-convex-bsd
1477 exit ;;
1478 c4*)
1479 echo c4-convex-bsd
1480 exit ;;
1481 esac
1482fi
1483
1484cat >&2 <<EOF1374cat >&2 <<EOF
1485$0: unable to guess system type1375$0: unable to guess system type
14861376
14871377
=== modified file 'config.h.in'
--- config.h.in 2011-06-18 22:46:33 +0000
+++ config.h.in 2015-02-27 07:38:45 +0000
@@ -1,4 +1,4 @@
1/* config.h.in. Generated from configure.in by autoheader. */1/* config.h.in. Generated from configure.ac by autoheader. */
22
3/* Define for debugging support */3/* Define for debugging support */
4#undef DEBUG4#undef DEBUG
@@ -139,9 +139,6 @@
139/* Complete path to netcat */139/* Complete path to netcat */
140#undef NETCAT_PATH140#undef NETCAT_PATH
141141
142/* Define to 1 if your C compiler doesn't accept -c and -o together. */
143#undef NO_MINUS_C_MINUS_O
144
145/* Name of package */142/* Name of package */
146#undef PACKAGE143#undef PACKAGE
147144
148145
=== modified file 'config.sub'
--- config.sub 2012-05-15 23:20:16 +0000
+++ config.sub 2015-02-27 07:38:45 +0000
@@ -1,24 +1,18 @@
1#! /bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright 1992-2014 Free Software Foundation, Inc.
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,4
5# 2011, 2012 Free Software Foundation, Inc.5timestamp='2014-09-11'
66
7timestamp='2012-02-10'7# This file is free software; you can redistribute it and/or modify it
88# under the terms of the GNU General Public License as published by
9# This file is (in principle) common to ALL GNU software.9# the Free Software Foundation; either version 3 of the License, or
10# The presence of a machine in this file suggests that SOME GNU software
11# can handle that machine. It does not imply ALL GNU software can.
12#
13# This file is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation; either version 2 of the License, or
16# (at your option) any later version.10# (at your option) any later version.
17#11#
18# This program is distributed in the hope that it will be useful,12# This program is distributed in the hope that it will be useful, but
19# but WITHOUT ANY WARRANTY; without even the implied warranty of13# WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21# GNU General Public License for more details.15# General Public License for more details.
22#16#
23# You should have received a copy of the GNU General Public License17# You should have received a copy of the GNU General Public License
24# along with this program; if not, see <http://www.gnu.org/licenses/>.18# along with this program; if not, see <http://www.gnu.org/licenses/>.
@@ -26,11 +20,12 @@
26# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
27# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
28# configuration script generated by Autoconf, you may include it under22# configuration script generated by Autoconf, you may include it under
29# the same distribution terms that you use for the rest of that program.23# the same distribution terms that you use for the rest of that
3024# program. This Exception is an additional permission under section 7
3125# of the GNU General Public License, version 3 ("GPLv3").
32# Please send patches to <config-patches@gnu.org>. Submit a context26
33# diff and a properly formatted GNU ChangeLog entry.27
28# Please send patches with a ChangeLog entry to config-patches@gnu.org.
34#29#
35# Configuration subroutine to validate and canonicalize a configuration type.30# Configuration subroutine to validate and canonicalize a configuration type.
36# Supply the specified configuration type as an argument.31# Supply the specified configuration type as an argument.
@@ -73,9 +68,7 @@
73version="\68version="\
74GNU config.sub ($timestamp)69GNU config.sub ($timestamp)
7570
76Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,71Copyright 1992-2014 Free Software Foundation, Inc.
772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
78Free Software Foundation, Inc.
7972
80This is free software; see the source for copying conditions. There is NO73This is free software; see the source for copying conditions. There is NO
81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."74warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -123,7 +116,7 @@
123maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`116maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124case $maybe_os in117case $maybe_os in
125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127 knetbsd*-gnu* | netbsd*-gnu* | \120 knetbsd*-gnu* | netbsd*-gnu* | \
128 kopensolaris*-gnu* | \121 kopensolaris*-gnu* | \
129 storm-chaos* | os2-emx* | rtmk-nova*)122 storm-chaos* | os2-emx* | rtmk-nova*)
@@ -156,7 +149,7 @@
156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
159 -apple | -axis | -knuth | -cray | -microblaze)152 -apple | -axis | -knuth | -cray | -microblaze*)
160 os=153 os=
161 basic_machine=$1154 basic_machine=$1
162 ;;155 ;;
@@ -225,6 +218,12 @@
225 -isc*)218 -isc*)
226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227 ;;220 ;;
221 -lynx*178)
222 os=-lynxos178
223 ;;
224 -lynx*5)
225 os=-lynxos5
226 ;;
228 -lynx*)227 -lynx*)
229 os=-lynxos228 os=-lynxos
230 ;;229 ;;
@@ -253,10 +252,12 @@
253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
255 | am33_2.0 \254 | am33_2.0 \
256 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \255 | arc | arceb \
257 | be32 | be64 \256 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257 | avr | avr32 \
258 | be32 | be64 \
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: