Merge lp:~noskcaj/ubuntu/vivid/xfce4-systemload-plugin/1.1.2 into lp:ubuntu/vivid/xfce4-systemload-plugin

Proposed by Jackson Doak
Status: Merged
Merge reported by: Iain Lane
Merged at revision: not available
Proposed branch: lp:~noskcaj/ubuntu/vivid/xfce4-systemload-plugin/1.1.2
Merge into: lp:ubuntu/vivid/xfce4-systemload-plugin
Diff against target: 25292 lines
To merge this branch: bzr merge lp:~noskcaj/ubuntu/vivid/xfce4-systemload-plugin/1.1.2
Reviewer Review Type Date Requested Status
Iain Lane Approve
Review via email: mp+242549@code.launchpad.net

Description of the change

New upstream release

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Done, please forward this one too. Thanks!

review: Approve

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 2014-10-30 13:11:52 +0000
3+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
4@@ -1,1 +0,0 @@
5-git_upower_0.99.patch
6
7=== removed directory '.pc/git_upower_0.99.patch'
8=== removed directory '.pc/git_upower_0.99.patch/panel-plugin'
9=== removed file '.pc/git_upower_0.99.patch/panel-plugin/systemload.c'
10--- .pc/git_upower_0.99.patch/panel-plugin/systemload.c 2014-07-16 07:06:52 +0000
11+++ .pc/git_upower_0.99.patch/panel-plugin/systemload.c 1970-01-01 00:00:00 +0000
12@@ -1,959 +0,0 @@
13-/*
14- * Copyright (c) 2003 Riccardo Persichetti <riccardo.persichetti@tin.it>
15- * Copyright (c) 2010 Florian Rivoal <frivoal@xfce.org>
16- * Copyright (c) 2012 David Schneider <dnschneid@gmail.com>
17- *
18- * Redistribution and use in source and binary forms, with or without
19- * modification, are permitted provided that the following conditions
20- * are met:
21- *
22- * 1. Redistributions of source code must retain the above copyright
23- * notice, this list of conditions and the following disclaimer.
24- * 2. Redistributions in binary form must reproduce the above copyright
25- * notice, this list of conditions and the following disclaimer in the
26- * documentation and/or other materials provided with the distribution.
27- *
28- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
29- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
32- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
33- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
37- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38- */
39-
40-#ifdef HAVE_CONFIG_H
41-#include <config.h>
42-#endif
43-
44-#include <stdio.h>
45-#include <stdlib.h>
46-#include <string.h>
47-
48-#include <gtk/gtk.h>
49-
50-#include <libxfce4util/libxfce4util.h>
51-#include <libxfce4ui/libxfce4ui.h>
52-#include <libxfce4panel/xfce-panel-plugin.h>
53-
54-#ifdef HAVE_UPOWER_GLIB
55-#include <upower.h>
56-#endif
57-
58-#include "cpu.h"
59-#include "memswap.h"
60-#include "uptime.h"
61-
62-/* for xml: */
63-static gchar *MONITOR_ROOT[] = { "SL_Cpu", "SL_Mem", "SL_Swap", "SL_Uptime" };
64-
65-static gchar *DEFAULT_TEXT[] = { "cpu", "mem", "swap" };
66-static gchar *DEFAULT_COLOR[] = { "#0000c0", "#00c000", "#f0f000" };
67-
68-#define UPDATE_TIMEOUT 250
69-#define UPDATE_TIMEOUT_SECONDS 1
70-
71-#define BORDER 8
72-
73-/* check for new Xfce 4.10 panel features */
74-#ifdef LIBXFCE4PANEL_CHECK_VERSION
75-#if LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
76-#define HAS_PANEL_49
77-#endif
78-#endif
79-
80-enum { CPU_MONITOR, MEM_MONITOR, SWAP_MONITOR };
81-
82-typedef struct
83-{
84- gboolean enabled;
85- gboolean use_label;
86- GdkColor color;
87- gchar *label_text;
88-} t_monitor_options;
89-
90-typedef struct
91-{
92- GtkWidget *box;
93- GtkWidget *label;
94- GtkWidget *status;
95- GtkWidget *ebox;
96-
97- gulong history[4];
98- gulong value_read;
99-
100- t_monitor_options options;
101-} t_monitor;
102-
103-typedef struct
104-{
105- GtkWidget *label;
106- GtkWidget *ebox;
107-
108- gulong value_read;
109- gboolean enabled;
110-} t_uptime_monitor;
111-
112-typedef struct
113-{
114- XfcePanelPlugin *plugin;
115- GtkWidget *ebox;
116- GtkWidget *box;
117- guint timeout, timeout_seconds;
118- gboolean use_timeout_seconds;
119- guint timeout_id;
120- t_monitor *monitor[3];
121- t_uptime_monitor *uptime;
122-#ifdef HAVE_UPOWER_GLIB
123- UpClient *upower;
124-#endif
125-} t_global_monitor;
126-
127-static gint
128-update_monitors(t_global_monitor *global)
129-{
130-
131- gchar caption[128];
132- gulong mem, swap, MTotal, MUsed, STotal, SUsed;
133- gint count, days, hours, mins;
134-
135- if (global->monitor[0]->options.enabled)
136- global->monitor[0]->history[0] = read_cpuload();
137- if (global->monitor[1]->options.enabled || global->monitor[2]->options.enabled) {
138- read_memswap(&mem, &swap, &MTotal, &MUsed, &STotal, &SUsed);
139- global->monitor[1]->history[0] = mem;
140- global->monitor[2]->history[0] = swap;
141- }
142- if (global->uptime->enabled)
143- global->uptime->value_read = read_uptime();
144-
145- for(count = 0; count < 3; count++)
146- {
147- if (global->monitor[count]->options.enabled)
148- {
149- if (global->monitor[count]->history[0] > 100)
150- global->monitor[count]->history[0] = 100;
151-
152- global->monitor[count]->value_read =
153- (global->monitor[count]->history[0] +
154- global->monitor[count]->history[1] +
155- global->monitor[count]->history[2] +
156- global->monitor[count]->history[3]) / 4;
157-
158- global->monitor[count]->history[3] =
159- global->monitor[count]->history[2];
160- global->monitor[count]->history[2] =
161- global->monitor[count]->history[1];
162- global->monitor[count]->history[1] =
163- global->monitor[count]->history[0];
164-
165- gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(global->monitor[count]->status),
166- global->monitor[count]->value_read / 100.0);
167- }
168- }
169- if (global->monitor[0]->options.enabled)
170- {
171- g_snprintf(caption, sizeof(caption), _("System Load: %ld%%"),
172- global->monitor[0]->value_read);
173- gtk_widget_set_tooltip_text(GTK_WIDGET(global->monitor[0]->ebox), caption);
174- }
175-
176- if (global->monitor[1]->options.enabled)
177- {
178- g_snprintf(caption, sizeof(caption), _("Memory: %ldMB of %ldMB used"),
179- MUsed >> 10 , MTotal >> 10);
180- gtk_widget_set_tooltip_text(GTK_WIDGET(global->monitor[1]->ebox), caption);
181- }
182-
183- if (global->monitor[2]->options.enabled)
184- {
185- if (STotal)
186- g_snprintf(caption, sizeof(caption), _("Swap: %ldMB of %ldMB used"),
187- SUsed >> 10, STotal >> 10);
188- else
189- g_snprintf(caption, sizeof(caption), _("No swap"));
190-
191- gtk_widget_set_tooltip_text(GTK_WIDGET(global->monitor[2]->ebox), caption);
192- }
193-
194- if (global->uptime->enabled)
195- {
196- days = global->uptime->value_read / 86400;
197- hours = (global->uptime->value_read / 3600) % 24;
198- mins = (global->uptime->value_read / 60) % 60;
199- if (days > 0) {
200- g_snprintf(caption, sizeof(caption), ngettext("%d day", "%d days", days), days);
201- gtk_label_set_text(GTK_LABEL(global->uptime->label),
202- caption);
203- g_snprintf(caption, sizeof(caption),
204- ngettext("Uptime: %d day %d:%02d", "Uptime: %d days %d:%02d", days),
205- days, hours, mins);
206- }
207- else
208- {
209- g_snprintf(caption, sizeof(caption), "%d:%02d", hours, mins);
210- gtk_label_set_text(GTK_LABEL(global->uptime->label),
211- caption);
212- g_snprintf(caption, sizeof(caption), _("Uptime: %d:%02d"), hours, mins);
213- }
214- gtk_widget_set_tooltip_text(GTK_WIDGET(global->uptime->ebox), caption);
215- }
216- return TRUE;
217-}
218-
219-static void
220-monitor_update_orientation (XfcePanelPlugin *plugin,
221- GtkOrientation panel_orientation,
222- GtkOrientation orientation,
223- t_global_monitor *global)
224-{
225- gint count;
226- xfce_hvbox_set_orientation(XFCE_HVBOX(global->box), panel_orientation);
227- for(count = 0; count < 3; count++)
228- {
229- xfce_hvbox_set_orientation(XFCE_HVBOX(global->monitor[count]->box), panel_orientation);
230-#ifdef HAS_PANEL_49
231- gtk_label_set_angle(GTK_LABEL(global->monitor[count]->label),
232- (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : -90);
233-#endif
234- if (panel_orientation == GTK_ORIENTATION_HORIZONTAL)
235- {
236- gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global->monitor[count]->status), GTK_PROGRESS_BOTTOM_TO_TOP);
237- }
238- else
239- {
240- gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global->monitor[count]->status), GTK_PROGRESS_LEFT_TO_RIGHT);
241- }
242- }
243-#ifdef HAS_PANEL_49
244- gtk_label_set_angle(GTK_LABEL(global->uptime->label),
245- (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : -90);
246-#endif
247-}
248-
249-static void
250-create_monitor (t_global_monitor *global)
251-{
252- gint count;
253-
254- global->box = xfce_hvbox_new(xfce_panel_plugin_get_orientation(global->plugin), FALSE, 0);
255- gtk_widget_show(global->box);
256-
257- for(count = 0; count < 3; count++)
258- {
259- global->monitor[count]->label =
260- gtk_label_new(global->monitor[count]->options.label_text);
261-
262- global->monitor[count]->status = GTK_WIDGET(gtk_progress_bar_new());
263-
264- global->monitor[count]->box = xfce_hvbox_new(xfce_panel_plugin_get_orientation(global->plugin), FALSE, 0);
265-
266- gtk_box_pack_start(GTK_BOX(global->monitor[count]->box),
267- GTK_WIDGET(global->monitor[count]->label),
268- FALSE, FALSE, 2);
269-
270- global->monitor[count]->ebox = gtk_event_box_new();
271- gtk_widget_show(global->monitor[count]->ebox);
272- gtk_container_add(GTK_CONTAINER(global->monitor[count]->ebox),
273- GTK_WIDGET(global->monitor[count]->box));
274-
275- gtk_event_box_set_visible_window(GTK_EVENT_BOX(global->monitor[count]->ebox), FALSE);
276- gtk_event_box_set_above_child(GTK_EVENT_BOX(global->monitor[count]->ebox), TRUE);
277-
278- gtk_widget_show(GTK_WIDGET(global->monitor[count]->status));
279-
280- gtk_box_pack_start(GTK_BOX(global->monitor[count]->box),
281- GTK_WIDGET(global->monitor[count]->status),
282- FALSE, FALSE, 0);
283- gtk_box_pack_start(GTK_BOX(global->box),
284- GTK_WIDGET(global->monitor[count]->ebox),
285- FALSE, FALSE, 0);
286-
287- gtk_widget_show_all(GTK_WIDGET(global->monitor[count]->ebox));
288- }
289-
290- global->uptime->ebox = gtk_event_box_new();
291- if(global->uptime->enabled)
292- gtk_widget_show(global->uptime->ebox);
293- gtk_event_box_set_visible_window(GTK_EVENT_BOX(global->uptime->ebox), FALSE);
294-
295- global->uptime->label = gtk_label_new("");
296-
297- gtk_widget_show(global->uptime->label);
298- gtk_container_add(GTK_CONTAINER(global->uptime->ebox),
299- GTK_WIDGET(global->uptime->label));
300-
301- gtk_box_pack_start(GTK_BOX(global->box),
302- GTK_WIDGET(global->uptime->ebox),
303- FALSE, FALSE, 0);
304-
305- gtk_container_add(GTK_CONTAINER(global->ebox), GTK_WIDGET(global->box));
306- gtk_event_box_set_visible_window(GTK_EVENT_BOX(global->ebox), FALSE);
307- gtk_widget_show(GTK_WIDGET(global->ebox));
308-
309- update_monitors (global);
310-}
311-
312-static t_global_monitor *
313-monitor_control_new(XfcePanelPlugin *plugin)
314-{
315- int count;
316- t_global_monitor *global;
317-
318- global = g_new(t_global_monitor, 1);
319-#ifdef HAVE_UPOWER_GLIB
320- global->upower = up_client_new();
321-#endif
322- global->plugin = plugin;
323- global->timeout = UPDATE_TIMEOUT;
324- global->timeout_seconds = UPDATE_TIMEOUT_SECONDS;
325- global->use_timeout_seconds = TRUE;
326- global->timeout_id = 0;
327- global->ebox = gtk_event_box_new();
328- gtk_widget_show(global->ebox);
329- global->box = NULL;
330-
331- xfce_panel_plugin_add_action_widget (plugin, global->ebox);
332-
333- for(count = 0; count < 3; count++)
334- {
335- global->monitor[count] = g_new(t_monitor, 1);
336- global->monitor[count]->options.label_text =
337- g_strdup(DEFAULT_TEXT[count]);
338- gdk_color_parse(DEFAULT_COLOR[count],
339- &global->monitor[count]->options.color);
340-
341- global->monitor[count]->options.use_label = TRUE;
342- global->monitor[count]->options.enabled = TRUE;
343-
344- global->monitor[count]->history[0] = 0;
345- global->monitor[count]->history[1] = 0;
346- global->monitor[count]->history[2] = 0;
347- global->monitor[count]->history[3] = 0;
348-
349- }
350-
351- global->uptime = g_new(t_uptime_monitor, 1);
352- global->uptime->enabled = TRUE;
353-
354- return global;
355-}
356-
357-static void
358-monitor_free(XfcePanelPlugin *plugin, t_global_monitor *global)
359-{
360- gint count;
361-
362-#ifdef HAVE_UPOWER_GLIB
363- if (global->upower) {
364- g_object_unref(global->upower);
365- global->upower = NULL;
366- }
367-#endif
368-
369- if (global->timeout_id)
370- g_source_remove(global->timeout_id);
371-
372- for(count = 0; count < 3; count++)
373- {
374- if (global->monitor[count]->options.label_text)
375- g_free(global->monitor[count]->options.label_text);
376- g_free(global->monitor[count]);
377- }
378-
379- g_free(global->uptime);
380-
381- g_free(global);
382-}
383-
384-static void
385-setup_timer(t_global_monitor *global)
386-{
387- GtkSettings *settings;
388- if (global->timeout_id)
389- g_source_remove(global->timeout_id);
390-#ifdef HAVE_UPOWER_GLIB
391- if (global->upower && global->use_timeout_seconds) {
392- if (up_client_get_on_battery(global->upower)) {
393- if (!up_client_get_lid_is_closed(global->upower)) {
394- global->timeout_id = g_timeout_add_seconds(
395- global->timeout_seconds,
396- (GSourceFunc)update_monitors, global);
397- } else {
398- /* Don't do any timeout if the lid is closed on battery */
399- global->timeout_id = 0;
400- }
401- return;
402- }
403- }
404-#endif
405- global->timeout_id = g_timeout_add(global->timeout, (GSourceFunc)update_monitors, global);
406- /* reduce the default tooltip timeout to be smaller than the update interval otherwise
407- * we won't see tooltips on GTK 2.16 or newer */
408- settings = gtk_settings_get_default();
409- if (g_object_class_find_property(G_OBJECT_GET_CLASS(settings), "gtk-tooltip-timeout"))
410- g_object_set(settings, "gtk-tooltip-timeout",
411- global->timeout - 10, NULL);
412-
413-}
414-
415-static void
416-setup_monitor(t_global_monitor *global)
417-{
418- gint count;
419-
420- gtk_widget_hide(GTK_WIDGET(global->uptime->ebox));
421-
422- for(count = 0; count < 3; count++)
423- {
424- gtk_widget_hide(GTK_WIDGET(global->monitor[count]->ebox));
425- gtk_widget_hide(global->monitor[count]->label);
426- gtk_label_set_text(GTK_LABEL(global->monitor[count]->label),
427- global->monitor[count]->options.label_text);
428-
429- gtk_widget_modify_bg(GTK_WIDGET(global->monitor[count]->status),
430- GTK_STATE_PRELIGHT,
431- &global->monitor[count]->options.color);
432- gtk_widget_modify_bg(GTK_WIDGET(global->monitor[count]->status),
433- GTK_STATE_SELECTED,
434- &global->monitor[count]->options.color);
435- gtk_widget_modify_base(GTK_WIDGET(global->monitor[count]->status),
436- GTK_STATE_SELECTED,
437- &global->monitor[count]->options.color);
438-
439- if(global->monitor[count]->options.enabled)
440- {
441- gtk_widget_show(GTK_WIDGET(global->monitor[count]->ebox));
442- if (global->monitor[count]->options.use_label)
443- gtk_widget_show(global->monitor[count]->label);
444-
445- gtk_widget_show(GTK_WIDGET(global->monitor[count]->status));
446- }
447- }
448- if(global->uptime->enabled)
449- {
450- if (global->monitor[0]->options.enabled ||
451- global->monitor[1]->options.enabled ||
452- global->monitor[2]->options.enabled)
453- {
454- gtk_container_set_border_width(GTK_CONTAINER(global->uptime->ebox), 2);
455- }
456- gtk_widget_show(GTK_WIDGET(global->uptime->ebox));
457- }
458-
459- setup_timer(global);
460-}
461-
462-static void
463-monitor_read_config(XfcePanelPlugin *plugin, t_global_monitor *global)
464-{
465- gint count;
466- const char *value;
467- char *file;
468- XfceRc *rc;
469-
470- if (!(file = xfce_panel_plugin_lookup_rc_file (plugin)))
471- return;
472-
473- rc = xfce_rc_simple_open (file, TRUE);
474- g_free (file);
475-
476- if (!rc)
477- return;
478-
479- if (xfce_rc_has_group (rc, "Main"))
480- {
481- xfce_rc_set_group (rc, "Main");
482- global->timeout = xfce_rc_read_int_entry (rc, "Timeout", global->timeout);
483- global->timeout_seconds = xfce_rc_read_int_entry (
484- rc, "Timeout_Seconds", global->timeout_seconds);
485- global->use_timeout_seconds = xfce_rc_read_bool_entry (
486- rc, "Use_Timeout_Seconds", global->use_timeout_seconds);
487- }
488-
489- for(count = 0; count < 3; count++)
490- {
491- if (xfce_rc_has_group (rc, MONITOR_ROOT[count]))
492- {
493- xfce_rc_set_group (rc, MONITOR_ROOT[count]);
494-
495- global->monitor[count]->options.enabled =
496- xfce_rc_read_bool_entry (rc, "Enabled", TRUE);
497-
498- global->monitor[count]->options.use_label =
499- xfce_rc_read_bool_entry (rc, "Use_Label", TRUE);
500-
501- if ((value = xfce_rc_read_entry (rc, "Color", NULL)))
502- {
503- gdk_color_parse(value,
504- &global->monitor[count]->options.color);
505- }
506- if ((value = xfce_rc_read_entry (rc, "Text", NULL)) && *value)
507- {
508- if (global->monitor[count]->options.label_text)
509- g_free(global->monitor[count]->options.label_text);
510- global->monitor[count]->options.label_text =
511- g_strdup(value);
512- }
513- }
514- if (xfce_rc_has_group (rc, MONITOR_ROOT[3]))
515- {
516- xfce_rc_set_group (rc, MONITOR_ROOT[3]);
517-
518- global->uptime->enabled =
519- xfce_rc_read_bool_entry (rc, "Enabled", TRUE);
520- }
521- }
522-
523- xfce_rc_close (rc);
524-}
525-
526-static void
527-monitor_write_config(XfcePanelPlugin *plugin, t_global_monitor *global)
528-{
529- char value[10];
530- gint count;
531- XfceRc *rc;
532- char *file;
533-
534- if (!(file = xfce_panel_plugin_save_location (plugin, TRUE)))
535- return;
536-
537- rc = xfce_rc_simple_open (file, FALSE);
538- g_free (file);
539-
540- if (!rc)
541- return;
542-
543- xfce_rc_set_group (rc, "Main");
544- xfce_rc_write_int_entry (rc, "Timeout", global->timeout);
545- xfce_rc_write_int_entry (rc, "Timeout_Seconds", global->timeout_seconds);
546- xfce_rc_write_bool_entry (rc, "Use_Timeout_Seconds",
547- global->use_timeout_seconds);
548-
549- for(count = 0; count < 3; count++)
550- {
551- xfce_rc_set_group (rc, MONITOR_ROOT[count]);
552-
553- xfce_rc_write_bool_entry (rc, "Enabled",
554- global->monitor[count]->options.enabled);
555-
556- xfce_rc_write_bool_entry (rc, "Use_Label",
557- global->monitor[count]->options.use_label);
558-
559- g_snprintf(value, 8, "#%02X%02X%02X",
560- (guint)global->monitor[count]->options.color.red >> 8,
561- (guint)global->monitor[count]->options.color.green >> 8,
562- (guint)global->monitor[count]->options.color.blue >> 8);
563-
564- xfce_rc_write_entry (rc, "Color", value);
565-
566- xfce_rc_write_entry (rc, "Text",
567- global->monitor[count]->options.label_text ?
568- global->monitor[count]->options.label_text : "");
569- }
570-
571- xfce_rc_set_group (rc, MONITOR_ROOT[3]);
572-
573- xfce_rc_write_bool_entry (rc, "Enabled",
574- global->uptime->enabled);
575-
576- xfce_rc_close (rc);
577-}
578-
579-static gboolean
580-monitor_set_size(XfcePanelPlugin *plugin, int size, t_global_monitor *global)
581-{
582- gint count;
583-
584- gtk_container_set_border_width (GTK_CONTAINER (global->ebox), (size > 26 ? 2 : 1));
585- for(count = 0; count < 3; count++)
586- {
587- if (xfce_panel_plugin_get_orientation (plugin) ==
588- GTK_ORIENTATION_HORIZONTAL)
589- {
590- gtk_widget_set_size_request(GTK_WIDGET(global->monitor[count]->status),
591- 8, -1);
592- }
593- else
594- {
595- gtk_widget_set_size_request(GTK_WIDGET(global->monitor[count]->status),
596- -1, 8);
597- }
598- }
599-
600- setup_monitor(global);
601-
602- return TRUE;
603-}
604-
605-
606-#ifdef HAS_PANEL_49
607-static void
608-monitor_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode,
609- t_global_monitor *global)
610-{
611- GtkOrientation panel_orientation = xfce_panel_plugin_get_orientation (plugin);
612- GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
613- GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
614-
615- /* Set small in all modes except deskbar mode */
616- if (mode == XFCE_PANEL_PLUGIN_MODE_DESKBAR)
617- xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), FALSE);
618- else
619- xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), TRUE);
620-
621- monitor_update_orientation (plugin, panel_orientation, orientation, global);
622- monitor_set_size (plugin, xfce_panel_plugin_get_size (plugin), global);
623-}
624-
625-
626-#else
627-static void
628-monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
629- t_global_monitor *global)
630-{
631- monitor_update_orientation (plugin, orientation, GTK_ORIENTATION_HORIZONTAL, global);
632- monitor_set_size (plugin, xfce_panel_plugin_get_size (plugin), global);
633-}
634-#endif
635-
636-
637-#ifdef HAVE_UPOWER_GLIB
638-static void
639-upower_changed_cb(UpClient *client, t_global_monitor *global)
640-{
641- setup_timer(global);
642-}
643-#endif
644-
645-static void
646-entry_changed_cb(GtkEntry *entry, t_global_monitor *global)
647-{
648- gchar** charvar = (gchar**)g_object_get_data (G_OBJECT(entry), "charvar");
649- g_free(*charvar);
650- *charvar = g_strdup(gtk_entry_get_text(GTK_ENTRY(entry)));
651- setup_monitor(global);
652-}
653-
654-static void
655-check_button_cb(GtkToggleButton *check_button, t_global_monitor *global)
656-{
657- gboolean oldstate;
658- gboolean* boolvar;
659- gpointer sensitive_widget;
660- boolvar = (gboolean*)g_object_get_data(G_OBJECT(check_button), "boolvar");
661- sensitive_widget = g_object_get_data(G_OBJECT(check_button), "sensitive_widget");
662- oldstate = *boolvar;
663- *boolvar = gtk_toggle_button_get_active(check_button);
664- if (sensitive_widget)
665- gtk_widget_set_sensitive(GTK_WIDGET(sensitive_widget), *boolvar);
666- if (oldstate != *boolvar)
667- setup_monitor(global);
668-}
669-
670-static void
671-color_set_cb(GtkColorButton *color_button, t_global_monitor *global)
672-{
673- GdkColor* colorvar;
674- colorvar = (GdkColor*)g_object_get_data(G_OBJECT(color_button), "colorvar");
675- gtk_color_button_get_color(color_button, colorvar);
676- setup_monitor(global);
677-}
678-
679-static void
680-monitor_dialog_response (GtkWidget *dlg, int response,
681- t_global_monitor *global)
682-{
683- gtk_widget_destroy (dlg);
684- xfce_panel_plugin_unblock_menu (global->plugin);
685- monitor_write_config (global->plugin, global);
686-}
687-
688-static void
689-change_timeout_cb(GtkSpinButton *spin, t_global_monitor *global)
690-{
691- global->timeout = gtk_spin_button_get_value(spin) * 1000;
692-
693- setup_timer(global);
694-}
695-
696-#ifdef HAVE_UPOWER_GLIB
697-static void
698-change_timeout_seconds_cb(GtkSpinButton *spin, t_global_monitor *global)
699-{
700- global->timeout_seconds = gtk_spin_button_get_value(spin);
701-
702- setup_timer(global);
703-}
704-#endif
705-
706-/* Create a new frame, optionally with a checkbox.
707- * Set boolvar to NULL if you do not want a checkbox.
708- * Returns the GtkTable inside the frame. */
709-static GtkTable* new_frame(t_global_monitor *global, GtkBox *content,
710- const gchar *title, guint rows, gboolean *boolvar)
711-{
712- GtkWidget *frame, *table, *check, *label;
713- table = gtk_table_new (rows, 2, FALSE);
714- gtk_table_set_col_spacings (GTK_TABLE(table), 12);
715- gtk_table_set_row_spacings (GTK_TABLE(table), 6);
716- frame = xfce_gtk_frame_box_new_with_content (title, table);
717- gtk_box_pack_start_defaults (content, frame);
718- if (boolvar) {
719- check = gtk_check_button_new();
720- /* Move frame label into check button */
721- label = gtk_frame_get_label_widget (GTK_FRAME(frame));
722- g_object_ref (G_OBJECT(label));
723- gtk_container_remove (GTK_CONTAINER(frame), label);
724- gtk_container_add (GTK_CONTAINER(check), label);
725- g_object_unref (G_OBJECT(label));
726- /* Assign check to be the frame's label */
727- gtk_frame_set_label_widget (GTK_FRAME(frame), check);
728- /* Configure and set check button */
729- g_object_set_data (G_OBJECT(check), "sensitive_widget", table);
730- g_object_set_data (G_OBJECT(check), "boolvar", boolvar);
731- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(check), *boolvar);
732- check_button_cb (GTK_TOGGLE_BUTTON(check), global);
733- g_signal_connect (G_OBJECT(check), "toggled",
734- G_CALLBACK(check_button_cb), global);
735- }
736- return GTK_TABLE(table);
737-}
738-
739-/* Creates a check box if boolvar is non-null, or a label if it is null.
740- * If it is a check box, it will control the sensitivity of target.
741- * If it is a label, its mnemonic will point to target.
742- * Returns the widget. */
743-static GtkWidget *new_label_or_check_button(t_global_monitor *global,
744- const gchar *labeltext,
745- gboolean *boolvar, GtkWidget *target)
746-{
747- GtkWidget *label;
748- if (boolvar) {
749- label = gtk_check_button_new_with_mnemonic (labeltext);
750- g_object_set_data (G_OBJECT(label), "sensitive_widget", target);
751- g_object_set_data (G_OBJECT(label), "boolvar", boolvar);
752- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(label), *boolvar);
753- check_button_cb (GTK_TOGGLE_BUTTON(label), global);
754- g_signal_connect (GTK_WIDGET(label), "toggled",
755- G_CALLBACK(check_button_cb), global);
756- } else {
757- label = gtk_label_new_with_mnemonic (labeltext);
758- gtk_misc_set_alignment (GTK_MISC (label), 1, 0.5f); \
759- gtk_label_set_mnemonic_widget(GTK_LABEL(label), target);
760- }
761- return label;
762-}
763-
764-/* Adds an entry box to the table, optionally with a checkbox to enable it.
765- * Set boolvar to NULL if you do not want a checkbox. */
766-static void new_entry(t_global_monitor *global, GtkTable *table, guint row,
767- const gchar *labeltext, gchar **charvar,
768- gboolean *boolvar)
769-{
770- GtkWidget *label, *entry;
771- entry = gtk_entry_new ();
772- g_object_set_data (G_OBJECT(entry), "charvar", charvar);
773- gtk_entry_set_text (GTK_ENTRY(entry), *charvar);
774- g_signal_connect (G_OBJECT(entry), "changed",
775- G_CALLBACK(entry_changed_cb), global);
776- label = new_label_or_check_button(global, labeltext, boolvar, entry);
777- gtk_table_attach_defaults(table, label, 0, 1, row, row+1);
778- gtk_table_attach_defaults(table, entry, 1, 2, row, row+1);
779-}
780-
781-/* Adds a color button to the table, optionally with a checkbox to enable it.
782- * Set boolvar to NULL if you do not want a checkbox. */
783-static void new_color_button(t_global_monitor *global, GtkTable *table, guint row,
784- const gchar *labeltext, GdkColor* colorvar,
785- gboolean *boolvar)
786-{
787- GtkWidget *label, *button;
788- button = gtk_color_button_new_with_color(colorvar);
789- g_object_set_data(G_OBJECT(button), "colorvar", colorvar);
790- g_signal_connect(G_OBJECT(button), "color-set",
791- G_CALLBACK (color_set_cb), global);
792- label = new_label_or_check_button(global, labeltext, boolvar, button);
793- gtk_table_attach_defaults(table, label, 0, 1, row, row+1);
794- gtk_table_attach_defaults(table, button, 1, 2, row, row+1);
795-}
796-
797-/* Adds a new spin button, optionally with a checkbox to enable it.
798- * Set boolvar to NULL if you do not want a checkbox. */
799-static void new_spin_button(t_global_monitor *global, GtkTable *table, guint row,
800- const gchar *labeltext, const gchar *units,
801- gfloat value, gfloat min, gfloat max, gfloat step,
802- GCallback callback, gboolean* boolvar) {
803- GtkWidget *label, *button, *box;
804- /* Hbox for spin button + units */
805- box = gtk_hbox_new(TRUE, 2);
806- button = gtk_spin_button_new_with_range (min, max, step);
807- gtk_spin_button_set_value (GTK_SPIN_BUTTON (button), value);
808- g_signal_connect (G_OBJECT (button), "value-changed", callback, global);
809- gtk_box_pack_start(GTK_BOX(box), button, FALSE, FALSE, 0);
810- label = gtk_label_new (units);
811- gtk_misc_set_alignment (GTK_MISC(label), 0, .5);
812- gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 0);
813- /* Label/check button */
814- label = new_label_or_check_button(global, labeltext, boolvar, box);
815- gtk_table_attach_defaults(table, label, 0, 1, row, row+1);
816- gtk_table_attach_defaults(table, box, 1, 2, row, row+1);
817-}
818-
819-static void
820-monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *global)
821-{
822- GtkWidget *dlg;
823- GtkBox *content;
824- GtkTable *table;
825- guint count;
826- t_monitor *monitor;
827- static const gchar *FRAME_TEXT[] = {
828- N_ ("CPU monitor"),
829- N_ ("Memory monitor"),
830- N_ ("Swap monitor"),
831- N_ ("Uptime monitor")
832- };
833-
834- xfce_panel_plugin_block_menu (plugin);
835-
836- dlg = xfce_titled_dialog_new_with_buttons (_("System Load Monitor"),
837- GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
838- GTK_DIALOG_DESTROY_WITH_PARENT |
839- GTK_DIALOG_NO_SEPARATOR,
840- GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
841- NULL);
842-
843- g_signal_connect (G_OBJECT (dlg), "response",
844- G_CALLBACK (monitor_dialog_response), global);
845-
846- gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER);
847- gtk_window_set_icon_name (GTK_WINDOW (dlg), "xfce4-settings");
848-
849- content = GTK_BOX(gtk_dialog_get_content_area (GTK_DIALOG(dlg)));
850-
851- table = new_frame(global, content, _("General"), 2, NULL);
852- new_spin_button(global, table, 0,
853- _("Update interval:"), _("s"),
854- (gfloat)global->timeout/1000.0, 0.100, 10.000, .050,
855- G_CALLBACK(change_timeout_cb), NULL);
856-#ifdef HAVE_UPOWER_GLIB
857- new_spin_button(global, table, 1,
858- _("Power-saving interval:"), _("s"),
859- (gfloat)global->timeout_seconds, 1, 10, 1,
860- G_CALLBACK(change_timeout_seconds_cb),
861- &global->use_timeout_seconds);
862-#endif
863-
864- for(count = 0; count < 3; count++)
865- {
866- monitor = global->monitor[count];
867-
868- table = new_frame(global, content,
869- _(FRAME_TEXT[count]), 2, &monitor->options.enabled);
870-
871- new_entry(global, table, 0,
872- _("Text to display:"), &monitor->options.label_text,
873- &monitor->options.use_label);
874-
875- new_color_button(global, table, 1,
876- _("Bar color:"), &monitor->options.color, NULL);
877- }
878-
879- /*uptime monitor options - start*/
880- table = new_frame(global, content,
881- _(FRAME_TEXT[3]), 1, &global->uptime->enabled);
882- /*uptime monitor options - end*/
883-
884- gtk_widget_show_all (dlg);
885-}
886-
887-static void
888-monitor_show_about(XfcePanelPlugin *plugin, t_global_monitor *global)
889-{
890- GdkPixbuf *icon;
891- const gchar *auth[] = {
892- "Riccardo Persichetti <riccardo.persichetti@tin.it>",
893- "Florian Rivoal <frivoal@xfce.org>",
894- "David Schneider <dnschneid@gmail.com>", NULL };
895- icon = xfce_panel_pixbuf_from_source("utilities-system-monitor", NULL, 32);
896- gtk_show_about_dialog(NULL,
897- "logo", icon,
898- "license", xfce_get_license_text (XFCE_LICENSE_TEXT_BSD),
899- "version", PACKAGE_VERSION,
900- "program-name", PACKAGE_NAME,
901- "comments", _("Monitor CPU load, swap usage and memory footprint"),
902- "website", "http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin",
903- "copyright", _("Copyright (c) 2003-2012\n"),
904- "authors", auth, NULL);
905-
906- if(icon)
907- g_object_unref(G_OBJECT(icon));
908-}
909-
910-static void
911-systemload_construct (XfcePanelPlugin *plugin)
912-{
913- t_global_monitor *global;
914-
915- xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
916-
917- global = monitor_control_new (plugin);
918-
919- monitor_read_config (plugin, global);
920-
921- create_monitor (global);
922-#ifdef HAS_PANEL_49
923- monitor_set_mode (plugin,
924- xfce_panel_plugin_get_mode (plugin),
925- global);
926-#else
927- monitor_set_orientation (plugin,
928- xfce_panel_plugin_get_orientation (plugin),
929- global);
930-#endif
931-
932- setup_monitor (global);
933-
934- gtk_container_add (GTK_CONTAINER (plugin), global->ebox);
935-
936- update_monitors (global);
937-
938-#ifdef HAVE_UPOWER_GLIB
939- if (global->upower) {
940- g_signal_connect (global->upower, "changed",
941- G_CALLBACK(upower_changed_cb), global);
942- }
943-#endif
944-
945- g_signal_connect (plugin, "free-data", G_CALLBACK (monitor_free), global);
946-
947- g_signal_connect (plugin, "save", G_CALLBACK (monitor_write_config),
948- global);
949-
950- g_signal_connect (plugin, "size-changed", G_CALLBACK (monitor_set_size),
951- global);
952-
953-#ifdef HAS_PANEL_49
954- g_signal_connect (plugin, "mode-changed",
955- G_CALLBACK (monitor_set_mode), global);
956-#else
957- g_signal_connect (plugin, "orientation-changed",
958- G_CALLBACK (monitor_set_orientation), global);
959-#endif
960-
961- xfce_panel_plugin_menu_show_configure (plugin);
962- g_signal_connect (plugin, "configure-plugin",
963- G_CALLBACK (monitor_create_options), global);
964-
965- xfce_panel_plugin_menu_show_about(plugin);
966- g_signal_connect (plugin, "about", G_CALLBACK (monitor_show_about),
967- global);
968-}
969-
970-XFCE_PANEL_PLUGIN_REGISTER (systemload_construct);
971-
972
973=== modified file 'ChangeLog'
974--- ChangeLog 2012-07-15 14:02:31 +0000
975+++ ChangeLog 2014-11-21 23:25:26 +0000
976@@ -1,3 +1,695 @@
977+commit 6f522991a869ac7489089be6d969f7e0b01bef77
978+Author: Landry Breuil <landry@xfce.org>
979+Date: Fri Nov 21 09:43:19 2014 +0100
980+
981+ Declaration before code
982+
983+commit 48b43e0fe67ca67303aebcdbf8dfc950e245c47d
984+Author: Landry Breuil <landry@xfce.org>
985+Date: Fri Nov 21 09:39:02 2014 +0100
986+
987+ Fix comment in all po files referencing removed systemload.desktop.in.h, pleases make distcheck
988+
989+commit 9406e4363fbd1e69aa17717296b66b69c000f57a
990+Author: Landry Breuil <landry@xfce.org>
991+Date: Fri Nov 21 09:13:05 2014 +0100
992+
993+ update NEWS
994+
995+commit ee3250b9bf5f46d9ca41f49be1aaa5491577e462
996+Author: Landry Breuil <landry@xfce.org>
997+Date: Fri Nov 21 09:10:28 2014 +0100
998+
999+ merge patch using HW_PHYSMEM64 inconditionally on OpenBSD
1000+
1001+commit 59a1b99a52631c22843b96d22238d744814d4205
1002+Author: Landry Breuil <landry@xfce.org>
1003+Date: Fri Nov 21 09:10:03 2014 +0100
1004+
1005+ sys/dkstat.h was removed on OpenBSD, merge patch
1006+
1007+commit 4e705d1f69e38407778674a224adcd9a7df40aa1
1008+Author: Landry Breuil <landry@xfce.org>
1009+Date: Fri Nov 21 09:00:47 2014 +0100
1010+
1011+ Prepare for 1.1.2 release.
1012+
1013+ Bump copyright years while here..
1014+
1015+commit 3696280732aaad632b1ad1c0102e5bf1457eb1e6
1016+Author: Landry Breuil <landry@xfce.org>
1017+Date: Fri Nov 21 08:38:35 2014 +0100
1018+
1019+ The plugin works on !linux, and florian is not longer maintaining it..
1020+
1021+commit e5afbf154fa4a16f218fc26c238384c40ad05e41
1022+Author: Саша Петровић <salepetronije@gmail.com>
1023+Date: Thu Nov 20 18:31:39 2014 +0100
1024+
1025+ I18n: Update translation sr (100%).
1026+
1027+ 24 translated messages.
1028+
1029+ Transifex (https://www.transifex.com/projects/p/xfce/).
1030+
1031+commit f1f410b60496d0b721e271d0aa08c8a751377095
1032+Author: Sveinn í Felli <sv1@fellsnet.is>
1033+Date: Tue Sep 23 00:31:38 2014 +0200
1034+
1035+ I18n: Update translation is (100%).
1036+
1037+ 24 translated messages.
1038+
1039+ Transifex (https://www.transifex.com/projects/p/xfce/).
1040+
1041+commit 153ddcb2002e66a782892db31e679b5bc554791e
1042+Author: Alois Nešpor <info@aloisnespor.info>
1043+Date: Mon Sep 1 00:31:51 2014 +0200
1044+
1045+ I18n: Update translation cs (100%).
1046+
1047+ 24 translated messages.
1048+
1049+ Transifex (https://www.transifex.com/projects/p/xfce/).
1050+
1051+commit d33d7368bfbf68f88d1e5224222e884254797c85
1052+Author: Piotr Sokół <psokol@jabster.pl>
1053+Date: Sat Aug 30 00:31:52 2014 +0200
1054+
1055+ I18n: Update translation pl (100%).
1056+
1057+ 24 translated messages.
1058+
1059+ Transifex (https://www.transifex.com/projects/p/xfce/).
1060+
1061+commit d0dae52a50462772ea48b3d20a2eb82b740a12e8
1062+Author: yjwork <yjwork@qq.com>
1063+Date: Fri Aug 29 06:31:54 2014 +0200
1064+
1065+ I18n: Update translation zh_CN (100%).
1066+
1067+ 24 translated messages.
1068+
1069+ Transifex (https://www.transifex.com/projects/p/xfce/).
1070+
1071+commit 7e453065806a251384f819fad557b8fad0f23041
1072+Author: Piotr Sokół <psokol@jabster.pl>
1073+Date: Sat Aug 16 12:31:35 2014 +0200
1074+
1075+ I18n: Update translation pl (100%).
1076+
1077+ 24 translated messages.
1078+
1079+ Transifex (https://www.transifex.com/projects/p/xfce/).
1080+
1081+commit e23a00e14100ff9b452237a976ed7ac22142969b
1082+Author: Masato HASHIMOTO <cabezon.hashimoto@gmail.com>
1083+Date: Sat Aug 16 12:31:35 2014 +0200
1084+
1085+ I18n: Update translation ja (100%).
1086+
1087+ 24 translated messages.
1088+
1089+ Transifex (https://www.transifex.com/projects/p/xfce/).
1090+
1091+commit 975302aa3b5c2b64fc442a364c16603b06721653
1092+Author: Michael Findlay <keltoiboy@gmail.com>
1093+Date: Sun Aug 10 12:31:44 2014 +0200
1094+
1095+ I18n: Update translation en_AU (100%).
1096+
1097+ 24 translated messages.
1098+
1099+ Transifex (https://www.transifex.com/projects/p/xfce/).
1100+
1101+commit dce828beb01eca3e7b6c7963614287a471498700
1102+Author: Sergey Alyoshin <alyoshin.s@gmail.com>
1103+Date: Sat Aug 9 12:31:33 2014 +0200
1104+
1105+ I18n: Update translation ru (100%).
1106+
1107+ 24 translated messages.
1108+
1109+ Transifex (https://www.transifex.com/projects/p/xfce/).
1110+
1111+commit 20febf6c383d245fe2460042c91f1dd92719489e
1112+Author: abuyop <abuyop@gmail.com>
1113+Date: Wed Aug 6 00:31:41 2014 +0200
1114+
1115+ I18n: Update translation ms (100%).
1116+
1117+ 24 translated messages.
1118+
1119+ Transifex (https://www.transifex.com/projects/p/xfce/).
1120+
1121+commit 9cb3739ba44a00f771414f8a8c134a0ce8259443
1122+Author: Yarema aka Knedlyk <yupadmin@gmail.com>
1123+Date: Tue Aug 5 12:31:41 2014 +0200
1124+
1125+ I18n: Update translation uk (100%).
1126+
1127+ 24 translated messages.
1128+
1129+ Transifex (https://www.transifex.com/projects/p/xfce/).
1130+
1131+commit 246e309d9223bde6abf5af4e4c5d575e32f933ec
1132+Author: Edin Veskovic <edin.veskovic@openmailbox.org>
1133+Date: Tue Aug 5 12:31:40 2014 +0200
1134+
1135+ I18n: Update translation hr (100%).
1136+
1137+ 24 translated messages.
1138+
1139+ Transifex (https://www.transifex.com/projects/p/xfce/).
1140+
1141+commit 27a66dd9d87af3d33aecec350177af2c98bcf5f4
1142+Author: Cristian Marchi <cri.penta@gmail.com>
1143+Date: Sat Aug 2 18:31:36 2014 +0200
1144+
1145+ I18n: Update translation it (100%).
1146+
1147+ 24 translated messages.
1148+
1149+ Transifex (https://www.transifex.com/projects/p/xfce/).
1150+
1151+commit 9563926f3c07aa409c69936a2fd9da407d210a28
1152+Author: Seong-ho Cho <darkcircle.0426@gmail.com>
1153+Date: Sat Aug 2 12:31:38 2014 +0200
1154+
1155+ I18n: Update translation ko (100%).
1156+
1157+ 24 translated messages.
1158+
1159+ Transifex (https://www.transifex.com/projects/p/xfce/).
1160+
1161+commit fa63597a7086d61e208e947e0f13ae912b0c91e9
1162+Author: Pablo Roberto Francisco Lezaeta Reyes <prflr88@gmail.com>
1163+Date: Thu Jul 31 00:31:35 2014 +0200
1164+
1165+ I18n: Update translation es (100%).
1166+
1167+ 24 translated messages.
1168+
1169+ Transifex (https://www.transifex.com/projects/p/xfce/).
1170+
1171+commit 4914fba3ef6757bc77af72acb5bf2f67d018cae9
1172+Author: Theppitak Karoonboonyanan <theppitak@gmail.com>
1173+Date: Wed Jul 30 18:31:52 2014 +0200
1174+
1175+ I18n: Update translation th (100%).
1176+
1177+ 24 translated messages.
1178+
1179+ Transifex (https://www.transifex.com/projects/p/xfce/).
1180+
1181+commit d20011847a2cda25d5082925c3a0685b275bad59
1182+Author: Pjotr <pjotrvertaalt@gmail.com>
1183+Date: Wed Jul 30 18:31:52 2014 +0200
1184+
1185+ I18n: Update translation nl (100%).
1186+
1187+ 24 translated messages.
1188+
1189+ Transifex (https://www.transifex.com/projects/p/xfce/).
1190+
1191+commit 6e0c3fe5afccf6f2478708f04b09324746f1f1a2
1192+Author: gabrieltandil <gabriel.tandil@gmail.com>
1193+Date: Wed Jul 30 18:31:52 2014 +0200
1194+
1195+ I18n: Update translation es (95%).
1196+
1197+ 23 translated messages, 1 untranslated message.
1198+
1199+ Transifex (https://www.transifex.com/projects/p/xfce/).
1200+
1201+commit 460346fd1f605a1fa526c2cbcc4efb665d9146d9
1202+Author: Kiril Kirilov <cybercop_montana@abv.bg>
1203+Date: Wed Jul 30 18:31:52 2014 +0200
1204+
1205+ I18n: Update translation bg (100%).
1206+
1207+ 24 translated messages.
1208+
1209+ Transifex (https://www.transifex.com/projects/p/xfce/).
1210+
1211+commit 578f57128be3ed97f6d44cede49760672de64ae2
1212+Author: Dawid <hoek@hoek.pl>
1213+Date: Wed Jul 30 12:31:43 2014 +0200
1214+
1215+ I18n: Update translation pl (100%).
1216+
1217+ 24 translated messages.
1218+
1219+ Transifex (https://www.transifex.com/projects/p/xfce/).
1220+
1221+commit 952989b93ccaf11c73cf75065f37d50b8610ac44
1222+Author: Yannick Le Guen <leguen.yannick@gmail.com>
1223+Date: Wed Jul 30 12:31:43 2014 +0200
1224+
1225+ I18n: Update translation fr (100%).
1226+
1227+ 24 translated messages.
1228+
1229+ Transifex (https://www.transifex.com/projects/p/xfce/).
1230+
1231+commit a08eacc1afa245e4d66d29815958c67de3d6bb2f
1232+Author: Liquider <liquiderz@gmail.com>
1233+Date: Tue Jul 29 21:34:00 2014 +0200
1234+
1235+ Add a way to run a command when clicking on systemload plugin (bug #3887)
1236+
1237+ With some tweaks by me..
1238+
1239+commit abdcb383f380bf7a048cf512fa079581321b64fa
1240+Author: Eric Koegel <eric.koegel@gmail.com>
1241+Date: Fri May 30 19:12:02 2014 +0300
1242+
1243+ Update for Upower 0.99
1244+
1245+ Upower 0.99 changed from the "changed" signal to "notify" as well as
1246+ the function signature. This patch adds that while still supporting
1247+ the previous versions of upower.
1248+
1249+commit 7aa6199f1c2ecd5e17b9e291773d245daec0f6c1
1250+Author: Urien Desterres <urien.desterres@gmail.com>
1251+Date: Fri Jun 6 12:31:43 2014 +0200
1252+
1253+ I18n: Update translation fr (100%).
1254+
1255+ 22 translated messages.
1256+
1257+ Transifex (https://www.transifex.com/projects/p/xfce/).
1258+
1259+commit 14efba5f14bfa9f04215fb02abe14d6aa2f42b68
1260+Author: haarek <haarektrans@gmail.com>
1261+Date: Sat May 24 12:31:46 2014 +0200
1262+
1263+ I18n: Update translation nb (100%).
1264+
1265+ 22 translated messages.
1266+
1267+ Transifex (https://www.transifex.com/projects/p/xfce/).
1268+
1269+commit 2c4696122eafdbd4180043b93a90ec3d5ea719da
1270+Author: Pablo Lezaeta <prflr88@gmail.com>
1271+Date: Mon May 19 12:32:06 2014 +0200
1272+
1273+ I18n: Update translation es (100%).
1274+
1275+ 22 translated messages.
1276+
1277+ Transifex (https://www.transifex.com/projects/p/xfce/).
1278+
1279+commit be06d23140bd6aafea33e1fd83a4b28c1a885832
1280+Author: haarek <haarektrans@gmail.com>
1281+Date: Wed Apr 30 06:31:35 2014 +0200
1282+
1283+ I18n: Update translation nb (100%).
1284+
1285+ 22 translated messages.
1286+
1287+ Transifex (https://www.transifex.com/projects/p/xfce/).
1288+
1289+commit 43e044bd859f1b1380c6a8c36bc29ab097c10181
1290+Author: haarek <haarektrans@gmail.com>
1291+Date: Mon Apr 28 00:32:53 2014 +0200
1292+
1293+ I18n: Update translation nb (86%).
1294+
1295+ 19 translated messages, 3 untranslated messages.
1296+
1297+ Transifex (https://www.transifex.com/projects/p/xfce/).
1298+
1299+commit d9ea6b7c0a0b26a6e4d396294d89726f0b75934f
1300+Author: k3lt01 <keltoiboy@gmail.com>
1301+Date: Fri Apr 25 12:31:48 2014 +0200
1302+
1303+ I18n: Update translation en_AU (100%).
1304+
1305+ 22 translated messages.
1306+
1307+ Transifex (https://www.transifex.com/projects/p/xfce/).
1308+
1309+commit 309d33a9183900591444cd5d03b70cef199ce732
1310+Author: Tornes Llume <l.lumex03.tornes@gmail.com>
1311+Date: Mon Apr 14 18:31:55 2014 +0200
1312+
1313+ I18n: Update translation ast (100%).
1314+
1315+ 22 translated messages.
1316+
1317+ Transifex (https://www.transifex.com/projects/p/xfce/).
1318+
1319+commit fcbd7084ca64cbf58b52fb6707da5b01a7e1b928
1320+Author: PavelNicklasson <pavelnicklasson@bahnhof.se>
1321+Date: Sat Apr 5 12:32:01 2014 +0200
1322+
1323+ I18n: Update translation sv (100%).
1324+
1325+ 22 translated messages.
1326+
1327+ Transifex (https://www.transifex.com/projects/p/xfce/).
1328+
1329+commit 1ade88971e4626e1f2a84152ef2da40f8b3d6a3b
1330+Author: Adolfo Jayme Barrientos <fitoschido@ubuntu.com>
1331+Date: Mon Mar 31 00:31:43 2014 +0200
1332+
1333+ I18n: Update translation es (100%).
1334+
1335+ 22 translated messages.
1336+
1337+ Transifex (https://www.transifex.com/projects/p/xfce/).
1338+
1339+commit 62f4810c0753a2c0e4e289d2c439aa6ccfc6fd10
1340+Author: Adolfo Jayme Barrientos <fitoschido@ubuntu.com>
1341+Date: Sat Mar 22 12:32:14 2014 +0100
1342+
1343+ I18n: Update translation es (100%).
1344+
1345+ 22 translated messages.
1346+
1347+ Transifex (https://www.transifex.com/projects/p/xfce/).
1348+
1349+commit 38aea6143ad3cc28370244ce8f2dfba75db5c76e
1350+Author: abuyop <abuyop@gmail.com>
1351+Date: Sat Mar 1 00:32:20 2014 +0100
1352+
1353+ I18n: Add new translation ms (100%).
1354+
1355+ 22 translated messages.
1356+
1357+ Transifex (https://www.transifex.com/projects/p/xfce/).
1358+
1359+commit cb5e96fe0a5166705655c558bee7ede0ed0c21f4
1360+Author: schizo <eveskovic@gmail.com>
1361+Date: Sun Feb 23 18:32:41 2014 +0100
1362+
1363+ I18n: Update translation hr (100%).
1364+
1365+ 22 translated messages.
1366+
1367+ Transifex (https://www.transifex.com/projects/p/xfce/).
1368+
1369+commit 7ff9996bb5a424aa9b4899ad97e907afd4c0f3de
1370+Author: RacerBG <georgiev_1994@abv.bg>
1371+Date: Sat Feb 8 18:31:46 2014 +0100
1372+
1373+ I18n: Add new translation bg (100%).
1374+
1375+ 22 translated messages.
1376+
1377+ Transifex (https://www.transifex.com/projects/p/xfce/).
1378+
1379+commit 4e80e32e565bb598ac16a2c9be7c9a7e2924154d
1380+Author: Anonymous <noreply@xfce.org>
1381+Date: Sun Jan 26 12:31:51 2014 +0100
1382+
1383+ I18n: Add new translation sl (95%).
1384+
1385+ 21 translated messages, 1 untranslated message.
1386+
1387+ Transifex (https://www.transifex.com/projects/p/xfce/).
1388+
1389+commit 18a77e6f99cbc9bf1b82870c3dc6f508ed2adace
1390+Author: Cedric31 <cvalmary@yahoo.fr>
1391+Date: Sat Dec 7 12:31:32 2013 +0100
1392+
1393+ I18n: Add new translation oc (100%).
1394+
1395+ 22 translated messages.
1396+
1397+ Transifex (https://www.transifex.com/projects/p/xfce/).
1398+
1399+commit 9b150c2f5117b007170ce047c368a5e204dbf5a2
1400+Author: Juhani Numminen <juhaninumminen0@gmail.com>
1401+Date: Wed Nov 20 18:39:47 2013 +0100
1402+
1403+ I18n: Add new translation fi (100%).
1404+
1405+ 22 translated messages.
1406+
1407+ Transifex (https://www.transifex.com/projects/p/xfce/).
1408+
1409+commit 50fb0ba328c72b43506af051fc12b5f3d0786152
1410+Author: Pablo Lezaeta <prflr88@gmail.com>
1411+Date: Wed Nov 20 06:31:35 2013 +0100
1412+
1413+ I18n: Update translation es (100%).
1414+
1415+ 22 translated messages.
1416+
1417+ Transifex (https://www.transifex.com/projects/p/xfce/).
1418+
1419+commit 14106c5a902c20e1ade90e70d6e9c45ddb4fa739
1420+Author: cri <cri.penta@gmail.com>
1421+Date: Sun Nov 10 18:31:46 2013 +0100
1422+
1423+ I18n: Update translation it (100%).
1424+
1425+ 22 translated messages.
1426+
1427+ Transifex (https://www.transifex.com/projects/p/xfce/).
1428+
1429+commit c29fe2311ec3c29bbafa17987943505a265ef285
1430+Author: theppitak <theppitak@gmail.com>
1431+Date: Thu Nov 7 12:31:47 2013 +0100
1432+
1433+ I18n: Add new translation th (100%).
1434+
1435+ 22 translated messages.
1436+
1437+ Transifex (https://www.transifex.com/projects/p/xfce/).
1438+
1439+commit 6c48430b58ce7898ef42e5f14d3b53e1cb4f7b76
1440+Author: Walter Cheuk <wwycheuk@gmail.com>
1441+Date: Sat Oct 12 18:31:44 2013 +0200
1442+
1443+ I18n: Update translation zh_TW (100%).
1444+
1445+ 22 translated messages.
1446+
1447+ Transifex (https://www.transifex.com/projects/p/xfce/).
1448+
1449+commit 48d319a4e5d475e45a178e57380e692a0754650d
1450+Author: Ivica Kolić <ikoli@yahoo.com>
1451+Date: Mon Sep 23 18:31:33 2013 +0200
1452+
1453+ I18n: Add new translation hr (77%).
1454+
1455+ 17 translated messages, 5 untranslated messages.
1456+
1457+ Transifex (https://www.transifex.com/projects/p/xfce/).
1458+
1459+commit e69c768776f522afc4592de162eb552cfae15821
1460+Author: gem <eckert.georg@gmx.de>
1461+Date: Thu Sep 19 18:33:01 2013 +0200
1462+
1463+ I18n: Add new translation de (100%).
1464+
1465+ 22 translated messages.
1466+
1467+ Transifex (https://www.transifex.com/projects/p/xfce/).
1468+
1469+commit f65a63eb92357e39fa7e59ee58a4b5cac7562ed1
1470+Author: Pjotr123 <pjotrvertaalt@gmail.com>
1471+Date: Thu Sep 19 18:33:01 2013 +0200
1472+
1473+ I18n: Update translation nl (100%).
1474+
1475+ 22 translated messages.
1476+
1477+ Transifex (https://www.transifex.com/projects/p/xfce/).
1478+
1479+commit 40d8e11cb73efdc2fbccdb675ab444bbf9784502
1480+Author: Necdet Yücel <necdetyucel@gmail.com>
1481+Date: Fri Sep 6 18:32:10 2013 +0200
1482+
1483+ I18n: Update translation tr (100%).
1484+
1485+ 22 translated messages.
1486+
1487+ Transifex (https://www.transifex.com/projects/p/xfce/).
1488+
1489+commit b6ffb68f583bd1fbe35f97d9e6ee70b8476328da
1490+Author: k3lt01 <keltoiboy@gmail.com>
1491+Date: Mon Jul 29 12:33:46 2013 +0200
1492+
1493+ I18n: Add new translation en_AU (100%).
1494+
1495+ 22 translated messages.
1496+
1497+ Transifex (https://www.transifex.com/projects/p/xfce/).
1498+
1499+commit 66c05cfa59da2d05e6bff2fc4eb171aa3b44128d
1500+Author: Ardjuna <Asyura.x@gmail.com>
1501+Date: Sun Jul 7 12:12:05 2013 +0200
1502+
1503+ I18n: Add new translation id (100%).
1504+
1505+ 22 translated messages.
1506+
1507+ Transifex (https://www.transifex.com/projects/p/xfce/).
1508+
1509+commit 37e8f50e021cd922f9adb422b5035f3128fc7d1b
1510+Author: jc1 <jc1.quebecos@gmail.com>
1511+Date: Fri Jul 5 23:01:27 2013 +0200
1512+
1513+ I18n: Add new translation fr (95%).
1514+
1515+ 22 translated messages.
1516+
1517+ Transifex (https://www.transifex.com/projects/p/xfce/).
1518+
1519+commit 670a3202b9bf00995ddfb50926e21b09fd989cd0
1520+Author: Nick Schermer <nick@xfce.org>
1521+Date: Wed Jul 3 21:20:49 2013 +0200
1522+
1523+ I18n: Remove broken / unsupported translations.
1524+
1525+ See http://users.xfce.org/~nick/broken-i18n/ for files and logs.
1526+
1527+ Use https://www.transifex.com/projects/p/xfce/ to upload fixed versions or request a translation team.
1528+
1529+commit 7470dfc0d2ec979a5c943ee2ed1aaa72da32553a
1530+Author: Pjotr vertaalt <pjotrvertaalt@gmail.com>
1531+Date: Sat Apr 27 12:40:24 2013 +0200
1532+
1533+ l10n: Updated Dutch (Flemish) (nl) translation to 100%
1534+
1535+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1536+
1537+ Transmitted-via: Transifex (translations.xfce.org).
1538+
1539+commit 10a959be60ae3cf47eacbfe1a38ea2912e87e230
1540+Author: Sergey Alyoshin <alyoshin.s@gmail.com>
1541+Date: Sat Mar 16 20:38:08 2013 +0100
1542+
1543+ l10n: Updated Russian (ru) translation to 100%
1544+
1545+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1546+
1547+ Transmitted-via: Transifex (translations.xfce.org).
1548+
1549+commit 5e56bac9fb606e439bff2b40be4b172951538abc
1550+Author: Саша Петровић <salepetronije@gmail.com>
1551+Date: Tue Jan 29 21:18:09 2013 +0100
1552+
1553+ l10n: Serbian translation
1554+
1555+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1556+
1557+ Transmitted-via: Transifex (translations.xfce.org).
1558+
1559+commit 9abf3817cdb6ced6b48af2948ea959d0342df4bb
1560+Author: Ivica Kolić <ikoli@yahoo.com>
1561+Date: Mon Jan 7 04:46:35 2013 +0100
1562+
1563+ l10n: Updated Croatian (hr) translation to 72%
1564+
1565+ New status: 16 messages complete with 0 fuzzies and 6 untranslated.
1566+
1567+ Transmitted-via: Transifex (translations.xfce.org).
1568+
1569+commit d3a92fd90bc62d5e1e76336f5d78ffc0fcb1acc3
1570+Author: Ivica Kolić <ikoli@yahoo.com>
1571+Date: Mon Jan 7 04:46:10 2013 +0100
1572+
1573+ l10n: Updated Croatian (hr) translation to 68%
1574+
1575+ New status: 15 messages complete with 0 fuzzies and 7 untranslated.
1576+
1577+ Transmitted-via: Transifex (translations.xfce.org).
1578+
1579+commit 6db1ce3d68404fde56379e625115aeb159243ae8
1580+Author: jc jc1 <jc1.quebecos@gmail.com>
1581+Date: Sat Dec 15 16:55:41 2012 +0100
1582+
1583+ l10n: Updated French (fr) translation to 100%
1584+
1585+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1586+
1587+ Transmitted-via: Transifex (translations.xfce.org).
1588+
1589+commit ab70d61544ee479aed28c6900ea047bf978fa038
1590+Author: محمد الحرقان <malham1@gmail.com>
1591+Date: Sun Nov 18 21:12:01 2012 +0100
1592+
1593+ l10n: Updated Arabic (ar) translation to 100%
1594+
1595+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1596+
1597+ Transmitted-via: Transifex (translations.xfce.org).
1598+
1599+commit 1f714487322adb2f02e82a0af6d4e71bce91fa50
1600+Author: Michal Várady <miko.vaji@gmail.com>
1601+Date: Wed Nov 14 01:21:56 2012 +0100
1602+
1603+ l10n: Updated Czech (cs) translation to 100%
1604+
1605+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1606+
1607+ Transmitted-via: Transifex (translations.xfce.org).
1608+
1609+commit cbb84029c17e2c01d4da326e893742b32613b34b
1610+Author: Gheyret Kenji <gheyret@yahoo.com>
1611+Date: Thu Oct 25 11:06:48 2012 +0200
1612+
1613+ l10n: Updated Uyghur (ug) translation to 100%
1614+
1615+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1616+
1617+ Transmitted-via: Transifex (translations.xfce.org).
1618+
1619+commit c8aedda3bfac617827c2d97623036f1a9c5208d0
1620+Author: Piotr Strębski <strebski@o2.pl>
1621+Date: Mon Sep 24 19:17:19 2012 +0200
1622+
1623+ l10n: Updated Polish (pl) translation to 100%
1624+
1625+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1626+
1627+ Transmitted-via: Transifex (translations.xfce.org).
1628+
1629+commit 626852fdf4fef53bb688d4743ccfc1d377955095
1630+Author: jc jc1 <jc1.quebecos@gmail.com>
1631+Date: Thu Aug 30 13:45:10 2012 +0200
1632+
1633+ l10n: Updated French (fr) translation to 95%
1634+
1635+ New status: 21 messages complete with 1 fuzzy and 0 untranslated.
1636+
1637+ Transmitted-via: Transifex (translations.xfce.org).
1638+
1639+commit 42d80fecaddb90f6e32a2b6d0e0d0694544cb243
1640+Author: Gheyret Kenji <gheyret@yahoo.com>
1641+Date: Tue Aug 7 02:09:05 2012 +0200
1642+
1643+ l10n: Updated Uyghur (ug) translation to 100%
1644+
1645+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1646+
1647+ Transmitted-via: Transifex (translations.xfce.org).
1648+
1649+commit b277e1c052101ca9e84317d9a7fc66373977fbcf
1650+Author: Cheng-Chia Tseng <pswo10680@gmail.com>
1651+Date: Thu Jul 19 15:45:42 2012 +0200
1652+
1653+ l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
1654+
1655+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1656+
1657+ Transmitted-via: Transifex (translations.xfce.org).
1658+
1659+commit c6057b0d1607fb5c011e4453e7bf1f0ffdb42c7d
1660+Author: Sveinn í Felli <sveinki@nett.is>
1661+Date: Tue Jul 3 22:54:05 2012 +0200
1662+
1663+ l10n: fyrsta, klárað
1664+
1665+ New status: 22 messages complete with 0 fuzzies and 0 untranslated.
1666+
1667+ Transmitted-via: Transifex (translations.xfce.org).
1668+
1669 commit a907f47fc2cbf958343db5e38549f519de9358e2
1670 Author: Landry Breuil <landry@xfce.org>
1671 Date: Sat Jun 30 09:38:27 2012 +0200
1672
1673=== modified file 'INSTALL'
1674--- INSTALL 2012-05-17 23:18:47 +0000
1675+++ INSTALL 2014-11-21 23:25:26 +0000
1676@@ -1,16 +1,25 @@
1677 Installation Instructions
1678 *************************
1679
1680-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
1681-Software Foundation, Inc.
1682+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
1683+Inc.
1684
1685-This file is free documentation; the Free Software Foundation gives
1686-unlimited permission to copy, distribute and modify it.
1687+ Copying and distribution of this file, with or without modification,
1688+are permitted in any medium without royalty provided the copyright
1689+notice and this notice are preserved. This file is offered as-is,
1690+without warranty of any kind.
1691
1692 Basic Installation
1693 ==================
1694
1695-These are generic installation instructions.
1696+ Briefly, the shell commands `./configure; make; make install' should
1697+configure, build, and install this package. The following
1698+more-detailed instructions are generic; see the `README' file for
1699+instructions specific to this package. Some packages provide this
1700+`INSTALL' file but do not implement all of the features documented
1701+below. The lack of an optional feature in a given package is not
1702+necessarily a bug. More recommendations for GNU packages can be found
1703+in *note Makefile Conventions: (standards)Makefile Conventions.
1704
1705 The `configure' shell script attempts to guess correct values for
1706 various system-dependent variables used during compilation. It uses
1707@@ -23,9 +32,9 @@
1708
1709 It can also use an optional file (typically called `config.cache'
1710 and enabled with `--cache-file=config.cache' or simply `-C') that saves
1711-the results of its tests to speed up reconfiguring. (Caching is
1712+the results of its tests to speed up reconfiguring. Caching is
1713 disabled by default to prevent problems with accidental use of stale
1714-cache files.)
1715+cache files.
1716
1717 If you need to do unusual things to compile the package, please try
1718 to figure out how `configure' could check whether to do them, and mail
1719@@ -35,30 +44,37 @@
1720 may remove or edit it.
1721
1722 The file `configure.ac' (or `configure.in') is used to create
1723-`configure' by a program called `autoconf'. You only need
1724-`configure.ac' if you want to change it or regenerate `configure' using
1725-a newer version of `autoconf'.
1726+`configure' by a program called `autoconf'. You need `configure.ac' if
1727+you want to change it or regenerate `configure' using a newer version
1728+of `autoconf'.
1729
1730-The simplest way to compile this package is:
1731+ The simplest way to compile this package is:
1732
1733 1. `cd' to the directory containing the package's source code and type
1734- `./configure' to configure the package for your system. If you're
1735- using `csh' on an old version of System V, you might need to type
1736- `sh ./configure' instead to prevent `csh' from trying to execute
1737- `configure' itself.
1738+ `./configure' to configure the package for your system.
1739
1740- Running `configure' takes awhile. While running, it prints some
1741- messages telling which features it is checking for.
1742+ Running `configure' might take a while. While running, it prints
1743+ some messages telling which features it is checking for.
1744
1745 2. Type `make' to compile the package.
1746
1747 3. Optionally, type `make check' to run any self-tests that come with
1748- the package.
1749+ the package, generally using the just-built uninstalled binaries.
1750
1751 4. Type `make install' to install the programs and any data files and
1752- documentation.
1753-
1754- 5. You can remove the program binaries and object files from the
1755+ documentation. When installing into a prefix owned by root, it is
1756+ recommended that the package be configured and built as a regular
1757+ user, and only the `make install' phase executed with root
1758+ privileges.
1759+
1760+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
1761+ this time using the binaries in their final installed location.
1762+ This target does not install anything. Running this target as a
1763+ regular user, particularly if the prior `make install' required
1764+ root privileges, verifies that the installation completed
1765+ correctly.
1766+
1767+ 6. You can remove the program binaries and object files from the
1768 source code directory by typing `make clean'. To also remove the
1769 files that `configure' created (so you can compile the package for
1770 a different kind of computer), type `make distclean'. There is
1771@@ -67,45 +83,69 @@
1772 all sorts of other programs in order to regenerate files that came
1773 with the distribution.
1774
1775+ 7. Often, you can also type `make uninstall' to remove the installed
1776+ files again. In practice, not all packages have tested that
1777+ uninstallation works correctly, even though it is required by the
1778+ GNU Coding Standards.
1779+
1780+ 8. Some packages, particularly those that use Automake, provide `make
1781+ distcheck', which can by used by developers to test that all other
1782+ targets like `make install' and `make uninstall' work correctly.
1783+ This target is generally not run by end users.
1784+
1785 Compilers and Options
1786 =====================
1787
1788-Some systems require unusual options for compilation or linking that the
1789-`configure' script does not know about. Run `./configure --help' for
1790-details on some of the pertinent environment variables.
1791+ Some systems require unusual options for compilation or linking that
1792+the `configure' script does not know about. Run `./configure --help'
1793+for details on some of the pertinent environment variables.
1794
1795 You can give `configure' initial values for configuration parameters
1796 by setting variables in the command line or in the environment. Here
1797 is an example:
1798
1799- ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
1800+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
1801
1802 *Note Defining Variables::, for more details.
1803
1804 Compiling For Multiple Architectures
1805 ====================================
1806
1807-You can compile the package for more than one kind of computer at the
1808+ You can compile the package for more than one kind of computer at the
1809 same time, by placing the object files for each architecture in their
1810-own directory. To do this, you must use a version of `make' that
1811-supports the `VPATH' variable, such as GNU `make'. `cd' to the
1812+own directory. To do this, you can use GNU `make'. `cd' to the
1813 directory where you want the object files and executables to go and run
1814 the `configure' script. `configure' automatically checks for the
1815-source code in the directory that `configure' is in and in `..'.
1816-
1817- If you have to use a `make' that does not support the `VPATH'
1818-variable, you have to compile the package for one architecture at a
1819-time in the source code directory. After you have installed the
1820-package for one architecture, use `make distclean' before reconfiguring
1821-for another architecture.
1822+source code in the directory that `configure' is in and in `..'. This
1823+is known as a "VPATH" build.
1824+
1825+ With a non-GNU `make', it is safer to compile the package for one
1826+architecture at a time in the source code directory. After you have
1827+installed the package for one architecture, use `make distclean' before
1828+reconfiguring for another architecture.
1829+
1830+ On MacOS X 10.5 and later systems, you can create libraries and
1831+executables that work on multiple system types--known as "fat" or
1832+"universal" binaries--by specifying multiple `-arch' options to the
1833+compiler but only a single `-arch' option to the preprocessor. Like
1834+this:
1835+
1836+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
1837+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
1838+ CPP="gcc -E" CXXCPP="g++ -E"
1839+
1840+ This is not guaranteed to produce working output in all cases, you
1841+may have to build one architecture at a time and combine the results
1842+using the `lipo' tool if you have problems.
1843
1844 Installation Names
1845 ==================
1846
1847-By default, `make install' installs the package's commands under
1848+ By default, `make install' installs the package's commands under
1849 `/usr/local/bin', include files under `/usr/local/include', etc. You
1850 can specify an installation prefix other than `/usr/local' by giving
1851-`configure' the option `--prefix=PREFIX'.
1852+`configure' the option `--prefix=PREFIX', where PREFIX must be an
1853+absolute file name.
1854
1855 You can specify separate installation prefixes for
1856 architecture-specific files and architecture-independent files. If you
1857@@ -116,16 +156,47 @@
1858 In addition, if you use an unusual directory layout you can give
1859 options like `--bindir=DIR' to specify different values for particular
1860 kinds of files. Run `configure --help' for a list of the directories
1861-you can set and what kinds of files go in them.
1862+you can set and what kinds of files go in them. In general, the
1863+default for these options is expressed in terms of `${prefix}', so that
1864+specifying just `--prefix' will affect all of the other directory
1865+specifications that were not explicitly provided.
1866+
1867+ The most portable way to affect installation locations is to pass the
1868+correct locations to `configure'; however, many packages provide one or
1869+both of the following shortcuts of passing variable assignments to the
1870+`make install' command line to change installation locations without
1871+having to reconfigure or recompile.
1872+
1873+ The first method involves providing an override variable for each
1874+affected directory. For example, `make install
1875+prefix=/alternate/directory' will choose an alternate location for all
1876+directory configuration variables that were expressed in terms of
1877+`${prefix}'. Any directories that were specified during `configure',
1878+but not in terms of `${prefix}', must each be overridden at install
1879+time for the entire installation to be relocated. The approach of
1880+makefile variable overrides for each directory variable is required by
1881+the GNU Coding Standards, and ideally causes no recompilation.
1882+However, some platforms have known limitations with the semantics of
1883+shared libraries that end up requiring recompilation when using this
1884+method, particularly noticeable in packages that use GNU Libtool.
1885+
1886+ The second method involves providing the `DESTDIR' variable. For
1887+example, `make install DESTDIR=/alternate/directory' will prepend
1888+`/alternate/directory' before all installation names. The approach of
1889+`DESTDIR' overrides is not required by the GNU Coding Standards, and
1890+does not work on platforms that have drive letters. On the other hand,
1891+it does better at avoiding recompilation issues, and works well even
1892+when some directory options were not specified in terms of `${prefix}'
1893+at `configure' time.
1894+
1895+Optional Features
1896+=================
1897
1898 If the package supports it, you can cause programs to be installed
1899 with an extra prefix or suffix on their names by giving `configure' the
1900 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
1901
1902-Optional Features
1903-=================
1904-
1905-Some packages pay attention to `--enable-FEATURE' options to
1906+ Some packages pay attention to `--enable-FEATURE' options to
1907 `configure', where FEATURE indicates an optional part of the package.
1908 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
1909 is something like `gnu-as' or `x' (for the X Window System). The
1910@@ -137,14 +208,58 @@
1911 you can use the `configure' options `--x-includes=DIR' and
1912 `--x-libraries=DIR' to specify their locations.
1913
1914+ Some packages offer the ability to configure how verbose the
1915+execution of `make' will be. For these packages, running `./configure
1916+--enable-silent-rules' sets the default to minimal output, which can be
1917+overridden with `make V=1'; while running `./configure
1918+--disable-silent-rules' sets the default to verbose, which can be
1919+overridden with `make V=0'.
1920+
1921+Particular systems
1922+==================
1923+
1924+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
1925+CC is not installed, it is recommended to use the following options in
1926+order to use an ANSI C compiler:
1927+
1928+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
1929+
1930+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
1931+
1932+ HP-UX `make' updates targets which have the same time stamps as
1933+their prerequisites, which makes it generally unusable when shipped
1934+generated files such as `configure' are involved. Use GNU `make'
1935+instead.
1936+
1937+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
1938+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
1939+a workaround. If GNU CC is not installed, it is therefore recommended
1940+to try
1941+
1942+ ./configure CC="cc"
1943+
1944+and if that doesn't work, try
1945+
1946+ ./configure CC="cc -nodtk"
1947+
1948+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
1949+directory contains several dysfunctional programs; working variants of
1950+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
1951+in your `PATH', put it _after_ `/usr/bin'.
1952+
1953+ On Haiku, software installed for all users goes in `/boot/common',
1954+not `/usr/local'. It is recommended to use the following options:
1955+
1956+ ./configure --prefix=/boot/common
1957+
1958 Specifying the System Type
1959 ==========================
1960
1961-There may be some features `configure' cannot figure out automatically,
1962-but needs to determine by the type of machine the package will run on.
1963-Usually, assuming the package is built to be run on the _same_
1964-architectures, `configure' can figure that out, but if it prints a
1965-message saying it cannot guess the machine type, give it the
1966+ There may be some features `configure' cannot figure out
1967+automatically, but needs to determine by the type of machine the package
1968+will run on. Usually, assuming the package is built to be run on the
1969+_same_ architectures, `configure' can figure that out, but if it prints
1970+a message saying it cannot guess the machine type, give it the
1971 `--build=TYPE' option. TYPE can either be a short name for the system
1972 type, such as `sun4', or a canonical name which has the form:
1973
1974@@ -152,7 +267,8 @@
1975
1976 where SYSTEM can have one of these forms:
1977
1978- OS KERNEL-OS
1979+ OS
1980+ KERNEL-OS
1981
1982 See the file `config.sub' for the possible values of each field. If
1983 `config.sub' isn't included in this package, then this package doesn't
1984@@ -170,9 +286,9 @@
1985 Sharing Defaults
1986 ================
1987
1988-If you want to set default values for `configure' scripts to share, you
1989-can create a site shell script called `config.site' that gives default
1990-values for variables like `CC', `cache_file', and `prefix'.
1991+ If you want to set default values for `configure' scripts to share,
1992+you can create a site shell script called `config.site' that gives
1993+default values for variables like `CC', `cache_file', and `prefix'.
1994 `configure' looks for `PREFIX/share/config.site' if it exists, then
1995 `PREFIX/etc/config.site' if it exists. Or, you can set the
1996 `CONFIG_SITE' environment variable to the location of the site script.
1997@@ -181,7 +297,7 @@
1998 Defining Variables
1999 ==================
2000
2001-Variables not defined in a site shell script can be set in the
2002+ Variables not defined in a site shell script can be set in the
2003 environment passed to `configure'. However, some packages may run
2004 configure again during the build, and the customized values of these
2005 variables may be lost. In order to avoid this problem, you should set
2006@@ -190,21 +306,29 @@
2007 ./configure CC=/usr/local2/bin/gcc
2008
2009 causes the specified `gcc' to be used as the C compiler (unless it is
2010-overridden in the site shell script). Here is a another example:
2011-
2012- /bin/bash ./configure CONFIG_SHELL=/bin/bash
2013-
2014-Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
2015-configuration-related scripts to be executed by `/bin/bash'.
2016+overridden in the site shell script).
2017+
2018+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
2019+an Autoconf bug. Until the bug is fixed you can use this workaround:
2020+
2021+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
2022
2023 `configure' Invocation
2024 ======================
2025
2026-`configure' recognizes the following options to control how it operates.
2027+ `configure' recognizes the following options to control how it
2028+operates.
2029
2030 `--help'
2031 `-h'
2032- Print a summary of the options to `configure', and exit.
2033+ Print a summary of all of the options to `configure', and exit.
2034+
2035+`--help=short'
2036+`--help=recursive'
2037+ Print a summary of the options unique to this package's
2038+ `configure', and exit. The `short' variant lists options used
2039+ only in the top level, while the `recursive' variant lists options
2040+ also present in any nested packages.
2041
2042 `--version'
2043 `-V'
2044@@ -231,6 +355,16 @@
2045 Look for the package's source code in directory DIR. Usually
2046 `configure' can determine that directory automatically.
2047
2048+`--prefix=DIR'
2049+ Use DIR as the installation prefix. *note Installation Names::
2050+ for more details, including other options available for fine-tuning
2051+ the installation locations.
2052+
2053+`--no-create'
2054+`-n'
2055+ Run the configure checks, but stop before creating any output
2056+ files.
2057+
2058 `configure' also accepts some other, not widely useful, options. Run
2059 `configure --help' for more details.
2060
2061
2062=== modified file 'Makefile.in'
2063--- Makefile.in 2012-05-17 23:18:47 +0000
2064+++ Makefile.in 2014-11-21 23:25:26 +0000
2065@@ -1,8 +1,9 @@
2066-# Makefile.in generated by automake 1.9.6 from Makefile.am.
2067+# Makefile.in generated by automake 1.11.6 from Makefile.am.
2068 # @configure_input@
2069
2070 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2071-# 2003, 2004, 2005 Free Software Foundation, Inc.
2072+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
2073+# Foundation, Inc.
2074 # This Makefile.in is free software; the Free Software Foundation
2075 # gives unlimited permission to copy and/or distribute it,
2076 # with or without modifications, as long as this notice is preserved.
2077@@ -13,18 +14,32 @@
2078 # PARTICULAR PURPOSE.
2079
2080 @SET_MAKE@
2081-srcdir = @srcdir@
2082-top_srcdir = @top_srcdir@
2083 VPATH = @srcdir@
2084+am__make_dryrun = \
2085+ { \
2086+ am__dry=no; \
2087+ case $$MAKEFLAGS in \
2088+ *\\[\ \ ]*) \
2089+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
2090+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
2091+ *) \
2092+ for am__flg in $$MAKEFLAGS; do \
2093+ case $$am__flg in \
2094+ *=*|--*) ;; \
2095+ *n*) am__dry=yes; break;; \
2096+ esac; \
2097+ done;; \
2098+ esac; \
2099+ test $$am__dry = yes; \
2100+ }
2101 pkgdatadir = $(datadir)/@PACKAGE@
2102+pkgincludedir = $(includedir)/@PACKAGE@
2103 pkglibdir = $(libdir)/@PACKAGE@
2104-pkgincludedir = $(includedir)/@PACKAGE@
2105-top_builddir = .
2106+pkglibexecdir = $(libexecdir)/@PACKAGE@
2107 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2108-INSTALL = @INSTALL@
2109-install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
2110-install_sh_PROGRAM = ${SHELL} $(install_sh) -c
2111-install_sh_SCRIPT = ${SHELL} $(install_sh) -c
2112+install_sh_DATA = $(install_sh) -c -m 644
2113+install_sh_PROGRAM = $(install_sh) -c
2114+install_sh_SCRIPT = $(install_sh) -c
2115 INSTALL_HEADER = $(INSTALL_DATA)
2116 transform = $(program_transform_name)
2117 NORMAL_INSTALL = :
2118@@ -35,29 +50,41 @@
2119 POST_UNINSTALL = :
2120 build_triplet = @build@
2121 host_triplet = @host@
2122+subdir = .
2123 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
2124 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
2125 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
2126- compile config.guess config.sub depcomp install-sh ltmain.sh \
2127- missing mkinstalldirs
2128-subdir = .
2129+ config.guess config.sub depcomp install-sh ltmain.sh missing \
2130+ mkinstalldirs
2131 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2132 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
2133 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2134 $(ACLOCAL_M4)
2135 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
2136- configure.lineno configure.status.lineno
2137+ configure.lineno config.status.lineno
2138 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
2139 CONFIG_HEADER = config.h
2140 CONFIG_CLEAN_FILES =
2141+CONFIG_CLEAN_VPATH_FILES =
2142 SOURCES =
2143 DIST_SOURCES =
2144 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
2145 html-recursive info-recursive install-data-recursive \
2146- install-exec-recursive install-info-recursive \
2147- install-recursive installcheck-recursive installdirs-recursive \
2148- pdf-recursive ps-recursive uninstall-info-recursive \
2149- uninstall-recursive
2150+ install-dvi-recursive install-exec-recursive \
2151+ install-html-recursive install-info-recursive \
2152+ install-pdf-recursive install-ps-recursive install-recursive \
2153+ installcheck-recursive installdirs-recursive pdf-recursive \
2154+ ps-recursive uninstall-recursive
2155+am__can_run_installinfo = \
2156+ case $$AM_UPDATE_INFO_DIR in \
2157+ n|no|NO) false;; \
2158+ *) (install-info --version) >/dev/null 2>&1;; \
2159+ esac
2160+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
2161+ distclean-recursive maintainer-clean-recursive
2162+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
2163+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
2164+ distdir dist dist-all distcheck
2165 ETAGS = etags
2166 CTAGS = ctags
2167 DIST_SUBDIRS = $(SUBDIRS)
2168@@ -65,17 +92,44 @@
2169 distdir = $(PACKAGE)-$(VERSION)
2170 top_distdir = $(distdir)
2171 am__remove_distdir = \
2172- { test ! -d $(distdir) \
2173- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
2174- && rm -fr $(distdir); }; }
2175+ if test -d "$(distdir)"; then \
2176+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
2177+ && rm -rf "$(distdir)" \
2178+ || { sleep 5 && rm -rf "$(distdir)"; }; \
2179+ else :; fi
2180+am__relativize = \
2181+ dir0=`pwd`; \
2182+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
2183+ sed_rest='s,^[^/]*/*,,'; \
2184+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
2185+ sed_butlast='s,/*[^/]*$$,,'; \
2186+ while test -n "$$dir1"; do \
2187+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
2188+ if test "$$first" != "."; then \
2189+ if test "$$first" = ".."; then \
2190+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
2191+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
2192+ else \
2193+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
2194+ if test "$$first2" = "$$first"; then \
2195+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
2196+ else \
2197+ dir2="../$$dir2"; \
2198+ fi; \
2199+ dir0="$$dir0"/"$$first"; \
2200+ fi; \
2201+ fi; \
2202+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
2203+ done; \
2204+ reldir="$$dir2"
2205 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
2206 GZIP_ENV = --best
2207 distuninstallcheck_listfiles = find . -type f -print
2208+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
2209+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
2210 distcleancheck_listfiles = find . -type f -print
2211 ACLOCAL = @ACLOCAL@
2212 ALL_LINGUAS = @ALL_LINGUAS@
2213-AMDEP_FALSE = @AMDEP_FALSE@
2214-AMDEP_TRUE = @AMDEP_TRUE@
2215 AMTAR = @AMTAR@
2216 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
2217 AR = @AR@
2218@@ -111,39 +165,19 @@
2219 GTK_LIBS = @GTK_LIBS@
2220 GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@
2221 GTK_VERSION = @GTK_VERSION@
2222-HAVE_UPOWER_GLIB_FALSE = @HAVE_UPOWER_GLIB_FALSE@
2223-HAVE_UPOWER_GLIB_TRUE = @HAVE_UPOWER_GLIB_TRUE@
2224+INSTALL = @INSTALL@
2225 INSTALL_DATA = @INSTALL_DATA@
2226 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2227 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2228 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2229 INSTOBJEXT = @INSTOBJEXT@
2230 INTLLIBS = @INTLLIBS@
2231-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
2232-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
2233-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
2234 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
2235-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
2236-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
2237 INTLTOOL_MERGE = @INTLTOOL_MERGE@
2238-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
2239 INTLTOOL_PERL = @INTLTOOL_PERL@
2240-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
2241-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
2242-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
2243-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
2244-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
2245-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
2246-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
2247-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
2248-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
2249-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
2250 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
2251 INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
2252 INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
2253-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
2254-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
2255-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
2256 INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
2257 INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
2258 LD = @LD@
2259@@ -167,10 +201,9 @@
2260 LN_S = @LN_S@
2261 LTLIBOBJS = @LTLIBOBJS@
2262 MAINT = @MAINT@
2263-MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
2264-MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
2265 MAKEINFO = @MAKEINFO@
2266 MANIFEST_TOOL = @MANIFEST_TOOL@
2267+MKDIR_P = @MKDIR_P@
2268 MKINSTALLDIRS = @MKINSTALLDIRS@
2269 MSGFMT = @MSGFMT@
2270 MSGFMT_OPTS = @MSGFMT_OPTS@
2271@@ -189,6 +222,8 @@
2272 PACKAGE_VERSION = @PACKAGE_VERSION@
2273 PATH_SEPARATOR = @PATH_SEPARATOR@
2274 PKG_CONFIG = @PKG_CONFIG@
2275+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
2276+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
2277 POFILES = @POFILES@
2278 POSUB = @POSUB@
2279 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
2280@@ -206,11 +241,13 @@
2281 VERSION = @VERSION@
2282 XGETTEXT = @XGETTEXT@
2283 XGETTEXT_ARGS = @XGETTEXT_ARGS@
2284+abs_builddir = @abs_builddir@
2285+abs_srcdir = @abs_srcdir@
2286+abs_top_builddir = @abs_top_builddir@
2287+abs_top_srcdir = @abs_top_srcdir@
2288 ac_ct_AR = @ac_ct_AR@
2289 ac_ct_CC = @ac_ct_CC@
2290 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
2291-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
2292-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
2293 am__include = @am__include@
2294 am__leading_dot = @am__leading_dot@
2295 am__quote = @am__quote@
2296@@ -222,6 +259,7 @@
2297 build_cpu = @build_cpu@
2298 build_os = @build_os@
2299 build_vendor = @build_vendor@
2300+builddir = @builddir@
2301 datadir = @datadir@
2302 datarootdir = @datarootdir@
2303 docdir = @docdir@
2304@@ -251,8 +289,12 @@
2305 psdir = @psdir@
2306 sbindir = @sbindir@
2307 sharedstatedir = @sharedstatedir@
2308+srcdir = @srcdir@
2309 sysconfdir = @sysconfdir@
2310 target_alias = @target_alias@
2311+top_build_prefix = @top_build_prefix@
2312+top_builddir = @top_builddir@
2313+top_srcdir = @top_srcdir@
2314 SUBDIRS = \
2315 panel-plugin \
2316 po
2317@@ -276,21 +318,21 @@
2318 $(MAKE) $(AM_MAKEFLAGS) all-recursive
2319
2320 .SUFFIXES:
2321-am--refresh:
2322+am--refresh: Makefile
2323 @:
2324 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
2325 @for dep in $?; do \
2326 case '$(am__configure_deps)' in \
2327 *$$dep*) \
2328- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
2329- cd $(srcdir) && $(AUTOMAKE) --gnu \
2330+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
2331+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
2332 && exit 0; \
2333 exit 1;; \
2334 esac; \
2335 done; \
2336- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
2337- cd $(top_srcdir) && \
2338- $(AUTOMAKE) --gnu Makefile
2339+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
2340+ $(am__cd) $(top_srcdir) && \
2341+ $(AUTOMAKE) --gnu Makefile
2342 .PRECIOUS: Makefile
2343 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
2344 @case '$?' in \
2345@@ -306,21 +348,20 @@
2346 $(SHELL) ./config.status --recheck
2347
2348 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
2349- cd $(srcdir) && $(AUTOCONF)
2350+ $(am__cd) $(srcdir) && $(AUTOCONF)
2351 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
2352- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
2353+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
2354+$(am__aclocal_m4_deps):
2355
2356 config.h: stamp-h1
2357- @if test ! -f $@; then \
2358- rm -f stamp-h1; \
2359- $(MAKE) stamp-h1; \
2360- else :; fi
2361+ @if test ! -f $@; then rm -f stamp-h1; else :; fi
2362+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
2363
2364 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
2365 @rm -f stamp-h1
2366 cd $(top_builddir) && $(SHELL) ./config.status config.h
2367 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
2368- cd $(top_srcdir) && $(AUTOHEADER)
2369+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
2370 rm -f stamp-h1
2371 touch $@
2372
2373@@ -334,8 +375,7 @@
2374 -rm -rf .libs _libs
2375
2376 distclean-libtool:
2377- -rm -f libtool
2378-uninstall-info-am:
2379+ -rm -f libtool config.lt
2380
2381 # This directory's subdirectories are mostly independent; you can cd
2382 # into them and run `make' without going through this Makefile.
2383@@ -344,7 +384,7 @@
2384 # (which will cause the Makefiles to be regenerated when you run `make');
2385 # (2) otherwise, pass the desired values on the `make' command line.
2386 $(RECURSIVE_TARGETS):
2387- @failcom='exit 1'; \
2388+ @fail= failcom='exit 1'; \
2389 for f in x $$MAKEFLAGS; do \
2390 case $$f in \
2391 *=* | --[!k]*);; \
2392@@ -361,16 +401,15 @@
2393 else \
2394 local_target="$$target"; \
2395 fi; \
2396- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2397+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2398 || eval $$failcom; \
2399 done; \
2400 if test "$$dot_seen" = "no"; then \
2401 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2402 fi; test -z "$$fail"
2403
2404-mostlyclean-recursive clean-recursive distclean-recursive \
2405-maintainer-clean-recursive:
2406- @failcom='exit 1'; \
2407+$(RECURSIVE_CLEAN_TARGETS):
2408+ @fail= failcom='exit 1'; \
2409 for f in x $$MAKEFLAGS; do \
2410 case $$f in \
2411 *=* | --[!k]*);; \
2412@@ -396,16 +435,16 @@
2413 else \
2414 local_target="$$target"; \
2415 fi; \
2416- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2417+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2418 || eval $$failcom; \
2419 done && test -z "$$fail"
2420 tags-recursive:
2421 list='$(SUBDIRS)'; for subdir in $$list; do \
2422- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
2423+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
2424 done
2425 ctags-recursive:
2426 list='$(SUBDIRS)'; for subdir in $$list; do \
2427- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
2428+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
2429 done
2430
2431 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
2432@@ -413,14 +452,14 @@
2433 unique=`for i in $$list; do \
2434 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2435 done | \
2436- $(AWK) ' { files[$$0] = 1; } \
2437- END { for (i in files) print i; }'`; \
2438+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2439+ END { if (nonempty) { for (i in files) print i; }; }'`; \
2440 mkid -fID $$unique
2441 tags: TAGS
2442
2443 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
2444 $(TAGS_FILES) $(LISP)
2445- tags=; \
2446+ set x; \
2447 here=`pwd`; \
2448 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
2449 include_option=--etags-include; \
2450@@ -432,84 +471,100 @@
2451 list='$(SUBDIRS)'; for subdir in $$list; do \
2452 if test "$$subdir" = .; then :; else \
2453 test ! -f $$subdir/TAGS || \
2454- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
2455+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
2456 fi; \
2457 done; \
2458 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
2459 unique=`for i in $$list; do \
2460 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2461 done | \
2462- $(AWK) ' { files[$$0] = 1; } \
2463- END { for (i in files) print i; }'`; \
2464- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
2465+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2466+ END { if (nonempty) { for (i in files) print i; }; }'`; \
2467+ shift; \
2468+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
2469 test -n "$$unique" || unique=$$empty_fix; \
2470- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2471- $$tags $$unique; \
2472+ if test $$# -gt 0; then \
2473+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2474+ "$$@" $$unique; \
2475+ else \
2476+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2477+ $$unique; \
2478+ fi; \
2479 fi
2480 ctags: CTAGS
2481 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
2482 $(TAGS_FILES) $(LISP)
2483- tags=; \
2484- here=`pwd`; \
2485 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
2486 unique=`for i in $$list; do \
2487 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2488 done | \
2489- $(AWK) ' { files[$$0] = 1; } \
2490- END { for (i in files) print i; }'`; \
2491- test -z "$(CTAGS_ARGS)$$tags$$unique" \
2492+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2493+ END { if (nonempty) { for (i in files) print i; }; }'`; \
2494+ test -z "$(CTAGS_ARGS)$$unique" \
2495 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
2496- $$tags $$unique
2497+ $$unique
2498
2499 GTAGS:
2500 here=`$(am__cd) $(top_builddir) && pwd` \
2501- && cd $(top_srcdir) \
2502- && gtags -i $(GTAGS_ARGS) $$here
2503+ && $(am__cd) $(top_srcdir) \
2504+ && gtags -i $(GTAGS_ARGS) "$$here"
2505
2506 distclean-tags:
2507 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
2508
2509 distdir: $(DISTFILES)
2510 $(am__remove_distdir)
2511- mkdir $(distdir)
2512- $(mkdir_p) $(distdir)/po
2513- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
2514- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
2515- list='$(DISTFILES)'; for file in $$list; do \
2516- case $$file in \
2517- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
2518- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
2519- esac; \
2520+ test -d "$(distdir)" || mkdir "$(distdir)"
2521+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
2522+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
2523+ list='$(DISTFILES)'; \
2524+ dist_files=`for file in $$list; do echo $$file; done | \
2525+ sed -e "s|^$$srcdirstrip/||;t" \
2526+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
2527+ case $$dist_files in \
2528+ */*) $(MKDIR_P) `echo "$$dist_files" | \
2529+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
2530+ sort -u` ;; \
2531+ esac; \
2532+ for file in $$dist_files; do \
2533 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
2534- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
2535- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
2536- dir="/$$dir"; \
2537- $(mkdir_p) "$(distdir)$$dir"; \
2538- else \
2539- dir=''; \
2540- fi; \
2541 if test -d $$d/$$file; then \
2542+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
2543+ if test -d "$(distdir)/$$file"; then \
2544+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
2545+ fi; \
2546 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
2547- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
2548+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
2549+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
2550 fi; \
2551- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
2552+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
2553 else \
2554- test -f $(distdir)/$$file \
2555- || cp -p $$d/$$file $(distdir)/$$file \
2556+ test -f "$(distdir)/$$file" \
2557+ || cp -p $$d/$$file "$(distdir)/$$file" \
2558 || exit 1; \
2559 fi; \
2560 done
2561- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
2562+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
2563 if test "$$subdir" = .; then :; else \
2564- test -d "$(distdir)/$$subdir" \
2565- || $(mkdir_p) "$(distdir)/$$subdir" \
2566- || exit 1; \
2567- distdir=`$(am__cd) $(distdir) && pwd`; \
2568- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
2569- (cd $$subdir && \
2570+ $(am__make_dryrun) \
2571+ || test -d "$(distdir)/$$subdir" \
2572+ || $(MKDIR_P) "$(distdir)/$$subdir" \
2573+ || exit 1; \
2574+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
2575+ $(am__relativize); \
2576+ new_distdir=$$reldir; \
2577+ dir1=$$subdir; dir2="$(top_distdir)"; \
2578+ $(am__relativize); \
2579+ new_top_distdir=$$reldir; \
2580+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
2581+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
2582+ ($(am__cd) $$subdir && \
2583 $(MAKE) $(AM_MAKEFLAGS) \
2584- top_distdir="$$top_distdir" \
2585- distdir="$$distdir/$$subdir" \
2586+ top_distdir="$$new_top_distdir" \
2587+ distdir="$$new_distdir" \
2588+ am__remove_distdir=: \
2589+ am__skip_length_check=: \
2590+ am__skip_mode_fix=: \
2591 distdir) \
2592 || exit 1; \
2593 fi; \
2594@@ -517,16 +572,30 @@
2595 $(MAKE) $(AM_MAKEFLAGS) \
2596 top_distdir="$(top_distdir)" distdir="$(distdir)" \
2597 dist-hook
2598- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
2599+ -test -n "$(am__skip_mode_fix)" \
2600+ || find "$(distdir)" -type d ! -perm -755 \
2601+ -exec chmod u+rwx,go+rx {} \; -o \
2602 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
2603 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
2604- ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
2605- || chmod -R a+r $(distdir)
2606+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
2607+ || chmod -R a+r "$(distdir)"
2608 dist-gzip: distdir
2609 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
2610 $(am__remove_distdir)
2611 dist-bzip2: distdir
2612- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
2613+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
2614+ $(am__remove_distdir)
2615+
2616+dist-lzip: distdir
2617+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
2618+ $(am__remove_distdir)
2619+
2620+dist-lzma: distdir
2621+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
2622+ $(am__remove_distdir)
2623+
2624+dist-xz: distdir
2625+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
2626 $(am__remove_distdir)
2627
2628 dist-tarZ: distdir
2629@@ -544,7 +613,7 @@
2630
2631 dist dist-all: distdir
2632 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
2633- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
2634+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
2635 $(am__remove_distdir)
2636
2637 # This target untars the dist file and tries a VPATH configuration. Then
2638@@ -553,24 +622,33 @@
2639 distcheck: dist
2640 case '$(DIST_ARCHIVES)' in \
2641 *.tar.gz*) \
2642- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
2643+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
2644 *.tar.bz2*) \
2645- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
2646+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
2647+ *.tar.lzma*) \
2648+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
2649+ *.tar.lz*) \
2650+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
2651+ *.tar.xz*) \
2652+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
2653 *.tar.Z*) \
2654 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
2655 *.shar.gz*) \
2656- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
2657+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
2658 *.zip*) \
2659 unzip $(distdir).zip ;;\
2660 esac
2661- chmod -R a-w $(distdir); chmod a+w $(distdir)
2662+ chmod -R a-w $(distdir); chmod u+w $(distdir)
2663 mkdir $(distdir)/_build
2664 mkdir $(distdir)/_inst
2665 chmod a-w $(distdir)
2666+ test -d $(distdir)/_build || exit 0; \
2667 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
2668 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
2669- && cd $(distdir)/_build \
2670+ && am__cwd=`pwd` \
2671+ && $(am__cd) $(distdir)/_build \
2672 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
2673+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
2674 $(DISTCHECK_CONFIGURE_FLAGS) \
2675 && $(MAKE) $(AM_MAKEFLAGS) \
2676 && $(MAKE) $(AM_MAKEFLAGS) dvi \
2677@@ -591,14 +669,24 @@
2678 && rm -rf "$$dc_destdir" \
2679 && $(MAKE) $(AM_MAKEFLAGS) dist \
2680 && rm -rf $(DIST_ARCHIVES) \
2681- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
2682+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
2683+ && cd "$$am__cwd" \
2684+ || exit 1
2685 $(am__remove_distdir)
2686 @(echo "$(distdir) archives ready for distribution: "; \
2687 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
2688- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
2689+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
2690 distuninstallcheck:
2691- @cd $(distuninstallcheck_dir) \
2692- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
2693+ @test -n '$(distuninstallcheck_dir)' || { \
2694+ echo 'ERROR: trying to run $@ with an empty' \
2695+ '$$(distuninstallcheck_dir)' >&2; \
2696+ exit 1; \
2697+ }; \
2698+ $(am__cd) '$(distuninstallcheck_dir)' || { \
2699+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
2700+ exit 1; \
2701+ }; \
2702+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
2703 || { echo "ERROR: files left after uninstall:" ; \
2704 if test -n "$(DESTDIR)"; then \
2705 echo " (check DESTDIR support)"; \
2706@@ -629,16 +717,22 @@
2707
2708 installcheck: installcheck-recursive
2709 install-strip:
2710- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2711- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2712- `test -z '$(STRIP)' || \
2713- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
2714+ if test -z '$(STRIP)'; then \
2715+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2716+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2717+ install; \
2718+ else \
2719+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2720+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2721+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
2722+ fi
2723 mostlyclean-generic:
2724
2725 clean-generic:
2726
2727 distclean-generic:
2728 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2729+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
2730 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
2731
2732 maintainer-clean-generic:
2733@@ -660,18 +754,38 @@
2734
2735 html: html-recursive
2736
2737+html-am:
2738+
2739 info: info-recursive
2740
2741 info-am:
2742
2743 install-data-am:
2744
2745+install-dvi: install-dvi-recursive
2746+
2747+install-dvi-am:
2748+
2749 install-exec-am:
2750
2751+install-html: install-html-recursive
2752+
2753+install-html-am:
2754+
2755 install-info: install-info-recursive
2756
2757+install-info-am:
2758+
2759 install-man:
2760
2761+install-pdf: install-pdf-recursive
2762+
2763+install-pdf-am:
2764+
2765+install-ps: install-ps-recursive
2766+
2767+install-ps-am:
2768+
2769 installcheck-am:
2770
2771 maintainer-clean: maintainer-clean-recursive
2772@@ -692,25 +806,27 @@
2773
2774 ps-am:
2775
2776-uninstall-am: uninstall-info-am
2777-
2778-uninstall-info: uninstall-info-recursive
2779-
2780-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
2781- check-am clean clean-generic clean-libtool clean-recursive \
2782- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
2783- dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
2784- distclean-generic distclean-hdr distclean-libtool \
2785- distclean-local distclean-recursive distclean-tags \
2786+uninstall-am:
2787+
2788+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
2789+ ctags-recursive install-am install-strip tags-recursive
2790+
2791+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
2792+ all all-am am--refresh check check-am clean clean-generic \
2793+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
2794+ dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \
2795+ dist-xz dist-zip distcheck distclean distclean-generic \
2796+ distclean-hdr distclean-libtool distclean-local distclean-tags \
2797 distcleancheck distdir distuninstallcheck dvi dvi-am html \
2798 html-am info info-am install install-am install-data \
2799- install-data-am install-exec install-exec-am install-info \
2800- install-info-am install-man install-strip installcheck \
2801+ install-data-am install-dvi install-dvi-am install-exec \
2802+ install-exec-am install-html install-html-am install-info \
2803+ install-info-am install-man install-pdf install-pdf-am \
2804+ install-ps install-ps-am install-strip installcheck \
2805 installcheck-am installdirs installdirs-am maintainer-clean \
2806- maintainer-clean-generic maintainer-clean-recursive \
2807- mostlyclean mostlyclean-generic mostlyclean-libtool \
2808- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
2809- uninstall uninstall-am uninstall-info-am
2810+ maintainer-clean-generic mostlyclean mostlyclean-generic \
2811+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
2812+ uninstall uninstall-am
2813
2814
2815 distclean-local:
2816@@ -728,6 +844,7 @@
2817 || (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
2818
2819 dist-hook: ChangeLog
2820+
2821 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2822 # Otherwise a system limit (for SysV at least) may be exceeded.
2823 .NOEXPORT:
2824
2825=== modified file 'NEWS'
2826--- NEWS 2012-06-30 15:39:37 +0000
2827+++ NEWS 2014-11-21 23:25:26 +0000
2828@@ -1,3 +1,10 @@
2829+1.1.2 (2014/11/21)
2830+-----------------
2831+- Support upower 0.99
2832+- Add a way to run a command when clicking on systemload plugin (bug #3887)
2833+- Pick up translation fixes (bug #11316)
2834+- Merge some OpenBSD compatibility patches
2835+
2836 1.1.1 (2012/06/30)
2837 -----------------
2838 - Simplify tooltip handling code
2839
2840=== modified file 'README'
2841--- README 2010-12-10 23:05:47 +0000
2842+++ README 2014-11-21 23:25:26 +0000
2843@@ -2,9 +2,3 @@
2844
2845 This plugin displays the current system load on
2846 the XFce4 panel.
2847-
2848-I should work on most *NIX systems but
2849-I've tested it only on linux.
2850-
2851-Please if you manage to run in on non linux systems,
2852-drop me a line at <frivoal@xfce.org>.
2853
2854=== modified file 'aclocal.m4'
2855--- aclocal.m4 2012-07-15 14:02:31 +0000
2856+++ aclocal.m4 2014-11-21 23:25:26 +0000
2857@@ -1,7 +1,8 @@
2858-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2859+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2860
2861 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2862-# 2005 Free Software Foundation, Inc.
2863+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
2864+# Inc.
2865 # This file is free software; the Free Software Foundation
2866 # gives unlimited permission to copy and/or distribute it,
2867 # with or without modifications, as long as this notice is preserved.
2868@@ -11,6 +12,14 @@
2869 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2870 # PARTICULAR PURPOSE.
2871
2872+m4_ifndef([AC_AUTOCONF_VERSION],
2873+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2874+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
2875+[m4_warning([this file was generated for autoconf 2.63.
2876+You have another version of autoconf. It may work, but is not guaranteed to.
2877+If you have problems, you may need to regenerate the build system entirely.
2878+To do so, use the procedure documented by the package, typically `autoreconf'.])])
2879+
2880 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
2881 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
2882 #
2883@@ -328,7 +337,6 @@
2884 dnl
2885 glib_DEFUN([GLIB_GNU_GETTEXT],
2886 [AC_REQUIRE([AC_PROG_CC])dnl
2887- AC_REQUIRE([AC_HEADER_STDC])dnl
2888
2889 GLIB_LC_MESSAGES
2890 GLIB_WITH_NLS
2891@@ -9254,7 +9262,7 @@
2892 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
2893
2894 # nls.m4 serial 5 (gettext-0.18)
2895-dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
2896+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
2897 dnl Inc.
2898 dnl This file is free software; the Free Software Foundation
2899 dnl gives unlimited permission to copy and/or distribute it,
2900@@ -9287,6 +9295,7 @@
2901 ])
2902
2903 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2904+# serial 1 (pkg-config-0.24)
2905 #
2906 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
2907 #
2908@@ -9313,8 +9322,12 @@
2909 # ----------------------------------
2910 AC_DEFUN([PKG_PROG_PKG_CONFIG],
2911 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
2912-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
2913-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
2914+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
2915+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
2916+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
2917+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
2918+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
2919+
2920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2921 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
2922 fi
2923@@ -9327,7 +9340,6 @@
2924 AC_MSG_RESULT([no])
2925 PKG_CONFIG=""
2926 fi
2927-
2928 fi[]dnl
2929 ])# PKG_PROG_PKG_CONFIG
2930
2931@@ -9336,34 +9348,32 @@
2932 # Check to see whether a particular set of modules exists. Similar
2933 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
2934 #
2935-#
2936-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
2937-# this or PKG_CHECK_MODULES is called, or make sure to call
2938-# PKG_CHECK_EXISTS manually
2939+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
2940+# only at the first occurence in configure.ac, so if the first place
2941+# it's called might be skipped (such as if it is within an "if", you
2942+# have to call PKG_CHECK_EXISTS manually
2943 # --------------------------------------------------------------
2944 AC_DEFUN([PKG_CHECK_EXISTS],
2945 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
2946 if test -n "$PKG_CONFIG" && \
2947 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
2948- m4_ifval([$2], [$2], [:])
2949+ m4_default([$2], [:])
2950 m4_ifvaln([$3], [else
2951 $3])dnl
2952 fi])
2953
2954-
2955 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
2956 # ---------------------------------------------
2957 m4_define([_PKG_CONFIG],
2958-[if test -n "$PKG_CONFIG"; then
2959- if test -n "$$1"; then
2960- pkg_cv_[]$1="$$1"
2961- else
2962- PKG_CHECK_EXISTS([$3],
2963- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
2964- [pkg_failed=yes])
2965- fi
2966-else
2967- pkg_failed=untried
2968+[if test -n "$$1"; then
2969+ pkg_cv_[]$1="$$1"
2970+ elif test -n "$PKG_CONFIG"; then
2971+ PKG_CHECK_EXISTS([$3],
2972+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
2973+ test "x$?" != "x0" && pkg_failed=yes ],
2974+ [pkg_failed=yes])
2975+ else
2976+ pkg_failed=untried
2977 fi[]dnl
2978 ])# _PKG_CONFIG
2979
2980@@ -9405,16 +9415,17 @@
2981 See the pkg-config man page for more details.])
2982
2983 if test $pkg_failed = yes; then
2984+ AC_MSG_RESULT([no])
2985 _PKG_SHORT_ERRORS_SUPPORTED
2986 if test $_pkg_short_errors_supported = yes; then
2987- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
2988+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
2989 else
2990- $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
2991+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
2992 fi
2993 # Put the nasty error message in config.log where it belongs
2994 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
2995
2996- ifelse([$4], , [AC_MSG_ERROR(dnl
2997+ m4_default([$4], [AC_MSG_ERROR(
2998 [Package requirements ($2) were not met:
2999
3000 $$1_PKG_ERRORS
3001@@ -9422,55 +9433,116 @@
3002 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3003 installed software in a non-standard prefix.
3004
3005-_PKG_TEXT
3006-])],
3007- [AC_MSG_RESULT([no])
3008- $4])
3009+_PKG_TEXT])[]dnl
3010+ ])
3011 elif test $pkg_failed = untried; then
3012- ifelse([$4], , [AC_MSG_FAILURE(dnl
3013+ AC_MSG_RESULT([no])
3014+ m4_default([$4], [AC_MSG_FAILURE(
3015 [The pkg-config script could not be found or is too old. Make sure it
3016 is in your PATH or set the PKG_CONFIG environment variable to the full
3017 path to pkg-config.
3018
3019 _PKG_TEXT
3020
3021-To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
3022- [$4])
3023+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
3024+ ])
3025 else
3026 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
3027 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
3028 AC_MSG_RESULT([yes])
3029- ifelse([$3], , :, [$3])
3030+ $3
3031 fi[]dnl
3032 ])# PKG_CHECK_MODULES
3033
3034-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
3035+
3036+# PKG_INSTALLDIR(DIRECTORY)
3037+# -------------------------
3038+# Substitutes the variable pkgconfigdir as the location where a module
3039+# should install pkg-config .pc files. By default the directory is
3040+# $libdir/pkgconfig, but the default can be changed by passing
3041+# DIRECTORY. The user can override through the --with-pkgconfigdir
3042+# parameter.
3043+AC_DEFUN([PKG_INSTALLDIR],
3044+[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
3045+m4_pushdef([pkg_description],
3046+ [pkg-config installation directory @<:@]pkg_default[@:>@])
3047+AC_ARG_WITH([pkgconfigdir],
3048+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
3049+ [with_pkgconfigdir=]pkg_default)
3050+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
3051+m4_popdef([pkg_default])
3052+m4_popdef([pkg_description])
3053+]) dnl PKG_INSTALLDIR
3054+
3055+
3056+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
3057+# -------------------------
3058+# Substitutes the variable noarch_pkgconfigdir as the location where a
3059+# module should install arch-independent pkg-config .pc files. By
3060+# default the directory is $datadir/pkgconfig, but the default can be
3061+# changed by passing DIRECTORY. The user can override through the
3062+# --with-noarch-pkgconfigdir parameter.
3063+AC_DEFUN([PKG_NOARCH_INSTALLDIR],
3064+[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
3065+m4_pushdef([pkg_description],
3066+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
3067+AC_ARG_WITH([noarch-pkgconfigdir],
3068+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
3069+ [with_noarch_pkgconfigdir=]pkg_default)
3070+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
3071+m4_popdef([pkg_default])
3072+m4_popdef([pkg_description])
3073+]) dnl PKG_NOARCH_INSTALLDIR
3074+
3075+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
3076+# Foundation, Inc.
3077 #
3078 # This file is free software; the Free Software Foundation
3079 # gives unlimited permission to copy and/or distribute it,
3080 # with or without modifications, as long as this notice is preserved.
3081
3082+# serial 1
3083+
3084 # AM_AUTOMAKE_VERSION(VERSION)
3085 # ----------------------------
3086 # Automake X.Y traces this macro to ensure aclocal.m4 has been
3087 # generated from the m4 files accompanying Automake X.Y.
3088-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
3089+# (This private macro should not be called outside this file.)
3090+AC_DEFUN([AM_AUTOMAKE_VERSION],
3091+[am__api_version='1.11'
3092+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3093+dnl require some minimum version. Point them to the right macro.
3094+m4_if([$1], [1.11.6], [],
3095+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3096+])
3097+
3098+# _AM_AUTOCONF_VERSION(VERSION)
3099+# -----------------------------
3100+# aclocal traces this macro to find the Autoconf version.
3101+# This is a private macro too. Using m4_define simplifies
3102+# the logic in aclocal, which can simply ignore this definition.
3103+m4_define([_AM_AUTOCONF_VERSION], [])
3104
3105 # AM_SET_CURRENT_AUTOMAKE_VERSION
3106 # -------------------------------
3107-# Call AM_AUTOMAKE_VERSION so it can be traced.
3108-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
3109+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
3110+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
3111 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
3112- [AM_AUTOMAKE_VERSION([1.9.6])])
3113+[AM_AUTOMAKE_VERSION([1.11.6])dnl
3114+m4_ifndef([AC_AUTOCONF_VERSION],
3115+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
3116+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3117
3118 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3119
3120-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3121+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
3122 #
3123 # This file is free software; the Free Software Foundation
3124 # gives unlimited permission to copy and/or distribute it,
3125 # with or without modifications, as long as this notice is preserved.
3126
3127+# serial 1
3128+
3129 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
3130 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
3131 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
3132@@ -9518,14 +9590,14 @@
3133
3134 # AM_CONDITIONAL -*- Autoconf -*-
3135
3136-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
3137+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
3138 # Free Software Foundation, Inc.
3139 #
3140 # This file is free software; the Free Software Foundation
3141 # gives unlimited permission to copy and/or distribute it,
3142 # with or without modifications, as long as this notice is preserved.
3143
3144-# serial 7
3145+# serial 9
3146
3147 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
3148 # -------------------------------------
3149@@ -9534,8 +9606,11 @@
3150 [AC_PREREQ(2.52)dnl
3151 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
3152 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
3153-AC_SUBST([$1_TRUE])
3154-AC_SUBST([$1_FALSE])
3155+AC_SUBST([$1_TRUE])dnl
3156+AC_SUBST([$1_FALSE])dnl
3157+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
3158+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
3159+m4_define([_AM_COND_VALUE_$1], [$2])dnl
3160 if $2; then
3161 $1_TRUE=
3162 $1_FALSE='#'
3163@@ -9549,15 +9624,14 @@
3164 Usually this means the macro was only invoked conditionally.]])
3165 fi])])
3166
3167-
3168-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
3169-# Free Software Foundation, Inc.
3170+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
3171+# 2010, 2011 Free Software Foundation, Inc.
3172 #
3173 # This file is free software; the Free Software Foundation
3174 # gives unlimited permission to copy and/or distribute it,
3175 # with or without modifications, as long as this notice is preserved.
3176
3177-# serial 8
3178+# serial 12
3179
3180 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
3181 # written in clear, in which case automake, when reading aclocal.m4,
3182@@ -9585,6 +9659,7 @@
3183 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
3184 [$1], CXX, [depcc="$CXX" am_compiler_list=],
3185 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
3186+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
3187 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
3188 [depcc="$$1" am_compiler_list=])
3189
3190@@ -9596,6 +9671,7 @@
3191 # instance it was reported that on HP-UX the gcc test will end up
3192 # making a dummy file named `D' -- because `-MD' means `put the output
3193 # in D'.
3194+ rm -rf conftest.dir
3195 mkdir conftest.dir
3196 # Copy depcomp to subdir because otherwise we won't find it if we're
3197 # using a relative directory.
3198@@ -9613,6 +9689,16 @@
3199 if test "$am_compiler_list" = ""; then
3200 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
3201 fi
3202+ am__universal=false
3203+ m4_case([$1], [CC],
3204+ [case " $depcc " in #(
3205+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3206+ esac],
3207+ [CXX],
3208+ [case " $depcc " in #(
3209+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3210+ esac])
3211+
3212 for depmode in $am_compiler_list; do
3213 # Setup a source with many dependencies, because some compilers
3214 # like to wrap large dependency lists on column 80 (with \), and
3215@@ -9630,7 +9716,17 @@
3216 done
3217 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3218
3219+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3220+ # mode. It turns out that the SunPro C++ compiler does not properly
3221+ # handle `-M -o', and we need to detect this. Also, some Intel
3222+ # versions had trouble with output in subdirs
3223+ am__obj=sub/conftest.${OBJEXT-o}
3224+ am__minus_obj="-o $am__obj"
3225 case $depmode in
3226+ gcc)
3227+ # This depmode causes a compiler race in universal mode.
3228+ test "$am__universal" = false || continue
3229+ ;;
3230 nosideeffect)
3231 # after this tag, mechanisms are not by side-effect, so they'll
3232 # only be used when explicitly requested
3233@@ -9640,18 +9736,23 @@
3234 break
3235 fi
3236 ;;
3237+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3238+ # This compiler won't grok `-c -o', but also, the minuso test has
3239+ # not run yet. These depmodes are late enough in the game, and
3240+ # so weak that their functioning should not be impacted.
3241+ am__obj=conftest.${OBJEXT-o}
3242+ am__minus_obj=
3243+ ;;
3244 none) break ;;
3245 esac
3246- # We check with `-c' and `-o' for the sake of the "dashmstdout"
3247- # mode. It turns out that the SunPro C++ compiler does not properly
3248- # handle `-M -o', and we need to detect this.
3249 if depmode=$depmode \
3250- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3251+ source=sub/conftest.c object=$am__obj \
3252 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3253- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3254+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3255 >/dev/null 2>conftest.err &&
3256+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3258- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3259+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3260 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3261 # icc doesn't choke on unknown options, it will just issue warnings
3262 # or remarks (even with -Werror). So we grep stderr for any message
3263@@ -9700,63 +9801,79 @@
3264 if test "x$enable_dependency_tracking" != xno; then
3265 am_depcomp="$ac_aux_dir/depcomp"
3266 AMDEPBACKSLASH='\'
3267+ am__nodep='_no'
3268 fi
3269 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3270-AC_SUBST([AMDEPBACKSLASH])
3271+AC_SUBST([AMDEPBACKSLASH])dnl
3272+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
3273+AC_SUBST([am__nodep])dnl
3274+_AM_SUBST_NOTMAKE([am__nodep])dnl
3275 ])
3276
3277 # Generate code to set up dependency tracking. -*- Autoconf -*-
3278
3279-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
3280+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
3281 # Free Software Foundation, Inc.
3282 #
3283 # This file is free software; the Free Software Foundation
3284 # gives unlimited permission to copy and/or distribute it,
3285 # with or without modifications, as long as this notice is preserved.
3286
3287-#serial 3
3288+#serial 5
3289
3290 # _AM_OUTPUT_DEPENDENCY_COMMANDS
3291 # ------------------------------
3292 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
3293-[for mf in $CONFIG_FILES; do
3294- # Strip MF so we end up with the name of the file.
3295- mf=`echo "$mf" | sed -e 's/:.*$//'`
3296- # Check whether this is an Automake generated Makefile or not.
3297- # We used to match only the files named `Makefile.in', but
3298- # some people rename them; so instead we look at the file content.
3299- # Grep'ing the first line is not enough: some people post-process
3300- # each Makefile.in and add a new line on top of each file to say so.
3301- # So let's grep whole file.
3302- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3303- dirpart=`AS_DIRNAME("$mf")`
3304- else
3305- continue
3306- fi
3307- # Extract the definition of DEPDIR, am__include, and am__quote
3308- # from the Makefile without running `make'.
3309- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3310- test -z "$DEPDIR" && continue
3311- am__include=`sed -n 's/^am__include = //p' < "$mf"`
3312- test -z "am__include" && continue
3313- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3314- # When using ansi2knr, U may be empty or an underscore; expand it
3315- U=`sed -n 's/^U = //p' < "$mf"`
3316- # Find all dependency output files, they are included files with
3317- # $(DEPDIR) in their names. We invoke sed twice because it is the
3318- # simplest approach to changing $(DEPDIR) to its actual value in the
3319- # expansion.
3320- for file in `sed -n "
3321- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3322- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3323- # Make sure the directory exists.
3324- test -f "$dirpart/$file" && continue
3325- fdir=`AS_DIRNAME(["$file"])`
3326- AS_MKDIR_P([$dirpart/$fdir])
3327- # echo "creating $dirpart/$file"
3328- echo '# dummy' > "$dirpart/$file"
3329+[{
3330+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
3331+ # are listed without --file. Let's play safe and only enable the eval
3332+ # if we detect the quoting.
3333+ case $CONFIG_FILES in
3334+ *\'*) eval set x "$CONFIG_FILES" ;;
3335+ *) set x $CONFIG_FILES ;;
3336+ esac
3337+ shift
3338+ for mf
3339+ do
3340+ # Strip MF so we end up with the name of the file.
3341+ mf=`echo "$mf" | sed -e 's/:.*$//'`
3342+ # Check whether this is an Automake generated Makefile or not.
3343+ # We used to match only the files named `Makefile.in', but
3344+ # some people rename them; so instead we look at the file content.
3345+ # Grep'ing the first line is not enough: some people post-process
3346+ # each Makefile.in and add a new line on top of each file to say so.
3347+ # Grep'ing the whole file is not good either: AIX grep has a line
3348+ # limit of 2048, but all sed's we know have understand at least 4000.
3349+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3350+ dirpart=`AS_DIRNAME("$mf")`
3351+ else
3352+ continue
3353+ fi
3354+ # Extract the definition of DEPDIR, am__include, and am__quote
3355+ # from the Makefile without running `make'.
3356+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3357+ test -z "$DEPDIR" && continue
3358+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
3359+ test -z "am__include" && continue
3360+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3361+ # When using ansi2knr, U may be empty or an underscore; expand it
3362+ U=`sed -n 's/^U = //p' < "$mf"`
3363+ # Find all dependency output files, they are included files with
3364+ # $(DEPDIR) in their names. We invoke sed twice because it is the
3365+ # simplest approach to changing $(DEPDIR) to its actual value in the
3366+ # expansion.
3367+ for file in `sed -n "
3368+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3369+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3370+ # Make sure the directory exists.
3371+ test -f "$dirpart/$file" && continue
3372+ fdir=`AS_DIRNAME(["$file"])`
3373+ AS_MKDIR_P([$dirpart/$fdir])
3374+ # echo "creating $dirpart/$file"
3375+ echo '# dummy' > "$dirpart/$file"
3376+ done
3377 done
3378-done
3379+}
3380 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
3381
3382
3383@@ -9787,14 +9904,14 @@
3384
3385 # Do all the work for Automake. -*- Autoconf -*-
3386
3387-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
3388-# Free Software Foundation, Inc.
3389+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3390+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
3391 #
3392 # This file is free software; the Free Software Foundation
3393 # gives unlimited permission to copy and/or distribute it,
3394 # with or without modifications, as long as this notice is preserved.
3395
3396-# serial 12
3397+# serial 16
3398
3399 # This macro actually does too much. Some checks are only needed if
3400 # your package does certain things. But this isn't really a big deal.
3401@@ -9811,16 +9928,20 @@
3402 # arguments mandatory, and then we can depend on a new Autoconf
3403 # release and drop the old call support.
3404 AC_DEFUN([AM_INIT_AUTOMAKE],
3405-[AC_PREREQ([2.58])dnl
3406+[AC_PREREQ([2.62])dnl
3407 dnl Autoconf wants to disallow AM_ names. We explicitly allow
3408 dnl the ones we care about.
3409 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3410 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
3411 AC_REQUIRE([AC_PROG_INSTALL])dnl
3412-# test to see if srcdir already configured
3413-if test "`cd $srcdir && pwd`" != "`pwd`" &&
3414- test -f $srcdir/config.status; then
3415- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3416+if test "`cd $srcdir && pwd`" != "`pwd`"; then
3417+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3418+ # is not polluted with repeated "-I."
3419+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
3420+ # test to see if srcdir already configured
3421+ if test -f $srcdir/config.status; then
3422+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3423+ fi
3424 fi
3425
3426 # test whether we have cygpath
3427@@ -9840,6 +9961,9 @@
3428 AC_SUBST([PACKAGE], [$1])dnl
3429 AC_SUBST([VERSION], [$2])],
3430 [_AM_SET_OPTIONS([$1])dnl
3431+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
3432+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
3433+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
3434 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
3435 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
3436
3437@@ -9855,8 +9979,8 @@
3438 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
3439 AM_MISSING_PROG(AUTOHEADER, autoheader)
3440 AM_MISSING_PROG(MAKEINFO, makeinfo)
3441-AM_PROG_INSTALL_SH
3442-AM_PROG_INSTALL_STRIP
3443+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3444+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
3445 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
3446 # We need awk for the "check" target. The system "awk" is bad on
3447 # some platforms.
3448@@ -9864,19 +9988,36 @@
3449 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3450 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3451 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
3452- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3453- [_AM_PROG_TAR([v7])])])
3454+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3455+ [_AM_PROG_TAR([v7])])])
3456 _AM_IF_OPTION([no-dependencies],,
3457 [AC_PROVIDE_IFELSE([AC_PROG_CC],
3458- [_AM_DEPENDENCIES(CC)],
3459- [define([AC_PROG_CC],
3460- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3461+ [_AM_DEPENDENCIES(CC)],
3462+ [define([AC_PROG_CC],
3463+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3464 AC_PROVIDE_IFELSE([AC_PROG_CXX],
3465- [_AM_DEPENDENCIES(CXX)],
3466- [define([AC_PROG_CXX],
3467- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3468-])
3469-])
3470+ [_AM_DEPENDENCIES(CXX)],
3471+ [define([AC_PROG_CXX],
3472+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3473+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3474+ [_AM_DEPENDENCIES(OBJC)],
3475+ [define([AC_PROG_OBJC],
3476+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
3477+])
3478+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
3479+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
3480+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
3481+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
3482+AC_CONFIG_COMMANDS_PRE(dnl
3483+[m4_provide_if([_AM_COMPILER_EXEEXT],
3484+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
3485+])
3486+
3487+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
3488+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
3489+dnl mangled by Autoconf and run in a shell conditional statement.
3490+m4_define([_AC_COMPILER_EXEEXT],
3491+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
3492
3493
3494 # When config.status generates a header, we must update the stamp-h file.
3495@@ -9888,29 +10029,40 @@
3496 # our stamp files there.
3497 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
3498 [# Compute $1's index in $config_headers.
3499+_am_arg=$1
3500 _am_stamp_count=1
3501 for _am_header in $config_headers :; do
3502 case $_am_header in
3503- $1 | $1:* )
3504+ $_am_arg | $_am_arg:* )
3505 break ;;
3506 * )
3507 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3508 esac
3509 done
3510-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
3511+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
3512
3513-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3514+# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
3515+# Inc.
3516 #
3517 # This file is free software; the Free Software Foundation
3518 # gives unlimited permission to copy and/or distribute it,
3519 # with or without modifications, as long as this notice is preserved.
3520
3521+# serial 1
3522+
3523 # AM_PROG_INSTALL_SH
3524 # ------------------
3525 # Define $install_sh.
3526 AC_DEFUN([AM_PROG_INSTALL_SH],
3527 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3528-install_sh=${install_sh-"$am_aux_dir/install-sh"}
3529+if test x"${install_sh}" != xset; then
3530+ case $am_aux_dir in
3531+ *\ * | *\ *)
3532+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3533+ *)
3534+ install_sh="\${SHELL} $am_aux_dir/install-sh"
3535+ esac
3536+fi
3537 AC_SUBST(install_sh)])
3538
3539 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3540@@ -9937,27 +10089,38 @@
3541 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
3542 # From Jim Meyering
3543
3544-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
3545-# Free Software Foundation, Inc.
3546+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
3547+# 2011 Free Software Foundation, Inc.
3548 #
3549 # This file is free software; the Free Software Foundation
3550 # gives unlimited permission to copy and/or distribute it,
3551 # with or without modifications, as long as this notice is preserved.
3552
3553-# serial 4
3554+# serial 5
3555
3556+# AM_MAINTAINER_MODE([DEFAULT-MODE])
3557+# ----------------------------------
3558+# Control maintainer-specific portions of Makefiles.
3559+# Default is to disable them, unless `enable' is passed literally.
3560+# For symmetry, `disable' may be passed as well. Anyway, the user
3561+# can override the default with the --enable/--disable switch.
3562 AC_DEFUN([AM_MAINTAINER_MODE],
3563-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
3564- dnl maintainer-mode is disabled by default
3565- AC_ARG_ENABLE(maintainer-mode,
3566-[ --enable-maintainer-mode enable make rules and dependencies not useful
3567+[m4_case(m4_default([$1], [disable]),
3568+ [enable], [m4_define([am_maintainer_other], [disable])],
3569+ [disable], [m4_define([am_maintainer_other], [enable])],
3570+ [m4_define([am_maintainer_other], [enable])
3571+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
3572+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
3573+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
3574+ AC_ARG_ENABLE([maintainer-mode],
3575+[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
3576 (and sometimes confusing) to the casual installer],
3577- USE_MAINTAINER_MODE=$enableval,
3578- USE_MAINTAINER_MODE=no)
3579+ [USE_MAINTAINER_MODE=$enableval],
3580+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
3581 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
3582- AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
3583+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
3584 MAINT=$MAINTAINER_MODE_TRUE
3585- AC_SUBST(MAINT)dnl
3586+ AC_SUBST([MAINT])dnl
3587 ]
3588 )
3589
3590@@ -9965,13 +10128,13 @@
3591
3592 # Check to see how 'make' treats includes. -*- Autoconf -*-
3593
3594-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
3595+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
3596 #
3597 # This file is free software; the Free Software Foundation
3598 # gives unlimited permission to copy and/or distribute it,
3599 # with or without modifications, as long as this notice is preserved.
3600
3601-# serial 3
3602+# serial 4
3603
3604 # AM_MAKE_INCLUDE()
3605 # -----------------
3606@@ -9980,7 +10143,7 @@
3607 [am_make=${MAKE-make}
3608 cat > confinc << 'END'
3609 am__doit:
3610- @echo done
3611+ @echo this is the am__doit target
3612 .PHONY: am__doit
3613 END
3614 # If we don't find an include directive, just comment out the code.
3615@@ -9990,24 +10153,24 @@
3616 _am_result=none
3617 # First try GNU make style include.
3618 echo "include confinc" > confmf
3619-# We grep out `Entering directory' and `Leaving directory'
3620-# messages which can occur if `w' ends up in MAKEFLAGS.
3621-# In particular we don't look at `^make:' because GNU make might
3622-# be invoked under some other name (usually "gmake"), in which
3623-# case it prints its new name instead of `make'.
3624-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3625- am__include=include
3626- am__quote=
3627- _am_result=GNU
3628-fi
3629+# Ignore all kinds of additional output from `make'.
3630+case `$am_make -s -f confmf 2> /dev/null` in #(
3631+*the\ am__doit\ target*)
3632+ am__include=include
3633+ am__quote=
3634+ _am_result=GNU
3635+ ;;
3636+esac
3637 # Now try BSD make style include.
3638 if test "$am__include" = "#"; then
3639 echo '.include "confinc"' > confmf
3640- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3641- am__include=.include
3642- am__quote="\""
3643- _am_result=BSD
3644- fi
3645+ case `$am_make -s -f confmf 2> /dev/null` in #(
3646+ *the\ am__doit\ target*)
3647+ am__include=.include
3648+ am__quote="\""
3649+ _am_result=BSD
3650+ ;;
3651+ esac
3652 fi
3653 AC_SUBST([am__include])
3654 AC_SUBST([am__quote])
3655@@ -10017,14 +10180,14 @@
3656
3657 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
3658
3659-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
3660+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
3661 # Free Software Foundation, Inc.
3662 #
3663 # This file is free software; the Free Software Foundation
3664 # gives unlimited permission to copy and/or distribute it,
3665 # with or without modifications, as long as this notice is preserved.
3666
3667-# serial 4
3668+# serial 6
3669
3670 # AM_MISSING_PROG(NAME, PROGRAM)
3671 # ------------------------------
3672@@ -10040,7 +10203,15 @@
3673 # If it does, set am_missing_run to use it, otherwise, to nothing.
3674 AC_DEFUN([AM_MISSING_HAS_RUN],
3675 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3676-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3677+AC_REQUIRE_AUX_FILE([missing])dnl
3678+if test x"${MISSING+set}" != xset; then
3679+ case $am_aux_dir in
3680+ *\ * | *\ *)
3681+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3682+ *)
3683+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
3684+ esac
3685+fi
3686 # Use eval to expand $SHELL
3687 if eval "$MISSING --run true"; then
3688 am_missing_run="$MISSING --run "
3689@@ -10050,78 +10221,45 @@
3690 fi
3691 ])
3692
3693-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
3694+# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
3695+# Inc.
3696 #
3697 # This file is free software; the Free Software Foundation
3698 # gives unlimited permission to copy and/or distribute it,
3699 # with or without modifications, as long as this notice is preserved.
3700
3701+# serial 1
3702+
3703 # AM_PROG_MKDIR_P
3704 # ---------------
3705-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
3706-#
3707-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
3708-# created by `make install' are always world readable, even if the
3709-# installer happens to have an overly restrictive umask (e.g. 077).
3710-# This was a mistake. There are at least two reasons why we must not
3711-# use `-m 0755':
3712-# - it causes special bits like SGID to be ignored,
3713-# - it may be too restrictive (some setups expect 775 directories).
3714-#
3715-# Do not use -m 0755 and let people choose whatever they expect by
3716-# setting umask.
3717-#
3718-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
3719-# Some implementations (such as Solaris 8's) are not thread-safe: if a
3720-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
3721-# concurrently, both version can detect that a/ is missing, but only
3722-# one can create it and the other will error out. Consequently we
3723-# restrict ourselves to GNU make (using the --version option ensures
3724-# this.)
3725+# Check for `mkdir -p'.
3726 AC_DEFUN([AM_PROG_MKDIR_P],
3727-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3728- # We used to keeping the `.' as first argument, in order to
3729- # allow $(mkdir_p) to be used without argument. As in
3730- # $(mkdir_p) $(somedir)
3731- # where $(somedir) is conditionally defined. However this is wrong
3732- # for two reasons:
3733- # 1. if the package is installed by a user who cannot write `.'
3734- # make install will fail,
3735- # 2. the above comment should most certainly read
3736- # $(mkdir_p) $(DESTDIR)$(somedir)
3737- # so it does not work when $(somedir) is undefined and
3738- # $(DESTDIR) is not.
3739- # To support the latter case, we have to write
3740- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3741- # so the `.' trick is pointless.
3742- mkdir_p='mkdir -p --'
3743-else
3744- # On NextStep and OpenStep, the `mkdir' command does not
3745- # recognize any option. It will interpret all options as
3746- # directories to create, and then abort because `.' already
3747- # exists.
3748- for d in ./-p ./--version;
3749- do
3750- test -d $d && rmdir $d
3751- done
3752- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3753- if test -f "$ac_aux_dir/mkinstalldirs"; then
3754- mkdir_p='$(mkinstalldirs)'
3755- else
3756- mkdir_p='$(SHELL) $(install_sh) -d'
3757- fi
3758-fi
3759-AC_SUBST([mkdir_p])])
3760+[AC_PREREQ([2.60])dnl
3761+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
3762+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
3763+dnl while keeping a definition of mkdir_p for backward compatibility.
3764+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
3765+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
3766+dnl Makefile.ins that do not define MKDIR_P, so we do our own
3767+dnl adjustment using top_builddir (which is defined more often than
3768+dnl MKDIR_P).
3769+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
3770+case $mkdir_p in
3771+ [[\\/$]]* | ?:[[\\/]]*) ;;
3772+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3773+esac
3774+])
3775
3776 # Helper functions for option handling. -*- Autoconf -*-
3777
3778-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
3779+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
3780+# Foundation, Inc.
3781 #
3782 # This file is free software; the Free Software Foundation
3783 # gives unlimited permission to copy and/or distribute it,
3784 # with or without modifications, as long as this notice is preserved.
3785
3786-# serial 3
3787+# serial 5
3788
3789 # _AM_MANGLE_OPTION(NAME)
3790 # -----------------------
3791@@ -10129,16 +10267,16 @@
3792 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
3793
3794 # _AM_SET_OPTION(NAME)
3795-# ------------------------------
3796+# --------------------
3797 # Set option NAME. Presently that only means defining a flag for this option.
3798 AC_DEFUN([_AM_SET_OPTION],
3799 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
3800
3801 # _AM_SET_OPTIONS(OPTIONS)
3802-# ----------------------------------
3803+# ------------------------
3804 # OPTIONS is a space-separated list of Automake options.
3805 AC_DEFUN([_AM_SET_OPTIONS],
3806-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
3807+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
3808
3809 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
3810 # -------------------------------------------
3811@@ -10146,12 +10284,14 @@
3812 AC_DEFUN([_AM_IF_OPTION],
3813 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
3814
3815-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3816+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
3817 #
3818 # This file is free software; the Free Software Foundation
3819 # gives unlimited permission to copy and/or distribute it,
3820 # with or without modifications, as long as this notice is preserved.
3821
3822+# serial 1
3823+
3824 # AM_RUN_LOG(COMMAND)
3825 # -------------------
3826 # Run COMMAND, save the exit status in ac_status, and log it.
3827@@ -10163,12 +10303,14 @@
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3829 (exit $ac_status); }])
3830
3831-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3832+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
3833 #
3834 # This file is free software; the Free Software Foundation
3835 # gives unlimited permission to copy and/or distribute it,
3836 # with or without modifications, as long as this notice is preserved.
3837
3838+# serial 1
3839+
3840 # AM_PROG_INSTALL_STRIP
3841 # ---------------------
3842 # One issue with vendor `install' (even GNU) is that you can't
3843@@ -10188,12 +10330,31 @@
3844 if test "$cross_compiling" != no; then
3845 AC_CHECK_TOOL([STRIP], [strip], :)
3846 fi
3847-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3848+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3849 AC_SUBST([INSTALL_STRIP_PROGRAM])])
3850
3851+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
3852+#
3853+# This file is free software; the Free Software Foundation
3854+# gives unlimited permission to copy and/or distribute it,
3855+# with or without modifications, as long as this notice is preserved.
3856+
3857+# serial 3
3858+
3859+# _AM_SUBST_NOTMAKE(VARIABLE)
3860+# ---------------------------
3861+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
3862+# This macro is traced by Automake.
3863+AC_DEFUN([_AM_SUBST_NOTMAKE])
3864+
3865+# AM_SUBST_NOTMAKE(VARIABLE)
3866+# --------------------------
3867+# Public sister of _AM_SUBST_NOTMAKE.
3868+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
3869+
3870 # Check how to create a tarball. -*- Autoconf -*-
3871
3872-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3873+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
3874 #
3875 # This file is free software; the Free Software Foundation
3876 # gives unlimited permission to copy and/or distribute it,
3877@@ -10215,10 +10376,11 @@
3878 # a tarball read from stdin.
3879 # $(am__untar) < result.tar
3880 AC_DEFUN([_AM_PROG_TAR],
3881-[# Always define AMTAR for backward compatibility.
3882-AM_MISSING_PROG([AMTAR], [tar])
3883+[# Always define AMTAR for backward compatibility. Yes, it's still used
3884+# in the wild :-( We should find a proper way to deprecate it ...
3885+AC_SUBST([AMTAR], ['$${TAR-tar}'])
3886 m4_if([$1], [v7],
3887- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
3888+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
3889 [m4_case([$1], [ustar],, [pax],,
3890 [m4_fatal([Unknown tar format])])
3891 AC_MSG_CHECKING([how to create a $1 tar archive])
3892@@ -10671,7 +10833,7 @@
3893 AC_MSG_CHECKING([if $CC supports $flag])
3894 saved_CFLAGS="$CFLAGS"
3895 CFLAGS="$CFLAGS $flag"
3896- AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])
3897+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ])], [flag_supported=yes], [flag_supported=no])
3898 CFLAGS="$saved_CFLAGS"
3899 AC_MSG_RESULT([$flag_supported])
3900
3901@@ -10705,10 +10867,10 @@
3902 -Wdeclaration-after-statement \
3903 -Wmissing-declarations \
3904 -Wmissing-noreturn -Wshadow -Wpointer-arith \
3905- -Wcast-align -Wformat-security \
3906+ -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
3907 -Winit-self -Wmissing-include-dirs -Wundef \
3908- -Wmissing-format-attribute -Wnested-externs"
3909- CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
3910+ -Wnested-externs"
3911+ CPPFLAGS="$CPPFLAGS"
3912
3913 if test x`uname` = x"Linux"; then
3914 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
3915@@ -10775,7 +10937,7 @@
3916 saved_CFLAGS="$CFLAGS"
3917 CFLAGS="$CFLAGS $xdt_vis_test_cflags"
3918 AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
3919- AC_COMPILE_IFELSE(AC_LANG_SOURCE(
3920+ AC_COMPILE_IFELSE([AC_LANG_SOURCE(
3921 [
3922 void test_default (void);
3923 void test_hidden (void);
3924@@ -10788,7 +10950,7 @@
3925 test_hidden ();
3926 return 0;
3927 }
3928- ]),
3929+ ])],
3930 [
3931 have_gnuc_visibility=yes
3932 AC_MSG_RESULT([yes])
3933
3934=== removed file 'compile'
3935--- compile 2012-04-22 09:51:21 +0000
3936+++ compile 1970-01-01 00:00:00 +0000
3937@@ -1,142 +0,0 @@
3938-#! /bin/sh
3939-# Wrapper for compilers which do not understand `-c -o'.
3940-
3941-scriptversion=2005-05-14.22
3942-
3943-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
3944-# Written by Tom Tromey <tromey@cygnus.com>.
3945-#
3946-# This program is free software; you can redistribute it and/or modify
3947-# it under the terms of the GNU General Public License as published by
3948-# the Free Software Foundation; either version 2, or (at your option)
3949-# any later version.
3950-#
3951-# This program is distributed in the hope that it will be useful,
3952-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3953-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3954-# GNU General Public License for more details.
3955-#
3956-# You should have received a copy of the GNU General Public License
3957-# along with this program; if not, write to the Free Software
3958-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3959-
3960-# As a special exception to the GNU General Public License, if you
3961-# distribute this file as part of a program that contains a
3962-# configuration script generated by Autoconf, you may include it under
3963-# the same distribution terms that you use for the rest of that program.
3964-
3965-# This file is maintained in Automake, please report
3966-# bugs to <bug-automake@gnu.org> or send patches to
3967-# <automake-patches@gnu.org>.
3968-
3969-case $1 in
3970- '')
3971- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
3972- exit 1;
3973- ;;
3974- -h | --h*)
3975- cat <<\EOF
3976-Usage: compile [--help] [--version] PROGRAM [ARGS]
3977-
3978-Wrapper for compilers which do not understand `-c -o'.
3979-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
3980-arguments, and rename the output as expected.
3981-
3982-If you are trying to build a whole package this is not the
3983-right script to run: please start by reading the file `INSTALL'.
3984-
3985-Report bugs to <bug-automake@gnu.org>.
3986-EOF
3987- exit $?
3988- ;;
3989- -v | --v*)
3990- echo "compile $scriptversion"
3991- exit $?
3992- ;;
3993-esac
3994-
3995-ofile=
3996-cfile=
3997-eat=
3998-
3999-for arg
4000-do
4001- if test -n "$eat"; then
4002- eat=
4003- else
4004- case $1 in
4005- -o)
4006- # configure might choose to run compile as `compile cc -o foo foo.c'.
4007- # So we strip `-o arg' only if arg is an object.
4008- eat=1
4009- case $2 in
4010- *.o | *.obj)
4011- ofile=$2
4012- ;;
4013- *)
4014- set x "$@" -o "$2"
4015- shift
4016- ;;
4017- esac
4018- ;;
4019- *.c)
4020- cfile=$1
4021- set x "$@" "$1"
4022- shift
4023- ;;
4024- *)
4025- set x "$@" "$1"
4026- shift
4027- ;;
4028- esac
4029- fi
4030- shift
4031-done
4032-
4033-if test -z "$ofile" || test -z "$cfile"; then
4034- # If no `-o' option was seen then we might have been invoked from a
4035- # pattern rule where we don't need one. That is ok -- this is a
4036- # normal compilation that the losing compiler can handle. If no
4037- # `.c' file was seen then we are probably linking. That is also
4038- # ok.
4039- exec "$@"
4040-fi
4041-
4042-# Name of file we expect compiler to create.
4043-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
4044-
4045-# Create the lock directory.
4046-# Note: use `[/.-]' here to ensure that we don't use the same name
4047-# that we are using for the .o file. Also, base the name on the expected
4048-# object file name, since that is what matters with a parallel build.
4049-lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
4050-while true; do
4051- if mkdir "$lockdir" >/dev/null 2>&1; then
4052- break
4053- fi
4054- sleep 1
4055-done
4056-# FIXME: race condition here if user kills between mkdir and trap.
4057-trap "rmdir '$lockdir'; exit 1" 1 2 15
4058-
4059-# Run the compile.
4060-"$@"
4061-ret=$?
4062-
4063-if test -f "$cofile"; then
4064- mv "$cofile" "$ofile"
4065-elif test -f "${cofile}bj"; then
4066- mv "${cofile}bj" "$ofile"
4067-fi
4068-
4069-rmdir "$lockdir"
4070-exit $ret
4071-
4072-# Local Variables:
4073-# mode: shell-script
4074-# sh-indentation: 2
4075-# eval: (add-hook 'write-file-hooks 'time-stamp)
4076-# time-stamp-start: "scriptversion="
4077-# time-stamp-format: "%:y-%02m-%02d.%02H"
4078-# time-stamp-end: "$"
4079-# End:
4080
4081=== modified file 'config.guess'
4082--- config.guess 2012-05-17 23:18:47 +0000
4083+++ config.guess 2014-11-21 23:25:26 +0000
4084@@ -1,9 +1,10 @@
4085 #! /bin/sh
4086 # Attempt to guess a canonical system name.
4087 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4088-# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4089+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4090+# 2011, 2012 Free Software Foundation, Inc.
4091
4092-timestamp='2005-07-08'
4093+timestamp='2012-02-10'
4094
4095 # This file is free software; you can redistribute it and/or modify it
4096 # under the terms of the GNU General Public License as published by
4097@@ -16,9 +17,7 @@
4098 # General Public License for more details.
4099 #
4100 # You should have received a copy of the GNU General Public License
4101-# along with this program; if not, write to the Free Software
4102-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4103-# 02110-1301, USA.
4104+# along with this program; if not, see <http://www.gnu.org/licenses/>.
4105 #
4106 # As a special exception to the GNU General Public License, if you
4107 # distribute this file as part of a program that contains a
4108@@ -26,16 +25,16 @@
4109 # the same distribution terms that you use for the rest of that program.
4110
4111
4112-# Originally written by Per Bothner <per@bothner.com>.
4113-# Please send patches to <config-patches@gnu.org>. Submit a context
4114-# diff and a properly formatted ChangeLog entry.
4115+# Originally written by Per Bothner. Please send patches (context
4116+# diff format) to <config-patches@gnu.org> and include a ChangeLog
4117+# entry.
4118 #
4119 # This script attempts to guess a canonical system name similar to
4120 # config.sub. If it succeeds, it prints the system name on stdout, and
4121 # exits with 0. Otherwise, it exits with 1.
4122 #
4123-# The plan is that this can be called by configure scripts if you
4124-# don't specify an explicit build system type.
4125+# You can get the latest version of this script from:
4126+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
4127
4128 me=`echo "$0" | sed -e 's,.*/,,'`
4129
4130@@ -55,7 +54,8 @@
4131 GNU config.guess ($timestamp)
4132
4133 Originally written by Per Bothner.
4134-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4135+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4136+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4137 Free Software Foundation, Inc.
4138
4139 This is free software; see the source for copying conditions. There is NO
4140@@ -106,7 +106,7 @@
4141 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
4142 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
4143 : ${TMPDIR=/tmp} ;
4144- { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4145+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4146 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
4147 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
4148 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
4149@@ -143,7 +143,7 @@
4150 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4151 *:NetBSD:*:*)
4152 # NetBSD (nbsd) targets should (where applicable) match one or
4153- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
4154+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
4155 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
4156 # switched to ELF, *-*-netbsd* would select the old
4157 # object file format. This provides both forward
4158@@ -160,6 +160,7 @@
4159 arm*) machine=arm-unknown ;;
4160 sh3el) machine=shl-unknown ;;
4161 sh3eb) machine=sh-unknown ;;
4162+ sh5el) machine=sh5le-unknown ;;
4163 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
4164 esac
4165 # The Operating System including object format, if it has switched
4166@@ -168,7 +169,7 @@
4167 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
4168 eval $set_cc_for_build
4169 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
4170- | grep __ELF__ >/dev/null
4171+ | grep -q __ELF__
4172 then
4173 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
4174 # Return netbsd for either. FIX?
4175@@ -178,7 +179,7 @@
4176 fi
4177 ;;
4178 *)
4179- os=netbsd
4180+ os=netbsd
4181 ;;
4182 esac
4183 # The OS release
4184@@ -206,8 +207,11 @@
4185 *:ekkoBSD:*:*)
4186 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
4187 exit ;;
4188+ *:SolidBSD:*:*)
4189+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
4190+ exit ;;
4191 macppc:MirBSD:*:*)
4192- echo powerppc-unknown-mirbsd${UNAME_RELEASE}
4193+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
4194 exit ;;
4195 *:MirBSD:*:*)
4196 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
4197@@ -218,7 +222,7 @@
4198 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
4199 ;;
4200 *5.*)
4201- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4202+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4203 ;;
4204 esac
4205 # According to Compaq, /usr/sbin/psrinfo has been available on
4206@@ -264,7 +268,10 @@
4207 # A Xn.n version is an unreleased experimental baselevel.
4208 # 1.2 uses "1.2" for uname -r.
4209 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4210- exit ;;
4211+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
4212+ exitcode=$?
4213+ trap '' 0
4214+ exit $exitcode ;;
4215 Alpha\ *:Windows_NT*:*)
4216 # How do we know it's Interix rather than the generic POSIX subsystem?
4217 # Should we change UNAME_MACHINE based on the output of uname instead
4218@@ -290,7 +297,7 @@
4219 echo s390-ibm-zvmoe
4220 exit ;;
4221 *:OS400:*:*)
4222- echo powerpc-ibm-os400
4223+ echo powerpc-ibm-os400
4224 exit ;;
4225 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
4226 echo arm-acorn-riscix${UNAME_RELEASE}
4227@@ -319,14 +326,33 @@
4228 case `/usr/bin/uname -p` in
4229 sparc) echo sparc-icl-nx7; exit ;;
4230 esac ;;
4231+ s390x:SunOS:*:*)
4232+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4233+ exit ;;
4234 sun4H:SunOS:5.*:*)
4235 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4236 exit ;;
4237 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
4238 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4239 exit ;;
4240- i86pc:SunOS:5.*:*)
4241- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4242+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
4243+ echo i386-pc-auroraux${UNAME_RELEASE}
4244+ exit ;;
4245+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
4246+ eval $set_cc_for_build
4247+ SUN_ARCH="i386"
4248+ # If there is a compiler, see if it is configured for 64-bit objects.
4249+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
4250+ # This test works for both compilers.
4251+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
4252+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
4253+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
4254+ grep IS_64BIT_ARCH >/dev/null
4255+ then
4256+ SUN_ARCH="x86_64"
4257+ fi
4258+ fi
4259+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4260 exit ;;
4261 sun4*:SunOS:6*:*)
4262 # According to config.sub, this is the proper way to canonicalize
4263@@ -370,23 +396,23 @@
4264 # MiNT. But MiNT is downward compatible to TOS, so this should
4265 # be no problem.
4266 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
4267- echo m68k-atari-mint${UNAME_RELEASE}
4268+ echo m68k-atari-mint${UNAME_RELEASE}
4269 exit ;;
4270 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
4271 echo m68k-atari-mint${UNAME_RELEASE}
4272- exit ;;
4273+ exit ;;
4274 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
4275- echo m68k-atari-mint${UNAME_RELEASE}
4276+ echo m68k-atari-mint${UNAME_RELEASE}
4277 exit ;;
4278 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
4279- echo m68k-milan-mint${UNAME_RELEASE}
4280- exit ;;
4281+ echo m68k-milan-mint${UNAME_RELEASE}
4282+ exit ;;
4283 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
4284- echo m68k-hades-mint${UNAME_RELEASE}
4285- exit ;;
4286+ echo m68k-hades-mint${UNAME_RELEASE}
4287+ exit ;;
4288 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
4289- echo m68k-unknown-mint${UNAME_RELEASE}
4290- exit ;;
4291+ echo m68k-unknown-mint${UNAME_RELEASE}
4292+ exit ;;
4293 m68k:machten:*:*)
4294 echo m68k-apple-machten${UNAME_RELEASE}
4295 exit ;;
4296@@ -456,8 +482,8 @@
4297 echo m88k-motorola-sysv3
4298 exit ;;
4299 AViiON:dgux:*:*)
4300- # DG/UX returns AViiON for all architectures
4301- UNAME_PROCESSOR=`/usr/bin/uname -p`
4302+ # DG/UX returns AViiON for all architectures
4303+ UNAME_PROCESSOR=`/usr/bin/uname -p`
4304 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
4305 then
4306 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
4307@@ -470,7 +496,7 @@
4308 else
4309 echo i586-dg-dgux${UNAME_RELEASE}
4310 fi
4311- exit ;;
4312+ exit ;;
4313 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
4314 echo m88k-dolphin-sysv3
4315 exit ;;
4316@@ -527,7 +553,7 @@
4317 echo rs6000-ibm-aix3.2
4318 fi
4319 exit ;;
4320- *:AIX:*:[45])
4321+ *:AIX:*:[4567])
4322 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
4323 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
4324 IBM_ARCH=rs6000
4325@@ -570,52 +596,52 @@
4326 9000/[678][0-9][0-9])
4327 if [ -x /usr/bin/getconf ]; then
4328 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
4329- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
4330- case "${sc_cpu_version}" in
4331- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
4332- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
4333- 532) # CPU_PA_RISC2_0
4334- case "${sc_kernel_bits}" in
4335- 32) HP_ARCH="hppa2.0n" ;;
4336- 64) HP_ARCH="hppa2.0w" ;;
4337+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
4338+ case "${sc_cpu_version}" in
4339+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
4340+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
4341+ 532) # CPU_PA_RISC2_0
4342+ case "${sc_kernel_bits}" in
4343+ 32) HP_ARCH="hppa2.0n" ;;
4344+ 64) HP_ARCH="hppa2.0w" ;;
4345 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
4346- esac ;;
4347- esac
4348+ esac ;;
4349+ esac
4350 fi
4351 if [ "${HP_ARCH}" = "" ]; then
4352 eval $set_cc_for_build
4353- sed 's/^ //' << EOF >$dummy.c
4354-
4355- #define _HPUX_SOURCE
4356- #include <stdlib.h>
4357- #include <unistd.h>
4358-
4359- int main ()
4360- {
4361- #if defined(_SC_KERNEL_BITS)
4362- long bits = sysconf(_SC_KERNEL_BITS);
4363- #endif
4364- long cpu = sysconf (_SC_CPU_VERSION);
4365-
4366- switch (cpu)
4367- {
4368- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
4369- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
4370- case CPU_PA_RISC2_0:
4371- #if defined(_SC_KERNEL_BITS)
4372- switch (bits)
4373- {
4374- case 64: puts ("hppa2.0w"); break;
4375- case 32: puts ("hppa2.0n"); break;
4376- default: puts ("hppa2.0"); break;
4377- } break;
4378- #else /* !defined(_SC_KERNEL_BITS) */
4379- puts ("hppa2.0"); break;
4380- #endif
4381- default: puts ("hppa1.0"); break;
4382- }
4383- exit (0);
4384- }
4385+ sed 's/^ //' << EOF >$dummy.c
4386+
4387+ #define _HPUX_SOURCE
4388+ #include <stdlib.h>
4389+ #include <unistd.h>
4390+
4391+ int main ()
4392+ {
4393+ #if defined(_SC_KERNEL_BITS)
4394+ long bits = sysconf(_SC_KERNEL_BITS);
4395+ #endif
4396+ long cpu = sysconf (_SC_CPU_VERSION);
4397+
4398+ switch (cpu)
4399+ {
4400+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
4401+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
4402+ case CPU_PA_RISC2_0:
4403+ #if defined(_SC_KERNEL_BITS)
4404+ switch (bits)
4405+ {
4406+ case 64: puts ("hppa2.0w"); break;
4407+ case 32: puts ("hppa2.0n"); break;
4408+ default: puts ("hppa2.0"); break;
4409+ } break;
4410+ #else /* !defined(_SC_KERNEL_BITS) */
4411+ puts ("hppa2.0"); break;
4412+ #endif
4413+ default: puts ("hppa1.0"); break;
4414+ }
4415+ exit (0);
4416+ }
4417 EOF
4418 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
4419 test -z "$HP_ARCH" && HP_ARCH=hppa
4420@@ -635,7 +661,7 @@
4421 # => hppa64-hp-hpux11.23
4422
4423 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
4424- grep __LP64__ >/dev/null
4425+ grep -q __LP64__
4426 then
4427 HP_ARCH="hppa2.0w"
4428 else
4429@@ -706,22 +732,22 @@
4430 exit ;;
4431 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
4432 echo c1-convex-bsd
4433- exit ;;
4434+ exit ;;
4435 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
4436 if getsysinfo -f scalar_acc
4437 then echo c32-convex-bsd
4438 else echo c2-convex-bsd
4439 fi
4440- exit ;;
4441+ exit ;;
4442 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
4443 echo c34-convex-bsd
4444- exit ;;
4445+ exit ;;
4446 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
4447 echo c38-convex-bsd
4448- exit ;;
4449+ exit ;;
4450 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
4451 echo c4-convex-bsd
4452- exit ;;
4453+ exit ;;
4454 CRAY*Y-MP:*:*:*)
4455 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
4456 exit ;;
4457@@ -745,14 +771,14 @@
4458 exit ;;
4459 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
4460 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4461- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4462- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
4463- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4464- exit ;;
4465+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4466+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
4467+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4468+ exit ;;
4469 5000:UNIX_System_V:4.*:*)
4470- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4471- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
4472- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4473+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4474+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
4475+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4476 exit ;;
4477 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
4478 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
4479@@ -764,27 +790,48 @@
4480 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
4481 exit ;;
4482 *:FreeBSD:*:*)
4483- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
4484+ UNAME_PROCESSOR=`/usr/bin/uname -p`
4485+ case ${UNAME_PROCESSOR} in
4486+ amd64)
4487+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4488+ *)
4489+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4490+ esac
4491 exit ;;
4492 i*:CYGWIN*:*)
4493 echo ${UNAME_MACHINE}-pc-cygwin
4494 exit ;;
4495- i*:MINGW*:*)
4496+ *:MINGW*:*)
4497 echo ${UNAME_MACHINE}-pc-mingw32
4498 exit ;;
4499+ i*:MSYS*:*)
4500+ echo ${UNAME_MACHINE}-pc-msys
4501+ exit ;;
4502 i*:windows32*:*)
4503- # uname -m includes "-pc" on this system.
4504- echo ${UNAME_MACHINE}-mingw32
4505+ # uname -m includes "-pc" on this system.
4506+ echo ${UNAME_MACHINE}-mingw32
4507 exit ;;
4508 i*:PW*:*)
4509 echo ${UNAME_MACHINE}-pc-pw32
4510 exit ;;
4511- x86:Interix*:[34]*)
4512- echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
4513- exit ;;
4514+ *:Interix*:*)
4515+ case ${UNAME_MACHINE} in
4516+ x86)
4517+ echo i586-pc-interix${UNAME_RELEASE}
4518+ exit ;;
4519+ authenticamd | genuineintel | EM64T)
4520+ echo x86_64-unknown-interix${UNAME_RELEASE}
4521+ exit ;;
4522+ IA64)
4523+ echo ia64-unknown-interix${UNAME_RELEASE}
4524+ exit ;;
4525+ esac ;;
4526 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
4527 echo i${UNAME_MACHINE}-pc-mks
4528 exit ;;
4529+ 8664:Windows_NT:*)
4530+ echo x86_64-pc-mks
4531+ exit ;;
4532 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
4533 # How do we know it's Interix rather than the generic POSIX subsystem?
4534 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
4535@@ -794,7 +841,7 @@
4536 i*:UWIN*:*)
4537 echo ${UNAME_MACHINE}-pc-uwin
4538 exit ;;
4539- amd64:CYGWIN*:*:*)
4540+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
4541 echo x86_64-unknown-cygwin
4542 exit ;;
4543 p*:CYGWIN*:*)
4544@@ -814,70 +861,12 @@
4545 i*86:Minix:*:*)
4546 echo ${UNAME_MACHINE}-pc-minix
4547 exit ;;
4548- arm*:Linux:*:*)
4549- echo ${UNAME_MACHINE}-unknown-linux-gnu
4550- exit ;;
4551- cris:Linux:*:*)
4552- echo cris-axis-linux-gnu
4553- exit ;;
4554- crisv32:Linux:*:*)
4555- echo crisv32-axis-linux-gnu
4556- exit ;;
4557- frv:Linux:*:*)
4558- echo frv-unknown-linux-gnu
4559- exit ;;
4560- ia64:Linux:*:*)
4561- echo ${UNAME_MACHINE}-unknown-linux-gnu
4562- exit ;;
4563- m32r*:Linux:*:*)
4564- echo ${UNAME_MACHINE}-unknown-linux-gnu
4565- exit ;;
4566- m68*:Linux:*:*)
4567- echo ${UNAME_MACHINE}-unknown-linux-gnu
4568- exit ;;
4569- mips:Linux:*:*)
4570- eval $set_cc_for_build
4571- sed 's/^ //' << EOF >$dummy.c
4572- #undef CPU
4573- #undef mips
4574- #undef mipsel
4575- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4576- CPU=mipsel
4577- #else
4578- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4579- CPU=mips
4580- #else
4581- CPU=
4582- #endif
4583- #endif
4584-EOF
4585- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
4586- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4587- ;;
4588- mips64:Linux:*:*)
4589- eval $set_cc_for_build
4590- sed 's/^ //' << EOF >$dummy.c
4591- #undef CPU
4592- #undef mips64
4593- #undef mips64el
4594- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4595- CPU=mips64el
4596- #else
4597- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4598- CPU=mips64
4599- #else
4600- CPU=
4601- #endif
4602- #endif
4603-EOF
4604- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
4605- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4606- ;;
4607- ppc:Linux:*:*)
4608- echo powerpc-unknown-linux-gnu
4609- exit ;;
4610- ppc64:Linux:*:*)
4611- echo powerpc64-unknown-linux-gnu
4612+ aarch64:Linux:*:*)
4613+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4614+ exit ;;
4615+ aarch64_be:Linux:*:*)
4616+ UNAME_MACHINE=aarch64_be
4617+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4618 exit ;;
4619 alpha:Linux:*:*)
4620 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
4621@@ -888,11 +877,90 @@
4622 EV6) UNAME_MACHINE=alphaev6 ;;
4623 EV67) UNAME_MACHINE=alphaev67 ;;
4624 EV68*) UNAME_MACHINE=alphaev68 ;;
4625- esac
4626- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
4627+ esac
4628+ objdump --private-headers /bin/sh | grep -q ld.so.1
4629 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
4630 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
4631 exit ;;
4632+ arm*:Linux:*:*)
4633+ eval $set_cc_for_build
4634+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
4635+ | grep -q __ARM_EABI__
4636+ then
4637+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4638+ else
4639+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
4640+ | grep -q __ARM_PCS_VFP
4641+ then
4642+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
4643+ else
4644+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
4645+ fi
4646+ fi
4647+ exit ;;
4648+ avr32*:Linux:*:*)
4649+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4650+ exit ;;
4651+ cris:Linux:*:*)
4652+ echo ${UNAME_MACHINE}-axis-linux-gnu
4653+ exit ;;
4654+ crisv32:Linux:*:*)
4655+ echo ${UNAME_MACHINE}-axis-linux-gnu
4656+ exit ;;
4657+ frv:Linux:*:*)
4658+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4659+ exit ;;
4660+ hexagon:Linux:*:*)
4661+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4662+ exit ;;
4663+ i*86:Linux:*:*)
4664+ LIBC=gnu
4665+ eval $set_cc_for_build
4666+ sed 's/^ //' << EOF >$dummy.c
4667+ #ifdef __dietlibc__
4668+ LIBC=dietlibc
4669+ #endif
4670+EOF
4671+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
4672+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4673+ exit ;;
4674+ ia64:Linux:*:*)
4675+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4676+ exit ;;
4677+ m32r*:Linux:*:*)
4678+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4679+ exit ;;
4680+ m68*:Linux:*:*)
4681+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4682+ exit ;;
4683+ mips:Linux:*:* | mips64:Linux:*:*)
4684+ eval $set_cc_for_build
4685+ sed 's/^ //' << EOF >$dummy.c
4686+ #undef CPU
4687+ #undef ${UNAME_MACHINE}
4688+ #undef ${UNAME_MACHINE}el
4689+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4690+ CPU=${UNAME_MACHINE}el
4691+ #else
4692+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4693+ CPU=${UNAME_MACHINE}
4694+ #else
4695+ CPU=
4696+ #endif
4697+ #endif
4698+EOF
4699+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
4700+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4701+ ;;
4702+ or32:Linux:*:*)
4703+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4704+ exit ;;
4705+ padre:Linux:*:*)
4706+ echo sparc-unknown-linux-gnu
4707+ exit ;;
4708+ parisc64:Linux:*:* | hppa64:Linux:*:*)
4709+ echo hppa64-unknown-linux-gnu
4710+ exit ;;
4711 parisc:Linux:*:* | hppa:Linux:*:*)
4712 # Look for CPU level
4713 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
4714@@ -901,14 +969,17 @@
4715 *) echo hppa-unknown-linux-gnu ;;
4716 esac
4717 exit ;;
4718- parisc64:Linux:*:* | hppa64:Linux:*:*)
4719- echo hppa64-unknown-linux-gnu
4720+ ppc64:Linux:*:*)
4721+ echo powerpc64-unknown-linux-gnu
4722+ exit ;;
4723+ ppc:Linux:*:*)
4724+ echo powerpc-unknown-linux-gnu
4725 exit ;;
4726 s390:Linux:*:* | s390x:Linux:*:*)
4727 echo ${UNAME_MACHINE}-ibm-linux
4728 exit ;;
4729 sh64*:Linux:*:*)
4730- echo ${UNAME_MACHINE}-unknown-linux-gnu
4731+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4732 exit ;;
4733 sh*:Linux:*:*)
4734 echo ${UNAME_MACHINE}-unknown-linux-gnu
4735@@ -916,68 +987,18 @@
4736 sparc:Linux:*:* | sparc64:Linux:*:*)
4737 echo ${UNAME_MACHINE}-unknown-linux-gnu
4738 exit ;;
4739+ tile*:Linux:*:*)
4740+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4741+ exit ;;
4742+ vax:Linux:*:*)
4743+ echo ${UNAME_MACHINE}-dec-linux-gnu
4744+ exit ;;
4745 x86_64:Linux:*:*)
4746- echo x86_64-unknown-linux-gnu
4747- exit ;;
4748- i*86:Linux:*:*)
4749- # The BFD linker knows what the default object file format is, so
4750- # first see if it will tell us. cd to the root directory to prevent
4751- # problems with other programs or directories called `ld' in the path.
4752- # Set LC_ALL=C to ensure ld outputs messages in English.
4753- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
4754- | sed -ne '/supported targets:/!d
4755- s/[ ][ ]*/ /g
4756- s/.*supported targets: *//
4757- s/ .*//
4758- p'`
4759- case "$ld_supported_targets" in
4760- elf32-i386)
4761- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
4762- ;;
4763- a.out-i386-linux)
4764- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
4765- exit ;;
4766- coff-i386)
4767- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
4768- exit ;;
4769- "")
4770- # Either a pre-BFD a.out linker (linux-gnuoldld) or
4771- # one that does not give us useful --help.
4772- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
4773- exit ;;
4774- esac
4775- # Determine whether the default compiler is a.out or elf
4776- eval $set_cc_for_build
4777- sed 's/^ //' << EOF >$dummy.c
4778- #include <features.h>
4779- #ifdef __ELF__
4780- # ifdef __GLIBC__
4781- # if __GLIBC__ >= 2
4782- LIBC=gnu
4783- # else
4784- LIBC=gnulibc1
4785- # endif
4786- # else
4787- LIBC=gnulibc1
4788- # endif
4789- #else
4790- #ifdef __INTEL_COMPILER
4791- LIBC=gnu
4792- #else
4793- LIBC=gnuaout
4794- #endif
4795- #endif
4796- #ifdef __dietlibc__
4797- LIBC=dietlibc
4798- #endif
4799-EOF
4800- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
4801- test x"${LIBC}" != x && {
4802- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4803- exit
4804- }
4805- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
4806- ;;
4807+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4808+ exit ;;
4809+ xtensa*:Linux:*:*)
4810+ echo ${UNAME_MACHINE}-unknown-linux-gnu
4811+ exit ;;
4812 i*86:DYNIX/ptx:4*:*)
4813 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
4814 # earlier versions are messed up and put the nodename in both
4815@@ -985,11 +1006,11 @@
4816 echo i386-sequent-sysv4
4817 exit ;;
4818 i*86:UNIX_SV:4.2MP:2.*)
4819- # Unixware is an offshoot of SVR4, but it has its own version
4820- # number series starting with 2...
4821- # I am not positive that other SVR4 systems won't match this,
4822+ # Unixware is an offshoot of SVR4, but it has its own version
4823+ # number series starting with 2...
4824+ # I am not positive that other SVR4 systems won't match this,
4825 # I just have to hope. -- rms.
4826- # Use sysv4.2uw... so that sysv4* matches it.
4827+ # Use sysv4.2uw... so that sysv4* matches it.
4828 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
4829 exit ;;
4830 i*86:OS/2:*:*)
4831@@ -1006,7 +1027,7 @@
4832 i*86:syllable:*:*)
4833 echo ${UNAME_MACHINE}-pc-syllable
4834 exit ;;
4835- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
4836+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
4837 echo i386-unknown-lynxos${UNAME_RELEASE}
4838 exit ;;
4839 i*86:*DOS:*:*)
4840@@ -1021,7 +1042,7 @@
4841 fi
4842 exit ;;
4843 i*86:*:5:[678]*)
4844- # UnixWare 7.x, OpenUNIX and OpenServer 6.
4845+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
4846 case `/bin/uname -X | grep "^Machine"` in
4847 *486*) UNAME_MACHINE=i486 ;;
4848 *Pentium) UNAME_MACHINE=i586 ;;
4849@@ -1049,10 +1070,13 @@
4850 exit ;;
4851 pc:*:*:*)
4852 # Left here for compatibility:
4853- # uname -m prints for DJGPP always 'pc', but it prints nothing about
4854- # the processor, so we play safe by assuming i386.
4855- echo i386-pc-msdosdjgpp
4856- exit ;;
4857+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
4858+ # the processor, so we play safe by assuming i586.
4859+ # Note: whatever this is, it MUST be the same as what config.sub
4860+ # prints for the "djgpp" host, or else GDB configury will decide that
4861+ # this is a cross-build.
4862+ echo i586-pc-msdosdjgpp
4863+ exit ;;
4864 Intel:Mach:3*:*)
4865 echo i386-pc-mach3
4866 exit ;;
4867@@ -1087,8 +1111,18 @@
4868 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
4869 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
4870 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
4871- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4872- && { echo i486-ncr-sysv4; exit; } ;;
4873+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4874+ && { echo i486-ncr-sysv4; exit; } ;;
4875+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
4876+ OS_REL='.3'
4877+ test -r /etc/.relid \
4878+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
4879+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4880+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
4881+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
4882+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
4883+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
4884+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
4885 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
4886 echo m68k-unknown-lynxos${UNAME_RELEASE}
4887 exit ;;
4888@@ -1101,7 +1135,7 @@
4889 rs6000:LynxOS:2.*:*)
4890 echo rs6000-unknown-lynxos${UNAME_RELEASE}
4891 exit ;;
4892- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
4893+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
4894 echo powerpc-unknown-lynxos${UNAME_RELEASE}
4895 exit ;;
4896 SM[BE]S:UNIX_SV:*:*)
4897@@ -1121,10 +1155,10 @@
4898 echo ns32k-sni-sysv
4899 fi
4900 exit ;;
4901- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
4902- # says <Richard.M.Bartel@ccMail.Census.GOV>
4903- echo i586-unisys-sysv4
4904- exit ;;
4905+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
4906+ # says <Richard.M.Bartel@ccMail.Census.GOV>
4907+ echo i586-unisys-sysv4
4908+ exit ;;
4909 *:UNIX_System_V:4*:FTX*)
4910 # From Gerald Hewes <hewes@openmarket.com>.
4911 # How about differentiating between stratus architectures? -djm
4912@@ -1150,11 +1184,11 @@
4913 exit ;;
4914 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
4915 if [ -d /usr/nec ]; then
4916- echo mips-nec-sysv${UNAME_RELEASE}
4917+ echo mips-nec-sysv${UNAME_RELEASE}
4918 else
4919- echo mips-unknown-sysv${UNAME_RELEASE}
4920+ echo mips-unknown-sysv${UNAME_RELEASE}
4921 fi
4922- exit ;;
4923+ exit ;;
4924 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
4925 echo powerpc-be-beos
4926 exit ;;
4927@@ -1164,6 +1198,9 @@
4928 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
4929 echo i586-pc-beos
4930 exit ;;
4931+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
4932+ echo i586-pc-haiku
4933+ exit ;;
4934 SX-4:SUPER-UX:*:*)
4935 echo sx4-nec-superux${UNAME_RELEASE}
4936 exit ;;
4937@@ -1173,6 +1210,15 @@
4938 SX-6:SUPER-UX:*:*)
4939 echo sx6-nec-superux${UNAME_RELEASE}
4940 exit ;;
4941+ SX-7:SUPER-UX:*:*)
4942+ echo sx7-nec-superux${UNAME_RELEASE}
4943+ exit ;;
4944+ SX-8:SUPER-UX:*:*)
4945+ echo sx8-nec-superux${UNAME_RELEASE}
4946+ exit ;;
4947+ SX-8R:SUPER-UX:*:*)
4948+ echo sx8r-nec-superux${UNAME_RELEASE}
4949+ exit ;;
4950 Power*:Rhapsody:*:*)
4951 echo powerpc-apple-rhapsody${UNAME_RELEASE}
4952 exit ;;
4953@@ -1182,7 +1228,16 @@
4954 *:Darwin:*:*)
4955 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
4956 case $UNAME_PROCESSOR in
4957- *86) UNAME_PROCESSOR=i686 ;;
4958+ i386)
4959+ eval $set_cc_for_build
4960+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
4961+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
4962+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
4963+ grep IS_64BIT_ARCH >/dev/null
4964+ then
4965+ UNAME_PROCESSOR="x86_64"
4966+ fi
4967+ fi ;;
4968 unknown) UNAME_PROCESSOR=powerpc ;;
4969 esac
4970 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
4971@@ -1198,6 +1253,9 @@
4972 *:QNX:*:4*)
4973 echo i386-pc-qnx
4974 exit ;;
4975+ NEO-?:NONSTOP_KERNEL:*:*)
4976+ echo neo-tandem-nsk${UNAME_RELEASE}
4977+ exit ;;
4978 NSE-?:NONSTOP_KERNEL:*:*)
4979 echo nse-tandem-nsk${UNAME_RELEASE}
4980 exit ;;
4981@@ -1243,13 +1301,13 @@
4982 echo pdp10-unknown-its
4983 exit ;;
4984 SEI:*:*:SEIUX)
4985- echo mips-sei-seiux${UNAME_RELEASE}
4986+ echo mips-sei-seiux${UNAME_RELEASE}
4987 exit ;;
4988 *:DragonFly:*:*)
4989 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
4990 exit ;;
4991 *:*VMS:*:*)
4992- UNAME_MACHINE=`(uname -p) 2>/dev/null`
4993+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
4994 case "${UNAME_MACHINE}" in
4995 A*) echo alpha-dec-vms ; exit ;;
4996 I*) echo ia64-dec-vms ; exit ;;
4997@@ -1261,6 +1319,15 @@
4998 i*86:skyos:*:*)
4999 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
5000 exit ;;
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: