Merge lp:~noskcaj/ubuntu/vivid/xfce4-sensors-plugin/1.2.6 into lp:ubuntu/vivid/xfce4-sensors-plugin
- Vivid (15.04)
- 1.2.6
- Merge into vivid
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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sean Davis (community) | xubuntu technical lead | Approve | |
Review via email: mp+251215@code.launchpad.net |
Commit message
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 : | # |
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
1 | === removed file '.pc/applied-patches' | |||
2 | --- .pc/applied-patches 2013-05-26 13:18:22 +0000 | |||
3 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,1 +0,0 @@ | |||
5 | 1 | fix_typo_in_fr.po.diff | ||
6 | 2 | 0 | ||
7 | === removed directory '.pc/fix_typo_in_fr.po.diff' | |||
8 | === removed directory '.pc/fix_typo_in_fr.po.diff/po' | |||
9 | === removed file '.pc/fix_typo_in_fr.po.diff/po/fr.po' | |||
10 | --- .pc/fix_typo_in_fr.po.diff/po/fr.po 2013-05-26 13:18:22 +0000 | |||
11 | +++ .pc/fix_typo_in_fr.po.diff/po/fr.po 1970-01-01 00:00:00 +0000 | |||
12 | @@ -1,432 +0,0 @@ | |||
13 | 1 | # French translations for xfce4-sensors-plugin package. | ||
14 | 2 | # Copyright (C) 2004-2005 Fabian Nowak. | ||
15 | 3 | # This file is distributed under the same license as the xfce4-sensors-plugin package. | ||
16 | 4 | # Stephane Roy <sroy@j2n.net>, 2005. | ||
17 | 5 | # Fabian Nowak <timystery@arcor.de>, 2005. | ||
18 | 6 | # Maximilian Schleiss <maximilian@xfce.org>, 2006. | ||
19 | 7 | # | ||
20 | 8 | msgid "" | ||
21 | 9 | msgstr "" | ||
22 | 10 | "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n" | ||
23 | 11 | "Report-Msgid-Bugs-To: \n" | ||
24 | 12 | "POT-Creation-Date: 2012-05-14 14:26+0200\n" | ||
25 | 13 | "PO-Revision-Date: 2009-03-19 21:00+0100\n" | ||
26 | 14 | "Last-Translator: Mike Massonnet <mmassonnet@gmail.com>\n" | ||
27 | 15 | "Language-Team: French <xfce-i18n@xfce.org>\n" | ||
28 | 16 | "Language: fr\n" | ||
29 | 17 | "MIME-Version: 1.0\n" | ||
30 | 18 | "Content-Type: text/plain; charset=UTF-8\n" | ||
31 | 19 | "Content-Transfer-Encoding: 8bit\n" | ||
32 | 20 | |||
33 | 21 | #: ../panel-plugin/sensors-plugin.c:287 ../panel-plugin/sensors-plugin.c:384 | ||
34 | 22 | #: ../panel-plugin/sensors-plugin.c:977 | ||
35 | 23 | msgid "<span foreground=\"#000000\"><b>Sensors</b></span>" | ||
36 | 24 | msgstr "<span foreground=\"#000000\"><b>Capteurs</b></span>" | ||
37 | 25 | |||
38 | 26 | #. widget = sensors->eventbox; | ||
39 | 27 | #: ../panel-plugin/sensors-plugin.c:783 | ||
40 | 28 | msgid "No sensors selected!" | ||
41 | 29 | msgstr "Aucun capteur sélectionné !" | ||
42 | 30 | |||
43 | 31 | #. FIXME: either print nothing, or undertake appropriate action, | ||
44 | 32 | #. * or pop up a message box. | ||
45 | 33 | #: ../panel-plugin/sensors-plugin.c:823 | ||
46 | 34 | #, c-format | ||
47 | 35 | msgid "" | ||
48 | 36 | "Sensors Plugin:\n" | ||
49 | 37 | "Seems like there was a problem reading a sensor feature value.\n" | ||
50 | 38 | "Proper proceeding cannot be guaranteed.\n" | ||
51 | 39 | msgstr "" | ||
52 | 40 | "Greffon de Capteurs :\n" | ||
53 | 41 | "Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n" | ||
54 | 42 | "L'exécution normale ne peut pas être garantie.\n" | ||
55 | 43 | |||
56 | 44 | #: ../panel-plugin/sensors-plugin.c:1684 | ||
57 | 45 | msgid "UI style:" | ||
58 | 46 | msgstr "Style de l'interface :" | ||
59 | 47 | |||
60 | 48 | #: ../panel-plugin/sensors-plugin.c:1685 | ||
61 | 49 | msgid "_text" | ||
62 | 50 | msgstr "_texte" | ||
63 | 51 | |||
64 | 52 | #: ../panel-plugin/sensors-plugin.c:1687 | ||
65 | 53 | msgid "_progress bars" | ||
66 | 54 | msgstr "_barres de progression" | ||
67 | 55 | |||
68 | 56 | #: ../panel-plugin/sensors-plugin.c:1689 | ||
69 | 57 | msgid "_tachos" | ||
70 | 58 | msgstr "_tachys" | ||
71 | 59 | |||
72 | 60 | #: ../panel-plugin/sensors-plugin.c:1734 | ||
73 | 61 | msgid "Show _labels" | ||
74 | 62 | msgstr "Affi_cher les étiquettes" | ||
75 | 63 | |||
76 | 64 | #: ../panel-plugin/sensors-plugin.c:1764 | ||
77 | 65 | msgid "Show colored _bars" | ||
78 | 66 | msgstr "Afficher les _barres en couleur" | ||
79 | 67 | |||
80 | 68 | #: ../panel-plugin/sensors-plugin.c:1792 | ||
81 | 69 | msgid "_Show title" | ||
82 | 70 | msgstr "Affi_cher le titre" | ||
83 | 71 | |||
84 | 72 | #: ../panel-plugin/sensors-plugin.c:1816 | ||
85 | 73 | msgid "_Number of text lines:" | ||
86 | 74 | msgstr "_Nombre de lignes de texte :" | ||
87 | 75 | |||
88 | 76 | #: ../panel-plugin/sensors-plugin.c:1851 | ||
89 | 77 | msgid "F_ont size:" | ||
90 | 78 | msgstr "Taille de la _police :" | ||
91 | 79 | |||
92 | 80 | #. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically); | ||
93 | 81 | #: ../panel-plugin/sensors-plugin.c:1858 | ||
94 | 82 | msgid "x-small" | ||
95 | 83 | msgstr "très petite" | ||
96 | 84 | |||
97 | 85 | #: ../panel-plugin/sensors-plugin.c:1859 | ||
98 | 86 | msgid "small" | ||
99 | 87 | msgstr "petite" | ||
100 | 88 | |||
101 | 89 | #: ../panel-plugin/sensors-plugin.c:1860 | ||
102 | 90 | msgid "medium" | ||
103 | 91 | msgstr "normale" | ||
104 | 92 | |||
105 | 93 | #: ../panel-plugin/sensors-plugin.c:1861 | ||
106 | 94 | msgid "large" | ||
107 | 95 | msgstr "grande" | ||
108 | 96 | |||
109 | 97 | #: ../panel-plugin/sensors-plugin.c:1862 | ||
110 | 98 | msgid "x-large" | ||
111 | 99 | msgstr "très grande" | ||
112 | 100 | |||
113 | 101 | #: ../panel-plugin/sensors-plugin.c:1893 | ||
114 | 102 | msgid "F_ont:" | ||
115 | 103 | msgstr "Taille de la _police :" | ||
116 | 104 | |||
117 | 105 | #: ../panel-plugin/sensors-plugin.c:1927 | ||
118 | 106 | msgid "Show _Units" | ||
119 | 107 | msgstr "Afficher les _unités" | ||
120 | 108 | |||
121 | 109 | #: ../panel-plugin/sensors-plugin.c:1948 | ||
122 | 110 | msgid "Small horizontal s_pacing" | ||
123 | 111 | msgstr "E_space horizontal petit" | ||
124 | 112 | |||
125 | 113 | #: ../panel-plugin/sensors-plugin.c:1970 | ||
126 | 114 | msgid "Suppress messages" | ||
127 | 115 | msgstr "Supprimer les messages" | ||
128 | 116 | |||
129 | 117 | #: ../panel-plugin/sensors-plugin.c:1995 | ||
130 | 118 | msgid "E_xecute on double click:" | ||
131 | 119 | msgstr "E_xécute après un double clic :" | ||
132 | 120 | |||
133 | 121 | #: ../panel-plugin/sensors-plugin.c:2038 | ||
134 | 122 | msgid "_View" | ||
135 | 123 | msgstr "_Afficher" | ||
136 | 124 | |||
137 | 125 | #: ../panel-plugin/sensors-plugin.c:2072 | ||
138 | 126 | msgid "_Miscellaneous" | ||
139 | 127 | msgstr "_Divers" | ||
140 | 128 | |||
141 | 129 | #: ../panel-plugin/sensors-plugin.c:2145 ../panel-plugin/sensors-plugin.h:30 | ||
142 | 130 | #: ../lib/hddtemp.c:180 | ||
143 | 131 | msgid "Sensors Plugin" | ||
144 | 132 | msgstr "Greffon de Capteurs" | ||
145 | 133 | |||
146 | 134 | #. gtk_cpu_paint(sensors->tachos [i][index_feature]); | ||
147 | 135 | #. gtk_cpu_expose(sensors->tachos [i][index_feature], NULL); | ||
148 | 136 | #. #if GTK_VERSION < 2.11 | ||
149 | 137 | #: ../panel-plugin/sensors-plugin.c:2184 ../src/actions.c:205 | ||
150 | 138 | msgid "" | ||
151 | 139 | "You can change a feature's properties such as name, colours, min/max value " | ||
152 | 140 | "by double-clicking the entry, editing the content, and pressing \"Return\" " | ||
153 | 141 | "or selecting a different field." | ||
154 | 142 | msgstr "" | ||
155 | 143 | "Vous pouvez changez les propriétés d'un aspect tel que le nom, les couleurs, " | ||
156 | 144 | "la valeur min/max en double-cliquant sur l'entrée, éditer le contenu et " | ||
157 | 145 | "presser \"Entrée\" ou sélectionner un autre champ." | ||
158 | 146 | |||
159 | 147 | #. only use this if no hddtemp sensor | ||
160 | 148 | #. or do only use this , if it is an lmsensors device. whatever. | ||
161 | 149 | #. FIXME: compare strings, or also have hddtmep and acpi store numeric values | ||
162 | 150 | #. assert correctly saved file | ||
163 | 151 | #: ../lib/configuration.c:160 ../lib/configuration.c:358 | ||
164 | 152 | #: ../lib/configuration.c:365 ../lib/hddtemp.c:362 ../lib/hddtemp.c:411 | ||
165 | 153 | msgid "Hard disks" | ||
166 | 154 | msgstr "Disques dur" | ||
167 | 155 | |||
168 | 156 | #: ../lib/acpi.c:521 ../lib/acpi.c:529 | ||
169 | 157 | msgid "ACPI" | ||
170 | 158 | msgstr "ACPI" | ||
171 | 159 | |||
172 | 160 | #. to be displayed | ||
173 | 161 | #. chip->description = g_strdup(_("Advanced Configuration and Power Interface")); | ||
174 | 162 | #: ../lib/acpi.c:523 | ||
175 | 163 | #, c-format | ||
176 | 164 | msgid "ACPI v%s zones" | ||
177 | 165 | msgstr "Zones ACPI v%s" | ||
178 | 166 | |||
179 | 167 | #. who knows, if we obtain non-NULL version at all... | ||
180 | 168 | #. || g_strisempty(version)) | ||
181 | 169 | #: ../lib/acpi.c:661 | ||
182 | 170 | msgid "<Unknown>" | ||
183 | 171 | msgstr "<Inconnu>" | ||
184 | 172 | |||
185 | 173 | #: ../lib/nvidia.c:60 | ||
186 | 174 | msgid "NVidia GPU core temperature" | ||
187 | 175 | msgstr "Température du GPU NVidia" | ||
188 | 176 | |||
189 | 177 | #: ../lib/nvidia.c:61 | ||
190 | 178 | msgid "nvidia" | ||
191 | 179 | msgstr "nvidia" | ||
192 | 180 | |||
193 | 181 | #. if (scale == FAHRENHEIT) { | ||
194 | 182 | #. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) ); | ||
195 | 183 | #. } else { // Celsius | ||
196 | 184 | #. Celsius | ||
197 | 185 | #: ../lib/nvidia.c:126 ../lib/hddtemp.c:720 | ||
198 | 186 | #: ../lib/sensors-interface-common.c:147 | ||
199 | 187 | #, c-format | ||
200 | 188 | msgid "%.1f °C" | ||
201 | 189 | msgstr "%.1f °C" | ||
202 | 190 | |||
203 | 191 | #: ../lib/hddtemp.c:410 | ||
204 | 192 | msgid "S.M.A.R.T. harddisk temperatures" | ||
205 | 193 | msgstr "Sondes de température du disque dur S.M.A.R.T." | ||
206 | 194 | |||
207 | 195 | #: ../lib/hddtemp.c:605 | ||
208 | 196 | #, c-format | ||
209 | 197 | msgid "" | ||
210 | 198 | "\"hddtemp\" was not executed correctly, although it is executable. This is " | ||
211 | 199 | "most probably due to the disks requiring root privileges to read their " | ||
212 | 200 | "temperatures, and \"hddtemp\" not being setuid root.\n" | ||
213 | 201 | "\n" | ||
214 | 202 | "An easy but dirty solution is to run \"chmod u+s %s\" as root user and " | ||
215 | 203 | "restart this plugin or its panel.\n" | ||
216 | 204 | "\n" | ||
217 | 205 | "Calling \"%s\" gave the following error:\n" | ||
218 | 206 | "%s\n" | ||
219 | 207 | "with a return value of %d.\n" | ||
220 | 208 | msgstr "" | ||
221 | 209 | "\"hddtemp\" n'a pas été exécuté correctement bien qu'il soit exécutable. Il " | ||
222 | 210 | "se pourrait bien que ce soit dû à des privilèges restreint pour la lecture " | ||
223 | 211 | "des températures et que \"hddtemp\" ne soit pas fixé avec un setuid root.\n" | ||
224 | 212 | "\n" | ||
225 | 213 | "Une solution simple mais radicale consiste à lancer la commande \"chmod u+s " | ||
226 | 214 | "%s\" en tant que root et de relancer le greffon ou le panneau.\n" | ||
227 | 215 | "\n" | ||
228 | 216 | "L'appel à \"%s\" a donné l'erreur suivante :\n" | ||
229 | 217 | "%s\n" | ||
230 | 218 | "avec le code retour %d.\n" | ||
231 | 219 | |||
232 | 220 | #: ../lib/hddtemp.c:621 ../lib/hddtemp.c:651 | ||
233 | 221 | msgid "Suppress this message in future" | ||
234 | 222 | msgstr "Ne plus afficher ce message" | ||
235 | 223 | |||
236 | 224 | #: ../lib/hddtemp.c:645 | ||
237 | 225 | #, c-format | ||
238 | 226 | msgid "" | ||
239 | 227 | "An error occurred when executing \"%s\":\n" | ||
240 | 228 | "%s" | ||
241 | 229 | msgstr "" | ||
242 | 230 | "Une erreur est survenue lors de l'exécution de \"%s\" :\n" | ||
243 | 231 | "%s" | ||
244 | 232 | |||
245 | 233 | #: ../lib/lmsensors.c:110 | ||
246 | 234 | msgid "LM Sensors" | ||
247 | 235 | msgstr "LM Capteurs" | ||
248 | 236 | |||
249 | 237 | #: ../lib/lmsensors.c:370 ../lib/lmsensors.c:417 | ||
250 | 238 | #, c-format | ||
251 | 239 | msgid "Error: Could not connect to sensors!" | ||
252 | 240 | msgstr "Erreur : ne peut pas se connecter aux capteurs !" | ||
253 | 241 | |||
254 | 242 | #: ../lib/sensors-interface.c:84 | ||
255 | 243 | msgid "Sensors Plugin Failure" | ||
256 | 244 | msgstr "Erreur dans le greffon de capteurs" | ||
257 | 245 | |||
258 | 246 | #: ../lib/sensors-interface.c:85 | ||
259 | 247 | msgid "" | ||
260 | 248 | "Seems like there was a problem reading a sensor feature value.\n" | ||
261 | 249 | "Proper proceeding cannot be guaranteed." | ||
262 | 250 | msgstr "" | ||
263 | 251 | "Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n" | ||
264 | 252 | "L'exécution normale ne peut pas être garantie." | ||
265 | 253 | |||
266 | 254 | #: ../lib/sensors-interface.c:172 | ||
267 | 255 | msgid "Sensors t_ype:" | ||
268 | 256 | msgstr "T_ype de capteurs :" | ||
269 | 257 | |||
270 | 258 | #: ../lib/sensors-interface.c:198 | ||
271 | 259 | msgid "Description:" | ||
272 | 260 | msgstr "Description :" | ||
273 | 261 | |||
274 | 262 | #: ../lib/sensors-interface.c:231 | ||
275 | 263 | msgid "U_pdate interval (seconds):" | ||
276 | 264 | msgstr "_Intervalle de mise-à-jour (secondes) :" | ||
277 | 265 | |||
278 | 266 | #: ../lib/sensors-interface.c:271 | ||
279 | 267 | msgid "Name" | ||
280 | 268 | msgstr "Nom" | ||
281 | 269 | |||
282 | 270 | #: ../lib/sensors-interface.c:283 | ||
283 | 271 | msgid "Value" | ||
284 | 272 | msgstr "Valeur" | ||
285 | 273 | |||
286 | 274 | #: ../lib/sensors-interface.c:291 | ||
287 | 275 | msgid "Show" | ||
288 | 276 | msgstr "Afficher" | ||
289 | 277 | |||
290 | 278 | #: ../lib/sensors-interface.c:300 | ||
291 | 279 | msgid "Color" | ||
292 | 280 | msgstr "Couleur" | ||
293 | 281 | |||
294 | 282 | #: ../lib/sensors-interface.c:313 | ||
295 | 283 | msgid "Min" | ||
296 | 284 | msgstr "Min" | ||
297 | 285 | |||
298 | 286 | #: ../lib/sensors-interface.c:330 | ||
299 | 287 | msgid "Max" | ||
300 | 288 | msgstr "Max" | ||
301 | 289 | |||
302 | 290 | #: ../lib/sensors-interface.c:371 | ||
303 | 291 | msgid "Temperature scale:" | ||
304 | 292 | msgstr "Échelle de température :" | ||
305 | 293 | |||
306 | 294 | #: ../lib/sensors-interface.c:373 | ||
307 | 295 | msgid "_Celsius" | ||
308 | 296 | msgstr "_Celsius" | ||
309 | 297 | |||
310 | 298 | #: ../lib/sensors-interface.c:375 | ||
311 | 299 | msgid "_Fahrenheit" | ||
312 | 300 | msgstr "_Fahrenheit" | ||
313 | 301 | |||
314 | 302 | #: ../lib/sensors-interface.c:411 | ||
315 | 303 | msgid "_Sensors" | ||
316 | 304 | msgstr "_Senseurs" | ||
317 | 305 | |||
318 | 306 | #: ../lib/sensors-interface-common.c:73 ../lib/sensors-interface-common.c:74 | ||
319 | 307 | msgid "No sensors found!" | ||
320 | 308 | msgstr "Aucun capteur trouvé !" | ||
321 | 309 | |||
322 | 310 | #: ../lib/sensors-interface-common.c:144 | ||
323 | 311 | #, c-format | ||
324 | 312 | msgid "%.1f °F" | ||
325 | 313 | msgstr "%.1f °F" | ||
326 | 314 | |||
327 | 315 | #: ../lib/sensors-interface-common.c:152 | ||
328 | 316 | #, c-format | ||
329 | 317 | msgid "%+.2f V" | ||
330 | 318 | msgstr "%+.2f V" | ||
331 | 319 | |||
332 | 320 | #: ../lib/sensors-interface-common.c:156 | ||
333 | 321 | #, c-format | ||
334 | 322 | msgid "%.0f mWh" | ||
335 | 323 | msgstr "%.0f mWh" | ||
336 | 324 | |||
337 | 325 | #: ../lib/sensors-interface-common.c:161 | ||
338 | 326 | msgid "off" | ||
339 | 327 | msgstr "inactif" | ||
340 | 328 | |||
341 | 329 | #: ../lib/sensors-interface-common.c:163 | ||
342 | 330 | msgid "on" | ||
343 | 331 | msgstr "actif" | ||
344 | 332 | |||
345 | 333 | #: ../lib/sensors-interface-common.c:167 | ||
346 | 334 | #, c-format | ||
347 | 335 | msgid "%.0f rpm" | ||
348 | 336 | msgstr "%.0f tr/mn" | ||
349 | 337 | |||
350 | 338 | #: ../src/main.c:52 | ||
351 | 339 | #, c-format | ||
352 | 340 | msgid "" | ||
353 | 341 | "Xfce4 Sensors %s\n" | ||
354 | 342 | "This program is published under the GPL v2.\n" | ||
355 | 343 | "The license text can be found inside the program's source archive or under /" | ||
356 | 344 | "usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-" | ||
357 | 345 | "licenses/gpl-2.0.txt\n" | ||
358 | 346 | msgstr "" | ||
359 | 347 | "Capteurs Xfce4 %s\n" | ||
360 | 348 | "Ce programme est publié sous la licence GPL v2.\n" | ||
361 | 349 | "Le texte de la licence est disponible à l'intérieur de l'archive source du " | ||
362 | 350 | "programme ou sur http://www.gun.org/licenses/\n" | ||
363 | 351 | |||
364 | 352 | #: ../src/main.c:64 | ||
365 | 353 | #, c-format | ||
366 | 354 | msgid "" | ||
367 | 355 | "Xfce4 Sensors %s\n" | ||
368 | 356 | "Displays information about your hardware sensors, ACPI status, harddisk " | ||
369 | 357 | "temperatures and Nvidia GPU's temperature.\n" | ||
370 | 358 | "Synopsis: \n" | ||
371 | 359 | " xfce4-sensors options\n" | ||
372 | 360 | "where options are one or more of the following:\n" | ||
373 | 361 | " -h, --help Print this help dialog.\n" | ||
374 | 362 | " -l, --license Print license information.\n" | ||
375 | 363 | " -V, --version Print version information.\n" | ||
376 | 364 | "\n" | ||
377 | 365 | "This program is published under the GPL v2.\n" | ||
378 | 366 | msgstr "" | ||
379 | 367 | "Capteurs Xfce4 %s\n" | ||
380 | 368 | "Affiche des informations à propos des capteurs et ACPI.\n" | ||
381 | 369 | "Usage :\n" | ||
382 | 370 | " options xfce4-sensors\n" | ||
383 | 371 | "où options sont l'une où plusieurs des suivantes :\n" | ||
384 | 372 | " -h, --help Affiche l'aide.\n" | ||
385 | 373 | " -l, --license Affiche les informations de licence.\n" | ||
386 | 374 | " -V, --version Affiche les informations de version.\n" | ||
387 | 375 | "\n" | ||
388 | 376 | "Ce programme est publié sous la licence GPL v2.\n" | ||
389 | 377 | |||
390 | 378 | #: ../src/main.c:82 | ||
391 | 379 | #, c-format | ||
392 | 380 | msgid "Xfce4 Sensors %s\n" | ||
393 | 381 | msgstr "Capteurs Xfce4 %s\n" | ||
394 | 382 | |||
395 | 383 | #: ../src/interface.c:78 | ||
396 | 384 | msgid "_Overview" | ||
397 | 385 | msgstr "_Apercu" | ||
398 | 386 | |||
399 | 387 | #: ../src/interface.c:99 | ||
400 | 388 | msgid "_Tachometers" | ||
401 | 389 | msgstr "_Tachymètres" | ||
402 | 390 | |||
403 | 391 | #: ../src/interface.c:116 | ||
404 | 392 | msgid "Sensors Viewer" | ||
405 | 393 | msgstr "Afficheur de captures" | ||
406 | 394 | |||
407 | 395 | #. FIXME: either print nothing, or undertake appropriate action, | ||
408 | 396 | #. * or pop up a message box. | ||
409 | 397 | #: ../src/actions.c:80 | ||
410 | 398 | #, c-format | ||
411 | 399 | msgid "" | ||
412 | 400 | "Sensors Viewer:\n" | ||
413 | 401 | "Seems like there was a problem reading a sensor feature value.\n" | ||
414 | 402 | "Proper proceeding cannot be guaranteed.\n" | ||
415 | 403 | msgstr "" | ||
416 | 404 | "Greffon de Capteurs :\n" | ||
417 | 405 | "Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n" | ||
418 | 406 | "L'exécution normale ne peut pas être garantie.\n" | ||
419 | 407 | |||
420 | 408 | #: ../src/xfce4-sensors.desktop.in.h:1 | ||
421 | 409 | msgid "Sensor Viewer" | ||
422 | 410 | msgstr "Afficheur de capteur" | ||
423 | 411 | |||
424 | 412 | #: ../src/xfce4-sensors.desktop.in.h:2 | ||
425 | 413 | #: ../panel-plugin/xfce4-sensors-plugin.desktop.in.in.h:2 | ||
426 | 414 | msgid "Show sensor values." | ||
427 | 415 | msgstr "Afficher les valeurs du capteur." | ||
428 | 416 | |||
429 | 417 | #: ../src/xfce4-sensors.desktop.in.h:3 | ||
430 | 418 | msgid "Sensor Values Viewer" | ||
431 | 419 | msgstr "Afficheur des valeurs des capteurs" | ||
432 | 420 | |||
433 | 421 | #: ../panel-plugin/xfce4-sensors-plugin.desktop.in.in.h:1 | ||
434 | 422 | msgid "Sensor plugin " | ||
435 | 423 | msgstr "Greffon de capteurs" | ||
436 | 424 | |||
437 | 425 | #~ msgid "No concrete error detected.\n" | ||
438 | 426 | #~ msgstr "Aucune erreur concrète détectée.\n" | ||
439 | 427 | |||
440 | 428 | #~ msgid "g_raphical" | ||
441 | 429 | #~ msgstr "g_raphique" | ||
442 | 430 | |||
443 | 431 | #~ msgid "Show _labels in graphical UI" | ||
444 | 432 | #~ msgstr "Affic_her les étiquettes dans l'interface graphique" | ||
445 | 433 | 0 | ||
446 | === modified file 'INSTALL' | |||
447 | --- INSTALL 2012-05-15 23:20:16 +0000 | |||
448 | +++ INSTALL 2015-02-27 07:38:45 +0000 | |||
449 | @@ -1,7 +1,7 @@ | |||
450 | 1 | Installation Instructions | 1 | Installation Instructions |
451 | 2 | ************************* | 2 | ************************* |
452 | 3 | 3 | ||
454 | 4 | Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, | 4 | Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, |
455 | 5 | Inc. | 5 | Inc. |
456 | 6 | 6 | ||
457 | 7 | Copying and distribution of this file, with or without modification, | 7 | Copying and distribution of this file, with or without modification, |
458 | @@ -12,8 +12,8 @@ | |||
459 | 12 | Basic Installation | 12 | Basic Installation |
460 | 13 | ================== | 13 | ================== |
461 | 14 | 14 | ||
464 | 15 | Briefly, the shell commands `./configure; make; make install' should | 15 | Briefly, the shell command `./configure && make && make install' |
465 | 16 | configure, build, and install this package. The following | 16 | should configure, build, and install this package. The following |
466 | 17 | more-detailed instructions are generic; see the `README' file for | 17 | more-detailed instructions are generic; see the `README' file for |
467 | 18 | instructions specific to this package. Some packages provide this | 18 | instructions specific to this package. Some packages provide this |
468 | 19 | `INSTALL' file but do not implement all of the features documented | 19 | `INSTALL' file but do not implement all of the features documented |
469 | @@ -309,9 +309,10 @@ | |||
470 | 309 | overridden in the site shell script). | 309 | overridden in the site shell script). |
471 | 310 | 310 | ||
472 | 311 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | 311 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
474 | 312 | an Autoconf bug. Until the bug is fixed you can use this workaround: | 312 | an Autoconf limitation. Until the limitation is lifted, you can use |
475 | 313 | this workaround: | ||
476 | 313 | 314 | ||
478 | 314 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | 315 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash |
479 | 315 | 316 | ||
480 | 316 | `configure' Invocation | 317 | `configure' Invocation |
481 | 317 | ====================== | 318 | ====================== |
482 | @@ -367,4 +368,3 @@ | |||
483 | 367 | 368 | ||
484 | 368 | `configure' also accepts some other, not widely useful, options. Run | 369 | `configure' also accepts some other, not widely useful, options. Run |
485 | 369 | `configure --help' for more details. | 370 | `configure --help' for more details. |
486 | 370 | |||
487 | 371 | 371 | ||
488 | === modified file 'Makefile.in' | |||
489 | --- Makefile.in 2012-05-15 23:20:16 +0000 | |||
490 | +++ Makefile.in 2015-02-27 07:38:45 +0000 | |||
491 | @@ -1,9 +1,8 @@ | |||
493 | 1 | # Makefile.in generated by automake 1.11.5 from Makefile.am. | 1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. |
494 | 2 | # @configure_input@ | 2 | # @configure_input@ |
495 | 3 | 3 | ||
499 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
500 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | 5 | |
498 | 6 | # Foundation, Inc. | ||
501 | 7 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
502 | 8 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
503 | 9 | # with or without modifications, as long as this notice is preserved. | 8 | # with or without modifications, as long as this notice is preserved. |
504 | @@ -17,23 +16,51 @@ | |||
505 | 17 | 16 | ||
506 | 18 | # $Id$ | 17 | # $Id$ |
507 | 19 | VPATH = @srcdir@ | 18 | VPATH = @srcdir@ |
511 | 20 | am__make_dryrun = \ | 19 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
512 | 21 | { \ | 20 | am__make_running_with_option = \ |
513 | 22 | am__dry=no; \ | 21 | case $${target_option-} in \ |
514 | 22 | ?) ;; \ | ||
515 | 23 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
516 | 24 | "target option '$${target_option-}' specified" >&2; \ | ||
517 | 25 | exit 1;; \ | ||
518 | 26 | esac; \ | ||
519 | 27 | has_opt=no; \ | ||
520 | 28 | sane_makeflags=$$MAKEFLAGS; \ | ||
521 | 29 | if $(am__is_gnu_make); then \ | ||
522 | 30 | sane_makeflags=$$MFLAGS; \ | ||
523 | 31 | else \ | ||
524 | 23 | case $$MAKEFLAGS in \ | 32 | case $$MAKEFLAGS in \ |
525 | 24 | *\\[\ \ ]*) \ | 33 | *\\[\ \ ]*) \ |
538 | 25 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | 34 | bs=\\; \ |
539 | 26 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | 35 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
540 | 27 | *) \ | 36 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
541 | 28 | for am__flg in $$MAKEFLAGS; do \ | 37 | esac; \ |
542 | 29 | case $$am__flg in \ | 38 | fi; \ |
543 | 30 | *=*|--*) ;; \ | 39 | skip_next=no; \ |
544 | 31 | *n*) am__dry=yes; break;; \ | 40 | strip_trailopt () \ |
545 | 32 | esac; \ | 41 | { \ |
546 | 33 | done;; \ | 42 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
547 | 34 | esac; \ | 43 | }; \ |
548 | 35 | test $$am__dry = yes; \ | 44 | for flg in $$sane_makeflags; do \ |
549 | 36 | } | 45 | test $$skip_next = yes && { skip_next=no; continue; }; \ |
550 | 46 | case $$flg in \ | ||
551 | 47 | *=*|--*) continue;; \ | ||
552 | 48 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
553 | 49 | -*I?*) strip_trailopt 'I';; \ | ||
554 | 50 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
555 | 51 | -*O?*) strip_trailopt 'O';; \ | ||
556 | 52 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
557 | 53 | -*l?*) strip_trailopt 'l';; \ | ||
558 | 54 | -[dEDm]) skip_next=yes;; \ | ||
559 | 55 | -[JT]) skip_next=yes;; \ | ||
560 | 56 | esac; \ | ||
561 | 57 | case $$flg in \ | ||
562 | 58 | *$$target_option*) has_opt=yes; break;; \ | ||
563 | 59 | esac; \ | ||
564 | 60 | done; \ | ||
565 | 61 | test $$has_opt = yes | ||
566 | 62 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
567 | 63 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
568 | 37 | pkgdatadir = $(datadir)/@PACKAGE@ | 64 | pkgdatadir = $(datadir)/@PACKAGE@ |
569 | 38 | pkgincludedir = $(includedir)/@PACKAGE@ | 65 | pkgincludedir = $(includedir)/@PACKAGE@ |
570 | 39 | pkglibdir = $(libdir)/@PACKAGE@ | 66 | pkglibdir = $(libdir)/@PACKAGE@ |
571 | @@ -54,14 +81,14 @@ | |||
572 | 54 | host_triplet = @host@ | 81 | host_triplet = @host@ |
573 | 55 | target_triplet = @target@ | 82 | target_triplet = @target@ |
574 | 56 | subdir = . | 83 | subdir = . |
581 | 57 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | 84 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ |
582 | 58 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | 85 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
583 | 59 | $(srcdir)/xfce4-sensors-plugin.spec.in $(top_srcdir)/configure \ | 86 | $(top_srcdir)/configure $(am__configure_deps) \ |
584 | 60 | AUTHORS COPYING ChangeLog INSTALL NEWS TODO compile \ | 87 | $(srcdir)/config.h.in mkinstalldirs \ |
585 | 61 | config.guess config.sub depcomp install-sh ltmain.sh missing \ | 88 | $(srcdir)/xfce4-sensors-plugin.spec.in COPYING TODO compile \ |
586 | 62 | mkinstalldirs | 89 | config.guess config.sub depcomp install-sh missing ltmain.sh |
587 | 63 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 90 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
589 | 64 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | 91 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
590 | 65 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | 92 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
591 | 66 | $(ACLOCAL_M4) | 93 | $(ACLOCAL_M4) |
592 | 67 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | 94 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
593 | @@ -70,15 +97,28 @@ | |||
594 | 70 | CONFIG_HEADER = config.h | 97 | CONFIG_HEADER = config.h |
595 | 71 | CONFIG_CLEAN_FILES = xfce4-sensors-plugin.spec | 98 | CONFIG_CLEAN_FILES = xfce4-sensors-plugin.spec |
596 | 72 | CONFIG_CLEAN_VPATH_FILES = | 99 | CONFIG_CLEAN_VPATH_FILES = |
597 | 100 | AM_V_P = $(am__v_P_@AM_V@) | ||
598 | 101 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
599 | 102 | am__v_P_0 = false | ||
600 | 103 | am__v_P_1 = : | ||
601 | 104 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
602 | 105 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
603 | 106 | am__v_GEN_0 = @echo " GEN " $@; | ||
604 | 107 | am__v_GEN_1 = | ||
605 | 108 | AM_V_at = $(am__v_at_@AM_V@) | ||
606 | 109 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
607 | 110 | am__v_at_0 = @ | ||
608 | 111 | am__v_at_1 = | ||
609 | 73 | SOURCES = | 112 | SOURCES = |
610 | 74 | DIST_SOURCES = | 113 | DIST_SOURCES = |
618 | 75 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | 114 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
619 | 76 | html-recursive info-recursive install-data-recursive \ | 115 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
620 | 77 | install-dvi-recursive install-exec-recursive \ | 116 | install-data-recursive install-dvi-recursive \ |
621 | 78 | install-html-recursive install-info-recursive \ | 117 | install-exec-recursive install-html-recursive \ |
622 | 79 | install-pdf-recursive install-ps-recursive install-recursive \ | 118 | install-info-recursive install-pdf-recursive \ |
623 | 80 | installcheck-recursive installdirs-recursive pdf-recursive \ | 119 | install-ps-recursive install-recursive installcheck-recursive \ |
624 | 81 | ps-recursive uninstall-recursive | 120 | installdirs-recursive pdf-recursive ps-recursive \ |
625 | 121 | tags-recursive uninstall-recursive | ||
626 | 82 | am__can_run_installinfo = \ | 122 | am__can_run_installinfo = \ |
627 | 83 | case $$AM_UPDATE_INFO_DIR in \ | 123 | case $$AM_UPDATE_INFO_DIR in \ |
628 | 84 | n|no|NO) false;; \ | 124 | n|no|NO) false;; \ |
629 | @@ -86,11 +126,33 @@ | |||
630 | 86 | esac | 126 | esac |
631 | 87 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | 127 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
632 | 88 | distclean-recursive maintainer-clean-recursive | 128 | distclean-recursive maintainer-clean-recursive |
636 | 89 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | 129 | am__recursive_targets = \ |
637 | 90 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | 130 | $(RECURSIVE_TARGETS) \ |
638 | 91 | distdir dist dist-all distcheck | 131 | $(RECURSIVE_CLEAN_TARGETS) \ |
639 | 132 | $(am__extra_recursive_targets) | ||
640 | 133 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||
641 | 134 | cscope distdir dist dist-all distcheck | ||
642 | 135 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | ||
643 | 136 | $(LISP)config.h.in | ||
644 | 137 | # Read a list of newline-separated strings from the standard input, | ||
645 | 138 | # and print each of them once, without duplicates. Input order is | ||
646 | 139 | # *not* preserved. | ||
647 | 140 | am__uniquify_input = $(AWK) '\ | ||
648 | 141 | BEGIN { nonempty = 0; } \ | ||
649 | 142 | { items[$$0] = 1; nonempty = 1; } \ | ||
650 | 143 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
651 | 144 | ' | ||
652 | 145 | # Make sure the list of sources is unique. This is necessary because, | ||
653 | 146 | # e.g., the same source file might be shared among _SOURCES variables | ||
654 | 147 | # for different programs/libraries. | ||
655 | 148 | am__define_uniq_tagged_files = \ | ||
656 | 149 | list='$(am__tagged_files)'; \ | ||
657 | 150 | unique=`for i in $$list; do \ | ||
658 | 151 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
659 | 152 | done | $(am__uniquify_input)` | ||
660 | 92 | ETAGS = etags | 153 | ETAGS = etags |
661 | 93 | CTAGS = ctags | 154 | CTAGS = ctags |
662 | 155 | CSCOPE = cscope | ||
663 | 94 | DIST_SUBDIRS = $(SUBDIRS) | 156 | DIST_SUBDIRS = $(SUBDIRS) |
664 | 95 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
665 | 96 | distdir = $(PACKAGE)-$(VERSION) | 158 | distdir = $(PACKAGE)-$(VERSION) |
666 | @@ -101,6 +163,7 @@ | |||
667 | 101 | && rm -rf "$(distdir)" \ | 163 | && rm -rf "$(distdir)" \ |
668 | 102 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | 164 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
669 | 103 | else :; fi | 165 | else :; fi |
670 | 166 | am__post_remove_distdir = $(am__remove_distdir) | ||
671 | 104 | am__relativize = \ | 167 | am__relativize = \ |
672 | 105 | dir0=`pwd`; \ | 168 | dir0=`pwd`; \ |
673 | 106 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | 169 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
674 | @@ -128,6 +191,7 @@ | |||
675 | 128 | reldir="$$dir2" | 191 | reldir="$$dir2" |
676 | 129 | DIST_ARCHIVES = $(distdir).tar.gz | 192 | DIST_ARCHIVES = $(distdir).tar.gz |
677 | 130 | GZIP_ENV = --best | 193 | GZIP_ENV = --best |
678 | 194 | DIST_TARGETS = dist-gzip | ||
679 | 131 | distuninstallcheck_listfiles = find . -type f -print | 195 | distuninstallcheck_listfiles = find . -type f -print |
680 | 132 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | 196 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
681 | 133 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | 197 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
682 | @@ -399,8 +463,8 @@ | |||
683 | 399 | $(am__aclocal_m4_deps): | 463 | $(am__aclocal_m4_deps): |
684 | 400 | 464 | ||
685 | 401 | config.h: stamp-h1 | 465 | config.h: stamp-h1 |
688 | 402 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | 466 | @test -f $@ || rm -f stamp-h1 |
689 | 403 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | 467 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
690 | 404 | 468 | ||
691 | 405 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | 469 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
692 | 406 | @rm -f stamp-h1 | 470 | @rm -f stamp-h1 |
693 | @@ -425,22 +489,25 @@ | |||
694 | 425 | -rm -f libtool config.lt | 489 | -rm -f libtool config.lt |
695 | 426 | 490 | ||
696 | 427 | # This directory's subdirectories are mostly independent; you can cd | 491 | # This directory's subdirectories are mostly independent; you can cd |
710 | 428 | # into them and run `make' without going through this Makefile. | 492 | # into them and run 'make' without going through this Makefile. |
711 | 429 | # To change the values of `make' variables: instead of editing Makefiles, | 493 | # To change the values of 'make' variables: instead of editing Makefiles, |
712 | 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' |
713 | 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'); |
714 | 432 | # (2) otherwise, pass the desired values on the `make' command line. | 496 | # (2) otherwise, pass the desired values on the 'make' command line. |
715 | 433 | $(RECURSIVE_TARGETS): | 497 | $(am__recursive_targets): |
716 | 434 | @fail= failcom='exit 1'; \ | 498 | @fail=; \ |
717 | 435 | for f in x $$MAKEFLAGS; do \ | 499 | if $(am__make_keepgoing); then \ |
718 | 436 | case $$f in \ | 500 | failcom='fail=yes'; \ |
719 | 437 | *=* | --[!k]*);; \ | 501 | else \ |
720 | 438 | *k*) failcom='fail=yes';; \ | 502 | failcom='exit 1'; \ |
721 | 439 | esac; \ | 503 | fi; \ |
709 | 440 | done; \ | ||
722 | 441 | dot_seen=no; \ | 504 | dot_seen=no; \ |
723 | 442 | target=`echo $@ | sed s/-recursive//`; \ | 505 | target=`echo $@ | sed s/-recursive//`; \ |
725 | 443 | list='$(SUBDIRS)'; for subdir in $$list; do \ | 506 | case "$@" in \ |
726 | 507 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
727 | 508 | *) list='$(SUBDIRS)' ;; \ | ||
728 | 509 | esac; \ | ||
729 | 510 | for subdir in $$list; do \ | ||
730 | 444 | echo "Making $$target in $$subdir"; \ | 511 | echo "Making $$target in $$subdir"; \ |
731 | 445 | if test "$$subdir" = "."; then \ | 512 | if test "$$subdir" = "."; then \ |
732 | 446 | dot_seen=yes; \ | 513 | dot_seen=yes; \ |
733 | @@ -455,57 +522,12 @@ | |||
734 | 455 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | 522 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
735 | 456 | fi; test -z "$$fail" | 523 | fi; test -z "$$fail" |
736 | 457 | 524 | ||
788 | 458 | $(RECURSIVE_CLEAN_TARGETS): | 525 | ID: $(am__tagged_files) |
789 | 459 | @fail= failcom='exit 1'; \ | 526 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
790 | 460 | for f in x $$MAKEFLAGS; do \ | 527 | tags: tags-recursive |
791 | 461 | case $$f in \ | 528 | TAGS: tags |
792 | 462 | *=* | --[!k]*);; \ | 529 | |
793 | 463 | *k*) failcom='fail=yes';; \ | 530 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
743 | 464 | esac; \ | ||
744 | 465 | done; \ | ||
745 | 466 | dot_seen=no; \ | ||
746 | 467 | case "$@" in \ | ||
747 | 468 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
748 | 469 | *) list='$(SUBDIRS)' ;; \ | ||
749 | 470 | esac; \ | ||
750 | 471 | rev=''; for subdir in $$list; do \ | ||
751 | 472 | if test "$$subdir" = "."; then :; else \ | ||
752 | 473 | rev="$$subdir $$rev"; \ | ||
753 | 474 | fi; \ | ||
754 | 475 | done; \ | ||
755 | 476 | rev="$$rev ."; \ | ||
756 | 477 | target=`echo $@ | sed s/-recursive//`; \ | ||
757 | 478 | for subdir in $$rev; do \ | ||
758 | 479 | echo "Making $$target in $$subdir"; \ | ||
759 | 480 | if test "$$subdir" = "."; then \ | ||
760 | 481 | local_target="$$target-am"; \ | ||
761 | 482 | else \ | ||
762 | 483 | local_target="$$target"; \ | ||
763 | 484 | fi; \ | ||
764 | 485 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
765 | 486 | || eval $$failcom; \ | ||
766 | 487 | done && test -z "$$fail" | ||
767 | 488 | tags-recursive: | ||
768 | 489 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
769 | 490 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
770 | 491 | done | ||
771 | 492 | ctags-recursive: | ||
772 | 493 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
773 | 494 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
774 | 495 | done | ||
775 | 496 | |||
776 | 497 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
777 | 498 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
778 | 499 | unique=`for i in $$list; do \ | ||
779 | 500 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
780 | 501 | done | \ | ||
781 | 502 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
782 | 503 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
783 | 504 | mkid -fID $$unique | ||
784 | 505 | tags: TAGS | ||
785 | 506 | |||
786 | 507 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
787 | 508 | $(TAGS_FILES) $(LISP) | ||
794 | 509 | set x; \ | 531 | set x; \ |
795 | 510 | here=`pwd`; \ | 532 | here=`pwd`; \ |
796 | 511 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | 533 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
797 | @@ -521,12 +543,7 @@ | |||
798 | 521 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | 543 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
799 | 522 | fi; \ | 544 | fi; \ |
800 | 523 | done; \ | 545 | done; \ |
807 | 524 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | 546 | $(am__define_uniq_tagged_files); \ |
802 | 525 | unique=`for i in $$list; do \ | ||
803 | 526 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
804 | 527 | done | \ | ||
805 | 528 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
806 | 529 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
808 | 530 | shift; \ | 547 | shift; \ |
809 | 531 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | 548 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
810 | 532 | test -n "$$unique" || unique=$$empty_fix; \ | 549 | test -n "$$unique" || unique=$$empty_fix; \ |
811 | @@ -538,15 +555,11 @@ | |||
812 | 538 | $$unique; \ | 555 | $$unique; \ |
813 | 539 | fi; \ | 556 | fi; \ |
814 | 540 | fi | 557 | fi |
824 | 541 | ctags: CTAGS | 558 | ctags: ctags-recursive |
825 | 542 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | 559 | |
826 | 543 | $(TAGS_FILES) $(LISP) | 560 | CTAGS: ctags |
827 | 544 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | 561 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
828 | 545 | unique=`for i in $$list; do \ | 562 | $(am__define_uniq_tagged_files); \ |
820 | 546 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
821 | 547 | done | \ | ||
822 | 548 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
823 | 549 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
829 | 550 | test -z "$(CTAGS_ARGS)$$unique" \ | 563 | test -z "$(CTAGS_ARGS)$$unique" \ |
830 | 551 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | 564 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
831 | 552 | $$unique | 565 | $$unique |
832 | @@ -555,9 +568,31 @@ | |||
833 | 555 | here=`$(am__cd) $(top_builddir) && pwd` \ | 568 | here=`$(am__cd) $(top_builddir) && pwd` \ |
834 | 556 | && $(am__cd) $(top_srcdir) \ | 569 | && $(am__cd) $(top_srcdir) \ |
835 | 557 | && gtags -i $(GTAGS_ARGS) "$$here" | 570 | && gtags -i $(GTAGS_ARGS) "$$here" |
836 | 571 | cscope: cscope.files | ||
837 | 572 | test ! -s cscope.files \ | ||
838 | 573 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | ||
839 | 574 | clean-cscope: | ||
840 | 575 | -rm -f cscope.files | ||
841 | 576 | cscope.files: clean-cscope cscopelist | ||
842 | 577 | cscopelist: cscopelist-recursive | ||
843 | 578 | |||
844 | 579 | cscopelist-am: $(am__tagged_files) | ||
845 | 580 | list='$(am__tagged_files)'; \ | ||
846 | 581 | case "$(srcdir)" in \ | ||
847 | 582 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
848 | 583 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
849 | 584 | esac; \ | ||
850 | 585 | for i in $$list; do \ | ||
851 | 586 | if test -f "$$i"; then \ | ||
852 | 587 | echo "$(subdir)/$$i"; \ | ||
853 | 588 | else \ | ||
854 | 589 | echo "$$sdir/$$i"; \ | ||
855 | 590 | fi; \ | ||
856 | 591 | done >> $(top_builddir)/cscope.files | ||
857 | 558 | 592 | ||
858 | 559 | distclean-tags: | 593 | distclean-tags: |
859 | 560 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 594 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
860 | 595 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | ||
861 | 561 | 596 | ||
862 | 562 | distdir: $(DISTFILES) | 597 | distdir: $(DISTFILES) |
863 | 563 | $(am__remove_distdir) | 598 | $(am__remove_distdir) |
864 | @@ -625,40 +660,42 @@ | |||
865 | 625 | || chmod -R a+r "$(distdir)" | 660 | || chmod -R a+r "$(distdir)" |
866 | 626 | dist-gzip: distdir | 661 | dist-gzip: distdir |
867 | 627 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 662 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
869 | 628 | $(am__remove_distdir) | 663 | $(am__post_remove_distdir) |
870 | 629 | 664 | ||
871 | 630 | dist-bzip2: distdir | 665 | dist-bzip2: distdir |
872 | 631 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | 666 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
874 | 632 | $(am__remove_distdir) | 667 | $(am__post_remove_distdir) |
875 | 633 | 668 | ||
876 | 634 | dist-lzip: distdir | 669 | dist-lzip: distdir |
877 | 635 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | 670 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
883 | 636 | $(am__remove_distdir) | 671 | $(am__post_remove_distdir) |
879 | 637 | |||
880 | 638 | dist-lzma: distdir | ||
881 | 639 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
882 | 640 | $(am__remove_distdir) | ||
884 | 641 | 672 | ||
885 | 642 | dist-xz: distdir | 673 | dist-xz: distdir |
886 | 643 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | 674 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
888 | 644 | $(am__remove_distdir) | 675 | $(am__post_remove_distdir) |
889 | 645 | 676 | ||
890 | 646 | dist-tarZ: distdir | 677 | dist-tarZ: distdir |
891 | 678 | @echo WARNING: "Support for shar distribution archives is" \ | ||
892 | 679 | "deprecated." >&2 | ||
893 | 680 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
894 | 647 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | 681 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
896 | 648 | $(am__remove_distdir) | 682 | $(am__post_remove_distdir) |
897 | 649 | 683 | ||
898 | 650 | dist-shar: distdir | 684 | dist-shar: distdir |
899 | 685 | @echo WARNING: "Support for distribution archives compressed with" \ | ||
900 | 686 | "legacy program 'compress' is deprecated." >&2 | ||
901 | 687 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
902 | 651 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | 688 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
904 | 652 | $(am__remove_distdir) | 689 | $(am__post_remove_distdir) |
905 | 653 | 690 | ||
906 | 654 | dist-zip: distdir | 691 | dist-zip: distdir |
907 | 655 | -rm -f $(distdir).zip | 692 | -rm -f $(distdir).zip |
908 | 656 | zip -rq $(distdir).zip $(distdir) | 693 | zip -rq $(distdir).zip $(distdir) |
910 | 657 | $(am__remove_distdir) | 694 | $(am__post_remove_distdir) |
911 | 658 | 695 | ||
915 | 659 | dist dist-all: distdir | 696 | dist dist-all: |
916 | 660 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 697 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
917 | 661 | $(am__remove_distdir) | 698 | $(am__post_remove_distdir) |
918 | 662 | 699 | ||
919 | 663 | # This target untars the dist file and tries a VPATH configuration. Then | 700 | # This target untars the dist file and tries a VPATH configuration. Then |
920 | 664 | # it guarantees that the distribution is self-contained by making another | 701 | # it guarantees that the distribution is self-contained by making another |
921 | @@ -669,8 +706,6 @@ | |||
922 | 669 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | 706 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
923 | 670 | *.tar.bz2*) \ | 707 | *.tar.bz2*) \ |
924 | 671 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | 708 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
925 | 672 | *.tar.lzma*) \ | ||
926 | 673 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | ||
927 | 674 | *.tar.lz*) \ | 709 | *.tar.lz*) \ |
928 | 675 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | 710 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
929 | 676 | *.tar.xz*) \ | 711 | *.tar.xz*) \ |
930 | @@ -682,18 +717,19 @@ | |||
931 | 682 | *.zip*) \ | 717 | *.zip*) \ |
932 | 683 | unzip $(distdir).zip ;;\ | 718 | unzip $(distdir).zip ;;\ |
933 | 684 | esac | 719 | esac |
937 | 685 | chmod -R a-w $(distdir); chmod a+w $(distdir) | 720 | chmod -R a-w $(distdir) |
938 | 686 | mkdir $(distdir)/_build | 721 | chmod u+w $(distdir) |
939 | 687 | mkdir $(distdir)/_inst | 722 | mkdir $(distdir)/_build $(distdir)/_inst |
940 | 688 | chmod a-w $(distdir) | 723 | chmod a-w $(distdir) |
941 | 689 | test -d $(distdir)/_build || exit 0; \ | 724 | test -d $(distdir)/_build || exit 0; \ |
942 | 690 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | 725 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
943 | 691 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | 726 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
944 | 692 | && am__cwd=`pwd` \ | 727 | && am__cwd=`pwd` \ |
945 | 693 | && $(am__cd) $(distdir)/_build \ | 728 | && $(am__cd) $(distdir)/_build \ |
947 | 694 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | 729 | && ../configure \ |
948 | 695 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | 730 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
949 | 696 | $(DISTCHECK_CONFIGURE_FLAGS) \ | 731 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
950 | 732 | --srcdir=.. --prefix="$$dc_install_base" \ | ||
951 | 697 | && $(MAKE) $(AM_MAKEFLAGS) \ | 733 | && $(MAKE) $(AM_MAKEFLAGS) \ |
952 | 698 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | 734 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
953 | 699 | && $(MAKE) $(AM_MAKEFLAGS) check \ | 735 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
954 | @@ -716,7 +752,7 @@ | |||
955 | 716 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | 752 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
956 | 717 | && cd "$$am__cwd" \ | 753 | && cd "$$am__cwd" \ |
957 | 718 | || exit 1 | 754 | || exit 1 |
959 | 719 | $(am__remove_distdir) | 755 | $(am__post_remove_distdir) |
960 | 720 | @(echo "$(distdir) archives ready for distribution: "; \ | 756 | @(echo "$(distdir) archives ready for distribution: "; \ |
961 | 721 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | 757 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
962 | 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' |
963 | @@ -852,15 +888,14 @@ | |||
964 | 852 | 888 | ||
965 | 853 | uninstall-am: | 889 | uninstall-am: |
966 | 854 | 890 | ||
969 | 855 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | 891 | .MAKE: $(am__recursive_targets) all install-am install-strip |
968 | 856 | ctags-recursive install-am install-strip tags-recursive | ||
970 | 857 | 892 | ||
977 | 858 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | 893 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
978 | 859 | all all-am am--refresh check check-am clean clean-generic \ | 894 | am--refresh check check-am clean clean-cscope clean-generic \ |
979 | 860 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | 895 | clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
980 | 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 \ |
981 | 862 | dist-zip distcheck distclean distclean-generic distclean-hdr \ | 897 | dist-xz dist-zip distcheck distclean distclean-generic \ |
982 | 863 | distclean-libtool distclean-local distclean-tags \ | 898 | distclean-hdr distclean-libtool distclean-local distclean-tags \ |
983 | 864 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | 899 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ |
984 | 865 | html-am info info-am install install-am install-data \ | 900 | html-am info info-am install install-am install-data \ |
985 | 866 | install-data-am install-dvi install-dvi-am install-exec \ | 901 | install-data-am install-dvi install-dvi-am install-exec \ |
986 | @@ -869,8 +904,8 @@ | |||
987 | 869 | install-ps install-ps-am install-strip installcheck \ | 904 | install-ps install-ps-am install-strip installcheck \ |
988 | 870 | installcheck-am installdirs installdirs-am maintainer-clean \ | 905 | installcheck-am installdirs installdirs-am maintainer-clean \ |
989 | 871 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | 906 | maintainer-clean-generic mostlyclean mostlyclean-generic \ |
992 | 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 \ |
993 | 873 | uninstall uninstall-am | 908 | uninstall-am |
994 | 874 | 909 | ||
995 | 875 | 910 | ||
996 | 876 | distclean-local: | 911 | distclean-local: |
997 | 877 | 912 | ||
998 | === modified file 'NEWS' | |||
999 | --- NEWS 2010-04-23 00:16:37 +0000 | |||
1000 | +++ NEWS 2015-02-27 07:38:45 +0000 | |||
1001 | @@ -24,4 +24,19 @@ | |||
1002 | 24 | Labels in text view possible | 24 | Labels in text view possible |
1003 | 25 | Remember window size of configuration dialog | 25 | Remember window size of configuration dialog |
1004 | 26 | Respect "suppress messages" for error dialogs with acpi/sysfs | 26 | Respect "suppress messages" for error dialogs with acpi/sysfs |
1006 | 27 | 27 | 1.2.0...1.2.3: libnotify issues, new versions of libnotify, version changes | |
1007 | 28 | for libsensors in this package. | ||
1008 | 29 | 1.2.4: Fixes some memory issues, stabilizes support for hddtemp | ||
1009 | 30 | and improves battery reading via ACPI and sysfs. In addition, many | ||
1010 | 31 | translations have been updated. | ||
1011 | 32 | 1.2.5: Fix German translation; fix bug 8887 compile error | ||
1012 | 33 | 1.2.6: Bug 9395 fixed: When sensors are no longer available for any reason, | ||
1013 | 34 | plugin won't crash. | ||
1014 | 35 | Bug 10031 fixed: Automake/Autoconfigure option for config headers. | ||
1015 | 36 | Bug 9962: smarter ACPI battery value reading | ||
1016 | 37 | Bug 10840: suppress tooltip | ||
1017 | 38 | Bug 4142: Suppress notification warnings for hddtemp after having displayed once | ||
1018 | 39 | Bug 11544: NULL pointer checks | ||
1019 | 40 | Bug 11252: Removed gsources | ||
1020 | 41 | Bug 11596: Recover directory "m4" in autogen.sh | ||
1021 | 42 | Bug 11012: ACPI thermal zones not shown | ||
1022 | 28 | 43 | ||
1023 | === modified file 'NOTES' | |||
1024 | --- NOTES 2008-01-04 13:29:34 +0000 | |||
1025 | +++ NOTES 2015-02-27 07:38:45 +0000 | |||
1026 | @@ -10,5 +10,4 @@ | |||
1027 | 10 | 10 | ||
1028 | 11 | If you know of any further OS-specific interface or system library that might be worth including, please tell me. | 11 | If you know of any further OS-specific interface or system library that might be worth including, please tell me. |
1029 | 12 | 12 | ||
1032 | 13 | For 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. | 13 | For 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. |
1031 | 14 | |||
1033 | 15 | 14 | ||
1034 | === modified file 'README' | |||
1035 | --- README 2012-05-15 23:20:16 +0000 | |||
1036 | +++ README 2015-02-27 07:38:45 +0000 | |||
1037 | @@ -1,9 +1,9 @@ | |||
1038 | 1 | Xfce4-Sensors-Plugin | 1 | Xfce4-Sensors-Plugin |
1039 | 2 | ==================== | 2 | ==================== |
1040 | 3 | 3 | ||
1042 | 4 | Version 1.0.0 - For Xfce 4 Panel 4.6.0 (and hopefully newer as well!) | 4 | Version 1.2.6 - For Xfce 4 Panel 4.6.0 (and hopefully newer as well!) |
1043 | 5 | 5 | ||
1045 | 6 | Copyright (c) 2004-2009 by Fabian Nowak (timystery@arcor.de) | 6 | Copyright (c) 2004-2014 by Fabian Nowak (timystery@arcor.de) |
1046 | 7 | Copyright (c) 2005-2006 by Stefan Ott | 7 | Copyright (c) 2005-2006 by Stefan Ott |
1047 | 8 | 8 | ||
1048 | 9 | Licence: GPL version 2 (or later at your option) | 9 | Licence: GPL version 2 (or later at your option) |
1049 | @@ -28,4 +28,3 @@ | |||
1050 | 28 | 28 | ||
1051 | 29 | Thanks to: Xfce Team and Enrico Tröger for additional help; | 29 | Thanks to: Xfce Team and Enrico Tröger for additional help; |
1052 | 30 | Raphael Groner for bug-hunting, usability reports, feature requests. | 30 | Raphael Groner for bug-hunting, usability reports, feature requests. |
1053 | 31 | |||
1054 | 32 | 31 | ||
1055 | === modified file 'aclocal.m4' | |||
1056 | --- aclocal.m4 2012-05-15 23:20:16 +0000 | |||
1057 | +++ aclocal.m4 2015-02-27 07:38:45 +0000 | |||
1058 | @@ -1,8 +1,7 @@ | |||
1064 | 1 | # generated automatically by aclocal 1.11.5 -*- Autoconf -*- | 1 | # generated automatically by aclocal 1.14.1 -*- Autoconf -*- |
1065 | 2 | 2 | ||
1066 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. |
1067 | 4 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | 4 | |
1063 | 5 | # Inc. | ||
1068 | 6 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
1069 | 7 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
1070 | 8 | # with or without modifications, as long as this notice is preserved. | 7 | # with or without modifications, as long as this notice is preserved. |
1071 | @@ -12,13 +11,14 @@ | |||
1072 | 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
1073 | 13 | # PARTICULAR PURPOSE. | 12 | # PARTICULAR PURPOSE. |
1074 | 14 | 13 | ||
1075 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | ||
1076 | 15 | m4_ifndef([AC_AUTOCONF_VERSION], | 15 | m4_ifndef([AC_AUTOCONF_VERSION], |
1077 | 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1080 | 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, | 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
1081 | 18 | [m4_warning([this file was generated for autoconf 2.68. | 18 | [m4_warning([this file was generated for autoconf 2.69. |
1082 | 19 | You have another version of autoconf. It may work, but is not guaranteed to. | 19 | You have another version of autoconf. It may work, but is not guaranteed to. |
1083 | 20 | If you have problems, you may need to regenerate the build system entirely. | 20 | If you have problems, you may need to regenerate the build system entirely. |
1085 | 21 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | 21 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
1086 | 22 | 22 | ||
1087 | 23 | # Copyright (C) 1995-2002 Free Software Foundation, Inc. | 23 | # Copyright (C) 1995-2002 Free Software Foundation, Inc. |
1088 | 24 | # Copyright (C) 2001-2003,2004 Red Hat, Inc. | 24 | # Copyright (C) 2001-2003,2004 Red Hat, Inc. |
1089 | @@ -337,7 +337,6 @@ | |||
1090 | 337 | dnl | 337 | dnl |
1091 | 338 | glib_DEFUN([GLIB_GNU_GETTEXT], | 338 | glib_DEFUN([GLIB_GNU_GETTEXT], |
1092 | 339 | [AC_REQUIRE([AC_PROG_CC])dnl | 339 | [AC_REQUIRE([AC_PROG_CC])dnl |
1093 | 340 | AC_REQUIRE([AC_HEADER_STDC])dnl | ||
1094 | 341 | 340 | ||
1095 | 342 | GLIB_LC_MESSAGES | 341 | GLIB_LC_MESSAGES |
1096 | 343 | GLIB_WITH_NLS | 342 | GLIB_WITH_NLS |
1097 | @@ -457,6 +456,1417 @@ | |||
1098 | 457 | fi]) | 456 | fi]) |
1099 | 458 | 457 | ||
1100 | 459 | 458 | ||
1101 | 459 | # nls.m4 serial 5 (gettext-0.18) | ||
1102 | 460 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, | ||
1103 | 461 | dnl Inc. | ||
1104 | 462 | dnl This file is free software; the Free Software Foundation | ||
1105 | 463 | dnl gives unlimited permission to copy and/or distribute it, | ||
1106 | 464 | dnl with or without modifications, as long as this notice is preserved. | ||
1107 | 465 | dnl | ||
1108 | 466 | dnl This file can can be used in projects which are not available under | ||
1109 | 467 | dnl the GNU General Public License or the GNU Library General Public | ||
1110 | 468 | dnl License but which still want to provide support for the GNU gettext | ||
1111 | 469 | dnl functionality. | ||
1112 | 470 | dnl Please note that the actual code of the GNU gettext library is covered | ||
1113 | 471 | dnl by the GNU Library General Public License, and the rest of the GNU | ||
1114 | 472 | dnl gettext package package is covered by the GNU General Public License. | ||
1115 | 473 | dnl They are *not* in the public domain. | ||
1116 | 474 | |||
1117 | 475 | dnl Authors: | ||
1118 | 476 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. | ||
1119 | 477 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. | ||
1120 | 478 | |||
1121 | 479 | AC_PREREQ([2.50]) | ||
1122 | 480 | |||
1123 | 481 | AC_DEFUN([AM_NLS], | ||
1124 | 482 | [ | ||
1125 | 483 | AC_MSG_CHECKING([whether NLS is requested]) | ||
1126 | 484 | dnl Default is enabled NLS | ||
1127 | 485 | AC_ARG_ENABLE([nls], | ||
1128 | 486 | [ --disable-nls do not use Native Language Support], | ||
1129 | 487 | USE_NLS=$enableval, USE_NLS=yes) | ||
1130 | 488 | AC_MSG_RESULT([$USE_NLS]) | ||
1131 | 489 | AC_SUBST([USE_NLS]) | ||
1132 | 490 | ]) | ||
1133 | 491 | |||
1134 | 492 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
1135 | 493 | # serial 1 (pkg-config-0.24) | ||
1136 | 494 | # | ||
1137 | 495 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
1138 | 496 | # | ||
1139 | 497 | # This program is free software; you can redistribute it and/or modify | ||
1140 | 498 | # it under the terms of the GNU General Public License as published by | ||
1141 | 499 | # the Free Software Foundation; either version 2 of the License, or | ||
1142 | 500 | # (at your option) any later version. | ||
1143 | 501 | # | ||
1144 | 502 | # This program is distributed in the hope that it will be useful, but | ||
1145 | 503 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1146 | 504 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
1147 | 505 | # General Public License for more details. | ||
1148 | 506 | # | ||
1149 | 507 | # You should have received a copy of the GNU General Public License | ||
1150 | 508 | # along with this program; if not, write to the Free Software | ||
1151 | 509 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
1152 | 510 | # | ||
1153 | 511 | # As a special exception to the GNU General Public License, if you | ||
1154 | 512 | # distribute this file as part of a program that contains a | ||
1155 | 513 | # configuration script generated by Autoconf, you may include it under | ||
1156 | 514 | # the same distribution terms that you use for the rest of that program. | ||
1157 | 515 | |||
1158 | 516 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
1159 | 517 | # ---------------------------------- | ||
1160 | 518 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
1161 | 519 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
1162 | 520 | m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) | ||
1163 | 521 | m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) | ||
1164 | 522 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | ||
1165 | 523 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | ||
1166 | 524 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) | ||
1167 | 525 | |||
1168 | 526 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
1169 | 527 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
1170 | 528 | fi | ||
1171 | 529 | if test -n "$PKG_CONFIG"; then | ||
1172 | 530 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
1173 | 531 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
1174 | 532 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
1175 | 533 | AC_MSG_RESULT([yes]) | ||
1176 | 534 | else | ||
1177 | 535 | AC_MSG_RESULT([no]) | ||
1178 | 536 | PKG_CONFIG="" | ||
1179 | 537 | fi | ||
1180 | 538 | fi[]dnl | ||
1181 | 539 | ])# PKG_PROG_PKG_CONFIG | ||
1182 | 540 | |||
1183 | 541 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
1184 | 542 | # | ||
1185 | 543 | # Check to see whether a particular set of modules exists. Similar | ||
1186 | 544 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
1187 | 545 | # | ||
1188 | 546 | # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
1189 | 547 | # only at the first occurence in configure.ac, so if the first place | ||
1190 | 548 | # it's called might be skipped (such as if it is within an "if", you | ||
1191 | 549 | # have to call PKG_CHECK_EXISTS manually | ||
1192 | 550 | # -------------------------------------------------------------- | ||
1193 | 551 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
1194 | 552 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
1195 | 553 | if test -n "$PKG_CONFIG" && \ | ||
1196 | 554 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
1197 | 555 | m4_default([$2], [:]) | ||
1198 | 556 | m4_ifvaln([$3], [else | ||
1199 | 557 | $3])dnl | ||
1200 | 558 | fi]) | ||
1201 | 559 | |||
1202 | 560 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
1203 | 561 | # --------------------------------------------- | ||
1204 | 562 | m4_define([_PKG_CONFIG], | ||
1205 | 563 | [if test -n "$$1"; then | ||
1206 | 564 | pkg_cv_[]$1="$$1" | ||
1207 | 565 | elif test -n "$PKG_CONFIG"; then | ||
1208 | 566 | PKG_CHECK_EXISTS([$3], | ||
1209 | 567 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` | ||
1210 | 568 | test "x$?" != "x0" && pkg_failed=yes ], | ||
1211 | 569 | [pkg_failed=yes]) | ||
1212 | 570 | else | ||
1213 | 571 | pkg_failed=untried | ||
1214 | 572 | fi[]dnl | ||
1215 | 573 | ])# _PKG_CONFIG | ||
1216 | 574 | |||
1217 | 575 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
1218 | 576 | # ----------------------------- | ||
1219 | 577 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
1220 | 578 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
1221 | 579 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
1222 | 580 | _pkg_short_errors_supported=yes | ||
1223 | 581 | else | ||
1224 | 582 | _pkg_short_errors_supported=no | ||
1225 | 583 | fi[]dnl | ||
1226 | 584 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
1227 | 585 | |||
1228 | 586 | |||
1229 | 587 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
1230 | 588 | # [ACTION-IF-NOT-FOUND]) | ||
1231 | 589 | # | ||
1232 | 590 | # | ||
1233 | 591 | # Note that if there is a possibility the first call to | ||
1234 | 592 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
1235 | 593 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
1236 | 594 | # | ||
1237 | 595 | # | ||
1238 | 596 | # -------------------------------------------------------------- | ||
1239 | 597 | AC_DEFUN([PKG_CHECK_MODULES], | ||
1240 | 598 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
1241 | 599 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
1242 | 600 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
1243 | 601 | |||
1244 | 602 | pkg_failed=no | ||
1245 | 603 | AC_MSG_CHECKING([for $1]) | ||
1246 | 604 | |||
1247 | 605 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
1248 | 606 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
1249 | 607 | |||
1250 | 608 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
1251 | 609 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
1252 | 610 | See the pkg-config man page for more details.]) | ||
1253 | 611 | |||
1254 | 612 | if test $pkg_failed = yes; then | ||
1255 | 613 | AC_MSG_RESULT([no]) | ||
1256 | 614 | _PKG_SHORT_ERRORS_SUPPORTED | ||
1257 | 615 | if test $_pkg_short_errors_supported = yes; then | ||
1258 | 616 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` | ||
1259 | 617 | else | ||
1260 | 618 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` | ||
1261 | 619 | fi | ||
1262 | 620 | # Put the nasty error message in config.log where it belongs | ||
1263 | 621 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
1264 | 622 | |||
1265 | 623 | m4_default([$4], [AC_MSG_ERROR( | ||
1266 | 624 | [Package requirements ($2) were not met: | ||
1267 | 625 | |||
1268 | 626 | $$1_PKG_ERRORS | ||
1269 | 627 | |||
1270 | 628 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
1271 | 629 | installed software in a non-standard prefix. | ||
1272 | 630 | |||
1273 | 631 | _PKG_TEXT])[]dnl | ||
1274 | 632 | ]) | ||
1275 | 633 | elif test $pkg_failed = untried; then | ||
1276 | 634 | AC_MSG_RESULT([no]) | ||
1277 | 635 | m4_default([$4], [AC_MSG_FAILURE( | ||
1278 | 636 | [The pkg-config script could not be found or is too old. Make sure it | ||
1279 | 637 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
1280 | 638 | path to pkg-config. | ||
1281 | 639 | |||
1282 | 640 | _PKG_TEXT | ||
1283 | 641 | |||
1284 | 642 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | ||
1285 | 643 | ]) | ||
1286 | 644 | else | ||
1287 | 645 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
1288 | 646 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
1289 | 647 | AC_MSG_RESULT([yes]) | ||
1290 | 648 | $3 | ||
1291 | 649 | fi[]dnl | ||
1292 | 650 | ])# PKG_CHECK_MODULES | ||
1293 | 651 | |||
1294 | 652 | |||
1295 | 653 | # PKG_INSTALLDIR(DIRECTORY) | ||
1296 | 654 | # ------------------------- | ||
1297 | 655 | # Substitutes the variable pkgconfigdir as the location where a module | ||
1298 | 656 | # should install pkg-config .pc files. By default the directory is | ||
1299 | 657 | # $libdir/pkgconfig, but the default can be changed by passing | ||
1300 | 658 | # DIRECTORY. The user can override through the --with-pkgconfigdir | ||
1301 | 659 | # parameter. | ||
1302 | 660 | AC_DEFUN([PKG_INSTALLDIR], | ||
1303 | 661 | [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) | ||
1304 | 662 | m4_pushdef([pkg_description], | ||
1305 | 663 | [pkg-config installation directory @<:@]pkg_default[@:>@]) | ||
1306 | 664 | AC_ARG_WITH([pkgconfigdir], | ||
1307 | 665 | [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, | ||
1308 | 666 | [with_pkgconfigdir=]pkg_default) | ||
1309 | 667 | AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) | ||
1310 | 668 | m4_popdef([pkg_default]) | ||
1311 | 669 | m4_popdef([pkg_description]) | ||
1312 | 670 | ]) dnl PKG_INSTALLDIR | ||
1313 | 671 | |||
1314 | 672 | |||
1315 | 673 | # PKG_NOARCH_INSTALLDIR(DIRECTORY) | ||
1316 | 674 | # ------------------------- | ||
1317 | 675 | # Substitutes the variable noarch_pkgconfigdir as the location where a | ||
1318 | 676 | # module should install arch-independent pkg-config .pc files. By | ||
1319 | 677 | # default the directory is $datadir/pkgconfig, but the default can be | ||
1320 | 678 | # changed by passing DIRECTORY. The user can override through the | ||
1321 | 679 | # --with-noarch-pkgconfigdir parameter. | ||
1322 | 680 | AC_DEFUN([PKG_NOARCH_INSTALLDIR], | ||
1323 | 681 | [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) | ||
1324 | 682 | m4_pushdef([pkg_description], | ||
1325 | 683 | [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) | ||
1326 | 684 | AC_ARG_WITH([noarch-pkgconfigdir], | ||
1327 | 685 | [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, | ||
1328 | 686 | [with_noarch_pkgconfigdir=]pkg_default) | ||
1329 | 687 | AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) | ||
1330 | 688 | m4_popdef([pkg_default]) | ||
1331 | 689 | m4_popdef([pkg_description]) | ||
1332 | 690 | ]) dnl PKG_NOARCH_INSTALLDIR | ||
1333 | 691 | |||
1334 | 692 | |||
1335 | 693 | # PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, | ||
1336 | 694 | # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
1337 | 695 | # ------------------------------------------- | ||
1338 | 696 | # Retrieves the value of the pkg-config variable for the given module. | ||
1339 | 697 | AC_DEFUN([PKG_CHECK_VAR], | ||
1340 | 698 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
1341 | 699 | AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl | ||
1342 | 700 | |||
1343 | 701 | _PKG_CONFIG([$1], [variable="][$3]["], [$2]) | ||
1344 | 702 | AS_VAR_COPY([$1], [pkg_cv_][$1]) | ||
1345 | 703 | |||
1346 | 704 | AS_VAR_IF([$1], [""], [$5], [$4])dnl | ||
1347 | 705 | ])# PKG_CHECK_VAR | ||
1348 | 706 | |||
1349 | 707 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | ||
1350 | 708 | # | ||
1351 | 709 | # This file is free software; the Free Software Foundation | ||
1352 | 710 | # gives unlimited permission to copy and/or distribute it, | ||
1353 | 711 | # with or without modifications, as long as this notice is preserved. | ||
1354 | 712 | |||
1355 | 713 | # AM_AUTOMAKE_VERSION(VERSION) | ||
1356 | 714 | # ---------------------------- | ||
1357 | 715 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | ||
1358 | 716 | # generated from the m4 files accompanying Automake X.Y. | ||
1359 | 717 | # (This private macro should not be called outside this file.) | ||
1360 | 718 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
1361 | 719 | [am__api_version='1.14' | ||
1362 | 720 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
1363 | 721 | dnl require some minimum version. Point them to the right macro. | ||
1364 | 722 | m4_if([$1], [1.14.1], [], | ||
1365 | 723 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
1366 | 724 | ]) | ||
1367 | 725 | |||
1368 | 726 | # _AM_AUTOCONF_VERSION(VERSION) | ||
1369 | 727 | # ----------------------------- | ||
1370 | 728 | # aclocal traces this macro to find the Autoconf version. | ||
1371 | 729 | # This is a private macro too. Using m4_define simplifies | ||
1372 | 730 | # the logic in aclocal, which can simply ignore this definition. | ||
1373 | 731 | m4_define([_AM_AUTOCONF_VERSION], []) | ||
1374 | 732 | |||
1375 | 733 | # AM_SET_CURRENT_AUTOMAKE_VERSION | ||
1376 | 734 | # ------------------------------- | ||
1377 | 735 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | ||
1378 | 736 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | ||
1379 | 737 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
1380 | 738 | [AM_AUTOMAKE_VERSION([1.14.1])dnl | ||
1381 | 739 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
1382 | 740 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
1383 | 741 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
1384 | 742 | |||
1385 | 743 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | ||
1386 | 744 | |||
1387 | 745 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
1388 | 746 | # | ||
1389 | 747 | # This file is free software; the Free Software Foundation | ||
1390 | 748 | # gives unlimited permission to copy and/or distribute it, | ||
1391 | 749 | # with or without modifications, as long as this notice is preserved. | ||
1392 | 750 | |||
1393 | 751 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | ||
1394 | 752 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | ||
1395 | 753 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | ||
1396 | 754 | # | ||
1397 | 755 | # Of course, Automake must honor this variable whenever it calls a | ||
1398 | 756 | # tool from the auxiliary directory. The problem is that $srcdir (and | ||
1399 | 757 | # therefore $ac_aux_dir as well) can be either absolute or relative, | ||
1400 | 758 | # depending on how configure is run. This is pretty annoying, since | ||
1401 | 759 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | ||
1402 | 760 | # source directory, any form will work fine, but in subdirectories a | ||
1403 | 761 | # relative path needs to be adjusted first. | ||
1404 | 762 | # | ||
1405 | 763 | # $ac_aux_dir/missing | ||
1406 | 764 | # fails when called from a subdirectory if $ac_aux_dir is relative | ||
1407 | 765 | # $top_srcdir/$ac_aux_dir/missing | ||
1408 | 766 | # fails if $ac_aux_dir is absolute, | ||
1409 | 767 | # fails when called from a subdirectory in a VPATH build with | ||
1410 | 768 | # a relative $ac_aux_dir | ||
1411 | 769 | # | ||
1412 | 770 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | ||
1413 | 771 | # are both prefixed by $srcdir. In an in-source build this is usually | ||
1414 | 772 | # harmless because $srcdir is '.', but things will broke when you | ||
1415 | 773 | # start a VPATH build or use an absolute $srcdir. | ||
1416 | 774 | # | ||
1417 | 775 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | ||
1418 | 776 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | ||
1419 | 777 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | ||
1420 | 778 | # and then we would define $MISSING as | ||
1421 | 779 | # MISSING="\${SHELL} $am_aux_dir/missing" | ||
1422 | 780 | # This will work as long as MISSING is not called from configure, because | ||
1423 | 781 | # unfortunately $(top_srcdir) has no meaning in configure. | ||
1424 | 782 | # However there are other variables, like CC, which are often used in | ||
1425 | 783 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | ||
1426 | 784 | # | ||
1427 | 785 | # Another solution, used here, is to always expand $ac_aux_dir to an | ||
1428 | 786 | # absolute PATH. The drawback is that using absolute paths prevent a | ||
1429 | 787 | # configured tree to be moved without reconfiguration. | ||
1430 | 788 | |||
1431 | 789 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
1432 | 790 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | ||
1433 | 791 | # Expand $ac_aux_dir to an absolute path. | ||
1434 | 792 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | ||
1435 | 793 | ]) | ||
1436 | 794 | |||
1437 | 795 | # AM_CONDITIONAL -*- Autoconf -*- | ||
1438 | 796 | |||
1439 | 797 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | ||
1440 | 798 | # | ||
1441 | 799 | # This file is free software; the Free Software Foundation | ||
1442 | 800 | # gives unlimited permission to copy and/or distribute it, | ||
1443 | 801 | # with or without modifications, as long as this notice is preserved. | ||
1444 | 802 | |||
1445 | 803 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | ||
1446 | 804 | # ------------------------------------- | ||
1447 | 805 | # Define a conditional. | ||
1448 | 806 | AC_DEFUN([AM_CONDITIONAL], | ||
1449 | 807 | [AC_PREREQ([2.52])dnl | ||
1450 | 808 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | ||
1451 | 809 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | ||
1452 | 810 | AC_SUBST([$1_TRUE])dnl | ||
1453 | 811 | AC_SUBST([$1_FALSE])dnl | ||
1454 | 812 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
1455 | 813 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
1456 | 814 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | ||
1457 | 815 | if $2; then | ||
1458 | 816 | $1_TRUE= | ||
1459 | 817 | $1_FALSE='#' | ||
1460 | 818 | else | ||
1461 | 819 | $1_TRUE='#' | ||
1462 | 820 | $1_FALSE= | ||
1463 | 821 | fi | ||
1464 | 822 | AC_CONFIG_COMMANDS_PRE( | ||
1465 | 823 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
1466 | 824 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
1467 | 825 | Usually this means the macro was only invoked conditionally.]]) | ||
1468 | 826 | fi])]) | ||
1469 | 827 | |||
1470 | 828 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | ||
1471 | 829 | # | ||
1472 | 830 | # This file is free software; the Free Software Foundation | ||
1473 | 831 | # gives unlimited permission to copy and/or distribute it, | ||
1474 | 832 | # with or without modifications, as long as this notice is preserved. | ||
1475 | 833 | |||
1476 | 834 | |||
1477 | 835 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | ||
1478 | 836 | # written in clear, in which case automake, when reading aclocal.m4, | ||
1479 | 837 | # will think it sees a *use*, and therefore will trigger all it's | ||
1480 | 838 | # C support machinery. Also note that it means that autoscan, seeing | ||
1481 | 839 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | ||
1482 | 840 | |||
1483 | 841 | |||
1484 | 842 | # _AM_DEPENDENCIES(NAME) | ||
1485 | 843 | # ---------------------- | ||
1486 | 844 | # See how the compiler implements dependency checking. | ||
1487 | 845 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | ||
1488 | 846 | # We try a few techniques and use that to set a single cache variable. | ||
1489 | 847 | # | ||
1490 | 848 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | ||
1491 | 849 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | ||
1492 | 850 | # dependency, and given that the user is not expected to run this macro, | ||
1493 | 851 | # just rely on AC_PROG_CC. | ||
1494 | 852 | AC_DEFUN([_AM_DEPENDENCIES], | ||
1495 | 853 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
1496 | 854 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
1497 | 855 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
1498 | 856 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
1499 | 857 | |||
1500 | 858 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | ||
1501 | 859 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | ||
1502 | 860 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | ||
1503 | 861 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | ||
1504 | 862 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | ||
1505 | 863 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | ||
1506 | 864 | [depcc="$$1" am_compiler_list=]) | ||
1507 | 865 | |||
1508 | 866 | AC_CACHE_CHECK([dependency style of $depcc], | ||
1509 | 867 | [am_cv_$1_dependencies_compiler_type], | ||
1510 | 868 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
1511 | 869 | # We make a subdir and do the tests there. Otherwise we can end up | ||
1512 | 870 | # making bogus files that we don't know about and never remove. For | ||
1513 | 871 | # instance it was reported that on HP-UX the gcc test will end up | ||
1514 | 872 | # making a dummy file named 'D' -- because '-MD' means "put the output | ||
1515 | 873 | # in D". | ||
1516 | 874 | rm -rf conftest.dir | ||
1517 | 875 | mkdir conftest.dir | ||
1518 | 876 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
1519 | 877 | # using a relative directory. | ||
1520 | 878 | cp "$am_depcomp" conftest.dir | ||
1521 | 879 | cd conftest.dir | ||
1522 | 880 | # We will build objects and dependencies in a subdirectory because | ||
1523 | 881 | # it helps to detect inapplicable dependency modes. For instance | ||
1524 | 882 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
1525 | 883 | # side effect of compilation, but ICC will put the dependencies in | ||
1526 | 884 | # the current directory while Tru64 will put them in the object | ||
1527 | 885 | # directory. | ||
1528 | 886 | mkdir sub | ||
1529 | 887 | |||
1530 | 888 | am_cv_$1_dependencies_compiler_type=none | ||
1531 | 889 | if test "$am_compiler_list" = ""; then | ||
1532 | 890 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | ||
1533 | 891 | fi | ||
1534 | 892 | am__universal=false | ||
1535 | 893 | m4_case([$1], [CC], | ||
1536 | 894 | [case " $depcc " in #( | ||
1537 | 895 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
1538 | 896 | esac], | ||
1539 | 897 | [CXX], | ||
1540 | 898 | [case " $depcc " in #( | ||
1541 | 899 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
1542 | 900 | esac]) | ||
1543 | 901 | |||
1544 | 902 | for depmode in $am_compiler_list; do | ||
1545 | 903 | # Setup a source with many dependencies, because some compilers | ||
1546 | 904 | # like to wrap large dependency lists on column 80 (with \), and | ||
1547 | 905 | # we should not choose a depcomp mode which is confused by this. | ||
1548 | 906 | # | ||
1549 | 907 | # We need to recreate these files for each test, as the compiler may | ||
1550 | 908 | # overwrite some of them when testing with obscure command lines. | ||
1551 | 909 | # This happens at least with the AIX C compiler. | ||
1552 | 910 | : > sub/conftest.c | ||
1553 | 911 | for i in 1 2 3 4 5 6; do | ||
1554 | 912 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
1555 | 913 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | ||
1556 | 914 | # Solaris 10 /bin/sh. | ||
1557 | 915 | echo '/* dummy */' > sub/conftst$i.h | ||
1558 | 916 | done | ||
1559 | 917 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
1560 | 918 | |||
1561 | 919 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | ||
1562 | 920 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
1563 | 921 | # handle '-M -o', and we need to detect this. Also, some Intel | ||
1564 | 922 | # versions had trouble with output in subdirs. | ||
1565 | 923 | am__obj=sub/conftest.${OBJEXT-o} | ||
1566 | 924 | am__minus_obj="-o $am__obj" | ||
1567 | 925 | case $depmode in | ||
1568 | 926 | gcc) | ||
1569 | 927 | # This depmode causes a compiler race in universal mode. | ||
1570 | 928 | test "$am__universal" = false || continue | ||
1571 | 929 | ;; | ||
1572 | 930 | nosideeffect) | ||
1573 | 931 | # After this tag, mechanisms are not by side-effect, so they'll | ||
1574 | 932 | # only be used when explicitly requested. | ||
1575 | 933 | if test "x$enable_dependency_tracking" = xyes; then | ||
1576 | 934 | continue | ||
1577 | 935 | else | ||
1578 | 936 | break | ||
1579 | 937 | fi | ||
1580 | 938 | ;; | ||
1581 | 939 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
1582 | 940 | # This compiler won't grok '-c -o', but also, the minuso test has | ||
1583 | 941 | # not run yet. These depmodes are late enough in the game, and | ||
1584 | 942 | # so weak that their functioning should not be impacted. | ||
1585 | 943 | am__obj=conftest.${OBJEXT-o} | ||
1586 | 944 | am__minus_obj= | ||
1587 | 945 | ;; | ||
1588 | 946 | none) break ;; | ||
1589 | 947 | esac | ||
1590 | 948 | if depmode=$depmode \ | ||
1591 | 949 | source=sub/conftest.c object=$am__obj \ | ||
1592 | 950 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
1593 | 951 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
1594 | 952 | >/dev/null 2>conftest.err && | ||
1595 | 953 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
1596 | 954 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
1597 | 955 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
1598 | 956 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
1599 | 957 | # icc doesn't choke on unknown options, it will just issue warnings | ||
1600 | 958 | # or remarks (even with -Werror). So we grep stderr for any message | ||
1601 | 959 | # that says an option was ignored or not supported. | ||
1602 | 960 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
1603 | 961 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
1604 | 962 | # The diagnosis changed in icc 8.0: | ||
1605 | 963 | # icc: Command line remark: option '-MP' not supported | ||
1606 | 964 | if (grep 'ignoring option' conftest.err || | ||
1607 | 965 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
1608 | 966 | am_cv_$1_dependencies_compiler_type=$depmode | ||
1609 | 967 | break | ||
1610 | 968 | fi | ||
1611 | 969 | fi | ||
1612 | 970 | done | ||
1613 | 971 | |||
1614 | 972 | cd .. | ||
1615 | 973 | rm -rf conftest.dir | ||
1616 | 974 | else | ||
1617 | 975 | am_cv_$1_dependencies_compiler_type=none | ||
1618 | 976 | fi | ||
1619 | 977 | ]) | ||
1620 | 978 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
1621 | 979 | AM_CONDITIONAL([am__fastdep$1], [ | ||
1622 | 980 | test "x$enable_dependency_tracking" != xno \ | ||
1623 | 981 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
1624 | 982 | ]) | ||
1625 | 983 | |||
1626 | 984 | |||
1627 | 985 | # AM_SET_DEPDIR | ||
1628 | 986 | # ------------- | ||
1629 | 987 | # Choose a directory name for dependency files. | ||
1630 | 988 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | ||
1631 | 989 | AC_DEFUN([AM_SET_DEPDIR], | ||
1632 | 990 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
1633 | 991 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
1634 | 992 | ]) | ||
1635 | 993 | |||
1636 | 994 | |||
1637 | 995 | # AM_DEP_TRACK | ||
1638 | 996 | # ------------ | ||
1639 | 997 | AC_DEFUN([AM_DEP_TRACK], | ||
1640 | 998 | [AC_ARG_ENABLE([dependency-tracking], [dnl | ||
1641 | 999 | AS_HELP_STRING( | ||
1642 | 1000 | [--enable-dependency-tracking], | ||
1643 | 1001 | [do not reject slow dependency extractors]) | ||
1644 | 1002 | AS_HELP_STRING( | ||
1645 | 1003 | [--disable-dependency-tracking], | ||
1646 | 1004 | [speeds up one-time build])]) | ||
1647 | 1005 | if test "x$enable_dependency_tracking" != xno; then | ||
1648 | 1006 | am_depcomp="$ac_aux_dir/depcomp" | ||
1649 | 1007 | AMDEPBACKSLASH='\' | ||
1650 | 1008 | am__nodep='_no' | ||
1651 | 1009 | fi | ||
1652 | 1010 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
1653 | 1011 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
1654 | 1012 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
1655 | 1013 | AC_SUBST([am__nodep])dnl | ||
1656 | 1014 | _AM_SUBST_NOTMAKE([am__nodep])dnl | ||
1657 | 1015 | ]) | ||
1658 | 1016 | |||
1659 | 1017 | # Generate code to set up dependency tracking. -*- Autoconf -*- | ||
1660 | 1018 | |||
1661 | 1019 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | ||
1662 | 1020 | # | ||
1663 | 1021 | # This file is free software; the Free Software Foundation | ||
1664 | 1022 | # gives unlimited permission to copy and/or distribute it, | ||
1665 | 1023 | # with or without modifications, as long as this notice is preserved. | ||
1666 | 1024 | |||
1667 | 1025 | |||
1668 | 1026 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1669 | 1027 | # ------------------------------ | ||
1670 | 1028 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1671 | 1029 | [{ | ||
1672 | 1030 | # Older Autoconf quotes --file arguments for eval, but not when files | ||
1673 | 1031 | # are listed without --file. Let's play safe and only enable the eval | ||
1674 | 1032 | # if we detect the quoting. | ||
1675 | 1033 | case $CONFIG_FILES in | ||
1676 | 1034 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
1677 | 1035 | *) set x $CONFIG_FILES ;; | ||
1678 | 1036 | esac | ||
1679 | 1037 | shift | ||
1680 | 1038 | for mf | ||
1681 | 1039 | do | ||
1682 | 1040 | # Strip MF so we end up with the name of the file. | ||
1683 | 1041 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
1684 | 1042 | # Check whether this is an Automake generated Makefile or not. | ||
1685 | 1043 | # We used to match only the files named 'Makefile.in', but | ||
1686 | 1044 | # some people rename them; so instead we look at the file content. | ||
1687 | 1045 | # Grep'ing the first line is not enough: some people post-process | ||
1688 | 1046 | # each Makefile.in and add a new line on top of each file to say so. | ||
1689 | 1047 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
1690 | 1048 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
1691 | 1049 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
1692 | 1050 | dirpart=`AS_DIRNAME("$mf")` | ||
1693 | 1051 | else | ||
1694 | 1052 | continue | ||
1695 | 1053 | fi | ||
1696 | 1054 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
1697 | 1055 | # from the Makefile without running 'make'. | ||
1698 | 1056 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
1699 | 1057 | test -z "$DEPDIR" && continue | ||
1700 | 1058 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
1701 | 1059 | test -z "$am__include" && continue | ||
1702 | 1060 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
1703 | 1061 | # Find all dependency output files, they are included files with | ||
1704 | 1062 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
1705 | 1063 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
1706 | 1064 | # expansion. | ||
1707 | 1065 | for file in `sed -n " | ||
1708 | 1066 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
1709 | 1067 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | ||
1710 | 1068 | # Make sure the directory exists. | ||
1711 | 1069 | test -f "$dirpart/$file" && continue | ||
1712 | 1070 | fdir=`AS_DIRNAME(["$file"])` | ||
1713 | 1071 | AS_MKDIR_P([$dirpart/$fdir]) | ||
1714 | 1072 | # echo "creating $dirpart/$file" | ||
1715 | 1073 | echo '# dummy' > "$dirpart/$file" | ||
1716 | 1074 | done | ||
1717 | 1075 | done | ||
1718 | 1076 | } | ||
1719 | 1077 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1720 | 1078 | |||
1721 | 1079 | |||
1722 | 1080 | # AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1723 | 1081 | # ----------------------------- | ||
1724 | 1082 | # This macro should only be invoked once -- use via AC_REQUIRE. | ||
1725 | 1083 | # | ||
1726 | 1084 | # This code is only required when automatic dependency tracking | ||
1727 | 1085 | # is enabled. FIXME. This creates each '.P' file that we will | ||
1728 | 1086 | # need in order to bootstrap the dependency handling code. | ||
1729 | 1087 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1730 | 1088 | [AC_CONFIG_COMMANDS([depfiles], | ||
1731 | 1089 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1732 | 1090 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | ||
1733 | 1091 | ]) | ||
1734 | 1092 | |||
1735 | 1093 | # Do all the work for Automake. -*- Autoconf -*- | ||
1736 | 1094 | |||
1737 | 1095 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | ||
1738 | 1096 | # | ||
1739 | 1097 | # This file is free software; the Free Software Foundation | ||
1740 | 1098 | # gives unlimited permission to copy and/or distribute it, | ||
1741 | 1099 | # with or without modifications, as long as this notice is preserved. | ||
1742 | 1100 | |||
1743 | 1101 | # This macro actually does too much. Some checks are only needed if | ||
1744 | 1102 | # your package does certain things. But this isn't really a big deal. | ||
1745 | 1103 | |||
1746 | 1104 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | ||
1747 | 1105 | m4_define([AC_PROG_CC], | ||
1748 | 1106 | m4_defn([AC_PROG_CC]) | ||
1749 | 1107 | [_AM_PROG_CC_C_O | ||
1750 | 1108 | ]) | ||
1751 | 1109 | |||
1752 | 1110 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | ||
1753 | 1111 | # AM_INIT_AUTOMAKE([OPTIONS]) | ||
1754 | 1112 | # ----------------------------------------------- | ||
1755 | 1113 | # The call with PACKAGE and VERSION arguments is the old style | ||
1756 | 1114 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | ||
1757 | 1115 | # and VERSION should now be passed to AC_INIT and removed from | ||
1758 | 1116 | # the call to AM_INIT_AUTOMAKE. | ||
1759 | 1117 | # We support both call styles for the transition. After | ||
1760 | 1118 | # the next Automake release, Autoconf can make the AC_INIT | ||
1761 | 1119 | # arguments mandatory, and then we can depend on a new Autoconf | ||
1762 | 1120 | # release and drop the old call support. | ||
1763 | 1121 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
1764 | 1122 | [AC_PREREQ([2.65])dnl | ||
1765 | 1123 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
1766 | 1124 | dnl the ones we care about. | ||
1767 | 1125 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
1768 | 1126 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
1769 | 1127 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
1770 | 1128 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
1771 | 1129 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
1772 | 1130 | # is not polluted with repeated "-I." | ||
1773 | 1131 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | ||
1774 | 1132 | # test to see if srcdir already configured | ||
1775 | 1133 | if test -f $srcdir/config.status; then | ||
1776 | 1134 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | ||
1777 | 1135 | fi | ||
1778 | 1136 | fi | ||
1779 | 1137 | |||
1780 | 1138 | # test whether we have cygpath | ||
1781 | 1139 | if test -z "$CYGPATH_W"; then | ||
1782 | 1140 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
1783 | 1141 | CYGPATH_W='cygpath -w' | ||
1784 | 1142 | else | ||
1785 | 1143 | CYGPATH_W=echo | ||
1786 | 1144 | fi | ||
1787 | 1145 | fi | ||
1788 | 1146 | AC_SUBST([CYGPATH_W]) | ||
1789 | 1147 | |||
1790 | 1148 | # Define the identity of the package. | ||
1791 | 1149 | dnl Distinguish between old-style and new-style calls. | ||
1792 | 1150 | m4_ifval([$2], | ||
1793 | 1151 | [AC_DIAGNOSE([obsolete], | ||
1794 | 1152 | [$0: two- and three-arguments forms are deprecated.]) | ||
1795 | 1153 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | ||
1796 | 1154 | AC_SUBST([PACKAGE], [$1])dnl | ||
1797 | 1155 | AC_SUBST([VERSION], [$2])], | ||
1798 | 1156 | [_AM_SET_OPTIONS([$1])dnl | ||
1799 | 1157 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
1800 | 1158 | m4_if( | ||
1801 | 1159 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | ||
1802 | 1160 | [ok:ok],, | ||
1803 | 1161 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | ||
1804 | 1162 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | ||
1805 | 1163 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | ||
1806 | 1164 | |||
1807 | 1165 | _AM_IF_OPTION([no-define],, | ||
1808 | 1166 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | ||
1809 | 1167 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | ||
1810 | 1168 | |||
1811 | 1169 | # Some tools Automake needs. | ||
1812 | 1170 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
1813 | 1171 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
1814 | 1172 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | ||
1815 | 1173 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | ||
1816 | 1174 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | ||
1817 | 1175 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | ||
1818 | 1176 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | ||
1819 | 1177 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
1820 | 1178 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | ||
1821 | 1179 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
1822 | 1180 | # For better backward compatibility. To be removed once Automake 1.9.x | ||
1823 | 1181 | # dies out for good. For more background, see: | ||
1824 | 1182 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | ||
1825 | 1183 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | ||
1826 | 1184 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | ||
1827 | 1185 | # We need awk for the "check" target. The system "awk" is bad on | ||
1828 | 1186 | # some platforms. | ||
1829 | 1187 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
1830 | 1188 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
1831 | 1189 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
1832 | 1190 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | ||
1833 | 1191 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
1834 | 1192 | [_AM_PROG_TAR([v7])])]) | ||
1835 | 1193 | _AM_IF_OPTION([no-dependencies],, | ||
1836 | 1194 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | ||
1837 | 1195 | [_AM_DEPENDENCIES([CC])], | ||
1838 | 1196 | [m4_define([AC_PROG_CC], | ||
1839 | 1197 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | ||
1840 | 1198 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
1841 | 1199 | [_AM_DEPENDENCIES([CXX])], | ||
1842 | 1200 | [m4_define([AC_PROG_CXX], | ||
1843 | 1201 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | ||
1844 | 1202 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
1845 | 1203 | [_AM_DEPENDENCIES([OBJC])], | ||
1846 | 1204 | [m4_define([AC_PROG_OBJC], | ||
1847 | 1205 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | ||
1848 | 1206 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | ||
1849 | 1207 | [_AM_DEPENDENCIES([OBJCXX])], | ||
1850 | 1208 | [m4_define([AC_PROG_OBJCXX], | ||
1851 | 1209 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | ||
1852 | 1210 | ]) | ||
1853 | 1211 | AC_REQUIRE([AM_SILENT_RULES])dnl | ||
1854 | 1212 | dnl The testsuite driver may need to know about EXEEXT, so add the | ||
1855 | 1213 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | ||
1856 | 1214 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | ||
1857 | 1215 | AC_CONFIG_COMMANDS_PRE(dnl | ||
1858 | 1216 | [m4_provide_if([_AM_COMPILER_EXEEXT], | ||
1859 | 1217 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | ||
1860 | 1218 | |||
1861 | 1219 | # POSIX will say in a future version that running "rm -f" with no argument | ||
1862 | 1220 | # is OK; and we want to be able to make that assumption in our Makefile | ||
1863 | 1221 | # recipes. So use an aggressive probe to check that the usage we want is | ||
1864 | 1222 | # actually supported "in the wild" to an acceptable degree. | ||
1865 | 1223 | # See automake bug#10828. | ||
1866 | 1224 | # To make any issue more visible, cause the running configure to be aborted | ||
1867 | 1225 | # by default if the 'rm' program in use doesn't match our expectations; the | ||
1868 | 1226 | # user can still override this though. | ||
1869 | 1227 | if rm -f && rm -fr && rm -rf; then : OK; else | ||
1870 | 1228 | cat >&2 <<'END' | ||
1871 | 1229 | Oops! | ||
1872 | 1230 | |||
1873 | 1231 | Your 'rm' program seems unable to run without file operands specified | ||
1874 | 1232 | on the command line, even when the '-f' option is present. This is contrary | ||
1875 | 1233 | to the behaviour of most rm programs out there, and not conforming with | ||
1876 | 1234 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | ||
1877 | 1235 | |||
1878 | 1236 | Please tell bug-automake@gnu.org about your system, including the value | ||
1879 | 1237 | of your $PATH and any error possibly output before this message. This | ||
1880 | 1238 | can help us improve future automake versions. | ||
1881 | 1239 | |||
1882 | 1240 | END | ||
1883 | 1241 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | ||
1884 | 1242 | echo 'Configuration will proceed anyway, since you have set the' >&2 | ||
1885 | 1243 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | ||
1886 | 1244 | echo >&2 | ||
1887 | 1245 | else | ||
1888 | 1246 | cat >&2 <<'END' | ||
1889 | 1247 | Aborting the configuration process, to ensure you take notice of the issue. | ||
1890 | 1248 | |||
1891 | 1249 | You can download and install GNU coreutils to get an 'rm' implementation | ||
1892 | 1250 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | ||
1893 | 1251 | |||
1894 | 1252 | If you want to complete the configuration process using your problematic | ||
1895 | 1253 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | ||
1896 | 1254 | to "yes", and re-run configure. | ||
1897 | 1255 | |||
1898 | 1256 | END | ||
1899 | 1257 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | ||
1900 | 1258 | fi | ||
1901 | 1259 | fi | ||
1902 | 1260 | ]) | ||
1903 | 1261 | |||
1904 | 1262 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | ||
1905 | 1263 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | ||
1906 | 1264 | dnl mangled by Autoconf and run in a shell conditional statement. | ||
1907 | 1265 | m4_define([_AC_COMPILER_EXEEXT], | ||
1908 | 1266 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | ||
1909 | 1267 | |||
1910 | 1268 | # When config.status generates a header, we must update the stamp-h file. | ||
1911 | 1269 | # This file resides in the same directory as the config header | ||
1912 | 1270 | # that is generated. The stamp files are numbered to have different names. | ||
1913 | 1271 | |||
1914 | 1272 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | ||
1915 | 1273 | # loop where config.status creates the headers, so we can generate | ||
1916 | 1274 | # our stamp files there. | ||
1917 | 1275 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
1918 | 1276 | [# Compute $1's index in $config_headers. | ||
1919 | 1277 | _am_arg=$1 | ||
1920 | 1278 | _am_stamp_count=1 | ||
1921 | 1279 | for _am_header in $config_headers :; do | ||
1922 | 1280 | case $_am_header in | ||
1923 | 1281 | $_am_arg | $_am_arg:* ) | ||
1924 | 1282 | break ;; | ||
1925 | 1283 | * ) | ||
1926 | 1284 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
1927 | 1285 | esac | ||
1928 | 1286 | done | ||
1929 | 1287 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
1930 | 1288 | |||
1931 | 1289 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
1932 | 1290 | # | ||
1933 | 1291 | # This file is free software; the Free Software Foundation | ||
1934 | 1292 | # gives unlimited permission to copy and/or distribute it, | ||
1935 | 1293 | # with or without modifications, as long as this notice is preserved. | ||
1936 | 1294 | |||
1937 | 1295 | # AM_PROG_INSTALL_SH | ||
1938 | 1296 | # ------------------ | ||
1939 | 1297 | # Define $install_sh. | ||
1940 | 1298 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
1941 | 1299 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
1942 | 1300 | if test x"${install_sh}" != xset; then | ||
1943 | 1301 | case $am_aux_dir in | ||
1944 | 1302 | *\ * | *\ *) | ||
1945 | 1303 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
1946 | 1304 | *) | ||
1947 | 1305 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
1948 | 1306 | esac | ||
1949 | 1307 | fi | ||
1950 | 1308 | AC_SUBST([install_sh])]) | ||
1951 | 1309 | |||
1952 | 1310 | # Copyright (C) 2003-2013 Free Software Foundation, Inc. | ||
1953 | 1311 | # | ||
1954 | 1312 | # This file is free software; the Free Software Foundation | ||
1955 | 1313 | # gives unlimited permission to copy and/or distribute it, | ||
1956 | 1314 | # with or without modifications, as long as this notice is preserved. | ||
1957 | 1315 | |||
1958 | 1316 | # Check whether the underlying file-system supports filenames | ||
1959 | 1317 | # with a leading dot. For instance MS-DOS doesn't. | ||
1960 | 1318 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
1961 | 1319 | [rm -rf .tst 2>/dev/null | ||
1962 | 1320 | mkdir .tst 2>/dev/null | ||
1963 | 1321 | if test -d .tst; then | ||
1964 | 1322 | am__leading_dot=. | ||
1965 | 1323 | else | ||
1966 | 1324 | am__leading_dot=_ | ||
1967 | 1325 | fi | ||
1968 | 1326 | rmdir .tst 2>/dev/null | ||
1969 | 1327 | AC_SUBST([am__leading_dot])]) | ||
1970 | 1328 | |||
1971 | 1329 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | ||
1972 | 1330 | # From Jim Meyering | ||
1973 | 1331 | |||
1974 | 1332 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | ||
1975 | 1333 | # | ||
1976 | 1334 | # This file is free software; the Free Software Foundation | ||
1977 | 1335 | # gives unlimited permission to copy and/or distribute it, | ||
1978 | 1336 | # with or without modifications, as long as this notice is preserved. | ||
1979 | 1337 | |||
1980 | 1338 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) | ||
1981 | 1339 | # ---------------------------------- | ||
1982 | 1340 | # Control maintainer-specific portions of Makefiles. | ||
1983 | 1341 | # Default is to disable them, unless 'enable' is passed literally. | ||
1984 | 1342 | # For symmetry, 'disable' may be passed as well. Anyway, the user | ||
1985 | 1343 | # can override the default with the --enable/--disable switch. | ||
1986 | 1344 | AC_DEFUN([AM_MAINTAINER_MODE], | ||
1987 | 1345 | [m4_case(m4_default([$1], [disable]), | ||
1988 | 1346 | [enable], [m4_define([am_maintainer_other], [disable])], | ||
1989 | 1347 | [disable], [m4_define([am_maintainer_other], [enable])], | ||
1990 | 1348 | [m4_define([am_maintainer_other], [enable]) | ||
1991 | 1349 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | ||
1992 | 1350 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | ||
1993 | 1351 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | ||
1994 | 1352 | AC_ARG_ENABLE([maintainer-mode], | ||
1995 | 1353 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], | ||
1996 | 1354 | am_maintainer_other[ make rules and dependencies not useful | ||
1997 | 1355 | (and sometimes confusing) to the casual installer])], | ||
1998 | 1356 | [USE_MAINTAINER_MODE=$enableval], | ||
1999 | 1357 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | ||
2000 | 1358 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | ||
2001 | 1359 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | ||
2002 | 1360 | MAINT=$MAINTAINER_MODE_TRUE | ||
2003 | 1361 | AC_SUBST([MAINT])dnl | ||
2004 | 1362 | ] | ||
2005 | 1363 | ) | ||
2006 | 1364 | |||
2007 | 1365 | # Check to see how 'make' treats includes. -*- Autoconf -*- | ||
2008 | 1366 | |||
2009 | 1367 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
2010 | 1368 | # | ||
2011 | 1369 | # This file is free software; the Free Software Foundation | ||
2012 | 1370 | # gives unlimited permission to copy and/or distribute it, | ||
2013 | 1371 | # with or without modifications, as long as this notice is preserved. | ||
2014 | 1372 | |||
2015 | 1373 | # AM_MAKE_INCLUDE() | ||
2016 | 1374 | # ----------------- | ||
2017 | 1375 | # Check to see how make treats includes. | ||
2018 | 1376 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
2019 | 1377 | [am_make=${MAKE-make} | ||
2020 | 1378 | cat > confinc << 'END' | ||
2021 | 1379 | am__doit: | ||
2022 | 1380 | @echo this is the am__doit target | ||
2023 | 1381 | .PHONY: am__doit | ||
2024 | 1382 | END | ||
2025 | 1383 | # If we don't find an include directive, just comment out the code. | ||
2026 | 1384 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
2027 | 1385 | am__include="#" | ||
2028 | 1386 | am__quote= | ||
2029 | 1387 | _am_result=none | ||
2030 | 1388 | # First try GNU make style include. | ||
2031 | 1389 | echo "include confinc" > confmf | ||
2032 | 1390 | # Ignore all kinds of additional output from 'make'. | ||
2033 | 1391 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
2034 | 1392 | *the\ am__doit\ target*) | ||
2035 | 1393 | am__include=include | ||
2036 | 1394 | am__quote= | ||
2037 | 1395 | _am_result=GNU | ||
2038 | 1396 | ;; | ||
2039 | 1397 | esac | ||
2040 | 1398 | # Now try BSD make style include. | ||
2041 | 1399 | if test "$am__include" = "#"; then | ||
2042 | 1400 | echo '.include "confinc"' > confmf | ||
2043 | 1401 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
2044 | 1402 | *the\ am__doit\ target*) | ||
2045 | 1403 | am__include=.include | ||
2046 | 1404 | am__quote="\"" | ||
2047 | 1405 | _am_result=BSD | ||
2048 | 1406 | ;; | ||
2049 | 1407 | esac | ||
2050 | 1408 | fi | ||
2051 | 1409 | AC_SUBST([am__include]) | ||
2052 | 1410 | AC_SUBST([am__quote]) | ||
2053 | 1411 | AC_MSG_RESULT([$_am_result]) | ||
2054 | 1412 | rm -f confinc confmf | ||
2055 | 1413 | ]) | ||
2056 | 1414 | |||
2057 | 1415 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | ||
2058 | 1416 | |||
2059 | 1417 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | ||
2060 | 1418 | # | ||
2061 | 1419 | # This file is free software; the Free Software Foundation | ||
2062 | 1420 | # gives unlimited permission to copy and/or distribute it, | ||
2063 | 1421 | # with or without modifications, as long as this notice is preserved. | ||
2064 | 1422 | |||
2065 | 1423 | # AM_MISSING_PROG(NAME, PROGRAM) | ||
2066 | 1424 | # ------------------------------ | ||
2067 | 1425 | AC_DEFUN([AM_MISSING_PROG], | ||
2068 | 1426 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
2069 | 1427 | $1=${$1-"${am_missing_run}$2"} | ||
2070 | 1428 | AC_SUBST($1)]) | ||
2071 | 1429 | |||
2072 | 1430 | # AM_MISSING_HAS_RUN | ||
2073 | 1431 | # ------------------ | ||
2074 | 1432 | # Define MISSING if not defined so far and test if it is modern enough. | ||
2075 | 1433 | # If it is, set am_missing_run to use it, otherwise, to nothing. | ||
2076 | 1434 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
2077 | 1435 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
2078 | 1436 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
2079 | 1437 | if test x"${MISSING+set}" != xset; then | ||
2080 | 1438 | case $am_aux_dir in | ||
2081 | 1439 | *\ * | *\ *) | ||
2082 | 1440 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
2083 | 1441 | *) | ||
2084 | 1442 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
2085 | 1443 | esac | ||
2086 | 1444 | fi | ||
2087 | 1445 | # Use eval to expand $SHELL | ||
2088 | 1446 | if eval "$MISSING --is-lightweight"; then | ||
2089 | 1447 | am_missing_run="$MISSING " | ||
2090 | 1448 | else | ||
2091 | 1449 | am_missing_run= | ||
2092 | 1450 | AC_MSG_WARN(['missing' script is too old or missing]) | ||
2093 | 1451 | fi | ||
2094 | 1452 | ]) | ||
2095 | 1453 | |||
2096 | 1454 | # Helper functions for option handling. -*- Autoconf -*- | ||
2097 | 1455 | |||
2098 | 1456 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
2099 | 1457 | # | ||
2100 | 1458 | # This file is free software; the Free Software Foundation | ||
2101 | 1459 | # gives unlimited permission to copy and/or distribute it, | ||
2102 | 1460 | # with or without modifications, as long as this notice is preserved. | ||
2103 | 1461 | |||
2104 | 1462 | # _AM_MANGLE_OPTION(NAME) | ||
2105 | 1463 | # ----------------------- | ||
2106 | 1464 | AC_DEFUN([_AM_MANGLE_OPTION], | ||
2107 | 1465 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
2108 | 1466 | |||
2109 | 1467 | # _AM_SET_OPTION(NAME) | ||
2110 | 1468 | # -------------------- | ||
2111 | 1469 | # Set option NAME. Presently that only means defining a flag for this option. | ||
2112 | 1470 | AC_DEFUN([_AM_SET_OPTION], | ||
2113 | 1471 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | ||
2114 | 1472 | |||
2115 | 1473 | # _AM_SET_OPTIONS(OPTIONS) | ||
2116 | 1474 | # ------------------------ | ||
2117 | 1475 | # OPTIONS is a space-separated list of Automake options. | ||
2118 | 1476 | AC_DEFUN([_AM_SET_OPTIONS], | ||
2119 | 1477 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | ||
2120 | 1478 | |||
2121 | 1479 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | ||
2122 | 1480 | # ------------------------------------------- | ||
2123 | 1481 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | ||
2124 | 1482 | AC_DEFUN([_AM_IF_OPTION], | ||
2125 | 1483 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
2126 | 1484 | |||
2127 | 1485 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | ||
2128 | 1486 | # | ||
2129 | 1487 | # This file is free software; the Free Software Foundation | ||
2130 | 1488 | # gives unlimited permission to copy and/or distribute it, | ||
2131 | 1489 | # with or without modifications, as long as this notice is preserved. | ||
2132 | 1490 | |||
2133 | 1491 | # _AM_PROG_CC_C_O | ||
2134 | 1492 | # --------------- | ||
2135 | 1493 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | ||
2136 | 1494 | # to automatically call this. | ||
2137 | 1495 | AC_DEFUN([_AM_PROG_CC_C_O], | ||
2138 | 1496 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
2139 | 1497 | AC_REQUIRE_AUX_FILE([compile])dnl | ||
2140 | 1498 | AC_LANG_PUSH([C])dnl | ||
2141 | 1499 | AC_CACHE_CHECK( | ||
2142 | 1500 | [whether $CC understands -c and -o together], | ||
2143 | 1501 | [am_cv_prog_cc_c_o], | ||
2144 | 1502 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | ||
2145 | 1503 | # Make sure it works both with $CC and with simple cc. | ||
2146 | 1504 | # Following AC_PROG_CC_C_O, we do the test twice because some | ||
2147 | 1505 | # compilers refuse to overwrite an existing .o file with -o, | ||
2148 | 1506 | # though they will create one. | ||
2149 | 1507 | am_cv_prog_cc_c_o=yes | ||
2150 | 1508 | for am_i in 1 2; do | ||
2151 | 1509 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | ||
2152 | 1510 | && test -f conftest2.$ac_objext; then | ||
2153 | 1511 | : OK | ||
2154 | 1512 | else | ||
2155 | 1513 | am_cv_prog_cc_c_o=no | ||
2156 | 1514 | break | ||
2157 | 1515 | fi | ||
2158 | 1516 | done | ||
2159 | 1517 | rm -f core conftest* | ||
2160 | 1518 | unset am_i]) | ||
2161 | 1519 | if test "$am_cv_prog_cc_c_o" != yes; then | ||
2162 | 1520 | # Losing compiler, so override with the script. | ||
2163 | 1521 | # FIXME: It is wrong to rewrite CC. | ||
2164 | 1522 | # But if we don't then we get into trouble of one sort or another. | ||
2165 | 1523 | # A longer-term fix would be to have automake use am__CC in this case, | ||
2166 | 1524 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
2167 | 1525 | CC="$am_aux_dir/compile $CC" | ||
2168 | 1526 | fi | ||
2169 | 1527 | AC_LANG_POP([C])]) | ||
2170 | 1528 | |||
2171 | 1529 | # For backward compatibility. | ||
2172 | 1530 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | ||
2173 | 1531 | |||
2174 | 1532 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
2175 | 1533 | # | ||
2176 | 1534 | # This file is free software; the Free Software Foundation | ||
2177 | 1535 | # gives unlimited permission to copy and/or distribute it, | ||
2178 | 1536 | # with or without modifications, as long as this notice is preserved. | ||
2179 | 1537 | |||
2180 | 1538 | # AM_RUN_LOG(COMMAND) | ||
2181 | 1539 | # ------------------- | ||
2182 | 1540 | # Run COMMAND, save the exit status in ac_status, and log it. | ||
2183 | 1541 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | ||
2184 | 1542 | AC_DEFUN([AM_RUN_LOG], | ||
2185 | 1543 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | ||
2186 | 1544 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | ||
2187 | 1545 | ac_status=$? | ||
2188 | 1546 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | ||
2189 | 1547 | (exit $ac_status); }]) | ||
2190 | 1548 | |||
2191 | 1549 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | ||
2192 | 1550 | |||
2193 | 1551 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | ||
2194 | 1552 | # | ||
2195 | 1553 | # This file is free software; the Free Software Foundation | ||
2196 | 1554 | # gives unlimited permission to copy and/or distribute it, | ||
2197 | 1555 | # with or without modifications, as long as this notice is preserved. | ||
2198 | 1556 | |||
2199 | 1557 | # AM_SANITY_CHECK | ||
2200 | 1558 | # --------------- | ||
2201 | 1559 | AC_DEFUN([AM_SANITY_CHECK], | ||
2202 | 1560 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
2203 | 1561 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
2204 | 1562 | # name. Accept space and tab only in the latter. | ||
2205 | 1563 | am_lf=' | ||
2206 | 1564 | ' | ||
2207 | 1565 | case `pwd` in | ||
2208 | 1566 | *[[\\\"\#\$\&\'\`$am_lf]]*) | ||
2209 | 1567 | AC_MSG_ERROR([unsafe absolute working directory name]);; | ||
2210 | 1568 | esac | ||
2211 | 1569 | case $srcdir in | ||
2212 | 1570 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | ||
2213 | 1571 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | ||
2214 | 1572 | esac | ||
2215 | 1573 | |||
2216 | 1574 | # Do 'set' in a subshell so we don't clobber the current shell's | ||
2217 | 1575 | # arguments. Must try -L first in case configure is actually a | ||
2218 | 1576 | # symlink; some systems play weird games with the mod time of symlinks | ||
2219 | 1577 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
2220 | 1578 | # directory). | ||
2221 | 1579 | if ( | ||
2222 | 1580 | am_has_slept=no | ||
2223 | 1581 | for am_try in 1 2; do | ||
2224 | 1582 | echo "timestamp, slept: $am_has_slept" > conftest.file | ||
2225 | 1583 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
2226 | 1584 | if test "$[*]" = "X"; then | ||
2227 | 1585 | # -L didn't work. | ||
2228 | 1586 | set X `ls -t "$srcdir/configure" conftest.file` | ||
2229 | 1587 | fi | ||
2230 | 1588 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | ||
2231 | 1589 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | ||
2232 | 1590 | |||
2233 | 1591 | # If neither matched, then we have a broken ls. This can happen | ||
2234 | 1592 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
2235 | 1593 | # broken ls alias from the environment. This has actually | ||
2236 | 1594 | # happened. Such a system could not be considered "sane". | ||
2237 | 1595 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | ||
2238 | 1596 | alias in your environment]) | ||
2239 | 1597 | fi | ||
2240 | 1598 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | ||
2241 | 1599 | break | ||
2242 | 1600 | fi | ||
2243 | 1601 | # Just in case. | ||
2244 | 1602 | sleep 1 | ||
2245 | 1603 | am_has_slept=yes | ||
2246 | 1604 | done | ||
2247 | 1605 | test "$[2]" = conftest.file | ||
2248 | 1606 | ) | ||
2249 | 1607 | then | ||
2250 | 1608 | # Ok. | ||
2251 | 1609 | : | ||
2252 | 1610 | else | ||
2253 | 1611 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
2254 | 1612 | Check your system clock]) | ||
2255 | 1613 | fi | ||
2256 | 1614 | AC_MSG_RESULT([yes]) | ||
2257 | 1615 | # If we didn't sleep, we still need to ensure time stamps of config.status and | ||
2258 | 1616 | # generated files are strictly newer. | ||
2259 | 1617 | am_sleep_pid= | ||
2260 | 1618 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | ||
2261 | 1619 | ( sleep 1 ) & | ||
2262 | 1620 | am_sleep_pid=$! | ||
2263 | 1621 | fi | ||
2264 | 1622 | AC_CONFIG_COMMANDS_PRE( | ||
2265 | 1623 | [AC_MSG_CHECKING([that generated files are newer than configure]) | ||
2266 | 1624 | if test -n "$am_sleep_pid"; then | ||
2267 | 1625 | # Hide warnings about reused PIDs. | ||
2268 | 1626 | wait $am_sleep_pid 2>/dev/null | ||
2269 | 1627 | fi | ||
2270 | 1628 | AC_MSG_RESULT([done])]) | ||
2271 | 1629 | rm -f conftest.file | ||
2272 | 1630 | ]) | ||
2273 | 1631 | |||
2274 | 1632 | # Copyright (C) 2009-2013 Free Software Foundation, Inc. | ||
2275 | 1633 | # | ||
2276 | 1634 | # This file is free software; the Free Software Foundation | ||
2277 | 1635 | # gives unlimited permission to copy and/or distribute it, | ||
2278 | 1636 | # with or without modifications, as long as this notice is preserved. | ||
2279 | 1637 | |||
2280 | 1638 | # AM_SILENT_RULES([DEFAULT]) | ||
2281 | 1639 | # -------------------------- | ||
2282 | 1640 | # Enable less verbose build rules; with the default set to DEFAULT | ||
2283 | 1641 | # ("yes" being less verbose, "no" or empty being verbose). | ||
2284 | 1642 | AC_DEFUN([AM_SILENT_RULES], | ||
2285 | 1643 | [AC_ARG_ENABLE([silent-rules], [dnl | ||
2286 | 1644 | AS_HELP_STRING( | ||
2287 | 1645 | [--enable-silent-rules], | ||
2288 | 1646 | [less verbose build output (undo: "make V=1")]) | ||
2289 | 1647 | AS_HELP_STRING( | ||
2290 | 1648 | [--disable-silent-rules], | ||
2291 | 1649 | [verbose build output (undo: "make V=0")])dnl | ||
2292 | 1650 | ]) | ||
2293 | 1651 | case $enable_silent_rules in @%:@ ((( | ||
2294 | 1652 | yes) AM_DEFAULT_VERBOSITY=0;; | ||
2295 | 1653 | no) AM_DEFAULT_VERBOSITY=1;; | ||
2296 | 1654 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | ||
2297 | 1655 | esac | ||
2298 | 1656 | dnl | ||
2299 | 1657 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | ||
2300 | 1658 | dnl do not support nested variable expansions. | ||
2301 | 1659 | dnl See automake bug#9928 and bug#10237. | ||
2302 | 1660 | am_make=${MAKE-make} | ||
2303 | 1661 | AC_CACHE_CHECK([whether $am_make supports nested variables], | ||
2304 | 1662 | [am_cv_make_support_nested_variables], | ||
2305 | 1663 | [if AS_ECHO([['TRUE=$(BAR$(V)) | ||
2306 | 1664 | BAR0=false | ||
2307 | 1665 | BAR1=true | ||
2308 | 1666 | V=1 | ||
2309 | 1667 | am__doit: | ||
2310 | 1668 | @$(TRUE) | ||
2311 | 1669 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | ||
2312 | 1670 | am_cv_make_support_nested_variables=yes | ||
2313 | 1671 | else | ||
2314 | 1672 | am_cv_make_support_nested_variables=no | ||
2315 | 1673 | fi]) | ||
2316 | 1674 | if test $am_cv_make_support_nested_variables = yes; then | ||
2317 | 1675 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | ||
2318 | 1676 | AM_V='$(V)' | ||
2319 | 1677 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | ||
2320 | 1678 | else | ||
2321 | 1679 | AM_V=$AM_DEFAULT_VERBOSITY | ||
2322 | 1680 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | ||
2323 | 1681 | fi | ||
2324 | 1682 | AC_SUBST([AM_V])dnl | ||
2325 | 1683 | AM_SUBST_NOTMAKE([AM_V])dnl | ||
2326 | 1684 | AC_SUBST([AM_DEFAULT_V])dnl | ||
2327 | 1685 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | ||
2328 | 1686 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | ||
2329 | 1687 | AM_BACKSLASH='\' | ||
2330 | 1688 | AC_SUBST([AM_BACKSLASH])dnl | ||
2331 | 1689 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | ||
2332 | 1690 | ]) | ||
2333 | 1691 | |||
2334 | 1692 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | ||
2335 | 1693 | # | ||
2336 | 1694 | # This file is free software; the Free Software Foundation | ||
2337 | 1695 | # gives unlimited permission to copy and/or distribute it, | ||
2338 | 1696 | # with or without modifications, as long as this notice is preserved. | ||
2339 | 1697 | |||
2340 | 1698 | # AM_PROG_INSTALL_STRIP | ||
2341 | 1699 | # --------------------- | ||
2342 | 1700 | # One issue with vendor 'install' (even GNU) is that you can't | ||
2343 | 1701 | # specify the program used to strip binaries. This is especially | ||
2344 | 1702 | # annoying in cross-compiling environments, where the build's strip | ||
2345 | 1703 | # is unlikely to handle the host's binaries. | ||
2346 | 1704 | # Fortunately install-sh will honor a STRIPPROG variable, so we | ||
2347 | 1705 | # always use install-sh in "make install-strip", and initialize | ||
2348 | 1706 | # STRIPPROG with the value of the STRIP variable (set by the user). | ||
2349 | 1707 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | ||
2350 | 1708 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
2351 | 1709 | # Installed binaries are usually stripped using 'strip' when the user | ||
2352 | 1710 | # run "make install-strip". However 'strip' might not be the right | ||
2353 | 1711 | # tool to use in cross-compilation environments, therefore Automake | ||
2354 | 1712 | # will honor the 'STRIP' environment variable to overrule this program. | ||
2355 | 1713 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | ||
2356 | 1714 | if test "$cross_compiling" != no; then | ||
2357 | 1715 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
2358 | 1716 | fi | ||
2359 | 1717 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
2360 | 1718 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
2361 | 1719 | |||
2362 | 1720 | # Copyright (C) 2006-2013 Free Software Foundation, Inc. | ||
2363 | 1721 | # | ||
2364 | 1722 | # This file is free software; the Free Software Foundation | ||
2365 | 1723 | # gives unlimited permission to copy and/or distribute it, | ||
2366 | 1724 | # with or without modifications, as long as this notice is preserved. | ||
2367 | 1725 | |||
2368 | 1726 | # _AM_SUBST_NOTMAKE(VARIABLE) | ||
2369 | 1727 | # --------------------------- | ||
2370 | 1728 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | ||
2371 | 1729 | # This macro is traced by Automake. | ||
2372 | 1730 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
2373 | 1731 | |||
2374 | 1732 | # AM_SUBST_NOTMAKE(VARIABLE) | ||
2375 | 1733 | # -------------------------- | ||
2376 | 1734 | # Public sister of _AM_SUBST_NOTMAKE. | ||
2377 | 1735 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | ||
2378 | 1736 | |||
2379 | 1737 | # Check how to create a tarball. -*- Autoconf -*- | ||
2380 | 1738 | |||
2381 | 1739 | # Copyright (C) 2004-2013 Free Software Foundation, Inc. | ||
2382 | 1740 | # | ||
2383 | 1741 | # This file is free software; the Free Software Foundation | ||
2384 | 1742 | # gives unlimited permission to copy and/or distribute it, | ||
2385 | 1743 | # with or without modifications, as long as this notice is preserved. | ||
2386 | 1744 | |||
2387 | 1745 | # _AM_PROG_TAR(FORMAT) | ||
2388 | 1746 | # -------------------- | ||
2389 | 1747 | # Check how to create a tarball in format FORMAT. | ||
2390 | 1748 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | ||
2391 | 1749 | # | ||
2392 | 1750 | # Substitute a variable $(am__tar) that is a command | ||
2393 | 1751 | # writing to stdout a FORMAT-tarball containing the directory | ||
2394 | 1752 | # $tardir. | ||
2395 | 1753 | # tardir=directory && $(am__tar) > result.tar | ||
2396 | 1754 | # | ||
2397 | 1755 | # Substitute a variable $(am__untar) that extract such | ||
2398 | 1756 | # a tarball read from stdin. | ||
2399 | 1757 | # $(am__untar) < result.tar | ||
2400 | 1758 | # | ||
2401 | 1759 | AC_DEFUN([_AM_PROG_TAR], | ||
2402 | 1760 | [# Always define AMTAR for backward compatibility. Yes, it's still used | ||
2403 | 1761 | # in the wild :-( We should find a proper way to deprecate it ... | ||
2404 | 1762 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | ||
2405 | 1763 | |||
2406 | 1764 | # We'll loop over all known methods to create a tar archive until one works. | ||
2407 | 1765 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
2408 | 1766 | |||
2409 | 1767 | m4_if([$1], [v7], | ||
2410 | 1768 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | ||
2411 | 1769 | |||
2412 | 1770 | [m4_case([$1], | ||
2413 | 1771 | [ustar], | ||
2414 | 1772 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | ||
2415 | 1773 | # There is notably a 21 bits limit for the UID and the GID. In fact, | ||
2416 | 1774 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | ||
2417 | 1775 | # and bug#13588). | ||
2418 | 1776 | am_max_uid=2097151 # 2^21 - 1 | ||
2419 | 1777 | am_max_gid=$am_max_uid | ||
2420 | 1778 | # The $UID and $GID variables are not portable, so we need to resort | ||
2421 | 1779 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | ||
2422 | 1780 | # below are definitely unexpected, so allow the users to see them | ||
2423 | 1781 | # (that is, avoid stderr redirection). | ||
2424 | 1782 | am_uid=`id -u || echo unknown` | ||
2425 | 1783 | am_gid=`id -g || echo unknown` | ||
2426 | 1784 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | ||
2427 | 1785 | if test $am_uid -le $am_max_uid; then | ||
2428 | 1786 | AC_MSG_RESULT([yes]) | ||
2429 | 1787 | else | ||
2430 | 1788 | AC_MSG_RESULT([no]) | ||
2431 | 1789 | _am_tools=none | ||
2432 | 1790 | fi | ||
2433 | 1791 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | ||
2434 | 1792 | if test $am_gid -le $am_max_gid; then | ||
2435 | 1793 | AC_MSG_RESULT([yes]) | ||
2436 | 1794 | else | ||
2437 | 1795 | AC_MSG_RESULT([no]) | ||
2438 | 1796 | _am_tools=none | ||
2439 | 1797 | fi], | ||
2440 | 1798 | |||
2441 | 1799 | [pax], | ||
2442 | 1800 | [], | ||
2443 | 1801 | |||
2444 | 1802 | [m4_fatal([Unknown tar format])]) | ||
2445 | 1803 | |||
2446 | 1804 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
2447 | 1805 | |||
2448 | 1806 | # Go ahead even if we have the value already cached. We do so because we | ||
2449 | 1807 | # need to set the values for the 'am__tar' and 'am__untar' variables. | ||
2450 | 1808 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
2451 | 1809 | |||
2452 | 1810 | for _am_tool in $_am_tools; do | ||
2453 | 1811 | case $_am_tool in | ||
2454 | 1812 | gnutar) | ||
2455 | 1813 | for _am_tar in tar gnutar gtar; do | ||
2456 | 1814 | AM_RUN_LOG([$_am_tar --version]) && break | ||
2457 | 1815 | done | ||
2458 | 1816 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
2459 | 1817 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
2460 | 1818 | am__untar="$_am_tar -xf -" | ||
2461 | 1819 | ;; | ||
2462 | 1820 | plaintar) | ||
2463 | 1821 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
2464 | 1822 | # ustar tarball either. | ||
2465 | 1823 | (tar --version) >/dev/null 2>&1 && continue | ||
2466 | 1824 | am__tar='tar chf - "$$tardir"' | ||
2467 | 1825 | am__tar_='tar chf - "$tardir"' | ||
2468 | 1826 | am__untar='tar xf -' | ||
2469 | 1827 | ;; | ||
2470 | 1828 | pax) | ||
2471 | 1829 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
2472 | 1830 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
2473 | 1831 | am__untar='pax -r' | ||
2474 | 1832 | ;; | ||
2475 | 1833 | cpio) | ||
2476 | 1834 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
2477 | 1835 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
2478 | 1836 | am__untar='cpio -i -H $1 -d' | ||
2479 | 1837 | ;; | ||
2480 | 1838 | none) | ||
2481 | 1839 | am__tar=false | ||
2482 | 1840 | am__tar_=false | ||
2483 | 1841 | am__untar=false | ||
2484 | 1842 | ;; | ||
2485 | 1843 | esac | ||
2486 | 1844 | |||
2487 | 1845 | # If the value was cached, stop now. We just wanted to have am__tar | ||
2488 | 1846 | # and am__untar set. | ||
2489 | 1847 | test -n "${am_cv_prog_tar_$1}" && break | ||
2490 | 1848 | |||
2491 | 1849 | # tar/untar a dummy directory, and stop if the command works. | ||
2492 | 1850 | rm -rf conftest.dir | ||
2493 | 1851 | mkdir conftest.dir | ||
2494 | 1852 | echo GrepMe > conftest.dir/file | ||
2495 | 1853 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
2496 | 1854 | rm -rf conftest.dir | ||
2497 | 1855 | if test -s conftest.tar; then | ||
2498 | 1856 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
2499 | 1857 | AM_RUN_LOG([cat conftest.dir/file]) | ||
2500 | 1858 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
2501 | 1859 | fi | ||
2502 | 1860 | done | ||
2503 | 1861 | rm -rf conftest.dir | ||
2504 | 1862 | |||
2505 | 1863 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
2506 | 1864 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
2507 | 1865 | |||
2508 | 1866 | AC_SUBST([am__tar]) | ||
2509 | 1867 | AC_SUBST([am__untar]) | ||
2510 | 1868 | ]) # _AM_PROG_TAR | ||
2511 | 1869 | |||
2512 | 460 | 1870 | ||
2513 | 461 | dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) | 1871 | dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) |
2514 | 462 | # serial 42 IT_PROG_INTLTOOL | 1872 | # serial 42 IT_PROG_INTLTOOL |
2515 | @@ -1978,7 +3388,7 @@ | |||
2516 | 1978 | rm -rf conftest* | 3388 | rm -rf conftest* |
2517 | 1979 | ;; | 3389 | ;; |
2518 | 1980 | 3390 | ||
2520 | 1981 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 3391 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
2521 | 1982 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 3392 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
2522 | 1983 | # Find out which ABI we are using. | 3393 | # Find out which ABI we are using. |
2523 | 1984 | echo 'int i;' > conftest.$ac_ext | 3394 | echo 'int i;' > conftest.$ac_ext |
2524 | @@ -1990,9 +3400,19 @@ | |||
2525 | 1990 | LD="${LD-ld} -m elf_i386_fbsd" | 3400 | LD="${LD-ld} -m elf_i386_fbsd" |
2526 | 1991 | ;; | 3401 | ;; |
2527 | 1992 | x86_64-*linux*) | 3402 | x86_64-*linux*) |
2531 | 1993 | LD="${LD-ld} -m elf_i386" | 3403 | case `/usr/bin/file conftest.o` in |
2532 | 1994 | ;; | 3404 | *x86-64*) |
2533 | 1995 | ppc64-*linux*|powerpc64-*linux*) | 3405 | LD="${LD-ld} -m elf32_x86_64" |
2534 | 3406 | ;; | ||
2535 | 3407 | *) | ||
2536 | 3408 | LD="${LD-ld} -m elf_i386" | ||
2537 | 3409 | ;; | ||
2538 | 3410 | esac | ||
2539 | 3411 | ;; | ||
2540 | 3412 | powerpc64le-*) | ||
2541 | 3413 | LD="${LD-ld} -m elf32lppclinux" | ||
2542 | 3414 | ;; | ||
2543 | 3415 | powerpc64-*) | ||
2544 | 1996 | LD="${LD-ld} -m elf32ppclinux" | 3416 | LD="${LD-ld} -m elf32ppclinux" |
2545 | 1997 | ;; | 3417 | ;; |
2546 | 1998 | s390x-*linux*) | 3418 | s390x-*linux*) |
2547 | @@ -2011,7 +3431,10 @@ | |||
2548 | 2011 | x86_64-*linux*) | 3431 | x86_64-*linux*) |
2549 | 2012 | LD="${LD-ld} -m elf_x86_64" | 3432 | LD="${LD-ld} -m elf_x86_64" |
2550 | 2013 | ;; | 3433 | ;; |
2552 | 2014 | ppc*-*linux*|powerpc*-*linux*) | 3434 | powerpcle-*) |
2553 | 3435 | LD="${LD-ld} -m elf64lppc" | ||
2554 | 3436 | ;; | ||
2555 | 3437 | powerpc-*) | ||
2556 | 2015 | LD="${LD-ld} -m elf64ppc" | 3438 | LD="${LD-ld} -m elf64ppc" |
2557 | 2016 | ;; | 3439 | ;; |
2558 | 2017 | s390*-*linux*|s390*-*tpf*) | 3440 | s390*-*linux*|s390*-*tpf*) |
2559 | @@ -2354,7 +3777,8 @@ | |||
2560 | 2354 | ;; | 3777 | ;; |
2561 | 2355 | *) | 3778 | *) |
2562 | 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` |
2564 | 2357 | if test -n "$lt_cv_sys_max_cmd_len"; then | 3780 | if test -n "$lt_cv_sys_max_cmd_len" && \ |
2565 | 3781 | test undefined != "$lt_cv_sys_max_cmd_len"; then | ||
2566 | 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` |
2567 | 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` |
2568 | 2360 | else | 3784 | else |
2569 | @@ -3178,17 +4602,6 @@ | |||
2570 | 3178 | esac | 4602 | esac |
2571 | 3179 | ;; | 4603 | ;; |
2572 | 3180 | 4604 | ||
2573 | 3181 | gnu*) | ||
2574 | 3182 | version_type=linux # correct to gnu/linux during the next big refactor | ||
2575 | 3183 | need_lib_prefix=no | ||
2576 | 3184 | need_version=no | ||
2577 | 3185 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | ||
2578 | 3186 | soname_spec='${libname}${release}${shared_ext}$major' | ||
2579 | 3187 | shlibpath_var=LD_LIBRARY_PATH | ||
2580 | 3188 | shlibpath_overrides_runpath=no | ||
2581 | 3189 | hardcode_into_libs=yes | ||
2582 | 3190 | ;; | ||
2583 | 3191 | |||
2584 | 3192 | haiku*) | 4605 | haiku*) |
2585 | 3193 | version_type=linux # correct to gnu/linux during the next big refactor | 4606 | version_type=linux # correct to gnu/linux during the next big refactor |
2586 | 3194 | need_lib_prefix=no | 4607 | need_lib_prefix=no |
2587 | @@ -3305,7 +4718,7 @@ | |||
2588 | 3305 | ;; | 4718 | ;; |
2589 | 3306 | 4719 | ||
2590 | 3307 | # This must be glibc/ELF. | 4720 | # This must be glibc/ELF. |
2592 | 3308 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 4721 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
2593 | 3309 | version_type=linux # correct to gnu/linux during the next big refactor | 4722 | version_type=linux # correct to gnu/linux during the next big refactor |
2594 | 3310 | need_lib_prefix=no | 4723 | need_lib_prefix=no |
2595 | 3311 | need_version=no | 4724 | need_version=no |
2596 | @@ -3921,10 +5334,6 @@ | |||
2597 | 3921 | fi | 5334 | fi |
2598 | 3922 | ;; | 5335 | ;; |
2599 | 3923 | 5336 | ||
2600 | 3924 | gnu*) | ||
2601 | 3925 | lt_cv_deplibs_check_method=pass_all | ||
2602 | 3926 | ;; | ||
2603 | 3927 | |||
2604 | 3928 | haiku*) | 5337 | haiku*) |
2605 | 3929 | lt_cv_deplibs_check_method=pass_all | 5338 | lt_cv_deplibs_check_method=pass_all |
2606 | 3930 | ;; | 5339 | ;; |
2607 | @@ -3963,7 +5372,7 @@ | |||
2608 | 3963 | ;; | 5372 | ;; |
2609 | 3964 | 5373 | ||
2610 | 3965 | # This must be glibc/ELF. | 5374 | # This must be glibc/ELF. |
2612 | 3966 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 5375 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
2613 | 3967 | lt_cv_deplibs_check_method=pass_all | 5376 | lt_cv_deplibs_check_method=pass_all |
2614 | 3968 | ;; | 5377 | ;; |
2615 | 3969 | 5378 | ||
2616 | @@ -4715,7 +6124,7 @@ | |||
2617 | 4715 | ;; | 6124 | ;; |
2618 | 4716 | esac | 6125 | esac |
2619 | 4717 | ;; | 6126 | ;; |
2621 | 4718 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 6127 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
2622 | 4719 | case $cc_basename in | 6128 | case $cc_basename in |
2623 | 4720 | KCC*) | 6129 | KCC*) |
2624 | 4721 | # KAI C++ Compiler | 6130 | # KAI C++ Compiler |
2625 | @@ -5014,7 +6423,7 @@ | |||
2626 | 5014 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | 6423 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
2627 | 5015 | ;; | 6424 | ;; |
2628 | 5016 | 6425 | ||
2630 | 5017 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 6426 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
2631 | 5018 | case $cc_basename in | 6427 | case $cc_basename in |
2632 | 5019 | # old Intel for x86_64 which still supported -KPIC. | 6428 | # old Intel for x86_64 which still supported -KPIC. |
2633 | 5020 | ecc*) | 6429 | ecc*) |
2634 | @@ -6903,9 +8312,6 @@ | |||
2635 | 6903 | _LT_TAGVAR(ld_shlibs, $1)=yes | 8312 | _LT_TAGVAR(ld_shlibs, $1)=yes |
2636 | 6904 | ;; | 8313 | ;; |
2637 | 6905 | 8314 | ||
2638 | 6906 | gnu*) | ||
2639 | 6907 | ;; | ||
2640 | 6908 | |||
2641 | 6909 | haiku*) | 8315 | haiku*) |
2642 | 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' |
2643 | 6911 | _LT_TAGVAR(link_all_deplibs, $1)=yes | 8317 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
2644 | @@ -7067,7 +8473,7 @@ | |||
2645 | 7067 | _LT_TAGVAR(inherit_rpath, $1)=yes | 8473 | _LT_TAGVAR(inherit_rpath, $1)=yes |
2646 | 7068 | ;; | 8474 | ;; |
2647 | 7069 | 8475 | ||
2649 | 7070 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 8476 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
2650 | 7071 | case $cc_basename in | 8477 | case $cc_basename in |
2651 | 7072 | KCC*) | 8478 | KCC*) |
2652 | 7073 | # Kuck and Associates, Inc. (KAI) C++ Compiler | 8479 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
2653 | @@ -9278,1235 +10684,6 @@ | |||
2654 | 9278 | m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) | 10684 | m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
2655 | 9279 | m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) | 10685 | m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
2656 | 9280 | 10686 | ||
2657 | 9281 | # nls.m4 serial 5 (gettext-0.18) | ||
2658 | 9282 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, | ||
2659 | 9283 | dnl Inc. | ||
2660 | 9284 | dnl This file is free software; the Free Software Foundation | ||
2661 | 9285 | dnl gives unlimited permission to copy and/or distribute it, | ||
2662 | 9286 | dnl with or without modifications, as long as this notice is preserved. | ||
2663 | 9287 | dnl | ||
2664 | 9288 | dnl This file can can be used in projects which are not available under | ||
2665 | 9289 | dnl the GNU General Public License or the GNU Library General Public | ||
2666 | 9290 | dnl License but which still want to provide support for the GNU gettext | ||
2667 | 9291 | dnl functionality. | ||
2668 | 9292 | dnl Please note that the actual code of the GNU gettext library is covered | ||
2669 | 9293 | dnl by the GNU Library General Public License, and the rest of the GNU | ||
2670 | 9294 | dnl gettext package package is covered by the GNU General Public License. | ||
2671 | 9295 | dnl They are *not* in the public domain. | ||
2672 | 9296 | |||
2673 | 9297 | dnl Authors: | ||
2674 | 9298 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. | ||
2675 | 9299 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. | ||
2676 | 9300 | |||
2677 | 9301 | AC_PREREQ([2.50]) | ||
2678 | 9302 | |||
2679 | 9303 | AC_DEFUN([AM_NLS], | ||
2680 | 9304 | [ | ||
2681 | 9305 | AC_MSG_CHECKING([whether NLS is requested]) | ||
2682 | 9306 | dnl Default is enabled NLS | ||
2683 | 9307 | AC_ARG_ENABLE([nls], | ||
2684 | 9308 | [ --disable-nls do not use Native Language Support], | ||
2685 | 9309 | USE_NLS=$enableval, USE_NLS=yes) | ||
2686 | 9310 | AC_MSG_RESULT([$USE_NLS]) | ||
2687 | 9311 | AC_SUBST([USE_NLS]) | ||
2688 | 9312 | ]) | ||
2689 | 9313 | |||
2690 | 9314 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
2691 | 9315 | # serial 1 (pkg-config-0.24) | ||
2692 | 9316 | # | ||
2693 | 9317 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
2694 | 9318 | # | ||
2695 | 9319 | # This program is free software; you can redistribute it and/or modify | ||
2696 | 9320 | # it under the terms of the GNU General Public License as published by | ||
2697 | 9321 | # the Free Software Foundation; either version 2 of the License, or | ||
2698 | 9322 | # (at your option) any later version. | ||
2699 | 9323 | # | ||
2700 | 9324 | # This program is distributed in the hope that it will be useful, but | ||
2701 | 9325 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2702 | 9326 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
2703 | 9327 | # General Public License for more details. | ||
2704 | 9328 | # | ||
2705 | 9329 | # You should have received a copy of the GNU General Public License | ||
2706 | 9330 | # along with this program; if not, write to the Free Software | ||
2707 | 9331 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
2708 | 9332 | # | ||
2709 | 9333 | # As a special exception to the GNU General Public License, if you | ||
2710 | 9334 | # distribute this file as part of a program that contains a | ||
2711 | 9335 | # configuration script generated by Autoconf, you may include it under | ||
2712 | 9336 | # the same distribution terms that you use for the rest of that program. | ||
2713 | 9337 | |||
2714 | 9338 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
2715 | 9339 | # ---------------------------------- | ||
2716 | 9340 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
2717 | 9341 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
2718 | 9342 | m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) | ||
2719 | 9343 | m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) | ||
2720 | 9344 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | ||
2721 | 9345 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | ||
2722 | 9346 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) | ||
2723 | 9347 | |||
2724 | 9348 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
2725 | 9349 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
2726 | 9350 | fi | ||
2727 | 9351 | if test -n "$PKG_CONFIG"; then | ||
2728 | 9352 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
2729 | 9353 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
2730 | 9354 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
2731 | 9355 | AC_MSG_RESULT([yes]) | ||
2732 | 9356 | else | ||
2733 | 9357 | AC_MSG_RESULT([no]) | ||
2734 | 9358 | PKG_CONFIG="" | ||
2735 | 9359 | fi | ||
2736 | 9360 | fi[]dnl | ||
2737 | 9361 | ])# PKG_PROG_PKG_CONFIG | ||
2738 | 9362 | |||
2739 | 9363 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
2740 | 9364 | # | ||
2741 | 9365 | # Check to see whether a particular set of modules exists. Similar | ||
2742 | 9366 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
2743 | 9367 | # | ||
2744 | 9368 | # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
2745 | 9369 | # only at the first occurence in configure.ac, so if the first place | ||
2746 | 9370 | # it's called might be skipped (such as if it is within an "if", you | ||
2747 | 9371 | # have to call PKG_CHECK_EXISTS manually | ||
2748 | 9372 | # -------------------------------------------------------------- | ||
2749 | 9373 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
2750 | 9374 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
2751 | 9375 | if test -n "$PKG_CONFIG" && \ | ||
2752 | 9376 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
2753 | 9377 | m4_default([$2], [:]) | ||
2754 | 9378 | m4_ifvaln([$3], [else | ||
2755 | 9379 | $3])dnl | ||
2756 | 9380 | fi]) | ||
2757 | 9381 | |||
2758 | 9382 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
2759 | 9383 | # --------------------------------------------- | ||
2760 | 9384 | m4_define([_PKG_CONFIG], | ||
2761 | 9385 | [if test -n "$$1"; then | ||
2762 | 9386 | pkg_cv_[]$1="$$1" | ||
2763 | 9387 | elif test -n "$PKG_CONFIG"; then | ||
2764 | 9388 | PKG_CHECK_EXISTS([$3], | ||
2765 | 9389 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` | ||
2766 | 9390 | test "x$?" != "x0" && pkg_failed=yes ], | ||
2767 | 9391 | [pkg_failed=yes]) | ||
2768 | 9392 | else | ||
2769 | 9393 | pkg_failed=untried | ||
2770 | 9394 | fi[]dnl | ||
2771 | 9395 | ])# _PKG_CONFIG | ||
2772 | 9396 | |||
2773 | 9397 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
2774 | 9398 | # ----------------------------- | ||
2775 | 9399 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
2776 | 9400 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
2777 | 9401 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
2778 | 9402 | _pkg_short_errors_supported=yes | ||
2779 | 9403 | else | ||
2780 | 9404 | _pkg_short_errors_supported=no | ||
2781 | 9405 | fi[]dnl | ||
2782 | 9406 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
2783 | 9407 | |||
2784 | 9408 | |||
2785 | 9409 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
2786 | 9410 | # [ACTION-IF-NOT-FOUND]) | ||
2787 | 9411 | # | ||
2788 | 9412 | # | ||
2789 | 9413 | # Note that if there is a possibility the first call to | ||
2790 | 9414 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
2791 | 9415 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
2792 | 9416 | # | ||
2793 | 9417 | # | ||
2794 | 9418 | # -------------------------------------------------------------- | ||
2795 | 9419 | AC_DEFUN([PKG_CHECK_MODULES], | ||
2796 | 9420 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
2797 | 9421 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
2798 | 9422 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
2799 | 9423 | |||
2800 | 9424 | pkg_failed=no | ||
2801 | 9425 | AC_MSG_CHECKING([for $1]) | ||
2802 | 9426 | |||
2803 | 9427 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
2804 | 9428 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
2805 | 9429 | |||
2806 | 9430 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
2807 | 9431 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
2808 | 9432 | See the pkg-config man page for more details.]) | ||
2809 | 9433 | |||
2810 | 9434 | if test $pkg_failed = yes; then | ||
2811 | 9435 | AC_MSG_RESULT([no]) | ||
2812 | 9436 | _PKG_SHORT_ERRORS_SUPPORTED | ||
2813 | 9437 | if test $_pkg_short_errors_supported = yes; then | ||
2814 | 9438 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` | ||
2815 | 9439 | else | ||
2816 | 9440 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` | ||
2817 | 9441 | fi | ||
2818 | 9442 | # Put the nasty error message in config.log where it belongs | ||
2819 | 9443 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
2820 | 9444 | |||
2821 | 9445 | m4_default([$4], [AC_MSG_ERROR( | ||
2822 | 9446 | [Package requirements ($2) were not met: | ||
2823 | 9447 | |||
2824 | 9448 | $$1_PKG_ERRORS | ||
2825 | 9449 | |||
2826 | 9450 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
2827 | 9451 | installed software in a non-standard prefix. | ||
2828 | 9452 | |||
2829 | 9453 | _PKG_TEXT])[]dnl | ||
2830 | 9454 | ]) | ||
2831 | 9455 | elif test $pkg_failed = untried; then | ||
2832 | 9456 | AC_MSG_RESULT([no]) | ||
2833 | 9457 | m4_default([$4], [AC_MSG_FAILURE( | ||
2834 | 9458 | [The pkg-config script could not be found or is too old. Make sure it | ||
2835 | 9459 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
2836 | 9460 | path to pkg-config. | ||
2837 | 9461 | |||
2838 | 9462 | _PKG_TEXT | ||
2839 | 9463 | |||
2840 | 9464 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | ||
2841 | 9465 | ]) | ||
2842 | 9466 | else | ||
2843 | 9467 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
2844 | 9468 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
2845 | 9469 | AC_MSG_RESULT([yes]) | ||
2846 | 9470 | $3 | ||
2847 | 9471 | fi[]dnl | ||
2848 | 9472 | ])# PKG_CHECK_MODULES | ||
2849 | 9473 | |||
2850 | 9474 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | ||
2851 | 9475 | # Foundation, Inc. | ||
2852 | 9476 | # | ||
2853 | 9477 | # This file is free software; the Free Software Foundation | ||
2854 | 9478 | # gives unlimited permission to copy and/or distribute it, | ||
2855 | 9479 | # with or without modifications, as long as this notice is preserved. | ||
2856 | 9480 | |||
2857 | 9481 | # serial 1 | ||
2858 | 9482 | |||
2859 | 9483 | # AM_AUTOMAKE_VERSION(VERSION) | ||
2860 | 9484 | # ---------------------------- | ||
2861 | 9485 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | ||
2862 | 9486 | # generated from the m4 files accompanying Automake X.Y. | ||
2863 | 9487 | # (This private macro should not be called outside this file.) | ||
2864 | 9488 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
2865 | 9489 | [am__api_version='1.11' | ||
2866 | 9490 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
2867 | 9491 | dnl require some minimum version. Point them to the right macro. | ||
2868 | 9492 | m4_if([$1], [1.11.5], [], | ||
2869 | 9493 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
2870 | 9494 | ]) | ||
2871 | 9495 | |||
2872 | 9496 | # _AM_AUTOCONF_VERSION(VERSION) | ||
2873 | 9497 | # ----------------------------- | ||
2874 | 9498 | # aclocal traces this macro to find the Autoconf version. | ||
2875 | 9499 | # This is a private macro too. Using m4_define simplifies | ||
2876 | 9500 | # the logic in aclocal, which can simply ignore this definition. | ||
2877 | 9501 | m4_define([_AM_AUTOCONF_VERSION], []) | ||
2878 | 9502 | |||
2879 | 9503 | # AM_SET_CURRENT_AUTOMAKE_VERSION | ||
2880 | 9504 | # ------------------------------- | ||
2881 | 9505 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | ||
2882 | 9506 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | ||
2883 | 9507 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
2884 | 9508 | [AM_AUTOMAKE_VERSION([1.11.5])dnl | ||
2885 | 9509 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
2886 | 9510 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
2887 | 9511 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
2888 | 9512 | |||
2889 | 9513 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | ||
2890 | 9514 | |||
2891 | 9515 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | ||
2892 | 9516 | # | ||
2893 | 9517 | # This file is free software; the Free Software Foundation | ||
2894 | 9518 | # gives unlimited permission to copy and/or distribute it, | ||
2895 | 9519 | # with or without modifications, as long as this notice is preserved. | ||
2896 | 9520 | |||
2897 | 9521 | # serial 1 | ||
2898 | 9522 | |||
2899 | 9523 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | ||
2900 | 9524 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | ||
2901 | 9525 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | ||
2902 | 9526 | # | ||
2903 | 9527 | # Of course, Automake must honor this variable whenever it calls a | ||
2904 | 9528 | # tool from the auxiliary directory. The problem is that $srcdir (and | ||
2905 | 9529 | # therefore $ac_aux_dir as well) can be either absolute or relative, | ||
2906 | 9530 | # depending on how configure is run. This is pretty annoying, since | ||
2907 | 9531 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | ||
2908 | 9532 | # source directory, any form will work fine, but in subdirectories a | ||
2909 | 9533 | # relative path needs to be adjusted first. | ||
2910 | 9534 | # | ||
2911 | 9535 | # $ac_aux_dir/missing | ||
2912 | 9536 | # fails when called from a subdirectory if $ac_aux_dir is relative | ||
2913 | 9537 | # $top_srcdir/$ac_aux_dir/missing | ||
2914 | 9538 | # fails if $ac_aux_dir is absolute, | ||
2915 | 9539 | # fails when called from a subdirectory in a VPATH build with | ||
2916 | 9540 | # a relative $ac_aux_dir | ||
2917 | 9541 | # | ||
2918 | 9542 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | ||
2919 | 9543 | # are both prefixed by $srcdir. In an in-source build this is usually | ||
2920 | 9544 | # harmless because $srcdir is `.', but things will broke when you | ||
2921 | 9545 | # start a VPATH build or use an absolute $srcdir. | ||
2922 | 9546 | # | ||
2923 | 9547 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | ||
2924 | 9548 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | ||
2925 | 9549 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | ||
2926 | 9550 | # and then we would define $MISSING as | ||
2927 | 9551 | # MISSING="\${SHELL} $am_aux_dir/missing" | ||
2928 | 9552 | # This will work as long as MISSING is not called from configure, because | ||
2929 | 9553 | # unfortunately $(top_srcdir) has no meaning in configure. | ||
2930 | 9554 | # However there are other variables, like CC, which are often used in | ||
2931 | 9555 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | ||
2932 | 9556 | # | ||
2933 | 9557 | # Another solution, used here, is to always expand $ac_aux_dir to an | ||
2934 | 9558 | # absolute PATH. The drawback is that using absolute paths prevent a | ||
2935 | 9559 | # configured tree to be moved without reconfiguration. | ||
2936 | 9560 | |||
2937 | 9561 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
2938 | 9562 | [dnl Rely on autoconf to set up CDPATH properly. | ||
2939 | 9563 | AC_PREREQ([2.50])dnl | ||
2940 | 9564 | # expand $ac_aux_dir to an absolute path | ||
2941 | 9565 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2942 | 9566 | ]) | ||
2943 | 9567 | |||
2944 | 9568 | # AM_CONDITIONAL -*- Autoconf -*- | ||
2945 | 9569 | |||
2946 | 9570 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | ||
2947 | 9571 | # Free Software Foundation, Inc. | ||
2948 | 9572 | # | ||
2949 | 9573 | # This file is free software; the Free Software Foundation | ||
2950 | 9574 | # gives unlimited permission to copy and/or distribute it, | ||
2951 | 9575 | # with or without modifications, as long as this notice is preserved. | ||
2952 | 9576 | |||
2953 | 9577 | # serial 9 | ||
2954 | 9578 | |||
2955 | 9579 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | ||
2956 | 9580 | # ------------------------------------- | ||
2957 | 9581 | # Define a conditional. | ||
2958 | 9582 | AC_DEFUN([AM_CONDITIONAL], | ||
2959 | 9583 | [AC_PREREQ(2.52)dnl | ||
2960 | 9584 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | ||
2961 | 9585 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | ||
2962 | 9586 | AC_SUBST([$1_TRUE])dnl | ||
2963 | 9587 | AC_SUBST([$1_FALSE])dnl | ||
2964 | 9588 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
2965 | 9589 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
2966 | 9590 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | ||
2967 | 9591 | if $2; then | ||
2968 | 9592 | $1_TRUE= | ||
2969 | 9593 | $1_FALSE='#' | ||
2970 | 9594 | else | ||
2971 | 9595 | $1_TRUE='#' | ||
2972 | 9596 | $1_FALSE= | ||
2973 | 9597 | fi | ||
2974 | 9598 | AC_CONFIG_COMMANDS_PRE( | ||
2975 | 9599 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
2976 | 9600 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
2977 | 9601 | Usually this means the macro was only invoked conditionally.]]) | ||
2978 | 9602 | fi])]) | ||
2979 | 9603 | |||
2980 | 9604 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | ||
2981 | 9605 | # 2010, 2011 Free Software Foundation, Inc. | ||
2982 | 9606 | # | ||
2983 | 9607 | # This file is free software; the Free Software Foundation | ||
2984 | 9608 | # gives unlimited permission to copy and/or distribute it, | ||
2985 | 9609 | # with or without modifications, as long as this notice is preserved. | ||
2986 | 9610 | |||
2987 | 9611 | # serial 12 | ||
2988 | 9612 | |||
2989 | 9613 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | ||
2990 | 9614 | # written in clear, in which case automake, when reading aclocal.m4, | ||
2991 | 9615 | # will think it sees a *use*, and therefore will trigger all it's | ||
2992 | 9616 | # C support machinery. Also note that it means that autoscan, seeing | ||
2993 | 9617 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | ||
2994 | 9618 | |||
2995 | 9619 | |||
2996 | 9620 | # _AM_DEPENDENCIES(NAME) | ||
2997 | 9621 | # ---------------------- | ||
2998 | 9622 | # See how the compiler implements dependency checking. | ||
2999 | 9623 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | ||
3000 | 9624 | # We try a few techniques and use that to set a single cache variable. | ||
3001 | 9625 | # | ||
3002 | 9626 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | ||
3003 | 9627 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | ||
3004 | 9628 | # dependency, and given that the user is not expected to run this macro, | ||
3005 | 9629 | # just rely on AC_PROG_CC. | ||
3006 | 9630 | AC_DEFUN([_AM_DEPENDENCIES], | ||
3007 | 9631 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
3008 | 9632 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
3009 | 9633 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
3010 | 9634 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
3011 | 9635 | |||
3012 | 9636 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | ||
3013 | 9637 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | ||
3014 | 9638 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | ||
3015 | 9639 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | ||
3016 | 9640 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | ||
3017 | 9641 | [depcc="$$1" am_compiler_list=]) | ||
3018 | 9642 | |||
3019 | 9643 | AC_CACHE_CHECK([dependency style of $depcc], | ||
3020 | 9644 | [am_cv_$1_dependencies_compiler_type], | ||
3021 | 9645 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
3022 | 9646 | # We make a subdir and do the tests there. Otherwise we can end up | ||
3023 | 9647 | # making bogus files that we don't know about and never remove. For | ||
3024 | 9648 | # instance it was reported that on HP-UX the gcc test will end up | ||
3025 | 9649 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
3026 | 9650 | # in D'. | ||
3027 | 9651 | rm -rf conftest.dir | ||
3028 | 9652 | mkdir conftest.dir | ||
3029 | 9653 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
3030 | 9654 | # using a relative directory. | ||
3031 | 9655 | cp "$am_depcomp" conftest.dir | ||
3032 | 9656 | cd conftest.dir | ||
3033 | 9657 | # We will build objects and dependencies in a subdirectory because | ||
3034 | 9658 | # it helps to detect inapplicable dependency modes. For instance | ||
3035 | 9659 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
3036 | 9660 | # side effect of compilation, but ICC will put the dependencies in | ||
3037 | 9661 | # the current directory while Tru64 will put them in the object | ||
3038 | 9662 | # directory. | ||
3039 | 9663 | mkdir sub | ||
3040 | 9664 | |||
3041 | 9665 | am_cv_$1_dependencies_compiler_type=none | ||
3042 | 9666 | if test "$am_compiler_list" = ""; then | ||
3043 | 9667 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | ||
3044 | 9668 | fi | ||
3045 | 9669 | am__universal=false | ||
3046 | 9670 | m4_case([$1], [CC], | ||
3047 | 9671 | [case " $depcc " in #( | ||
3048 | 9672 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
3049 | 9673 | esac], | ||
3050 | 9674 | [CXX], | ||
3051 | 9675 | [case " $depcc " in #( | ||
3052 | 9676 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
3053 | 9677 | esac]) | ||
3054 | 9678 | |||
3055 | 9679 | for depmode in $am_compiler_list; do | ||
3056 | 9680 | # Setup a source with many dependencies, because some compilers | ||
3057 | 9681 | # like to wrap large dependency lists on column 80 (with \), and | ||
3058 | 9682 | # we should not choose a depcomp mode which is confused by this. | ||
3059 | 9683 | # | ||
3060 | 9684 | # We need to recreate these files for each test, as the compiler may | ||
3061 | 9685 | # overwrite some of them when testing with obscure command lines. | ||
3062 | 9686 | # This happens at least with the AIX C compiler. | ||
3063 | 9687 | : > sub/conftest.c | ||
3064 | 9688 | for i in 1 2 3 4 5 6; do | ||
3065 | 9689 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
3066 | 9690 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
3067 | 9691 | # Solaris 8's {/usr,}/bin/sh. | ||
3068 | 9692 | touch sub/conftst$i.h | ||
3069 | 9693 | done | ||
3070 | 9694 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
3071 | 9695 | |||
3072 | 9696 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
3073 | 9697 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
3074 | 9698 | # handle `-M -o', and we need to detect this. Also, some Intel | ||
3075 | 9699 | # versions had trouble with output in subdirs | ||
3076 | 9700 | am__obj=sub/conftest.${OBJEXT-o} | ||
3077 | 9701 | am__minus_obj="-o $am__obj" | ||
3078 | 9702 | case $depmode in | ||
3079 | 9703 | gcc) | ||
3080 | 9704 | # This depmode causes a compiler race in universal mode. | ||
3081 | 9705 | test "$am__universal" = false || continue | ||
3082 | 9706 | ;; | ||
3083 | 9707 | nosideeffect) | ||
3084 | 9708 | # after this tag, mechanisms are not by side-effect, so they'll | ||
3085 | 9709 | # only be used when explicitly requested | ||
3086 | 9710 | if test "x$enable_dependency_tracking" = xyes; then | ||
3087 | 9711 | continue | ||
3088 | 9712 | else | ||
3089 | 9713 | break | ||
3090 | 9714 | fi | ||
3091 | 9715 | ;; | ||
3092 | 9716 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
3093 | 9717 | # This compiler won't grok `-c -o', but also, the minuso test has | ||
3094 | 9718 | # not run yet. These depmodes are late enough in the game, and | ||
3095 | 9719 | # so weak that their functioning should not be impacted. | ||
3096 | 9720 | am__obj=conftest.${OBJEXT-o} | ||
3097 | 9721 | am__minus_obj= | ||
3098 | 9722 | ;; | ||
3099 | 9723 | none) break ;; | ||
3100 | 9724 | esac | ||
3101 | 9725 | if depmode=$depmode \ | ||
3102 | 9726 | source=sub/conftest.c object=$am__obj \ | ||
3103 | 9727 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
3104 | 9728 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
3105 | 9729 | >/dev/null 2>conftest.err && | ||
3106 | 9730 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
3107 | 9731 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
3108 | 9732 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
3109 | 9733 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
3110 | 9734 | # icc doesn't choke on unknown options, it will just issue warnings | ||
3111 | 9735 | # or remarks (even with -Werror). So we grep stderr for any message | ||
3112 | 9736 | # that says an option was ignored or not supported. | ||
3113 | 9737 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
3114 | 9738 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
3115 | 9739 | # The diagnosis changed in icc 8.0: | ||
3116 | 9740 | # icc: Command line remark: option '-MP' not supported | ||
3117 | 9741 | if (grep 'ignoring option' conftest.err || | ||
3118 | 9742 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
3119 | 9743 | am_cv_$1_dependencies_compiler_type=$depmode | ||
3120 | 9744 | break | ||
3121 | 9745 | fi | ||
3122 | 9746 | fi | ||
3123 | 9747 | done | ||
3124 | 9748 | |||
3125 | 9749 | cd .. | ||
3126 | 9750 | rm -rf conftest.dir | ||
3127 | 9751 | else | ||
3128 | 9752 | am_cv_$1_dependencies_compiler_type=none | ||
3129 | 9753 | fi | ||
3130 | 9754 | ]) | ||
3131 | 9755 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
3132 | 9756 | AM_CONDITIONAL([am__fastdep$1], [ | ||
3133 | 9757 | test "x$enable_dependency_tracking" != xno \ | ||
3134 | 9758 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
3135 | 9759 | ]) | ||
3136 | 9760 | |||
3137 | 9761 | |||
3138 | 9762 | # AM_SET_DEPDIR | ||
3139 | 9763 | # ------------- | ||
3140 | 9764 | # Choose a directory name for dependency files. | ||
3141 | 9765 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | ||
3142 | 9766 | AC_DEFUN([AM_SET_DEPDIR], | ||
3143 | 9767 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
3144 | 9768 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
3145 | 9769 | ]) | ||
3146 | 9770 | |||
3147 | 9771 | |||
3148 | 9772 | # AM_DEP_TRACK | ||
3149 | 9773 | # ------------ | ||
3150 | 9774 | AC_DEFUN([AM_DEP_TRACK], | ||
3151 | 9775 | [AC_ARG_ENABLE(dependency-tracking, | ||
3152 | 9776 | [ --disable-dependency-tracking speeds up one-time build | ||
3153 | 9777 | --enable-dependency-tracking do not reject slow dependency extractors]) | ||
3154 | 9778 | if test "x$enable_dependency_tracking" != xno; then | ||
3155 | 9779 | am_depcomp="$ac_aux_dir/depcomp" | ||
3156 | 9780 | AMDEPBACKSLASH='\' | ||
3157 | 9781 | am__nodep='_no' | ||
3158 | 9782 | fi | ||
3159 | 9783 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
3160 | 9784 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
3161 | 9785 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
3162 | 9786 | AC_SUBST([am__nodep])dnl | ||
3163 | 9787 | _AM_SUBST_NOTMAKE([am__nodep])dnl | ||
3164 | 9788 | ]) | ||
3165 | 9789 | |||
3166 | 9790 | # Generate code to set up dependency tracking. -*- Autoconf -*- | ||
3167 | 9791 | |||
3168 | 9792 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | ||
3169 | 9793 | # Free Software Foundation, Inc. | ||
3170 | 9794 | # | ||
3171 | 9795 | # This file is free software; the Free Software Foundation | ||
3172 | 9796 | # gives unlimited permission to copy and/or distribute it, | ||
3173 | 9797 | # with or without modifications, as long as this notice is preserved. | ||
3174 | 9798 | |||
3175 | 9799 | #serial 5 | ||
3176 | 9800 | |||
3177 | 9801 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3178 | 9802 | # ------------------------------ | ||
3179 | 9803 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3180 | 9804 | [{ | ||
3181 | 9805 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | ||
3182 | 9806 | # are listed without --file. Let's play safe and only enable the eval | ||
3183 | 9807 | # if we detect the quoting. | ||
3184 | 9808 | case $CONFIG_FILES in | ||
3185 | 9809 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
3186 | 9810 | *) set x $CONFIG_FILES ;; | ||
3187 | 9811 | esac | ||
3188 | 9812 | shift | ||
3189 | 9813 | for mf | ||
3190 | 9814 | do | ||
3191 | 9815 | # Strip MF so we end up with the name of the file. | ||
3192 | 9816 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
3193 | 9817 | # Check whether this is an Automake generated Makefile or not. | ||
3194 | 9818 | # We used to match only the files named `Makefile.in', but | ||
3195 | 9819 | # some people rename them; so instead we look at the file content. | ||
3196 | 9820 | # Grep'ing the first line is not enough: some people post-process | ||
3197 | 9821 | # each Makefile.in and add a new line on top of each file to say so. | ||
3198 | 9822 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
3199 | 9823 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
3200 | 9824 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
3201 | 9825 | dirpart=`AS_DIRNAME("$mf")` | ||
3202 | 9826 | else | ||
3203 | 9827 | continue | ||
3204 | 9828 | fi | ||
3205 | 9829 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
3206 | 9830 | # from the Makefile without running `make'. | ||
3207 | 9831 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
3208 | 9832 | test -z "$DEPDIR" && continue | ||
3209 | 9833 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
3210 | 9834 | test -z "am__include" && continue | ||
3211 | 9835 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
3212 | 9836 | # When using ansi2knr, U may be empty or an underscore; expand it | ||
3213 | 9837 | U=`sed -n 's/^U = //p' < "$mf"` | ||
3214 | 9838 | # Find all dependency output files, they are included files with | ||
3215 | 9839 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
3216 | 9840 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
3217 | 9841 | # expansion. | ||
3218 | 9842 | for file in `sed -n " | ||
3219 | 9843 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
3220 | 9844 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | ||
3221 | 9845 | # Make sure the directory exists. | ||
3222 | 9846 | test -f "$dirpart/$file" && continue | ||
3223 | 9847 | fdir=`AS_DIRNAME(["$file"])` | ||
3224 | 9848 | AS_MKDIR_P([$dirpart/$fdir]) | ||
3225 | 9849 | # echo "creating $dirpart/$file" | ||
3226 | 9850 | echo '# dummy' > "$dirpart/$file" | ||
3227 | 9851 | done | ||
3228 | 9852 | done | ||
3229 | 9853 | } | ||
3230 | 9854 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3231 | 9855 | |||
3232 | 9856 | |||
3233 | 9857 | # AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3234 | 9858 | # ----------------------------- | ||
3235 | 9859 | # This macro should only be invoked once -- use via AC_REQUIRE. | ||
3236 | 9860 | # | ||
3237 | 9861 | # This code is only required when automatic dependency tracking | ||
3238 | 9862 | # is enabled. FIXME. This creates each `.P' file that we will | ||
3239 | 9863 | # need in order to bootstrap the dependency handling code. | ||
3240 | 9864 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3241 | 9865 | [AC_CONFIG_COMMANDS([depfiles], | ||
3242 | 9866 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3243 | 9867 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | ||
3244 | 9868 | ]) | ||
3245 | 9869 | |||
3246 | 9870 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | ||
3247 | 9871 | # Free Software Foundation, Inc. | ||
3248 | 9872 | # | ||
3249 | 9873 | # This file is free software; the Free Software Foundation | ||
3250 | 9874 | # gives unlimited permission to copy and/or distribute it, | ||
3251 | 9875 | # with or without modifications, as long as this notice is preserved. | ||
3252 | 9876 | |||
3253 | 9877 | # serial 8 | ||
3254 | 9878 | |||
3255 | 9879 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | ||
3256 | 9880 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | ||
3257 | 9881 | |||
3258 | 9882 | # Do all the work for Automake. -*- Autoconf -*- | ||
3259 | 9883 | |||
3260 | 9884 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||
3261 | 9885 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | ||
3262 | 9886 | # | ||
3263 | 9887 | # This file is free software; the Free Software Foundation | ||
3264 | 9888 | # gives unlimited permission to copy and/or distribute it, | ||
3265 | 9889 | # with or without modifications, as long as this notice is preserved. | ||
3266 | 9890 | |||
3267 | 9891 | # serial 16 | ||
3268 | 9892 | |||
3269 | 9893 | # This macro actually does too much. Some checks are only needed if | ||
3270 | 9894 | # your package does certain things. But this isn't really a big deal. | ||
3271 | 9895 | |||
3272 | 9896 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | ||
3273 | 9897 | # AM_INIT_AUTOMAKE([OPTIONS]) | ||
3274 | 9898 | # ----------------------------------------------- | ||
3275 | 9899 | # The call with PACKAGE and VERSION arguments is the old style | ||
3276 | 9900 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | ||
3277 | 9901 | # and VERSION should now be passed to AC_INIT and removed from | ||
3278 | 9902 | # the call to AM_INIT_AUTOMAKE. | ||
3279 | 9903 | # We support both call styles for the transition. After | ||
3280 | 9904 | # the next Automake release, Autoconf can make the AC_INIT | ||
3281 | 9905 | # arguments mandatory, and then we can depend on a new Autoconf | ||
3282 | 9906 | # release and drop the old call support. | ||
3283 | 9907 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
3284 | 9908 | [AC_PREREQ([2.62])dnl | ||
3285 | 9909 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
3286 | 9910 | dnl the ones we care about. | ||
3287 | 9911 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
3288 | 9912 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
3289 | 9913 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
3290 | 9914 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
3291 | 9915 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
3292 | 9916 | # is not polluted with repeated "-I." | ||
3293 | 9917 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | ||
3294 | 9918 | # test to see if srcdir already configured | ||
3295 | 9919 | if test -f $srcdir/config.status; then | ||
3296 | 9920 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | ||
3297 | 9921 | fi | ||
3298 | 9922 | fi | ||
3299 | 9923 | |||
3300 | 9924 | # test whether we have cygpath | ||
3301 | 9925 | if test -z "$CYGPATH_W"; then | ||
3302 | 9926 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
3303 | 9927 | CYGPATH_W='cygpath -w' | ||
3304 | 9928 | else | ||
3305 | 9929 | CYGPATH_W=echo | ||
3306 | 9930 | fi | ||
3307 | 9931 | fi | ||
3308 | 9932 | AC_SUBST([CYGPATH_W]) | ||
3309 | 9933 | |||
3310 | 9934 | # Define the identity of the package. | ||
3311 | 9935 | dnl Distinguish between old-style and new-style calls. | ||
3312 | 9936 | m4_ifval([$2], | ||
3313 | 9937 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | ||
3314 | 9938 | AC_SUBST([PACKAGE], [$1])dnl | ||
3315 | 9939 | AC_SUBST([VERSION], [$2])], | ||
3316 | 9940 | [_AM_SET_OPTIONS([$1])dnl | ||
3317 | 9941 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
3318 | 9942 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | ||
3319 | 9943 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | ||
3320 | 9944 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | ||
3321 | 9945 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | ||
3322 | 9946 | |||
3323 | 9947 | _AM_IF_OPTION([no-define],, | ||
3324 | 9948 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | ||
3325 | 9949 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | ||
3326 | 9950 | |||
3327 | 9951 | # Some tools Automake needs. | ||
3328 | 9952 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
3329 | 9953 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
3330 | 9954 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | ||
3331 | 9955 | AM_MISSING_PROG(AUTOCONF, autoconf) | ||
3332 | 9956 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | ||
3333 | 9957 | AM_MISSING_PROG(AUTOHEADER, autoheader) | ||
3334 | 9958 | AM_MISSING_PROG(MAKEINFO, makeinfo) | ||
3335 | 9959 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
3336 | 9960 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | ||
3337 | 9961 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | ||
3338 | 9962 | # We need awk for the "check" target. The system "awk" is bad on | ||
3339 | 9963 | # some platforms. | ||
3340 | 9964 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
3341 | 9965 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
3342 | 9966 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
3343 | 9967 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | ||
3344 | 9968 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
3345 | 9969 | [_AM_PROG_TAR([v7])])]) | ||
3346 | 9970 | _AM_IF_OPTION([no-dependencies],, | ||
3347 | 9971 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | ||
3348 | 9972 | [_AM_DEPENDENCIES(CC)], | ||
3349 | 9973 | [define([AC_PROG_CC], | ||
3350 | 9974 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | ||
3351 | 9975 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
3352 | 9976 | [_AM_DEPENDENCIES(CXX)], | ||
3353 | 9977 | [define([AC_PROG_CXX], | ||
3354 | 9978 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
3355 | 9979 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
3356 | 9980 | [_AM_DEPENDENCIES(OBJC)], | ||
3357 | 9981 | [define([AC_PROG_OBJC], | ||
3358 | 9982 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | ||
3359 | 9983 | ]) | ||
3360 | 9984 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | ||
3361 | 9985 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | ||
3362 | 9986 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | ||
3363 | 9987 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | ||
3364 | 9988 | AC_CONFIG_COMMANDS_PRE(dnl | ||
3365 | 9989 | [m4_provide_if([_AM_COMPILER_EXEEXT], | ||
3366 | 9990 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | ||
3367 | 9991 | ]) | ||
3368 | 9992 | |||
3369 | 9993 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | ||
3370 | 9994 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | ||
3371 | 9995 | dnl mangled by Autoconf and run in a shell conditional statement. | ||
3372 | 9996 | m4_define([_AC_COMPILER_EXEEXT], | ||
3373 | 9997 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | ||
3374 | 9998 | |||
3375 | 9999 | |||
3376 | 10000 | # When config.status generates a header, we must update the stamp-h file. | ||
3377 | 10001 | # This file resides in the same directory as the config header | ||
3378 | 10002 | # that is generated. The stamp files are numbered to have different names. | ||
3379 | 10003 | |||
3380 | 10004 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | ||
3381 | 10005 | # loop where config.status creates the headers, so we can generate | ||
3382 | 10006 | # our stamp files there. | ||
3383 | 10007 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
3384 | 10008 | [# Compute $1's index in $config_headers. | ||
3385 | 10009 | _am_arg=$1 | ||
3386 | 10010 | _am_stamp_count=1 | ||
3387 | 10011 | for _am_header in $config_headers :; do | ||
3388 | 10012 | case $_am_header in | ||
3389 | 10013 | $_am_arg | $_am_arg:* ) | ||
3390 | 10014 | break ;; | ||
3391 | 10015 | * ) | ||
3392 | 10016 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
3393 | 10017 | esac | ||
3394 | 10018 | done | ||
3395 | 10019 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
3396 | 10020 | |||
3397 | 10021 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | ||
3398 | 10022 | # Inc. | ||
3399 | 10023 | # | ||
3400 | 10024 | # This file is free software; the Free Software Foundation | ||
3401 | 10025 | # gives unlimited permission to copy and/or distribute it, | ||
3402 | 10026 | # with or without modifications, as long as this notice is preserved. | ||
3403 | 10027 | |||
3404 | 10028 | # serial 1 | ||
3405 | 10029 | |||
3406 | 10030 | # AM_PROG_INSTALL_SH | ||
3407 | 10031 | # ------------------ | ||
3408 | 10032 | # Define $install_sh. | ||
3409 | 10033 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
3410 | 10034 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
3411 | 10035 | if test x"${install_sh}" != xset; then | ||
3412 | 10036 | case $am_aux_dir in | ||
3413 | 10037 | *\ * | *\ *) | ||
3414 | 10038 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
3415 | 10039 | *) | ||
3416 | 10040 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
3417 | 10041 | esac | ||
3418 | 10042 | fi | ||
3419 | 10043 | AC_SUBST(install_sh)]) | ||
3420 | 10044 | |||
3421 | 10045 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | ||
3422 | 10046 | # | ||
3423 | 10047 | # This file is free software; the Free Software Foundation | ||
3424 | 10048 | # gives unlimited permission to copy and/or distribute it, | ||
3425 | 10049 | # with or without modifications, as long as this notice is preserved. | ||
3426 | 10050 | |||
3427 | 10051 | # serial 2 | ||
3428 | 10052 | |||
3429 | 10053 | # Check whether the underlying file-system supports filenames | ||
3430 | 10054 | # with a leading dot. For instance MS-DOS doesn't. | ||
3431 | 10055 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
3432 | 10056 | [rm -rf .tst 2>/dev/null | ||
3433 | 10057 | mkdir .tst 2>/dev/null | ||
3434 | 10058 | if test -d .tst; then | ||
3435 | 10059 | am__leading_dot=. | ||
3436 | 10060 | else | ||
3437 | 10061 | am__leading_dot=_ | ||
3438 | 10062 | fi | ||
3439 | 10063 | rmdir .tst 2>/dev/null | ||
3440 | 10064 | AC_SUBST([am__leading_dot])]) | ||
3441 | 10065 | |||
3442 | 10066 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | ||
3443 | 10067 | # From Jim Meyering | ||
3444 | 10068 | |||
3445 | 10069 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, | ||
3446 | 10070 | # 2011 Free Software Foundation, Inc. | ||
3447 | 10071 | # | ||
3448 | 10072 | # This file is free software; the Free Software Foundation | ||
3449 | 10073 | # gives unlimited permission to copy and/or distribute it, | ||
3450 | 10074 | # with or without modifications, as long as this notice is preserved. | ||
3451 | 10075 | |||
3452 | 10076 | # serial 5 | ||
3453 | 10077 | |||
3454 | 10078 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) | ||
3455 | 10079 | # ---------------------------------- | ||
3456 | 10080 | # Control maintainer-specific portions of Makefiles. | ||
3457 | 10081 | # Default is to disable them, unless `enable' is passed literally. | ||
3458 | 10082 | # For symmetry, `disable' may be passed as well. Anyway, the user | ||
3459 | 10083 | # can override the default with the --enable/--disable switch. | ||
3460 | 10084 | AC_DEFUN([AM_MAINTAINER_MODE], | ||
3461 | 10085 | [m4_case(m4_default([$1], [disable]), | ||
3462 | 10086 | [enable], [m4_define([am_maintainer_other], [disable])], | ||
3463 | 10087 | [disable], [m4_define([am_maintainer_other], [enable])], | ||
3464 | 10088 | [m4_define([am_maintainer_other], [enable]) | ||
3465 | 10089 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | ||
3466 | 10090 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | ||
3467 | 10091 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | ||
3468 | 10092 | AC_ARG_ENABLE([maintainer-mode], | ||
3469 | 10093 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | ||
3470 | 10094 | (and sometimes confusing) to the casual installer], | ||
3471 | 10095 | [USE_MAINTAINER_MODE=$enableval], | ||
3472 | 10096 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | ||
3473 | 10097 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | ||
3474 | 10098 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | ||
3475 | 10099 | MAINT=$MAINTAINER_MODE_TRUE | ||
3476 | 10100 | AC_SUBST([MAINT])dnl | ||
3477 | 10101 | ] | ||
3478 | 10102 | ) | ||
3479 | 10103 | |||
3480 | 10104 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | ||
3481 | 10105 | |||
3482 | 10106 | # Check to see how 'make' treats includes. -*- Autoconf -*- | ||
3483 | 10107 | |||
3484 | 10108 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | ||
3485 | 10109 | # | ||
3486 | 10110 | # This file is free software; the Free Software Foundation | ||
3487 | 10111 | # gives unlimited permission to copy and/or distribute it, | ||
3488 | 10112 | # with or without modifications, as long as this notice is preserved. | ||
3489 | 10113 | |||
3490 | 10114 | # serial 4 | ||
3491 | 10115 | |||
3492 | 10116 | # AM_MAKE_INCLUDE() | ||
3493 | 10117 | # ----------------- | ||
3494 | 10118 | # Check to see how make treats includes. | ||
3495 | 10119 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
3496 | 10120 | [am_make=${MAKE-make} | ||
3497 | 10121 | cat > confinc << 'END' | ||
3498 | 10122 | am__doit: | ||
3499 | 10123 | @echo this is the am__doit target | ||
3500 | 10124 | .PHONY: am__doit | ||
3501 | 10125 | END | ||
3502 | 10126 | # If we don't find an include directive, just comment out the code. | ||
3503 | 10127 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
3504 | 10128 | am__include="#" | ||
3505 | 10129 | am__quote= | ||
3506 | 10130 | _am_result=none | ||
3507 | 10131 | # First try GNU make style include. | ||
3508 | 10132 | echo "include confinc" > confmf | ||
3509 | 10133 | # Ignore all kinds of additional output from `make'. | ||
3510 | 10134 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
3511 | 10135 | *the\ am__doit\ target*) | ||
3512 | 10136 | am__include=include | ||
3513 | 10137 | am__quote= | ||
3514 | 10138 | _am_result=GNU | ||
3515 | 10139 | ;; | ||
3516 | 10140 | esac | ||
3517 | 10141 | # Now try BSD make style include. | ||
3518 | 10142 | if test "$am__include" = "#"; then | ||
3519 | 10143 | echo '.include "confinc"' > confmf | ||
3520 | 10144 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
3521 | 10145 | *the\ am__doit\ target*) | ||
3522 | 10146 | am__include=.include | ||
3523 | 10147 | am__quote="\"" | ||
3524 | 10148 | _am_result=BSD | ||
3525 | 10149 | ;; | ||
3526 | 10150 | esac | ||
3527 | 10151 | fi | ||
3528 | 10152 | AC_SUBST([am__include]) | ||
3529 | 10153 | AC_SUBST([am__quote]) | ||
3530 | 10154 | AC_MSG_RESULT([$_am_result]) | ||
3531 | 10155 | rm -f confinc confmf | ||
3532 | 10156 | ]) | ||
3533 | 10157 | |||
3534 | 10158 | # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 | ||
3535 | 10159 | # Free Software Foundation, Inc. | ||
3536 | 10160 | # | ||
3537 | 10161 | # This file is free software; the Free Software Foundation | ||
3538 | 10162 | # gives unlimited permission to copy and/or distribute it, | ||
3539 | 10163 | # with or without modifications, as long as this notice is preserved. | ||
3540 | 10164 | |||
3541 | 10165 | # serial 6 | ||
3542 | 10166 | |||
3543 | 10167 | # AM_PROG_CC_C_O | ||
3544 | 10168 | # -------------- | ||
3545 | 10169 | # Like AC_PROG_CC_C_O, but changed for automake. | ||
3546 | 10170 | AC_DEFUN([AM_PROG_CC_C_O], | ||
3547 | 10171 | [AC_REQUIRE([AC_PROG_CC_C_O])dnl | ||
3548 | 10172 | AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
3549 | 10173 | AC_REQUIRE_AUX_FILE([compile])dnl | ||
3550 | 10174 | # FIXME: we rely on the cache variable name because | ||
3551 | 10175 | # there is no other way. | ||
3552 | 10176 | set dummy $CC | ||
3553 | 10177 | am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` | ||
3554 | 10178 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o | ||
3555 | 10179 | if test "$am_t" != yes; then | ||
3556 | 10180 | # Losing compiler, so override with the script. | ||
3557 | 10181 | # FIXME: It is wrong to rewrite CC. | ||
3558 | 10182 | # But if we don't then we get into trouble of one sort or another. | ||
3559 | 10183 | # A longer-term fix would be to have automake use am__CC in this case, | ||
3560 | 10184 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
3561 | 10185 | CC="$am_aux_dir/compile $CC" | ||
3562 | 10186 | fi | ||
3563 | 10187 | dnl Make sure AC_PROG_CC is never called again, or it will override our | ||
3564 | 10188 | dnl setting of CC. | ||
3565 | 10189 | m4_define([AC_PROG_CC], | ||
3566 | 10190 | [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) | ||
3567 | 10191 | ]) | ||
3568 | 10192 | |||
3569 | 10193 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | ||
3570 | 10194 | |||
3571 | 10195 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | ||
3572 | 10196 | # Free Software Foundation, Inc. | ||
3573 | 10197 | # | ||
3574 | 10198 | # This file is free software; the Free Software Foundation | ||
3575 | 10199 | # gives unlimited permission to copy and/or distribute it, | ||
3576 | 10200 | # with or without modifications, as long as this notice is preserved. | ||
3577 | 10201 | |||
3578 | 10202 | # serial 6 | ||
3579 | 10203 | |||
3580 | 10204 | # AM_MISSING_PROG(NAME, PROGRAM) | ||
3581 | 10205 | # ------------------------------ | ||
3582 | 10206 | AC_DEFUN([AM_MISSING_PROG], | ||
3583 | 10207 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
3584 | 10208 | $1=${$1-"${am_missing_run}$2"} | ||
3585 | 10209 | AC_SUBST($1)]) | ||
3586 | 10210 | |||
3587 | 10211 | |||
3588 | 10212 | # AM_MISSING_HAS_RUN | ||
3589 | 10213 | # ------------------ | ||
3590 | 10214 | # Define MISSING if not defined so far and test if it supports --run. | ||
3591 | 10215 | # If it does, set am_missing_run to use it, otherwise, to nothing. | ||
3592 | 10216 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
3593 | 10217 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
3594 | 10218 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
3595 | 10219 | if test x"${MISSING+set}" != xset; then | ||
3596 | 10220 | case $am_aux_dir in | ||
3597 | 10221 | *\ * | *\ *) | ||
3598 | 10222 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
3599 | 10223 | *) | ||
3600 | 10224 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
3601 | 10225 | esac | ||
3602 | 10226 | fi | ||
3603 | 10227 | # Use eval to expand $SHELL | ||
3604 | 10228 | if eval "$MISSING --run true"; then | ||
3605 | 10229 | am_missing_run="$MISSING --run " | ||
3606 | 10230 | else | ||
3607 | 10231 | am_missing_run= | ||
3608 | 10232 | AC_MSG_WARN([`missing' script is too old or missing]) | ||
3609 | 10233 | fi | ||
3610 | 10234 | ]) | ||
3611 | 10235 | |||
3612 | 10236 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | ||
3613 | 10237 | # Inc. | ||
3614 | 10238 | # | ||
3615 | 10239 | # This file is free software; the Free Software Foundation | ||
3616 | 10240 | # gives unlimited permission to copy and/or distribute it, | ||
3617 | 10241 | # with or without modifications, as long as this notice is preserved. | ||
3618 | 10242 | |||
3619 | 10243 | # serial 1 | ||
3620 | 10244 | |||
3621 | 10245 | # AM_PROG_MKDIR_P | ||
3622 | 10246 | # --------------- | ||
3623 | 10247 | # Check for `mkdir -p'. | ||
3624 | 10248 | AC_DEFUN([AM_PROG_MKDIR_P], | ||
3625 | 10249 | [AC_PREREQ([2.60])dnl | ||
3626 | 10250 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
3627 | 10251 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | ||
3628 | 10252 | dnl while keeping a definition of mkdir_p for backward compatibility. | ||
3629 | 10253 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | ||
3630 | 10254 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | ||
3631 | 10255 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | ||
3632 | 10256 | dnl adjustment using top_builddir (which is defined more often than | ||
3633 | 10257 | dnl MKDIR_P). | ||
3634 | 10258 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | ||
3635 | 10259 | case $mkdir_p in | ||
3636 | 10260 | [[\\/$]]* | ?:[[\\/]]*) ;; | ||
3637 | 10261 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
3638 | 10262 | esac | ||
3639 | 10263 | ]) | ||
3640 | 10264 | |||
3641 | 10265 | # Helper functions for option handling. -*- Autoconf -*- | ||
3642 | 10266 | |||
3643 | 10267 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | ||
3644 | 10268 | # Foundation, Inc. | ||
3645 | 10269 | # | ||
3646 | 10270 | # This file is free software; the Free Software Foundation | ||
3647 | 10271 | # gives unlimited permission to copy and/or distribute it, | ||
3648 | 10272 | # with or without modifications, as long as this notice is preserved. | ||
3649 | 10273 | |||
3650 | 10274 | # serial 5 | ||
3651 | 10275 | |||
3652 | 10276 | # _AM_MANGLE_OPTION(NAME) | ||
3653 | 10277 | # ----------------------- | ||
3654 | 10278 | AC_DEFUN([_AM_MANGLE_OPTION], | ||
3655 | 10279 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
3656 | 10280 | |||
3657 | 10281 | # _AM_SET_OPTION(NAME) | ||
3658 | 10282 | # -------------------- | ||
3659 | 10283 | # Set option NAME. Presently that only means defining a flag for this option. | ||
3660 | 10284 | AC_DEFUN([_AM_SET_OPTION], | ||
3661 | 10285 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | ||
3662 | 10286 | |||
3663 | 10287 | # _AM_SET_OPTIONS(OPTIONS) | ||
3664 | 10288 | # ------------------------ | ||
3665 | 10289 | # OPTIONS is a space-separated list of Automake options. | ||
3666 | 10290 | AC_DEFUN([_AM_SET_OPTIONS], | ||
3667 | 10291 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | ||
3668 | 10292 | |||
3669 | 10293 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | ||
3670 | 10294 | # ------------------------------------------- | ||
3671 | 10295 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | ||
3672 | 10296 | AC_DEFUN([_AM_IF_OPTION], | ||
3673 | 10297 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
3674 | 10298 | |||
3675 | 10299 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | ||
3676 | 10300 | |||
3677 | 10301 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | ||
3678 | 10302 | # Free Software Foundation, Inc. | ||
3679 | 10303 | # | ||
3680 | 10304 | # This file is free software; the Free Software Foundation | ||
3681 | 10305 | # gives unlimited permission to copy and/or distribute it, | ||
3682 | 10306 | # with or without modifications, as long as this notice is preserved. | ||
3683 | 10307 | |||
3684 | 10308 | # serial 5 | ||
3685 | 10309 | |||
3686 | 10310 | # AM_SANITY_CHECK | ||
3687 | 10311 | # --------------- | ||
3688 | 10312 | AC_DEFUN([AM_SANITY_CHECK], | ||
3689 | 10313 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
3690 | 10314 | # Just in case | ||
3691 | 10315 | sleep 1 | ||
3692 | 10316 | echo timestamp > conftest.file | ||
3693 | 10317 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
3694 | 10318 | # name. Accept space and tab only in the latter. | ||
3695 | 10319 | am_lf=' | ||
3696 | 10320 | ' | ||
3697 | 10321 | case `pwd` in | ||
3698 | 10322 | *[[\\\"\#\$\&\'\`$am_lf]]*) | ||
3699 | 10323 | AC_MSG_ERROR([unsafe absolute working directory name]);; | ||
3700 | 10324 | esac | ||
3701 | 10325 | case $srcdir in | ||
3702 | 10326 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | ||
3703 | 10327 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | ||
3704 | 10328 | esac | ||
3705 | 10329 | |||
3706 | 10330 | # Do `set' in a subshell so we don't clobber the current shell's | ||
3707 | 10331 | # arguments. Must try -L first in case configure is actually a | ||
3708 | 10332 | # symlink; some systems play weird games with the mod time of symlinks | ||
3709 | 10333 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
3710 | 10334 | # directory). | ||
3711 | 10335 | if ( | ||
3712 | 10336 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
3713 | 10337 | if test "$[*]" = "X"; then | ||
3714 | 10338 | # -L didn't work. | ||
3715 | 10339 | set X `ls -t "$srcdir/configure" conftest.file` | ||
3716 | 10340 | fi | ||
3717 | 10341 | rm -f conftest.file | ||
3718 | 10342 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | ||
3719 | 10343 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | ||
3720 | 10344 | |||
3721 | 10345 | # If neither matched, then we have a broken ls. This can happen | ||
3722 | 10346 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
3723 | 10347 | # broken ls alias from the environment. This has actually | ||
3724 | 10348 | # happened. Such a system could not be considered "sane". | ||
3725 | 10349 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | ||
3726 | 10350 | alias in your environment]) | ||
3727 | 10351 | fi | ||
3728 | 10352 | |||
3729 | 10353 | test "$[2]" = conftest.file | ||
3730 | 10354 | ) | ||
3731 | 10355 | then | ||
3732 | 10356 | # Ok. | ||
3733 | 10357 | : | ||
3734 | 10358 | else | ||
3735 | 10359 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
3736 | 10360 | Check your system clock]) | ||
3737 | 10361 | fi | ||
3738 | 10362 | AC_MSG_RESULT(yes)]) | ||
3739 | 10363 | |||
3740 | 10364 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | ||
3741 | 10365 | # | ||
3742 | 10366 | # This file is free software; the Free Software Foundation | ||
3743 | 10367 | # gives unlimited permission to copy and/or distribute it, | ||
3744 | 10368 | # with or without modifications, as long as this notice is preserved. | ||
3745 | 10369 | |||
3746 | 10370 | # serial 1 | ||
3747 | 10371 | |||
3748 | 10372 | # AM_PROG_INSTALL_STRIP | ||
3749 | 10373 | # --------------------- | ||
3750 | 10374 | # One issue with vendor `install' (even GNU) is that you can't | ||
3751 | 10375 | # specify the program used to strip binaries. This is especially | ||
3752 | 10376 | # annoying in cross-compiling environments, where the build's strip | ||
3753 | 10377 | # is unlikely to handle the host's binaries. | ||
3754 | 10378 | # Fortunately install-sh will honor a STRIPPROG variable, so we | ||
3755 | 10379 | # always use install-sh in `make install-strip', and initialize | ||
3756 | 10380 | # STRIPPROG with the value of the STRIP variable (set by the user). | ||
3757 | 10381 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | ||
3758 | 10382 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
3759 | 10383 | # Installed binaries are usually stripped using `strip' when the user | ||
3760 | 10384 | # run `make install-strip'. However `strip' might not be the right | ||
3761 | 10385 | # tool to use in cross-compilation environments, therefore Automake | ||
3762 | 10386 | # will honor the `STRIP' environment variable to overrule this program. | ||
3763 | 10387 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | ||
3764 | 10388 | if test "$cross_compiling" != no; then | ||
3765 | 10389 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
3766 | 10390 | fi | ||
3767 | 10391 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
3768 | 10392 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
3769 | 10393 | |||
3770 | 10394 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | ||
3771 | 10395 | # | ||
3772 | 10396 | # This file is free software; the Free Software Foundation | ||
3773 | 10397 | # gives unlimited permission to copy and/or distribute it, | ||
3774 | 10398 | # with or without modifications, as long as this notice is preserved. | ||
3775 | 10399 | |||
3776 | 10400 | # serial 3 | ||
3777 | 10401 | |||
3778 | 10402 | # _AM_SUBST_NOTMAKE(VARIABLE) | ||
3779 | 10403 | # --------------------------- | ||
3780 | 10404 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | ||
3781 | 10405 | # This macro is traced by Automake. | ||
3782 | 10406 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
3783 | 10407 | |||
3784 | 10408 | # AM_SUBST_NOTMAKE(VARIABLE) | ||
3785 | 10409 | # -------------------------- | ||
3786 | 10410 | # Public sister of _AM_SUBST_NOTMAKE. | ||
3787 | 10411 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | ||
3788 | 10412 | |||
3789 | 10413 | # Check how to create a tarball. -*- Autoconf -*- | ||
3790 | 10414 | |||
3791 | 10415 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | ||
3792 | 10416 | # | ||
3793 | 10417 | # This file is free software; the Free Software Foundation | ||
3794 | 10418 | # gives unlimited permission to copy and/or distribute it, | ||
3795 | 10419 | # with or without modifications, as long as this notice is preserved. | ||
3796 | 10420 | |||
3797 | 10421 | # serial 2 | ||
3798 | 10422 | |||
3799 | 10423 | # _AM_PROG_TAR(FORMAT) | ||
3800 | 10424 | # -------------------- | ||
3801 | 10425 | # Check how to create a tarball in format FORMAT. | ||
3802 | 10426 | # FORMAT should be one of `v7', `ustar', or `pax'. | ||
3803 | 10427 | # | ||
3804 | 10428 | # Substitute a variable $(am__tar) that is a command | ||
3805 | 10429 | # writing to stdout a FORMAT-tarball containing the directory | ||
3806 | 10430 | # $tardir. | ||
3807 | 10431 | # tardir=directory && $(am__tar) > result.tar | ||
3808 | 10432 | # | ||
3809 | 10433 | # Substitute a variable $(am__untar) that extract such | ||
3810 | 10434 | # a tarball read from stdin. | ||
3811 | 10435 | # $(am__untar) < result.tar | ||
3812 | 10436 | AC_DEFUN([_AM_PROG_TAR], | ||
3813 | 10437 | [# Always define AMTAR for backward compatibility. Yes, it's still used | ||
3814 | 10438 | # in the wild :-( We should find a proper way to deprecate it ... | ||
3815 | 10439 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | ||
3816 | 10440 | m4_if([$1], [v7], | ||
3817 | 10441 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | ||
3818 | 10442 | [m4_case([$1], [ustar],, [pax],, | ||
3819 | 10443 | [m4_fatal([Unknown tar format])]) | ||
3820 | 10444 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
3821 | 10445 | # Loop over all known methods to create a tar archive until one works. | ||
3822 | 10446 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
3823 | 10447 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
3824 | 10448 | # Do not fold the above two line into one, because Tru64 sh and | ||
3825 | 10449 | # Solaris sh will not grok spaces in the rhs of `-'. | ||
3826 | 10450 | for _am_tool in $_am_tools | ||
3827 | 10451 | do | ||
3828 | 10452 | case $_am_tool in | ||
3829 | 10453 | gnutar) | ||
3830 | 10454 | for _am_tar in tar gnutar gtar; | ||
3831 | 10455 | do | ||
3832 | 10456 | AM_RUN_LOG([$_am_tar --version]) && break | ||
3833 | 10457 | done | ||
3834 | 10458 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
3835 | 10459 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
3836 | 10460 | am__untar="$_am_tar -xf -" | ||
3837 | 10461 | ;; | ||
3838 | 10462 | plaintar) | ||
3839 | 10463 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
3840 | 10464 | # ustar tarball either. | ||
3841 | 10465 | (tar --version) >/dev/null 2>&1 && continue | ||
3842 | 10466 | am__tar='tar chf - "$$tardir"' | ||
3843 | 10467 | am__tar_='tar chf - "$tardir"' | ||
3844 | 10468 | am__untar='tar xf -' | ||
3845 | 10469 | ;; | ||
3846 | 10470 | pax) | ||
3847 | 10471 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
3848 | 10472 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
3849 | 10473 | am__untar='pax -r' | ||
3850 | 10474 | ;; | ||
3851 | 10475 | cpio) | ||
3852 | 10476 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
3853 | 10477 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
3854 | 10478 | am__untar='cpio -i -H $1 -d' | ||
3855 | 10479 | ;; | ||
3856 | 10480 | none) | ||
3857 | 10481 | am__tar=false | ||
3858 | 10482 | am__tar_=false | ||
3859 | 10483 | am__untar=false | ||
3860 | 10484 | ;; | ||
3861 | 10485 | esac | ||
3862 | 10486 | |||
3863 | 10487 | # If the value was cached, stop now. We just wanted to have am__tar | ||
3864 | 10488 | # and am__untar set. | ||
3865 | 10489 | test -n "${am_cv_prog_tar_$1}" && break | ||
3866 | 10490 | |||
3867 | 10491 | # tar/untar a dummy directory, and stop if the command works | ||
3868 | 10492 | rm -rf conftest.dir | ||
3869 | 10493 | mkdir conftest.dir | ||
3870 | 10494 | echo GrepMe > conftest.dir/file | ||
3871 | 10495 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
3872 | 10496 | rm -rf conftest.dir | ||
3873 | 10497 | if test -s conftest.tar; then | ||
3874 | 10498 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
3875 | 10499 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
3876 | 10500 | fi | ||
3877 | 10501 | done | ||
3878 | 10502 | rm -rf conftest.dir | ||
3879 | 10503 | |||
3880 | 10504 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
3881 | 10505 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
3882 | 10506 | AC_SUBST([am__tar]) | ||
3883 | 10507 | AC_SUBST([am__untar]) | ||
3884 | 10508 | ]) # _AM_PROG_TAR | ||
3885 | 10509 | |||
3886 | 10510 | dnl $Id$ | 10687 | dnl $Id$ |
3887 | 10511 | dnl | 10688 | dnl |
3888 | 10512 | dnl Copyright (c) 2002-2006 | 10689 | dnl Copyright (c) 2002-2006 |
3889 | @@ -10514,19 +10691,19 @@ | |||
3890 | 10514 | dnl | 10691 | dnl |
3891 | 10515 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. | 10692 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. |
3892 | 10516 | dnl | 10693 | dnl |
3906 | 10517 | dnl This program is free software; you can redistribute it and/or modify it | 10694 | dnl This program is free software; you can redistribute it and/or modify |
3907 | 10518 | dnl under the terms of the GNU General Public License as published by the Free | 10695 | dnl it under the terms of the GNU General Public License as published by |
3908 | 10519 | dnl Software Foundation; either version 2 of the License, or (at your option) | 10696 | dnl the Free Software Foundation; either version 2 of the License, or |
3909 | 10520 | dnl any later version. | 10697 | dnl (at your option) any later version. |
3910 | 10521 | dnl | 10698 | dnl |
3911 | 10522 | dnl This program is distributed in the hope that it will be useful, but WITHOUT | 10699 | dnl This program is distributed in the hope that it will be useful, |
3912 | 10523 | dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 10700 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
3913 | 10524 | dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10701 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3914 | 10525 | dnl more details. | 10702 | dnl GNU General Public License for more details. |
3915 | 10526 | dnl | 10703 | dnl |
3916 | 10527 | dnl You should have received a copy of the GNU General Public License along with | 10704 | dnl You should have received a copy of the GNU General Public License along |
3917 | 10528 | dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple | 10705 | dnl with this program; if not, write to the Free Software Foundation, Inc., |
3918 | 10529 | dnl Place, Suite 330, Boston, MA 02111-1307 USA | 10706 | dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
3919 | 10530 | dnl | 10707 | dnl |
3920 | 10531 | dnl xdt-depends | 10708 | dnl xdt-depends |
3921 | 10532 | dnl ----------- | 10709 | dnl ----------- |
3922 | @@ -10711,30 +10888,6 @@ | |||
3923 | 10711 | 10888 | ||
3924 | 10712 | 10889 | ||
3925 | 10713 | 10890 | ||
3926 | 10714 | dnl BM_DEPEND(varname, package, version) | ||
3927 | 10715 | dnl | ||
3928 | 10716 | dnl Simple wrapper for XDT_CHECK_PACKAGE("varname", "package", "version"). Kept | ||
3929 | 10717 | dnl for backward compatibility. Will be removed in the future. | ||
3930 | 10718 | dnl | ||
3931 | 10719 | AC_DEFUN([BM_DEPEND], | ||
3932 | 10720 | [ | ||
3933 | 10721 | XDT_CHECK_PACKAGE([$1], [$2], [$3]) | ||
3934 | 10722 | ]) | ||
3935 | 10723 | |||
3936 | 10724 | |||
3937 | 10725 | |||
3938 | 10726 | dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring, default) | ||
3939 | 10727 | dnl | ||
3940 | 10728 | dnl Simple wrapper for XDT_CHECK_OPTIONAL_PACKAGE(). Kept for backward | ||
3941 | 10729 | dnl compatibility. Will be removed in the future. | ||
3942 | 10730 | dnl | ||
3943 | 10731 | AC_DEFUN([BM_DEPEND_CHECK], | ||
3944 | 10732 | [ | ||
3945 | 10733 | XDT_CHECK_OPTIONAL_PACKAGE([$1], [$2], [$3], [$4], [$5], [$6]) | ||
3946 | 10734 | ]) | ||
3947 | 10735 | |||
3948 | 10736 | |||
3949 | 10737 | |||
3950 | 10738 | dnl XDT_CHECK_LIBX11() | 10891 | dnl XDT_CHECK_LIBX11() |
3951 | 10739 | dnl | 10892 | dnl |
3952 | 10740 | dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS | 10893 | dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS |
3953 | @@ -10871,66 +11024,6 @@ | |||
3954 | 10871 | ]) | 11024 | ]) |
3955 | 10872 | 11025 | ||
3956 | 10873 | 11026 | ||
3957 | 10874 | |||
3958 | 10875 | dnl BM_LIBX11() | ||
3959 | 10876 | dnl | ||
3960 | 10877 | dnl Simple wrapper for XDT_CHECK_LIBX11. Kept for backward | ||
3961 | 10878 | dnl compatibility. Will be removed in the future. | ||
3962 | 10879 | dnl | ||
3963 | 10880 | AC_DEFUN([BM_LIBX11], | ||
3964 | 10881 | [ | ||
3965 | 10882 | AC_REQUIRE([XDT_CHECK_LIBX11]) | ||
3966 | 10883 | ]) | ||
3967 | 10884 | |||
3968 | 10885 | |||
3969 | 10886 | |||
3970 | 10887 | dnl BM_LIBX11_REQUIRE() | ||
3971 | 10888 | dnl | ||
3972 | 10889 | dnl Simple wrapper for XDT_CHECK_LIBX11_REQUIRE. Kept for backward | ||
3973 | 10890 | dnl compatibility. Will be removed in the future. | ||
3974 | 10891 | dnl | ||
3975 | 10892 | AC_DEFUN([BM_LIBX11_REQUIRE], | ||
3976 | 10893 | [ | ||
3977 | 10894 | AC_REQUIRE([XDT_CHECK_LIBX11_REQUIRE]) | ||
3978 | 10895 | ]) | ||
3979 | 10896 | |||
3980 | 10897 | |||
3981 | 10898 | |||
3982 | 10899 | dnl BM_LIBSM() | ||
3983 | 10900 | dnl | ||
3984 | 10901 | dnl Simple wrapper for XDT_CHECK_LIBSM. Kept for backward | ||
3985 | 10902 | dnl compatibility. Will be removed in the future. | ||
3986 | 10903 | dnl | ||
3987 | 10904 | AC_DEFUN([BM_LIBSM], | ||
3988 | 10905 | [ | ||
3989 | 10906 | AC_REQUIRE([XDT_CHECK_LIBSM]) | ||
3990 | 10907 | ]) | ||
3991 | 10908 | |||
3992 | 10909 | |||
3993 | 10910 | |||
3994 | 10911 | dnl BM_LIBXPM | ||
3995 | 10912 | dnl | ||
3996 | 10913 | dnl Simple wrapper for XDT_CHECK_LIBXPM. Kept for backward | ||
3997 | 10914 | dnl compatibility. Will be removed in the future. | ||
3998 | 10915 | dnl | ||
3999 | 10916 | AC_DEFUN([BM_LIBXPM], | ||
4000 | 10917 | [ | ||
4001 | 10918 | AC_REQUIRE([XDT_CHECK_LIBXPM]) | ||
4002 | 10919 | ]) | ||
4003 | 10920 | |||
4004 | 10921 | |||
4005 | 10922 | |||
4006 | 10923 | dnl BM_LIBXPM_REQUIRE | ||
4007 | 10924 | dnl | ||
4008 | 10925 | dnl Simple wrapper for XDT_CHECK_LIBXPM_REQUIRE. Kept for | ||
4009 | 10926 | dnl backward compatibility. Will be removed in the future. | ||
4010 | 10927 | dnl | ||
4011 | 10928 | AC_DEFUN([BM_LIBXPM_REQUIRE], | ||
4012 | 10929 | [ | ||
4013 | 10930 | AC_REQUIRE([XDT_CHECK_LIBXPM_REQUIRE]) | ||
4014 | 10931 | ]) | ||
4015 | 10932 | |||
4016 | 10933 | |||
4017 | 10934 | dnl $Id$ | 11027 | dnl $Id$ |
4018 | 10935 | dnl | 11028 | dnl |
4019 | 10936 | dnl Copyright (c) 2002-2006 | 11029 | dnl Copyright (c) 2002-2006 |
4020 | @@ -10938,19 +11031,19 @@ | |||
4021 | 10938 | dnl | 11031 | dnl |
4022 | 10939 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. | 11032 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. |
4023 | 10940 | dnl | 11033 | dnl |
4037 | 10941 | dnl This program is free software; you can redistribute it and/or modify it | 11034 | dnl This program is free software; you can redistribute it and/or modify |
4038 | 10942 | dnl under the terms of the GNU General Public License as published by the Free | 11035 | dnl it under the terms of the GNU General Public License as published by |
4039 | 10943 | dnl Software Foundation; either version 2 of the License, or (at your option) | 11036 | dnl the Free Software Foundation; either version 2 of the License, or |
4040 | 10944 | dnl any later version. | 11037 | dnl (at your option) any later version. |
4041 | 10945 | dnl | 11038 | dnl |
4042 | 10946 | dnl This program is distributed in the hope that it will be useful, but WITHOUT | 11039 | dnl This program is distributed in the hope that it will be useful, |
4043 | 10947 | dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 11040 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
4044 | 10948 | dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 11041 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4045 | 10949 | dnl more details. | 11042 | dnl GNU General Public License for more details. |
4046 | 10950 | dnl | 11043 | dnl |
4047 | 10951 | dnl You should have received a copy of the GNU General Public License along with | 11044 | dnl You should have received a copy of the GNU General Public License along |
4048 | 10952 | dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple | 11045 | dnl with this program; if not, write to the Free Software Foundation, Inc., |
4049 | 10953 | dnl Place, Suite 330, Boston, MA 02111-1307 USA | 11046 | dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
4050 | 10954 | dnl | 11047 | dnl |
4051 | 10955 | dnl xdt-depends | 11048 | dnl xdt-depends |
4052 | 10956 | dnl ----------- | 11049 | dnl ----------- |
4053 | @@ -10975,7 +11068,7 @@ | |||
4054 | 10975 | AC_MSG_CHECKING([if $CC supports $flag]) | 11068 | AC_MSG_CHECKING([if $CC supports $flag]) |
4055 | 10976 | saved_CFLAGS="$CFLAGS" | 11069 | saved_CFLAGS="$CFLAGS" |
4056 | 10977 | CFLAGS="$CFLAGS $flag" | 11070 | CFLAGS="$CFLAGS $flag" |
4058 | 10978 | AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no]) | 11071 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ])], [flag_supported=yes], [flag_supported=no]) |
4059 | 10979 | CFLAGS="$saved_CFLAGS" | 11072 | CFLAGS="$saved_CFLAGS" |
4060 | 10980 | AC_MSG_RESULT([$flag_supported]) | 11073 | AC_MSG_RESULT([$flag_supported]) |
4061 | 10981 | 11074 | ||
4062 | @@ -11007,17 +11100,25 @@ | |||
4063 | 11007 | -Wno-missing-field-initializers \ | 11100 | -Wno-missing-field-initializers \ |
4064 | 11008 | -Wno-unused-parameter -Wold-style-definition \ | 11101 | -Wno-unused-parameter -Wold-style-definition \ |
4065 | 11009 | -Wdeclaration-after-statement \ | 11102 | -Wdeclaration-after-statement \ |
4067 | 11010 | -Wmissing-declarations -Wredundant-decls \ | 11103 | -Wmissing-declarations \ |
4068 | 11011 | -Wmissing-noreturn -Wshadow -Wpointer-arith \ | 11104 | -Wmissing-noreturn -Wshadow -Wpointer-arith \ |
4070 | 11012 | -Wcast-align -Wformat-security \ | 11105 | -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ |
4071 | 11013 | -Winit-self -Wmissing-include-dirs -Wundef \ | 11106 | -Winit-self -Wmissing-include-dirs -Wundef \ |
4076 | 11014 | -Wmissing-format-attribute -Wnested-externs \ | 11107 | -Wnested-externs" |
4077 | 11015 | -fstack-protector" | 11108 | CPPFLAGS="$CPPFLAGS" |
4078 | 11016 | CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" | 11109 | |
4079 | 11017 | 11110 | if test x`uname` = x"Linux"; then | |
4080 | 11111 | xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" | ||
4081 | 11112 | fi | ||
4082 | 11113 | |||
4083 | 11114 | dnl # signal.h inline is crapy on openbsd | ||
4084 | 11115 | if test x`uname` != x"OpenBSD"; then | ||
4085 | 11116 | xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" | ||
4086 | 11117 | fi | ||
4087 | 11118 | |||
4088 | 11018 | if test x"$enable_debug" = x"full"; then | 11119 | if test x"$enable_debug" = x"full"; then |
4089 | 11019 | AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support]) | 11120 | AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support]) |
4091 | 11020 | xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror" | 11121 | xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" |
4092 | 11021 | CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" | 11122 | CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" |
4093 | 11022 | AC_MSG_RESULT([full]) | 11123 | AC_MSG_RESULT([full]) |
4094 | 11023 | else | 11124 | else |
4095 | @@ -11044,7 +11145,7 @@ | |||
4096 | 11044 | CPPFLAGS="$CPPFLAGS -DNDEBUG" | 11145 | CPPFLAGS="$CPPFLAGS -DNDEBUG" |
4097 | 11045 | 11146 | ||
4098 | 11046 | if test x"$enable_debug" = x"no"; then | 11147 | if test x"$enable_debug" = x"no"; then |
4100 | 11047 | CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS" | 11148 | CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" |
4101 | 11048 | AC_MSG_RESULT([no]) | 11149 | AC_MSG_RESULT([no]) |
4102 | 11049 | else | 11150 | else |
4103 | 11050 | AC_MSG_RESULT([minimum]) | 11151 | AC_MSG_RESULT([minimum]) |
4104 | @@ -11071,7 +11172,7 @@ | |||
4105 | 11071 | saved_CFLAGS="$CFLAGS" | 11172 | saved_CFLAGS="$CFLAGS" |
4106 | 11072 | CFLAGS="$CFLAGS $xdt_vis_test_cflags" | 11173 | CFLAGS="$CFLAGS $xdt_vis_test_cflags" |
4107 | 11073 | AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute]) | 11174 | AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute]) |
4109 | 11074 | AC_COMPILE_IFELSE(AC_LANG_SOURCE( | 11175 | AC_COMPILE_IFELSE([AC_LANG_SOURCE( |
4110 | 11075 | [ | 11176 | [ |
4111 | 11076 | void test_default (void); | 11177 | void test_default (void); |
4112 | 11077 | void test_hidden (void); | 11178 | void test_hidden (void); |
4113 | @@ -11084,7 +11185,7 @@ | |||
4114 | 11084 | test_hidden (); | 11185 | test_hidden (); |
4115 | 11085 | return 0; | 11186 | return 0; |
4116 | 11086 | } | 11187 | } |
4118 | 11087 | ]), | 11188 | ])], |
4119 | 11088 | [ | 11189 | [ |
4120 | 11089 | have_gnuc_visibility=yes | 11190 | have_gnuc_visibility=yes |
4121 | 11090 | AC_MSG_RESULT([yes]) | 11191 | AC_MSG_RESULT([yes]) |
4122 | @@ -11097,7 +11198,11 @@ | |||
4123 | 11097 | 11198 | ||
4124 | 11098 | if test "x$have_gnuc_visibility" = "xyes"; then | 11199 | if test "x$have_gnuc_visibility" = "xyes"; then |
4125 | 11099 | CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY" | 11200 | CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY" |
4127 | 11100 | XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden]) | 11201 | xdt_vis_hidden_cflags="" |
4128 | 11202 | XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-xldscope=hidden]) | ||
4129 | 11203 | if test "x$xdt_vis_hidden_cflags" = "x"; then | ||
4130 | 11204 | XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden]) | ||
4131 | 11205 | fi | ||
4132 | 11101 | CFLAGS="$CFLAGS $xdt_vis_hidden_cflags" | 11206 | CFLAGS="$CFLAGS $xdt_vis_hidden_cflags" |
4133 | 11102 | fi | 11207 | fi |
4134 | 11103 | 11208 | ||
4135 | @@ -11116,104 +11221,28 @@ | |||
4136 | 11116 | [enable_linker_opts=$enableval], [enable_linker_opts=yes]) | 11221 | [enable_linker_opts=$enableval], [enable_linker_opts=yes]) |
4137 | 11117 | 11222 | ||
4138 | 11118 | if test "x$enable_linker_opts" != "xno"; then | 11223 | if test "x$enable_linker_opts" != "xno"; then |
4237 | 11119 | AC_MSG_CHECKING([whether $LD accepts --as-needed]) | 11224 | if test x`uname` != x"OpenBSD"; then |
4238 | 11120 | case `$LD --as-needed -v 2>&1 </dev/null` in | 11225 | AC_MSG_CHECKING([whether $LD accepts --as-needed]) |
4239 | 11121 | *GNU* | *'with BFD'*) | 11226 | case `$LD --as-needed -v 2>&1 </dev/null` in |
4240 | 11122 | LDFLAGS="$LDFLAGS -Wl,--as-needed" | 11227 | *GNU* | *'with BFD'*) |
4241 | 11123 | AC_MSG_RESULT([yes]) | 11228 | LDFLAGS="$LDFLAGS -Wl,--as-needed" |
4242 | 11124 | ;; | 11229 | AC_MSG_RESULT([yes]) |
4243 | 11125 | *) | 11230 | ;; |
4244 | 11126 | AC_MSG_RESULT([no]) | 11231 | *) |
4245 | 11127 | ;; | 11232 | AC_MSG_RESULT([no]) |
4246 | 11128 | esac | 11233 | ;; |
4247 | 11129 | AC_MSG_CHECKING([whether $LD accepts -O1]) | 11234 | esac |
4248 | 11130 | case `$LD -O1 -v 2>&1 </dev/null` in | 11235 | fi |
4249 | 11131 | *GNU* | *'with BFD'*) | 11236 | AC_MSG_CHECKING([whether $LD accepts -O1]) |
4250 | 11132 | LDFLAGS="$LDFLAGS -Wl,-O1" | 11237 | case `$LD -O1 -v 2>&1 </dev/null` in |
4251 | 11133 | AC_MSG_RESULT([yes]) | 11238 | *GNU* | *'with BFD'*) |
4252 | 11134 | ;; | 11239 | LDFLAGS="$LDFLAGS -Wl,-O1" |
4253 | 11135 | *) | 11240 | AC_MSG_RESULT([yes]) |
4254 | 11136 | AC_MSG_RESULT([no]) | 11241 | ;; |
4255 | 11137 | ;; | 11242 | *) |
4256 | 11138 | esac | 11243 | AC_MSG_RESULT([no]) |
4257 | 11139 | fi | 11244 | ;; |
4258 | 11140 | ]) | 11245 | esac |
4161 | 11141 | |||
4162 | 11142 | dnl BM_DEBUG_SUPPORT() | ||
4163 | 11143 | dnl | ||
4164 | 11144 | AC_DEFUN([BM_DEBUG_SUPPORT], | ||
4165 | 11145 | [ | ||
4166 | 11146 | dnl # --enable-debug | ||
4167 | 11147 | AC_REQUIRE([XDT_FEATURE_DEBUG]) | ||
4168 | 11148 | |||
4169 | 11149 | dnl # --enable-profiling | ||
4170 | 11150 | AC_ARG_ENABLE([profiling], | ||
4171 | 11151 | AC_HELP_STRING([--enable-profiling], | ||
4172 | 11152 | [Generate extra code to write profile information]) | ||
4173 | 11153 | AC_HELP_STRING([--disable-profiling], | ||
4174 | 11154 | [No extra code for profiling (default)]), | ||
4175 | 11155 | [], [enable_profiling=no]) | ||
4176 | 11156 | |||
4177 | 11157 | AC_MSG_CHECKING([whether to build with profiling support]) | ||
4178 | 11158 | if test x"$enable_profiling" != x"no"; then | ||
4179 | 11159 | CFLAGS="$CFLAGS -pg" | ||
4180 | 11160 | LDFLAGS="$LDFLAGS -pg" | ||
4181 | 11161 | AC_MSG_RESULT([yes]) | ||
4182 | 11162 | else | ||
4183 | 11163 | AC_MSG_RESULT([no]) | ||
4184 | 11164 | fi | ||
4185 | 11165 | |||
4186 | 11166 | dnl # --enable-gcov | ||
4187 | 11167 | AC_ARG_ENABLE([gcov], | ||
4188 | 11168 | AC_HELP_STRING([--enable-gcov], | ||
4189 | 11169 | [compile with coverage profiling instrumentation (gcc only)]) | ||
4190 | 11170 | AC_HELP_STRING([--disable-gcov], | ||
4191 | 11171 | [do not generate coverage profiling instrumentation (default)]), | ||
4192 | 11172 | [], [enable_gcov=no]) | ||
4193 | 11173 | |||
4194 | 11174 | AC_MSG_CHECKING([whether to compile with coverage profiling instrumentation]) | ||
4195 | 11175 | if test x"$enable_gcov" != x"no"; then | ||
4196 | 11176 | CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" | ||
4197 | 11177 | AC_MSG_RESULT([yes]) | ||
4198 | 11178 | else | ||
4199 | 11179 | AC_MSG_RESULT([no]) | ||
4200 | 11180 | fi | ||
4201 | 11181 | |||
4202 | 11182 | dnl # --disable-asserts | ||
4203 | 11183 | AC_ARG_ENABLE([asserts], | ||
4204 | 11184 | AC_HELP_STRING([--disable-asserts], [Disable assertions [DANGEROUS]]), | ||
4205 | 11185 | [], [enable_asserts=yes]) | ||
4206 | 11186 | |||
4207 | 11187 | AC_MSG_CHECKING([whether to disable assertions]) | ||
4208 | 11188 | if test x"$enable_asserts" = x"no"; then | ||
4209 | 11189 | AC_MSG_RESULT([yes]) | ||
4210 | 11190 | CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT" | ||
4211 | 11191 | CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS" | ||
4212 | 11192 | else | ||
4213 | 11193 | AC_MSG_RESULT([no]) | ||
4214 | 11194 | fi | ||
4215 | 11195 | |||
4216 | 11196 | dnl # --enable-final | ||
4217 | 11197 | AC_REQUIRE([AC_PROG_LD]) | ||
4218 | 11198 | AC_ARG_ENABLE([final], | ||
4219 | 11199 | AC_HELP_STRING([--enable-final], [Build final version]), | ||
4220 | 11200 | [], [enable_final=yes]) | ||
4221 | 11201 | |||
4222 | 11202 | AC_MSG_CHECKING([whether to build final version]) | ||
4223 | 11203 | if test x"$enable_final" = x"yes"; then | ||
4224 | 11204 | AC_MSG_RESULT([yes]) | ||
4225 | 11205 | AC_MSG_CHECKING([whether $LD accepts -O1]) | ||
4226 | 11206 | case `$LD -O1 -v 2>&1 </dev/null` in | ||
4227 | 11207 | *GNU* | *'with BFD'*) | ||
4228 | 11208 | LDFLAGS="$LDFLAGS -Wl,-O1" | ||
4229 | 11209 | AC_MSG_RESULT([yes]) | ||
4230 | 11210 | ;; | ||
4231 | 11211 | *) | ||
4232 | 11212 | AC_MSG_RESULT([no]) | ||
4233 | 11213 | ;; | ||
4234 | 11214 | esac | ||
4235 | 11215 | else | ||
4236 | 11216 | AC_MSG_RESULT([no]) | ||
4259 | 11217 | fi | 11246 | fi |
4260 | 11218 | ]) | 11247 | ]) |
4261 | 11219 | 11248 | ||
4262 | @@ -11224,19 +11253,19 @@ | |||
4263 | 11224 | dnl | 11253 | dnl |
4264 | 11225 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. | 11254 | dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>. |
4265 | 11226 | dnl | 11255 | dnl |
4279 | 11227 | dnl This program is free software; you can redistribute it and/or modify it | 11256 | dnl This program is free software; you can redistribute it and/or modify |
4280 | 11228 | dnl under the terms of the GNU General Public License as published by the Free | 11257 | dnl it under the terms of the GNU General Public License as published by |
4281 | 11229 | dnl Software Foundation; either version 2 of the License, or (at your option) | 11258 | dnl the Free Software Foundation; either version 2 of the License, or |
4282 | 11230 | dnl any later version. | 11259 | dnl (at your option) any later version. |
4283 | 11231 | dnl | 11260 | dnl |
4284 | 11232 | dnl This program is distributed in the hope that it will be useful, but WITHOUT | 11261 | dnl This program is distributed in the hope that it will be useful, |
4285 | 11233 | dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 11262 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
4286 | 11234 | dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 11263 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4287 | 11235 | dnl more details. | 11264 | dnl GNU General Public License for more details. |
4288 | 11236 | dnl | 11265 | dnl |
4289 | 11237 | dnl You should have received a copy of the GNU General Public License along with | 11266 | dnl You should have received a copy of the GNU General Public License along |
4290 | 11238 | dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple | 11267 | dnl with this program; if not, write to the Free Software Foundation, Inc., |
4291 | 11239 | dnl Place, Suite 330, Boston, MA 02111-1307 USA | 11268 | dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
4292 | 11240 | dnl | 11269 | dnl |
4293 | 11241 | dnl xdt-i18n | 11270 | dnl xdt-i18n |
4294 | 11242 | dnl -------- | 11271 | dnl -------- |
4295 | @@ -11295,16 +11324,3 @@ | |||
4296 | 11295 | ]) | 11324 | ]) |
4297 | 11296 | 11325 | ||
4298 | 11297 | 11326 | ||
4299 | 11298 | |||
4300 | 11299 | dnl BM_I18N(PACKAGE, LINGUAS) | ||
4301 | 11300 | dnl | ||
4302 | 11301 | dnl Simple wrapper for XDT_I18N(LINGUAS, PACKAGE). Kept for | ||
4303 | 11302 | dnl backward compatibility. Will be removed in the | ||
4304 | 11303 | dnl future. | ||
4305 | 11304 | dnl | ||
4306 | 11305 | AC_DEFUN([BM_I18N], | ||
4307 | 11306 | [ | ||
4308 | 11307 | XDT_I18N([$2], [$1]) | ||
4309 | 11308 | ]) | ||
4310 | 11309 | |||
4311 | 11310 | |||
4312 | 11311 | 11327 | ||
4313 | === modified file 'compile' | |||
4314 | --- compile 2012-05-15 23:20:16 +0000 | |||
4315 | +++ compile 2015-02-27 07:38:45 +0000 | |||
4316 | @@ -1,10 +1,9 @@ | |||
4317 | 1 | #! /bin/sh | 1 | #! /bin/sh |
4318 | 2 | # Wrapper for compilers which do not understand '-c -o'. | 2 | # Wrapper for compilers which do not understand '-c -o'. |
4319 | 3 | 3 | ||
4321 | 4 | scriptversion=2012-03-05.13; # UTC | 4 | scriptversion=2012-10-14.11; # UTC |
4322 | 5 | 5 | ||
4325 | 6 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free | 6 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. |
4324 | 7 | # Software Foundation, Inc. | ||
4326 | 8 | # Written by Tom Tromey <tromey@cygnus.com>. | 7 | # Written by Tom Tromey <tromey@cygnus.com>. |
4327 | 9 | # | 8 | # |
4328 | 10 | # This program is free software; you can redistribute it and/or modify | 9 | # This program is free software; you can redistribute it and/or modify |
4329 | @@ -113,6 +112,11 @@ | |||
4330 | 113 | lib=$dir/$lib.lib | 112 | lib=$dir/$lib.lib |
4331 | 114 | break | 113 | break |
4332 | 115 | fi | 114 | fi |
4333 | 115 | if test -f "$dir/lib$lib.a"; then | ||
4334 | 116 | found=yes | ||
4335 | 117 | lib=$dir/lib$lib.a | ||
4336 | 118 | break | ||
4337 | 119 | fi | ||
4338 | 116 | done | 120 | done |
4339 | 117 | IFS=$save_IFS | 121 | IFS=$save_IFS |
4340 | 118 | 122 | ||
4341 | 119 | 123 | ||
4342 | === modified file 'config.guess' | |||
4343 | --- config.guess 2012-05-15 23:20:16 +0000 | |||
4344 | +++ config.guess 2015-02-27 07:38:45 +0000 | |||
4345 | @@ -1,14 +1,12 @@ | |||
4346 | 1 | #! /bin/sh | 1 | #! /bin/sh |
4347 | 2 | # Attempt to guess a canonical system name. | 2 | # Attempt to guess a canonical system name. |
4351 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright 1992-2014 Free Software Foundation, Inc. |
4349 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | ||
4350 | 5 | # 2011, 2012 Free Software Foundation, Inc. | ||
4352 | 6 | 4 | ||
4354 | 7 | timestamp='2012-02-10' | 5 | timestamp='2014-03-23' |
4355 | 8 | 6 | ||
4356 | 9 | # This file is free software; you can redistribute it and/or modify it | 7 | # This file is free software; you can redistribute it and/or modify it |
4357 | 10 | # under the terms of the GNU General Public License as published by | 8 | # under the terms of the GNU General Public License as published by |
4359 | 11 | # the Free Software Foundation; either version 2 of the License, or | 9 | # the Free Software Foundation; either version 3 of the License, or |
4360 | 12 | # (at your option) any later version. | 10 | # (at your option) any later version. |
4361 | 13 | # | 11 | # |
4362 | 14 | # This program is distributed in the hope that it will be useful, but | 12 | # This program is distributed in the hope that it will be useful, but |
4363 | @@ -22,19 +20,17 @@ | |||
4364 | 22 | # As a special exception to the GNU General Public License, if you | 20 | # As a special exception to the GNU General Public License, if you |
4365 | 23 | # distribute this file as part of a program that contains a | 21 | # distribute this file as part of a program that contains a |
4366 | 24 | # configuration script generated by Autoconf, you may include it under | 22 | # configuration script generated by Autoconf, you may include it under |
4373 | 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 |
4374 | 26 | 24 | # program. This Exception is an additional permission under section 7 | |
4375 | 27 | 25 | # of the GNU General Public License, version 3 ("GPLv3"). | |
4370 | 28 | # Originally written by Per Bothner. Please send patches (context | ||
4371 | 29 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | ||
4372 | 30 | # entry. | ||
4376 | 31 | # | 26 | # |
4380 | 32 | # This script attempts to guess a canonical system name similar to | 27 | # Originally written by Per Bothner. |
4378 | 33 | # config.sub. If it succeeds, it prints the system name on stdout, and | ||
4379 | 34 | # exits with 0. Otherwise, it exits with 1. | ||
4381 | 35 | # | 28 | # |
4382 | 36 | # You can get the latest version of this script from: | 29 | # You can get the latest version of this script from: |
4383 | 37 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | 30 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
4384 | 31 | # | ||
4385 | 32 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | ||
4386 | 33 | |||
4387 | 38 | 34 | ||
4388 | 39 | me=`echo "$0" | sed -e 's,.*/,,'` | 35 | me=`echo "$0" | sed -e 's,.*/,,'` |
4389 | 40 | 36 | ||
4390 | @@ -54,9 +50,7 @@ | |||
4391 | 54 | GNU config.guess ($timestamp) | 50 | GNU config.guess ($timestamp) |
4392 | 55 | 51 | ||
4393 | 56 | Originally written by Per Bothner. | 52 | Originally written by Per Bothner. |
4397 | 57 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 53 | Copyright 1992-2014 Free Software Foundation, Inc. |
4395 | 58 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | ||
4396 | 59 | Free Software Foundation, Inc. | ||
4398 | 60 | 54 | ||
4399 | 61 | This is free software; see the source for copying conditions. There is NO | 55 | This is free software; see the source for copying conditions. There is NO |
4400 | 62 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 56 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
4401 | @@ -138,6 +132,27 @@ | |||
4402 | 138 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | 132 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
4403 | 139 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | 133 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
4404 | 140 | 134 | ||
4405 | 135 | case "${UNAME_SYSTEM}" in | ||
4406 | 136 | Linux|GNU|GNU/*) | ||
4407 | 137 | # If the system lacks a compiler, then just pick glibc. | ||
4408 | 138 | # We could probably try harder. | ||
4409 | 139 | LIBC=gnu | ||
4410 | 140 | |||
4411 | 141 | eval $set_cc_for_build | ||
4412 | 142 | cat <<-EOF > $dummy.c | ||
4413 | 143 | #include <features.h> | ||
4414 | 144 | #if defined(__UCLIBC__) | ||
4415 | 145 | LIBC=uclibc | ||
4416 | 146 | #elif defined(__dietlibc__) | ||
4417 | 147 | LIBC=dietlibc | ||
4418 | 148 | #else | ||
4419 | 149 | LIBC=gnu | ||
4420 | 150 | #endif | ||
4421 | 151 | EOF | ||
4422 | 152 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | ||
4423 | 153 | ;; | ||
4424 | 154 | esac | ||
4425 | 155 | |||
4426 | 141 | # Note: order is significant - the case branches are not exclusive. | 156 | # Note: order is significant - the case branches are not exclusive. |
4427 | 142 | 157 | ||
4428 | 143 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | 158 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
4429 | @@ -200,6 +215,10 @@ | |||
4430 | 200 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | 215 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
4431 | 201 | echo "${machine}-${os}${release}" | 216 | echo "${machine}-${os}${release}" |
4432 | 202 | exit ;; | 217 | exit ;; |
4433 | 218 | *:Bitrig:*:*) | ||
4434 | 219 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | ||
4435 | 220 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | ||
4436 | 221 | exit ;; | ||
4437 | 203 | *:OpenBSD:*:*) | 222 | *:OpenBSD:*:*) |
4438 | 204 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | 223 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
4439 | 205 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | 224 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
4440 | @@ -302,7 +321,7 @@ | |||
4441 | 302 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | 321 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
4442 | 303 | echo arm-acorn-riscix${UNAME_RELEASE} | 322 | echo arm-acorn-riscix${UNAME_RELEASE} |
4443 | 304 | exit ;; | 323 | exit ;; |
4445 | 305 | arm:riscos:*:*|arm:RISCOS:*:*) | 324 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
4446 | 306 | echo arm-unknown-riscos | 325 | echo arm-unknown-riscos |
4447 | 307 | exit ;; | 326 | exit ;; |
4448 | 308 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | 327 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
4449 | @@ -801,10 +820,13 @@ | |||
4450 | 801 | i*:CYGWIN*:*) | 820 | i*:CYGWIN*:*) |
4451 | 802 | echo ${UNAME_MACHINE}-pc-cygwin | 821 | echo ${UNAME_MACHINE}-pc-cygwin |
4452 | 803 | exit ;; | 822 | exit ;; |
4453 | 823 | *:MINGW64*:*) | ||
4454 | 824 | echo ${UNAME_MACHINE}-pc-mingw64 | ||
4455 | 825 | exit ;; | ||
4456 | 804 | *:MINGW*:*) | 826 | *:MINGW*:*) |
4457 | 805 | echo ${UNAME_MACHINE}-pc-mingw32 | 827 | echo ${UNAME_MACHINE}-pc-mingw32 |
4458 | 806 | exit ;; | 828 | exit ;; |
4460 | 807 | i*:MSYS*:*) | 829 | *:MSYS*:*) |
4461 | 808 | echo ${UNAME_MACHINE}-pc-msys | 830 | echo ${UNAME_MACHINE}-pc-msys |
4462 | 809 | exit ;; | 831 | exit ;; |
4463 | 810 | i*:windows32*:*) | 832 | i*:windows32*:*) |
4464 | @@ -852,21 +874,21 @@ | |||
4465 | 852 | exit ;; | 874 | exit ;; |
4466 | 853 | *:GNU:*:*) | 875 | *:GNU:*:*) |
4467 | 854 | # the GNU system | 876 | # the GNU system |
4469 | 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,/.*$,,'` |
4470 | 856 | exit ;; | 878 | exit ;; |
4471 | 857 | *:GNU/*:*:*) | 879 | *:GNU/*:*:*) |
4472 | 858 | # other systems with GNU libc and userland | 880 | # other systems with GNU libc and userland |
4474 | 859 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | 881 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} |
4475 | 860 | exit ;; | 882 | exit ;; |
4476 | 861 | i*86:Minix:*:*) | 883 | i*86:Minix:*:*) |
4477 | 862 | echo ${UNAME_MACHINE}-pc-minix | 884 | echo ${UNAME_MACHINE}-pc-minix |
4478 | 863 | exit ;; | 885 | exit ;; |
4479 | 864 | aarch64:Linux:*:*) | 886 | aarch64:Linux:*:*) |
4481 | 865 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 887 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4482 | 866 | exit ;; | 888 | exit ;; |
4483 | 867 | aarch64_be:Linux:*:*) | 889 | aarch64_be:Linux:*:*) |
4484 | 868 | UNAME_MACHINE=aarch64_be | 890 | UNAME_MACHINE=aarch64_be |
4486 | 869 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 891 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4487 | 870 | exit ;; | 892 | exit ;; |
4488 | 871 | alpha:Linux:*:*) | 893 | alpha:Linux:*:*) |
4489 | 872 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | 894 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
4490 | @@ -879,59 +901,54 @@ | |||
4491 | 879 | EV68*) UNAME_MACHINE=alphaev68 ;; | 901 | EV68*) UNAME_MACHINE=alphaev68 ;; |
4492 | 880 | esac | 902 | esac |
4493 | 881 | objdump --private-headers /bin/sh | grep -q ld.so.1 | 903 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
4496 | 882 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | 904 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi |
4497 | 883 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | 905 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4498 | 906 | exit ;; | ||
4499 | 907 | arc:Linux:*:* | arceb:Linux:*:*) | ||
4500 | 908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
4501 | 884 | exit ;; | 909 | exit ;; |
4502 | 885 | arm*:Linux:*:*) | 910 | arm*:Linux:*:*) |
4503 | 886 | eval $set_cc_for_build | 911 | eval $set_cc_for_build |
4504 | 887 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | 912 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
4505 | 888 | | grep -q __ARM_EABI__ | 913 | | grep -q __ARM_EABI__ |
4506 | 889 | then | 914 | then |
4508 | 890 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4509 | 891 | else | 916 | else |
4510 | 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 \ |
4511 | 893 | | grep -q __ARM_PCS_VFP | 918 | | grep -q __ARM_PCS_VFP |
4512 | 894 | then | 919 | then |
4514 | 895 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | 920 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi |
4515 | 896 | else | 921 | else |
4517 | 897 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | 922 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf |
4518 | 898 | fi | 923 | fi |
4519 | 899 | fi | 924 | fi |
4520 | 900 | exit ;; | 925 | exit ;; |
4521 | 901 | avr32*:Linux:*:*) | 926 | avr32*:Linux:*:*) |
4523 | 902 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 927 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4524 | 903 | exit ;; | 928 | exit ;; |
4525 | 904 | cris:Linux:*:*) | 929 | cris:Linux:*:*) |
4527 | 905 | echo ${UNAME_MACHINE}-axis-linux-gnu | 930 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
4528 | 906 | exit ;; | 931 | exit ;; |
4529 | 907 | crisv32:Linux:*:*) | 932 | crisv32:Linux:*:*) |
4531 | 908 | echo ${UNAME_MACHINE}-axis-linux-gnu | 933 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
4532 | 909 | exit ;; | 934 | exit ;; |
4533 | 910 | frv:Linux:*:*) | 935 | frv:Linux:*:*) |
4535 | 911 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4536 | 912 | exit ;; | 937 | exit ;; |
4537 | 913 | hexagon:Linux:*:*) | 938 | hexagon:Linux:*:*) |
4539 | 914 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4540 | 915 | exit ;; | 940 | exit ;; |
4541 | 916 | i*86:Linux:*:*) | 941 | i*86:Linux:*:*) |
4551 | 917 | LIBC=gnu | 942 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} |
4543 | 918 | eval $set_cc_for_build | ||
4544 | 919 | sed 's/^ //' << EOF >$dummy.c | ||
4545 | 920 | #ifdef __dietlibc__ | ||
4546 | 921 | LIBC=dietlibc | ||
4547 | 922 | #endif | ||
4548 | 923 | EOF | ||
4549 | 924 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | ||
4550 | 925 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | ||
4552 | 926 | exit ;; | 943 | exit ;; |
4553 | 927 | ia64:Linux:*:*) | 944 | ia64:Linux:*:*) |
4555 | 928 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 945 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4556 | 929 | exit ;; | 946 | exit ;; |
4557 | 930 | m32r*:Linux:*:*) | 947 | m32r*:Linux:*:*) |
4559 | 931 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4560 | 932 | exit ;; | 949 | exit ;; |
4561 | 933 | m68*:Linux:*:*) | 950 | m68*:Linux:*:*) |
4563 | 934 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4564 | 935 | exit ;; | 952 | exit ;; |
4565 | 936 | mips:Linux:*:* | mips64:Linux:*:*) | 953 | mips:Linux:*:* | mips64:Linux:*:*) |
4566 | 937 | eval $set_cc_for_build | 954 | eval $set_cc_for_build |
4567 | @@ -950,54 +967,63 @@ | |||
4568 | 950 | #endif | 967 | #endif |
4569 | 951 | EOF | 968 | EOF |
4570 | 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'` |
4572 | 953 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 970 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
4573 | 954 | ;; | 971 | ;; |
4576 | 955 | or32:Linux:*:*) | 972 | openrisc*:Linux:*:*) |
4577 | 956 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 973 | echo or1k-unknown-linux-${LIBC} |
4578 | 974 | exit ;; | ||
4579 | 975 | or32:Linux:*:* | or1k*:Linux:*:*) | ||
4580 | 976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
4581 | 957 | exit ;; | 977 | exit ;; |
4582 | 958 | padre:Linux:*:*) | 978 | padre:Linux:*:*) |
4584 | 959 | echo sparc-unknown-linux-gnu | 979 | echo sparc-unknown-linux-${LIBC} |
4585 | 960 | exit ;; | 980 | exit ;; |
4586 | 961 | parisc64:Linux:*:* | hppa64:Linux:*:*) | 981 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
4588 | 962 | echo hppa64-unknown-linux-gnu | 982 | echo hppa64-unknown-linux-${LIBC} |
4589 | 963 | exit ;; | 983 | exit ;; |
4590 | 964 | parisc:Linux:*:* | hppa:Linux:*:*) | 984 | parisc:Linux:*:* | hppa:Linux:*:*) |
4591 | 965 | # Look for CPU level | 985 | # Look for CPU level |
4592 | 966 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | 986 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
4596 | 967 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | 987 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; |
4597 | 968 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | 988 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; |
4598 | 969 | *) echo hppa-unknown-linux-gnu ;; | 989 | *) echo hppa-unknown-linux-${LIBC} ;; |
4599 | 970 | esac | 990 | esac |
4600 | 971 | exit ;; | 991 | exit ;; |
4601 | 972 | ppc64:Linux:*:*) | 992 | ppc64:Linux:*:*) |
4603 | 973 | echo powerpc64-unknown-linux-gnu | 993 | echo powerpc64-unknown-linux-${LIBC} |
4604 | 974 | exit ;; | 994 | exit ;; |
4605 | 975 | ppc:Linux:*:*) | 995 | ppc:Linux:*:*) |
4607 | 976 | echo powerpc-unknown-linux-gnu | 996 | echo powerpc-unknown-linux-${LIBC} |
4608 | 997 | exit ;; | ||
4609 | 998 | ppc64le:Linux:*:*) | ||
4610 | 999 | echo powerpc64le-unknown-linux-${LIBC} | ||
4611 | 1000 | exit ;; | ||
4612 | 1001 | ppcle:Linux:*:*) | ||
4613 | 1002 | echo powerpcle-unknown-linux-${LIBC} | ||
4614 | 977 | exit ;; | 1003 | exit ;; |
4615 | 978 | s390:Linux:*:* | s390x:Linux:*:*) | 1004 | s390:Linux:*:* | s390x:Linux:*:*) |
4617 | 979 | echo ${UNAME_MACHINE}-ibm-linux | 1005 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} |
4618 | 980 | exit ;; | 1006 | exit ;; |
4619 | 981 | sh64*:Linux:*:*) | 1007 | sh64*:Linux:*:*) |
4621 | 982 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1008 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4622 | 983 | exit ;; | 1009 | exit ;; |
4623 | 984 | sh*:Linux:*:*) | 1010 | sh*:Linux:*:*) |
4625 | 985 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4626 | 986 | exit ;; | 1012 | exit ;; |
4627 | 987 | sparc:Linux:*:* | sparc64:Linux:*:*) | 1013 | sparc:Linux:*:* | sparc64:Linux:*:*) |
4629 | 988 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4630 | 989 | exit ;; | 1015 | exit ;; |
4631 | 990 | tile*:Linux:*:*) | 1016 | tile*:Linux:*:*) |
4633 | 991 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1017 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4634 | 992 | exit ;; | 1018 | exit ;; |
4635 | 993 | vax:Linux:*:*) | 1019 | vax:Linux:*:*) |
4637 | 994 | echo ${UNAME_MACHINE}-dec-linux-gnu | 1020 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} |
4638 | 995 | exit ;; | 1021 | exit ;; |
4639 | 996 | x86_64:Linux:*:*) | 1022 | x86_64:Linux:*:*) |
4641 | 997 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1023 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4642 | 998 | exit ;; | 1024 | exit ;; |
4643 | 999 | xtensa*:Linux:*:*) | 1025 | xtensa*:Linux:*:*) |
4645 | 1000 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1026 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
4646 | 1001 | exit ;; | 1027 | exit ;; |
4647 | 1002 | i*86:DYNIX/ptx:4*:*) | 1028 | i*86:DYNIX/ptx:4*:*) |
4648 | 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. |
4649 | @@ -1201,6 +1227,9 @@ | |||
4650 | 1201 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | 1227 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
4651 | 1202 | echo i586-pc-haiku | 1228 | echo i586-pc-haiku |
4652 | 1203 | exit ;; | 1229 | exit ;; |
4653 | 1230 | x86_64:Haiku:*:*) | ||
4654 | 1231 | echo x86_64-unknown-haiku | ||
4655 | 1232 | exit ;; | ||
4656 | 1204 | SX-4:SUPER-UX:*:*) | 1233 | SX-4:SUPER-UX:*:*) |
4657 | 1205 | echo sx4-nec-superux${UNAME_RELEASE} | 1234 | echo sx4-nec-superux${UNAME_RELEASE} |
4658 | 1206 | exit ;; | 1235 | exit ;; |
4659 | @@ -1227,19 +1256,31 @@ | |||
4660 | 1227 | exit ;; | 1256 | exit ;; |
4661 | 1228 | *:Darwin:*:*) | 1257 | *:Darwin:*:*) |
4662 | 1229 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | 1258 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
4676 | 1230 | case $UNAME_PROCESSOR in | 1259 | eval $set_cc_for_build |
4677 | 1231 | i386) | 1260 | if test "$UNAME_PROCESSOR" = unknown ; then |
4678 | 1232 | eval $set_cc_for_build | 1261 | UNAME_PROCESSOR=powerpc |
4679 | 1233 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | 1262 | fi |
4680 | 1234 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | 1263 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then |
4681 | 1235 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | 1264 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
4682 | 1236 | grep IS_64BIT_ARCH >/dev/null | 1265 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
4683 | 1237 | then | 1266 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
4684 | 1238 | UNAME_PROCESSOR="x86_64" | 1267 | grep IS_64BIT_ARCH >/dev/null |
4685 | 1239 | fi | 1268 | then |
4686 | 1240 | fi ;; | 1269 | case $UNAME_PROCESSOR in |
4687 | 1241 | unknown) UNAME_PROCESSOR=powerpc ;; | 1270 | i386) UNAME_PROCESSOR=x86_64 ;; |
4688 | 1242 | esac | 1271 | powerpc) UNAME_PROCESSOR=powerpc64 ;; |
4689 | 1272 | esac | ||
4690 | 1273 | fi | ||
4691 | 1274 | fi | ||
4692 | 1275 | elif test "$UNAME_PROCESSOR" = i386 ; then | ||
4693 | 1276 | # Avoid executing cc on OS X 10.9, as it ships with a stub | ||
4694 | 1277 | # that puts up a graphical alert prompting to install | ||
4695 | 1278 | # developer tools. Any system running Mac OS X 10.7 or | ||
4696 | 1279 | # later (Darwin 11 and later) is required to have a 64-bit | ||
4697 | 1280 | # processor. This is not true of the ARM version of Darwin | ||
4698 | 1281 | # that Apple uses in portable devices. | ||
4699 | 1282 | UNAME_PROCESSOR=x86_64 | ||
4700 | 1283 | fi | ||
4701 | 1243 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | 1284 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
4702 | 1244 | exit ;; | 1285 | exit ;; |
4703 | 1245 | *:procnto*:*:* | *:QNX:[0123456789]*:*) | 1286 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
4704 | @@ -1256,7 +1297,7 @@ | |||
4705 | 1256 | NEO-?:NONSTOP_KERNEL:*:*) | 1297 | NEO-?:NONSTOP_KERNEL:*:*) |
4706 | 1257 | echo neo-tandem-nsk${UNAME_RELEASE} | 1298 | echo neo-tandem-nsk${UNAME_RELEASE} |
4707 | 1258 | exit ;; | 1299 | exit ;; |
4709 | 1259 | NSE-?:NONSTOP_KERNEL:*:*) | 1300 | NSE-*:NONSTOP_KERNEL:*:*) |
4710 | 1260 | echo nse-tandem-nsk${UNAME_RELEASE} | 1301 | echo nse-tandem-nsk${UNAME_RELEASE} |
4711 | 1261 | exit ;; | 1302 | exit ;; |
4712 | 1262 | NSR-?:NONSTOP_KERNEL:*:*) | 1303 | NSR-?:NONSTOP_KERNEL:*:*) |
4713 | @@ -1330,157 +1371,6 @@ | |||
4714 | 1330 | exit ;; | 1371 | exit ;; |
4715 | 1331 | esac | 1372 | esac |
4716 | 1332 | 1373 | ||
4717 | 1333 | #echo '(No uname command or uname output not recognized.)' 1>&2 | ||
4718 | 1334 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | ||
4719 | 1335 | |||
4720 | 1336 | eval $set_cc_for_build | ||
4721 | 1337 | cat >$dummy.c <<EOF | ||
4722 | 1338 | #ifdef _SEQUENT_ | ||
4723 | 1339 | # include <sys/types.h> | ||
4724 | 1340 | # include <sys/utsname.h> | ||
4725 | 1341 | #endif | ||
4726 | 1342 | main () | ||
4727 | 1343 | { | ||
4728 | 1344 | #if defined (sony) | ||
4729 | 1345 | #if defined (MIPSEB) | ||
4730 | 1346 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | ||
4731 | 1347 | I don't know.... */ | ||
4732 | 1348 | printf ("mips-sony-bsd\n"); exit (0); | ||
4733 | 1349 | #else | ||
4734 | 1350 | #include <sys/param.h> | ||
4735 | 1351 | printf ("m68k-sony-newsos%s\n", | ||
4736 | 1352 | #ifdef NEWSOS4 | ||
4737 | 1353 | "4" | ||
4738 | 1354 | #else | ||
4739 | 1355 | "" | ||
4740 | 1356 | #endif | ||
4741 | 1357 | ); exit (0); | ||
4742 | 1358 | #endif | ||
4743 | 1359 | #endif | ||
4744 | 1360 | |||
4745 | 1361 | #if defined (__arm) && defined (__acorn) && defined (__unix) | ||
4746 | 1362 | printf ("arm-acorn-riscix\n"); exit (0); | ||
4747 | 1363 | #endif | ||
4748 | 1364 | |||
4749 | 1365 | #if defined (hp300) && !defined (hpux) | ||
4750 | 1366 | printf ("m68k-hp-bsd\n"); exit (0); | ||
4751 | 1367 | #endif | ||
4752 | 1368 | |||
4753 | 1369 | #if defined (NeXT) | ||
4754 | 1370 | #if !defined (__ARCHITECTURE__) | ||
4755 | 1371 | #define __ARCHITECTURE__ "m68k" | ||
4756 | 1372 | #endif | ||
4757 | 1373 | int version; | ||
4758 | 1374 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | ||
4759 | 1375 | if (version < 4) | ||
4760 | 1376 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | ||
4761 | 1377 | else | ||
4762 | 1378 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | ||
4763 | 1379 | exit (0); | ||
4764 | 1380 | #endif | ||
4765 | 1381 | |||
4766 | 1382 | #if defined (MULTIMAX) || defined (n16) | ||
4767 | 1383 | #if defined (UMAXV) | ||
4768 | 1384 | printf ("ns32k-encore-sysv\n"); exit (0); | ||
4769 | 1385 | #else | ||
4770 | 1386 | #if defined (CMU) | ||
4771 | 1387 | printf ("ns32k-encore-mach\n"); exit (0); | ||
4772 | 1388 | #else | ||
4773 | 1389 | printf ("ns32k-encore-bsd\n"); exit (0); | ||
4774 | 1390 | #endif | ||
4775 | 1391 | #endif | ||
4776 | 1392 | #endif | ||
4777 | 1393 | |||
4778 | 1394 | #if defined (__386BSD__) | ||
4779 | 1395 | printf ("i386-pc-bsd\n"); exit (0); | ||
4780 | 1396 | #endif | ||
4781 | 1397 | |||
4782 | 1398 | #if defined (sequent) | ||
4783 | 1399 | #if defined (i386) | ||
4784 | 1400 | printf ("i386-sequent-dynix\n"); exit (0); | ||
4785 | 1401 | #endif | ||
4786 | 1402 | #if defined (ns32000) | ||
4787 | 1403 | printf ("ns32k-sequent-dynix\n"); exit (0); | ||
4788 | 1404 | #endif | ||
4789 | 1405 | #endif | ||
4790 | 1406 | |||
4791 | 1407 | #if defined (_SEQUENT_) | ||
4792 | 1408 | struct utsname un; | ||
4793 | 1409 | |||
4794 | 1410 | uname(&un); | ||
4795 | 1411 | |||
4796 | 1412 | if (strncmp(un.version, "V2", 2) == 0) { | ||
4797 | 1413 | printf ("i386-sequent-ptx2\n"); exit (0); | ||
4798 | 1414 | } | ||
4799 | 1415 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | ||
4800 | 1416 | printf ("i386-sequent-ptx1\n"); exit (0); | ||
4801 | 1417 | } | ||
4802 | 1418 | printf ("i386-sequent-ptx\n"); exit (0); | ||
4803 | 1419 | |||
4804 | 1420 | #endif | ||
4805 | 1421 | |||
4806 | 1422 | #if defined (vax) | ||
4807 | 1423 | # if !defined (ultrix) | ||
4808 | 1424 | # include <sys/param.h> | ||
4809 | 1425 | # if defined (BSD) | ||
4810 | 1426 | # if BSD == 43 | ||
4811 | 1427 | printf ("vax-dec-bsd4.3\n"); exit (0); | ||
4812 | 1428 | # else | ||
4813 | 1429 | # if BSD == 199006 | ||
4814 | 1430 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | ||
4815 | 1431 | # else | ||
4816 | 1432 | printf ("vax-dec-bsd\n"); exit (0); | ||
4817 | 1433 | # endif | ||
4818 | 1434 | # endif | ||
4819 | 1435 | # else | ||
4820 | 1436 | printf ("vax-dec-bsd\n"); exit (0); | ||
4821 | 1437 | # endif | ||
4822 | 1438 | # else | ||
4823 | 1439 | printf ("vax-dec-ultrix\n"); exit (0); | ||
4824 | 1440 | # endif | ||
4825 | 1441 | #endif | ||
4826 | 1442 | |||
4827 | 1443 | #if defined (alliant) && defined (i860) | ||
4828 | 1444 | printf ("i860-alliant-bsd\n"); exit (0); | ||
4829 | 1445 | #endif | ||
4830 | 1446 | |||
4831 | 1447 | exit (1); | ||
4832 | 1448 | } | ||
4833 | 1449 | EOF | ||
4834 | 1450 | |||
4835 | 1451 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | ||
4836 | 1452 | { echo "$SYSTEM_NAME"; exit; } | ||
4837 | 1453 | |||
4838 | 1454 | # Apollos put the system type in the environment. | ||
4839 | 1455 | |||
4840 | 1456 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | ||
4841 | 1457 | |||
4842 | 1458 | # Convex versions that predate uname can use getsysinfo(1) | ||
4843 | 1459 | |||
4844 | 1460 | if [ -x /usr/convex/getsysinfo ] | ||
4845 | 1461 | then | ||
4846 | 1462 | case `getsysinfo -f cpu_type` in | ||
4847 | 1463 | c1*) | ||
4848 | 1464 | echo c1-convex-bsd | ||
4849 | 1465 | exit ;; | ||
4850 | 1466 | c2*) | ||
4851 | 1467 | if getsysinfo -f scalar_acc | ||
4852 | 1468 | then echo c32-convex-bsd | ||
4853 | 1469 | else echo c2-convex-bsd | ||
4854 | 1470 | fi | ||
4855 | 1471 | exit ;; | ||
4856 | 1472 | c34*) | ||
4857 | 1473 | echo c34-convex-bsd | ||
4858 | 1474 | exit ;; | ||
4859 | 1475 | c38*) | ||
4860 | 1476 | echo c38-convex-bsd | ||
4861 | 1477 | exit ;; | ||
4862 | 1478 | c4*) | ||
4863 | 1479 | echo c4-convex-bsd | ||
4864 | 1480 | exit ;; | ||
4865 | 1481 | esac | ||
4866 | 1482 | fi | ||
4867 | 1483 | |||
4868 | 1484 | cat >&2 <<EOF | 1374 | cat >&2 <<EOF |
4869 | 1485 | $0: unable to guess system type | 1375 | $0: unable to guess system type |
4870 | 1486 | 1376 | ||
4871 | 1487 | 1377 | ||
4872 | === modified file 'config.h.in' | |||
4873 | --- config.h.in 2011-06-18 22:46:33 +0000 | |||
4874 | +++ config.h.in 2015-02-27 07:38:45 +0000 | |||
4875 | @@ -1,4 +1,4 @@ | |||
4877 | 1 | /* config.h.in. Generated from configure.in by autoheader. */ | 1 | /* config.h.in. Generated from configure.ac by autoheader. */ |
4878 | 2 | 2 | ||
4879 | 3 | /* Define for debugging support */ | 3 | /* Define for debugging support */ |
4880 | 4 | #undef DEBUG | 4 | #undef DEBUG |
4881 | @@ -139,9 +139,6 @@ | |||
4882 | 139 | /* Complete path to netcat */ | 139 | /* Complete path to netcat */ |
4883 | 140 | #undef NETCAT_PATH | 140 | #undef NETCAT_PATH |
4884 | 141 | 141 | ||
4885 | 142 | /* Define to 1 if your C compiler doesn't accept -c and -o together. */ | ||
4886 | 143 | #undef NO_MINUS_C_MINUS_O | ||
4887 | 144 | |||
4888 | 145 | /* Name of package */ | 142 | /* Name of package */ |
4889 | 146 | #undef PACKAGE | 143 | #undef PACKAGE |
4890 | 147 | 144 | ||
4891 | 148 | 145 | ||
4892 | === modified file 'config.sub' | |||
4893 | --- config.sub 2012-05-15 23:20:16 +0000 | |||
4894 | +++ config.sub 2015-02-27 07:38:45 +0000 | |||
4895 | @@ -1,24 +1,18 @@ | |||
4896 | 1 | #! /bin/sh | 1 | #! /bin/sh |
4897 | 2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
4911 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright 1992-2014 Free Software Foundation, Inc. |
4912 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | 4 | |
4913 | 5 | # 2011, 2012 Free Software Foundation, Inc. | 5 | timestamp='2014-09-11' |
4914 | 6 | 6 | ||
4915 | 7 | timestamp='2012-02-10' | 7 | # This file is free software; you can redistribute it and/or modify it |
4916 | 8 | 8 | # under the terms of the GNU General Public License as published by | |
4917 | 9 | # This file is (in principle) common to ALL GNU software. | 9 | # the Free Software Foundation; either version 3 of the License, or |
4905 | 10 | # The presence of a machine in this file suggests that SOME GNU software | ||
4906 | 11 | # can handle that machine. It does not imply ALL GNU software can. | ||
4907 | 12 | # | ||
4908 | 13 | # This file is free software; you can redistribute it and/or modify | ||
4909 | 14 | # it under the terms of the GNU General Public License as published by | ||
4910 | 15 | # the Free Software Foundation; either version 2 of the License, or | ||
4918 | 16 | # (at your option) any later version. | 10 | # (at your option) any later version. |
4919 | 17 | # | 11 | # |
4924 | 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 |
4925 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
4926 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
4927 | 21 | # GNU General Public License for more details. | 15 | # General Public License for more details. |
4928 | 22 | # | 16 | # |
4929 | 23 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
4930 | 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/>. |
4931 | @@ -26,11 +20,12 @@ | |||
4932 | 26 | # As a special exception to the GNU General Public License, if you | 20 | # As a special exception to the GNU General Public License, if you |
4933 | 27 | # distribute this file as part of a program that contains a | 21 | # distribute this file as part of a program that contains a |
4934 | 28 | # configuration script generated by Autoconf, you may include it under | 22 | # configuration script generated by Autoconf, you may include it under |
4940 | 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 |
4941 | 30 | 24 | # program. This Exception is an additional permission under section 7 | |
4942 | 31 | 25 | # of the GNU General Public License, version 3 ("GPLv3"). | |
4943 | 32 | # Please send patches to <config-patches@gnu.org>. Submit a context | 26 | |
4944 | 33 | # diff and a properly formatted GNU ChangeLog entry. | 27 | |
4945 | 28 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | ||
4946 | 34 | # | 29 | # |
4947 | 35 | # Configuration subroutine to validate and canonicalize a configuration type. | 30 | # Configuration subroutine to validate and canonicalize a configuration type. |
4948 | 36 | # Supply the specified configuration type as an argument. | 31 | # Supply the specified configuration type as an argument. |
4949 | @@ -73,9 +68,7 @@ | |||
4950 | 73 | version="\ | 68 | version="\ |
4951 | 74 | GNU config.sub ($timestamp) | 69 | GNU config.sub ($timestamp) |
4952 | 75 | 70 | ||
4956 | 76 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 71 | Copyright 1992-2014 Free Software Foundation, Inc. |
4954 | 77 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | ||
4955 | 78 | Free Software Foundation, Inc. | ||
4957 | 79 | 72 | ||
4958 | 80 | This is free software; see the source for copying conditions. There is NO | 73 | This is free software; see the source for copying conditions. There is NO |
4959 | 81 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 74 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
4960 | @@ -123,7 +116,7 @@ | |||
4961 | 123 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 116 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
4962 | 124 | case $maybe_os in | 117 | case $maybe_os in |
4963 | 125 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 118 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
4965 | 126 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 119 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
4966 | 127 | knetbsd*-gnu* | netbsd*-gnu* | \ | 120 | knetbsd*-gnu* | netbsd*-gnu* | \ |
4967 | 128 | kopensolaris*-gnu* | \ | 121 | kopensolaris*-gnu* | \ |
4968 | 129 | storm-chaos* | os2-emx* | rtmk-nova*) | 122 | storm-chaos* | os2-emx* | rtmk-nova*) |
4969 | @@ -156,7 +149,7 @@ | |||
4970 | 156 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 149 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
4971 | 157 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 150 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
4972 | 158 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 151 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
4974 | 159 | -apple | -axis | -knuth | -cray | -microblaze) | 152 | -apple | -axis | -knuth | -cray | -microblaze*) |
4975 | 160 | os= | 153 | os= |
4976 | 161 | basic_machine=$1 | 154 | basic_machine=$1 |
4977 | 162 | ;; | 155 | ;; |
4978 | @@ -225,6 +218,12 @@ | |||
4979 | 225 | -isc*) | 218 | -isc*) |
4980 | 226 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 219 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
4981 | 227 | ;; | 220 | ;; |
4982 | 221 | -lynx*178) | ||
4983 | 222 | os=-lynxos178 | ||
4984 | 223 | ;; | ||
4985 | 224 | -lynx*5) | ||
4986 | 225 | os=-lynxos5 | ||
4987 | 226 | ;; | ||
4988 | 228 | -lynx*) | 227 | -lynx*) |
4989 | 229 | os=-lynxos | 228 | os=-lynxos |
4990 | 230 | ;; | 229 | ;; |
4991 | @@ -253,10 +252,12 @@ | |||
4992 | 253 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 252 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
4993 | 254 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 253 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
4994 | 255 | | am33_2.0 \ | 254 | | am33_2.0 \ |
4997 | 256 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | 255 | | arc | arceb \ |
4998 | 257 | | be32 | be64 \ | 256 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
4999 | 257 | | avr | avr32 \ | ||
5000 | 258 | | be32 | be64 \ |
The diff has been truncated for viewing.
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.