Imported Upstream version 0.5.4
Laurent Léonard
9 years ago
0 | 2012-09-17 Daniel P. Berrange <berrange@redhat.com> | |
1 | ||
2 | Update for 0.5.4 releae | |
3 | ||
4 | 2012-09-14 Daniel P. Berrange <berrange@redhat.com> | |
5 | ||
6 | Use a more specific regex to fix enum include paths | |
7 | Simply doing a search replace on $(srcdir) doesn't work very | |
8 | well in non-VPATH builds. Use a more specific regex that won't | |
9 | generate false matches | |
10 | ||
11 | Look in builddir for icons & strip build dir prefix from enum file includs | |
12 | ||
13 | Don't include generated icons in tar.gz and clean them up | |
14 | ||
15 | Convert to use Mingw64 toolchain for Windows biulds | |
16 | ||
17 | 2012-08-13 Christophe Fergeau <cfergeau@redhat.com> | |
18 | ||
19 | Document -f=auto-conf in remote-viewer --help | |
20 | virt-viewer does not support -f=auto-conf so this does not change the | |
21 | option there. | |
22 | Fixes rhbz#718001 | |
23 | ||
24 | 2012-08-10 Christophe Fergeau <cfergeau@redhat.com> | |
25 | ||
26 | Use real binary name in help message | |
27 | Now that we have 2 distinct binaries, remote-viewer and virt-viewer, | |
28 | 'PACKAGE' can no longer be used in error messages as the name of the | |
29 | binary. This causes a small inconsistency when running | |
30 | 'remote-viewer --foobar' as the error message would be: | |
31 | 'Unknown option --foobar | |
32 | Run 'virt-viewer --help' to see a full list of available command line options' | |
33 | ||
34 | This commit makes sure we use argv[0] for this message. | |
35 | Fixes rhbz#814150 | |
36 | ||
37 | 2012-07-23 Marc-André Lureau <marcandre.lureau@gmail.com> | |
38 | ||
39 | Show status page by default if display not ready | |
40 | Switch back to status page if display is not ready. | |
41 | ||
42 | Make status widget visible immediately | |
43 | GtkNotebook will use the currently visible widget as default page. | |
44 | If we don't show status widget before we append the display, the | |
45 | current page will be on display. Quoting Gtk+ documentation: | |
46 | ||
47 | "Note that due to historical reasons, GtkNotebook refuses to switch to | |
48 | a page unless the child widget is visible. Therefore, it is | |
49 | recommended to show child widgets before adding them to a notebook." | |
50 | ||
51 | vnc: when session is disconnected, make the display as non-ready | |
52 | ||
53 | Simplify display flag handling | |
54 | ||
55 | Add VirtViewerSession::session-display-updated | |
56 | Rebuild menu when agent is connected. Only when the agent is running | |
57 | may a display be enabled/disabled. | |
58 | ||
59 | Make the display submenu insensitive if display can't be selected | |
60 | ||
61 | spice: factor out main channel lookup code | |
62 | ||
63 | Add VirtViewerDisplay::selectable property | |
64 | This property will be set when the display can be selected to be | |
65 | "enabled" and shown (this can involve creating/connecting an | |
66 | additional guest monitor, and may need guest agent cooperation for | |
67 | example). | |
68 | ||
69 | Add virt_viewer_window_get_display() | |
70 | Getter used in following changes. | |
71 | ||
72 | Hook up handling of Monitors | |
73 | Rely on spice-gtk display channel monitors property to manage | |
74 | displays. The same display channel may now provide several monitors, | |
75 | the SpiceDisplay widget must be told which monitor to display | |
76 | ||
77 | Bump glib > 2.22, add compat file | |
78 | We use API from 2.22, and some from further version. Add | |
79 | virt-glib-compat.h fallback file for those. | |
80 | ||
81 | Use SpiceDisplay:ready property instead of channel mark | |
82 | The display can now check several conditions before the display can be | |
83 | shown, use that instead of display mark, which was not high-level | |
84 | enough. | |
85 | ||
86 | Number display starting from 1 | |
87 | ||
88 | Prevent from adding the same display several time in the session | |
89 | In virt_viewer_session_spice_display_monitors(), we (re)add the | |
90 | display unconditionnaly every time we receive a new MonitorConfig. | |
91 | ||
92 | Add a DISABLED display hint | |
93 | This flag will help to track whether the display has been | |
94 | removed/closed and whether it really has a valid display. | |
95 | ||
96 | Ready in contrast, is used to "hide" temporarily the display (when | |
97 | starting or redrawing the display, to avoid artifacts) | |
98 | ||
99 | Use virt_viewer_connect_object() for display | |
100 | When display is released, detach signal automatically. | |
101 | ||
102 | Fix various crash related to not cleaning up signal handlers properly, | |
103 | due to no longer 1-1 only relation between display widget and channel. | |
104 | ||
105 | Rebuild display menu when a window is added or removed | |
106 | ||
107 | Mark a menu string as translatable | |
108 | ||
109 | Run-time check values before doing bad computation | |
110 | ||
111 | Turn display:show-hint into flags type | |
112 | ||
113 | Destroy dialog immediately after run | |
114 | If the parent is already destroyed, it looks like the dialog is | |
115 | destroyed too. This avoids a crash when calling app_quit(). | |
116 | ||
117 | build: generate enums type boilerplate | |
118 | ||
119 | spice: disconnect signal handlers when either object is destroyed | |
120 | Use virt_viewer_signal_connect_object(), a copy of telepathy | |
121 | utility function tp_g_signal_connect_object(). This function | |
122 | will take care of removing signal handler if any of emitter or | |
123 | attached object are destroyed. | |
124 | ||
125 | The following patches will have this condition met, since there is no | |
126 | longer 1-1 relation between channel and display. The channels can | |
127 | continue to be around when some of the display are removed. | |
128 | ||
129 | spice: improve fullscreen=auto-conf | |
130 | Do keep client monitor position, do not align monitors automatically. | |
131 | The align property is only available since v0.12.101. | |
132 | ||
133 | 2012-07-03 Marc-André Lureau <marcandre.lureau@gmail.com> | |
134 | ||
135 | build: allow building with newer glibc-headers and -O0 | |
136 | Fix copied from libvirt, commit by Eric Blake. | |
137 | ||
138 | glibc 2.15 (on Fedora 17) coupled with explicit disabling of | |
139 | optimization during development dies a painful death: | |
140 | ||
141 | /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | |
142 | ||
143 | Work around this by only conditionally defining _FORTIFY_SOURCE, | |
144 | in the case where glibc can actually use it. The trick is using | |
145 | AH_VERBATIM instead of AC_DEFINE. | |
146 | ||
147 | 2012-06-15 Christophe Fergeau <cfergeau@redhat.com> | |
148 | ||
149 | Revert "Fix virt_viewer_app_activate return value" | |
150 | This reverts commit 3ce6df7c309068f36e2602692da809a153ed5688. This | |
151 | commit broke virt-viewer which expects this function to return -1 | |
152 | or 0 on error, and a positive value on success in | |
153 | virt_viewer_initial_connect. | |
154 | ||
155 | 2012-06-13 Christophe Fergeau <cfergeau@redhat.com> | |
156 | ||
157 | Fix virt_viewer_app_activate return value | |
158 | VirtViewerApp::activate is expected to return -1 on errors. | |
159 | It calls the VirtViewerSession::open_* methods, which return FALSE | |
160 | on error. However, VirtViewerApp::activate directly returns these | |
161 | boolean instead of testing the returned value and properly returning | |
162 | -1 on errors. This caused errors in these open methodes to be ignored. | |
163 | ||
164 | Fix various memory leaks | |
165 | ==25063== 59 bytes in 1 blocks are definitely lost in loss record 5,163 of 9,502 | |
166 | ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
167 | ==25063== by 0x3DE384D2BE: g_malloc (gmem.c:159) | |
168 | ==25063== by 0x3DE3862D0B: g_strdup (gstrfuncs.c:356) | |
169 | ==25063== by 0x41F40A: connected (remote-viewer-main.c:186) | |
170 | ==25063== by 0x3DE400F663: g_closure_invoke (gclosure.c:777) | |
171 | ==25063== by 0x3DE40206D7: signal_emit_unlocked_R (gsignal.c:3547) | |
172 | ==25063== by 0x3DE402866C: g_signal_emit_valist (gsignal.c:3296) | |
173 | ==25063== by 0x3DE4028CCF: g_signal_emit_by_name (gsignal.c:3389) | |
174 | ==25063== by 0x41AA53: reemit_signal_VOID (virt-viewer-session-ovirt.c:211) | |
175 | ==25063== by 0x3DE400F942: _g_closure_invoke_va (gclosure.c:840) | |
176 | ==25063== by 0x3DE4027D87: g_signal_emit_valist (gsignal.c:3207) | |
177 | ==25063== by 0x3DE4028CCF: g_signal_emit_by_name (gsignal.c:3389) | |
178 | ||
179 | ==25063== 14 bytes in 1 blocks are definitely lost in loss record 623 of 9,502 | |
180 | ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
181 | ==25063== by 0x34561092F7: __vasprintf_chk (vasprintf_chk.c:82) | |
182 | ==25063== by 0x3DE3882F1A: g_vasprintf (stdio2.h:199) | |
183 | ==25063== by 0x3DE3862EDC: g_strdup_vprintf (gstrfuncs.c:509) | |
184 | ==25063== by 0x3DE3862F7B: g_strdup_printf (gstrfuncs.c:535) | |
185 | ==25063== by 0x40CBAE: virt_viewer_app_update_pretty_address (virt-viewer-app.c:1538) | |
186 | ==25063== by 0x40FB55: virt_viewer_app_free_connect_info (virt-viewer-app.c:1707) | |
187 | ==25063== by 0x40FBE9: virt_viewer_app_dispose (virt-viewer-app.c:1291) | |
188 | ==25063== by 0x3DE40144F7: g_object_unref (gobject.c:2981) | |
189 | ==25063== by 0x40C31A: main (remote-viewer-main.c:336) | |
190 | ||
191 | ==25063== 10 bytes in 1 blocks are definitely lost in loss record 491 of 9,502 | |
192 | ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
193 | ==25063== by 0x34561092F7: __vasprintf_chk (vasprintf_chk.c:82) | |
194 | ==25063== by 0x3DE3882F1A: g_vasprintf (stdio2.h:199) | |
195 | ==25063== by 0x3DE3862EDC: g_strdup_vprintf (gstrfuncs.c:509) | |
196 | ==25063== by 0x3DE3862F7B: g_strdup_printf (gstrfuncs.c:535) | |
197 | ==25063== by 0x40DE36: window_update_menu_displays_cb (virt-viewer-app.c:1640) | |
198 | ==25063== by 0x3DE383833F: g_hash_table_foreach (ghash.c:1524) | |
199 | ==25063== by 0x3DE400F663: g_closure_invoke (gclosure.c:777) | |
200 | ==25063== by 0x3DE40206D7: signal_emit_unlocked_R (gsignal.c:3547) | |
201 | ==25063== by 0x3DE402866C: g_signal_emit_valist (gsignal.c:3296) | |
202 | ==25063== by 0x3DE40287C1: g_signal_emit (gsignal.c:3352) | |
203 | ==25063== by 0x5772F95: gtk_widget_show (gtkwidget.c:3225) | |
204 | ||
205 | ==25063== 8,431 (72 direct, 8,359 indirect) bytes in 1 blocks are definitely lost in loss record 9,468 of 9,502 | |
206 | ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
207 | ==25063== by 0x3DE384D2BE: g_malloc (gmem.c:159) | |
208 | ==25063== by 0x3DE38616B1: g_slice_alloc (gslice.c:1003) | |
209 | ==25063== by 0x3DE3861C05: g_slice_alloc0 (gslice.c:1029) | |
210 | ==25063== by 0x3DE402F96F: g_type_create_instance (gtype.c:1872) | |
211 | ==25063== by 0x3DE40147A7: g_object_constructor (gobject.c:1849) | |
212 | ==25063== by 0x3DE4016260: g_object_newv (gobject.c:1632) | |
213 | ==25063== by 0x3DE40168AB: g_object_new (gobject.c:1542) | |
214 | ==25063== by 0x40C4BD: virt_viewer_util_load_ui (virt-viewer-util.c:41) | |
215 | ==25063== by 0x40C7EB: virt_viewer_auth_collect_credentials (virt-viewer-auth.c:43) | |
216 | ==25063== by 0x41B391: authenticate_cb (virt-viewer-session-ovirt.c:430) | |
217 | ==25063== by 0x3458C05E8F: ffi_call_unix64 (unix64.S:75) | |
218 | ||
219 | ==25063== 32 (16 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 3,962 of 9,502 | |
220 | ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
221 | ==25063== by 0x3DE384D2BE: g_malloc (gmem.c:159) | |
222 | ==25063== by 0x3DE38616B1: g_slice_alloc (gslice.c:1003) | |
223 | ==25063== by 0x3DE38629F2: g_slist_append (gslist.c:222) | |
224 | ==25063== by 0x41483C: virt_viewer_window_init (virt-viewer-window.c:323) | |
225 | ==25063== by 0x3DE402FA05: g_type_create_instance (gtype.c:1892) | |
226 | ==25063== by 0x3DE40147A7: g_object_constructor (gobject.c:1849) | |
227 | ==25063== by 0x3DE4015D70: g_object_newv (gobject.c:1713) | |
228 | ==25063== by 0x3DE401655F: g_object_new_valist (gobject.c:1830) | |
229 | ==25063== by 0x3DE4016893: g_object_new (gobject.c:1545) | |
230 | ==25063== by 0x40DA34: virt_viewer_app_window_new (virt-viewer-app.c:590) | |
231 | ==25063== by 0x40E300: virt_viewer_app_constructor (virt-viewer-app.c:1336) | |
232 | ||
233 | ==30355== 4 bytes in 1 blocks are definitely lost in loss record 53 of 9,267 | |
234 | ==30355== at 0x4A0884D: malloc (vg_replace_malloc.c:263) | |
235 | ==30355== by 0x3DE384D2BE: g_malloc (gmem.c:159) | |
236 | ==30355== by 0x3DE3862D0B: g_strdup (gstrfuncs.c:356) | |
237 | ==30355== by 0x3DE40360FC: value_copy_string (gvaluetypes.c:276) | |
238 | ==30355== by 0x3DE40340CA: g_value_transform (gvalue.c:535) | |
239 | ==30355== by 0x3FDAE621DD: gdk_screen_get_setting (gdkevents-x11.c:3022) | |
240 | ==30355== by 0x3FDB3C7415: gtk_settings_get_property (gtksettings.c:1152) | |
241 | ==30355== by 0x3DE4017A74: g_object_get_property (gobject.c:1289) | |
242 | ==30355== by 0x414991: virt_viewer_window_disable_modifiers (virt-viewer-window.c:616) | |
243 | ==30355== by 0x415922: virt_viewer_window_keyboard_grab (virt-viewer-window.c:931) | |
244 | ==30355== by 0x3DE400F942: _g_closure_invoke_va (gclosure.c:840) | |
245 | ==30355== by 0x3DE4027D87: g_signal_emit_valist (gsignal.c:3207) | |
246 | ||
247 | Don't leak SPICE ticket | |
248 | ||
249 | 2012-05-17 Marc-André Lureau <marcandre.lureau@gmail.com> | |
250 | ||
251 | spice: use weak references to display channel | |
252 | Fix switch-host migration with Spice. | |
253 | ||
254 | spice-gtk doesn't like channels staying around when they should be | |
255 | destroyed/finalized, ie removed from session. | |
256 | ||
257 | spice-gtk should probably learned to handle better the case of non | |
258 | cooperating clients, and be able to dissociate a channel from a | |
259 | session without waiting for it to be disposed, but for now, the | |
260 | relation is quite tight. | |
261 | ||
0 | 262 | 2012-05-15 Daniel P. Berrange <berrange@redhat.com> |
1 | 263 | |
2 | 264 | Avoid use of deprecated GTK3 pointer APIs |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, | |
4 | 4 | Inc. |
5 | 5 | |
6 | 6 | Copying and distribution of this file, with or without modification, |
308 | 308 | overridden in the site shell script). |
309 | 309 | |
310 | 310 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
311 | an Autoconf bug. Until the bug is fixed you can use this workaround: | |
312 | ||
313 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | |
311 | an Autoconf limitation. Until the limitation is lifted, you can use | |
312 | this workaround: | |
313 | ||
314 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash | |
314 | 315 | |
315 | 316 | `configure' Invocation |
316 | 317 | ====================== |
366 | 367 | |
367 | 368 | `configure' also accepts some other, not widely useful, options. Run |
368 | 369 | `configure --help' for more details. |
369 |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 13 | |
15 | 14 | @SET_MAKE@ |
16 | 15 | VPATH = @srcdir@ |
16 | am__make_dryrun = \ | |
17 | { \ | |
18 | am__dry=no; \ | |
19 | case $$MAKEFLAGS in \ | |
20 | *\\[\ \ ]*) \ | |
21 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
22 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
23 | *) \ | |
24 | for am__flg in $$MAKEFLAGS; do \ | |
25 | case $$am__flg in \ | |
26 | *=*|--*) ;; \ | |
27 | *n*) am__dry=yes; break;; \ | |
28 | esac; \ | |
29 | done;; \ | |
30 | esac; \ | |
31 | test $$am__dry = yes; \ | |
32 | } | |
17 | 33 | pkgdatadir = $(datadir)/@PACKAGE@ |
18 | 34 | pkgincludedir = $(includedir)/@PACKAGE@ |
19 | 35 | pkglibdir = $(libdir)/@PACKAGE@ |
35 | 51 | subdir = . |
36 | 52 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
37 | 53 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
38 | $(srcdir)/mingw32-virt-viewer.spec.in \ | |
39 | $(srcdir)/virt-viewer.spec.in $(top_srcdir)/configure AUTHORS \ | |
40 | COPYING ChangeLog INSTALL NEWS build-aux/compile \ | |
41 | build-aux/config.guess build-aux/config.sub build-aux/depcomp \ | |
54 | $(srcdir)/mingw-virt-viewer.spec.in \ | |
55 | $(srcdir)/virt-viewer.spec.in $(top_srcdir)/build-aux/compile \ | |
56 | $(top_srcdir)/build-aux/config.guess \ | |
57 | $(top_srcdir)/build-aux/config.sub \ | |
58 | $(top_srcdir)/build-aux/install-sh \ | |
59 | $(top_srcdir)/build-aux/ltmain.sh \ | |
60 | $(top_srcdir)/build-aux/missing $(top_srcdir)/configure \ | |
61 | AUTHORS COPYING ChangeLog INSTALL NEWS build-aux/compile \ | |
62 | build-aux/config.guess build-aux/config.sub \ | |
42 | 63 | build-aux/install-sh build-aux/ltmain.sh build-aux/missing |
43 | 64 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
44 | 65 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ |
52 | 73 | configure.lineno config.status.lineno |
53 | 74 | mkinstalldirs = $(install_sh) -d |
54 | 75 | CONFIG_HEADER = config.h |
55 | CONFIG_CLEAN_FILES = mingw32-virt-viewer.spec virt-viewer.spec | |
76 | CONFIG_CLEAN_FILES = mingw-virt-viewer.spec virt-viewer.spec | |
56 | 77 | CONFIG_CLEAN_VPATH_FILES = |
78 | AM_V_P = $(am__v_P_@AM_V@) | |
79 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
80 | am__v_P_0 = false | |
81 | am__v_P_1 = : | |
57 | 82 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
58 | 83 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
59 | am__v_GEN_0 = @echo " GEN " $@; | |
84 | am__v_GEN_0 = @echo " GEN " $@; | |
85 | am__v_GEN_1 = | |
60 | 86 | AM_V_at = $(am__v_at_@AM_V@) |
61 | 87 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
62 | 88 | am__v_at_0 = @ |
89 | am__v_at_1 = | |
63 | 90 | SOURCES = |
64 | 91 | DIST_SOURCES = |
65 | 92 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
69 | 96 | install-pdf-recursive install-ps-recursive install-recursive \ |
70 | 97 | installcheck-recursive installdirs-recursive pdf-recursive \ |
71 | 98 | ps-recursive uninstall-recursive |
99 | am__can_run_installinfo = \ | |
100 | case $$AM_UPDATE_INFO_DIR in \ | |
101 | n|no|NO) false;; \ | |
102 | *) (install-info --version) >/dev/null 2>&1;; \ | |
103 | esac | |
72 | 104 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
73 | 105 | distclean-recursive maintainer-clean-recursive |
74 | 106 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
75 | 107 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
76 | distdir dist dist-all distcheck | |
108 | cscope distdir dist dist-all distcheck | |
77 | 109 | ETAGS = etags |
78 | 110 | CTAGS = ctags |
111 | CSCOPE = cscope | |
79 | 112 | DIST_SUBDIRS = $(SUBDIRS) |
80 | 113 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
81 | 114 | distdir = $(PACKAGE)-$(VERSION) |
86 | 119 | && rm -rf "$(distdir)" \ |
87 | 120 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
88 | 121 | else :; fi |
122 | am__post_remove_distdir = $(am__remove_distdir) | |
89 | 123 | am__relativize = \ |
90 | 124 | dir0=`pwd`; \ |
91 | 125 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
113 | 147 | reldir="$$dir2" |
114 | 148 | DIST_ARCHIVES = $(distdir).tar.gz |
115 | 149 | GZIP_ENV = --best |
150 | DIST_TARGETS = dist-gzip | |
116 | 151 | distuninstallcheck_listfiles = find . -type f -print |
117 | 152 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
118 | 153 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
151 | 186 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
152 | 187 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ |
153 | 188 | GLIB2_LIBS = @GLIB2_LIBS@ |
189 | GLIB_MKENUMS = @GLIB_MKENUMS@ | |
154 | 190 | GMOFILES = @GMOFILES@ |
155 | 191 | GMSGFMT = @GMSGFMT@ |
156 | 192 | GREP = @GREP@ |
387 | 423 | |
388 | 424 | distclean-hdr: |
389 | 425 | -rm -f config.h stamp-h1 |
390 | mingw32-virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/mingw32-virt-viewer.spec.in | |
426 | mingw-virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/mingw-virt-viewer.spec.in | |
391 | 427 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
392 | 428 | virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/virt-viewer.spec.in |
393 | 429 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
402 | 438 | -rm -f libtool config.lt |
403 | 439 | |
404 | 440 | # This directory's subdirectories are mostly independent; you can cd |
405 | # into them and run `make' without going through this Makefile. | |
406 | # To change the values of `make' variables: instead of editing Makefiles, | |
407 | # (1) if the variable is set in `config.status', edit `config.status' | |
408 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
409 | # (2) otherwise, pass the desired values on the `make' command line. | |
410 | $(RECURSIVE_TARGETS): | |
441 | # into them and run 'make' without going through this Makefile. | |
442 | # To change the values of 'make' variables: instead of editing Makefiles, | |
443 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
444 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
445 | # (2) otherwise, pass the desired values on the 'make' command line. | |
446 | $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): | |
411 | 447 | @fail= failcom='exit 1'; \ |
412 | 448 | for f in x $$MAKEFLAGS; do \ |
413 | 449 | case $$f in \ |
417 | 453 | done; \ |
418 | 454 | dot_seen=no; \ |
419 | 455 | target=`echo $@ | sed s/-recursive//`; \ |
420 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
456 | case "$@" in \ | |
457 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
458 | *) list='$(SUBDIRS)' ;; \ | |
459 | esac; \ | |
460 | for subdir in $$list; do \ | |
421 | 461 | echo "Making $$target in $$subdir"; \ |
422 | 462 | if test "$$subdir" = "."; then \ |
423 | 463 | dot_seen=yes; \ |
431 | 471 | if test "$$dot_seen" = "no"; then \ |
432 | 472 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
433 | 473 | fi; test -z "$$fail" |
434 | ||
435 | $(RECURSIVE_CLEAN_TARGETS): | |
436 | @fail= failcom='exit 1'; \ | |
437 | for f in x $$MAKEFLAGS; do \ | |
438 | case $$f in \ | |
439 | *=* | --[!k]*);; \ | |
440 | *k*) failcom='fail=yes';; \ | |
441 | esac; \ | |
442 | done; \ | |
443 | dot_seen=no; \ | |
444 | case "$@" in \ | |
445 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
446 | *) list='$(SUBDIRS)' ;; \ | |
447 | esac; \ | |
448 | rev=''; for subdir in $$list; do \ | |
449 | if test "$$subdir" = "."; then :; else \ | |
450 | rev="$$subdir $$rev"; \ | |
451 | fi; \ | |
452 | done; \ | |
453 | rev="$$rev ."; \ | |
454 | target=`echo $@ | sed s/-recursive//`; \ | |
455 | for subdir in $$rev; do \ | |
456 | echo "Making $$target in $$subdir"; \ | |
457 | if test "$$subdir" = "."; then \ | |
458 | local_target="$$target-am"; \ | |
459 | else \ | |
460 | local_target="$$target"; \ | |
461 | fi; \ | |
462 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
463 | || eval $$failcom; \ | |
464 | done && test -z "$$fail" | |
465 | 474 | tags-recursive: |
466 | 475 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
467 | 476 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
469 | 478 | ctags-recursive: |
470 | 479 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
471 | 480 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
481 | done | |
482 | cscopelist-recursive: | |
483 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
484 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ | |
472 | 485 | done |
473 | 486 | |
474 | 487 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
533 | 546 | && $(am__cd) $(top_srcdir) \ |
534 | 547 | && gtags -i $(GTAGS_ARGS) "$$here" |
535 | 548 | |
549 | cscope: cscope.files | |
550 | test ! -s cscope.files \ | |
551 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
552 | ||
553 | clean-cscope: | |
554 | -rm -f cscope.files | |
555 | ||
556 | cscope.files: clean-cscope cscopelist-recursive cscopelist | |
557 | ||
558 | cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) | |
559 | list='$(SOURCES) $(HEADERS) $(LISP)'; \ | |
560 | case "$(srcdir)" in \ | |
561 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
562 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
563 | esac; \ | |
564 | for i in $$list; do \ | |
565 | if test -f "$$i"; then \ | |
566 | echo "$(subdir)/$$i"; \ | |
567 | else \ | |
568 | echo "$$sdir/$$i"; \ | |
569 | fi; \ | |
570 | done >> $(top_builddir)/cscope.files | |
571 | ||
536 | 572 | distclean-tags: |
537 | 573 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
574 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
538 | 575 | |
539 | 576 | distdir: $(DISTFILES) |
540 | 577 | $(am__remove_distdir) |
570 | 607 | done |
571 | 608 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
572 | 609 | if test "$$subdir" = .; then :; else \ |
573 | test -d "$(distdir)/$$subdir" \ | |
574 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
575 | || exit 1; \ | |
576 | fi; \ | |
577 | done | |
578 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
579 | if test "$$subdir" = .; then :; else \ | |
610 | $(am__make_dryrun) \ | |
611 | || test -d "$(distdir)/$$subdir" \ | |
612 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
613 | || exit 1; \ | |
580 | 614 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
581 | 615 | $(am__relativize); \ |
582 | 616 | new_distdir=$$reldir; \ |
608 | 642 | || chmod -R a+r "$(distdir)" |
609 | 643 | dist-gzip: distdir |
610 | 644 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
611 | $(am__remove_distdir) | |
645 | $(am__post_remove_distdir) | |
612 | 646 | |
613 | 647 | dist-bzip2: distdir |
614 | 648 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
615 | $(am__remove_distdir) | |
649 | $(am__post_remove_distdir) | |
616 | 650 | |
617 | 651 | dist-lzip: distdir |
618 | 652 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
619 | $(am__remove_distdir) | |
620 | ||
621 | dist-lzma: distdir | |
622 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
623 | $(am__remove_distdir) | |
653 | $(am__post_remove_distdir) | |
624 | 654 | |
625 | 655 | dist-xz: distdir |
626 | 656 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
627 | $(am__remove_distdir) | |
657 | $(am__post_remove_distdir) | |
628 | 658 | |
629 | 659 | dist-tarZ: distdir |
630 | 660 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
631 | $(am__remove_distdir) | |
661 | $(am__post_remove_distdir) | |
632 | 662 | |
633 | 663 | dist-shar: distdir |
634 | 664 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
635 | $(am__remove_distdir) | |
665 | $(am__post_remove_distdir) | |
636 | 666 | |
637 | 667 | dist-zip: distdir |
638 | 668 | -rm -f $(distdir).zip |
639 | 669 | zip -rq $(distdir).zip $(distdir) |
640 | $(am__remove_distdir) | |
641 | ||
642 | dist dist-all: distdir | |
643 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
644 | $(am__remove_distdir) | |
670 | $(am__post_remove_distdir) | |
671 | ||
672 | dist dist-all: | |
673 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
674 | $(am__post_remove_distdir) | |
645 | 675 | |
646 | 676 | # This target untars the dist file and tries a VPATH configuration. Then |
647 | 677 | # it guarantees that the distribution is self-contained by making another |
652 | 682 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
653 | 683 | *.tar.bz2*) \ |
654 | 684 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
655 | *.tar.lzma*) \ | |
656 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
657 | 685 | *.tar.lz*) \ |
658 | 686 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
659 | 687 | *.tar.xz*) \ |
665 | 693 | *.zip*) \ |
666 | 694 | unzip $(distdir).zip ;;\ |
667 | 695 | esac |
668 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
696 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
669 | 697 | mkdir $(distdir)/_build |
670 | 698 | mkdir $(distdir)/_inst |
671 | 699 | chmod a-w $(distdir) |
699 | 727 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
700 | 728 | && cd "$$am__cwd" \ |
701 | 729 | || exit 1 |
702 | $(am__remove_distdir) | |
730 | $(am__post_remove_distdir) | |
703 | 731 | @(echo "$(distdir) archives ready for distribution: "; \ |
704 | 732 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
705 | 733 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
836 | 864 | uninstall-am: |
837 | 865 | |
838 | 866 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
839 | ctags-recursive install-am install-strip tags-recursive | |
867 | cscopelist-recursive ctags-recursive install-am install-strip \ | |
868 | tags-recursive | |
840 | 869 | |
841 | 870 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
842 | all all-am am--refresh check check-am clean clean-generic \ | |
843 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | |
844 | dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \ | |
871 | all all-am am--refresh check check-am clean clean-cscope \ | |
872 | clean-generic clean-libtool cscope cscopelist \ | |
873 | cscopelist-recursive ctags ctags-recursive dist dist-all \ | |
874 | dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \ | |
845 | 875 | dist-xz dist-zip distcheck distclean distclean-generic \ |
846 | 876 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ |
847 | 877 | distdir distuninstallcheck dvi dvi-am html html-am info \ |
0 | 0 | Virt Viewer News |
1 | 1 | ================ |
2 | ||
3 | 0.5.4: Sep 17, 2012 | |
4 | ------------------- | |
5 | ||
6 | - Fix host migration with Spice | |
7 | - Fix misc memory leaks | |
8 | - Fix build with newer glibc and -O0 | |
9 | - Improve automatic fullscreen Spice configuration | |
10 | - Avoid crash when quiting application | |
11 | - Rebuild display men whenever a window is added/removed | |
12 | - Number displays starting from 1 instead of 0 | |
13 | - Add support for handling multiple monitors with Spice | |
14 | - Menu display menu insensitive if no displays can be selected | |
15 | - Use real binary name in remote-viewer help message | |
16 | - Document -f=auto-conf in remote-viewer help | |
2 | 17 | |
3 | 18 | 0.5.3: May 14, 2012 |
4 | 19 | ------------------- |
18 | 18 | |
19 | 19 | http://gtk-vnc.sourceforge.net/ |
20 | 20 | |
21 | Virt Viewer uses the SPICE-GTK (>= 0.11) widget to provide a | |
21 | Virt Viewer uses the SPICE-GTK (>= 0.12.101) widget to provide a | |
22 | 22 | display of the SPICE protocol, which is available from: |
23 | 23 | |
24 | 24 | http://spice-space.org/page/Spice-Gtk |
18 | 18 | |
19 | 19 | warnCFLAGS= |
20 | 20 | |
21 | try_compiler_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" | |
21 | try_compiler_flags="-fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" | |
22 | 22 | |
23 | 23 | case "$enable_compile_warnings" in |
24 | 24 | no) |
42 | 42 | AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) |
43 | 43 | ;; |
44 | 44 | esac |
45 | ||
46 | AH_VERBATIM([FORTIFY_SOURCE], | |
47 | [/* Enable compile-time and run-time bounds-checking, and some warnings. */ | |
48 | #if defined __OPTIMIZE__ && __OPTIMIZE__ | |
49 | # define _FORTIFY_SOURCE 2 | |
50 | #endif | |
51 | ]) | |
45 | 52 | |
46 | 53 | compiler_flags= |
47 | 54 | for option in $try_compiler_flags; do |
0 | # generated automatically by aclocal 1.11.3 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
0 | # generated automatically by aclocal 1.12.2 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
3 | ||
5 | 4 | # This file is free software; the Free Software Foundation |
6 | 5 | # gives unlimited permission to copy and/or distribute it, |
7 | 6 | # with or without modifications, as long as this notice is preserved. |
17 | 16 | [m4_warning([this file was generated for autoconf 2.68. |
18 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
19 | 18 | If you have problems, you may need to regenerate the build system entirely. |
20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
19 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
21 | 20 | |
22 | 21 | # Copyright (C) 1995-2002 Free Software Foundation, Inc. |
23 | 22 | # Copyright (C) 2001-2003,2004 Red Hat, Inc. |
647 | 646 | fi[]dnl |
648 | 647 | ])# PKG_CHECK_MODULES |
649 | 648 | |
650 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
651 | # Foundation, Inc. | |
652 | # | |
653 | # This file is free software; the Free Software Foundation | |
654 | # gives unlimited permission to copy and/or distribute it, | |
655 | # with or without modifications, as long as this notice is preserved. | |
656 | ||
657 | # serial 1 | |
649 | # Copyright (C) 2002-2012 Free Software Foundation, Inc. | |
650 | # | |
651 | # This file is free software; the Free Software Foundation | |
652 | # gives unlimited permission to copy and/or distribute it, | |
653 | # with or without modifications, as long as this notice is preserved. | |
654 | ||
655 | # serial 8 | |
658 | 656 | |
659 | 657 | # AM_AUTOMAKE_VERSION(VERSION) |
660 | 658 | # ---------------------------- |
662 | 660 | # generated from the m4 files accompanying Automake X.Y. |
663 | 661 | # (This private macro should not be called outside this file.) |
664 | 662 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
665 | [am__api_version='1.11' | |
663 | [am__api_version='1.12' | |
666 | 664 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
667 | 665 | dnl require some minimum version. Point them to the right macro. |
668 | m4_if([$1], [1.11.3], [], | |
666 | m4_if([$1], [1.12.2], [], | |
669 | 667 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
670 | 668 | ]) |
671 | 669 | |
681 | 679 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
682 | 680 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
683 | 681 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
684 | [AM_AUTOMAKE_VERSION([1.11.3])dnl | |
682 | [AM_AUTOMAKE_VERSION([1.12.2])dnl | |
685 | 683 | m4_ifndef([AC_AUTOCONF_VERSION], |
686 | 684 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
687 | 685 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
688 | 686 | |
689 | 687 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
690 | 688 | |
691 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
692 | # | |
693 | # This file is free software; the Free Software Foundation | |
694 | # gives unlimited permission to copy and/or distribute it, | |
695 | # with or without modifications, as long as this notice is preserved. | |
696 | ||
697 | # serial 1 | |
689 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
690 | # | |
691 | # This file is free software; the Free Software Foundation | |
692 | # gives unlimited permission to copy and/or distribute it, | |
693 | # with or without modifications, as long as this notice is preserved. | |
694 | ||
695 | # serial 2 | |
698 | 696 | |
699 | 697 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
700 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
701 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
698 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
699 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
702 | 700 | # |
703 | 701 | # Of course, Automake must honor this variable whenever it calls a |
704 | 702 | # tool from the auxiliary directory. The problem is that $srcdir (and |
717 | 715 | # |
718 | 716 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
719 | 717 | # are both prefixed by $srcdir. In an in-source build this is usually |
720 | # harmless because $srcdir is `.', but things will broke when you | |
718 | # harmless because $srcdir is '.', but things will broke when you | |
721 | 719 | # start a VPATH build or use an absolute $srcdir. |
722 | 720 | # |
723 | 721 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
743 | 741 | |
744 | 742 | # AM_CONDITIONAL -*- Autoconf -*- |
745 | 743 | |
746 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
747 | # Free Software Foundation, Inc. | |
748 | # | |
749 | # This file is free software; the Free Software Foundation | |
750 | # gives unlimited permission to copy and/or distribute it, | |
751 | # with or without modifications, as long as this notice is preserved. | |
752 | ||
753 | # serial 9 | |
744 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
745 | # | |
746 | # This file is free software; the Free Software Foundation | |
747 | # gives unlimited permission to copy and/or distribute it, | |
748 | # with or without modifications, as long as this notice is preserved. | |
749 | ||
750 | # serial 10 | |
754 | 751 | |
755 | 752 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
756 | 753 | # ------------------------------------- |
757 | 754 | # Define a conditional. |
758 | 755 | AC_DEFUN([AM_CONDITIONAL], |
759 | [AC_PREREQ(2.52)dnl | |
760 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
761 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
756 | [AC_PREREQ([2.52])dnl | |
757 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
758 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
762 | 759 | AC_SUBST([$1_TRUE])dnl |
763 | 760 | AC_SUBST([$1_FALSE])dnl |
764 | 761 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
777 | 774 | Usually this means the macro was only invoked conditionally.]]) |
778 | 775 | fi])]) |
779 | 776 | |
780 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
781 | # 2010, 2011 Free Software Foundation, Inc. | |
782 | # | |
783 | # This file is free software; the Free Software Foundation | |
784 | # gives unlimited permission to copy and/or distribute it, | |
785 | # with or without modifications, as long as this notice is preserved. | |
786 | ||
787 | # serial 12 | |
788 | ||
789 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
777 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
778 | # | |
779 | # This file is free software; the Free Software Foundation | |
780 | # gives unlimited permission to copy and/or distribute it, | |
781 | # with or without modifications, as long as this notice is preserved. | |
782 | ||
783 | # serial 17 | |
784 | ||
785 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
790 | 786 | # written in clear, in which case automake, when reading aclocal.m4, |
791 | 787 | # will think it sees a *use*, and therefore will trigger all it's |
792 | 788 | # C support machinery. Also note that it means that autoscan, seeing |
796 | 792 | # _AM_DEPENDENCIES(NAME) |
797 | 793 | # ---------------------- |
798 | 794 | # See how the compiler implements dependency checking. |
799 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
795 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
800 | 796 | # We try a few techniques and use that to set a single cache variable. |
801 | 797 | # |
802 | 798 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
809 | 805 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
810 | 806 | AC_REQUIRE([AM_DEP_TRACK])dnl |
811 | 807 | |
812 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
813 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
814 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
815 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
816 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
817 | [depcc="$$1" am_compiler_list=]) | |
808 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
809 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
810 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
811 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
812 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
813 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
814 | [depcc="$$1" am_compiler_list=]) | |
818 | 815 | |
819 | 816 | AC_CACHE_CHECK([dependency style of $depcc], |
820 | 817 | [am_cv_$1_dependencies_compiler_type], |
822 | 819 | # We make a subdir and do the tests there. Otherwise we can end up |
823 | 820 | # making bogus files that we don't know about and never remove. For |
824 | 821 | # instance it was reported that on HP-UX the gcc test will end up |
825 | # making a dummy file named `D' -- because `-MD' means `put the output | |
826 | # in D'. | |
822 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
823 | # in D". | |
827 | 824 | rm -rf conftest.dir |
828 | 825 | mkdir conftest.dir |
829 | 826 | # Copy depcomp to subdir because otherwise we won't find it if we're |
863 | 860 | : > sub/conftest.c |
864 | 861 | for i in 1 2 3 4 5 6; do |
865 | 862 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
866 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
867 | # Solaris 8's {/usr,}/bin/sh. | |
868 | touch sub/conftst$i.h | |
863 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
864 | # Solaris 10 /bin/sh. | |
865 | echo '/* dummy */' > sub/conftst$i.h | |
869 | 866 | done |
870 | 867 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
871 | 868 | |
872 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
869 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
873 | 870 | # mode. It turns out that the SunPro C++ compiler does not properly |
874 | # handle `-M -o', and we need to detect this. Also, some Intel | |
875 | # versions had trouble with output in subdirs | |
871 | # handle '-M -o', and we need to detect this. Also, some Intel | |
872 | # versions had trouble with output in subdirs. | |
876 | 873 | am__obj=sub/conftest.${OBJEXT-o} |
877 | 874 | am__minus_obj="-o $am__obj" |
878 | 875 | case $depmode in |
881 | 878 | test "$am__universal" = false || continue |
882 | 879 | ;; |
883 | 880 | nosideeffect) |
884 | # after this tag, mechanisms are not by side-effect, so they'll | |
885 | # only be used when explicitly requested | |
881 | # After this tag, mechanisms are not by side-effect, so they'll | |
882 | # only be used when explicitly requested. | |
886 | 883 | if test "x$enable_dependency_tracking" = xyes; then |
887 | 884 | continue |
888 | 885 | else |
890 | 887 | fi |
891 | 888 | ;; |
892 | 889 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
893 | # This compiler won't grok `-c -o', but also, the minuso test has | |
890 | # This compiler won't grok '-c -o', but also, the minuso test has | |
894 | 891 | # not run yet. These depmodes are late enough in the game, and |
895 | 892 | # so weak that their functioning should not be impacted. |
896 | 893 | am__obj=conftest.${OBJEXT-o} |
938 | 935 | # AM_SET_DEPDIR |
939 | 936 | # ------------- |
940 | 937 | # Choose a directory name for dependency files. |
941 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
938 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
942 | 939 | AC_DEFUN([AM_SET_DEPDIR], |
943 | 940 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
944 | 941 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
948 | 945 | # AM_DEP_TRACK |
949 | 946 | # ------------ |
950 | 947 | AC_DEFUN([AM_DEP_TRACK], |
951 | [AC_ARG_ENABLE(dependency-tracking, | |
952 | [ --disable-dependency-tracking speeds up one-time build | |
953 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
948 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
949 | AS_HELP_STRING( | |
950 | [--enable-dependency-tracking], | |
951 | [do not reject slow dependency extractors]) | |
952 | AS_HELP_STRING( | |
953 | [--disable-dependency-tracking], | |
954 | [speeds up one-time build])]) | |
954 | 955 | if test "x$enable_dependency_tracking" != xno; then |
955 | 956 | am_depcomp="$ac_aux_dir/depcomp" |
956 | 957 | AMDEPBACKSLASH='\' |
965 | 966 | |
966 | 967 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
967 | 968 | |
968 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
969 | # Free Software Foundation, Inc. | |
970 | # | |
971 | # This file is free software; the Free Software Foundation | |
972 | # gives unlimited permission to copy and/or distribute it, | |
973 | # with or without modifications, as long as this notice is preserved. | |
974 | ||
975 | #serial 5 | |
969 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
970 | # | |
971 | # This file is free software; the Free Software Foundation | |
972 | # gives unlimited permission to copy and/or distribute it, | |
973 | # with or without modifications, as long as this notice is preserved. | |
974 | ||
975 | # serial 6 | |
976 | 976 | |
977 | 977 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
978 | 978 | # ------------------------------ |
991 | 991 | # Strip MF so we end up with the name of the file. |
992 | 992 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
993 | 993 | # Check whether this is an Automake generated Makefile or not. |
994 | # We used to match only the files named `Makefile.in', but | |
994 | # We used to match only the files named 'Makefile.in', but | |
995 | 995 | # some people rename them; so instead we look at the file content. |
996 | 996 | # Grep'ing the first line is not enough: some people post-process |
997 | 997 | # each Makefile.in and add a new line on top of each file to say so. |
1003 | 1003 | continue |
1004 | 1004 | fi |
1005 | 1005 | # Extract the definition of DEPDIR, am__include, and am__quote |
1006 | # from the Makefile without running `make'. | |
1006 | # from the Makefile without running 'make'. | |
1007 | 1007 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
1008 | 1008 | test -z "$DEPDIR" && continue |
1009 | 1009 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
1010 | 1010 | test -z "am__include" && continue |
1011 | 1011 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
1012 | # When using ansi2knr, U may be empty or an underscore; expand it | |
1013 | U=`sed -n 's/^U = //p' < "$mf"` | |
1014 | 1012 | # Find all dependency output files, they are included files with |
1015 | 1013 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
1016 | 1014 | # simplest approach to changing $(DEPDIR) to its actual value in the |
1017 | 1015 | # expansion. |
1018 | 1016 | for file in `sed -n " |
1019 | 1017 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
1020 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
1018 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
1021 | 1019 | # Make sure the directory exists. |
1022 | 1020 | test -f "$dirpart/$file" && continue |
1023 | 1021 | fdir=`AS_DIRNAME(["$file"])` |
1035 | 1033 | # This macro should only be invoked once -- use via AC_REQUIRE. |
1036 | 1034 | # |
1037 | 1035 | # This code is only required when automatic dependency tracking |
1038 | # is enabled. FIXME. This creates each `.P' file that we will | |
1036 | # is enabled. FIXME. This creates each '.P' file that we will | |
1039 | 1037 | # need in order to bootstrap the dependency handling code. |
1040 | 1038 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
1041 | 1039 | [AC_CONFIG_COMMANDS([depfiles], |
1043 | 1041 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
1044 | 1042 | ]) |
1045 | 1043 | |
1046 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
1047 | # Free Software Foundation, Inc. | |
1044 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
1048 | 1045 | # |
1049 | 1046 | # This file is free software; the Free Software Foundation |
1050 | 1047 | # gives unlimited permission to copy and/or distribute it, |
1057 | 1054 | |
1058 | 1055 | # Do all the work for Automake. -*- Autoconf -*- |
1059 | 1056 | |
1060 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
1061 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
1062 | # | |
1063 | # This file is free software; the Free Software Foundation | |
1064 | # gives unlimited permission to copy and/or distribute it, | |
1065 | # with or without modifications, as long as this notice is preserved. | |
1066 | ||
1067 | # serial 16 | |
1057 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
1058 | # | |
1059 | # This file is free software; the Free Software Foundation | |
1060 | # gives unlimited permission to copy and/or distribute it, | |
1061 | # with or without modifications, as long as this notice is preserved. | |
1062 | ||
1063 | # serial 19 | |
1068 | 1064 | |
1069 | 1065 | # This macro actually does too much. Some checks are only needed if |
1070 | 1066 | # your package does certain things. But this isn't really a big deal. |
1110 | 1106 | # Define the identity of the package. |
1111 | 1107 | dnl Distinguish between old-style and new-style calls. |
1112 | 1108 | m4_ifval([$2], |
1113 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
1109 | [AC_DIAGNOSE([obsolete], | |
1110 | [$0: two- and three-arguments forms are deprecated. For more info, see: | |
1111 | http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) | |
1112 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
1114 | 1113 | AC_SUBST([PACKAGE], [$1])dnl |
1115 | 1114 | AC_SUBST([VERSION], [$2])], |
1116 | 1115 | [_AM_SET_OPTIONS([$1])dnl |
1117 | 1116 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
1118 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
1117 | m4_if( | |
1118 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
1119 | [ok:ok],, | |
1119 | 1120 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
1120 | 1121 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
1121 | 1122 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
1122 | 1123 | |
1123 | 1124 | _AM_IF_OPTION([no-define],, |
1124 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
1125 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
1125 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
1126 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
1126 | 1127 | |
1127 | 1128 | # Some tools Automake needs. |
1128 | 1129 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
1129 | 1130 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
1130 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
1131 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
1132 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
1133 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
1134 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
1131 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
1132 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
1133 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
1134 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
1135 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
1135 | 1136 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
1136 | 1137 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
1137 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
1138 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
1139 | # For better backward compatibility. To be removed once Automake 1.9.x | |
1140 | # dies out for good. For more background, see: | |
1141 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
1142 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
1143 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
1138 | 1144 | # We need awk for the "check" target. The system "awk" is bad on |
1139 | 1145 | # some platforms. |
1140 | 1146 | AC_REQUIRE([AC_PROG_AWK])dnl |
1145 | 1151 | [_AM_PROG_TAR([v7])])]) |
1146 | 1152 | _AM_IF_OPTION([no-dependencies],, |
1147 | 1153 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
1148 | [_AM_DEPENDENCIES(CC)], | |
1149 | [define([AC_PROG_CC], | |
1150 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
1154 | [_AM_DEPENDENCIES([CC])], | |
1155 | [m4_define([AC_PROG_CC], | |
1156 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
1151 | 1157 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
1152 | [_AM_DEPENDENCIES(CXX)], | |
1153 | [define([AC_PROG_CXX], | |
1154 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
1158 | [_AM_DEPENDENCIES([CXX])], | |
1159 | [m4_define([AC_PROG_CXX], | |
1160 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
1155 | 1161 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
1156 | [_AM_DEPENDENCIES(OBJC)], | |
1157 | [define([AC_PROG_OBJC], | |
1158 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
1162 | [_AM_DEPENDENCIES([OBJC])], | |
1163 | [m4_define([AC_PROG_OBJC], | |
1164 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
1165 | dnl Support for Objective C++ was only introduced in Autoconf 2.65, | |
1166 | dnl but we still cater to Autoconf 2.62. | |
1167 | m4_ifdef([AC_PROG_OBJCXX], | |
1168 | [AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
1169 | [_AM_DEPENDENCIES([OBJCXX])], | |
1170 | [m4_define([AC_PROG_OBJCXX], | |
1171 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl | |
1159 | 1172 | ]) |
1160 | 1173 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
1161 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
1162 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
1174 | dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the | |
1175 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
1163 | 1176 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
1164 | 1177 | AC_CONFIG_COMMANDS_PRE(dnl |
1165 | 1178 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
1166 | 1179 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
1167 | 1180 | ]) |
1168 | 1181 | |
1169 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
1182 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
1170 | 1183 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
1171 | 1184 | dnl mangled by Autoconf and run in a shell conditional statement. |
1172 | 1185 | m4_define([_AC_COMPILER_EXEEXT], |
1194 | 1207 | done |
1195 | 1208 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
1196 | 1209 | |
1197 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
1198 | # Inc. | |
1199 | # | |
1200 | # This file is free software; the Free Software Foundation | |
1201 | # gives unlimited permission to copy and/or distribute it, | |
1202 | # with or without modifications, as long as this notice is preserved. | |
1203 | ||
1204 | # serial 1 | |
1210 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
1211 | # | |
1212 | # This file is free software; the Free Software Foundation | |
1213 | # gives unlimited permission to copy and/or distribute it, | |
1214 | # with or without modifications, as long as this notice is preserved. | |
1215 | ||
1216 | # serial 8 | |
1205 | 1217 | |
1206 | 1218 | # AM_PROG_INSTALL_SH |
1207 | 1219 | # ------------------ |
1216 | 1228 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
1217 | 1229 | esac |
1218 | 1230 | fi |
1219 | AC_SUBST(install_sh)]) | |
1220 | ||
1221 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
1231 | AC_SUBST([install_sh])]) | |
1232 | ||
1233 | # Copyright (C) 2003-2012 Free Software Foundation, Inc. | |
1222 | 1234 | # |
1223 | 1235 | # This file is free software; the Free Software Foundation |
1224 | 1236 | # gives unlimited permission to copy and/or distribute it, |
1241 | 1253 | |
1242 | 1254 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
1243 | 1255 | |
1244 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
1245 | # | |
1246 | # This file is free software; the Free Software Foundation | |
1247 | # gives unlimited permission to copy and/or distribute it, | |
1248 | # with or without modifications, as long as this notice is preserved. | |
1249 | ||
1250 | # serial 4 | |
1256 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
1257 | # | |
1258 | # This file is free software; the Free Software Foundation | |
1259 | # gives unlimited permission to copy and/or distribute it, | |
1260 | # with or without modifications, as long as this notice is preserved. | |
1261 | ||
1262 | # serial 5 | |
1251 | 1263 | |
1252 | 1264 | # AM_MAKE_INCLUDE() |
1253 | 1265 | # ----------------- |
1266 | 1278 | _am_result=none |
1267 | 1279 | # First try GNU make style include. |
1268 | 1280 | echo "include confinc" > confmf |
1269 | # Ignore all kinds of additional output from `make'. | |
1281 | # Ignore all kinds of additional output from 'make'. | |
1270 | 1282 | case `$am_make -s -f confmf 2> /dev/null` in #( |
1271 | 1283 | *the\ am__doit\ target*) |
1272 | 1284 | am__include=include |
1291 | 1303 | rm -f confinc confmf |
1292 | 1304 | ]) |
1293 | 1305 | |
1294 | # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
1295 | # Free Software Foundation, Inc. | |
1306 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
1296 | 1307 | # |
1297 | 1308 | # This file is free software; the Free Software Foundation |
1298 | 1309 | # gives unlimited permission to copy and/or distribute it, |
1328 | 1339 | |
1329 | 1340 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
1330 | 1341 | |
1331 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
1332 | # Free Software Foundation, Inc. | |
1333 | # | |
1334 | # This file is free software; the Free Software Foundation | |
1335 | # gives unlimited permission to copy and/or distribute it, | |
1336 | # with or without modifications, as long as this notice is preserved. | |
1337 | ||
1338 | # serial 6 | |
1342 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
1343 | # | |
1344 | # This file is free software; the Free Software Foundation | |
1345 | # gives unlimited permission to copy and/or distribute it, | |
1346 | # with or without modifications, as long as this notice is preserved. | |
1347 | ||
1348 | # serial 7 | |
1339 | 1349 | |
1340 | 1350 | # AM_MISSING_PROG(NAME, PROGRAM) |
1341 | 1351 | # ------------------------------ |
1365 | 1375 | am_missing_run="$MISSING --run " |
1366 | 1376 | else |
1367 | 1377 | am_missing_run= |
1368 | AC_MSG_WARN([`missing' script is too old or missing]) | |
1378 | AC_MSG_WARN(['missing' script is too old or missing]) | |
1369 | 1379 | fi |
1370 | 1380 | ]) |
1371 | 1381 | |
1372 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
1373 | # Inc. | |
1374 | # | |
1375 | # This file is free software; the Free Software Foundation | |
1376 | # gives unlimited permission to copy and/or distribute it, | |
1377 | # with or without modifications, as long as this notice is preserved. | |
1378 | ||
1379 | # serial 1 | |
1380 | ||
1381 | # AM_PROG_MKDIR_P | |
1382 | # --------------- | |
1383 | # Check for `mkdir -p'. | |
1384 | AC_DEFUN([AM_PROG_MKDIR_P], | |
1385 | [AC_PREREQ([2.60])dnl | |
1386 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
1387 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
1388 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
1389 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
1390 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
1391 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
1392 | dnl adjustment using top_builddir (which is defined more often than | |
1393 | dnl MKDIR_P). | |
1394 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
1395 | case $mkdir_p in | |
1396 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
1397 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
1398 | esac | |
1399 | ]) | |
1400 | ||
1401 | 1382 | # Helper functions for option handling. -*- Autoconf -*- |
1402 | 1383 | |
1403 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
1404 | # Foundation, Inc. | |
1405 | # | |
1406 | # This file is free software; the Free Software Foundation | |
1407 | # gives unlimited permission to copy and/or distribute it, | |
1408 | # with or without modifications, as long as this notice is preserved. | |
1409 | ||
1410 | # serial 5 | |
1384 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
1385 | # | |
1386 | # This file is free software; the Free Software Foundation | |
1387 | # gives unlimited permission to copy and/or distribute it, | |
1388 | # with or without modifications, as long as this notice is preserved. | |
1389 | ||
1390 | # serial 6 | |
1411 | 1391 | |
1412 | 1392 | # _AM_MANGLE_OPTION(NAME) |
1413 | 1393 | # ----------------------- |
1418 | 1398 | # -------------------- |
1419 | 1399 | # Set option NAME. Presently that only means defining a flag for this option. |
1420 | 1400 | AC_DEFUN([_AM_SET_OPTION], |
1421 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
1401 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
1422 | 1402 | |
1423 | 1403 | # _AM_SET_OPTIONS(OPTIONS) |
1424 | 1404 | # ------------------------ |
1434 | 1414 | |
1435 | 1415 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
1436 | 1416 | |
1437 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
1438 | # Free Software Foundation, Inc. | |
1439 | # | |
1440 | # This file is free software; the Free Software Foundation | |
1441 | # gives unlimited permission to copy and/or distribute it, | |
1442 | # with or without modifications, as long as this notice is preserved. | |
1443 | ||
1444 | # serial 5 | |
1417 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
1418 | # | |
1419 | # This file is free software; the Free Software Foundation | |
1420 | # gives unlimited permission to copy and/or distribute it, | |
1421 | # with or without modifications, as long as this notice is preserved. | |
1422 | ||
1423 | # serial 9 | |
1445 | 1424 | |
1446 | 1425 | # AM_SANITY_CHECK |
1447 | 1426 | # --------------- |
1448 | 1427 | AC_DEFUN([AM_SANITY_CHECK], |
1449 | 1428 | [AC_MSG_CHECKING([whether build environment is sane]) |
1450 | # Just in case | |
1451 | sleep 1 | |
1452 | echo timestamp > conftest.file | |
1453 | 1429 | # Reject unsafe characters in $srcdir or the absolute working directory |
1454 | 1430 | # name. Accept space and tab only in the latter. |
1455 | 1431 | am_lf=' |
1460 | 1436 | esac |
1461 | 1437 | case $srcdir in |
1462 | 1438 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
1463 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
1439 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
1464 | 1440 | esac |
1465 | 1441 | |
1466 | # Do `set' in a subshell so we don't clobber the current shell's | |
1442 | # Do 'set' in a subshell so we don't clobber the current shell's | |
1467 | 1443 | # arguments. Must try -L first in case configure is actually a |
1468 | 1444 | # symlink; some systems play weird games with the mod time of symlinks |
1469 | 1445 | # (eg FreeBSD returns the mod time of the symlink's containing |
1470 | 1446 | # directory). |
1471 | 1447 | if ( |
1472 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
1473 | if test "$[*]" = "X"; then | |
1474 | # -L didn't work. | |
1475 | set X `ls -t "$srcdir/configure" conftest.file` | |
1476 | fi | |
1477 | rm -f conftest.file | |
1478 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
1479 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
1480 | ||
1481 | # If neither matched, then we have a broken ls. This can happen | |
1482 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
1483 | # broken ls alias from the environment. This has actually | |
1484 | # happened. Such a system could not be considered "sane". | |
1485 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
1486 | alias in your environment]) | |
1487 | fi | |
1488 | ||
1448 | am_has_slept=no | |
1449 | for am_try in 1 2; do | |
1450 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
1451 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
1452 | if test "$[*]" = "X"; then | |
1453 | # -L didn't work. | |
1454 | set X `ls -t "$srcdir/configure" conftest.file` | |
1455 | fi | |
1456 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
1457 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
1458 | ||
1459 | # If neither matched, then we have a broken ls. This can happen | |
1460 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
1461 | # broken ls alias from the environment. This has actually | |
1462 | # happened. Such a system could not be considered "sane". | |
1463 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
1464 | alias in your environment]) | |
1465 | fi | |
1466 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
1467 | break | |
1468 | fi | |
1469 | # Just in case. | |
1470 | sleep 1 | |
1471 | am_has_slept=yes | |
1472 | done | |
1489 | 1473 | test "$[2]" = conftest.file |
1490 | 1474 | ) |
1491 | 1475 | then |
1495 | 1479 | AC_MSG_ERROR([newly created file is older than distributed files! |
1496 | 1480 | Check your system clock]) |
1497 | 1481 | fi |
1498 | AC_MSG_RESULT(yes)]) | |
1499 | ||
1500 | # Copyright (C) 2009, 2011 Free Software Foundation, Inc. | |
1501 | # | |
1502 | # This file is free software; the Free Software Foundation | |
1503 | # gives unlimited permission to copy and/or distribute it, | |
1504 | # with or without modifications, as long as this notice is preserved. | |
1505 | ||
1506 | # serial 2 | |
1482 | AC_MSG_RESULT([yes]) | |
1483 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
1484 | # generated files are strictly newer. | |
1485 | am_sleep_pid= | |
1486 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
1487 | ( sleep 1 ) & | |
1488 | am_sleep_pid=$! | |
1489 | fi | |
1490 | AC_CONFIG_COMMANDS_PRE( | |
1491 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
1492 | if test -n "$am_sleep_pid"; then | |
1493 | # Hide warnings about reused PIDs. | |
1494 | wait $am_sleep_pid 2>/dev/null | |
1495 | fi | |
1496 | AC_MSG_RESULT([done])]) | |
1497 | rm -f conftest.file | |
1498 | ]) | |
1499 | ||
1500 | # Copyright (C) 2009-2012 Free Software Foundation, Inc. | |
1501 | # | |
1502 | # This file is free software; the Free Software Foundation | |
1503 | # gives unlimited permission to copy and/or distribute it, | |
1504 | # with or without modifications, as long as this notice is preserved. | |
1505 | ||
1506 | # serial 3 | |
1507 | 1507 | |
1508 | 1508 | # AM_SILENT_RULES([DEFAULT]) |
1509 | 1509 | # -------------------------- |
1510 | 1510 | # Enable less verbose build rules; with the default set to DEFAULT |
1511 | # (`yes' being less verbose, `no' or empty being verbose). | |
1511 | # ("yes" being less verbose, "no" or empty being verbose). | |
1512 | 1512 | AC_DEFUN([AM_SILENT_RULES], |
1513 | [AC_ARG_ENABLE([silent-rules], | |
1514 | [ --enable-silent-rules less verbose build output (undo: `make V=1') | |
1515 | --disable-silent-rules verbose build output (undo: `make V=0')]) | |
1516 | case $enable_silent_rules in | |
1517 | yes) AM_DEFAULT_VERBOSITY=0;; | |
1518 | no) AM_DEFAULT_VERBOSITY=1;; | |
1519 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
1513 | [AC_ARG_ENABLE([silent-rules], [dnl | |
1514 | AS_HELP_STRING( | |
1515 | [--enable-silent-rules], | |
1516 | [less verbose build output (undo: "make V=1")]) | |
1517 | AS_HELP_STRING( | |
1518 | [--disable-silent-rules], | |
1519 | [verbose build output (undo: "make V=0")])dnl | |
1520 | ]) | |
1521 | case $enable_silent_rules in @%:@ ((( | |
1522 | yes) AM_DEFAULT_VERBOSITY=0;; | |
1523 | no) AM_DEFAULT_VERBOSITY=1;; | |
1524 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
1520 | 1525 | esac |
1521 | 1526 | dnl |
1522 | dnl A few `make' implementations (e.g., NonStop OS and NextStep) | |
1527 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | |
1523 | 1528 | dnl do not support nested variable expansions. |
1524 | 1529 | dnl See automake bug#9928 and bug#10237. |
1525 | 1530 | am_make=${MAKE-make} |
1537 | 1542 | am_cv_make_support_nested_variables=no |
1538 | 1543 | fi]) |
1539 | 1544 | if test $am_cv_make_support_nested_variables = yes; then |
1540 | dnl Using `$V' instead of `$(V)' breaks IRIX make. | |
1545 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | |
1541 | 1546 | AM_V='$(V)' |
1542 | 1547 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
1543 | 1548 | else |
1554 | 1559 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1555 | 1560 | ]) |
1556 | 1561 | |
1557 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
1558 | # | |
1559 | # This file is free software; the Free Software Foundation | |
1560 | # gives unlimited permission to copy and/or distribute it, | |
1561 | # with or without modifications, as long as this notice is preserved. | |
1562 | ||
1563 | # serial 1 | |
1562 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
1563 | # | |
1564 | # This file is free software; the Free Software Foundation | |
1565 | # gives unlimited permission to copy and/or distribute it, | |
1566 | # with or without modifications, as long as this notice is preserved. | |
1567 | ||
1568 | # serial 2 | |
1564 | 1569 | |
1565 | 1570 | # AM_PROG_INSTALL_STRIP |
1566 | 1571 | # --------------------- |
1567 | # One issue with vendor `install' (even GNU) is that you can't | |
1572 | # One issue with vendor 'install' (even GNU) is that you can't | |
1568 | 1573 | # specify the program used to strip binaries. This is especially |
1569 | 1574 | # annoying in cross-compiling environments, where the build's strip |
1570 | 1575 | # is unlikely to handle the host's binaries. |
1571 | 1576 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
1572 | # always use install-sh in `make install-strip', and initialize | |
1577 | # always use install-sh in "make install-strip", and initialize | |
1573 | 1578 | # STRIPPROG with the value of the STRIP variable (set by the user). |
1574 | 1579 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
1575 | 1580 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
1576 | # Installed binaries are usually stripped using `strip' when the user | |
1577 | # run `make install-strip'. However `strip' might not be the right | |
1581 | # Installed binaries are usually stripped using 'strip' when the user | |
1582 | # run "make install-strip". However 'strip' might not be the right | |
1578 | 1583 | # tool to use in cross-compilation environments, therefore Automake |
1579 | # will honor the `STRIP' environment variable to overrule this program. | |
1580 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
1584 | # will honor the 'STRIP' environment variable to overrule this program. | |
1585 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
1581 | 1586 | if test "$cross_compiling" != no; then |
1582 | 1587 | AC_CHECK_TOOL([STRIP], [strip], :) |
1583 | 1588 | fi |
1584 | 1589 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1585 | 1590 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1586 | 1591 | |
1587 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
1592 | # Copyright (C) 2006-2012 Free Software Foundation, Inc. | |
1588 | 1593 | # |
1589 | 1594 | # This file is free software; the Free Software Foundation |
1590 | 1595 | # gives unlimited permission to copy and/or distribute it, |
1605 | 1610 | |
1606 | 1611 | # Check how to create a tarball. -*- Autoconf -*- |
1607 | 1612 | |
1608 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
1609 | # | |
1610 | # This file is free software; the Free Software Foundation | |
1611 | # gives unlimited permission to copy and/or distribute it, | |
1612 | # with or without modifications, as long as this notice is preserved. | |
1613 | ||
1614 | # serial 2 | |
1613 | # Copyright (C) 2004-2012 Free Software Foundation, Inc. | |
1614 | # | |
1615 | # This file is free software; the Free Software Foundation | |
1616 | # gives unlimited permission to copy and/or distribute it, | |
1617 | # with or without modifications, as long as this notice is preserved. | |
1618 | ||
1619 | # serial 3 | |
1615 | 1620 | |
1616 | 1621 | # _AM_PROG_TAR(FORMAT) |
1617 | 1622 | # -------------------- |
1618 | 1623 | # Check how to create a tarball in format FORMAT. |
1619 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1624 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
1620 | 1625 | # |
1621 | 1626 | # Substitute a variable $(am__tar) that is a command |
1622 | 1627 | # writing to stdout a FORMAT-tarball containing the directory |
1639 | 1644 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1640 | 1645 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
1641 | 1646 | # Do not fold the above two line into one, because Tru64 sh and |
1642 | # Solaris sh will not grok spaces in the rhs of `-'. | |
1647 | # Solaris sh will not grok spaces in the rhs of '-'. | |
1643 | 1648 | for _am_tool in $_am_tools |
1644 | 1649 | do |
1645 | 1650 | case $_am_tool in |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
3 | scriptversion=2012-01-04.17; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free | |
6 | # Software Foundation, Inc. | |
3 | scriptversion=2012-03-05.13; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
7 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
8 | 7 | # |
9 | 8 | # This program is free software; you can redistribute it and/or modify |
76 | 75 | esac |
77 | 76 | ;; |
78 | 77 | esac |
78 | } | |
79 | ||
80 | # func_cl_dashL linkdir | |
81 | # Make cl look for libraries in LINKDIR | |
82 | func_cl_dashL () | |
83 | { | |
84 | func_file_conv "$1" | |
85 | if test -z "$lib_path"; then | |
86 | lib_path=$file | |
87 | else | |
88 | lib_path="$lib_path;$file" | |
89 | fi | |
90 | linker_opts="$linker_opts -LIBPATH:$file" | |
91 | } | |
92 | ||
93 | # func_cl_dashl library | |
94 | # Do a library search-path lookup for cl | |
95 | func_cl_dashl () | |
96 | { | |
97 | lib=$1 | |
98 | found=no | |
99 | save_IFS=$IFS | |
100 | IFS=';' | |
101 | for dir in $lib_path $LIB | |
102 | do | |
103 | IFS=$save_IFS | |
104 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
105 | found=yes | |
106 | lib=$dir/$lib.dll.lib | |
107 | break | |
108 | fi | |
109 | if test -f "$dir/$lib.lib"; then | |
110 | found=yes | |
111 | lib=$dir/$lib.lib | |
112 | break | |
113 | fi | |
114 | done | |
115 | IFS=$save_IFS | |
116 | ||
117 | if test "$found" != yes; then | |
118 | lib=$lib.lib | |
119 | fi | |
79 | 120 | } |
80 | 121 | |
81 | 122 | # func_cl_wrapper cl arg... |
108 | 149 | ;; |
109 | 150 | esac |
110 | 151 | ;; |
152 | -I) | |
153 | eat=1 | |
154 | func_file_conv "$2" mingw | |
155 | set x "$@" -I"$file" | |
156 | shift | |
157 | ;; | |
111 | 158 | -I*) |
112 | 159 | func_file_conv "${1#-I}" mingw |
113 | 160 | set x "$@" -I"$file" |
114 | 161 | shift |
115 | 162 | ;; |
163 | -l) | |
164 | eat=1 | |
165 | func_cl_dashl "$2" | |
166 | set x "$@" "$lib" | |
167 | shift | |
168 | ;; | |
116 | 169 | -l*) |
117 | lib=${1#-l} | |
118 | found=no | |
119 | save_IFS=$IFS | |
120 | IFS=';' | |
121 | for dir in $lib_path $LIB | |
122 | do | |
123 | IFS=$save_IFS | |
124 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
125 | found=yes | |
126 | set x "$@" "$dir/$lib.dll.lib" | |
127 | break | |
128 | fi | |
129 | if test -f "$dir/$lib.lib"; then | |
130 | found=yes | |
131 | set x "$@" "$dir/$lib.lib" | |
132 | break | |
133 | fi | |
134 | done | |
135 | IFS=$save_IFS | |
136 | ||
137 | test "$found" != yes && set x "$@" "$lib.lib" | |
138 | shift | |
170 | func_cl_dashl "${1#-l}" | |
171 | set x "$@" "$lib" | |
172 | shift | |
173 | ;; | |
174 | -L) | |
175 | eat=1 | |
176 | func_cl_dashL "$2" | |
139 | 177 | ;; |
140 | 178 | -L*) |
141 | func_file_conv "${1#-L}" | |
142 | if test -z "$lib_path"; then | |
143 | lib_path=$file | |
144 | else | |
145 | lib_path="$lib_path;$file" | |
146 | fi | |
147 | linker_opts="$linker_opts -LIBPATH:$file" | |
179 | func_cl_dashL "${1#-L}" | |
148 | 180 | ;; |
149 | 181 | -static) |
150 | 182 | shared=false |
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
4 | 4 | # 2011, 2012 Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2012-01-01' | |
6 | timestamp='2012-06-10' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
16 | 16 | # General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
19 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
22 | 20 | # |
23 | 21 | # As a special exception to the GNU General Public License, if you |
24 | 22 | # distribute this file as part of a program that contains a |
862 | 860 | i*86:Minix:*:*) |
863 | 861 | echo ${UNAME_MACHINE}-pc-minix |
864 | 862 | exit ;; |
863 | aarch64:Linux:*:*) | |
864 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
865 | exit ;; | |
866 | aarch64_be:Linux:*:*) | |
867 | UNAME_MACHINE=aarch64_be | |
868 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
869 | exit ;; | |
865 | 870 | alpha:Linux:*:*) |
866 | 871 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
867 | 872 | EV5) UNAME_MACHINE=alphaev5 ;; |
1250 | 1255 | NEO-?:NONSTOP_KERNEL:*:*) |
1251 | 1256 | echo neo-tandem-nsk${UNAME_RELEASE} |
1252 | 1257 | exit ;; |
1253 | NSE-?:NONSTOP_KERNEL:*:*) | |
1258 | NSE-*:NONSTOP_KERNEL:*:*) | |
1254 | 1259 | echo nse-tandem-nsk${UNAME_RELEASE} |
1255 | 1260 | exit ;; |
1256 | 1261 | NSR-?:NONSTOP_KERNEL:*:*) |
1318 | 1323 | exit ;; |
1319 | 1324 | i*86:AROS:*:*) |
1320 | 1325 | echo ${UNAME_MACHINE}-pc-aros |
1326 | exit ;; | |
1327 | x86_64:VMkernel:*:*) | |
1328 | echo ${UNAME_MACHINE}-unknown-esx | |
1321 | 1329 | exit ;; |
1322 | 1330 | esac |
1323 | 1331 |
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
4 | 4 | # 2011, 2012 Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2012-01-01' | |
6 | timestamp='2012-04-18' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
20 | 20 | # GNU General Public License for more details. |
21 | 21 | # |
22 | 22 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | |
24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
25 | # 02110-1301, USA. | |
23 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
26 | 24 | # |
27 | 25 | # As a special exception to the GNU General Public License, if you |
28 | 26 | # distribute this file as part of a program that contains a |
131 | 129 | os=-$maybe_os |
132 | 130 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
133 | 131 | ;; |
132 | android-linux) | |
133 | os=-linux-android | |
134 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
135 | ;; | |
134 | 136 | *) |
135 | 137 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
136 | 138 | if [ $basic_machine != $1 ] |
222 | 224 | -isc*) |
223 | 225 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
224 | 226 | ;; |
227 | -lynx*178) | |
228 | os=-lynxos178 | |
229 | ;; | |
230 | -lynx*5) | |
231 | os=-lynxos5 | |
232 | ;; | |
225 | 233 | -lynx*) |
226 | 234 | os=-lynxos |
227 | 235 | ;; |
246 | 254 | # Some are omitted here because they have special meanings below. |
247 | 255 | 1750a | 580 \ |
248 | 256 | | a29k \ |
257 | | aarch64 | aarch64_be \ | |
249 | 258 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
250 | 259 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
251 | 260 | | am33_2.0 \ |
318 | 327 | c6x) |
319 | 328 | basic_machine=tic6x-unknown |
320 | 329 | ;; |
321 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | |
330 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
322 | 331 | basic_machine=$basic_machine-unknown |
323 | 332 | os=-none |
324 | 333 | ;; |
331 | 340 | strongarm | thumb | xscale) |
332 | 341 | basic_machine=arm-unknown |
333 | 342 | ;; |
334 | ||
343 | xgate) | |
344 | basic_machine=$basic_machine-unknown | |
345 | os=-none | |
346 | ;; | |
335 | 347 | xscaleeb) |
336 | 348 | basic_machine=armeb-unknown |
337 | 349 | ;; |
354 | 366 | # Recognize the basic CPU types with company name. |
355 | 367 | 580-* \ |
356 | 368 | | a29k-* \ |
369 | | aarch64-* | aarch64_be-* \ | |
357 | 370 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
358 | 371 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
359 | 372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
1529 | 1542 | c4x-* | tic4x-*) |
1530 | 1543 | os=-coff |
1531 | 1544 | ;; |
1545 | hexagon-*) | |
1546 | os=-elf | |
1547 | ;; | |
1532 | 1548 | tic54x-*) |
1533 | 1549 | os=-coff |
1534 | 1550 | ;; |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2011-12-04.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, | |
6 | # 2011 Free Software Foundation, Inc. | |
3 | scriptversion=2012-03-27.16; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
7 | 6 | |
8 | 7 | # This program is free software; you can redistribute it and/or modify |
9 | 8 | # it under the terms of the GNU General Public License as published by |
27 | 26 | |
28 | 27 | case $1 in |
29 | 28 | '') |
30 | echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | |
29 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
31 | 30 | exit 1; |
32 | 31 | ;; |
33 | 32 | -h | --h*) |
39 | 38 | |
40 | 39 | Environment variables: |
41 | 40 | depmode Dependency tracking mode. |
42 | source Source file read by `PROGRAMS ARGS'. | |
43 | object Object file output by `PROGRAMS ARGS'. | |
41 | source Source file read by 'PROGRAMS ARGS'. | |
42 | object Object file output by 'PROGRAMS ARGS'. | |
44 | 43 | DEPDIR directory where to store dependencies. |
45 | 44 | depfile Dependency file to output. |
46 | 45 | tmpdepfile Temporary file to use when outputting dependencies. |
56 | 55 | ;; |
57 | 56 | esac |
58 | 57 | |
58 | # A tabulation character. | |
59 | tab=' ' | |
60 | # A newline character. | |
61 | nl=' | |
62 | ' | |
63 | ||
59 | 64 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
60 | 65 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
61 | 66 | exit 1 |
99 | 104 | # slashes to satisfy depend.m4 |
100 | 105 | cygpath_u='sed s,\\\\,/,g' |
101 | 106 | depmode=msvc7 |
107 | fi | |
108 | ||
109 | if test "$depmode" = xlc; then | |
110 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. | |
111 | gccflag=-qmakedep=gcc,-MF | |
112 | depmode=gcc | |
102 | 113 | fi |
103 | 114 | |
104 | 115 | case "$depmode" in |
155 | 166 | ## The second -e expression handles DOS-style file names with drive letters. |
156 | 167 | sed -e 's/^[^:]*: / /' \ |
157 | 168 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
158 | ## This next piece of magic avoids the `deleted header file' problem. | |
169 | ## This next piece of magic avoids the "deleted header file" problem. | |
159 | 170 | ## The problem is that when a header file which appears in a .P file |
160 | 171 | ## is deleted, the dependency causes make to die (because there is |
161 | 172 | ## typically no way to rebuild the header). We avoid this by adding |
162 | 173 | ## dummy dependencies for each header file. Too bad gcc doesn't do |
163 | 174 | ## this for us directly. |
164 | tr ' ' ' | |
165 | ' < "$tmpdepfile" | | |
166 | ## Some versions of gcc put a space before the `:'. On the theory | |
175 | tr ' ' "$nl" < "$tmpdepfile" | | |
176 | ## Some versions of gcc put a space before the ':'. On the theory | |
167 | 177 | ## that the space means something, we add a space to the output as |
168 | 178 | ## well. hp depmode also adds that space, but also prefixes the VPATH |
169 | 179 | ## to the object. Take care to not repeat it in the output. |
202 | 212 | # clever and replace this with sed code, as IRIX sed won't handle |
203 | 213 | # lines with more than a fixed number of characters (4096 in |
204 | 214 | # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; |
205 | # the IRIX cc adds comments like `#:fec' to the end of the | |
215 | # the IRIX cc adds comments like '#:fec' to the end of the | |
206 | 216 | # dependency line. |
207 | tr ' ' ' | |
208 | ' < "$tmpdepfile" \ | |
217 | tr ' ' "$nl" < "$tmpdepfile" \ | |
209 | 218 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ |
210 | tr ' | |
211 | ' ' ' >> "$depfile" | |
219 | tr "$nl" ' ' >> "$depfile" | |
212 | 220 | echo >> "$depfile" |
213 | 221 | |
214 | 222 | # The second pass generates a dummy entry for each header file. |
215 | tr ' ' ' | |
216 | ' < "$tmpdepfile" \ | |
223 | tr ' ' "$nl" < "$tmpdepfile" \ | |
217 | 224 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ |
218 | 225 | >> "$depfile" |
219 | 226 | else |
225 | 232 | rm -f "$tmpdepfile" |
226 | 233 | ;; |
227 | 234 | |
235 | xlc) | |
236 | # This case exists only to let depend.m4 do its work. It works by | |
237 | # looking at the text of this script. This case will never be run, | |
238 | # since it is checked for above. | |
239 | exit 1 | |
240 | ;; | |
241 | ||
228 | 242 | aix) |
229 | 243 | # The C for AIX Compiler uses -M and outputs the dependencies |
230 | 244 | # in a .u file. In older versions, this file always lives in the |
231 | # current directory. Also, the AIX compiler puts `$object:' at the | |
245 | # current directory. Also, the AIX compiler puts '$object:' at the | |
232 | 246 | # start of each line; $object doesn't have directory information. |
233 | 247 | # Version 6 uses the directory in both cases. |
234 | 248 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
258 | 272 | test -f "$tmpdepfile" && break |
259 | 273 | done |
260 | 274 | if test -f "$tmpdepfile"; then |
261 | # Each line is of the form `foo.o: dependent.h'. | |
275 | # Each line is of the form 'foo.o: dependent.h'. | |
262 | 276 | # Do two passes, one to just change these to |
263 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
277 | # '$object: dependent.h' and one to simply 'dependent.h:'. | |
264 | 278 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
265 | # That's a tab and a space in the []. | |
266 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
279 | sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
267 | 280 | else |
268 | 281 | # The sourcefile does not contain any dependencies, so just |
269 | 282 | # store a dummy comment line, to avoid errors with the Makefile |
274 | 287 | ;; |
275 | 288 | |
276 | 289 | icc) |
277 | # Intel's C compiler understands `-MD -MF file'. However on | |
278 | # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
290 | # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. | |
291 | # However on | |
292 | # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
279 | 293 | # ICC 7.0 will fill foo.d with something like |
280 | 294 | # foo.o: sub/foo.c |
281 | 295 | # foo.o: sub/foo.h |
282 | # which is wrong. We want: | |
296 | # which is wrong. We want | |
283 | 297 | # sub/foo.o: sub/foo.c |
284 | 298 | # sub/foo.o: sub/foo.h |
285 | 299 | # sub/foo.c: |
286 | 300 | # sub/foo.h: |
287 | 301 | # ICC 7.1 will output |
288 | 302 | # foo.o: sub/foo.c sub/foo.h |
289 | # and will wrap long lines using \ : | |
303 | # and will wrap long lines using '\': | |
290 | 304 | # foo.o: sub/foo.c ... \ |
291 | 305 | # sub/foo.h ... \ |
292 | 306 | # ... |
293 | ||
307 | # tcc 0.9.26 (FIXME still under development at the moment of writing) | |
308 | # will emit a similar output, but also prepend the continuation lines | |
309 | # with horizontal tabulation characters. | |
294 | 310 | "$@" -MD -MF "$tmpdepfile" |
295 | 311 | stat=$? |
296 | 312 | if test $stat -eq 0; then : |
299 | 315 | exit $stat |
300 | 316 | fi |
301 | 317 | rm -f "$depfile" |
302 | # Each line is of the form `foo.o: dependent.h', | |
303 | # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. | |
318 | # Each line is of the form 'foo.o: dependent.h', | |
319 | # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. | |
304 | 320 | # Do two passes, one to just change these to |
305 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
306 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" | |
307 | # Some versions of the HPUX 10.20 sed can't process this invocation | |
308 | # correctly. Breaking it into two sed invocations is a workaround. | |
309 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | | |
310 | sed -e 's/$/ :/' >> "$depfile" | |
321 | # '$object: dependent.h' and one to simply 'dependent.h:'. | |
322 | sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ | |
323 | < "$tmpdepfile" > "$depfile" | |
324 | sed ' | |
325 | s/[ '"$tab"'][ '"$tab"']*/ /g | |
326 | s/^ *// | |
327 | s/ *\\*$// | |
328 | s/^[^:]*: *// | |
329 | /^$/d | |
330 | /:$/d | |
331 | s/$/ :/ | |
332 | ' < "$tmpdepfile" >> "$depfile" | |
311 | 333 | rm -f "$tmpdepfile" |
312 | 334 | ;; |
313 | 335 | |
343 | 365 | done |
344 | 366 | if test -f "$tmpdepfile"; then |
345 | 367 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" |
346 | # Add `dependent.h:' lines. | |
368 | # Add 'dependent.h:' lines. | |
347 | 369 | sed -ne '2,${ |
348 | 370 | s/^ *// |
349 | 371 | s/ \\*$// |
358 | 380 | |
359 | 381 | tru64) |
360 | 382 | # The Tru64 compiler uses -MD to generate dependencies as a side |
361 | # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. | |
383 | # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. | |
362 | 384 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put |
363 | # dependencies in `foo.d' instead, so we check for that too. | |
385 | # dependencies in 'foo.d' instead, so we check for that too. | |
364 | 386 | # Subdirectories are respected. |
365 | 387 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
366 | 388 | test "x$dir" = "x$object" && dir= |
406 | 428 | done |
407 | 429 | if test -f "$tmpdepfile"; then |
408 | 430 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
409 | # That's a tab and a space in the []. | |
410 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
431 | sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
411 | 432 | else |
412 | 433 | echo "#dummy" > "$depfile" |
413 | 434 | fi |
442 | 463 | p |
443 | 464 | }' | $cygpath_u | sort -u | sed -n ' |
444 | 465 | s/ /\\ /g |
445 | s/\(.*\)/ \1 \\/p | |
466 | s/\(.*\)/'"$tab"'\1 \\/p | |
446 | 467 | s/.\(.*\) \\/\1:/ |
447 | 468 | H |
448 | 469 | $ { |
449 | s/.*/ / | |
470 | s/.*/'"$tab"'/ | |
450 | 471 | G |
451 | 472 | p |
452 | 473 | }' >> "$depfile" |
477 | 498 | shift |
478 | 499 | fi |
479 | 500 | |
480 | # Remove `-o $object'. | |
501 | # Remove '-o $object'. | |
481 | 502 | IFS=" " |
482 | 503 | for arg |
483 | 504 | do |
497 | 518 | done |
498 | 519 | |
499 | 520 | test -z "$dashmflag" && dashmflag=-M |
500 | # Require at least two characters before searching for `:' | |
521 | # Require at least two characters before searching for ':' | |
501 | 522 | # in the target name. This is to cope with DOS-style filenames: |
502 | # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. | |
523 | # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. | |
503 | 524 | "$@" $dashmflag | |
504 | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" | |
525 | sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" | |
505 | 526 | rm -f "$depfile" |
506 | 527 | cat < "$tmpdepfile" > "$depfile" |
507 | tr ' ' ' | |
508 | ' < "$tmpdepfile" | \ | |
528 | tr ' ' "$nl" < "$tmpdepfile" | \ | |
509 | 529 | ## Some versions of the HPUX 10.20 sed can't process this invocation |
510 | 530 | ## correctly. Breaking it into two sed invocations is a workaround. |
511 | 531 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
561 | 581 | # makedepend may prepend the VPATH from the source file name to the object. |
562 | 582 | # No need to regex-escape $object, excess matching of '.' is harmless. |
563 | 583 | sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" |
564 | sed '1,2d' "$tmpdepfile" | tr ' ' ' | |
565 | ' | \ | |
584 | sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ | |
566 | 585 | ## Some versions of the HPUX 10.20 sed can't process this invocation |
567 | 586 | ## correctly. Breaking it into two sed invocations is a workaround. |
568 | 587 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
582 | 601 | shift |
583 | 602 | fi |
584 | 603 | |
585 | # Remove `-o $object'. | |
604 | # Remove '-o $object'. | |
586 | 605 | IFS=" " |
587 | 606 | for arg |
588 | 607 | do |
651 | 670 | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" |
652 | 671 | rm -f "$depfile" |
653 | 672 | echo "$object : \\" > "$depfile" |
654 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" | |
655 | echo " " >> "$depfile" | |
673 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" | |
674 | echo "$tab" >> "$depfile" | |
656 | 675 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" |
657 | 676 | rm -f "$tmpdepfile" |
658 | 677 | ;; |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2011-01-19.21; # UTC | |
3 | scriptversion=2011-11-20.07; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
34 | 34 | # FSF changes to this file are in the public domain. |
35 | 35 | # |
36 | 36 | # Calling this script install-sh is preferred over install.sh, to prevent |
37 | # `make' implicit rules from creating a file called install from it | |
37 | # 'make' implicit rules from creating a file called install from it | |
38 | 38 | # when there is no Makefile. |
39 | 39 | # |
40 | 40 | # This script is compatible with the BSD install script, but was written |
155 | 155 | -s) stripcmd=$stripprog;; |
156 | 156 | |
157 | 157 | -t) dst_arg=$2 |
158 | # Protect names problematic for `test' and other utilities. | |
158 | # Protect names problematic for 'test' and other utilities. | |
159 | 159 | case $dst_arg in |
160 | 160 | -* | [=\(\)!]) dst_arg=./$dst_arg;; |
161 | 161 | esac |
189 | 189 | fi |
190 | 190 | shift # arg |
191 | 191 | dst_arg=$arg |
192 | # Protect names problematic for `test' and other utilities. | |
192 | # Protect names problematic for 'test' and other utilities. | |
193 | 193 | case $dst_arg in |
194 | 194 | -* | [=\(\)!]) dst_arg=./$dst_arg;; |
195 | 195 | esac |
201 | 201 | echo "$0: no input file specified." >&2 |
202 | 202 | exit 1 |
203 | 203 | fi |
204 | # It's OK to call `install-sh -d' without argument. | |
204 | # It's OK to call 'install-sh -d' without argument. | |
205 | 205 | # This can happen when creating conditional directories. |
206 | 206 | exit 0 |
207 | 207 | fi |
239 | 239 | |
240 | 240 | for src |
241 | 241 | do |
242 | # Protect names problematic for `test' and other utilities. | |
242 | # Protect names problematic for 'test' and other utilities. | |
243 | 243 | case $src in |
244 | 244 | -* | [=\(\)!]) src=./$src;; |
245 | 245 | esac |
353 | 353 | if test -z "$dir_arg" || { |
354 | 354 | # Check for POSIX incompatibilities with -m. |
355 | 355 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
356 | # other-writeable bit of parent directory when it shouldn't. | |
356 | # other-writable bit of parent directory when it shouldn't. | |
357 | 357 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
358 | 358 | ls_ld_tmpdir=`ls -ld "$tmpdir"` |
359 | 359 | case $ls_ld_tmpdir in |
0 | 0 | #! /bin/sh |
1 | 1 | # Common stub for a few missing GNU programs while installing. |
2 | 2 | |
3 | scriptversion=2012-01-06.13; # UTC | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | |
6 | # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. | |
3 | scriptversion=2012-01-06.18; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
7 | 6 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
8 | 7 | |
9 | 8 | # This program is free software; you can redistribute it and/or modify |
25 | 24 | # the same distribution terms that you use for the rest of that program. |
26 | 25 | |
27 | 26 | if test $# -eq 0; then |
28 | echo 1>&2 "Try \`$0 --help' for more information" | |
27 | echo 1>&2 "Try '$0 --help' for more information" | |
29 | 28 | exit 1 |
30 | 29 | fi |
31 | 30 | |
33 | 32 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' |
34 | 33 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' |
35 | 34 | |
36 | # In the cases where this matters, `missing' is being run in the | |
35 | # In the cases where this matters, 'missing' is being run in the | |
37 | 36 | # srcdir already. |
38 | 37 | if test -f configure.ac; then |
39 | 38 | configure_ac=configure.ac |
64 | 63 | echo "\ |
65 | 64 | $0 [OPTION]... PROGRAM [ARGUMENT]... |
66 | 65 | |
67 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
66 | Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
68 | 67 | error status if there is no known handling for PROGRAM. |
69 | 68 | |
70 | 69 | Options: |
73 | 72 | --run try to run the given command, and emulate it if it fails |
74 | 73 | |
75 | 74 | Supported PROGRAM values: |
76 | aclocal touch file \`aclocal.m4' | |
77 | autoconf touch file \`configure' | |
78 | autoheader touch file \`config.h.in' | |
75 | aclocal touch file 'aclocal.m4' | |
76 | autoconf touch file 'configure' | |
77 | autoheader touch file 'config.h.in' | |
79 | 78 | autom4te touch the output file, or create a stub one |
80 | automake touch all \`Makefile.in' files | |
81 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
82 | flex create \`lex.yy.c', if possible, from existing .c | |
79 | automake touch all 'Makefile.in' files | |
80 | bison create 'y.tab.[ch]', if possible, from existing .[ch] | |
81 | flex create 'lex.yy.c', if possible, from existing .c | |
83 | 82 | help2man touch the output file |
84 | lex create \`lex.yy.c', if possible, from existing .c | |
83 | lex create 'lex.yy.c', if possible, from existing .c | |
85 | 84 | makeinfo touch the output file |
86 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
87 | ||
88 | Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | |
89 | \`g' are ignored when checking the name. | |
85 | yacc create 'y.tab.[ch]', if possible, from existing .[ch] | |
86 | ||
87 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and | |
88 | 'g' are ignored when checking the name. | |
90 | 89 | |
91 | 90 | Send bug reports to <bug-automake@gnu.org>." |
92 | 91 | exit $? |
98 | 97 | ;; |
99 | 98 | |
100 | 99 | -*) |
101 | echo 1>&2 "$0: Unknown \`$1' option" | |
102 | echo 1>&2 "Try \`$0 --help' for more information" | |
100 | echo 1>&2 "$0: Unknown '$1' option" | |
101 | echo 1>&2 "Try '$0 --help' for more information" | |
103 | 102 | exit 1 |
104 | 103 | ;; |
105 | 104 | |
126 | 125 | exit 1 |
127 | 126 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then |
128 | 127 | # Could not run --version or --help. This is probably someone |
129 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
128 | # running '$TOOL --version' or '$TOOL --help' to check whether | |
130 | 129 | # $TOOL exists and not knowing $TOOL uses missing. |
131 | 130 | exit 1 |
132 | 131 | fi |
138 | 137 | case $program in |
139 | 138 | aclocal*) |
140 | 139 | echo 1>&2 "\ |
141 | WARNING: \`$1' is $msg. You should only need it if | |
142 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
143 | to install the \`Automake' and \`Perl' packages. Grab them from | |
140 | WARNING: '$1' is $msg. You should only need it if | |
141 | you modified 'acinclude.m4' or '${configure_ac}'. You might want | |
142 | to install the Automake and Perl packages. Grab them from | |
144 | 143 | any GNU archive site." |
145 | 144 | touch aclocal.m4 |
146 | 145 | ;; |
147 | 146 | |
148 | 147 | autoconf*) |
149 | 148 | echo 1>&2 "\ |
150 | WARNING: \`$1' is $msg. You should only need it if | |
151 | you modified \`${configure_ac}'. You might want to install the | |
152 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
149 | WARNING: '$1' is $msg. You should only need it if | |
150 | you modified '${configure_ac}'. You might want to install the | |
151 | Autoconf and GNU m4 packages. Grab them from any GNU | |
153 | 152 | archive site." |
154 | 153 | touch configure |
155 | 154 | ;; |
156 | 155 | |
157 | 156 | autoheader*) |
158 | 157 | echo 1>&2 "\ |
159 | WARNING: \`$1' is $msg. You should only need it if | |
160 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
161 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
158 | WARNING: '$1' is $msg. You should only need it if | |
159 | you modified 'acconfig.h' or '${configure_ac}'. You might want | |
160 | to install the Autoconf and GNU m4 packages. Grab them | |
162 | 161 | from any GNU archive site." |
163 | 162 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` |
164 | 163 | test -z "$files" && files="config.h" |
175 | 174 | |
176 | 175 | automake*) |
177 | 176 | echo 1>&2 "\ |
178 | WARNING: \`$1' is $msg. You should only need it if | |
179 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
180 | You might want to install the \`Automake' and \`Perl' packages. | |
177 | WARNING: '$1' is $msg. You should only need it if | |
178 | you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. | |
179 | You might want to install the Automake and Perl packages. | |
181 | 180 | Grab them from any GNU archive site." |
182 | 181 | find . -type f -name Makefile.am -print | |
183 | 182 | sed 's/\.am$/.in/' | |
186 | 185 | |
187 | 186 | autom4te*) |
188 | 187 | echo 1>&2 "\ |
189 | WARNING: \`$1' is needed, but is $msg. | |
188 | WARNING: '$1' is needed, but is $msg. | |
190 | 189 | You might have modified some files without having the |
191 | 190 | proper tools for further handling them. |
192 | You can get \`$1' as part of \`Autoconf' from any GNU | |
191 | You can get '$1' as part of Autoconf from any GNU | |
193 | 192 | archive site." |
194 | 193 | |
195 | 194 | file=`echo "$*" | sed -n "$sed_output"` |
209 | 208 | |
210 | 209 | bison*|yacc*) |
211 | 210 | echo 1>&2 "\ |
212 | WARNING: \`$1' $msg. You should only need it if | |
213 | you modified a \`.y' file. You may need the \`Bison' package | |
211 | WARNING: '$1' $msg. You should only need it if | |
212 | you modified a '.y' file. You may need the Bison package | |
214 | 213 | in order for those modifications to take effect. You can get |
215 | \`Bison' from any GNU archive site." | |
214 | Bison from any GNU archive site." | |
216 | 215 | rm -f y.tab.c y.tab.h |
217 | 216 | if test $# -ne 1; then |
218 | 217 | eval LASTARG=\${$#} |
239 | 238 | |
240 | 239 | lex*|flex*) |
241 | 240 | echo 1>&2 "\ |
242 | WARNING: \`$1' is $msg. You should only need it if | |
243 | you modified a \`.l' file. You may need the \`Flex' package | |
241 | WARNING: '$1' is $msg. You should only need it if | |
242 | you modified a '.l' file. You may need the Flex package | |
244 | 243 | in order for those modifications to take effect. You can get |
245 | \`Flex' from any GNU archive site." | |
244 | Flex from any GNU archive site." | |
246 | 245 | rm -f lex.yy.c |
247 | 246 | if test $# -ne 1; then |
248 | 247 | eval LASTARG=\${$#} |
262 | 261 | |
263 | 262 | help2man*) |
264 | 263 | echo 1>&2 "\ |
265 | WARNING: \`$1' is $msg. You should only need it if | |
264 | WARNING: '$1' is $msg. You should only need it if | |
266 | 265 | you modified a dependency of a manual page. You may need the |
267 | \`Help2man' package in order for those modifications to take | |
268 | effect. You can get \`Help2man' from any GNU archive site." | |
266 | Help2man package in order for those modifications to take | |
267 | effect. You can get Help2man from any GNU archive site." | |
269 | 268 | |
270 | 269 | file=`echo "$*" | sed -n "$sed_output"` |
271 | 270 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
280 | 279 | |
281 | 280 | makeinfo*) |
282 | 281 | echo 1>&2 "\ |
283 | WARNING: \`$1' is $msg. You should only need it if | |
284 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
282 | WARNING: '$1' is $msg. You should only need it if | |
283 | you modified a '.texi' or '.texinfo' file, or any other file | |
285 | 284 | indirectly affecting the aspect of the manual. The spurious |
286 | call might also be the consequence of using a buggy \`make' (AIX, | |
287 | DU, IRIX). You might want to install the \`Texinfo' package or | |
288 | the \`GNU make' package. Grab either from any GNU archive site." | |
285 | call might also be the consequence of using a buggy 'make' (AIX, | |
286 | DU, IRIX). You might want to install the Texinfo package or | |
287 | the GNU make package. Grab either from any GNU archive site." | |
289 | 288 | # The file to touch is that specified with -o ... |
290 | 289 | file=`echo "$*" | sed -n "$sed_output"` |
291 | 290 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
309 | 308 | |
310 | 309 | *) |
311 | 310 | echo 1>&2 "\ |
312 | WARNING: \`$1' is needed, and is $msg. | |
311 | WARNING: '$1' is needed, and is $msg. | |
313 | 312 | You might have modified some files without having the |
314 | proper tools for further handling them. Check the \`README' file, | |
313 | proper tools for further handling them. Check the 'README' file, | |
315 | 314 | it often tells you about the needed prerequisites for installing |
316 | 315 | this package. You may also peek at any GNU archive site, in case |
317 | some other package would contain this missing \`$1' program." | |
316 | some other package would contain this missing '$1' program." | |
318 | 317 | exit 1 |
319 | 318 | ;; |
320 | 319 | esac |
1 | 1 | |
2 | 2 | /* always defined to indicate that i18n is enabled */ |
3 | 3 | #undef ENABLE_NLS |
4 | ||
5 | /* Enable compile-time and run-time bounds-checking, and some warnings. */ | |
6 | #if defined __OPTIMIZE__ && __OPTIMIZE__ | |
7 | # define _FORTIFY_SOURCE 2 | |
8 | #endif | |
9 | ||
4 | 10 | |
5 | 11 | /* GETTEXT package name */ |
6 | 12 | #undef GETTEXT_PACKAGE |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.68 for virt-viewer 0.5.3. | |
2 | # Generated by GNU Autoconf 2.68 for virt-viewer 0.5.4. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
566 | 566 | # Identity of this package. |
567 | 567 | PACKAGE_NAME='virt-viewer' |
568 | 568 | PACKAGE_TARNAME='virt-viewer' |
569 | PACKAGE_VERSION='0.5.3' | |
570 | PACKAGE_STRING='virt-viewer 0.5.3' | |
569 | PACKAGE_VERSION='0.5.4' | |
570 | PACKAGE_STRING='virt-viewer 0.5.4' | |
571 | 571 | PACKAGE_BUGREPORT='' |
572 | 572 | PACKAGE_URL='' |
573 | 573 | |
650 | 650 | LIBXML2_CFLAGS |
651 | 651 | GLIB2_LIBS |
652 | 652 | GLIB2_CFLAGS |
653 | GLIB_MKENUMS | |
653 | 654 | PKG_CONFIG_LIBDIR |
654 | 655 | PKG_CONFIG_PATH |
655 | 656 | PKG_CONFIG |
1415 | 1416 | # Omit some internal or obsolete options to make the list less imposing. |
1416 | 1417 | # This message is too long to be a string in the A/UX 3.1 sh. |
1417 | 1418 | cat <<_ACEOF |
1418 | \`configure' configures virt-viewer 0.5.3 to adapt to many kinds of systems. | |
1419 | \`configure' configures virt-viewer 0.5.4 to adapt to many kinds of systems. | |
1419 | 1420 | |
1420 | 1421 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1421 | 1422 | |
1485 | 1486 | |
1486 | 1487 | if test -n "$ac_init_help"; then |
1487 | 1488 | case $ac_init_help in |
1488 | short | recursive ) echo "Configuration of virt-viewer 0.5.3:";; | |
1489 | short | recursive ) echo "Configuration of virt-viewer 0.5.4:";; | |
1489 | 1490 | esac |
1490 | 1491 | cat <<\_ACEOF |
1491 | 1492 | |
1493 | 1494 | --disable-option-checking ignore unrecognized --enable/--with options |
1494 | 1495 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1495 | 1496 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1496 | --enable-silent-rules less verbose build output (undo: `make V=1') | |
1497 | --disable-silent-rules verbose build output (undo: `make V=0') | |
1498 | --disable-dependency-tracking speeds up one-time build | |
1499 | --enable-dependency-tracking do not reject slow dependency extractors | |
1497 | --enable-silent-rules less verbose build output (undo: "make V=1") | |
1498 | --disable-silent-rules verbose build output (undo: "make V=0") | |
1499 | --enable-dependency-tracking | |
1500 | do not reject slow dependency extractors | |
1501 | --disable-dependency-tracking | |
1502 | speeds up one-time build | |
1500 | 1503 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1501 | 1504 | --enable-static[=PKGS] build static libraries [default=yes] |
1502 | 1505 | --enable-fast-install[=PKGS] |
1641 | 1644 | test -n "$ac_init_help" && exit $ac_status |
1642 | 1645 | if $ac_init_version; then |
1643 | 1646 | cat <<\_ACEOF |
1644 | virt-viewer configure 0.5.3 | |
1647 | virt-viewer configure 0.5.4 | |
1645 | 1648 | generated by GNU Autoconf 2.68 |
1646 | 1649 | |
1647 | 1650 | Copyright (C) 2010 Free Software Foundation, Inc. |
2006 | 2009 | This file contains any messages produced by compilers while |
2007 | 2010 | running configure, to aid debugging if configure makes a mistake. |
2008 | 2011 | |
2009 | It was created by virt-viewer $as_me 0.5.3, which was | |
2012 | It was created by virt-viewer $as_me 0.5.4, which was | |
2010 | 2013 | generated by GNU Autoconf 2.68. Invocation command line was |
2011 | 2014 | |
2012 | 2015 | $ $0 $@ |
2387 | 2390 | |
2388 | 2391 | ac_config_headers="$ac_config_headers config.h" |
2389 | 2392 | |
2390 | am__api_version='1.11' | |
2393 | am__api_version='1.12' | |
2391 | 2394 | |
2392 | 2395 | # Find a good install program. We prefer a C program (faster), |
2393 | 2396 | # so one script is as good as another. But avoid the broken or |
2484 | 2487 | |
2485 | 2488 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2486 | 2489 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2487 | # Just in case | |
2488 | sleep 1 | |
2489 | echo timestamp > conftest.file | |
2490 | 2490 | # Reject unsafe characters in $srcdir or the absolute working directory |
2491 | 2491 | # name. Accept space and tab only in the latter. |
2492 | 2492 | am_lf=' |
2497 | 2497 | esac |
2498 | 2498 | case $srcdir in |
2499 | 2499 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2500 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2500 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2501 | 2501 | esac |
2502 | 2502 | |
2503 | # Do `set' in a subshell so we don't clobber the current shell's | |
2503 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2504 | 2504 | # arguments. Must try -L first in case configure is actually a |
2505 | 2505 | # symlink; some systems play weird games with the mod time of symlinks |
2506 | 2506 | # (eg FreeBSD returns the mod time of the symlink's containing |
2507 | 2507 | # directory). |
2508 | 2508 | if ( |
2509 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2510 | if test "$*" = "X"; then | |
2511 | # -L didn't work. | |
2512 | set X `ls -t "$srcdir/configure" conftest.file` | |
2513 | fi | |
2514 | rm -f conftest.file | |
2515 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2516 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2517 | ||
2518 | # If neither matched, then we have a broken ls. This can happen | |
2519 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2520 | # broken ls alias from the environment. This has actually | |
2521 | # happened. Such a system could not be considered "sane". | |
2522 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2523 | alias in your environment" "$LINENO" 5 | |
2524 | fi | |
2525 | ||
2509 | am_has_slept=no | |
2510 | for am_try in 1 2; do | |
2511 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
2512 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2513 | if test "$*" = "X"; then | |
2514 | # -L didn't work. | |
2515 | set X `ls -t "$srcdir/configure" conftest.file` | |
2516 | fi | |
2517 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2518 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2519 | ||
2520 | # If neither matched, then we have a broken ls. This can happen | |
2521 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2522 | # broken ls alias from the environment. This has actually | |
2523 | # happened. Such a system could not be considered "sane". | |
2524 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2525 | alias in your environment" "$LINENO" 5 | |
2526 | fi | |
2527 | if test "$2" = conftest.file || test $am_try -eq 2; then | |
2528 | break | |
2529 | fi | |
2530 | # Just in case. | |
2531 | sleep 1 | |
2532 | am_has_slept=yes | |
2533 | done | |
2526 | 2534 | test "$2" = conftest.file |
2527 | 2535 | ) |
2528 | 2536 | then |
2534 | 2542 | fi |
2535 | 2543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2536 | 2544 | $as_echo "yes" >&6; } |
2545 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2546 | # generated files are strictly newer. | |
2547 | am_sleep_pid= | |
2548 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2549 | ( sleep 1 ) & | |
2550 | am_sleep_pid=$! | |
2551 | fi | |
2552 | ||
2553 | rm -f conftest.file | |
2554 | ||
2537 | 2555 | test "$program_prefix" != NONE && |
2538 | 2556 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2539 | 2557 | # Use a double $ so make ignores it. |
2560 | 2578 | am_missing_run="$MISSING --run " |
2561 | 2579 | else |
2562 | 2580 | am_missing_run= |
2563 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2564 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2581 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2582 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2565 | 2583 | fi |
2566 | 2584 | |
2567 | 2585 | if test x"${install_sh}" != xset; then |
2573 | 2591 | esac |
2574 | 2592 | fi |
2575 | 2593 | |
2576 | # Installed binaries are usually stripped using `strip' when the user | |
2577 | # run `make install-strip'. However `strip' might not be the right | |
2594 | # Installed binaries are usually stripped using 'strip' when the user | |
2595 | # run "make install-strip". However 'strip' might not be the right | |
2578 | 2596 | # tool to use in cross-compilation environments, therefore Automake |
2579 | # will honor the `STRIP' environment variable to overrule this program. | |
2597 | # will honor the 'STRIP' environment variable to overrule this program. | |
2580 | 2598 | if test "$cross_compiling" != no; then |
2581 | 2599 | if test -n "$ac_tool_prefix"; then |
2582 | 2600 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2715 | 2733 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2716 | 2734 | $as_echo "$MKDIR_P" >&6; } |
2717 | 2735 | |
2718 | mkdir_p="$MKDIR_P" | |
2719 | case $mkdir_p in | |
2720 | [\\/$]* | ?:[\\/]*) ;; | |
2721 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2722 | esac | |
2723 | ||
2724 | 2736 | for ac_prog in gawk mawk nawk awk |
2725 | 2737 | do |
2726 | 2738 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2825 | 2837 | |
2826 | 2838 | # Define the identity of the package. |
2827 | 2839 | PACKAGE='virt-viewer' |
2828 | VERSION='0.5.3' | |
2840 | VERSION='0.5.4' | |
2829 | 2841 | |
2830 | 2842 | |
2831 | 2843 | cat >>confdefs.h <<_ACEOF |
2852 | 2864 | |
2853 | 2865 | |
2854 | 2866 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2867 | ||
2868 | # For better backward compatibility. To be removed once Automake 1.9.x | |
2869 | # dies out for good. For more background, see: | |
2870 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2871 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2872 | mkdir_p='$(MKDIR_P)' | |
2855 | 2873 | |
2856 | 2874 | # We need awk for the "check" target. The system "awk" is bad on |
2857 | 2875 | # some platforms. |
2944 | 2962 | enableval=$enable_silent_rules; |
2945 | 2963 | fi |
2946 | 2964 | |
2947 | case $enable_silent_rules in | |
2948 | yes) AM_DEFAULT_VERBOSITY=0;; | |
2949 | no) AM_DEFAULT_VERBOSITY=1;; | |
2950 | *) AM_DEFAULT_VERBOSITY=0;; | |
2965 | case $enable_silent_rules in # ((( | |
2966 | yes) AM_DEFAULT_VERBOSITY=0;; | |
2967 | no) AM_DEFAULT_VERBOSITY=1;; | |
2968 | *) AM_DEFAULT_VERBOSITY=0;; | |
2951 | 2969 | esac |
2952 | 2970 | am_make=${MAKE-make} |
2953 | 2971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2979 | 2997 | AM_BACKSLASH='\' |
2980 | 2998 | |
2981 | 2999 | |
2982 | GLIB2_REQUIRED=2.12.0 | |
3000 | GLIB2_REQUIRED=2.22.0 | |
2983 | 3001 | LIBXML2_REQUIRED="2.6.0" |
2984 | 3002 | LIBVIRT_REQUIRED="0.9.7" |
2985 | 3003 | GTK2_REQUIRED="2.18.0" |
2986 | 3004 | GTK3_REQUIRED="3.0" |
2987 | 3005 | GTK_VNC1_REQUIRED="0.3.8" |
2988 | 3006 | GTK_VNC2_REQUIRED="0.4.0" |
2989 | SPICE_GTK_REQUIRED="0.11" | |
3007 | SPICE_GTK_REQUIRED="0.12.101" | |
2990 | 3008 | SPICE_PROTOCOL_REQUIRED="0.10.1" |
2991 | 3009 | |
2992 | 3010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 |
3818 | 3836 | _am_result=none |
3819 | 3837 | # First try GNU make style include. |
3820 | 3838 | echo "include confinc" > confmf |
3821 | # Ignore all kinds of additional output from `make'. | |
3839 | # Ignore all kinds of additional output from 'make'. | |
3822 | 3840 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3823 | 3841 | *the\ am__doit\ target*) |
3824 | 3842 | am__include=include |
3874 | 3892 | # We make a subdir and do the tests there. Otherwise we can end up |
3875 | 3893 | # making bogus files that we don't know about and never remove. For |
3876 | 3894 | # instance it was reported that on HP-UX the gcc test will end up |
3877 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3878 | # in D'. | |
3895 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
3896 | # in D". | |
3879 | 3897 | rm -rf conftest.dir |
3880 | 3898 | mkdir conftest.dir |
3881 | 3899 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3910 | 3928 | : > sub/conftest.c |
3911 | 3929 | for i in 1 2 3 4 5 6; do |
3912 | 3930 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3913 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3914 | # Solaris 8's {/usr,}/bin/sh. | |
3915 | touch sub/conftst$i.h | |
3931 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
3932 | # Solaris 10 /bin/sh. | |
3933 | echo '/* dummy */' > sub/conftst$i.h | |
3916 | 3934 | done |
3917 | 3935 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3918 | 3936 | |
3919 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3937 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
3920 | 3938 | # mode. It turns out that the SunPro C++ compiler does not properly |
3921 | # handle `-M -o', and we need to detect this. Also, some Intel | |
3922 | # versions had trouble with output in subdirs | |
3939 | # handle '-M -o', and we need to detect this. Also, some Intel | |
3940 | # versions had trouble with output in subdirs. | |
3923 | 3941 | am__obj=sub/conftest.${OBJEXT-o} |
3924 | 3942 | am__minus_obj="-o $am__obj" |
3925 | 3943 | case $depmode in |
3928 | 3946 | test "$am__universal" = false || continue |
3929 | 3947 | ;; |
3930 | 3948 | nosideeffect) |
3931 | # after this tag, mechanisms are not by side-effect, so they'll | |
3932 | # only be used when explicitly requested | |
3949 | # After this tag, mechanisms are not by side-effect, so they'll | |
3950 | # only be used when explicitly requested. | |
3933 | 3951 | if test "x$enable_dependency_tracking" = xyes; then |
3934 | 3952 | continue |
3935 | 3953 | else |
3937 | 3955 | fi |
3938 | 3956 | ;; |
3939 | 3957 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3940 | # This compiler won't grok `-c -o', but also, the minuso test has | |
3958 | # This compiler won't grok '-c -o', but also, the minuso test has | |
3941 | 3959 | # not run yet. These depmodes are late enough in the game, and |
3942 | 3960 | # so weak that their functioning should not be impacted. |
3943 | 3961 | am__obj=conftest.${OBJEXT-o} |
11805 | 11823 | |
11806 | 11824 | warnCFLAGS= |
11807 | 11825 | |
11808 | try_compiler_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" | |
11826 | try_compiler_flags="-fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" | |
11809 | 11827 | |
11810 | 11828 | case "$enable_compile_warnings" in |
11811 | 11829 | no) |
11829 | 11847 | as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 |
11830 | 11848 | ;; |
11831 | 11849 | esac |
11850 | ||
11851 | ||
11832 | 11852 | |
11833 | 11853 | compiler_flags= |
11834 | 11854 | for option in $try_compiler_flags; do |
13197 | 13217 | |
13198 | 13218 | |
13199 | 13219 | |
13200 | ||
13201 | 13220 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
13202 | 13221 | if test -n "$ac_tool_prefix"; then |
13203 | 13222 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
13311 | 13330 | PKG_CONFIG="" |
13312 | 13331 | fi |
13313 | 13332 | fi |
13333 | GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` | |
13334 | ||
13335 | ||
13314 | 13336 | |
13315 | 13337 | pkg_failed=no |
13316 | 13338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 |
14519 | 14541 | fi |
14520 | 14542 | |
14521 | 14543 | |
14522 | ac_config_files="$ac_config_files Makefile data/Makefile data/virt-viewer.nsis icons/Makefile icons/16x16/Makefile icons/22x22/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/256x256/Makefile man/Makefile mingw32-virt-viewer.spec plugin/Makefile po/Makefile.in src/Makefile src/virt-viewer.rc virt-viewer.spec" | |
14544 | ac_config_files="$ac_config_files Makefile data/Makefile data/virt-viewer.nsis icons/Makefile icons/16x16/Makefile icons/22x22/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/256x256/Makefile man/Makefile mingw-virt-viewer.spec plugin/Makefile po/Makefile.in src/Makefile src/virt-viewer.rc virt-viewer.spec" | |
14523 | 14545 | |
14524 | 14546 | cat >confcache <<\_ACEOF |
14525 | 14547 | # This file is a shell script that caches the results of configure |
14630 | 14652 | LTLIBOBJS=$ac_ltlibobjs |
14631 | 14653 | |
14632 | 14654 | |
14655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
14656 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
14657 | if test -n "$am_sleep_pid"; then | |
14658 | # Hide warnings about reused PIDs. | |
14659 | wait $am_sleep_pid 2>/dev/null | |
14660 | fi | |
14661 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
14662 | $as_echo "done" >&6; } | |
14633 | 14663 | if test -n "$EXEEXT"; then |
14634 | 14664 | am__EXEEXT_TRUE= |
14635 | 14665 | am__EXEEXT_FALSE='#' |
15087 | 15117 | # report actual input values of CONFIG_FILES etc. instead of their |
15088 | 15118 | # values after options handling. |
15089 | 15119 | ac_log=" |
15090 | This file was extended by virt-viewer $as_me 0.5.3, which was | |
15120 | This file was extended by virt-viewer $as_me 0.5.4, which was | |
15091 | 15121 | generated by GNU Autoconf 2.68. Invocation command line was |
15092 | 15122 | |
15093 | 15123 | CONFIG_FILES = $CONFIG_FILES |
15157 | 15187 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15158 | 15188 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15159 | 15189 | ac_cs_version="\\ |
15160 | virt-viewer config.status 0.5.3 | |
15190 | virt-viewer config.status 0.5.4 | |
15161 | 15191 | configured by $0, generated by GNU Autoconf 2.68, |
15162 | 15192 | with options \\"\$ac_cs_config\\" |
15163 | 15193 | |
15581 | 15611 | "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;; |
15582 | 15612 | "icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES icons/256x256/Makefile" ;; |
15583 | 15613 | "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
15584 | "mingw32-virt-viewer.spec") CONFIG_FILES="$CONFIG_FILES mingw32-virt-viewer.spec" ;; | |
15614 | "mingw-virt-viewer.spec") CONFIG_FILES="$CONFIG_FILES mingw-virt-viewer.spec" ;; | |
15585 | 15615 | "plugin/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;; |
15586 | 15616 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
15587 | 15617 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16229 | 16259 | # Strip MF so we end up with the name of the file. |
16230 | 16260 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
16231 | 16261 | # Check whether this is an Automake generated Makefile or not. |
16232 | # We used to match only the files named `Makefile.in', but | |
16262 | # We used to match only the files named 'Makefile.in', but | |
16233 | 16263 | # some people rename them; so instead we look at the file content. |
16234 | 16264 | # Grep'ing the first line is not enough: some people post-process |
16235 | 16265 | # each Makefile.in and add a new line on top of each file to say so. |
16263 | 16293 | continue |
16264 | 16294 | fi |
16265 | 16295 | # Extract the definition of DEPDIR, am__include, and am__quote |
16266 | # from the Makefile without running `make'. | |
16296 | # from the Makefile without running 'make'. | |
16267 | 16297 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
16268 | 16298 | test -z "$DEPDIR" && continue |
16269 | 16299 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
16270 | 16300 | test -z "am__include" && continue |
16271 | 16301 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
16272 | # When using ansi2knr, U may be empty or an underscore; expand it | |
16273 | U=`sed -n 's/^U = //p' < "$mf"` | |
16274 | 16302 | # Find all dependency output files, they are included files with |
16275 | 16303 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
16276 | 16304 | # simplest approach to changing $(DEPDIR) to its actual value in the |
16277 | 16305 | # expansion. |
16278 | 16306 | for file in `sed -n " |
16279 | 16307 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
16280 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
16308 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
16281 | 16309 | # Make sure the directory exists. |
16282 | 16310 | test -f "$dirpart/$file" && continue |
16283 | 16311 | fdir=`$as_dirname -- "$file" || |
0 | 0 | |
1 | AC_INIT(virt-viewer, 0.5.3) | |
1 | AC_INIT(virt-viewer, 0.5.4) | |
2 | 2 | AC_CONFIG_SRCDIR(src/virt-viewer-main.c) |
3 | 3 | AC_CONFIG_MACRO_DIR([m4]) |
4 | 4 | AC_CONFIG_AUX_DIR([build-aux]) |
11 | 11 | m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) |
12 | 12 | AM_SILENT_RULES([yes]) |
13 | 13 | |
14 | GLIB2_REQUIRED=2.12.0 | |
14 | GLIB2_REQUIRED=2.22.0 | |
15 | 15 | LIBXML2_REQUIRED="2.6.0" |
16 | 16 | LIBVIRT_REQUIRED="0.9.7" |
17 | 17 | GTK2_REQUIRED="2.18.0" |
18 | 18 | GTK3_REQUIRED="3.0" |
19 | 19 | GTK_VNC1_REQUIRED="0.3.8" |
20 | 20 | GTK_VNC2_REQUIRED="0.4.0" |
21 | SPICE_GTK_REQUIRED="0.11" | |
21 | SPICE_GTK_REQUIRED="0.12.101" | |
22 | 22 | SPICE_PROTOCOL_REQUIRED="0.10.1" |
23 | 23 | |
24 | 24 | AC_MSG_CHECKING([for native Win32]) |
71 | 71 | AM_GLIB_GNU_GETTEXT |
72 | 72 | IT_PROG_INTLTOOL([0.35.0]) |
73 | 73 | |
74 | PKG_PROG_PKG_CONFIG | |
75 | GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` | |
76 | AC_SUBST(GLIB_MKENUMS) | |
74 | 77 | |
75 | 78 | PKG_CHECK_MODULES(GLIB2, glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0) |
76 | 79 | PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= $LIBXML2_REQUIRED) |
200 | 203 | icons/48x48/Makefile |
201 | 204 | icons/256x256/Makefile |
202 | 205 | man/Makefile |
203 | mingw32-virt-viewer.spec | |
206 | mingw-virt-viewer.spec | |
204 | 207 | plugin/Makefile |
205 | 208 | po/Makefile.in |
206 | 209 | src/Makefile |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 13 | |
15 | 14 | @SET_MAKE@ |
16 | 15 | VPATH = @srcdir@ |
16 | am__make_dryrun = \ | |
17 | { \ | |
18 | am__dry=no; \ | |
19 | case $$MAKEFLAGS in \ | |
20 | *\\[\ \ ]*) \ | |
21 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
22 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
23 | *) \ | |
24 | for am__flg in $$MAKEFLAGS; do \ | |
25 | case $$am__flg in \ | |
26 | *=*|--*) ;; \ | |
27 | *n*) am__dry=yes; break;; \ | |
28 | esac; \ | |
29 | done;; \ | |
30 | esac; \ | |
31 | test $$am__dry = yes; \ | |
32 | } | |
17 | 33 | pkgdatadir = $(datadir)/@PACKAGE@ |
18 | 34 | pkgincludedir = $(includedir)/@PACKAGE@ |
19 | 35 | pkglibdir = $(libdir)/@PACKAGE@ |
47 | 63 | CONFIG_HEADER = $(top_builddir)/config.h |
48 | 64 | CONFIG_CLEAN_FILES = virt-viewer.nsis |
49 | 65 | CONFIG_CLEAN_VPATH_FILES = |
66 | AM_V_P = $(am__v_P_@AM_V@) | |
67 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
68 | am__v_P_0 = false | |
69 | am__v_P_1 = : | |
50 | 70 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
51 | 71 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
52 | am__v_GEN_0 = @echo " GEN " $@; | |
72 | am__v_GEN_0 = @echo " GEN " $@; | |
73 | am__v_GEN_1 = | |
53 | 74 | AM_V_at = $(am__v_at_@AM_V@) |
54 | 75 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
55 | 76 | am__v_at_0 = @ |
77 | am__v_at_1 = | |
56 | 78 | SOURCES = |
57 | 79 | DIST_SOURCES = |
80 | am__can_run_installinfo = \ | |
81 | case $$AM_UPDATE_INFO_DIR in \ | |
82 | n|no|NO) false;; \ | |
83 | *) (install-info --version) >/dev/null 2>&1;; \ | |
84 | esac | |
58 | 85 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
59 | 86 | ACLOCAL = @ACLOCAL@ |
60 | 87 | ALL_LINGUAS = @ALL_LINGUAS@ |
90 | 117 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
91 | 118 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ |
92 | 119 | GLIB2_LIBS = @GLIB2_LIBS@ |
120 | GLIB_MKENUMS = @GLIB_MKENUMS@ | |
93 | 121 | GMOFILES = @GMOFILES@ |
94 | 122 | GMSGFMT = @GMSGFMT@ |
95 | 123 | GREP = @GREP@ |
283 | 311 | ctags: CTAGS |
284 | 312 | CTAGS: |
285 | 313 | |
314 | cscope cscopelist: | |
315 | ||
286 | 316 | |
287 | 317 | distdir: $(DISTFILES) |
288 | 318 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
17 | am__make_dryrun = \ | |
18 | { \ | |
19 | am__dry=no; \ | |
20 | case $$MAKEFLAGS in \ | |
21 | *\\[\ \ ]*) \ | |
22 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
23 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
24 | *) \ | |
25 | for am__flg in $$MAKEFLAGS; do \ | |
26 | case $$am__flg in \ | |
27 | *=*|--*) ;; \ | |
28 | *n*) am__dry=yes; break;; \ | |
29 | esac; \ | |
30 | done;; \ | |
31 | esac; \ | |
32 | test $$am__dry = yes; \ | |
33 | } | |
18 | 34 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 35 | pkgincludedir = $(includedir)/@PACKAGE@ |
20 | 36 | pkglibdir = $(libdir)/@PACKAGE@ |
47 | 63 | CONFIG_HEADER = $(top_builddir)/config.h |
48 | 64 | CONFIG_CLEAN_FILES = |
49 | 65 | CONFIG_CLEAN_VPATH_FILES = |
66 | AM_V_P = $(am__v_P_@AM_V@) | |
67 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
68 | am__v_P_0 = false | |
69 | am__v_P_1 = : | |
50 | 70 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
51 | 71 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
52 | am__v_GEN_0 = @echo " GEN " $@; | |
72 | am__v_GEN_0 = @echo " GEN " $@; | |
73 | am__v_GEN_1 = | |
53 | 74 | AM_V_at = $(am__v_at_@AM_V@) |
54 | 75 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
55 | 76 | am__v_at_0 = @ |
77 | am__v_at_1 = | |
56 | 78 | SOURCES = |
57 | 79 | DIST_SOURCES = |
80 | am__can_run_installinfo = \ | |
81 | case $$AM_UPDATE_INFO_DIR in \ | |
82 | n|no|NO) false;; \ | |
83 | *) (install-info --version) >/dev/null 2>&1;; \ | |
84 | esac | |
58 | 85 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
59 | 86 | am__vpath_adj = case $$p in \ |
60 | 87 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
119 | 146 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
120 | 147 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ |
121 | 148 | GLIB2_LIBS = @GLIB2_LIBS@ |
149 | GLIB_MKENUMS = @GLIB_MKENUMS@ | |
122 | 150 | GMOFILES = @GMOFILES@ |
123 | 151 | GMSGFMT = @GMSGFMT@ |
124 | 152 | GREP = @GREP@ |
304 | 332 | -rm -rf .libs _libs |
305 | 333 | install-iconDATA: $(icon_DATA) |
306 | 334 | @$(NORMAL_INSTALL) |
307 | test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" | |
308 | 335 | @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ |
336 | if test -n "$$list"; then \ | |
337 | echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ | |
338 | $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ | |
339 | fi; \ | |
309 | 340 | for p in $$list; do \ |
310 | 341 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
311 | 342 | echo "$$d$$p"; \ |
325 | 356 | |
326 | 357 | ctags: CTAGS |
327 | 358 | CTAGS: |
359 | ||
360 | cscope cscopelist: | |
328 | 361 | |
329 | 362 | |
330 | 363 | distdir: $(DISTFILES) |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
17 | am__make_dryrun = \ | |
18 | { \ | |
19 | am__dry=no; \ | |
20 | case $$MAKEFLAGS in \ | |
21 | *\\[\ \ ]*) \ | |
22 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
23 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
24 | *) \ | |
25 | for am__flg in $$MAKEFLAGS; do \ | |
26 | case $$am__flg in \ | |
27 | *=*|--*) ;; \ | |
28 | *n*) am__dry=yes; break;; \ | |
29 | esac; \ | |
30 | done;; \ | |
31 | esac; \ | |
32 | test $$am__dry = yes; \ | |
33 | } | |
18 | 34 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 35 | pkgincludedir = $(includedir)/@PACKAGE@ |
20 | 36 | pkglibdir = $(libdir)/@PACKAGE@ |
47 | 63 | CONFIG_HEADER = $(top_builddir)/config.h |
48 | 64 | CONFIG_CLEAN_FILES = |
49 | 65 | CONFIG_CLEAN_VPATH_FILES = |
66 | AM_V_P = $(am__v_P_@AM_V@) | |
67 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
68 | am__v_P_0 = false | |
69 | am__v_P_1 = : | |
50 | 70 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
51 | 71 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
52 | am__v_GEN_0 = @echo " GEN " $@; | |
72 | am__v_GEN_0 = @echo " GEN " $@; | |
73 | am__v_GEN_1 = | |
53 | 74 | AM_V_at = $(am__v_at_@AM_V@) |
54 | 75 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
55 | 76 | am__v_at_0 = @ |
77 | am__v_at_1 = | |
56 | 78 | SOURCES = |
57 | 79 | DIST_SOURCES = |
80 | am__can_run_installinfo = \ | |
81 | case $$AM_UPDATE_INFO_DIR in \ | |
82 | n|no|NO) false;; \ | |
83 | *) (install-info --version) >/dev/null 2>&1;; \ | |
84 | esac | |
58 | 85 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
59 | 86 | am__vpath_adj = case $$p in \ |
60 | 87 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
119 | 146 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
120 | 147 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ |
121 | 148 | GLIB2_LIBS = @GLIB2_LIBS@ |
149 | GLIB_MKENUMS = @GLIB_MKENUMS@ | |
122 | 150 | GMOFILES = @GMOFILES@ |
123 | 151 | GMSGFMT = @GMSGFMT@ |
124 | 152 | GREP = @GREP@ |
304 | 332 | -rm -rf .libs _libs |
305 | 333 | install-iconDATA: $(icon_DATA) |
306 | 334 | @$(NORMAL_INSTALL) |
307 | test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" | |
308 | 335 | @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ |
336 | if test -n "$$list"; then \ | |
337 | echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ | |
338 | $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ | |
339 | fi; \ | |
309 | 340 | for p in $$list; do \ |
310 | 341 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
311 | 342 | echo "$$d$$p"; \ |
325 | 356 | |
326 | 357 | ctags: CTAGS |
327 | 358 | CTAGS: |
359 | ||
360 | cscope cscopelist: | |
328 | 361 | |
329 | 362 | |
330 | 363 | distdir: $(DISTFILES) |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
17 | am__make_dryrun = \ | |
18 | { \ | |
19 | am__dry=no; \ | |
20 | case $$MAKEFLAGS in \ | |
21 | *\\[\ \ ]*) \ | |
22 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
23 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
24 | *) \ | |
25 | for am__flg in $$MAKEFLAGS; do \ | |
26 | case $$am__flg in \ | |
27 | *=*|--*) ;; \ | |
28 | *n*) am__dry=yes; break;; \ | |
29 | esac; \ | |
30 | done;; \ | |
31 | esac; \ | |
32 | test $$am__dry = yes; \ | |
33 | } | |
18 | 34 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 35 | pkgincludedir = $(includedir)/@PACKAGE@ |
20 | 36 | pkglibdir = $(libdir)/@PACKAGE@ |
47 | 63 | CONFIG_HEADER = $(top_builddir)/config.h |
48 | 64 | CONFIG_CLEAN_FILES = |
49 | 65 | CONFIG_CLEAN_VPATH_FILES = |
66 | AM_V_P = $(am__v_P_@AM_V@) | |
67 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
68 | am__v_P_0 = false | |
69 | am__v_P_1 = : | |
50 | 70 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
51 | 71 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
52 | am__v_GEN_0 = @echo " GEN " $@; | |
72 | am__v_GEN_0 = @echo " GEN " $@; | |
73 | am__v_GEN_1 = | |
53 | 74 | AM_V_at = $(am__v_at_@AM_V@) |
54 | 75 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
55 | 76 | am__v_at_0 = @ |
77 | am__v_at_1 = | |
56 | 78 | SOURCES = |
57 | 79 | DIST_SOURCES = |
80 | am__can_run_installinfo = \ | |
81 | case $$AM_UPDATE_INFO_DIR in \ | |
82 | n|no|NO) false;; \ | |
83 | *) (install-info --version) >/dev/null 2>&1;; \ | |
84 | esac | |
58 | 85 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
59 | 86 | am__vpath_adj = case $$p in \ |
60 | 87 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
119 | 146 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
120 | 147 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ |
121 | 148 | GLIB2_LIBS = @GLIB2_LIBS@ |
149 | GLIB_MKENUMS = @GLIB_MKENUMS@ | |
122 | 150 | GMOFILES = @GMOFILES@ |
123 | 151 | GMSGFMT = @GMSGFMT@ |
124 | 152 | GREP = @GREP@ |
304 | 332 | -rm -rf .libs _libs |
305 | 333 | install-iconDATA: $(icon_DATA) |
306 | 334 | @$(NORMAL_INSTALL) |
307 | test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" | |
308 | 335 | @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ |
336 | if test -n "$$list"; then \ | |
337 | echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ | |
338 | $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ | |
339 | fi; \ | |
309 | 340 | for p in $$list; do \ |
310 | 341 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
311 | 342 | echo "$$d$$p"; \ |
325 | 356 | |
326 | 357 | ctags: CTAGS |
327 | 358 | CTAGS: |
359 | ||
360 | cscope cscopelist: | |
328 | 361 | |
329 | 362 | |
330 | 363 | distdir: $(DISTFILES) |
0 | # Makefile.in generated by automake 1.11.3 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.2 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
15 | 14 | @SET_MAKE@ |
16 | 15 | |
17 | 16 | VPATH = @srcdir@ |
17 | am__make_dryrun = \ | |
18 | { \ | |
19 | am__dry=no; \ | |
20 | case $$MAKEFLAGS in \ | |
21 | *\\[\ \ ]*) \ | |
22 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
23 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
24 | *) \ |