Package list virt-viewer / 46706d4
Merge tag 'upstream/0.5.6' Upstream version 0.5.6 # gpg: Signature made Di 25 Jun 2013 12:17:25 CEST # gpg: using DSA key 0x9FCF2CCD3F3E6426 # gpg: please do a --check-trustdb # gpg: Good signature from "Guido Günther <agx@sigxcpu.org>" # gpg: aka "Guido Guenther <agx@debian.org>" # gpg: aka "Guido Guenther <agx@sigxcpu.org>" Guido Günther 8 years ago
125 changed file(s) with 17479 addition(s) and 11705 deletion(s). Raw diff Collapse all Expand all
0 2013-05-01 Daniel P. Berrange <berrange@redhat.com>
1
2 Set PKG_CONFIG_LIBDIR variable for mingw builds
3 To avoid pkg-config accidentally falling back to
4 native versions, set the PKG_CONFIG_LIBDIR var
5 explicitly
6
7 Set a default value for AUTOBUILD_INSTALL_ROOT
8
9 Set MANUFACTURER env variable when running wixl
10 The MANUFACTURER env variable is mandatory since it is used
11 in the data files. wixl will exit with parser error if it
12 is not set
13
14 Add missing include of config.h
15
16 Remove tab from source file
17
18 Refresh translations from transifex
19
20 2013-04-30 Marc-André Lureau <marcandre.lureau@gmail.com>
21
22 file: add delete-this-file option
23 In case the virt-viewer setting file is meant to temporary, you may use
24 the delete-this-file=1 option to ask the client to remove it, once it
25 has been read. This is useful for example in ovirt context, where
26 connection settings file are generated and can't be reused.
27
28 2013-04-25 Christophe Fergeau <cfergeau@redhat.com>
29
30 Exit virt-viewer when trying to close any window
31 Currently, in multi-screen scenarios, when closing one remote-viewer
32 window, the corresponding screen gets disabled in the guest OS.
33 This can be confusing as this behaves very differently from
34 File/Quit. This commit will exit the whole application when the user
35 tries to close one of virt-viewer window.
36
37 2013-04-23 Hans de Goede <hdegoede@redhat.com>
38
39 gtk-3: Rework window size handling
40 With gtk-2 we have a special hack, where at first we make the
41 virt-viewer-display request its actual size, and then once the window is
42 mapped, we request a size of 50x50 to allow the user to resize the window
43 to something smaller.
44
45 With gtk-3 >= 3.8.1 this is broken, and the window gets resized to a
46 smaller size as soon as we change the size request to 50x50.
47
48 gtk-3 has a much better way of dealing with this in the form of widgets
49 being able to specify both a minimal and a natural size. This patch changes
50 virt-viewer to use this with gtk-3, instead of the gtk-2 hack.
51
52 ovBox: Make get_preferred_width/height differentiate between min and natural
53 gtk-3's widget size negotiation code differentiates between the minimum
54 size and the natural size of a widget, fix ovBox to pass this along from
55 its underlying widget to its parent.
56
57 virt-viewer-window: cleanup zoom handling
58 We've 3 similar zoom function zoom in / out / reset. in / out do not
59 schedule a window resize when there is no display, where as reset does,
60 which is not consistent. Also there is some duplicate code between them.
61
62 virt-viewer-display: Use virt_viewer_display_queue_resize where possible
63
64 2013-04-23 Marc-André Lureau <marcandre.lureau@gmail.com>
65
66 mingw spec: fix x64 msi location
67
68 2013-04-15 Marc-André Lureau <marcandre.lureau@gmail.com>
69
70 Prepeare notes for release 0.5.6
71
72 msi: build correct 64-bit msi
73
74 msi: fix icon location
75
76 build-sys: generate MSI installer instead of NSIS
77
78 build-sys: regenerate spec files when they change
79
80 spice: forward secure-channels
81 This needs spice-gtk >= 0.19.7 and will warn with lower version
82
83 2013-04-13 Christophe Fergeau <cfergeau@redhat.com>
84
85 Remove redundant check, g_strdup(NULL) is allowed
86 This also makes the code consistent with its surroundings.
87
88 Fix memory leak on remote-viewer exit
89 When exiting remote-viewer, VirtViewepApp::dispose() calls
90 virt_viewer_app_set_connect_info() with NULL parameters to free all
91 internal fields. However, _set_connect_info() calls
92 virt_viewer_app_update_pretty_address() which will always allocate
93 a new string even if the fields it's using to fill the string are NULL.
94 This commit fixes the leak by checking if the fields have non-NULL
95 values before creating the newly-allocated string.
96
97 ==24180== 14 bytes in 1 blocks are definitely lost in loss record 540 of 8,671
98 ==24180== at 0x4A0887C: malloc (vg_replace_malloc.c:270)
99 ==24180== by 0x32D2B0A187: __vasprintf_chk (vasprintf_chk.c:80)
100 ==24180== by 0x32D52845AA: g_vasprintf (stdio2.h:210)
101 ==24180== by 0x32D52640DC: g_strdup_vprintf (gstrfuncs.c:517)
102 ==24180== by 0x32D526417B: g_strdup_printf (gstrfuncs.c:543)
103 ==24180== by 0x4136E6: virt_viewer_app_update_pretty_address (virt-viewer-app.c:1681)
104 ==24180== by 0x414100: virt_viewer_app_set_connect_info (virt-viewer-app.c:1902)
105 ==24180== by 0x4141D0: virt_viewer_app_free_connect_info (virt-viewer-app.c:1910)
106 ==24180== by 0x4127C6: virt_viewer_app_dispose (virt-viewer-app.c:1353)
107 ==24180== by 0x425488: remote_viewer_dispose (remote-viewer.c:131)
108 ==24180== by 0x32D5E14787: g_object_unref (gobject.c:2986)
109 ==24180== by 0x4280AF: main (remote-viewer-main.c:323)
110
111 2013-04-12 Christophe Fergeau <cfergeau@redhat.com>
112
113 build-sys: Simplify setting of optional CFLAGS/LDFLAGS
114 They don't need to be wrapped inside if HAVE_XXX blocks in Makefile.am
115 as when XXX is not available, XXX_CFLAGS and XXX_LIBS will expand to
116 the empty string, and thus we can carry them unconditionally in
117 our app_CFLAGS/app_LDFLAGS variables.
118
119 Be more consistent in #if/#ifdef use
120 Some of the code is checking for spice-gtk/oVirt availability
121 by using #ifdef HAVE_XXX, and some of the code is using #if HAVE_XXX.
122 As configure.ac only AC_DEFINE() HAVE_XXX when XXX could be found,
123 let's use the #ifdef HAVE_XXX form everywhere
124
125 Add oVirt support
126 This commit adds support for ovirt:// URIs. It does so by using
127 libgovirt to get the spice/vnc connection information through
128 oVirt xmlrpc API.
129
130 2013-04-11 Marc-André Lureau <marcandre.lureau@gmail.com>
131
132 build-sys: fix distcheck
133
134 2013-04-11 Hans de Goede <hdegoede@redhat.com>
135
136 po: Remove extraenous backslash, breaking the build
137
138 2013-04-08 Daniel P. Berrange <berrange@redhat.com>
139
140 Refresh translations from transifex
141
142 2013-04-05 Hans de Goede <hdegoede@redhat.com>
143
144 virt-viewer-app: Always allow users to close displays from the displays menu
145 Marking display menu items as non sensitive for shown displays make no sense,
146 since the user can always close them through the window-manager.
147
148 Having a window for a display shown when the display is not selectable nor
149 ready, can happen when the agent goes away. This happens for example when using
150 a dual monitor config with a Linux guest and then switching to a text console
151 inside the guest.
152
153 2013-04-02 Christophe Fergeau <cfergeau@redhat.com>
154
155 Use translations when looking up key combination to send
156 virt_viewer_window_menu_send() compares the label of the menu item
157 that was clicked on with a list of known labels to know which
158 key combination should be sent to the guest.
159 However, the menu label can be translated, but the table doing
160 the label -> key combination mapping uses untranslated labels.
161 This means the menu item will not send any key combination when
162 clicked if translated.
163 This can be observed with fr_FR where "Ctrl+Alt+_Del" is translated
164 to "Ctrl+Alt+_Suppr".
165
166 2013-04-02 Marc-André Lureau <marcandre.lureau@gmail.com>
167
168 win32: maximize when leaving fullscreen the first time
169 On windows, the client window may end up with a non-visible toolbar,
170 and overlapping the windows statusbar. To workaround this, let's
171 maximize the client the first time leaving fullscreen.
172
173 https://bugzilla.redhat.com/show_bug.cgi?id=916810
174
175 2013-03-28 Marc-André Lureau <marcandre.lureau@redhat.com>
176
177 Do not enable extra monitors until they are explicitely enabled
178
179 Make display menu item sensitive again
180 Even if the display has not been explicitely disabled, as long as
181 the display is "selectable"
182
183 Fix regression introduced with "Do not disable extra client monitors"
184 3b981d953f270662360e5b0c78183924276a18ed
185
186 2013-03-26 Marc-André Lureau <marcandre.lureau@gmail.com>
187
188 Remove gtk_window_present() call
189 gtk_window_present() may forcefully call gdk_window_show(), which will
190 call ShowWindow(). Although gdk call is not supposed to move the
191 window if it's already visible, it does restore the window position on
192 Vista+. For example, a snapped window will be moved back to its
193 previous position.
194
195 Gtk+ ShowWindow() is currently using SW_SHOWNOACTIVATE, it should
196 probably use SW_SHOWNA instead, but that didn't help anyway for a
197 snapped window.
198
199 Since virt_viewer_window_show() already ensure the window is visible,
200 I am not sure why gtk_window_present() is there in the first place, so
201 just remove it.
202
203 https://bugzilla.redhat.com/show_bug.cgi?id=912713
204
205 Add gtk_widget_get_realized() define for old gtk+
206 Fix build with gtk < 2.20
207
208 window: keep display size when leaving fullscreen for first time
209 If the application was started in fullscreen, window geometry has not
210 been saved, since the window was not realized. We can unfullscreen and
211 restore 1:1 window to match guest display size with
212 virt_viewer_display_queue_resize()
213
214 https://bugzilla.redhat.com/show_bug.cgi?id=916810
215
216 window: save window geometry if the window is realized
217 Protect against re-entering fullscreen by moving pre-condition,
218 keey the last know window geometry, since it stays valid.
219
220 window: resize to monitor geometry
221 This code is potentially bad, we should set size request to the size of the monitor
222
223 2013-03-25 Marc-André Lureau <marcandre.lureau@gmail.com>
224
225 display: make a function to queue the dirty display allocation trick
226
227 app: add get_fullscreen_auto_conf()
228
229 2013-03-25 Christophe Fergeau <cfergeau@redhat.com>
230
231 Reuse existing 'displays' submenu rather than recreating it
232 Because of what apparently is a gtk+2 bug , we
233 cannot recreate the submenu every time we need to refresh it,
234 otherwise the application may get frozen with the keyboard and
235 mouse grabbed if gtk_menu_item_set_submenu is called while
236 the menu is displayed. Reusing the same menu every time
237 works around this issue.
238
239 https://bugzilla.redhat.com/show_bug.cgi?id=922712
240
241 2013-03-22 Marc-André Lureau <marcandre.lureau@gmail.com>
242
243 Do not disable extra client monitors
244 This allows reconfiguration of extra monitors whenever the agent is
245 back, for example after reboot.
246
247 https://bugzilla.redhat.com/show_bug.cgi?id=918997
248
249 spice: always send auto-conf on agent connection
250 Restore the auto-conf client monitor configuration whenever the agent
251 is started. This ensures the guest has the expected number of monitors
252 enabled when rebooting in fullscreen.
253
254 https://bugzilla.redhat.com/show_bug.cgi?id=918997
255
256 2013-03-22 Hans de Goede <hdegoede@redhat.com>
257
258 virt-viewer-display-spice: Skip monitor info in fullscreen-auto-conf mode
259 When we are in fullscreen-auto-conf virt-viewer-session-spice sends a
260 monitor-info message to the agent with the exact client monitor info, and
261 virt-viewer-display-spice should not override that.
262
263 Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
264
265 2013-03-22 Marc-André Lureau <marcandre.lureau@gmail.com>
266
267 Forward directly key events to display
268 Even if the display is disabled, we should keep sending key events to
269 guest. It can wake up from sleep for instance.
270
271 There is a single widget per window, so we can directly send key
272 events there. If the menu is active, it has the grab, so the window
273 doesn't receive those key events.
274
275 https://bugzilla.redhat.com/show_bug.cgi?id=870710
276
277 2013-03-21 Hans de Goede <hdegoede@redhat.com>
278
279 virt-viewer-app: Call virt_viewer_app_update_menu_displays on show_hint change
280 Since the sensitivity of the display menu-check-items depends on show_hint,
281 we need to call virt_viewer_app_update_menu_displays on show_hint change.
282
283 This fixes the following scenario:
284 1) Linux guest with upto 4 displays on a single qxl dev
285 2) Configure it for 2 displays
286 3) Switch to a text-console in the guest (ie send ctrl+alt+F3)
287 4) All displays except for disp 1 are now not sensitve in the menu
288 5) Switch back to X
289 6) The second display in the view->displays menu is still not sensitive
290
291 virt-viewer-display: Document difference between nth display and monitor
292
293 virt-viewer-window: Don't use priv->display when it is NULL
294 Add some missing checks for not having a display. Note that where
295 functions should not be called (ie menu items should be disabled) I've
296 used g_return_if_fail.
297
298 virt-viewer-window: Store the monitor locally
299 With commit 81ed9d13 "virt_viewer_window_enter_fullscreen: Pass in monitor for
300 fullscreen window" we need a monitor number to determine where to move
301 the window when going fullscreen.
302
303 Since the VirtViewerDisplay needs to know the fullscreen monitor number too,
304 to determine the fullscreen size it was being stored there. But we don't
305 always have a display, leading to errors like:
306
307 (remote-viewer:7996): remote-viewer-CRITICAL **:
308 virt_viewer_display_get_monitor: assertion `VIRT_VIEWER_IS_DISPLAY(self)'
309 failed
310
311 And to the monitor number not always being stored. This patchset fixes this
312 by storing the monitor number inside VirtViewerWindow, and passing it to
313 VirtViewerDisplay only when we've a display.
314
315 2013-03-20 Christophe Fergeau <cfergeau@redhat.com>
316
317 Fix compilation with older glib versions
318 Recent commits introduced use of g_clear_object and
319 g_byte_array_new_take which are only present respectively in glib
320 2.28 and 2.32
321
322 Fix compilation with older gtk+
323 gtk_widget_get_mapped is only available in gtk+ 2.20, so we need
324 a compat definition for older releases.
325
326 2013-03-20 Hans de Goede <hdegoede@redhat.com>
327
328 virt-viewer-display-spice: Use display monitor property for fullscreen size
329 When a display is pinned to a certain monitor for fullscreen, it will be moved
330 there when going fullscreen. Currently we use gdk_screen_get_monitor_at_window
331 to determine which monitor we are on and get the size from that monitor.
332
333 But this is racy, sometimes the size_allocate function runs before the move
334 has finished and we get the size from the wrong monitor:
335 https://bugzilla.redhat.com/show_bug.cgi?id=918570
336
337 Since if the display is pinned to a certain monitor, the display will always
338 end up on that monitor we can avoid the race by simply using that monitors
339 size.
340
341 virt_viewer_window_enter_fullscreen: Pass in monitor for fullscreen window
342 Rather then passing in a move boolean + coordinates to move the window
343 to for fullscreen mode, simply pass in the monitor, so that the underlying
344 objects can also use the monitors size to determine the display size.
345
346 Note: pass in -1 to use the monitor the window is currently on.
347
348 virt-viewer-display: Add monitor property
349
350 2013-03-13 Marc-André Lureau <marcandre.lureau@gmail.com>
351
352 spice: update fullscreen state on display creation
353 This ensure self->priv->auto_resize has correct value.
354 And allow changing guest resolution when started in fullscreen.
355
356 https://bugzilla.redhat.com/show_bug.cgi?id=873298
357
358 Don't override G_LOG_DOMAIN=all
359 If the string is different, the GLib log handler will not log all
360 messages.
361
362 2013-03-13 Daniel P. Berrange <berrange@redhat.com>
363
364 Delete browser plugin entirely
365 The browser plugin code has been effectively unmaintained since
366 the day it was merged. There has always been a caveat that the
367 code has not been properly audited to ensure it is secure, and
368 being unmaintained doesn't give a warm secure feeling. These
369 days there are better solutions for the browser which are pure
370 HTML5 code, noVNC and SPICE-HTML5.
371
372 2013-03-08 Marc-André Lureau <marcandre.lureau@gmail.com>
373
374 file: add version field, raise an error if incompatibily
375 The virt-viewer connection file can now have a version=0.5 field. If
376 the virt-viewer version opening the connection doesn't provide at
377 least that version, an error is raised with the version required.
378
379 Allow app_initial_connect() to raise an error
380
381 Add virt_viewer_compare_version()
382
383 Add VIRT_VIEWER_ERROR GError
384
385 2013-02-21 Hans de Goede <hdegoede@redhat.com>
386
387 Fix send-key menu not showing in fullscreen with gtk3 (rhbz#913601)
388 This should also fix the send-key menu showing in the wrong position with a
389 gtk2 build, when the tooltray icon is clicked on the 2nd or higher monitor.
390
0391 2013-02-13 Daniel P. Berrange <berrange@redhat.com>
392
393 Post release version bump
1394
2395 Update for 0.5.5 release
3396
11
22 ACLOCAL_AMFLAGS = -I m4
33
4 SUBDIRS = icons src man plugin po data
4 SUBDIRS = icons src man po data
55
66 EXTRA_DIST = \
77 $(PACKAGE).spec \
7676 make -C $(builddir)/data virt-viewer-$(VERSION).exe
7777 endif
7878
79
80 # this make sure those files are regenerated when they change
81 # (in maintainer-mode)
82 all-local: virt-viewer.spec mingw-virt-viewer.spec
83
7984 -include $(top_srcdir)/git.mk
0 # Makefile.in generated by automake 1.12.2 from Makefile.am.
0 # Makefile.in generated by automake 1.13.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994-2012 Free Software Foundation, Inc.
4949 build_triplet = @build@
5050 host_triplet = @host@
5151 subdir = .
52 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
53 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
54 $(srcdir)/mingw-virt-viewer.spec.in \
55 $(srcdir)/virt-viewer.spec.in $(top_srcdir)/build-aux/compile \
52 DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
53 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
54 $(top_srcdir)/configure $(am__configure_deps) \
55 $(srcdir)/config.h.in $(srcdir)/mingw-virt-viewer.spec.in \
56 $(srcdir)/virt-viewer.spec.in COPYING build-aux/compile \
57 build-aux/config.guess build-aux/config.sub \
58 build-aux/install-sh build-aux/missing build-aux/ltmain.sh \
59 $(top_srcdir)/build-aux/compile \
5660 $(top_srcdir)/build-aux/config.guess \
5761 $(top_srcdir)/build-aux/config.sub \
5862 $(top_srcdir)/build-aux/install-sh \
5963 $(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 \
63 build-aux/install-sh build-aux/ltmain.sh build-aux/missing
64 $(top_srcdir)/build-aux/missing
6465 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
6566 am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
6667 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8990 am__v_at_1 =
9091 SOURCES =
9192 DIST_SOURCES =
92 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
93 html-recursive info-recursive install-data-recursive \
94 install-dvi-recursive install-exec-recursive \
95 install-html-recursive install-info-recursive \
96 install-pdf-recursive install-ps-recursive install-recursive \
97 installcheck-recursive installdirs-recursive pdf-recursive \
98 ps-recursive uninstall-recursive
93 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
94 ctags-recursive dvi-recursive html-recursive info-recursive \
95 install-data-recursive install-dvi-recursive \
96 install-exec-recursive install-html-recursive \
97 install-info-recursive install-pdf-recursive \
98 install-ps-recursive install-recursive installcheck-recursive \
99 installdirs-recursive pdf-recursive ps-recursive \
100 tags-recursive uninstall-recursive
99101 am__can_run_installinfo = \
100102 case $$AM_UPDATE_INFO_DIR in \
101103 n|no|NO) false;; \
103105 esac
104106 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
105107 distclean-recursive maintainer-clean-recursive
106 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
107 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
108 am__recursive_targets = \
109 $(RECURSIVE_TARGETS) \
110 $(RECURSIVE_CLEAN_TARGETS) \
111 $(am__extra_recursive_targets)
112 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
108113 cscope distdir dist dist-all distcheck
114 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
115 $(LISP)config.h.in
116 # Read a list of newline-separated strings from the standard input,
117 # and print each of them once, without duplicates. Input order is
118 # *not* preserved.
119 am__uniquify_input = $(AWK) '\
120 BEGIN { nonempty = 0; } \
121 { items[$$0] = 1; nonempty = 1; } \
122 END { if (nonempty) { for (i in items) print i; }; } \
123 '
124 # Make sure the list of sources is unique. This is necessary because,
125 # e.g., the same source file might be shared among _SOURCES variables
126 # for different programs/libraries.
127 am__define_uniq_tagged_files = \
128 list='$(am__tagged_files)'; \
129 unique=`for i in $$list; do \
130 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
131 done | $(am__uniquify_input)`
109132 ETAGS = etags
110133 CTAGS = ctags
111134 CSCOPE = cscope
181204 EGREP = @EGREP@
182205 EXEEXT = @EXEEXT@
183206 FGREP = @FGREP@
184 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
185 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
186207 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
187208 GLIB2_CFLAGS = @GLIB2_CFLAGS@
188209 GLIB2_LIBS = @GLIB2_LIBS@
229250 MANIFEST_TOOL = @MANIFEST_TOOL@
230251 MKDIR_P = @MKDIR_P@
231252 MKINSTALLDIRS = @MKINSTALLDIRS@
232 MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@
233 MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@
234253 MSGFMT = @MSGFMT@
235254 MSGFMT_OPTS = @MSGFMT_OPTS@
236255 MSGMERGE = @MSGMERGE@
237256 NM = @NM@
238257 NMEDIT = @NMEDIT@
239 NSPR_CFLAGS = @NSPR_CFLAGS@
240 NSPR_LIBS = @NSPR_LIBS@
241258 OBJDUMP = @OBJDUMP@
242259 OBJEXT = @OBJEXT@
243260 OTOOL = @OTOOL@
244261 OTOOL64 = @OTOOL64@
262 OVIRT_CFLAGS = @OVIRT_CFLAGS@
263 OVIRT_LIBS = @OVIRT_LIBS@
245264 PACKAGE = @PACKAGE@
246265 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
247266 PACKAGE_NAME = @PACKAGE_NAME@
272291 VERSION = @VERSION@
273292 WARN_CFLAGS = @WARN_CFLAGS@
274293 WINDRES = @WINDRES@
294 WIXL_ARCH = @WIXL_ARCH@
275295 XGETTEXT = @XGETTEXT@
276296 abs_builddir = @abs_builddir@
277297 abs_srcdir = @abs_srcdir@
329349 top_srcdir = @top_srcdir@
330350 NULL =
331351 ACLOCAL_AMFLAGS = -I m4
332 SUBDIRS = icons src man plugin po data
352 SUBDIRS = icons src man po data
333353 EXTRA_DIST = \
334354 $(PACKAGE).spec \
335355 intltool-extract.in \
444464 # (1) if the variable is set in 'config.status', edit 'config.status'
445465 # (which will cause the Makefiles to be regenerated when you run 'make');
446466 # (2) otherwise, pass the desired values on the 'make' command line.
447 $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
467 $(am__recursive_targets):
448468 @fail= failcom='exit 1'; \
449469 for f in x $$MAKEFLAGS; do \
450470 case $$f in \
472492 if test "$$dot_seen" = "no"; then \
473493 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
474494 fi; test -z "$$fail"
475 tags-recursive:
476 list='$(SUBDIRS)'; for subdir in $$list; do \
477 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
478 done
479 ctags-recursive:
480 list='$(SUBDIRS)'; for subdir in $$list; do \
481 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
482 done
483 cscopelist-recursive:
484 list='$(SUBDIRS)'; for subdir in $$list; do \
485 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
486 done
487
488 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
489 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
490 unique=`for i in $$list; do \
491 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
492 done | \
493 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
494 END { if (nonempty) { for (i in files) print i; }; }'`; \
495 mkid -fID $$unique
496 tags: TAGS
497
498 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
499 $(TAGS_FILES) $(LISP)
495
496 ID: $(am__tagged_files)
497 $(am__define_uniq_tagged_files); mkid -fID $$unique
498 tags: tags-recursive
499 TAGS: tags
500
501 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
500502 set x; \
501503 here=`pwd`; \
502504 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
512514 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
513515 fi; \
514516 done; \
515 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
516 unique=`for i in $$list; do \
517 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
518 done | \
519 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
520 END { if (nonempty) { for (i in files) print i; }; }'`; \
517 $(am__define_uniq_tagged_files); \
521518 shift; \
522519 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
523520 test -n "$$unique" || unique=$$empty_fix; \
529526 $$unique; \
530527 fi; \
531528 fi
532 ctags: CTAGS
533 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
534 $(TAGS_FILES) $(LISP)
535 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
536 unique=`for i in $$list; do \
537 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
538 done | \
539 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
540 END { if (nonempty) { for (i in files) print i; }; }'`; \
529 ctags: ctags-recursive
530
531 CTAGS: ctags
532 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
533 $(am__define_uniq_tagged_files); \
541534 test -z "$(CTAGS_ARGS)$$unique" \
542535 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
543536 $$unique
546539 here=`$(am__cd) $(top_builddir) && pwd` \
547540 && $(am__cd) $(top_srcdir) \
548541 && gtags -i $(GTAGS_ARGS) "$$here"
549
550542 cscope: cscope.files
551543 test ! -s cscope.files \
552544 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
553
554545 clean-cscope:
555546 -rm -f cscope.files
556
557 cscope.files: clean-cscope cscopelist-recursive cscopelist
558
559 cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
560 list='$(SOURCES) $(HEADERS) $(LISP)'; \
547 cscope.files: clean-cscope cscopelist
548 cscopelist: cscopelist-recursive
549
550 cscopelist-am: $(am__tagged_files)
551 list='$(am__tagged_files)'; \
561552 case "$(srcdir)" in \
562553 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
563554 *) sdir=$(subdir)/$(srcdir) ;; \
694685 *.zip*) \
695686 unzip $(distdir).zip ;;\
696687 esac
697 chmod -R a-w $(distdir); chmod u+w $(distdir)
698 mkdir $(distdir)/_build
699 mkdir $(distdir)/_inst
688 chmod -R a-w $(distdir)
689 chmod u+w $(distdir)
690 mkdir $(distdir)/_build $(distdir)/_inst
700691 chmod a-w $(distdir)
701692 test -d $(distdir)/_build || exit 0; \
702693 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
760751 exit 1; } >&2
761752 check-am: all-am
762753 check: check-recursive
763 all-am: Makefile config.h
754 all-am: Makefile config.h all-local
764755 installdirs: installdirs-recursive
765756 installdirs-am:
766757 install: install-recursive
864855
865856 uninstall-am:
866857
867 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
868 cscopelist-recursive ctags-recursive install-am install-strip \
869 tags-recursive
870
871 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
872 all all-am am--refresh check check-am clean clean-cscope \
873 clean-generic clean-libtool cscope cscopelist \
874 cscopelist-recursive ctags ctags-recursive dist dist-all \
875 dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
876 dist-xz dist-zip distcheck distclean distclean-generic \
877 distclean-hdr distclean-libtool distclean-tags distcleancheck \
878 distdir distuninstallcheck dvi dvi-am html html-am info \
879 info-am install install-am install-data install-data-am \
880 install-dvi install-dvi-am install-exec install-exec-am \
881 install-html install-html-am install-info install-info-am \
882 install-man install-pdf install-pdf-am install-ps \
883 install-ps-am install-strip installcheck installcheck-am \
884 installdirs installdirs-am maintainer-clean \
885 maintainer-clean-generic mostlyclean mostlyclean-generic \
886 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
887 uninstall uninstall-am
858 .MAKE: $(am__recursive_targets) all install-am install-strip
859
860 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
861 am--refresh check check-am clean clean-cscope clean-generic \
862 clean-libtool cscope cscopelist-am ctags ctags-am dist \
863 dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
864 dist-tarZ dist-xz dist-zip distcheck distclean \
865 distclean-generic distclean-hdr distclean-libtool \
866 distclean-tags distcleancheck distdir distuninstallcheck dvi \
867 dvi-am html html-am info info-am install install-am \
868 install-data install-data-am install-dvi install-dvi-am \
869 install-exec install-exec-am install-html install-html-am \
870 install-info install-info-am install-man install-pdf \
871 install-pdf-am install-ps install-ps-am install-strip \
872 installcheck installcheck-am installdirs installdirs-am \
873 maintainer-clean maintainer-clean-generic mostlyclean \
874 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
875 tags tags-am uninstall uninstall-am
888876
889877
890878 dist-hook: gen-ChangeLog gen-AUTHORS
914902 @OS_WIN32_TRUE@nsis:
915903 @OS_WIN32_TRUE@ make -C $(builddir)/data virt-viewer-$(VERSION).exe
916904
905 # this make sure those files are regenerated when they change
906 # (in maintainer-mode)
907 all-local: virt-viewer.spec mingw-virt-viewer.spec
908
917909 -include $(top_srcdir)/git.mk
918910
919911 # Tell versions [3.59,3.63) of GNU make to not export all variables.
00 Virt Viewer News
11 ================
2
3 0.5.6: Apr 12, 2013
4 -------------------
5
6 - Add ovirt:// support to remote-viewer (needs libgovirt)
7 - Many fullscreen and multi-monitor fixes
8 - Add a minimum version check in connection file
9 - Fix sending key combinations from "Send Key" menu when the key names are
10 localized
11 - Fix build with older glib and gtk+
12 - Fix MSI x64 build
13 - Clean-ups (remove browser plugin entirely)
214
315 0.5.5: Feb 13, 2013
416 -------------------
0 # generated automatically by aclocal 1.12.2 -*- Autoconf -*-
0 # generated automatically by aclocal 1.13.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
33
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1314 m4_ifndef([AC_AUTOCONF_VERSION],
1415 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1516 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
456457
457458
458459 # nls.m4 serial 5 (gettext-0.18)
459 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
460 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
460461 dnl Inc.
461462 dnl This file is free software; the Free Software Foundation
462463 dnl gives unlimited permission to copy and/or distribute it,
688689 m4_popdef([pkg_description])
689690 ]) dnl PKG_NOARCH_INSTALLDIR
690691
691 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
692 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
692693 #
693694 # This file is free software; the Free Software Foundation
694695 # gives unlimited permission to copy and/or distribute it,
695696 # with or without modifications, as long as this notice is preserved.
696
697 # serial 8
698697
699698 # AM_AUTOMAKE_VERSION(VERSION)
700699 # ----------------------------
702701 # generated from the m4 files accompanying Automake X.Y.
703702 # (This private macro should not be called outside this file.)
704703 AC_DEFUN([AM_AUTOMAKE_VERSION],
705 [am__api_version='1.12'
704 [am__api_version='1.13'
706705 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
707706 dnl require some minimum version. Point them to the right macro.
708 m4_if([$1], [1.12.2], [],
707 m4_if([$1], [1.13.1], [],
709708 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
710709 ])
711710
721720 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
722721 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
723722 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
724 [AM_AUTOMAKE_VERSION([1.12.2])dnl
723 [AM_AUTOMAKE_VERSION([1.13.1])dnl
725724 m4_ifndef([AC_AUTOCONF_VERSION],
726725 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
727726 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
728727
729728 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
730729
731 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
730 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
732731 #
733732 # This file is free software; the Free Software Foundation
734733 # gives unlimited permission to copy and/or distribute it,
735734 # with or without modifications, as long as this notice is preserved.
736
737 # serial 2
738735
739736 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
740737 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
783780
784781 # AM_CONDITIONAL -*- Autoconf -*-
785782
786 # Copyright (C) 1997-2012 Free Software Foundation, Inc.
783 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
787784 #
788785 # This file is free software; the Free Software Foundation
789786 # gives unlimited permission to copy and/or distribute it,
790787 # with or without modifications, as long as this notice is preserved.
791
792 # serial 10
793788
794789 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
795790 # -------------------------------------
816811 Usually this means the macro was only invoked conditionally.]])
817812 fi])])
818813
819 # Copyright (C) 1999-2012 Free Software Foundation, Inc.
814 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
820815 #
821816 # This file is free software; the Free Software Foundation
822817 # gives unlimited permission to copy and/or distribute it,
823818 # with or without modifications, as long as this notice is preserved.
824819
825 # serial 17
826820
827821 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
828822 # written in clear, in which case automake, when reading aclocal.m4,
10081002
10091003 # Generate code to set up dependency tracking. -*- Autoconf -*-
10101004
1011 # Copyright (C) 1999-2012 Free Software Foundation, Inc.
1005 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
10121006 #
10131007 # This file is free software; the Free Software Foundation
10141008 # gives unlimited permission to copy and/or distribute it,
10151009 # with or without modifications, as long as this notice is preserved.
10161010
1017 # serial 6
10181011
10191012 # _AM_OUTPUT_DEPENDENCY_COMMANDS
10201013 # ------------------------------
10211014 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
10221015 [{
1023 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1016 # Older Autoconf quotes --file arguments for eval, but not when files
10241017 # are listed without --file. Let's play safe and only enable the eval
10251018 # if we detect the quoting.
10261019 case $CONFIG_FILES in
10851078
10861079 # Do all the work for Automake. -*- Autoconf -*-
10871080
1088 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
1081 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
10891082 #
10901083 # This file is free software; the Free Software Foundation
10911084 # gives unlimited permission to copy and/or distribute it,
10921085 # with or without modifications, as long as this notice is preserved.
1093
1094 # serial 19
10951086
10961087 # This macro actually does too much. Some checks are only needed if
10971088 # your package does certain things. But this isn't really a big deal.
11081099 # arguments mandatory, and then we can depend on a new Autoconf
11091100 # release and drop the old call support.
11101101 AC_DEFUN([AM_INIT_AUTOMAKE],
1111 [AC_PREREQ([2.62])dnl
1102 [AC_PREREQ([2.65])dnl
11121103 dnl Autoconf wants to disallow AM_ names. We explicitly allow
11131104 dnl the ones we care about.
11141105 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
11381129 dnl Distinguish between old-style and new-style calls.
11391130 m4_ifval([$2],
11401131 [AC_DIAGNOSE([obsolete],
1141 [$0: two- and three-arguments forms are deprecated. For more info, see:
1142 http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
1132 [$0: two- and three-arguments forms are deprecated.])
11431133 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
11441134 AC_SUBST([PACKAGE], [$1])dnl
11451135 AC_SUBST([VERSION], [$2])],
11931183 [_AM_DEPENDENCIES([OBJC])],
11941184 [m4_define([AC_PROG_OBJC],
11951185 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1196 dnl Support for Objective C++ was only introduced in Autoconf 2.65,
1197 dnl but we still cater to Autoconf 2.62.
1198 m4_ifdef([AC_PROG_OBJCXX],
1199 [AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1186 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
12001187 [_AM_DEPENDENCIES([OBJCXX])],
12011188 [m4_define([AC_PROG_OBJCXX],
1202 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
1189 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
12031190 ])
1204 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1205 dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
1206 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1207 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1191 AC_REQUIRE([AM_SILENT_RULES])dnl
1192 dnl The testsuite driver may need to know about EXEEXT, so add the
1193 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1194 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
12081195 AC_CONFIG_COMMANDS_PRE(dnl
12091196 [m4_provide_if([_AM_COMPILER_EXEEXT],
12101197 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
12381225 done
12391226 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
12401227
1241 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
1228 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
12421229 #
12431230 # This file is free software; the Free Software Foundation
12441231 # gives unlimited permission to copy and/or distribute it,
12451232 # with or without modifications, as long as this notice is preserved.
1246
1247 # serial 8
12481233
12491234 # AM_PROG_INSTALL_SH
12501235 # ------------------
12611246 fi
12621247 AC_SUBST([install_sh])])
12631248
1264 # Copyright (C) 2003-2012 Free Software Foundation, Inc.
1249 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
12651250 #
12661251 # This file is free software; the Free Software Foundation
12671252 # gives unlimited permission to copy and/or distribute it,
12681253 # with or without modifications, as long as this notice is preserved.
1269
1270 # serial 2
12711254
12721255 # Check whether the underlying file-system supports filenames
12731256 # with a leading dot. For instance MS-DOS doesn't.
12841267
12851268 # Check to see how 'make' treats includes. -*- Autoconf -*-
12861269
1287 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
1270 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
12881271 #
12891272 # This file is free software; the Free Software Foundation
12901273 # gives unlimited permission to copy and/or distribute it,
12911274 # with or without modifications, as long as this notice is preserved.
1292
1293 # serial 5
12941275
12951276 # AM_MAKE_INCLUDE()
12961277 # -----------------
13341315 rm -f confinc confmf
13351316 ])
13361317
1337 # Copyright (C) 1999-2012 Free Software Foundation, Inc.
1318 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
13381319 #
13391320 # This file is free software; the Free Software Foundation
13401321 # gives unlimited permission to copy and/or distribute it,
13411322 # with or without modifications, as long as this notice is preserved.
1342
1343 # serial 6
13441323
13451324 # AM_PROG_CC_C_O
13461325 # --------------
13701349
13711350 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
13721351
1373 # Copyright (C) 1997-2012 Free Software Foundation, Inc.
1352 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
13741353 #
13751354 # This file is free software; the Free Software Foundation
13761355 # gives unlimited permission to copy and/or distribute it,
13771356 # with or without modifications, as long as this notice is preserved.
1378
1379 # serial 7
13801357
13811358 # AM_MISSING_PROG(NAME, PROGRAM)
13821359 # ------------------------------
13851362 $1=${$1-"${am_missing_run}$2"}
13861363 AC_SUBST($1)])
13871364
1388
13891365 # AM_MISSING_HAS_RUN
13901366 # ------------------
1391 # Define MISSING if not defined so far and test if it supports --run.
1392 # If it does, set am_missing_run to use it, otherwise, to nothing.
1367 # Define MISSING if not defined so far and test if it is modern enough.
1368 # If it is, set am_missing_run to use it, otherwise, to nothing.
13931369 AC_DEFUN([AM_MISSING_HAS_RUN],
13941370 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
13951371 AC_REQUIRE_AUX_FILE([missing])dnl
14021378 esac
14031379 fi
14041380 # Use eval to expand $SHELL
1405 if eval "$MISSING --run true"; then
1406 am_missing_run="$MISSING --run "
1381 if eval "$MISSING --is-lightweight"; then
1382 am_missing_run="$MISSING "
14071383 else
14081384 am_missing_run=
14091385 AC_MSG_WARN(['missing' script is too old or missing])
14121388
14131389 # Helper functions for option handling. -*- Autoconf -*-
14141390
1415 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
1391 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
14161392 #
14171393 # This file is free software; the Free Software Foundation
14181394 # gives unlimited permission to copy and/or distribute it,
14191395 # with or without modifications, as long as this notice is preserved.
1420
1421 # serial 6
14221396
14231397 # _AM_MANGLE_OPTION(NAME)
14241398 # -----------------------
14451419
14461420 # Check to make sure that the build environment is sane. -*- Autoconf -*-
14471421
1448 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
1422 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
14491423 #
14501424 # This file is free software; the Free Software Foundation
14511425 # gives unlimited permission to copy and/or distribute it,
14521426 # with or without modifications, as long as this notice is preserved.
1453
1454 # serial 9
14551427
14561428 # AM_SANITY_CHECK
14571429 # ---------------
15281500 rm -f conftest.file
15291501 ])
15301502
1531 # Copyright (C) 2009-2012 Free Software Foundation, Inc.
1503 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
15321504 #
15331505 # This file is free software; the Free Software Foundation
15341506 # gives unlimited permission to copy and/or distribute it,
15351507 # with or without modifications, as long as this notice is preserved.
1536
1537 # serial 3
15381508
15391509 # AM_SILENT_RULES([DEFAULT])
15401510 # --------------------------
15901560 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
15911561 ])
15921562
1593 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
1563 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
15941564 #
15951565 # This file is free software; the Free Software Foundation
15961566 # gives unlimited permission to copy and/or distribute it,
15971567 # with or without modifications, as long as this notice is preserved.
1598
1599 # serial 2
16001568
16011569 # AM_PROG_INSTALL_STRIP
16021570 # ---------------------
16201588 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
16211589 AC_SUBST([INSTALL_STRIP_PROGRAM])])
16221590
1623 # Copyright (C) 2006-2012 Free Software Foundation, Inc.
1591 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
16241592 #
16251593 # This file is free software; the Free Software Foundation
16261594 # gives unlimited permission to copy and/or distribute it,
16271595 # with or without modifications, as long as this notice is preserved.
1628
1629 # serial 3
16301596
16311597 # _AM_SUBST_NOTMAKE(VARIABLE)
16321598 # ---------------------------
16411607
16421608 # Check how to create a tarball. -*- Autoconf -*-
16431609
1644 # Copyright (C) 2004-2012 Free Software Foundation, Inc.
1610 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
16451611 #
16461612 # This file is free software; the Free Software Foundation
16471613 # gives unlimited permission to copy and/or distribute it,
16481614 # with or without modifications, as long as this notice is preserved.
1649
1650 # serial 3
16511615
16521616 # _AM_PROG_TAR(FORMAT)
16531617 # --------------------
00 #! /bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
3 scriptversion=2012-03-05.13; # UTC
4
5 # Copyright (C) 1999-2012 Free Software Foundation, Inc.
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
111111 lib=$dir/$lib.lib
112112 break
113113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
114119 done
115120 IFS=$save_IFS
116121
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011, 2012 Free Software Foundation, Inc.
5
6 timestamp='2012-06-10'
4 # 2011, 2012, 2013 Free Software Foundation, Inc.
5
6 timestamp='2012-12-29'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
10 # the Free Software Foundation; either version 3 of the License, or
1111 # (at your option) any later version.
1212 #
1313 # This program is distributed in the hope that it will be useful, but
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
2323 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26
27 # Originally written by Per Bothner. Please send patches (context
28 # diff format) to <config-patches@gnu.org> and include a ChangeLog
29 # entry.
24 # the same distribution terms that you use for the rest of that
25 # program. This Exception is an additional permission under section 7
26 # of the GNU General Public License, version 3 ("GPLv3").
3027 #
31 # This script attempts to guess a canonical system name similar to
32 # config.sub. If it succeeds, it prints the system name on stdout, and
33 # exits with 0. Otherwise, it exits with 1.
28 # Originally written by Per Bothner.
3429 #
3530 # You can get the latest version of this script from:
3631 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
32 #
33 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
34
3735
3836 me=`echo "$0" | sed -e 's,.*/,,'`
3937
5452
5553 Originally written by Per Bothner.
5654 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
57 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
58 Free Software Foundation, Inc.
55 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
56 2012, 2013 Free Software Foundation, Inc.
5957
6058 This is free software; see the source for copying conditions. There is NO
6159 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
198196 # contains redundant information, the shorter form:
199197 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
200198 echo "${machine}-${os}${release}"
199 exit ;;
200 *:Bitrig:*:*)
201 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
202 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
201203 exit ;;
202204 *:OpenBSD:*:*)
203205 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
301303 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
302304 echo arm-acorn-riscix${UNAME_RELEASE}
303305 exit ;;
304 arm:riscos:*:*|arm:RISCOS:*:*)
306 arm*:riscos:*:*|arm*:RISCOS:*:*)
305307 echo arm-unknown-riscos
306308 exit ;;
307309 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
800802 i*:CYGWIN*:*)
801803 echo ${UNAME_MACHINE}-pc-cygwin
802804 exit ;;
805 *:MINGW64*:*)
806 echo ${UNAME_MACHINE}-pc-mingw64
807 exit ;;
803808 *:MINGW*:*)
804809 echo ${UNAME_MACHINE}-pc-mingw32
805810 exit ;;
12001205 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
12011206 echo i586-pc-haiku
12021207 exit ;;
1208 x86_64:Haiku:*:*)
1209 echo x86_64-unknown-haiku
1210 exit ;;
12031211 SX-4:SUPER-UX:*:*)
12041212 echo sx4-nec-superux${UNAME_RELEASE}
12051213 exit ;;
13281336 echo ${UNAME_MACHINE}-unknown-esx
13291337 exit ;;
13301338 esac
1331
1332 #echo '(No uname command or uname output not recognized.)' 1>&2
1333 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
13341339
13351340 eval $set_cc_for_build
13361341 cat >$dummy.c <<EOF
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011, 2012 Free Software Foundation, Inc.
5
6 timestamp='2012-04-18'
7
8 # This file is (in principle) common to ALL GNU software.
9 # The presence of a machine in this file suggests that SOME GNU software
10 # can handle that machine. It does not imply ALL GNU software can.
11 #
12 # This file is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
4 # 2011, 2012, 2013 Free Software Foundation, Inc.
5
6 timestamp='2012-12-29'
7
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
1511 # (at your option) any later version.
1612 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
2117 #
2218 # You should have received a copy of the GNU General Public License
2319 # along with this program; if not, see <http://www.gnu.org/licenses/>.
2521 # As a special exception to the GNU General Public License, if you
2622 # distribute this file as part of a program that contains a
2723 # configuration script generated by Autoconf, you may include it under
28 # the same distribution terms that you use for the rest of that program.
29
30
31 # Please send patches to <config-patches@gnu.org>. Submit a context
32 # diff and a properly formatted GNU ChangeLog entry.
24 # the same distribution terms that you use for the rest of that
25 # program. This Exception is an additional permission under section 7
26 # of the GNU General Public License, version 3 ("GPLv3").
27
28
29 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
3330 #
3431 # Configuration subroutine to validate and canonicalize a configuration type.
3532 # Supply the specified configuration type as an argument.
7370 GNU config.sub ($timestamp)
7471
7572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
76 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
77 Free Software Foundation, Inc.
73 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
74 2012, 2013 Free Software Foundation, Inc.
7875
7976 This is free software; see the source for copying conditions. There is NO
8077 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
122119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
123120 case $maybe_os in
124121 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
125 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
122 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
126123 knetbsd*-gnu* | netbsd*-gnu* | \
127124 kopensolaris*-gnu* | \
128125 storm-chaos* | os2-emx* | rtmk-nova*)
155152 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
156153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
157154 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
158 -apple | -axis | -knuth | -cray | -microblaze)
155 -apple | -axis | -knuth | -cray | -microblaze*)
159156 os=
160157 basic_machine=$1
161158 ;;
258255 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
259256 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
260257 | am33_2.0 \
261 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
262 | be32 | be64 \
258 | arc \
259 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
260 | avr | avr32 \
261 | be32 | be64 \
263262 | bfin \
264263 | c4x | clipper \
265264 | d10v | d30v | dlx | dsp16xx \
272271 | le32 | le64 \
273272 | lm32 \
274273 | m32c | m32r | m32rle | m68000 | m68k | m88k \
275 | maxq | mb | microblaze | mcore | mep | metag \
274 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
276275 | mips | mipsbe | mipseb | mipsel | mipsle \
277276 | mips16 \
278277 | mips64 | mips64el \
388387 | lm32-* \
389388 | m32c-* | m32r-* | m32rle-* \
390389 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
391 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
390 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
391 | microblaze-* | microblazeel-* \
392392 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
393393 | mips16-* \
394394 | mips64-* | mips64el-* \
787787 basic_machine=ns32k-utek
788788 os=-sysv
789789 ;;
790 microblaze)
790 microblaze*)
791791 basic_machine=microblaze-xilinx
792 ;;
793 mingw64)
794 basic_machine=x86_64-pc
795 os=-mingw64
792796 ;;
793797 mingw32)
794798 basic_machine=i386-pc
10031007 ;;
10041008 ppc64) basic_machine=powerpc64-unknown
10051009 ;;
1006 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1010 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
10071011 ;;
10081012 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
10091013 basic_machine=powerpc64le-unknown
10181022 basic_machine=i586-unknown
10191023 os=-pw32
10201024 ;;
1021 rdos)
1025 rdos | rdos64)
1026 basic_machine=x86_64-pc
1027 os=-rdos
1028 ;;
1029 rdos32)
10221030 basic_machine=i386-pc
10231031 os=-rdos
10241032 ;;
13511359 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13521360 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
13531361 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1354 | -openbsd* | -solidbsd* \
1362 | -bitrig* | -openbsd* | -solidbsd* \
13551363 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13561364 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13571365 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13581366 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13591367 | -chorusos* | -chorusrdb* | -cegcc* \
13601368 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1361 | -mingw32* | -linux-gnu* | -linux-android* \
1362 | -linux-newlib* | -linux-uclibc* \
1369 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1370 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13631371 | -uxpv* | -beos* | -mpeix* | -udk* \
13641372 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13651373 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2012-03-27.16; # UTC
4
5 # Copyright (C) 1999-2012 Free Software Foundation, Inc.
3 scriptversion=2012-10-18.11; # UTC
4
5 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
2626
2727 case $1 in
2828 '')
29 echo "$0: No command. Try '$0 --help' for more information." 1>&2
30 exit 1;
31 ;;
29 echo "$0: No command. Try '$0 --help' for more information." 1>&2
30 exit 1;
31 ;;
3232 -h | --h*)
3333 cat <<\EOF
3434 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
5555 ;;
5656 esac
5757
58 # Get the directory component of the given path, and save it in the
59 # global variables '$dir'. Note that this directory component will
60 # be either empty or ending with a '/' character. This is deliberate.
61 set_dir_from ()
62 {
63 case $1 in
64 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
65 *) dir=;;
66 esac
67 }
68
69 # Get the suffix-stripped basename of the given path, and save it the
70 # global variable '$base'.
71 set_base_from ()
72 {
73 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
74 }
75
76 # If no dependency file was actually created by the compiler invocation,
77 # we still have to create a dummy depfile, to avoid errors with the
78 # Makefile "include basename.Plo" scheme.
79 make_dummy_depfile ()
80 {
81 echo "#dummy" > "$depfile"
82 }
83
84 # Factor out some common post-processing of the generated depfile.
85 # Requires the auxiliary global variable '$tmpdepfile' to be set.
86 aix_post_process_depfile ()
87 {
88 # If the compiler actually managed to produce a dependency file,
89 # post-process it.
90 if test -f "$tmpdepfile"; then
91 # Each line is of the form 'foo.o: dependency.h'.
92 # Do two passes, one to just change these to
93 # $object: dependency.h
94 # and one to simply output
95 # dependency.h:
96 # which is needed to avoid the deleted-header problem.
97 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
98 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
99 } > "$depfile"
100 rm -f "$tmpdepfile"
101 else
102 make_dummy_depfile
103 fi
104 }
105
58106 # A tabulation character.
59107 tab=' '
60108 # A newline character.
61109 nl='
62110 '
111 # Character ranges might be problematic outside the C locale.
112 # These definitions help.
113 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
114 lower=abcdefghijklmnopqrstuvwxyz
115 digits=0123456789
116 alpha=${upper}${lower}
63117
64118 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
65119 echo "depcomp: Variables source, object and depmode must be set" 1>&2
72126 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
73127
74128 rm -f "$tmpdepfile"
129
130 # Avoid interferences from the environment.
131 gccflag= dashmflag=
75132
76133 # Some modes work just like other modes, but use different flags. We
77134 # parameterize here, but still list the modes in the big case below,
84141 fi
85142
86143 if test "$depmode" = dashXmstdout; then
87 # This is just like dashmstdout with a different argument.
88 dashmflag=-xM
89 depmode=dashmstdout
144 # This is just like dashmstdout with a different argument.
145 dashmflag=-xM
146 depmode=dashmstdout
90147 fi
91148
92149 cygpath_u="cygpath -u -f -"
93150 if test "$depmode" = msvcmsys; then
94 # This is just like msvisualcpp but w/o cygpath translation.
95 # Just convert the backslash-escaped backslashes to single forward
96 # slashes to satisfy depend.m4
97 cygpath_u='sed s,\\\\,/,g'
98 depmode=msvisualcpp
151 # This is just like msvisualcpp but w/o cygpath translation.
152 # Just convert the backslash-escaped backslashes to single forward
153 # slashes to satisfy depend.m4
154 cygpath_u='sed s,\\\\,/,g'
155 depmode=msvisualcpp
99156 fi
100157
101158 if test "$depmode" = msvc7msys; then
102 # This is just like msvc7 but w/o cygpath translation.
103 # Just convert the backslash-escaped backslashes to single forward
104 # slashes to satisfy depend.m4
105 cygpath_u='sed s,\\\\,/,g'
106 depmode=msvc7
159 # This is just like msvc7 but w/o cygpath translation.
160 # Just convert the backslash-escaped backslashes to single forward
161 # slashes to satisfy depend.m4
162 cygpath_u='sed s,\\\\,/,g'
163 depmode=msvc7
107164 fi
108165
109166 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
167 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
168 gccflag=-qmakedep=gcc,-MF
169 depmode=gcc
113170 fi
114171
115172 case "$depmode" in
132189 done
133190 "$@"
134191 stat=$?
135 if test $stat -eq 0; then :
136 else
192 if test $stat -ne 0; then
137193 rm -f "$tmpdepfile"
138194 exit $stat
139195 fi
141197 ;;
142198
143199 gcc)
200 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
201 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
202 ## (see the conditional assignment to $gccflag above).
144203 ## There are various ways to get dependency output from gcc. Here's
145204 ## why we pick this rather obscure method:
146205 ## - Don't want to use -MD because we'd like the dependencies to end
147206 ## up in a subdir. Having to rename by hand is ugly.
148207 ## (We might end up doing this anyway to support other compilers.)
149208 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
150 ## -MM, not -M (despite what the docs say).
209 ## -MM, not -M (despite what the docs say). Also, it might not be
210 ## supported by the other compilers which use the 'gcc' depmode.
151211 ## - Using -M directly means running the compiler twice (even worse
152212 ## than renaming).
153213 if test -z "$gccflag"; then
155215 fi
156216 "$@" -Wp,"$gccflag$tmpdepfile"
157217 stat=$?
158 if test $stat -eq 0; then :
159 else
218 if test $stat -ne 0; then
160219 rm -f "$tmpdepfile"
161220 exit $stat
162221 fi
163222 rm -f "$depfile"
164223 echo "$object : \\" > "$depfile"
165 alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
166 ## The second -e expression handles DOS-style file names with drive letters.
224 # The second -e expression handles DOS-style file names with drive
225 # letters.
167226 sed -e 's/^[^:]*: / /' \
168227 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
169228 ## This next piece of magic avoids the "deleted header file" problem.
172231 ## typically no way to rebuild the header). We avoid this by adding
173232 ## dummy dependencies for each header file. Too bad gcc doesn't do
174233 ## this for us directly.
175 tr ' ' "$nl" < "$tmpdepfile" |
176234 ## Some versions of gcc put a space before the ':'. On the theory
177235 ## that the space means something, we add a space to the output as
178236 ## well. hp depmode also adds that space, but also prefixes the VPATH
179237 ## to the object. Take care to not repeat it in the output.
180238 ## Some versions of the HPUX 10.20 sed can't process this invocation
181239 ## correctly. Breaking it into two sed invocations is a workaround.
182 sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
183 | sed -e 's/$/ :/' >> "$depfile"
240 tr ' ' "$nl" < "$tmpdepfile" \
241 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
242 | sed -e 's/$/ :/' >> "$depfile"
184243 rm -f "$tmpdepfile"
185244 ;;
186245
198257 "$@" -MDupdate "$tmpdepfile"
199258 fi
200259 stat=$?
201 if test $stat -eq 0; then :
202 else
260 if test $stat -ne 0; then
203261 rm -f "$tmpdepfile"
204262 exit $stat
205263 fi
207265
208266 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
209267 echo "$object : \\" > "$depfile"
210
211268 # Clip off the initial element (the dependent). Don't try to be
212269 # clever and replace this with sed code, as IRIX sed won't handle
213270 # lines with more than a fixed number of characters (4096 in
215272 # the IRIX cc adds comments like '#:fec' to the end of the
216273 # dependency line.
217274 tr ' ' "$nl" < "$tmpdepfile" \
218 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
219 tr "$nl" ' ' >> "$depfile"
275 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
276 | tr "$nl" ' ' >> "$depfile"
220277 echo >> "$depfile"
221
222278 # The second pass generates a dummy entry for each header file.
223279 tr ' ' "$nl" < "$tmpdepfile" \
224 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
225 >> "$depfile"
280 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
281 >> "$depfile"
226282 else
227 # The sourcefile does not contain any dependencies, so just
228 # store a dummy comment line, to avoid errors with the Makefile
229 # "include basename.Plo" scheme.
230 echo "#dummy" > "$depfile"
283 make_dummy_depfile
231284 fi
232285 rm -f "$tmpdepfile"
233286 ;;
245298 # current directory. Also, the AIX compiler puts '$object:' at the
246299 # start of each line; $object doesn't have directory information.
247300 # Version 6 uses the directory in both cases.
248 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
249 test "x$dir" = "x$object" && dir=
250 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
301 set_dir_from "$object"
302 set_base_from "$object"
251303 if test "$libtool" = yes; then
252304 tmpdepfile1=$dir$base.u
253305 tmpdepfile2=$base.u
260312 "$@" -M
261313 fi
262314 stat=$?
263
264 if test $stat -eq 0; then :
265 else
315 if test $stat -ne 0; then
266316 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
267317 exit $stat
268318 fi
271321 do
272322 test -f "$tmpdepfile" && break
273323 done
274 if test -f "$tmpdepfile"; then
275 # Each line is of the form 'foo.o: dependent.h'.
276 # Do two passes, one to just change these to
277 # '$object: dependent.h' and one to simply 'dependent.h:'.
278 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
279 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
280 else
281 # The sourcefile does not contain any dependencies, so just
282 # store a dummy comment line, to avoid errors with the Makefile
283 # "include basename.Plo" scheme.
284 echo "#dummy" > "$depfile"
285 fi
324 aix_post_process_depfile
325 ;;
326
327 tcc)
328 # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
329 # FIXME: That version still under development at the moment of writing.
330 # Make that this statement remains true also for stable, released
331 # versions.
332 # It will wrap lines (doesn't matter whether long or short) with a
333 # trailing '\', as in:
334 #
335 # foo.o : \
336 # foo.c \
337 # foo.h \
338 #
339 # It will put a trailing '\' even on the last line, and will use leading
340 # spaces rather than leading tabs (at least since its commit 0394caf7
341 # "Emit spaces for -MD").
342 "$@" -MD -MF "$tmpdepfile"
343 stat=$?
344 if test $stat -ne 0; then
345 rm -f "$tmpdepfile"
346 exit $stat
347 fi
348 rm -f "$depfile"
349 # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
350 # We have to change lines of the first kind to '$object: \'.
351 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
352 # And for each line of the second kind, we have to emit a 'dep.h:'
353 # dummy dependency, to avoid the deleted-header problem.
354 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
286355 rm -f "$tmpdepfile"
287356 ;;
288357
289 icc)
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
293 # ICC 7.0 will fill foo.d with something like
294 # foo.o: sub/foo.c
295 # foo.o: sub/foo.h
296 # which is wrong. We want
297 # sub/foo.o: sub/foo.c
298 # sub/foo.o: sub/foo.h
299 # sub/foo.c:
300 # sub/foo.h:
301 # ICC 7.1 will output
358 ## The order of this option in the case statement is important, since the
359 ## shell code in configure will try each of these formats in the order
360 ## listed in this file. A plain '-MD' option would be understood by many
361 ## compilers, so we must ensure this comes after the gcc and icc options.
362 pgcc)
363 # Portland's C compiler understands '-MD'.
364 # Will always output deps to 'file.d' where file is the root name of the
365 # source file under compilation, even if file resides in a subdirectory.
366 # The object file name does not affect the name of the '.d' file.
367 # pgcc 10.2 will output
302368 # foo.o: sub/foo.c sub/foo.h
303 # and will wrap long lines using '\':
369 # and will wrap long lines using '\' :
304370 # foo.o: sub/foo.c ... \
305371 # sub/foo.h ... \
306372 # ...
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.
310 "$@" -MD -MF "$tmpdepfile"
311 stat=$?
312 if test $stat -eq 0; then :
313 else
373 set_dir_from "$object"
374 # Use the source, not the object, to determine the base name, since
375 # that's sadly what pgcc will do too.
376 set_base_from "$source"
377 tmpdepfile=$base.d
378
379 # For projects that build the same source file twice into different object
380 # files, the pgcc approach of using the *source* file root name can cause
381 # problems in parallel builds. Use a locking strategy to avoid stomping on
382 # the same $tmpdepfile.
383 lockdir=$base.d-lock
384 trap "
385 echo '$0: caught signal, cleaning up...' >&2
386 rmdir '$lockdir'
387 exit 1
388 " 1 2 13 15
389 numtries=100
390 i=$numtries
391 while test $i -gt 0; do
392 # mkdir is a portable test-and-set.
393 if mkdir "$lockdir" 2>/dev/null; then
394 # This process acquired the lock.
395 "$@" -MD
396 stat=$?
397 # Release the lock.
398 rmdir "$lockdir"
399 break
400 else
401 # If the lock is being held by a different process, wait
402 # until the winning process is done or we timeout.
403 while test -d "$lockdir" && test $i -gt 0; do
404 sleep 1
405 i=`expr $i - 1`
406 done
407 fi
408 i=`expr $i - 1`
409 done
410 trap - 1 2 13 15
411 if test $i -le 0; then
412 echo "$0: failed to acquire lock after $numtries attempts" >&2
413 echo "$0: check lockdir '$lockdir'" >&2
414 exit 1
415 fi
416
417 if test $stat -ne 0; then
314418 rm -f "$tmpdepfile"
315419 exit $stat
316420 fi
317421 rm -f "$depfile"
318 # Each line is of the form 'foo.o: dependent.h',
319 # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
422 # Each line is of the form `foo.o: dependent.h',
423 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
320424 # Do two passes, one to just change these to
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"
425 # `$object: dependent.h' and one to simply `dependent.h:'.
426 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
427 # Some versions of the HPUX 10.20 sed can't process this invocation
428 # correctly. Breaking it into two sed invocations is a workaround.
429 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
430 | sed -e 's/$/ :/' >> "$depfile"
333431 rm -f "$tmpdepfile"
334432 ;;
335433
340438 # 'foo.d', which lands next to the object file, wherever that
341439 # happens to be.
342440 # Much of this is similar to the tru64 case; see comments there.
343 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
344 test "x$dir" = "x$object" && dir=
345 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
441 set_dir_from "$object"
442 set_base_from "$object"
346443 if test "$libtool" = yes; then
347444 tmpdepfile1=$dir$base.d
348445 tmpdepfile2=$dir.libs/$base.d
353450 "$@" +Maked
354451 fi
355452 stat=$?
356 if test $stat -eq 0; then :
357 else
453 if test $stat -ne 0; then
358454 rm -f "$tmpdepfile1" "$tmpdepfile2"
359455 exit $stat
360456 fi
364460 test -f "$tmpdepfile" && break
365461 done
366462 if test -f "$tmpdepfile"; then
367 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
463 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
368464 # Add 'dependent.h:' lines.
369465 sed -ne '2,${
370 s/^ *//
371 s/ \\*$//
372 s/$/:/
373 p
374 }' "$tmpdepfile" >> "$depfile"
466 s/^ *//
467 s/ \\*$//
468 s/$/:/
469 p
470 }' "$tmpdepfile" >> "$depfile"
375471 else
376 echo "#dummy" > "$depfile"
472 make_dummy_depfile
377473 fi
378474 rm -f "$tmpdepfile" "$tmpdepfile2"
379475 ;;
380476
381477 tru64)
382 # The Tru64 compiler uses -MD to generate dependencies as a side
383 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
384 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
385 # dependencies in 'foo.d' instead, so we check for that too.
386 # Subdirectories are respected.
387 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
388 test "x$dir" = "x$object" && dir=
389 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
390
391 if test "$libtool" = yes; then
392 # With Tru64 cc, shared objects can also be used to make a
393 # static library. This mechanism is used in libtool 1.4 series to
394 # handle both shared and static libraries in a single compilation.
395 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
396 #
397 # With libtool 1.5 this exception was removed, and libtool now
398 # generates 2 separate objects for the 2 libraries. These two
399 # compilations output dependencies in $dir.libs/$base.o.d and
400 # in $dir$base.o.d. We have to check for both files, because
401 # one of the two compilations can be disabled. We should prefer
402 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
403 # automatically cleaned when .libs/ is deleted, while ignoring
404 # the former would cause a distcleancheck panic.
405 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
406 tmpdepfile2=$dir$base.o.d # libtool 1.5
407 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
408 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
409 "$@" -Wc,-MD
410 else
411 tmpdepfile1=$dir$base.o.d
412 tmpdepfile2=$dir$base.d
413 tmpdepfile3=$dir$base.d
414 tmpdepfile4=$dir$base.d
415 "$@" -MD
416 fi
417
418 stat=$?
419 if test $stat -eq 0; then :
420 else
421 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
422 exit $stat
423 fi
424
425 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
426 do
427 test -f "$tmpdepfile" && break
428 done
429 if test -f "$tmpdepfile"; then
430 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
431 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
432 else
433 echo "#dummy" > "$depfile"
434 fi
435 rm -f "$tmpdepfile"
436 ;;
478 # The Tru64 compiler uses -MD to generate dependencies as a side
479 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
480 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
481 # dependencies in 'foo.d' instead, so we check for that too.
482 # Subdirectories are respected.
483 set_dir_from "$object"
484 set_base_from "$object"
485
486 if test "$libtool" = yes; then
487 # Libtool generates 2 separate objects for the 2 libraries. These
488 # two compilations output dependencies in $dir.libs/$base.o.d and
489 # in $dir$base.o.d. We have to check for both files, because
490 # one of the two compilations can be disabled. We should prefer
491 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
492 # automatically cleaned when .libs/ is deleted, while ignoring
493 # the former would cause a distcleancheck panic.
494 tmpdepfile1=$dir$base.o.d # libtool 1.5
495 tmpdepfile2=$dir.libs/$base.o.d # Likewise.
496 tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
497 "$@" -Wc,-MD
498 else
499 tmpdepfile1=$dir$base.d
500 tmpdepfile2=$dir$base.d
501 tmpdepfile3=$dir$base.d
502 "$@" -MD
503 fi
504
505 stat=$?
506 if test $stat -ne 0; then
507 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
508 exit $stat
509 fi
510
511 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
512 do
513 test -f "$tmpdepfile" && break
514 done
515 # Same post-processing that is required for AIX mode.
516 aix_post_process_depfile
517 ;;
437518
438519 msvc7)
439520 if test "$libtool" = yes; then
444525 "$@" $showIncludes > "$tmpdepfile"
445526 stat=$?
446527 grep -v '^Note: including file: ' "$tmpdepfile"
447 if test "$stat" = 0; then :
448 else
528 if test $stat -ne 0; then
449529 rm -f "$tmpdepfile"
450530 exit $stat
451531 fi
522602 # in the target name. This is to cope with DOS-style filenames:
523603 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
524604 "$@" $dashmflag |
525 sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
605 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
526606 rm -f "$depfile"
527607 cat < "$tmpdepfile" > "$depfile"
528 tr ' ' "$nl" < "$tmpdepfile" | \
529 ## Some versions of the HPUX 10.20 sed can't process this invocation
530 ## correctly. Breaking it into two sed invocations is a workaround.
531 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
608 # Some versions of the HPUX 10.20 sed can't process this sed invocation
609 # correctly. Breaking it into two sed invocations is a workaround.
610 tr ' ' "$nl" < "$tmpdepfile" \
611 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
612 | sed -e 's/$/ :/' >> "$depfile"
532613 rm -f "$tmpdepfile"
533614 ;;
534615
581662 # makedepend may prepend the VPATH from the source file name to the object.
582663 # No need to regex-escape $object, excess matching of '.' is harmless.
583664 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
584 sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
585 ## Some versions of the HPUX 10.20 sed can't process this invocation
586 ## correctly. Breaking it into two sed invocations is a workaround.
587 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
665 # Some versions of the HPUX 10.20 sed can't process the last invocation
666 # correctly. Breaking it into two sed invocations is a workaround.
667 sed '1,2d' "$tmpdepfile" \
668 | tr ' ' "$nl" \
669 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
670 | sed -e 's/$/ :/' >> "$depfile"
588671 rm -f "$tmpdepfile" "$tmpdepfile".bak
589672 ;;
590673
620703 esac
621704 done
622705
623 "$@" -E |
624 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
625 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
626 sed '$ s: \\$::' > "$tmpdepfile"
706 "$@" -E \
707 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
708 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
709 | sed '$ s: \\$::' > "$tmpdepfile"
627710 rm -f "$depfile"
628711 echo "$object : \\" > "$depfile"
629712 cat < "$tmpdepfile" >> "$depfile"
655738 shift
656739 ;;
657740 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
658 set fnord "$@"
659 shift
660 shift
661 ;;
741 set fnord "$@"
742 shift
743 shift
744 ;;
662745 *)
663 set fnord "$@" "$arg"
664 shift
665 shift
666 ;;
746 set fnord "$@" "$arg"
747 shift
748 shift
749 ;;
667750 esac
668751 done
669752 "$@" -E 2>/dev/null |
8181 PACKAGE=libtool
8282 VERSION=2.4.2
8383 TIMESTAMP=""
84 : ${DD=dd}
8485 package_revision=1.3337
8586
8687 # Be Bourne compatible
12231224 ## Main. ##
12241225 ## ----------- ##
12251226
1227 # func_try_sizelim file n
1228 # try to write at most the first N bytes from FILE to the standard output when
1229 # possible, otherwise put whole file
1230 func_try_sizelim ()
1231 {
1232 if test -n "$DD"; then
1233 $DD if="$1" bs=$2 count=1 2>/dev/null
1234 if test $? -eq 127; then
1235 cat "$1" 2>/dev/null
1236 fi
1237 else
1238 cat "$1" 2>/dev/null
1239 fi
1240 }
1241
12261242 # func_lalib_p file
12271243 # True iff FILE is a libtool `.la' library or `.lo' object file.
12281244 # This function is only a basic sanity check; it will hardly flush out
12301246 func_lalib_p ()
12311247 {
12321248 test -f "$1" &&
1233 $SED -e 4q "$1" 2>/dev/null \
1249 func_try_sizelim "$1" 4096 | $SED -e 4q 2>/dev/null \
12341250 | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
12351251 }
12361252
00 #! /bin/sh
1 # Common stub for a few missing GNU programs while installing.
2
3 scriptversion=2012-01-06.18; # UTC
4
5 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
6 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
1 # Common wrapper for a few potentially missing GNU programs.
2
3 scriptversion=2012-06-26.16; # UTC
4
5 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
6 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
99 # it under the terms of the GNU General Public License as published by
2828 exit 1
2929 fi
3030
31 run=:
32 sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
33 sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
34
35 # In the cases where this matters, 'missing' is being run in the
36 # srcdir already.
37 if test -f configure.ac; then
38 configure_ac=configure.ac
39 else
40 configure_ac=configure.in
41 fi
42
43 msg="missing on your system"
44
4531 case $1 in
46 --run)
47 # Try to run requested program, and just exit if it succeeds.
48 run=
49 shift
50 "$@" && exit 0
51 # Exit code 63 means version mismatch. This often happens
52 # when the user try to use an ancient version of a tool on
53 # a file that requires a minimum version. In this case we
54 # we should proceed has if the program had been absent, or
55 # if --run hadn't been passed.
56 if test $? = 63; then
57 run=:
58 msg="probably too old"
59 fi
60 ;;
32
33 --is-lightweight)
34 # Used by our autoconf macros to check whether the available missing
35 # script is modern enough.
36 exit 0
37 ;;
38
39 --run)
40 # Back-compat with the calling convention used by older automake.
41 shift
42 ;;
6143
6244 -h|--h|--he|--hel|--help)
6345 echo "\
6446 $0 [OPTION]... PROGRAM [ARGUMENT]...
6547
66 Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
67 error status if there is no known handling for PROGRAM.
48 Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
49 to PROGRAM being missing or too old.
6850
6951 Options:
7052 -h, --help display this help and exit
7153 -v, --version output version information and exit
72 --run try to run the given command, and emulate it if it fails
7354
7455 Supported PROGRAM values:
75 aclocal touch file 'aclocal.m4'
76 autoconf touch file 'configure'
77 autoheader touch file 'config.h.in'
78 autom4te touch the output file, or create a stub one
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
82 help2man touch the output file
83 lex create 'lex.yy.c', if possible, from existing .c
84 makeinfo touch the output file
85 yacc create 'y.tab.[ch]', if possible, from existing .[ch]
56 aclocal autoconf autoheader autom4te automake makeinfo
57 bison yacc flex lex help2man
8658
8759 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
8860 'g' are ignored when checking the name.
9769 ;;
9870
9971 -*)
100 echo 1>&2 "$0: Unknown '$1' option"
72 echo 1>&2 "$0: unknown '$1' option"
10173 echo 1>&2 "Try '$0 --help' for more information"
10274 exit 1
10375 ;;
10476
10577 esac
10678
107 # normalize program name to check for.
108 program=`echo "$1" | sed '
109 s/^gnu-//; t
110 s/^gnu//; t
111 s/^g//; t'`
112
113 # Now exit if we have it, but it failed. Also exit now if we
114 # don't have it and --version was passed (most likely to detect
115 # the program). This is about non-GNU programs, so use $1 not
116 # $program.
117 case $1 in
118 lex*|yacc*)
119 # Not GNU programs, they don't have --version.
120 ;;
121
122 *)
123 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
124 # We have it, but it failed.
125 exit 1
126 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
127 # Could not run --version or --help. This is probably someone
128 # running '$TOOL --version' or '$TOOL --help' to check whether
129 # $TOOL exists and not knowing $TOOL uses missing.
130 exit 1
131 fi
132 ;;
133 esac
134
135 # If it does not exist, or fails to run (possibly an outdated version),
136 # try to emulate it.
137 case $program in
138 aclocal*)
139 echo 1>&2 "\
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
143 any GNU archive site."
144 touch aclocal.m4
145 ;;
146
147 autoconf*)
148 echo 1>&2 "\
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
152 archive site."
153 touch configure
154 ;;
155
156 autoheader*)
157 echo 1>&2 "\
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
161 from any GNU archive site."
162 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
163 test -z "$files" && files="config.h"
164 touch_files=
165 for f in $files; do
166 case $f in
167 *:*) touch_files="$touch_files "`echo "$f" |
168 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
169 *) touch_files="$touch_files $f.in";;
170 esac
171 done
172 touch $touch_files
173 ;;
174
175 automake*)
176 echo 1>&2 "\
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.
180 Grab them from any GNU archive site."
181 find . -type f -name Makefile.am -print |
182 sed 's/\.am$/.in/' |
183 while read f; do touch "$f"; done
184 ;;
185
186 autom4te*)
187 echo 1>&2 "\
188 WARNING: '$1' is needed, but is $msg.
189 You might have modified some files without having the
190 proper tools for further handling them.
191 You can get '$1' as part of Autoconf from any GNU
192 archive site."
193
194 file=`echo "$*" | sed -n "$sed_output"`
195 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
196 if test -f "$file"; then
197 touch $file
198 else
199 test -z "$file" || exec >$file
200 echo "#! /bin/sh"
201 echo "# Created by GNU Automake missing as a replacement of"
202 echo "# $ $@"
203 echo "exit 0"
204 chmod +x $file
205 exit 1
206 fi
207 ;;
208
209 bison*|yacc*)
210 echo 1>&2 "\
211 WARNING: '$1' $msg. You should only need it if
212 you modified a '.y' file. You may need the Bison package
213 in order for those modifications to take effect. You can get
214 Bison from any GNU archive site."
215 rm -f y.tab.c y.tab.h
216 if test $# -ne 1; then
217 eval LASTARG=\${$#}
218 case $LASTARG in
219 *.y)
220 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
221 if test -f "$SRCFILE"; then
222 cp "$SRCFILE" y.tab.c
223 fi
224 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
225 if test -f "$SRCFILE"; then
226 cp "$SRCFILE" y.tab.h
227 fi
228 ;;
229 esac
230 fi
231 if test ! -f y.tab.h; then
232 echo >y.tab.h
233 fi
234 if test ! -f y.tab.c; then
235 echo 'main() { return 0; }' >y.tab.c
236 fi
237 ;;
238
239 lex*|flex*)
240 echo 1>&2 "\
241 WARNING: '$1' is $msg. You should only need it if
242 you modified a '.l' file. You may need the Flex package
243 in order for those modifications to take effect. You can get
244 Flex from any GNU archive site."
245 rm -f lex.yy.c
246 if test $# -ne 1; then
247 eval LASTARG=\${$#}
248 case $LASTARG in
249 *.l)
250 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
251 if test -f "$SRCFILE"; then
252 cp "$SRCFILE" lex.yy.c
253 fi
254 ;;
255 esac
256 fi
257 if test ! -f lex.yy.c; then
258 echo 'main() { return 0; }' >lex.yy.c
259 fi
260 ;;
261
262 help2man*)
263 echo 1>&2 "\
264 WARNING: '$1' is $msg. You should only need it if
265 you modified a dependency of a manual page. You may need the
266 Help2man package in order for those modifications to take
267 effect. You can get Help2man from any GNU archive site."
268
269 file=`echo "$*" | sed -n "$sed_output"`
270 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
271 if test -f "$file"; then
272 touch $file
273 else
274 test -z "$file" || exec >$file
275 echo ".ab help2man is required to generate this page"
276 exit $?
277 fi
278 ;;
279
280 makeinfo*)
281 echo 1>&2 "\
282 WARNING: '$1' is $msg. You should only need it if
283 you modified a '.texi' or '.texinfo' file, or any other file
284 indirectly affecting the aspect of the manual. The spurious
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."
288 # The file to touch is that specified with -o ...
289 file=`echo "$*" | sed -n "$sed_output"`
290 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
291 if test -z "$file"; then
292 # ... or it is the one specified with @setfilename ...
293 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
294 file=`sed -n '
295 /^@setfilename/{
296 s/.* \([^ ]*\) *$/\1/
297 p
298 q
299 }' $infile`
300 # ... or it is derived from the source name (dir/f.texi becomes f.info)
301 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
302 fi
303 # If the file does not exist, the user really needs makeinfo;
304 # let's fail without touching anything.
305 test -f $file || exit 1
306 touch $file
307 ;;
308
309 *)
310 echo 1>&2 "\
311 WARNING: '$1' is needed, and is $msg.
312 You might have modified some files without having the
313 proper tools for further handling them. Check the 'README' file,
314 it often tells you about the needed prerequisites for installing
315 this package. You may also peek at any GNU archive site, in case
316 some other package would contain this missing '$1' program."
317 exit 1
318 ;;
319 esac
320
321 exit 0
79 # Run the given program, remember its exit status.
80 "$@"; st=$?
81
82 # If it succeeded, we are done.
83 test $st -eq 0 && exit 0
84
85 # Also exit now if we it failed (or wasn't found), and '--version' was
86 # passed; such an option is passed most likely to detect whether the
87 # program is present and works.
88 case $2 in --version|--help) exit $st;; esac
89
90 # Exit code 63 means version mismatch. This often happens when the user
91 # tries to use an ancient version of a tool on a file that requires a
92 # minimum version.
93 if test $st -eq 63; then
94 msg="probably too old"
95 elif test $st -eq 127; then
96 # Program was missing.
97 msg="missing on your system"
98 else
99 # Program was found and executed, but failed. Give up.
100 exit $st
101 fi
102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
106
107 program_details ()
108 {
109 case $1 in
110 aclocal|automake)
111 echo "The '$1' program is part of the GNU Automake package:"
112 echo "<$gnu_software_URL/automake>"
113 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
114 echo "<$gnu_software_URL/autoconf>"
115 echo "<$gnu_software_URL/m4/>"
116 echo "<$perl_URL>"
117 ;;
118 autoconf|autom4te|autoheader)
119 echo "The '$1' program is part of the GNU Autoconf package:"
120 echo "<$gnu_software_URL/autoconf/>"
121 echo "It also requires GNU m4 and Perl in order to run:"
122 echo "<$gnu_software_URL/m4/>"
123 echo "<$perl_URL>"
124 ;;
125 esac
126 }
127
128 give_advice ()
129 {
130 # Normalize program name to check for.
131 normalized_program=`echo "$1" | sed '
132 s/^gnu-//; t
133 s/^gnu//; t
134 s/^g//; t'`
135
136 printf '%s\n' "'$1' is $msg."
137
138 configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
139 case $normalized_program in
140 autoconf*)
141 echo "You should only need it if you modified 'configure.ac',"
142 echo "or m4 files included by it."
143 program_details 'autoconf'
144 ;;
145 autoheader*)
146 echo "You should only need it if you modified 'acconfig.h' or"
147 echo "$configure_deps."
148 program_details 'autoheader'
149 ;;
150 automake*)
151 echo "You should only need it if you modified 'Makefile.am' or"
152 echo "$configure_deps."
153 program_details 'automake'
154 ;;
155 aclocal*)
156 echo "You should only need it if you modified 'acinclude.m4' or"
157 echo "$configure_deps."
158 program_details 'aclocal'
159 ;;
160 autom4te*)
161 echo "You might have modified some maintainer files that require"
162 echo "the 'automa4te' program to be rebuilt."
163 program_details 'autom4te'
164 ;;
165 bison*|yacc*)
166 echo "You should only need it if you modified a '.y' file."
167 echo "You may want to install the GNU Bison package:"
168 echo "<$gnu_software_URL/bison/>"
169 ;;
170 lex*|flex*)
171 echo "You should only need it if you modified a '.l' file."
172 echo "You may want to install the Fast Lexical Analyzer package:"
173 echo "<$flex_URL>"
174 ;;
175 help2man*)
176 echo "You should only need it if you modified a dependency" \
177 "of a man page."
178 echo "You may want to install the GNU Help2man package:"
179 echo "<$gnu_software_URL/help2man/>"
180 ;;
181 makeinfo*)
182 echo "You should only need it if you modified a '.texi' file, or"
183 echo "any other file indirectly affecting the aspect of the manual."
184 echo "You might want to install the Texinfo package:"
185 echo "<$gnu_software_URL/texinfo/>"
186 echo "The spurious makeinfo call might also be the consequence of"
187 echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
188 echo "want to install GNU make:"
189 echo "<$gnu_software_URL/make/>"
190 ;;
191 *)
192 echo "You might have modified some files without having the proper"
193 echo "tools for further handling them. Check the 'README' file, it"
194 echo "often tells you about the needed prerequisites for installing"
195 echo "this package. You may also peek at any GNU archive site, in"
196 echo "case some other package contains this missing '$1' program."
197 ;;
198 esac
199 }
200
201 give_advice "$1" | sed -e '1s/^/WARNING: /' \
202 -e '2,$s/^/ /' >&2
203
204 # Propagate the correct exit status (expected to be 127 for a program
205 # not found, 63 for a program that failed due to version mismatch).
206 exit $st
322207
323208 # Local variables:
324209 # eval: (add-hook 'write-file-hooks 'time-stamp)
112112
113113 exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch]
114114 exclude_file_name_regexp--sc_prohibit_strcmp = ^*/*.[ch]
115 exclude_file_name_regexp--sc_require_config_h = ^plugin/|src/gbinding\.c|src/windows-cmdline-wrapper.c
116 exclude_file_name_regexp--sc_require_config_h_first = ^plugin/|src/gbinding\.c|src/windows-cmdline-wrapper.c
115 exclude_file_name_regexp--sc_require_config_h = ^src/gbinding\.c|src/windows-cmdline-wrapper.c
116 exclude_file_name_regexp--sc_require_config_h_first = ^src/gbinding\.c|src/windows-cmdline-wrapper.c
117117
118118 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^icons/
119119 exclude_file_name_regexp--sc_trailing_blank = ^icons/
4646
4747 /* Define to 1 if you have the <memory.h> header file. */
4848 #undef HAVE_MEMORY_H
49
50 /* Have libgovirt? */
51 #undef HAVE_OVIRT
4952
5053 /* Define to 1 if you have the `socketpair' function. */
5154 #undef HAVE_SOCKETPAIR
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for virt-viewer 0.5.5.
2 # Generated by GNU Autoconf 2.69 for virt-viewer 0.5.6.
33 #
44 #
55 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
586586 # Identity of this package.
587587 PACKAGE_NAME='virt-viewer'
588588 PACKAGE_TARNAME='virt-viewer'
589 PACKAGE_VERSION='0.5.5'
590 PACKAGE_STRING='virt-viewer 0.5.5'
589 PACKAGE_VERSION='0.5.6'
590 PACKAGE_STRING='virt-viewer 0.5.6'
591591 PACKAGE_BUGREPORT=''
592592 PACKAGE_URL=''
593593
633633 am__EXEEXT_TRUE
634634 LTLIBOBJS
635635 LIBOBJS
636 ENABLE_PLUGIN_FALSE
637 ENABLE_PLUGIN_TRUE
638 MOZILLA_PLUGIN_LIBS
639 MOZILLA_PLUGIN_CFLAGS
640 FIREFOX_PLUGIN_LIBS
641 FIREFOX_PLUGIN_CFLAGS
642 NSPR_LIBS
643 NSPR_CFLAGS
636 OVIRT_LIBS
637 OVIRT_CFLAGS
644638 HAVE_SPICE_GTK_FALSE
645639 HAVE_SPICE_GTK_TRUE
646640 SPICE_PROTOCOL_LIBS
766760 CC
767761 OS_WIN32_FALSE
768762 OS_WIN32_TRUE
769 AM_BACKSLASH
770 AM_DEFAULT_VERBOSITY
771 AM_DEFAULT_V
772 AM_V
763 WIXL_ARCH
773764 host_os
774765 host_vendor
775766 host_cpu
778769 build_vendor
779770 build_cpu
780771 build
772 AM_BACKSLASH
773 AM_DEFAULT_VERBOSITY
774 AM_DEFAULT_V
775 AM_V
781776 am__untar
782777 am__tar
783778 AMTAR
858853 with_gtk
859854 with_gtk_vnc
860855 with_spice_gtk
861 enable_plugin
856 with_ovirt
862857 with_buildid
863858 '
864859 ac_precious_vars='build_alias
889884 SPICE_CONTROLLER_LIBS
890885 SPICE_PROTOCOL_CFLAGS
891886 SPICE_PROTOCOL_LIBS
892 NSPR_CFLAGS
893 NSPR_LIBS
894 FIREFOX_PLUGIN_CFLAGS
895 FIREFOX_PLUGIN_LIBS
896 MOZILLA_PLUGIN_CFLAGS
897 MOZILLA_PLUGIN_LIBS'
887 OVIRT_CFLAGS
888 OVIRT_LIBS'
898889
899890
900891 # Initialize some variables set by options.
14351426 # Omit some internal or obsolete options to make the list less imposing.
14361427 # This message is too long to be a string in the A/UX 3.1 sh.
14371428 cat <<_ACEOF
1438 \`configure' configures virt-viewer 0.5.5 to adapt to many kinds of systems.
1429 \`configure' configures virt-viewer 0.5.6 to adapt to many kinds of systems.
14391430
14401431 Usage: $0 [OPTION]... [VAR=VALUE]...
14411432
15051496
15061497 if test -n "$ac_init_help"; then
15071498 case $ac_init_help in
1508 short | recursive ) echo "Configuration of virt-viewer 0.5.5:";;
1499 short | recursive ) echo "Configuration of virt-viewer 0.5.6:";;
15091500 esac
15101501 cat <<\_ACEOF
15111502
15281519 Turn on compiler warnings
15291520 --enable-iso-c Try to warn if code is not ISO C
15301521 --disable-nls do not use Native Language Support
1531 --enable-plugin=no/yes enable browser plugin default=no
15321522
15331523 Optional Packages:
15341524 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
15421532 --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0)
15431533 --without-gtk-vnc Ignore presence of gtk-vnc and disable it
15441534 --without-spice-gtk Ignore presence of spice-gtk and disable it
1535 --without-ovirt Ignore presence of librest and disable oVirt support
15451536 --with-buildid=id Set additional build version details
15461537
15471538 Some influential environment variables:
15871578 C compiler flags for SPICE_PROTOCOL, overriding pkg-config
15881579 SPICE_PROTOCOL_LIBS
15891580 linker flags for SPICE_PROTOCOL, overriding pkg-config
1590 NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1591 NSPR_LIBS linker flags for NSPR, overriding pkg-config
1592 FIREFOX_PLUGIN_CFLAGS
1593 C compiler flags for FIREFOX_PLUGIN, overriding pkg-config
1594 FIREFOX_PLUGIN_LIBS
1595 linker flags for FIREFOX_PLUGIN, overriding pkg-config
1596 MOZILLA_PLUGIN_CFLAGS
1597 C compiler flags for MOZILLA_PLUGIN, overriding pkg-config
1598 MOZILLA_PLUGIN_LIBS
1599 linker flags for MOZILLA_PLUGIN, overriding pkg-config
1581 OVIRT_CFLAGS
1582 C compiler flags for OVIRT, overriding pkg-config
1583 OVIRT_LIBS linker flags for OVIRT, overriding pkg-config
16001584
16011585 Use these variables to override the choices made by `configure' or to help
16021586 it to find libraries and programs with nonstandard names/locations.
16641648 test -n "$ac_init_help" && exit $ac_status
16651649 if $ac_init_version; then
16661650 cat <<\_ACEOF
1667 virt-viewer configure 0.5.5
1651 virt-viewer configure 0.5.6
16681652 generated by GNU Autoconf 2.69
16691653
16701654 Copyright (C) 2012 Free Software Foundation, Inc.
20292013 This file contains any messages produced by compilers while
20302014 running configure, to aid debugging if configure makes a mistake.
20312015
2032 It was created by virt-viewer $as_me 0.5.5, which was
2016 It was created by virt-viewer $as_me 0.5.6, which was
20332017 generated by GNU Autoconf 2.69. Invocation command line was
20342018
20352019 $ $0 $@
24102394
24112395 ac_config_headers="$ac_config_headers config.h"
24122396
2413 am__api_version='1.12'
2397 am__api_version='1.13'
24142398
24152399 # Find a good install program. We prefer a C program (faster),
24162400 # so one script is as good as another. But avoid the broken or
25942578 esac
25952579 fi
25962580 # Use eval to expand $SHELL
2597 if eval "$MISSING --run true"; then
2598 am_missing_run="$MISSING --run "
2581 if eval "$MISSING --is-lightweight"; then
2582 am_missing_run="$MISSING "
25992583 else
26002584 am_missing_run=
26012585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
28352819 fi
28362820 rmdir .tst 2>/dev/null
28372821
2822 # Check whether --enable-silent-rules was given.
2823 if test "${enable_silent_rules+set}" = set; then :
2824 enableval=$enable_silent_rules;
2825 fi
2826
2827 case $enable_silent_rules in # (((
2828 yes) AM_DEFAULT_VERBOSITY=0;;
2829 no) AM_DEFAULT_VERBOSITY=1;;
2830 *) AM_DEFAULT_VERBOSITY=1;;
2831 esac
2832 am_make=${MAKE-make}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2834 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2835 if ${am_cv_make_support_nested_variables+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if $as_echo 'TRUE=$(BAR$(V))
2839 BAR0=false
2840 BAR1=true
2841 V=1
2842 am__doit:
2843 @$(TRUE)
2844 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2845 am_cv_make_support_nested_variables=yes
2846 else
2847 am_cv_make_support_nested_variables=no
2848 fi
2849 fi
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2851 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2852 if test $am_cv_make_support_nested_variables = yes; then
2853 AM_V='$(V)'
2854 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2855 else
2856 AM_V=$AM_DEFAULT_VERBOSITY
2857 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2858 fi
2859 AM_BACKSLASH='\'
2860
28382861 if test "`cd $srcdir && pwd`" != "`pwd`"; then
28392862 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
28402863 # is not polluted with repeated "-I."
28572880
28582881 # Define the identity of the package.
28592882 PACKAGE='virt-viewer'
2860 VERSION='0.5.5'
2883 VERSION='0.5.6'
28612884
28622885
28632886 cat >>confdefs.h <<_ACEOF
30323055 case "$host_os" in
30333056 *mingw*|*cygwin*)
30343057 os_win32=yes
3058 case "$host" in
3059 amd64*|x86_64*)
3060 WIXL_ARCH="x64"
3061 ;;
3062 *)
3063 WIXL_ARCH="x86"
3064 ;;
3065 esac
3066
30353067 ;;
30363068 *)
30373069 os_win32=no
1417014202 fi
1417114203
1417214204
14205
14206 # Check whether --with-ovirt was given.
14207 if test "${with_ovirt+set}" = set; then :
14208 withval=$with_ovirt;
14209 fi
14210
14211
14212 if test "x$with_ovirt" != "xno"; then :
14213
14214 pkg_failed=no
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OVIRT" >&5
14216 $as_echo_n "checking for OVIRT... " >&6; }
14217
14218 if test -n "$OVIRT_CFLAGS"; then
14219 pkg_cv_OVIRT_CFLAGS="$OVIRT_CFLAGS"
14220 elif test -n "$PKG_CONFIG"; then
14221 if test -n "$PKG_CONFIG" && \
14222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"govirt-1.0\""; } >&5
14223 ($PKG_CONFIG --exists --print-errors "govirt-1.0") 2>&5
14224 ac_status=$?
14225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14226 test $ac_status = 0; }; then
14227 pkg_cv_OVIRT_CFLAGS=`$PKG_CONFIG --cflags "govirt-1.0" 2>/dev/null`
14228 test "x$?" != "x0" && pkg_failed=yes
14229 else
14230 pkg_failed=yes
14231 fi
14232 else
14233 pkg_failed=untried
14234 fi
14235 if test -n "$OVIRT_LIBS"; then
14236 pkg_cv_OVIRT_LIBS="$OVIRT_LIBS"
14237 elif test -n "$PKG_CONFIG"; then
14238 if test -n "$PKG_CONFIG" && \
14239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"govirt-1.0\""; } >&5
14240 ($PKG_CONFIG --exists --print-errors "govirt-1.0") 2>&5
14241 ac_status=$?
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; }; then
14244 pkg_cv_OVIRT_LIBS=`$PKG_CONFIG --libs "govirt-1.0" 2>/dev/null`
14245 test "x$?" != "x0" && pkg_failed=yes
14246 else
14247 pkg_failed=yes
14248 fi
14249 else
14250 pkg_failed=untried
14251 fi
14252
14253
14254
14255 if test $pkg_failed = yes; then
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14257 $as_echo "no" >&6; }
14258
14259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14260 _pkg_short_errors_supported=yes
14261 else
14262 _pkg_short_errors_supported=no
14263 fi
14264 if test $_pkg_short_errors_supported = yes; then
14265 OVIRT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "govirt-1.0" 2>&1`
14266 else
14267 OVIRT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "govirt-1.0" 2>&1`
14268 fi
14269 # Put the nasty error message in config.log where it belongs
14270 echo "$OVIRT_PKG_ERRORS" >&5
14271
14272 have_ovirt=no
14273 elif test $pkg_failed = untried; then
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275 $as_echo "no" >&6; }
14276 have_ovirt=no
14277 else
14278 OVIRT_CFLAGS=$pkg_cv_OVIRT_CFLAGS
14279 OVIRT_LIBS=$pkg_cv_OVIRT_LIBS
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14281 $as_echo "yes" >&6; }
14282 have_ovirt=yes
14283 fi
14284 else
14285 have_ovirt=no
14286 fi
14287
14288 if test "x$have_ovirt" = "xyes"; then :
14289
14290 $as_echo "#define HAVE_OVIRT 1" >>confdefs.h
14291
14292 else
14293 if test "x$with_ovirt" = "xyes"; then :
14294 as_fn_error $? "oVirt support requested but libgovirt not found" "$LINENO" 5
14295
14296 fi
14297
14298 fi
14299
1417314300 for ac_header in sys/socket.h sys/un.h windows.h
1417414301 do :
1417514302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1419614323 done
1419714324
1419814325
14199 NSPR_REQUIRED=4.0.0
14200 FIREFOX_PLUGIN_REQUIRED=1.5.0
14201 MOZILLA_PLUGIN_REQUIRED=1.8
14202 # Check whether --enable-plugin was given.
14203 if test "${enable_plugin+set}" = set; then :
14204 enableval=$enable_plugin;
14205 else
14206 enable_plugin=no
14207 fi
14208
14209 if test "x$enable_plugin" = "xyes"; then
14210
14211 pkg_failed=no
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
14213 $as_echo_n "checking for NSPR... " >&6; }
14214
14215 if test -n "$NSPR_CFLAGS"; then
14216 pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS"
14217 elif test -n "$PKG_CONFIG"; then
14218 if test -n "$PKG_CONFIG" && \
14219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_REQUIRED\""; } >&5
14220 ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_REQUIRED") 2>&5
14221 ac_status=$?
14222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14223 test $ac_status = 0; }; then
14224 pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr >= $NSPR_REQUIRED" 2>/dev/null`
14225 test "x$?" != "x0" && pkg_failed=yes
14226 else
14227 pkg_failed=yes
14228 fi
14229 else
14230 pkg_failed=untried
14231 fi
14232 if test -n "$NSPR_LIBS"; then
14233 pkg_cv_NSPR_LIBS="$NSPR_LIBS"
14234 elif test -n "$PKG_CONFIG"; then
14235 if test -n "$PKG_CONFIG" && \
14236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_REQUIRED\""; } >&5
14237 ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_REQUIRED") 2>&5
14238 ac_status=$?
14239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14240 test $ac_status = 0; }; then
14241 pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr >= $NSPR_REQUIRED" 2>/dev/null`
14242 test "x$?" != "x0" && pkg_failed=yes
14243 else
14244 pkg_failed=yes
14245 fi
14246 else
14247 pkg_failed=untried
14248 fi
14249
14250
14251
14252 if test $pkg_failed = yes; then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14254 $as_echo "no" >&6; }
14255
14256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14257 _pkg_short_errors_supported=yes
14258 else
14259 _pkg_short_errors_supported=no
14260 fi
14261 if test $_pkg_short_errors_supported = yes; then
14262 NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr >= $NSPR_REQUIRED" 2>&1`
14263 else
14264 NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr >= $NSPR_REQUIRED" 2>&1`
14265 fi
14266 # Put the nasty error message in config.log where it belongs
14267 echo "$NSPR_PKG_ERRORS" >&5
14268
14269 as_fn_error $? "Package requirements (nspr >= $NSPR_REQUIRED) were not met:
14270
14271 $NSPR_PKG_ERRORS
14272
14273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14274 installed software in a non-standard prefix.
14275
14276 Alternatively, you may set the environment variables NSPR_CFLAGS
14277 and NSPR_LIBS to avoid the need to call pkg-config.
14278 See the pkg-config man page for more details." "$LINENO" 5
14279 elif test $pkg_failed = untried; then
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281 $as_echo "no" >&6; }
14282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14284 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14285 is in your PATH or set the PKG_CONFIG environment variable to the full
14286 path to pkg-config.
14287
14288 Alternatively, you may set the environment variables NSPR_CFLAGS
14289 and NSPR_LIBS to avoid the need to call pkg-config.
14290 See the pkg-config man page for more details.
14291
14292 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14293 See \`config.log' for more details" "$LINENO" 5; }
14294 else
14295 NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS
14296 NSPR_LIBS=$pkg_cv_NSPR_LIBS
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14298 $as_echo "yes" >&6; }
14299
14300 fi
14301
14302 pkg_failed=no
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIREFOX_PLUGIN" >&5
14304 $as_echo_n "checking for FIREFOX_PLUGIN... " >&6; }
14305
14306 if test -n "$FIREFOX_PLUGIN_CFLAGS"; then
14307 pkg_cv_FIREFOX_PLUGIN_CFLAGS="$FIREFOX_PLUGIN_CFLAGS"
14308 elif test -n "$PKG_CONFIG"; then
14309 if test -n "$PKG_CONFIG" && \
14310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin >= \$FIREFOX_PLUGIN_REQUIRED\""; } >&5
14311 ($PKG_CONFIG --exists --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED") 2>&5
14312 ac_status=$?
14313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14314 test $ac_status = 0; }; then
14315 pkg_cv_FIREFOX_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>/dev/null`
14316 test "x$?" != "x0" && pkg_failed=yes
14317 else
14318 pkg_failed=yes
14319 fi
14320 else
14321 pkg_failed=untried
14322 fi
14323 if test -n "$FIREFOX_PLUGIN_LIBS"; then
14324 pkg_cv_FIREFOX_PLUGIN_LIBS="$FIREFOX_PLUGIN_LIBS"
14325 elif test -n "$PKG_CONFIG"; then
14326 if test -n "$PKG_CONFIG" && \
14327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin >= \$FIREFOX_PLUGIN_REQUIRED\""; } >&5
14328 ($PKG_CONFIG --exists --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED") 2>&5
14329 ac_status=$?
14330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14331 test $ac_status = 0; }; then
14332 pkg_cv_FIREFOX_PLUGIN_LIBS=`$PKG_CONFIG --libs "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>/dev/null`
14333 test "x$?" != "x0" && pkg_failed=yes
14334 else
14335 pkg_failed=yes
14336 fi
14337 else
14338 pkg_failed=untried
14339 fi
14340
14341
14342
14343 if test $pkg_failed = yes; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14345 $as_echo "no" >&6; }
14346
14347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14348 _pkg_short_errors_supported=yes
14349 else
14350 _pkg_short_errors_supported=no
14351 fi
14352 if test $_pkg_short_errors_supported = yes; then
14353 FIREFOX_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>&1`
14354 else
14355 FIREFOX_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>&1`
14356 fi
14357 # Put the nasty error message in config.log where it belongs
14358 echo "$FIREFOX_PLUGIN_PKG_ERRORS" >&5
14359
14360
14361
14362 pkg_failed=no
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA_PLUGIN" >&5
14364 $as_echo_n "checking for MOZILLA_PLUGIN... " >&6; }
14365
14366 if test -n "$MOZILLA_PLUGIN_CFLAGS"; then
14367 pkg_cv_MOZILLA_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS"
14368 elif test -n "$PKG_CONFIG"; then
14369 if test -n "$PKG_CONFIG" && \
14370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5
14371 ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5
14372 ac_status=$?
14373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14374 test $ac_status = 0; }; then
14375 pkg_cv_MOZILLA_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null`
14376 test "x$?" != "x0" && pkg_failed=yes
14377 else
14378 pkg_failed=yes
14379 fi
14380 else
14381 pkg_failed=untried
14382 fi
14383 if test -n "$MOZILLA_PLUGIN_LIBS"; then
14384 pkg_cv_MOZILLA_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS"
14385 elif test -n "$PKG_CONFIG"; then
14386 if test -n "$PKG_CONFIG" && \
14387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5
14388 ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5
14389 ac_status=$?
14390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14391 test $ac_status = 0; }; then
14392 pkg_cv_MOZILLA_PLUGIN_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null`
14393 test "x$?" != "x0" && pkg_failed=yes
14394 else
14395 pkg_failed=yes
14396 fi
14397 else
14398 pkg_failed=untried
14399 fi
14400
14401
14402
14403 if test $pkg_failed = yes; then
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14405 $as_echo "no" >&6; }
14406
14407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14408 _pkg_short_errors_supported=yes
14409 else
14410 _pkg_short_errors_supported=no
14411 fi
14412 if test $_pkg_short_errors_supported = yes; then
14413 MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1`
14414 else
14415 MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1`
14416 fi
14417 # Put the nasty error message in config.log where it belongs
14418 echo "$MOZILLA_PLUGIN_PKG_ERRORS" >&5
14419
14420 as_fn_error $? "Package requirements (mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED) were not met:
14421
14422 $MOZILLA_PLUGIN_PKG_ERRORS
14423
14424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14425 installed software in a non-standard prefix.
14426
14427 Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS
14428 and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config.
14429 See the pkg-config man page for more details." "$LINENO" 5
14430 elif test $pkg_failed = untried; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432 $as_echo "no" >&6; }
14433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14435 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14436 is in your PATH or set the PKG_CONFIG environment variable to the full
14437 path to pkg-config.
14438
14439 Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS
14440 and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config.
14441 See the pkg-config man page for more details.
14442
14443 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14444 See \`config.log' for more details" "$LINENO" 5; }
14445 else
14446 MOZILLA_PLUGIN_CFLAGS=$pkg_cv_MOZILLA_PLUGIN_CFLAGS
14447 MOZILLA_PLUGIN_LIBS=$pkg_cv_MOZILLA_PLUGIN_LIBS
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14449 $as_echo "yes" >&6; }
14450
14451 fi
14452 FIREFOX_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS"
14453 FIREFOX_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS"
14454
14455 elif test $pkg_failed = untried; then
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14457 $as_echo "no" >&6; }
14458
14459
14460 pkg_failed=no
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA_PLUGIN" >&5
14462 $as_echo_n "checking for MOZILLA_PLUGIN... " >&6; }
14463
14464 if test -n "$MOZILLA_PLUGIN_CFLAGS"; then
14465 pkg_cv_MOZILLA_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS"
14466 elif test -n "$PKG_CONFIG"; then
14467 if test -n "$PKG_CONFIG" && \
14468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5
14469 ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5
14470 ac_status=$?
14471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14472 test $ac_status = 0; }; then
14473 pkg_cv_MOZILLA_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null`
14474 test "x$?" != "x0" && pkg_failed=yes
14475 else
14476 pkg_failed=yes
14477 fi
14478 else
14479 pkg_failed=untried
14480 fi
14481 if test -n "$MOZILLA_PLUGIN_LIBS"; then
14482 pkg_cv_MOZILLA_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS"
14483 elif test -n "$PKG_CONFIG"; then
14484 if test -n "$PKG_CONFIG" && \
14485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5
14486 ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5
14487 ac_status=$?
14488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14489 test $ac_status = 0; }; then
14490 pkg_cv_MOZILLA_PLUGIN_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null`
14491 test "x$?" != "x0" && pkg_failed=yes
14492 else
14493 pkg_failed=yes
14494 fi
14495 else
14496 pkg_failed=untried
14497 fi
14498
14499
14500
14501 if test $pkg_failed = yes; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14503 $as_echo "no" >&6; }
14504
14505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14506 _pkg_short_errors_supported=yes
14507 else
14508 _pkg_short_errors_supported=no
14509 fi
14510 if test $_pkg_short_errors_supported = yes; then
14511 MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1`
14512 else
14513 MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1`
14514 fi
14515 # Put the nasty error message in config.log where it belongs
14516 echo "$MOZILLA_PLUGIN_PKG_ERRORS" >&5
14517
14518 as_fn_error $? "Package requirements (mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED) were not met:
14519
14520 $MOZILLA_PLUGIN_PKG_ERRORS
14521
14522 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14523 installed software in a non-standard prefix.
14524
14525 Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS
14526 and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config.
14527 See the pkg-config man page for more details." "$LINENO" 5
14528 elif test $pkg_failed = untried; then
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14530 $as_echo "no" >&6; }
14531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14533 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14534 is in your PATH or set the PKG_CONFIG environment variable to the full
14535 path to pkg-config.
14536
14537 Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS
14538 and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config.
14539 See the pkg-config man page for more details.
14540
14541 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14542 See \`config.log' for more details" "$LINENO" 5; }
14543 else
14544 MOZILLA_PLUGIN_CFLAGS=$pkg_cv_MOZILLA_PLUGIN_CFLAGS
14545 MOZILLA_PLUGIN_LIBS=$pkg_cv_MOZILLA_PLUGIN_LIBS
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14547 $as_echo "yes" >&6; }
14548
14549 fi
14550 FIREFOX_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS"
14551 FIREFOX_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS"
14552
14553 else
14554 FIREFOX_PLUGIN_CFLAGS=$pkg_cv_FIREFOX_PLUGIN_CFLAGS
14555 FIREFOX_PLUGIN_LIBS=$pkg_cv_FIREFOX_PLUGIN_LIBS
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14557 $as_echo "yes" >&6; }
14558
14559 fi
14560
14561
14562 fi
14563 if test "x$enable_plugin" = "xyes"; then
14564 ENABLE_PLUGIN_TRUE=
14565 ENABLE_PLUGIN_FALSE='#'
14566 else
14567 ENABLE_PLUGIN_TRUE='#'
14568 ENABLE_PLUGIN_FALSE=
14569 fi
14570
1457114326
1457214327 if test "x$have_gtk_vnc" != "xyes" && test "x$have_spice_gtk" != "xyes"; then
1457314328 as_fn_error $? "At least one of spice or vnc must be used" "$LINENO" 5
1458514340 _ACEOF
1458614341
1458714342
14588 ac_config_files="$ac_config_files Makefile data/Makefile data/virt-viewer.wxs data/virt-viewer.nsis data/virt-viewer-debug.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"
14343 ac_config_files="$ac_config_files Makefile data/Makefile data/virt-viewer.wxs data/virt-viewer.nsis data/virt-viewer-debug.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 po/Makefile.in src/Makefile src/virt-viewer.rc virt-viewer.spec"
1458914344
1459014345 cat >confcache <<\_ACEOF
1459114346 # This file is a shell script that caches the results of configure
1474814503 as_fn_error $? "conditional \"HAVE_SPICE_GTK\" was never defined.
1474914504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1475014505 fi
14751 if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
14752 as_fn_error $? "conditional \"ENABLE_PLUGIN\" was never defined.
14753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14754 fi
1475514506
1475614507 : "${CONFIG_STATUS=./config.status}"
1475714508 ac_write_fail=0
1514914900 # report actual input values of CONFIG_FILES etc. instead of their
1515014901 # values after options handling.
1515114902 ac_log="
15152 This file was extended by virt-viewer $as_me 0.5.5, which was
14903 This file was extended by virt-viewer $as_me 0.5.6, which was
1515314904 generated by GNU Autoconf 2.69. Invocation command line was
1515414905
1515514906 CONFIG_FILES = $CONFIG_FILES
1521914970 cat