Merge lp:~tkluck/ubuntu/oneiric/goocanvas/v2 into lp:ubuntu/oneiric/goocanvas

Proposed by Jeremy Bícha
Status: Superseded
Proposed branch: lp:~tkluck/ubuntu/oneiric/goocanvas/v2
Merge into: lp:ubuntu/oneiric/goocanvas
Diff against target: 117464 lines
To merge this branch: bzr merge lp:~tkluck/ubuntu/oneiric/goocanvas/v2
Reviewer Review Type Date Requested Status
Jeremy Bícha Needs Fixing
Ubuntu branches Pending
Review via email: mp+82969@code.launchpad.net

This proposal has been superseded by a proposal from 2011-11-24.

To post a comment you must log in.
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Hi, thanks for your work on this. Next time, please consider subscribing ubuntu-sponsors to your bug report when you feel that your packaging work is ready to go into Ubuntu. Launchpad is so huge that it's easy for useful contributions to go unseen if they don't show up in the right places!

I wasn't able to build this. First, because of:

usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/jeremy/devel/goocanvas/build-area/goocanvas-2.0.0'
/usr/share/cdbs/1/rules/dpatch.mk:33: WARNING: dpatch.mk is deprecated - please use source format 3.0 (quilt) instead
for i in ./config.guess ./config.sub ; do \
  if test -e $i.cdbs-orig ; then \
   mv $i.cdbs-orig $i ; \
  fi ; \
 done
make[1]: Leaving directory `/home/jeremy/devel/goocanvas/build-area/goocanvas-2.0.0'
dpatch deapply-all
make: dpatch: Command not found
make: *** [deapply-dpatches] Error 127
E: Failed to clean source directory
bzr: ERROR: The build failed.

After removing the dpatch line from debian/rules I got quite a few errors about modified upstream files. I don't think you meant to be modifying upstream.

1. Remove the dpatch line from debian/rules
2. Cleanly extract the upstream tarball
3. Please also fix this lintian warning:
libgoocanvas-2.0: package-name-doesnt-match-sonames libgoocanvas-2.0-9

review: Needs Fixing
Revision history for this message
Timo Kluck (tkluck) wrote :

Hi Jeremy, thanks for reviewing! I will make the corrections you
suggest and call back here.

2011/11/22 Jeremy Bicha <email address hidden>:
> Review: Needs Fixing
>
> Hi, thanks for your work on this. Next time, please consider subscribing ubuntu-sponsors to your bug report when you feel that your packaging work is ready to go into Ubuntu. Launchpad is so huge that it's easy for useful contributions to go unseen if they don't show up in the right places!
>
> I wasn't able to build this. First, because of:
>
> usr/bin/make -f debian/rules reverse-config
> make[1]: Entering directory `/home/jeremy/devel/goocanvas/build-area/goocanvas-2.0.0'
> /usr/share/cdbs/1/rules/dpatch.mk:33: WARNING:  dpatch.mk is deprecated - please use source format 3.0 (quilt) instead
> for i in ./config.guess ./config.sub  ; do \
>                if test -e $i.cdbs-orig ; then \
>                        mv $i.cdbs-orig $i ; \
>                fi ; \
>        done
> make[1]: Leaving directory `/home/jeremy/devel/goocanvas/build-area/goocanvas-2.0.0'
> dpatch deapply-all
> make: dpatch: Command not found
> make: *** [deapply-dpatches] Error 127
> E: Failed to clean source directory
> bzr: ERROR: The build failed.
>
> After removing the dpatch line from debian/rules I got quite a few errors about modified upstream files. I don't think you meant to be modifying upstream.
>
> 1. Remove the dpatch line from debian/rules
> 2. Cleanly extract the upstream tarball
> 3. Please also fix this lintian warning:
> libgoocanvas-2.0: package-name-doesnt-match-sonames libgoocanvas-2.0-9
> --
> https://code.launchpad.net/~tkluck/ubuntu/oneiric/goocanvas/v2/+merge/82969
> You are the owner of lp:~tkluck/ubuntu/oneiric/goocanvas/v2.
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Jeremy or Timo, could one you change the merge request to not be against Oneiric (which is stable and can't get that update), could you also set it to "work in progress" until it's updated so it gets out of the review queue?

Revision history for this message
Timo Kluck (tkluck) wrote :

I put it on "work in progress". I can't change the branch the proposal is for, but I will submit a new merge proposal against lp:ubuntu/goocanvas when I'm done.

Unmerged revisions

19. By Timo Kluck

Updated copyright info

18. By Timo Kluck

debian/libgoocanvas-2.0-dev.install: Add .pc file to dev package

17. By Timo Kluck

Added cairo and gtk+3 build dependencies

16. By Timo Kluck

updated maintainer field and rules

15. By Timo Kluck

Don't relibtoolize

14. By Timo Kluck

Added results of autogen.sh

13. By Timo Kluck

Redo debian packaging update

12. By Timo Kluck

Redid patching v0.15 up to v2.0.0 because I forgot to bring the new files under version control

11. By Timo Kluck

Updated debian packaging for version 2.0

10. By Timo Kluck

Applied diff from lp:goocanvas -r49..82 (i.e. from v0.15 up to v2.0.0)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2009-07-28 20:38:41 +0000
+++ ChangeLog 2011-11-22 04:29:25 +0000
@@ -1,3 +1,244 @@
12011-02-27 Damon Chaplin <damon@gnome.org>
2
3 * Released GooCanvas 2.0.0
4
52011-02-14 Damon Chaplin <damon@gnome.org>
6
7 * src/goocanvas.c (goo_canvas_set_property): use gtk_widget_modify_bg()
8 instead of gtk_widget_modify_base() to change the background color.
9
102011-02-14 Damon Chaplin <damon@gnome.org>
11
12 * Released GooCanvas 1.90.3
13
142011-02-11 Damon Chaplin <damon@gnome.org>
15
16 * docs/Makefile.am: set DOC_MODULE to goocanvas2 to make it parallel
17 installable with 1.x. Also renamed several of the files from
18 goocanvasXXX to goocanvas2XXX.
19
202011-01-10 Damon Chaplin <damon@gnome.org>
21
22 * src/goocanvasutils.h (enum): added docs for GooCanvasAnchorType.
23
242011-01-10 Damon Chaplin <damon@gnome.org>
25
26 * src/goocanvasimage.c: added "alpha" property. Patch from xapantu
27 plus a few changes.
28
29 * demo/mv-demo.c:
30 * demo/demo.c: added test for the above for the flowers.
31
322010-11-03 Damon Chaplin <damon@gnome.org>
33
34 * Released GooCanvas 1.90.2
35
362010-11-03 Damon Chaplin <damon@gnome.org>
37
38 * src/goocanvas.c: added goo_canvas_get_preferred_width() and
39 goo_canvas_get_preferred_height() and removed goo_canvas_size_request().
40
41 * configure.in: depend on GTK+ 2.91.3 for the above.
42
432010-10-27 Damon Chaplin <damon@gnome.org>
44
45 * src/goocanvas.c: switched the get_property/set_property code and
46 added "hscroll-policy" and "vscroll-policy".
47
482010-10-27 Murray Cumming <murrayc@murrayc.com>
49
50 Fix the build with GTK+ 2.91.2, using GtkScrollable.
51
52 * src/goocanvas.[h|c] (goo_canvas_class_init): Implemeent the GtkScrollable
53 interface, overriding the hadjustment and vadjustment properties, instead
54 of implementing the set_scroll_adjustments vfunc, which was removed from
55 GtkWidget. Likewise remove the set_scroll_adjustments_signal because it
56 is no longer needed.
57 (goo_canvas_get_property), (goo_canvas_set_property): Handle the new
58 properties.
59 (goo_canvas_set_hadjustment), (goo_canvas_set_vadjustment): Replace
60 the old goo_canvas_set_adjustments() function with individual functions
61 because they can be set separately, and to have code that is as similar as
62 possible to, for instance, GtkTextView.
63
642010-10-24 Damon Chaplin <damon@gnome.org>
65
66 * src/goocanvas.c (redraw_static_items_at_position)
67 (goo_canvas_adjustment_value_changed): comment out the calls to
68 gdk_window_process_updates() as they cause flickering when zooming.
69 I'm not sure if we should use something else instead.
70
712010-10-24 Damon Chaplin <damon@gnome.org>
72
73 * Released GooCanvas 1.90.1
74
752010-10-24 Damon Chaplin <damon@gnome.org>
76
77 * src/goocanvas.c: updated the drawing code to work with GTK+ 3.
78 It seems to work now, but it still flickers when zooming in & out,
79 since we can't use our old trick of mapping a temporary window with
80 no background over it while changing the scale.
81
822010-10-01 Damon Chaplin <damon@gnome.org>
83
84 * demo/*.c
85 * src/goocanvas.c (goo_canvas_draw): applied patch from Murray to
86 compile with latest GTK+, with minor changes.
87 Note that drawing doesn't work properly at present.
88
892010-09-02 Murray Cumming <murrayc@murrayc.com>
90
91 Fix build with latest GTK+, which has no GdkGC.
92
93 * src/goocanvas.c (goo_canvas_expose_event): When clearing the background,
94 use gdk_cairo_set_source_color() and GtkWidget::base instead of
95 gdk_draw_rectangle() and GtkWidget::base_gc. Thanks to Benjamin Otte for
96 this code.
97
982010-07-27 Damon Chaplin <damon@gnome.org>
99
100 * src/goocanvas.c (goo_canvas_adjustment_value_changed): fixed call
101 to redraw_static_items_at_position() - was using hadjustment twice.
102
1032010-07-25 Damon Chaplin <damon@gnome.org>
104
105 * src/goocanvas.c (goo_canvas_configure_hadjustment)
106 (goo_canvas_configure_vadjustment): freeze updates until finished,
107 and fixed bug setting hadjustment page size.
108 (goo_canvas_focus_in, goo_canvas_focus_out): removed grab_focus()
109 calls that replaced "GTK_WIDGET_SET/UNSET_FLAGS (widget, GTK_HAS_FOCUS)"
110 I don't think the macros should have been there anyway.
111
112 * src/goocanvasatk.c (goo_canvas_item_accessible_get_extents): tidied
113 up a little - get canvas window once and reuse.
114
1152010-07-25 Murray Cumming <murrayc@murrayc.com>
116
117 Fix the build with the latest GTK+ 3.0 API.
118
119 * demo/demo-focus.c (create_focus_page):
120 * demo/demo-grabs.c (on_widget_expose), (on_widget_button_press):
121 * demo/demo-large-items.c (zoom_changed):
122 * demo/demo.c (zoom_changed), (zoom_x_changed), (zoom_y_changed),
123 (anchor_toggled):
124 * demo/mv-demo-focus.c (create_focus_page):
125 * demo/mv-demo-grabs.c (on_widget_expose),
126 (on_widget_button_press):
127 * demo/mv-demo.c (zoom_changed), (anchor_toggled):
128 * demo/units-demo.c (zoom_changed):
129 * demo/widgets-demo.c (main):
130 * src/goocanvas.c (goo_canvas_init), (goo_canvas_realize),
131 (goo_canvas_map), (goo_canvas_style_set),
132 (goo_canvas_configure_hadjustment),
133 (goo_canvas_configure_vadjustment), (reconfigure_canvas),
134 (goo_canvas_size_allocate), (goo_canvas_adjustment_value_changed),
135 (goo_canvas_scroll_to), (goo_canvas_scroll_to_item),
136 (goo_canvas_set_scale_internal), (paint_static_items),
137 (goo_canvas_expose_event), (goo_canvas_scroll),
138 (goo_canvas_focus_in), (goo_canvas_focus_out),
139 (goo_canvas_convert_from_window_pixels),
140 (goo_canvas_convert_to_static_item_space),
141 (goo_canvas_get_start_bounds), (goo_canvas_focus):
142 * src/goocanvasatk.c (goo_canvas_item_accessible_get_item_extents),
143 (goo_canvas_item_accessible_is_item_in_window),
144 (goo_canvas_item_accessible_get_extents),
145 (goo_canvas_accessible_get_n_children),
146 (goo_canvas_accessible_ref_child): Replace use of direct struct field access
147 in GtkWidget, GtkWindow, and GtkAdjustment, with use of the new get/set
148 functions, to fix the build with the latest GTK+ 3.0 API.
149
1502010-06-30 Damon Chaplin <damon@gnome.org>
151
152 * docs: added empty internal subset "[]" to the DOCTYPEs to keep
153 gtk-doc happy.
154
155 * src/goocanvas.c (goo_canvas_expose_event): do a cairo_save()/restore()
156 around painting the main items, so the static items don't get clipped.
157
158 * src/goocanvasitemsimple.c (goo_canvas_item_simple_set_property):
159 handle setting "clip-path" to NULL to reset it.
160
161 * src/goocanvastable.c: try to handle RTL direction better.
162
163 * src/goocanvasgroup.c (goo_canvas_group_paint): use the scale
164 argument rather than the canvas scale.
165
166 * src/goocanvas.c: added "before-initial-expose" flag which we use
167 to ignore any redraw requests before the initial expose (since we
168 know the entire canvas needs redrawing anyway). This speeds up the
169 creation of lots of items, e.g. scalability-demo.
170
171 * demo/Makefile.am (mv_demo_LDADD, demo_LDADD): added -lm to compile.
172
173 * demo/mv-scalability-demo.c:
174 * demo/scalability-demo.c: updated to compare with the new-api code.
175
1762010-06-21 Damon Chaplin <damon@gnome.org>
177
178 * Released GooCanvas 1.90.0
179
1802010-06-21 Damon Chaplin <damon@gnome.org>
181
182 Got rid of all the GTK_CHECK_VERSION stuff as we depend on 3.0 now.
183
1842010-06-11 Murray Cumming <murrayc@murrayc.com>
185
186 Update source code for GTK+ 3.
187
188 * demo/Makefile.am: Fix a typo.
189 * demo/demo-grabs.c (create_fixed):
190 * demo/mv-demo-grabs.c (create_fixed):
191 * src/goocanvas.c (goo_canvas_grab_focus), (goo_canvas_focus):
192 * src/goocanvasatk.c (goo_canvas_item_accessible_grab_focus),
193 (goo_canvas_item_accessible_ref_state_set):
194 Replace use of gtk_fixed_set_has_window() with gtk_widget_set_has_window().
195 Replace use of GTK_WIDGET_CAN_FOCUS() with gtk_widget_get_can_focus().
196 Replace use of GTK_WIDGET_TOPLEVEL() with gtk_widget_is_toplevel().
197
198 This seems to all work fine.
199
2002010-06-11 Murray Cumming <murrayc@murrayc.com>
201
202 Use GTK+ 3 instead of GTK+ 2.
203
204 * goocanvas.pc.in: Rename to goocanvas-2.0.pc.in:
205 * configure.in
206 * Makefile.am
207 * demo/Makefile.am: Depend on GTK+ 3 instead of GTK+ 2.
208 Change the library name from libgoocanvas to libgoocanvas-2.0.
209 Install the headers in <prefix>/include/goocanvas-2.0 instead of
210 <prefix>/include/goocanvas-1.0.
211
212This is the master branch for goocanvas-2.0, using GTK+ 3
213See also the goocanvas-1.0 branch.
214
2152010-05-10 Damon Chaplin <damon@gnome.org>
216
217 * src/goocanvastext.c: improve docs for "width" and "height" properties.
218 #595164.
219
2202010-05-10 Damon Chaplin <damon@gnome.org>
221
222 * src/goocanvaspolyline.c: don't use the reconfigure_arrows flag
223 any more - always reconfigure the arrows during an update. This
224 avoids a bug where the line width changes but the arrows don't get
225 reconfigured, since the line width is an inherited property and
226 reconfigure_arrows wasn't being set when it changed.
227
2282010-05-07 Damon Chaplin <damon@gnome.org>
229
230 * src/goocanvasstyle.c (goo_canvas_style_set_stroke_options): handle
231 a NULL dash setting. #617960.
232
2332010-04-28 Luis Medinas <lmedinas@gnome.org>
234
235 * applied small patch to compile with GTK+ 3.0. #615435.
236
2372009-08-20 Murray Cumming <murrayc@murrayc.com>
238
239 * docs/architecture.xml: Fixed documenation typo. Bug #591983.
240 (Martin Olsson)
241
12009-06-29 Damon Chaplin <damon@gnome.org>2422009-06-29 Damon Chaplin <damon@gnome.org>
2243
3 * Released GooCanvas 0.15244 * Released GooCanvas 0.15
@@ -7,8 +248,8 @@
7 * src/goocanvasimage.c: added "scale-to-fit" property, which scales248 * src/goocanvasimage.c: added "scale-to-fit" property, which scales
8 the image to fit the "width" and "height" settings.249 the image to fit the "width" and "height" settings.
9250
10 * demo/units-demo.c: 251 * demo/units-demo.c:
11 * demo/mv-demo.c (plant_flower): 252 * demo/mv-demo.c (plant_flower):
12 * demo/demo.c (plant_flower): test "scale-to-fit" property.253 * demo/demo.c (plant_flower): test "scale-to-fit" property.
13254
142009-05-07 Damon Chaplin <damon@gnome.org>2552009-05-07 Damon Chaplin <damon@gnome.org>
@@ -20,7 +261,7 @@
20261
212009-03-16 Damon Chaplin <damon@gnome.org>2622009-03-16 Damon Chaplin <damon@gnome.org>
22263
23 * src/goocanvasitem.c: changed docs referring to "root_x" and "root_y" 264 * src/goocanvasitem.c: changed docs referring to "root_x" and "root_y"
24 fields of event structs to "x_root" and "y_root".265 fields of event structs to "x_root" and "y_root".
25266
262009-03-15 Damon Chaplin <damon@gnome.org>2672009-03-15 Damon Chaplin <damon@gnome.org>
@@ -39,7 +280,7 @@
39280
40 * configure.in: added dependancy on GTK+ 2.12 for tooltips.281 * configure.in: added dependancy on GTK+ 2.12 for tooltips.
41282
42 * demo/mv-demo.c: 283 * demo/mv-demo.c:
43 * demo/demo.c: added tests for tooltips.284 * demo/demo.c: added tests for tooltips.
44285
452009-03-15 Damon Chaplin <damon@gnome.org>2862009-03-15 Damon Chaplin <damon@gnome.org>
@@ -50,9 +291,9 @@
50291
512009-03-15 Damon Chaplin <damon@gnome.org>2922009-03-15 Damon Chaplin <damon@gnome.org>
52293
53 * docs/coordinates.xml: 294 * docs/coordinates.xml:
54 * docs/architecture.xml: 295 * docs/architecture.xml:
55 * docs/creating-items.xml: 296 * docs/creating-items.xml:
56 * src/goocanvasitemsimple.c: use the terms "canvas coordinate space" or297 * src/goocanvasitemsimple.c: use the terms "canvas coordinate space" or
57 "canvas space" rather than "device space" which is a bit misleading.298 "canvas space" rather than "device space" which is a bit misleading.
58299
@@ -66,7 +307,7 @@
66 scroll_event() signals on items.307 scroll_event() signals on items.
67308
68 * src/goocanvasitem.c: implemented "scroll_event" signals on items.309 * src/goocanvasitem.c: implemented "scroll_event" signals on items.
69 310
70 * src/goocanvas.c: implemented "scroll_event" signals on items.311 * src/goocanvas.c: implemented "scroll_event" signals on items.
71312
72 * demo/demo.c: added test for above. #566110313 * demo/demo.c: added test for above. #566110
@@ -117,7 +358,7 @@
117358
1182008-11-19 Damon Chaplin <damon@gnome.org>3592008-11-19 Damon Chaplin <damon@gnome.org>
119360
120 * src/goocanvasitemmodel.c (goo_canvas_item_model_stop_animation): 361 * src/goocanvasitemmodel.c (goo_canvas_item_model_stop_animation):
121 * src/goocanvasitem.c (goo_canvas_item_animate_cb)362 * src/goocanvasitem.c (goo_canvas_item_animate_cb)
122 (goo_canvas_item_stop_animation): remove the current animation data363 (goo_canvas_item_stop_animation): remove the current animation data
123 before emitting "animation-finished", so signal handlers can start a364 before emitting "animation-finished", so signal handlers can start a
@@ -134,7 +375,7 @@
134 group of static items separately, to stop GTK+ merging the redraw375 group of static items separately, to stop GTK+ merging the redraw
135 rect into one massive one.376 rect into one massive one.
136377
137 * demo/mv-demo.c (create_static_model): 378 * demo/mv-demo.c (create_static_model):
138 * demo/demo.c (setup_static_items): use a group for all the static379 * demo/demo.c (setup_static_items): use a group for all the static
139 items.380 items.
140381
@@ -162,7 +403,7 @@
162403
163 * src/goocanvaswidget.c: note that widgets can't be static.404 * src/goocanvaswidget.c: note that widgets can't be static.
164405
165 * README: 406 * README:
166 * docs/overview.xml: mention static items and the grid item.407 * docs/overview.xml: mention static items and the grid item.
167408
1682008-11-03 Damon Chaplin <damon@gnome.org>4092008-11-03 Damon Chaplin <damon@gnome.org>
@@ -172,7 +413,7 @@
172 (emit_pointer_event): convert the pointer position to static item space413 (emit_pointer_event): convert the pointer position to static item space
173 for static items.414 for static items.
174415
175 * src/goocanvasatk.c (goo_canvas_item_accessible_get_item_extents): 416 * src/goocanvasatk.c (goo_canvas_item_accessible_get_item_extents):
176 handle static items - don't need to convert to pixels within the417 handle static items - don't need to convert to pixels within the
177 window as they are already like that.418 window as they are already like that.
178419
@@ -180,7 +421,7 @@
180421
181 * src/goocanvasgrid.[hc]: new grid item.422 * src/goocanvasgrid.[hc]: new grid item.
182423
183 * demo/mv-demo.c (setup_grids): 424 * demo/mv-demo.c (setup_grids):
184 * demo/demo.c (setup_grids): added a grid.425 * demo/demo.c (setup_grids): added a grid.
185426
186 * src/Makefile.am: added grid.427 * src/Makefile.am: added grid.
@@ -201,27 +442,27 @@
201442
2022008-10-31 Damon Chaplin <damon@gnome.org>4432008-10-31 Damon Chaplin <damon@gnome.org>
203444
204 * src/goocanvasitemmodel.h (struct _GooCanvasItemModelIface): 445 * src/goocanvasitemmodel.h (struct _GooCanvasItemModelIface):
205 * src/goocanvasitem.h (struct _GooCanvasItemIface): added446 * src/goocanvasitem.h (struct _GooCanvasItemIface): added
206 animation_finished() signals.447 animation_finished() signals.
207448
208 * src/goocanvasitemmodel.c: 449 * src/goocanvasitemmodel.c:
209 * src/goocanvasitem.c: implemented "animation-finished" signals.450 * src/goocanvasitem.c: implemented "animation-finished" signals.
210451
211 * demo/mv-demo-animation.c: 452 * demo/mv-demo-animation.c:
212 * demo/demo-animation.c: added test for above.453 * demo/demo-animation.c: added test for above.
213454
2142008-10-31 Damon Chaplin <damon@gnome.org>4552008-10-31 Damon Chaplin <damon@gnome.org>
215456
216 * demo/mv-demo-arrowhead.c (on_button_press): 457 * demo/mv-demo-arrowhead.c (on_button_press):
217 * demo/demo-arrowhead.c (on_button_press): 458 * demo/demo-arrowhead.c (on_button_press):
218 * demo/mv-demo.c (on_button_press): 459 * demo/mv-demo.c (on_button_press):
219 * demo/demo.c (on_button_press): use GDK_POINTER_MOTION_HINT_MASK for460 * demo/demo.c (on_button_press): use GDK_POINTER_MOTION_HINT_MASK for
220 the pointer grab, so we don't get too many events.461 the pointer grab, so we don't get too many events.
221462
2222008-10-31 Damon Chaplin <damon@gnome.org>4632008-10-31 Damon Chaplin <damon@gnome.org>
223464
224 * src/goocanvas.h: 465 * src/goocanvas.h:
225 (goo_canvas_get_static_root_item): new function to get static root item.466 (goo_canvas_get_static_root_item): new function to get static root item.
226 (goo_canvas_set_static_root_item): new function to set static root item.467 (goo_canvas_set_static_root_item): new function to set static root item.
227 (goo_canvas_get_static_root_item_model): new function to get static468 (goo_canvas_get_static_root_item_model): new function to get static
@@ -280,7 +521,7 @@
280 * src/goocanvastable.c: use new goo_canvas_request_item_redraw()521 * src/goocanvastable.c: use new goo_canvas_request_item_redraw()
281 function so static items are redrawn correctly.522 function so static items are redrawn correctly.
282523
283 * demo/mv-demo.c (create_static_model): 524 * demo/mv-demo.c (create_static_model):
284 * demo/demo.c (setup_static_items): added some static items to test.525 * demo/demo.c (setup_static_items): added some static items to test.
285 Note that dragging around when scale != 1.0 is weird as the coord526 Note that dragging around when scale != 1.0 is weird as the coord
286 spaces are different, but is expected.527 spaces are different, but is expected.
@@ -359,7 +600,7 @@
359600
3602008-08-17 Damon Chaplin <damon@gnome.org>6012008-08-17 Damon Chaplin <damon@gnome.org>
361602
362 * src/Makefile.am (INCLUDES): 603 * src/Makefile.am (INCLUDES):
363 * demo/Makefile.am (INCLUDES): get rid of the XXX_DISABLE_DEPRECATED604 * demo/Makefile.am (INCLUDES): get rid of the XXX_DISABLE_DEPRECATED
364 flags so we don't break compilation when GTK+ deprecates stuff. #548086605 flags so we don't break compilation when GTK+ deprecates stuff. #548086
365606
@@ -369,7 +610,7 @@
369 (goo_canvas_group_model_get_child): return NULL if child_num is out610 (goo_canvas_group_model_get_child): return NULL if child_num is out
370 of range. #535150611 of range. #535150
371612
372 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_child): 613 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_child):
373 * src/goocanvasitem.c (goo_canvas_item_get_child): updated docs.614 * src/goocanvasitem.c (goo_canvas_item_get_child): updated docs.
374615
3752008-06-24 Damon Chaplin <damon@gnome.org>6162008-06-24 Damon Chaplin <damon@gnome.org>
@@ -436,7 +677,7 @@
436677
4372008-05-09 Damon Chaplin <damon@gnome.org>6782008-05-09 Damon Chaplin <damon@gnome.org>
438679
439 * src/goocanvasitemmodel.h: 680 * src/goocanvasitemmodel.h:
440 * src/goocanvasitem.h: removed _CLASS macros since they are interfaces.681 * src/goocanvasitem.h: removed _CLASS macros since they are interfaces.
441 (From Masatake YAMATO).682 (From Masatake YAMATO).
442683
@@ -456,17 +697,17 @@
456 "x-border-spacing" and "y-border-spacing" properties.697 "x-border-spacing" and "y-border-spacing" properties.
457 (Patch applied by Damon with a few changes.)698 (Patch applied by Damon with a few changes.)
458699
459 * demo/mv-table-demo.c: 700 * demo/mv-table-demo.c:
460 * demo/table-demo.c: added tests for the gridlines.701 * demo/table-demo.c: added tests for the gridlines.
461702
4622008-04-04 Damon Chaplin <damon@gnome.org>7032008-04-04 Damon Chaplin <damon@gnome.org>
463704
464 * docs/coordinates.xml: 705 * docs/coordinates.xml:
465 * docs/architecture.xml: new sections.706 * docs/architecture.xml: new sections.
466707
467 * docs/creating-items.xml: rewritten.708 * docs/creating-items.xml: rewritten.
468709
469 * src/goocanvasitemmodel.c (goo_canvas_item_model_set_parent): 710 * src/goocanvasitemmodel.c (goo_canvas_item_model_set_parent):
470 * src/goocanvasitem.c (goo_canvas_item_set_parent): note in the docs711 * src/goocanvasitem.c (goo_canvas_item_set_parent): note in the docs
471 that the "parent" property can be used to set the parent, but that712 that the "parent" property can be used to set the parent, but that
472 these functions are only for implementing new items (a bit confusing).713 these functions are only for implementing new items (a bit confusing).
@@ -481,11 +722,11 @@
481722
4822008-03-27 Damon Chaplin <damon@gnome.org>7232008-03-27 Damon Chaplin <damon@gnome.org>
483724
484 * src/goocanvasitem.c (goo_canvas_item_get_simple_transform): 725 * src/goocanvasitem.c (goo_canvas_item_get_simple_transform):
485 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_simple_transform): 726 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_simple_transform):
486 new functions to do opposite of set_simple_transform().727 new functions to do opposite of set_simple_transform().
487728
488 * demo/mv-demo.c (test_simple_transforms): 729 * demo/mv-demo.c (test_simple_transforms):
489 * demo/demo.c (test_simple_transforms): added some test code for above.730 * demo/demo.c (test_simple_transforms): added some test code for above.
490731
4912008-03-27 Damon Chaplin <damon@gnome.org>7322008-03-27 Damon Chaplin <damon@gnome.org>
@@ -508,7 +749,7 @@
508 simple_update/paint/get_item_at() virtual functions that call749 simple_update/paint/get_item_at() virtual functions that call
509 simple_create_path(). These make it easier for language bindings.750 simple_create_path(). These make it easier for language bindings.
510 Based on patch from Jonathon Jongsma.751 Based on patch from Jonathon Jongsma.
511 752
5122008-02-25 Damon Chaplin <damon@gnome.org>7532008-02-25 Damon Chaplin <damon@gnome.org>
513754
514 * src/goocanvastext.c (goo_canvas_text_get_natural_extents): added755 * src/goocanvastext.c (goo_canvas_text_get_natural_extents): added
@@ -527,13 +768,13 @@
527768
5282007-11-18 Damon Chaplin <damon@gnome.org>7692007-11-18 Damon Chaplin <damon@gnome.org>
529770
530 * src/goocanvasitem.c (goo_canvas_item_get_child_property) 771 * src/goocanvasitem.c (goo_canvas_item_get_child_property)
531 (goo_canvas_item_set_child_property): 772 (goo_canvas_item_set_child_property):
532 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_child_property) 773 * src/goocanvasitemmodel.c (goo_canvas_item_model_get_child_property)
533 (goo_canvas_item_model_set_child_property): new functions to get/set774 (goo_canvas_item_model_set_child_property): new functions to get/set
534 individual child properties (to help language bindings).775 individual child properties (to help language bindings).
535776
536 * demo/demo-table.c (create_demo_item): 777 * demo/demo-table.c (create_demo_item):
537 * demo/mv-demo-table.c (create_demo_item): test the above.778 * demo/mv-demo-table.c (create_demo_item): test the above.
538779
539 * src/goocanvasitem.c:780 * src/goocanvasitem.c:
@@ -543,19 +784,19 @@
5432007-11-13 Murray Cumming <murrayc@murrayc.com>7842007-11-13 Murray Cumming <murrayc@murrayc.com>
544785
545 * src/goocanvasitem.c: goo_canvas_item_add_child():786 * src/goocanvasitem.c: goo_canvas_item_add_child():
546 * src/goocanvasitemmodel.c: goo_canvas_item_model_add_child(): 787 * src/goocanvasitemmodel.c: goo_canvas_item_model_add_child():
547 Add a debugging check to make sure the child is not the same as the788 Add a debugging check to make sure the child is not the same as the
548 parent, preventing an endless loop.789 parent, preventing an endless loop.
549790
5502007-11-13 Murray Cumming <murrayc@murrayc.com>7912007-11-13 Murray Cumming <murrayc@murrayc.com>
551792
552 * src/goocanvasimage.c: goo_canvas_image_set_common_property(): 793 * src/goocanvasimage.c: goo_canvas_image_set_common_property():
553 Support setting the pixbuf property to NULL. 794 Support setting the pixbuf property to NULL.
554795
5552007-11-13 Murray Cumming <murrayc@murrayc.com>7962007-11-13 Murray Cumming <murrayc@murrayc.com>
556797
557 * src/goocanvas.c: goo_canvas_render(): Call goo_canvas_update() 798 * src/goocanvas.c: goo_canvas_render(): Call goo_canvas_update()
558 if necessary, as suggested by Damon, to fix a crash when rendering 799 if necessary, as suggested by Damon, to fix a crash when rendering
559 a GooCanvasTable that has never been shown on screen.800 a GooCanvasTable that has never been shown on screen.
560801
5612007-08-13 Damon Chaplin <damon@gnome.org>8022007-08-13 Damon Chaplin <damon@gnome.org>
@@ -579,7 +820,7 @@
579 * src/goocanvasitem.c (goo_canvas_item_request_update): don't use820 * src/goocanvasitem.c (goo_canvas_item_request_update): don't use
580 return here as it is a void function.821 return here as it is a void function.
581822
582 * src/goocanvastable.c (goo_canvas_table_remove_child): 823 * src/goocanvastable.c (goo_canvas_table_remove_child):
583 * src/goocanvasgroup.c (goo_canvas_group_remove_child): check the824 * src/goocanvasgroup.c (goo_canvas_group_remove_child): check the
584 child_num arg is valid.825 child_num arg is valid.
585826
@@ -589,7 +830,7 @@
589 "bounds-padding" properties, used to calculate the canvas bounds830 "bounds-padding" properties, used to calculate the canvas bounds
590 automatically.831 automatically.
591832
592 * demo/demo.c (change_bounds_clicked): 833 * demo/demo.c (change_bounds_clicked):
593 * demo/mv-demo.c (change_bounds_clicked): test the above.834 * demo/mv-demo.c (change_bounds_clicked): test the above.
594835
5952007-06-19 Damon Chaplin <damon@gnome.org>8362007-06-19 Damon Chaplin <damon@gnome.org>
@@ -600,7 +841,7 @@
600841
601 * src/goocanvastable.c: implement integer layout.842 * src/goocanvastable.c: implement integer layout.
602843
603 * demo/table-demo.c: 844 * demo/table-demo.c:
604 * demo/mv-table-demo.c: tests for integer layout.845 * demo/mv-table-demo.c: tests for integer layout.
605846
6062007-05-15 Damon Chaplin <damon@gnome.org>8472007-05-15 Damon Chaplin <damon@gnome.org>
@@ -622,11 +863,11 @@
622863
6232007-05-14 Damon Chaplin <damon@gnome.org>8642007-05-14 Damon Chaplin <damon@gnome.org>
624865
625 * src/goocanvas.c (goo_canvas_set_property) 866 * src/goocanvas.c (goo_canvas_set_property)
626 (goo_canvas_set_bounds): queue a redraw of the widget.867 (goo_canvas_set_bounds): queue a redraw of the widget.
627 (goo_canvas_expose_event): clip to the canvas bounds if necessary.868 (goo_canvas_expose_event): clip to the canvas bounds if necessary.
628869
629 * demo/mv-demo.c (change_bounds_clicked): 870 * demo/mv-demo.c (change_bounds_clicked):
630 * demo/demo.c (change_bounds_clicked): test changing the bounds871 * demo/demo.c (change_bounds_clicked): test changing the bounds
631 dynamically.872 dynamically.
632873
@@ -637,23 +878,23 @@
637 GArray was updated but the view still pointed to the old GArray878 GArray was updated but the view still pointed to the old GArray
638 which had been freed.879 which had been freed.
639880
640 * demo/mv-demo-paths.c: 881 * demo/mv-demo-paths.c:
641 * demo/demo-paths.c: added a button to test changing the path data882 * demo/demo-paths.c: added a button to test changing the path data
642 dynamically.883 dynamically.
643884
6442007-05-11 Damon Chaplin <damon@gnome.org>8852007-05-11 Damon Chaplin <damon@gnome.org>
645886
646 * demo/demo-large-rect.c: 887 * demo/demo-large-rect.c:
647 * demo/demo-large-line.c: 888 * demo/demo-large-line.c:
648 * demo/demo-large-items.c: new demo and items to show how to create a889 * demo/demo-large-items.c: new demo and items to show how to create a
649 very large canvas and very large items.890 very large canvas and very large items.
650891
651 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_line_width): 892 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_line_width):
652 added utility function to get an item's line width.893 added utility function to get an item's line width.
653 Also changed default line width property value to 2.0, and returned894 Also changed default line width property value to 2.0, and returned
654 canvas line width setting if item's line width isn't set.895 canvas line width setting if item's line width isn't set.
655896
656 * src/goocanvasrect.c (goo_canvas_rect_update): 897 * src/goocanvasrect.c (goo_canvas_rect_update):
657 * src/goocanvaspolyline.c (goo_canvas_polyline_reconfigure_arrows): use898 * src/goocanvaspolyline.c (goo_canvas_polyline_reconfigure_arrows): use
658 the above function to get the line width.899 the above function to get the line width.
659900
@@ -666,26 +907,26 @@
666907
6672007-04-27 Damon Chaplin <damon@gnome.org>9082007-04-27 Damon Chaplin <damon@gnome.org>
668909
669 * src/goocanvasitem.h: 910 * src/goocanvasitem.h:
670 * src/goocanvasutils.c (goo_canvas_bounds_get_type): added type stuff911 * src/goocanvasutils.c (goo_canvas_bounds_get_type): added type stuff
671 for language bindings (patch from Murray Cumming).912 for language bindings (patch from Murray Cumming).
672913
6732007-04-25 Damon Chaplin <damon@gnome.org>9142007-04-25 Damon Chaplin <damon@gnome.org>
674915
675 * src/goocanvasitemmodel.c (_goo_canvas_item_model_emit_child_added) 916 * src/goocanvasitemmodel.c (_goo_canvas_item_model_emit_child_added)
676 (_goo_canvas_item_model_emit_changed): new simple functions to emit917 (_goo_canvas_item_model_emit_changed): new simple functions to emit
677 signals faster (avoids signal name lookups).918 signals faster (avoids signal name lookups).
678919
679 * src/goocanvasitemsimple.c920 * src/goocanvasitemsimple.c
680 (goo_canvas_item_model_simple_set_property) 921 (goo_canvas_item_model_simple_set_property)
681 (goo_canvas_item_model_simple_set_transform) 922 (goo_canvas_item_model_simple_set_transform)
682 (goo_canvas_item_model_simple_set_style): 923 (goo_canvas_item_model_simple_set_style):
683 * src/goocanvasgroup.c (goo_canvas_group_model_add_child): use the924 * src/goocanvasgroup.c (goo_canvas_group_model_add_child): use the
684 above functions for a little speedup.925 above functions for a little speedup.
685926
6862007-04-25 Damon Chaplin <damon@gnome.org>9272007-04-25 Damon Chaplin <damon@gnome.org>
687928
688 * demo/mv-scalability-demo.c: 929 * demo/mv-scalability-demo.c:
689 * demo/scalability-demo.c: instead of connecting signals to all items930 * demo/scalability-demo.c: instead of connecting signals to all items
690 we just use a handler on the root item. Also added a switch to turn931 we just use a handler on the root item. Also added a switch to turn
691 off the text items, to see the difference in performance (a lot).932 off the text items, to see the difference in performance (a lot).
@@ -709,7 +950,7 @@
709950
7102007-04-16 Damon Chaplin <damon@gnome.org>9512007-04-16 Damon Chaplin <damon@gnome.org>
711952
712 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds): 953 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds):
713 handle empty bounds for an item's fill or stroke. cairo 1.4.x returns954 handle empty bounds for an item's fill or stroke. cairo 1.4.x returns
714 0.0 for x1/y1/x2/y2 in that case, though older versions of cairo955 0.0 for x1/y1/x2/y2 in that case, though older versions of cairo
715 returned odd values. So I've added a workaround for that as well.956 returned odd values. So I've added a workaround for that as well.
@@ -727,14 +968,14 @@
727968
7282007-04-03 Damon Chaplin <damon@gnome.org>9692007-04-03 Damon Chaplin <damon@gnome.org>
729970
730 * demo/mv-demo.c (create_canvas_primitives): 971 * demo/mv-demo.c (create_canvas_primitives):
731 * demo/demo.c (create_canvas_primitives): set the maximum scale to 50,972 * demo/demo.c (create_canvas_primitives): set the maximum scale to 50,
732 since if we go above that we hit the cairo 16-bit limit and the large973 since if we go above that we hit the cairo 16-bit limit and the large
733 rectangle isn't painted correctly.974 rectangle isn't painted correctly.
734975
735 * src/goocanvasitemsimple.c (goo_canvas_item_simple_install_common_properties): improved docs for fill/stroke properties.976 * src/goocanvasitemsimple.c (goo_canvas_item_simple_install_common_properties): improved docs for fill/stroke properties.
736977
737 * src/goocanvaswidget.c (goo_canvas_widget_new) 978 * src/goocanvaswidget.c (goo_canvas_widget_new)
738 (goo_canvas_widget_set_widget): keep our own reference to the widget,979 (goo_canvas_widget_set_widget): keep our own reference to the widget,
739 rather than just relying on the canvas widget's reference. Otherwise980 rather than just relying on the canvas widget's reference. Otherwise
740 once the widget is removed from the canvas we have an invalid pointer.981 once the widget is removed from the canvas we have an invalid pointer.
@@ -748,7 +989,7 @@
748 accumulator for the event signals, so returning TRUE from a handler989 accumulator for the event signals, so returning TRUE from a handler
749 stops the signal.990 stops the signal.
750991
751 * src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData): 992 * src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData):
752 * src/goocanvasitem.h (struct _GooCanvasItemIface): added a few bits993 * src/goocanvasitem.h (struct _GooCanvasItemIface): added a few bits
753 that will be needed to support tooltips with GTK+ 2.12. I have a patch994 that will be needed to support tooltips with GTK+ 2.12. I have a patch
754 to support tooltips but I don't want to depend on GTK+ 2.12 yet.995 to support tooltips but I don't want to depend on GTK+ 2.12 yet.
@@ -769,12 +1010,12 @@
769 properties to set the background color of the canvas, based on a patch1010 properties to set the background color of the canvas, based on a patch
770 from Gian Mario Tagliaretti.1011 from Gian Mario Tagliaretti.
7711012
772 * demo/demo.c (create_canvas_primitives): 1013 * demo/demo.c (create_canvas_primitives):
773 * demo/mv-demo.c (create_canvas_primitives): use above properties.1014 * demo/mv-demo.c (create_canvas_primitives): use above properties.
7741015
7752007-03-16 Murray Cumming <murrayc@murrayc.com>10162007-03-16 Murray Cumming <murrayc@murrayc.com>
7761017
777 * src/goocanvasitemsimple.h: Change the struct field name from 1018 * src/goocanvasitemsimple.h: Change the struct field name from
778 private to priv, to avoid problems when using this from C++.1019 private to priv, to avoid problems when using this from C++.
7791020
7802007-03-08 Damon Chaplin <damon@gnome.org>10212007-03-08 Damon Chaplin <damon@gnome.org>
@@ -794,14 +1035,14 @@
7941035
7952007-03-08 Damon Chaplin <damon@gnome.org>10362007-03-08 Damon Chaplin <damon@gnome.org>
7961037
797 * src/goocanvasitemmodel.c (goo_canvas_item_model_remove): 1038 * src/goocanvasitemmodel.c (goo_canvas_item_model_remove):
798 * src/goocanvasitem.c (goo_canvas_item_remove): new convenience1039 * src/goocanvasitem.c (goo_canvas_item_remove): new convenience
799 functions to easily remove items & models from the canvas.1040 functions to easily remove items & models from the canvas.
8001041
801 * demo/mv-demo-features.c (on_button_press): 1042 * demo/mv-demo-features.c (on_button_press):
802 * demo/demo-features.c (on_button_press): 1043 * demo/demo-features.c (on_button_press):
803 * demo/demo.c (on_button_press): 1044 * demo/demo.c (on_button_press):
804 * demo/mv-demo.c (on_button_press): 1045 * demo/mv-demo.c (on_button_press):
805 * demo/widgets-demo.c (remove_widget_clicked): use new remove()1046 * demo/widgets-demo.c (remove_widget_clicked): use new remove()
806 functions to test them.1047 functions to test them.
8071048
@@ -815,8 +1056,8 @@
8151056
816 * demo/demo.c (setup_texts): added test for ellipsized text.1057 * demo/demo.c (setup_texts): added test for ellipsized text.
8171058
818 * demo/mv-demo.c: 1059 * demo/mv-demo.c:
819 * demo/mv-demo-table.c: 1060 * demo/mv-demo-table.c:
820 * demo/mv-demo-clipping.c: updated model-view demos, adding new stuff1061 * demo/mv-demo-clipping.c: updated model-view demos, adding new stuff
821 from simple demo.1062 from simple demo.
8221063
@@ -860,7 +1101,7 @@
860 calculates the requested height for the given width, or just returns1101 calculates the requested height for the given width, or just returns
861 -1 if the text item is rotated or has a clip path, in which case the1102 -1 if the text item is rotated or has a clip path, in which case the
862 original height is used.1103 original height is used.
863 (goo_canvas_text_init, goo_canvas_text_create_layout) 1104 (goo_canvas_text_init, goo_canvas_text_create_layout)
864 (goo_canvas_text_update): use layout_width.1105 (goo_canvas_text_update): use layout_width.
8651106
866 * demo/demo-table.c (create_width_for_height_table): added tests for1107 * demo/demo-table.c (create_width_for_height_table): added tests for
@@ -883,13 +1124,13 @@
8831124
8842007-02-27 Damon Chaplin <damon@gnome.org>11252007-02-27 Damon Chaplin <damon@gnome.org>
8851126
886 * src/goocanvasitemmodel.[hc]: 1127 * src/goocanvasitemmodel.[hc]:
887 * src/goocanvasitem.[hc]: used name "transform" for all arguments1128 * src/goocanvasitem.[hc]: used name "transform" for all arguments
888 to get/set_transform functions.1129 to get/set_transform functions.
8891130
8902007-02-27 Damon Chaplin <damon@gnome.org>11312007-02-27 Damon Chaplin <damon@gnome.org>
8911132
892 * src/goocanvasitemmodel.[hc]: 1133 * src/goocanvasitemmodel.[hc]:
893 * src/goocanvasitem.[hc]: changed get_transform() method to take a1134 * src/goocanvasitem.[hc]: changed get_transform() method to take a
894 cairo_matrix_t* to fill in, and return a boolean if a transform is set.1135 cairo_matrix_t* to fill in, and return a boolean if a transform is set.
895 This is better for bindings.1136 This is better for bindings.
@@ -907,13 +1148,13 @@
907 * src/goocanvas.c (goo_canvas_get_item_at): updated to use new API.1148 * src/goocanvas.c (goo_canvas_get_item_at): updated to use new API.
908 (goo_canvas_get_items_at): new function to return list of found items.1149 (goo_canvas_get_items_at): new function to return list of found items.
9091150
910 * src/goocanvastable.c (goo_canvas_table_get_items_at): 1151 * src/goocanvastable.c (goo_canvas_table_get_items_at):
911 * src/goocanvasgroup.c (goo_canvas_group_get_items_at):1152 * src/goocanvasgroup.c (goo_canvas_group_get_items_at):
912 * src/goocanvasimage.c (goo_canvas_image_is_item_at): 1153 * src/goocanvasimage.c (goo_canvas_image_is_item_at):
913 * src/goocanvaspolyline.c (goo_canvas_polyline_is_item_at): 1154 * src/goocanvaspolyline.c (goo_canvas_polyline_is_item_at):
914 * src/goocanvastext.c (goo_canvas_text_is_item_at): 1155 * src/goocanvastext.c (goo_canvas_text_is_item_at):
915 * src/goocanvaswidget.c (goo_canvas_widget_is_item_at): 1156 * src/goocanvaswidget.c (goo_canvas_widget_is_item_at):
916 * docs/creating-items.xml: 1157 * docs/creating-items.xml:
917 * demo/demo-item.c (goo_demo_item_is_item_at): updated for new API.1158 * demo/demo-item.c (goo_demo_item_is_item_at): updated for new API.
9181159
9192007-02-25 Damon Chaplin <damon@gnome.org>11602007-02-25 Damon Chaplin <damon@gnome.org>
@@ -921,7 +1162,7 @@
921 * src/goocanvasitemsimple.c: added "hint-metrics" property so people1162 * src/goocanvasitemsimple.c: added "hint-metrics" property so people
922 can use hinted metrics for prettier text if they aren't scaling the1163 can use hinted metrics for prettier text if they aren't scaling the
923 canvas at all.1164 canvas at all.
924 1165
925 * src/goocanvasstyle.c: added goo_canvas_style_hint_metrics_id quark.1166 * src/goocanvasstyle.c: added goo_canvas_style_hint_metrics_id quark.
9261167
927 * src/goocanvasutils.c (goo_cairo_hint_metrics_get_type): added enum1168 * src/goocanvasutils.c (goo_cairo_hint_metrics_get_type): added enum
@@ -943,7 +1184,7 @@
943 any other objects.) This was done to help the Ruby bindings.1184 any other objects.) This was done to help the Ruby bindings.
944 It was a bit fiddly so it might cause a few bugs.1185 It was a bit fiddly so it might cause a few bugs.
9451186
946 * src/goocanvasutils.c (goo_cairo_matrix_copy) 1187 * src/goocanvasutils.c (goo_cairo_matrix_copy)
947 (goo_cairo_matrix_free): allocate and free with g_slice_new/free() as1188 (goo_cairo_matrix_free): allocate and free with g_slice_new/free() as
948 that is what was being used in GooCanvasItemSimple.1189 that is what was being used in GooCanvasItemSimple.
9491190
@@ -952,11 +1193,11 @@
9521193
9532007-02-24 Damon Chaplin <damon@gnome.org>11942007-02-24 Damon Chaplin <damon@gnome.org>
9541195
955 * demo/widgets-demo.c (on_delete_event): 1196 * demo/widgets-demo.c (on_delete_event):
956 * demo/units-demo.c (on_delete_event): 1197 * demo/units-demo.c (on_delete_event):
957 * demo/mv-scalability-demo.c (on_delete_event): 1198 * demo/mv-scalability-demo.c (on_delete_event):
958 * demo/scalability-demo.c (on_delete_event): 1199 * demo/scalability-demo.c (on_delete_event):
959 * demo/mv-demo.c (on_delete_event): 1200 * demo/mv-demo.c (on_delete_event):
960 * demo/demo.c (on_delete_event): use gtk_main_quit() rather than exit()1201 * demo/demo.c (on_delete_event): use gtk_main_quit() rather than exit()
961 here, so GTK+ destroys the window and the finalization code gets1202 here, so GTK+ destroys the window and the finalization code gets
962 tested.1203 tested.
@@ -966,19 +1207,19 @@
9661207
9672007-02-20 Damon Chaplin <damon@gnome.org>12082007-02-20 Damon Chaplin <damon@gnome.org>
9681209
969 * demo/demo-table.c: 1210 * demo/demo-table.c:
970 * demo/mv-demo-table.c: moved table-demo.c into main demo app, and1211 * demo/mv-demo-table.c: moved table-demo.c into main demo app, and
971 made a model-view version.1212 made a model-view version.
9721213
9732007-02-20 Damon Chaplin <damon@gnome.org>12142007-02-20 Damon Chaplin <damon@gnome.org>
9741215
975 * src/goocanvastable.c (goo_canvas_table_get_item_at) 1216 * src/goocanvastable.c (goo_canvas_table_get_item_at)
976 (goo_canvas_table_paint): if the table was shrunk below its requested1217 (goo_canvas_table_paint): if the table was shrunk below its requested
977 size, clip the children if appropriate.1218 size, clip the children if appropriate.
9781219
979 * src/goocanvastable.c (goo_canvas_table_get_item_at) 1220 * src/goocanvastable.c (goo_canvas_table_get_item_at)
980 (goo_canvas_table_paint): 1221 (goo_canvas_table_paint):
981 * src/goocanvasgroup.c (goo_canvas_group_get_item_at) 1222 * src/goocanvasgroup.c (goo_canvas_group_get_item_at)
982 (goo_canvas_group_paint): check the bounds and handle the clip path.1223 (goo_canvas_group_paint): check the bounds and handle the clip path.
9831224
984 * demo/table-demo.c (create_demo_table): added parameters and created1225 * demo/table-demo.c (create_demo_table): added parameters and created
@@ -986,7 +1227,7 @@
9861227
9872007-02-20 Damon Chaplin <damon@gnome.org>12282007-02-20 Damon Chaplin <damon@gnome.org>
9881229
989 * src/goocanvastext.c (goo_canvas_text_create_layout): 1230 * src/goocanvastext.c (goo_canvas_text_create_layout):
990 (goo_canvas_text_get_item_at): use the ink rect as well as the logical1231 (goo_canvas_text_get_item_at): use the ink rect as well as the logical
991 rect when calculating the bounds or doing hit-testing.1232 rect when calculating the bounds or doing hit-testing.
9921233
@@ -1011,15 +1252,15 @@
10111252
10122007-02-19 Damon Chaplin <damon@gnome.org>12532007-02-19 Damon Chaplin <damon@gnome.org>
10131254
1014 * demo/demo.c: 1255 * demo/demo.c:
1015 * demo/mv-demo.c: 1256 * demo/mv-demo.c:
1016 * demo/demo-animation.c: 1257 * demo/demo-animation.c:
1017 * demo/mv-demo-animation.c: made the file-global variables static so1258 * demo/mv-demo-animation.c: made the file-global variables static so
1018 they don't clash, and updated the demos a bit.1259 they don't clash, and updated the demos a bit.
10191260
10202007-02-19 Damon Chaplin <damon@gnome.org>12612007-02-19 Damon Chaplin <damon@gnome.org>
10211262
1022 * configure.in: 1263 * configure.in:
1023 * src/Makefile.am: rewrote the stuff that handles the autogeneration1264 * src/Makefile.am: rewrote the stuff that handles the autogeneration
1024 of goocanvasmarshal.[hc] and goocanvasenumtypes.[hc], copying what1265 of goocanvasmarshal.[hc] and goocanvasenumtypes.[hc], copying what
1025 GTK+ does. It now has a --disable-rebuilds option to disable the1266 GTK+ does. It now has a --disable-rebuilds option to disable the
@@ -1038,32 +1279,32 @@
1038 This avoids confusion with the GooCanvasItem interface methods with the1279 This avoids confusion with the GooCanvasItem interface methods with the
1039 same name (and may avoid problems with language bindings etc.)1280 same name (and may avoid problems with language bindings etc.)
10401281
1041 * src/goocanvasellipse.c (goo_canvas_ellipse_class_init): 1282 * src/goocanvasellipse.c (goo_canvas_ellipse_class_init):
1042 * src/goocanvasimage.c (goo_canvas_image_class_init): 1283 * src/goocanvasimage.c (goo_canvas_image_class_init):
1043 * src/goocanvaspath.c (goo_canvas_path_class_init): 1284 * src/goocanvaspath.c (goo_canvas_path_class_init):
1044 * src/goocanvaspolyline.c (goo_canvas_polyline_class_init): 1285 * src/goocanvaspolyline.c (goo_canvas_polyline_class_init):
1045 * src/goocanvasrect.c (goo_canvas_rect_class_init): 1286 * src/goocanvasrect.c (goo_canvas_rect_class_init):
1046 * src/goocanvastext.c (goo_canvas_text_class_init): 1287 * src/goocanvastext.c (goo_canvas_text_class_init):
1047 * src/goocanvaswidget.c (goo_canvas_widget_class_init): 1288 * src/goocanvaswidget.c (goo_canvas_widget_class_init):
1048 * demo/demo-item.c (goo_demo_item_class_init): 1289 * demo/demo-item.c (goo_demo_item_class_init):
1049 * src/goocanvasitemsimple.c: updated use of above class methods.1290 * src/goocanvasitemsimple.c: updated use of above class methods.
10501291
1051 * src/goocanvasgroup.c (goo_canvas_group_update): handle children with1292 * src/goocanvasgroup.c (goo_canvas_group_update): handle children with
1052 empty bounds (i.e. ignore their bounds when computing the group's1293 empty bounds (i.e. ignore their bounds when computing the group's
1053 bounds).1294 bounds).
10541295
1055 * src/goocanvastable.c (goo_canvas_table_paint) 1296 * src/goocanvastable.c (goo_canvas_table_paint)
1056 (goo_canvas_table_get_item_at): 1297 (goo_canvas_table_get_item_at):
1057 * src/goocanvasgroup.c (goo_canvas_group_get_item_at)1298 * src/goocanvasgroup.c (goo_canvas_group_get_item_at)
1058 (goo_canvas_group_paint): don't check the1299 (goo_canvas_group_paint): don't check the
1059 child bounds here. Leave it up to the children to do that.1300 child bounds here. Leave it up to the children to do that.
10601301
1061 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_item_at) 1302 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_item_at)
1062 (goo_canvas_item_simple_paint): check the item's bounds here.1303 (goo_canvas_item_simple_paint): check the item's bounds here.
10631304
10642007-02-15 Damon Chaplin <damon@gnome.org>13052007-02-15 Damon Chaplin <damon@gnome.org>
10651306
1066 * src/goocanvasutils.c: 1307 * src/goocanvasutils.c:
1067 * src/goocanvaspath.c: moved data structures and code for parsing and1308 * src/goocanvaspath.c: moved data structures and code for parsing and
1068 creating SVG paths from goocanvaspath.[hc] to goocanvasutils.[hc].1309 creating SVG paths from goocanvaspath.[hc] to goocanvasutils.[hc].
1069 Added goo_canvas_parse_path_data() and goo_canvas_create_path() public1310 Added goo_canvas_parse_path_data() and goo_canvas_create_path() public
@@ -1076,23 +1317,23 @@
1076 * src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData): added1317 * src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData): added
1077 clip_path_commands and clip_fill_rule.1318 clip_path_commands and clip_fill_rule.
10781319
1079 * src/goocanvastext.c (goo_canvas_text_set_model): 1320 * src/goocanvastext.c (goo_canvas_text_set_model):
1080 * src/goocanvasrect.c (goo_canvas_rect_set_model): 1321 * src/goocanvasrect.c (goo_canvas_rect_set_model):
1081 * src/goocanvaspolyline.c (goo_canvas_polyline_set_model): 1322 * src/goocanvaspolyline.c (goo_canvas_polyline_set_model):
1082 * src/goocanvaspath.c (goo_canvas_path_set_model): 1323 * src/goocanvaspath.c (goo_canvas_path_set_model):
1083 * src/goocanvasimage.c (goo_canvas_image_set_model): 1324 * src/goocanvasimage.c (goo_canvas_image_set_model):
1084 * src/goocanvasgroup.c (goo_canvas_group_set_model): 1325 * src/goocanvasgroup.c (goo_canvas_group_set_model):
1085 * src/goocanvasellipse.c (goo_canvas_ellipse_set_model): use1326 * src/goocanvasellipse.c (goo_canvas_ellipse_set_model): use
1086 goo_canvas_item_simple_set_model() rather than getting parent iface.1327 goo_canvas_item_simple_set_model() rather than getting parent iface.
1087 (For GooCanvasTable this actually caused a crash as when it called1328 (For GooCanvasTable this actually caused a crash as when it called
1088 the GooCanvasGroup function that got the parent iface which pointed to1329 the GooCanvasGroup function that got the parent iface which pointed to
1089 itself so it got into an infinite loop.)1330 itself so it got into an infinite loop.)
10901331
1091 * demo/mv-demo-clipping.c: 1332 * demo/mv-demo-clipping.c:
1092 * demo/demo-clipping.c: new files for clipping demo pages.1333 * demo/demo-clipping.c: new files for clipping demo pages.
10931334
1094 * demo/Makefile.am: 1335 * demo/Makefile.am:
1095 * demo/mv-demo.c: 1336 * demo/mv-demo.c:
1096 * demo/demo.c: added clipping pages.1337 * demo/demo.c: added clipping pages.
10971338
10982007-02-13 Damon Chaplin <damon@gnome.org>13392007-02-13 Damon Chaplin <damon@gnome.org>
@@ -1102,20 +1343,20 @@
11021343
11032007-02-13 Damon Chaplin <damon@gnome.org>13442007-02-13 Damon Chaplin <damon@gnome.org>
11041345
1105 * src/goocanvasitemmodel.c (goo_canvas_item_model_animate): 1346 * src/goocanvasitemmodel.c (goo_canvas_item_model_animate):
1106 * src/goocanvasitem.c (goo_canvas_item_animate): added "absolute"1347 * src/goocanvasitem.c (goo_canvas_item_animate): added "absolute"
1107 parameter, and rewrote the animation code, using the same code for1348 parameter, and rewrote the animation code, using the same code for
1108 GooCanvasItem and GooCanvasItemModel.1349 GooCanvasItem and GooCanvasItemModel.
11091350
1110 * demo/demo-animation.c: 1351 * demo/demo-animation.c:
1111 * demo/mv-demo-animation.c: new files for animation demo pages.1352 * demo/mv-demo-animation.c: new files for animation demo pages.
11121353
1113 * demo/mv-demo.c: 1354 * demo/mv-demo.c:
1114 * demo/demo.c: added new animation pages and updated animation calls.1355 * demo/demo.c: added new animation pages and updated animation calls.
11151356
11162007-02-12 Damon Chaplin <damon@gnome.org>13572007-02-12 Damon Chaplin <damon@gnome.org>
11171358
1118 * src/goocanvasitemmodel.c (goo_canvas_item_model_set_simple_transform): 1359 * src/goocanvasitemmodel.c (goo_canvas_item_model_set_simple_transform):
1119 * src/goocanvasitem.c (goo_canvas_item_set_simple_transform): convert1360 * src/goocanvasitem.c (goo_canvas_item_set_simple_transform): convert
1120 rotation to radians.1361 rotation to radians.
11211362
@@ -1130,13 +1371,13 @@
1130 * docs/*.xml: added example code to the introductory sections.1371 * docs/*.xml: added example code to the introductory sections.
1131 Needs more explanation at some point.1372 Needs more explanation at some point.
11321373
1133 * configure.in: 1374 * configure.in:
1134 * src/Makefile.am: added libtool version numbers.1375 * src/Makefile.am: added libtool version numbers.
11351376
11362007-02-08 Damon Chaplin <damon@gnome.org>13772007-02-08 Damon Chaplin <damon@gnome.org>
11371378
1138 * src/goocanvasitemmodel.c1379 * src/goocanvasitemmodel.c
1139 (goo_canvas_item_model_set_simple_transform): 1380 (goo_canvas_item_model_set_simple_transform):
1140 * src/goocanvasitem.c (goo_canvas_item_set_simple_transform): new1381 * src/goocanvasitem.c (goo_canvas_item_set_simple_transform): new
1141 convenience functions to set the position, scale and rotation easily.1382 convenience functions to set the position, scale and rotation easily.
11421383
@@ -1197,7 +1438,7 @@
1197 * demo/table-demo.c: added more test tables with various transforms1438 * demo/table-demo.c: added more test tables with various transforms
1198 and settings.1439 and settings.
11991440
1200 * src/goocanvasitem.c (goo_canvas_item_get_requested_area) 1441 * src/goocanvasitem.c (goo_canvas_item_get_requested_area)
1201 (goo_canvas_item_allocate_area)1442 (goo_canvas_item_allocate_area)
1202 (goo_canvas_item_get_transform_for_child) : new functions and interface1443 (goo_canvas_item_get_transform_for_child) : new functions and interface
1203 methods to support GooCanvasTable and other layout containers.1444 methods to support GooCanvasTable and other layout containers.
@@ -1206,13 +1447,13 @@
1206 initialized the model's visibility setting to GOO_CANVAS_ITEM_VISIBLE.1447 initialized the model's visibility setting to GOO_CANVAS_ITEM_VISIBLE.
1207 (goo_canvas_item_simple_update): split part of it out into1448 (goo_canvas_item_simple_update): split part of it out into
1208 goo_canvas_item_simple_update_internal and updated slightly.1449 goo_canvas_item_simple_update_internal and updated slightly.
1209 (goo_canvas_item_simple_get_requested_area) 1450 (goo_canvas_item_simple_get_requested_area)
1210 (goo_canvas_item_simple_allocate_area): new functions to support1451 (goo_canvas_item_simple_allocate_area): new functions to support
1211 GooCanvasTable and other layout containers.1452 GooCanvasTable and other layout containers.
1212 (goo_canvas_item_simple_get_path_bounds): don't convert to device space1453 (goo_canvas_item_simple_get_path_bounds): don't convert to device space
1213 as some code needs the bounds in user space.1454 as some code needs the bounds in user space.
12141455
1215 * src/goocanvas.c (goo_canvas_convert_to_item_space) 1456 * src/goocanvas.c (goo_canvas_convert_to_item_space)
1216 (goo_canvas_convert_from_item_space): used the new1457 (goo_canvas_convert_from_item_space): used the new
1217 goo_canvas_item_get_transform_for_child() function to get the transform1458 goo_canvas_item_get_transform_for_child() function to get the transform
1218 for each item.1459 for each item.
@@ -1221,7 +1462,7 @@
1221 which is used for items which are invisible and not allocated any space1462 which is used for items which are invisible and not allocated any space
1222 in containter items like GooCanvasTable.1463 in containter items like GooCanvasTable.
12231464
1224 * src/goocanvasgroup.c (goo_canvas_group_get_item_at) 1465 * src/goocanvasgroup.c (goo_canvas_group_get_item_at)
1225 (goo_canvas_group_paint): support GOO_CANVAS_ITEM_HIDDEN.1466 (goo_canvas_group_paint): support GOO_CANVAS_ITEM_HIDDEN.
12261467
1227 * src/goocanvaspolyline.c (goo_canvas_polyline_compute_bounds):1468 * src/goocanvaspolyline.c (goo_canvas_polyline_compute_bounds):
@@ -1238,7 +1479,7 @@
12381479
12392006-12-09 Damon Chaplin <damon@gnome.org>14802006-12-09 Damon Chaplin <damon@gnome.org>
12401481
1241 * docs/goocanvas-sections.txt: 1482 * docs/goocanvas-sections.txt:
1242 * docs/goocanvas-docs.sgml: use separate sections for model objects,1483 * docs/goocanvas-docs.sgml: use separate sections for model objects,
1243 as gtk-doc doesn't support multiple objects per section.1484 as gtk-doc doesn't support multiple objects per section.
12441485
@@ -1248,7 +1489,7 @@
1248 * src/goocanvasutils.c (goo_canvas_query_child_properties): new1489 * src/goocanvasutils.c (goo_canvas_query_child_properties): new
1249 function to allow documentation of child properties with gtk-doc.1490 function to allow documentation of child properties with gtk-doc.
12501491
1251 * src/goocanvasitemmodel.c: 1492 * src/goocanvasitemmodel.c:
1252 * src/goocanvasitem.c: added support for child properties of item1493 * src/goocanvasitem.c: added support for child properties of item
1253 models.1494 models.
12541495
@@ -1271,9 +1512,9 @@
1271 standard stuff before passing control to them. This makes it much1512 standard stuff before passing control to them. This makes it much
1272 easier to create simple canvas items.1513 easier to create simple canvas items.
12731514
1274 * demo/demo-item.c: 1515 * demo/demo-item.c:
1275 * src/goocanvaspolyline.c: 1516 * src/goocanvaspolyline.c:
1276 * src/goocanvastext.c: 1517 * src/goocanvastext.c:
1277 * src/goocanvasimage.c: use the above methods, so we can get rid of1518 * src/goocanvasimage.c: use the above methods, so we can get rid of
1278 all the boilerplate code.1519 all the boilerplate code.
12791520
@@ -1293,11 +1534,11 @@
1293 Also added support for cascading styles, with arbitrary properties,1534 Also added support for cascading styles, with arbitrary properties,
1294 and embedded widget items. I'm in the middle of adding support for1535 and embedded widget items. I'm in the middle of adding support for
1295 layout items as well (e.g. something like a GtkTable for items).1536 layout items as well (e.g. something like a GtkTable for items).
1296 1537
12972006-10-12 Damon Chaplin <damon@gnome.org>15382006-10-12 Damon Chaplin <damon@gnome.org>
12981539
1299 * src/goocanvastextview.c (goo_canvas_text_view_create_layout) 1540 * src/goocanvastextview.c (goo_canvas_text_view_create_layout)
1300 (goo_canvas_text_view_get_item_view_at) 1541 (goo_canvas_text_view_get_item_view_at)
1301 (goo_canvas_text_view_paint): patch from Martin Soto to fix a text1542 (goo_canvas_text_view_paint): patch from Martin Soto to fix a text
1302 positioning bug. The position was wrong when the text width was set1543 positioning bug. The position was wrong when the text width was set
1303 and the alignment wasn't PANGO_ALIGN_LEFT. (Pango uses the set width1544 and the alignment wasn't PANGO_ALIGN_LEFT. (Pango uses the set width
@@ -1305,7 +1546,7 @@
13051546
13062006-10-12 Damon Chaplin <damon@gnome.org>15472006-10-12 Damon Chaplin <damon@gnome.org>
13071548
1308 * src/goocanvasutils.h: 1549 * src/goocanvasutils.h:
1309 * src/goocanvasprivate.h: make get_type() declarations public as1550 * src/goocanvasprivate.h: make get_type() declarations public as
1310 they are useful for bindings.1551 they are useful for bindings.
13111552
@@ -1325,7 +1566,7 @@
1325 in goocanvasenums.h, and modifed GooCanvasPointerEvents so glib_mkenums1566 in goocanvasenums.h, and modifed GooCanvasPointerEvents so glib_mkenums
1326 could parse it.1567 could parse it.
13271568
1328 * src/goocanvas.h: 1569 * src/goocanvas.h:
1329 * src/goocanvasitem.c: include goocanvasenums.h.1570 * src/goocanvasitem.c: include goocanvasenums.h.
13301571
13312006-10-12 Damon Chaplin <damon@gnome.org>15722006-10-12 Damon Chaplin <damon@gnome.org>
@@ -1366,8 +1607,8 @@
13661607
13672006-08-30 Damon Chaplin <damon@gnome.org>16082006-08-30 Damon Chaplin <damon@gnome.org>
13681609
1369 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update) 1610 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update)
1370 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_update): 1611 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_update):
1371 added a workaround for cairo limits. Cairo uses fixed point integer1612 added a workaround for cairo limits. Cairo uses fixed point integer
1372 maths and is currently limited to 16-bits for the integer component.1613 maths and is currently limited to 16-bits for the integer component.
1373 So we remove any current translation before calculating the bounds1614 So we remove any current translation before calculating the bounds
@@ -1375,7 +1616,7 @@
1375 limit only applies to items' user space rather than the entire canvas.1616 limit only applies to items' user space rather than the entire canvas.
13761617
1377 * src/goocanvasitemviewsimple.c1618 * src/goocanvasitemviewsimple.c
1378 (goo_canvas_item_view_simple_get_item_view_at): 1619 (goo_canvas_item_view_simple_get_item_view_at):
1379 * src/goocanvaspolylineview.c1620 * src/goocanvaspolylineview.c
1380 (goo_canvas_polyline_view_get_item_view_at): as above, remove any1621 (goo_canvas_polyline_view_get_item_view_at): as above, remove any
1381 current translation before checking if the point is in the item.1622 current translation before checking if the point is in the item.
@@ -1389,13 +1630,13 @@
13891630
13902006-08-27 Damon Chaplin <damon@gnome.org>16312006-08-27 Damon Chaplin <damon@gnome.org>
13911632
1392 * src/goocanvasview.c (goo_canvas_view_class_init): 1633 * src/goocanvasview.c (goo_canvas_view_class_init):
1393 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_class_init) 1634 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_class_init)
1394 * src/goocanvasgroupview.c (goo_canvas_group_view_class_init): only1635 * src/goocanvasgroupview.c (goo_canvas_group_view_class_init): only
1395 register the accessible factories if accessibility is enabled (i.e.1636 register the accessible factories if accessibility is enabled (i.e.
1396 GtkWidget has registered a factory).1637 GtkWidget has registered a factory).
13971638
1398 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_setup_accessibility): 1639 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_setup_accessibility):
1399 * src/goocanvasgroupview.c (goo_canvas_group_view_set_group): only1640 * src/goocanvasgroupview.c (goo_canvas_group_view_set_group): only
1400 set the accessible title & description and connect the signal handlers1641 set the accessible title & description and connect the signal handlers
1401 if accessibility is enabled. (It would be better to not call1642 if accessibility is enabled. (It would be better to not call
@@ -1466,10 +1707,10 @@
14661707
14672006-08-08 Damon Chaplin <damon@gnome.org>17082006-08-08 Damon Chaplin <damon@gnome.org>
14681709
1469 * src/goocanvastextview.c (goo_canvas_text_view_update): 1710 * src/goocanvastextview.c (goo_canvas_text_view_update):
1470 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_update): 1711 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_update):
1471 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update): 1712 * src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update):
1472 * src/goocanvasimageview.c (goo_canvas_image_view_update): 1713 * src/goocanvasimageview.c (goo_canvas_image_view_update):
1473 * src/goocanvasgroupview.c (goo_canvas_group_view_update): rewrote the1714 * src/goocanvasgroupview.c (goo_canvas_group_view_update): rewrote the
1474 update methods to make sure the bounds is always set and returned1715 update methods to make sure the bounds is always set and returned
1475 correctly.1716 correctly.
@@ -1532,8 +1773,8 @@
1532 * src/goocanvasutils.c (goo_canvas_pointer_events_get_type): use a1773 * src/goocanvasutils.c (goo_canvas_pointer_events_get_type): use a
1533 flags type rather than an enum type (from Gustavo J. A. M. Carneiro).1774 flags type rather than an enum type (from Gustavo J. A. M. Carneiro).
15341775
1535 * src/goocanvasitem.c (goo_canvas_item_base_init): 1776 * src/goocanvasitem.c (goo_canvas_item_base_init):
1536 * src/goocanvasitemsimple.c: 1777 * src/goocanvasitemsimple.c:
1537 * src/goocanvasgroup.c: updated to use the flags type for1778 * src/goocanvasgroup.c: updated to use the flags type for
1538 "pointer-events" instead of enum.1779 "pointer-events" instead of enum.
15391780
@@ -1544,7 +1785,7 @@
15441785
15452006-06-08 Damon Chaplin <damon@gnome.org>17862006-06-08 Damon Chaplin <damon@gnome.org>
15461787
1547 * src/goocanvasitemsimple.c (goo_canvas_item_simple_set_property): 1788 * src/goocanvasitemsimple.c (goo_canvas_item_simple_set_property):
1548 only create the item's style when needed.1789 only create the item's style when needed.
1549 (goo_canvas_style_get_type): register boxed type (from Gustavo J. A. M.1790 (goo_canvas_style_get_type): register boxed type (from Gustavo J. A. M.
1550 Carneiro).1791 Carneiro).
@@ -1564,8 +1805,8 @@
15641805
15652006-05-16 Damon Chaplin <damon@gnome.org>18062006-05-16 Damon Chaplin <damon@gnome.org>
15661807
1567 * goocanvas.pc.in: 1808 * goocanvas.pc.in:
1568 * Makefile.am: 1809 * Makefile.am:
1569 * configure.in: added .pc file (patch from Gian Mario Tagliaretti).1810 * configure.in: added .pc file (patch from Gian Mario Tagliaretti).
15701811
15712006-05-12 Damon Chaplin <damon@gnome.org>18122006-05-12 Damon Chaplin <damon@gnome.org>
@@ -1589,11 +1830,11 @@
1589 Removed goo_canvas_view_set_anchor() as the property should be enough.1830 Removed goo_canvas_view_set_anchor() as the property should be enough.
1590 (I think we should only have accessor functions for major properties.)1831 (I think we should only have accessor functions for major properties.)
15911832
1592 * src/goocanvasitemview.c (goo_canvas_item_view_is_visible) 1833 * src/goocanvasitemview.c (goo_canvas_item_view_is_visible)
1593 (goo_canvas_item_view_get_item_at): removed scale argument. We get it1834 (goo_canvas_item_view_get_item_at): removed scale argument. We get it
1594 from the canvas view now, to make the API a little simpler.1835 from the canvas view now, to make the API a little simpler.
15951836
1596 * src/goocanvasitemviewsimple.h (struct _GooCanvasItemViewSimple): 1837 * src/goocanvasitemviewsimple.h (struct _GooCanvasItemViewSimple):
1597 added pointer to the canvas view.1838 added pointer to the canvas view.
15981839
1599 * src/*view.[hc]: added canvas view argument to all view creation1840 * src/*view.[hc]: added canvas view argument to all view creation
@@ -1617,7 +1858,7 @@
1617 * src/goocanvasitemview.c: added "focus-in-event" & "focus-out-event"1858 * src/goocanvasitemview.c: added "focus-in-event" & "focus-out-event"
1618 signals.1859 signals.
16191860
1620 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds): 1861 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds):
1621 make sure we do min/max over all points of bounds.1862 make sure we do min/max over all points of bounds.
16221863
1623 * src/goocanvasview.c (goo_canvas_view_focus_out): emit1864 * src/goocanvasview.c (goo_canvas_view_focus_out): emit
@@ -1630,14 +1871,14 @@
1630 per-item settings for the standard canvas items, though more complex1871 per-item settings for the standard canvas items, though more complex
1631 items may want to support per-view settings.1872 items may want to support per-view settings.
16321873
1633 * src/goocanvasitemsimple.c: 1874 * src/goocanvasitemsimple.c:
1634 * src/goocanvasgroup.c: implemented "title" and "description"1875 * src/goocanvasgroup.c: implemented "title" and "description"
1635 properties.1876 properties.
16361877
1637 * src/goocanvas*view.c: set the accessible name & description based1878 * src/goocanvas*view.c: set the accessible name & description based
1638 on the item's settings, and update them if changed.1879 on the item's settings, and update them if changed.
16391880
1640 * src/goocanvasatk.c (goo_canvas_item_view_accessible_ref_child): 1881 * src/goocanvasatk.c (goo_canvas_item_view_accessible_ref_child):
1641 return the accessible rather than the item view.1882 return the accessible rather than the item view.
16421883
16432006-04-18 Damon Chaplin <damon@gnome.org>18842006-04-18 Damon Chaplin <damon@gnome.org>
@@ -1684,8 +1925,8 @@
16841925
1685 * src/*.c: removed lots of unused debugging code.1926 * src/*.c: removed lots of unused debugging code.
16861927
1687 * src/goocanvasitem.c: 1928 * src/goocanvasitem.c:
1688 * src/goocanvasitemsimple.c: 1929 * src/goocanvasitemsimple.c:
1689 * src/goocanvasgroup.c: moved "pointer-events" and "transform"1930 * src/goocanvasgroup.c: moved "pointer-events" and "transform"
1690 properties, and the "changed" signal to the GooCanvasItem interface.1931 properties, and the "changed" signal to the GooCanvasItem interface.
16911932
@@ -1725,15 +1966,15 @@
17251966
1726 * src/goocanvas.h: new main header to include all the public headers.1967 * src/goocanvas.h: new main header to include all the public headers.
17271968
1728 * autogen.sh: 1969 * autogen.sh:
1729 * configure.in: 1970 * configure.in:
1730 * Makefile.am: setup to use gtk-doc.1971 * Makefile.am: setup to use gtk-doc.
17311972
1732 * src/Makefile.am: build libgoocanvas as a library now, so we can1973 * src/Makefile.am: build libgoocanvas as a library now, so we can
1733 document it with gtk-doc. The demo will be moved to a separate1974 document it with gtk-doc. The demo will be moved to a separate
1734 directory.1975 directory.
17351976
1736 * src/goocanvastext.h: 1977 * src/goocanvastext.h:
1737 * src/goocanvasitem.h: rename a few parameters to match the sources,1978 * src/goocanvasitem.h: rename a few parameters to match the sources,
1738 since gtk-doc complains if they are different.1979 since gtk-doc complains if they are different.
17391980
@@ -1746,7 +1987,7 @@
17461987
17472006-04-10 Damon Chaplin <damon@gnome.org>19882006-04-10 Damon Chaplin <damon@gnome.org>
17481989
1749 * src/goocanvaspathview.[hc]: 1990 * src/goocanvaspathview.[hc]:
1750 * src/goocanvaspath.[hc]: new path item and view, that uses the same1991 * src/goocanvaspath.[hc]: new path item and view, that uses the same
1751 path spec strings as SVG. I think everything works, except the1992 path spec strings as SVG. I think everything works, except the
1752 elliptical arc, which I haven't finished yet.1993 elliptical arc, which I haven't finished yet.
@@ -1755,14 +1996,14 @@
17551996
17562006-04-08 Damon Chaplin <damon@gnome.org>19972006-04-08 Damon Chaplin <damon@gnome.org>
17571998
1758 * src/goocanvasitemsimple.[hc]: 1999 * src/goocanvasitemsimple.[hc]:
1759 * src/goocanvasgroup.[hc]: added "pointer-events" property, like SVG.2000 * src/goocanvasgroup.[hc]: added "pointer-events" property, like SVG.
17602001
1761 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds): 2002 * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds):
1762 changed to include both the stroke and fill extents, even if they will2003 changed to include both the stroke and fill extents, even if they will
1763 not be painted. This is needed to handle the "pointer-events" property.2004 not be painted. This is needed to handle the "pointer-events" property.
17642005
1765 * src/goocanvasitemsimple.c (goo_canvas_item_simple_check_in_path): 2006 * src/goocanvasitemsimple.c (goo_canvas_item_simple_check_in_path):
1766 added "pointer_events" argument, to specify which parts of the path2007 added "pointer_events" argument, to specify which parts of the path
1767 to check.2008 to check.
17682009
@@ -1770,11 +2011,11 @@
1770 "is_pointer_event", "parent_visible", and "scale" properties, so we2011 "is_pointer_event", "parent_visible", and "scale" properties, so we
1771 can handle the "pointer-events" property.2012 can handle the "pointer-events" property.
17722013
1773 * src/goocanvasgroupview.c (goo_canvas_group_view_get_item_at): 2014 * src/goocanvasgroupview.c (goo_canvas_group_view_get_item_at):
1774 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_item_at): 2015 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_item_at):
1775 * src/goocanvasimageview.c (goo_canvas_image_view_get_item_at): 2016 * src/goocanvasimageview.c (goo_canvas_image_view_get_item_at):
1776 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_item_at): 2017 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_item_at):
1777 * src/goocanvasrectview.c (goo_canvas_rect_view_get_item_at): 2018 * src/goocanvasrectview.c (goo_canvas_rect_view_get_item_at):
1778 * src/goocanvastextview.c (goo_canvas_text_view_get_item_at): updated2019 * src/goocanvastextview.c (goo_canvas_text_view_get_item_at): updated
1779 to support "pointer-events".2020 to support "pointer-events".
17802021
@@ -1788,7 +2029,7 @@
17882029
17892006-04-03 Damon Chaplin <damon@gnome.org>20302006-04-03 Damon Chaplin <damon@gnome.org>
17902031
1791 * src/goocanvasview.c (goo_canvas_view_style_set) 2032 * src/goocanvasview.c (goo_canvas_view_style_set)
1792 (goo_canvas_view_realize): use the base color for the background.2033 (goo_canvas_view_realize): use the base color for the background.
17932034
1794 * src/demo.c (create_canvas_primitives): use gtk_widget_modify_base()2035 * src/demo.c (create_canvas_primitives): use gtk_widget_modify_base()
@@ -1802,17 +2043,17 @@
1802 * src/goocanvasview.c (goo_canvas_view_update): turned this into a2043 * src/goocanvasview.c (goo_canvas_view_update): turned this into a
1803 public function for use by the above.2044 public function for use by the above.
18042045
1805 * src/goocanvastextview.c (goo_canvas_text_view_get_bounds) 2046 * src/goocanvastextview.c (goo_canvas_text_view_get_bounds)
1806 (goo_canvas_text_view_get_item_at): 2047 (goo_canvas_text_view_get_item_at):
1807 * src/goocanvasrectview.c (goo_canvas_rect_view_get_bounds) 2048 * src/goocanvasrectview.c (goo_canvas_rect_view_get_bounds)
1808 (goo_canvas_rect_view_get_item_at): 2049 (goo_canvas_rect_view_get_item_at):
1809 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_bounds) 2050 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_bounds)
1810 (goo_canvas_polyline_view_get_item_at): 2051 (goo_canvas_polyline_view_get_item_at):
1811 * src/goocanvasgroupview.c (goo_canvas_group_view_get_bounds) 2052 * src/goocanvasgroupview.c (goo_canvas_group_view_get_bounds)
1812 (goo_canvas_group_view_get_item_at): 2053 (goo_canvas_group_view_get_item_at):
1813 * src/goocanvasimageview.c (goo_canvas_image_view_get_bounds) 2054 * src/goocanvasimageview.c (goo_canvas_image_view_get_bounds)
1814 (goo_canvas_image_view_get_item_at): 2055 (goo_canvas_image_view_get_item_at):
1815 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_bounds) 2056 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_bounds)
1816 (goo_canvas_ellipse_view_get_item_at): make sure the canvas is updated2057 (goo_canvas_ellipse_view_get_item_at): make sure the canvas is updated
1817 first, if needed.2058 first, if needed.
18182059
@@ -1828,11 +2069,11 @@
1828 right, top, bottom for the bounds. Also renamed "pixels_per_unit"2069 right, top, bottom for the bounds. Also renamed "pixels_per_unit"
1829 to "scale".2070 to "scale".
18302071
1831 * src/goocanvasitemview.[hc]: 2072 * src/goocanvasitemview.[hc]:
1832 * src/goocanvastextview.c (goo_canvas_text_view_paint): 2073 * src/goocanvastextview.c (goo_canvas_text_view_paint):
1833 * src/goocanvasgroupview.c (goo_canvas_group_view_paint): 2074 * src/goocanvasgroupview.c (goo_canvas_group_view_paint):
1834 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint): 2075 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint):
1835 * src/goocanvasimageview.c (goo_canvas_image_view_paint): 2076 * src/goocanvasimageview.c (goo_canvas_image_view_paint):
1836 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_paint): we2077 * src/goocanvaspolylineview.c (goo_canvas_polyline_view_paint): we
1837 now just pass the effective scale to the paint function rather than the2078 now just pass the effective scale to the paint function rather than the
1838 GooCanvasView*, since when rendering to an arbitrary cairo_t we may not2079 GooCanvasView*, since when rendering to an arbitrary cairo_t we may not
@@ -1847,13 +2088,13 @@
18472088
1848 * src/goocanvasutils.[hc]: added GooCanvasItemVisibility enum stuff.2089 * src/goocanvasutils.[hc]: added GooCanvasItemVisibility enum stuff.
18492090
1850 * src/goocanvasitemsimple.[hc]: 2091 * src/goocanvasitemsimple.[hc]:
1851 * src/goocanvasgroup.[hc]: implemented new properties.2092 * src/goocanvasgroup.[hc]: implemented new properties.
18522093
1853 * src/goocanvasgroupview.c (goo_canvas_group_view_paint): 2094 * src/goocanvasgroupview.c (goo_canvas_group_view_paint):
1854 * src/goocanvastextview.c (goo_canvas_text_view_paint): 2095 * src/goocanvastextview.c (goo_canvas_text_view_paint):
1855 * src/goocanvasrectview.c (goo_canvas_rect_view_paint): 2096 * src/goocanvasrectview.c (goo_canvas_rect_view_paint):
1856 * src/goocanvasimageview.c (goo_canvas_image_view_paint): 2097 * src/goocanvasimageview.c (goo_canvas_image_view_paint):
1857 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint): check2098 * src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint): check
1858 the visibility settings to see if the items should be painted.2099 the visibility settings to see if the items should be painted.
18592100
@@ -1878,7 +2119,7 @@
18782119
1879 Added a goo_canvas_view_scroll_to() function to scroll to a desired2120 Added a goo_canvas_view_scroll_to() function to scroll to a desired
1880 position.2121 position.
1881 2122
1882 Added an anchor setting to specify where to place the contents of the2123 Added an anchor setting to specify where to place the contents of the
1883 canvas if it is smaller than the allocated widget area. (Like the2124 canvas if it is smaller than the allocated widget area. (Like the
1884 "center_scroll_region" setting in GnomeCanvas but a bit more general.)2125 "center_scroll_region" setting in GnomeCanvas but a bit more general.)
@@ -1904,4 +2145,3 @@
1904 cairo_set_font_options(cr) before, but that isn't picked up by Pango2145 cairo_set_font_options(cr) before, but that isn't picked up by Pango
1905 so didn't work. (Font options seem to be associated with surfaces and2146 so didn't work. (Font options seem to be associated with surfaces and
1906 also with the graphics state which is confusing.)2147 also with the graphics state which is confusing.)
1907
19082148
=== modified file 'Makefile.am'
--- Makefile.am 2006-08-28 11:47:12 +0000
+++ Makefile.am 2011-11-22 04:29:25 +0000
@@ -6,6 +6,6 @@
6AUTOMAKE_OPTIONS = 1.76AUTOMAKE_OPTIONS = 1.7
77
8pkgconfigdir = $(libdir)/pkgconfig8pkgconfigdir = $(libdir)/pkgconfig
9pkgconfig_DATA = goocanvas.pc9pkgconfig_DATA = goocanvas-2.0.pc
1010
11EXTRA_DIST = goocanvas.pc.in autogen.sh11EXTRA_DIST = goocanvas-2.0.pc.in autogen.sh
1212
=== modified file 'Makefile.in'
--- Makefile.in 2008-05-25 13:53:01 +0000
+++ Makefile.in 2011-11-22 04:29:25 +0000
@@ -1,8 +1,9 @@
1# Makefile.in generated by automake 1.10 from Makefile.am.1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
6# This Makefile.in is free software; the Free Software Foundation7# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,8# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.9# with or without modifications, as long as this notice is preserved.
@@ -16,8 +17,9 @@
1617
17VPATH = @srcdir@18VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
19pkglibdir = $(libdir)/@PACKAGE@21pkglibdir = $(libdir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@22pkglibexecdir = $(libexecdir)/@PACKAGE@
21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22install_sh_DATA = $(install_sh) -c -m 64424install_sh_DATA = $(install_sh) -c -m 644
23install_sh_PROGRAM = $(install_sh) -c25install_sh_PROGRAM = $(install_sh) -c
@@ -35,7 +37,7 @@
35subdir = .37subdir = .
36DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(srcdir)/config.h.in \39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
38 $(srcdir)/goocanvas.pc.in $(top_srcdir)/configure AUTHORS \40 $(srcdir)/goocanvas-2.0.pc.in $(top_srcdir)/configure AUTHORS \
39 COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \41 COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \
40 depcomp install-sh ltmain.sh missing mkinstalldirs42 depcomp install-sh ltmain.sh missing mkinstalldirs
41ACLOCAL_M4 = $(top_srcdir)/aclocal.m443ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -46,7 +48,8 @@
46 configure.lineno config.status.lineno48 configure.lineno config.status.lineno
47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48CONFIG_HEADER = config.h50CONFIG_HEADER = config.h
49CONFIG_CLEAN_FILES = goocanvas.pc51CONFIG_CLEAN_FILES = goocanvas-2.0.pc
52CONFIG_CLEAN_VPATH_FILES =
50SOURCES =53SOURCES =
51DIST_SOURCES =54DIST_SOURCES =
52RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \55RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
@@ -61,12 +64,29 @@
61 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \64 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
62 *) f=$$p;; \65 *) f=$$p;; \
63 esac;66 esac;
64am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;67am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
68am__install_max = 40
69am__nobase_strip_setup = \
70 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
71am__nobase_strip = \
72 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
73am__nobase_list = $(am__nobase_strip_setup); \
74 for p in $$list; do echo "$$p $$p"; done | \
75 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
76 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
77 if (++n[$$2] == $(am__install_max)) \
78 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
79 END { for (dir in files) print dir, files[dir] }'
80am__base_list = \
81 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
82 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
65am__installdirs = "$(DESTDIR)$(pkgconfigdir)"83am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
66pkgconfigDATA_INSTALL = $(INSTALL_DATA)
67DATA = $(pkgconfig_DATA)84DATA = $(pkgconfig_DATA)
68RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \85RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
69 distclean-recursive maintainer-clean-recursive86 distclean-recursive maintainer-clean-recursive
87AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
88 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
89 distdir dist dist-all distcheck
70ETAGS = etags90ETAGS = etags
71CTAGS = ctags91CTAGS = ctags
72DIST_SUBDIRS = $(SUBDIRS)92DIST_SUBDIRS = $(SUBDIRS)
@@ -74,9 +94,34 @@
74distdir = $(PACKAGE)-$(VERSION)94distdir = $(PACKAGE)-$(VERSION)
75top_distdir = $(distdir)95top_distdir = $(distdir)
76am__remove_distdir = \96am__remove_distdir = \
77 { test ! -d $(distdir) \97 { test ! -d "$(distdir)" \
78 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \98 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
79 && rm -fr $(distdir); }; }99 && rm -fr "$(distdir)"; }; }
100am__relativize = \
101 dir0=`pwd`; \
102 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
103 sed_rest='s,^[^/]*/*,,'; \
104 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
105 sed_butlast='s,/*[^/]*$$,,'; \
106 while test -n "$$dir1"; do \
107 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
108 if test "$$first" != "."; then \
109 if test "$$first" = ".."; then \
110 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
111 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
112 else \
113 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
114 if test "$$first2" = "$$first"; then \
115 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
116 else \
117 dir2="../$$dir2"; \
118 fi; \
119 dir0="$$dir0"/"$$first"; \
120 fi; \
121 fi; \
122 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
123 done; \
124 reldir="$$dir2"
80DIST_ARCHIVES = $(distdir).tar.gz125DIST_ARCHIVES = $(distdir).tar.gz
81GZIP_ENV = --best126GZIP_ENV = --best
82distuninstallcheck_listfiles = find . -type f -print127distuninstallcheck_listfiles = find . -type f -print
@@ -95,22 +140,19 @@
95CFLAGS = @CFLAGS@140CFLAGS = @CFLAGS@
96CPP = @CPP@141CPP = @CPP@
97CPPFLAGS = @CPPFLAGS@142CPPFLAGS = @CPPFLAGS@
98CXX = @CXX@
99CXXCPP = @CXXCPP@
100CXXDEPMODE = @CXXDEPMODE@
101CXXFLAGS = @CXXFLAGS@
102CYGPATH_W = @CYGPATH_W@143CYGPATH_W = @CYGPATH_W@
103DATADIRNAME = @DATADIRNAME@144DATADIRNAME = @DATADIRNAME@
104DEFS = @DEFS@145DEFS = @DEFS@
105DEPDIR = @DEPDIR@146DEPDIR = @DEPDIR@
106ECHO = @ECHO@147DLLTOOL = @DLLTOOL@
148DSYMUTIL = @DSYMUTIL@
149DUMPBIN = @DUMPBIN@
107ECHO_C = @ECHO_C@150ECHO_C = @ECHO_C@
108ECHO_N = @ECHO_N@151ECHO_N = @ECHO_N@
109ECHO_T = @ECHO_T@152ECHO_T = @ECHO_T@
110EGREP = @EGREP@153EGREP = @EGREP@
111EXEEXT = @EXEEXT@154EXEEXT = @EXEEXT@
112F77 = @F77@155FGREP = @FGREP@
113FFLAGS = @FFLAGS@
114GETTEXT_PACKAGE = @GETTEXT_PACKAGE@156GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
115GLIB_GENMARSHAL = @GLIB_GENMARSHAL@157GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
116GLIB_MKENUMS = @GLIB_MKENUMS@158GLIB_MKENUMS = @GLIB_MKENUMS@
@@ -118,6 +160,10 @@
118GMSGFMT = @GMSGFMT@160GMSGFMT = @GMSGFMT@
119GREP = @GREP@161GREP = @GREP@
120GTKDOC_CHECK = @GTKDOC_CHECK@162GTKDOC_CHECK = @GTKDOC_CHECK@
163GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
164GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
165GTKDOC_MKPDF = @GTKDOC_MKPDF@
166GTKDOC_REBASE = @GTKDOC_REBASE@
121HTML_DIR = @HTML_DIR@167HTML_DIR = @HTML_DIR@
122INSTALL = @INSTALL@168INSTALL = @INSTALL@
123INSTALL_DATA = @INSTALL_DATA@169INSTALL_DATA = @INSTALL_DATA@
@@ -126,20 +172,28 @@
126INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@172INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127INSTOBJEXT = @INSTOBJEXT@173INSTOBJEXT = @INSTOBJEXT@
128INTLLIBS = @INTLLIBS@174INTLLIBS = @INTLLIBS@
175LD = @LD@
129LDFLAGS = @LDFLAGS@176LDFLAGS = @LDFLAGS@
130LIBOBJS = @LIBOBJS@177LIBOBJS = @LIBOBJS@
131LIBS = @LIBS@178LIBS = @LIBS@
132LIBTOOL = @LIBTOOL@179LIBTOOL = @LIBTOOL@
180LIPO = @LIPO@
133LN_S = @LN_S@181LN_S = @LN_S@
134LTLIBOBJS = @LTLIBOBJS@182LTLIBOBJS = @LTLIBOBJS@
135LT_VERSION_INFO = @LT_VERSION_INFO@183LT_VERSION_INFO = @LT_VERSION_INFO@
136MAINT = @MAINT@184MAINT = @MAINT@
137MAKEINFO = @MAKEINFO@185MAKEINFO = @MAKEINFO@
186MANIFEST_TOOL = @MANIFEST_TOOL@
138MKDIR_P = @MKDIR_P@187MKDIR_P = @MKDIR_P@
139MKINSTALLDIRS = @MKINSTALLDIRS@188MKINSTALLDIRS = @MKINSTALLDIRS@
140MSGFMT = @MSGFMT@189MSGFMT = @MSGFMT@
141MSGFMT_OPTS = @MSGFMT_OPTS@190MSGFMT_OPTS = @MSGFMT_OPTS@
191NM = @NM@
192NMEDIT = @NMEDIT@
193OBJDUMP = @OBJDUMP@
142OBJEXT = @OBJEXT@194OBJEXT = @OBJEXT@
195OTOOL = @OTOOL@
196OTOOL64 = @OTOOL64@
143PACKAGE = @PACKAGE@197PACKAGE = @PACKAGE@
144PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@198PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
145PACKAGE_CFLAGS = @PACKAGE_CFLAGS@199PACKAGE_CFLAGS = @PACKAGE_CFLAGS@
@@ -147,10 +201,13 @@
147PACKAGE_NAME = @PACKAGE_NAME@201PACKAGE_NAME = @PACKAGE_NAME@
148PACKAGE_STRING = @PACKAGE_STRING@202PACKAGE_STRING = @PACKAGE_STRING@
149PACKAGE_TARNAME = @PACKAGE_TARNAME@203PACKAGE_TARNAME = @PACKAGE_TARNAME@
204PACKAGE_URL = @PACKAGE_URL@
150PACKAGE_VERSION = @PACKAGE_VERSION@205PACKAGE_VERSION = @PACKAGE_VERSION@
151PATH_SEPARATOR = @PATH_SEPARATOR@206PATH_SEPARATOR = @PATH_SEPARATOR@
152PERL = @PERL@207PERL = @PERL@
153PKG_CONFIG = @PKG_CONFIG@208PKG_CONFIG = @PKG_CONFIG@
209PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
210PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
154POFILES = @POFILES@211POFILES = @POFILES@
155POSUB = @POSUB@212POSUB = @POSUB@
156PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@213PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
@@ -168,9 +225,9 @@
168abs_srcdir = @abs_srcdir@225abs_srcdir = @abs_srcdir@
169abs_top_builddir = @abs_top_builddir@226abs_top_builddir = @abs_top_builddir@
170abs_top_srcdir = @abs_top_srcdir@227abs_top_srcdir = @abs_top_srcdir@
228ac_ct_AR = @ac_ct_AR@
171ac_ct_CC = @ac_ct_CC@229ac_ct_CC = @ac_ct_CC@
172ac_ct_CXX = @ac_ct_CXX@230ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
173ac_ct_F77 = @ac_ct_F77@
174am__include = @am__include@231am__include = @am__include@
175am__leading_dot = @am__leading_dot@232am__leading_dot = @am__leading_dot@
176am__quote = @am__quote@233am__quote = @am__quote@
@@ -213,6 +270,7 @@
213srcdir = @srcdir@270srcdir = @srcdir@
214sysconfdir = @sysconfdir@271sysconfdir = @sysconfdir@
215target_alias = @target_alias@272target_alias = @target_alias@
273top_build_prefix = @top_build_prefix@
216top_builddir = @top_builddir@274top_builddir = @top_builddir@
217top_srcdir = @top_srcdir@275top_srcdir = @top_srcdir@
218SUBDIRS = src demo docs po276SUBDIRS = src demo docs po
@@ -220,8 +278,8 @@
220# require automake 1.7278# require automake 1.7
221AUTOMAKE_OPTIONS = 1.7279AUTOMAKE_OPTIONS = 1.7
222pkgconfigdir = $(libdir)/pkgconfig280pkgconfigdir = $(libdir)/pkgconfig
223pkgconfig_DATA = goocanvas.pc281pkgconfig_DATA = goocanvas-2.0.pc
224EXTRA_DIST = goocanvas.pc.in autogen.sh282EXTRA_DIST = goocanvas-2.0.pc.in autogen.sh
225all: config.h283all: config.h
226 $(MAKE) $(AM_MAKEFLAGS) all-recursive284 $(MAKE) $(AM_MAKEFLAGS) all-recursive
227285
@@ -232,15 +290,15 @@
232 @for dep in $?; do \290 @for dep in $?; do \
233 case '$(am__configure_deps)' in \291 case '$(am__configure_deps)' in \
234 *$$dep*) \292 *$$dep*) \
235 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \293 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
236 cd $(srcdir) && $(AUTOMAKE) --gnu \294 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
237 && exit 0; \295 && exit 0; \
238 exit 1;; \296 exit 1;; \
239 esac; \297 esac; \
240 done; \298 done; \
241 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \299 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
242 cd $(top_srcdir) && \300 $(am__cd) $(top_srcdir) && \
243 $(AUTOMAKE) --gnu Makefile301 $(AUTOMAKE) --gnu Makefile
244.PRECIOUS: Makefile302.PRECIOUS: Makefile
245Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status303Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
246 @case '$?' in \304 @case '$?' in \
@@ -256,9 +314,10 @@
256 $(SHELL) ./config.status --recheck314 $(SHELL) ./config.status --recheck
257315
258$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)316$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
259 cd $(srcdir) && $(AUTOCONF)317 $(am__cd) $(srcdir) && $(AUTOCONF)
260$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)318$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
261 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)319 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
320$(am__aclocal_m4_deps):
262321
263config.h: stamp-h1322config.h: stamp-h1
264 @if test ! -f $@; then \323 @if test ! -f $@; then \
@@ -270,13 +329,13 @@
270 @rm -f stamp-h1329 @rm -f stamp-h1
271 cd $(top_builddir) && $(SHELL) ./config.status config.h330 cd $(top_builddir) && $(SHELL) ./config.status config.h
272$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 331$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
273 cd $(top_srcdir) && $(AUTOHEADER)332 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
274 rm -f stamp-h1333 rm -f stamp-h1
275 touch $@334 touch $@
276335
277distclean-hdr:336distclean-hdr:
278 -rm -f config.h stamp-h1337 -rm -f config.h stamp-h1
279goocanvas.pc: $(top_builddir)/config.status $(srcdir)/goocanvas.pc.in338goocanvas-2.0.pc: $(top_builddir)/config.status $(srcdir)/goocanvas-2.0.pc.in
280 cd $(top_builddir) && $(SHELL) ./config.status $@339 cd $(top_builddir) && $(SHELL) ./config.status $@
281340
282mostlyclean-libtool:341mostlyclean-libtool:
@@ -286,24 +345,27 @@
286 -rm -rf .libs _libs345 -rm -rf .libs _libs
287346
288distclean-libtool:347distclean-libtool:
289 -rm -f libtool348 -rm -f libtool config.lt
290install-pkgconfigDATA: $(pkgconfig_DATA)349install-pkgconfigDATA: $(pkgconfig_DATA)
291 @$(NORMAL_INSTALL)350 @$(NORMAL_INSTALL)
292 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"351 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
293 @list='$(pkgconfig_DATA)'; for p in $$list; do \352 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
353 for p in $$list; do \
294 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \354 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
295 f=$(am__strip_dir) \355 echo "$$d$$p"; \
296 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \356 done | $(am__base_list) | \
297 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \357 while read files; do \
358 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
359 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
298 done360 done
299361
300uninstall-pkgconfigDATA:362uninstall-pkgconfigDATA:
301 @$(NORMAL_UNINSTALL)363 @$(NORMAL_UNINSTALL)
302 @list='$(pkgconfig_DATA)'; for p in $$list; do \364 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
303 f=$(am__strip_dir) \365 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
304 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \366 test -n "$$files" || exit 0; \
305 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \367 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
306 done368 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
307369
308# This directory's subdirectories are mostly independent; you can cd370# This directory's subdirectories are mostly independent; you can cd
309# into them and run `make' without going through this Makefile.371# into them and run `make' without going through this Makefile.
@@ -312,7 +374,7 @@
312# (which will cause the Makefiles to be regenerated when you run `make');374# (which will cause the Makefiles to be regenerated when you run `make');
313# (2) otherwise, pass the desired values on the `make' command line.375# (2) otherwise, pass the desired values on the `make' command line.
314$(RECURSIVE_TARGETS):376$(RECURSIVE_TARGETS):
315 @failcom='exit 1'; \377 @fail= failcom='exit 1'; \
316 for f in x $$MAKEFLAGS; do \378 for f in x $$MAKEFLAGS; do \
317 case $$f in \379 case $$f in \
318 *=* | --[!k]*);; \380 *=* | --[!k]*);; \
@@ -329,7 +391,7 @@
329 else \391 else \
330 local_target="$$target"; \392 local_target="$$target"; \
331 fi; \393 fi; \
332 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \394 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
333 || eval $$failcom; \395 || eval $$failcom; \
334 done; \396 done; \
335 if test "$$dot_seen" = "no"; then \397 if test "$$dot_seen" = "no"; then \
@@ -337,7 +399,7 @@
337 fi; test -z "$$fail"399 fi; test -z "$$fail"
338400
339$(RECURSIVE_CLEAN_TARGETS):401$(RECURSIVE_CLEAN_TARGETS):
340 @failcom='exit 1'; \402 @fail= failcom='exit 1'; \
341 for f in x $$MAKEFLAGS; do \403 for f in x $$MAKEFLAGS; do \
342 case $$f in \404 case $$f in \
343 *=* | --[!k]*);; \405 *=* | --[!k]*);; \
@@ -363,16 +425,16 @@
363 else \425 else \
364 local_target="$$target"; \426 local_target="$$target"; \
365 fi; \427 fi; \
366 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \428 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
367 || eval $$failcom; \429 || eval $$failcom; \
368 done && test -z "$$fail"430 done && test -z "$$fail"
369tags-recursive:431tags-recursive:
370 list='$(SUBDIRS)'; for subdir in $$list; do \432 list='$(SUBDIRS)'; for subdir in $$list; do \
371 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \433 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
372 done434 done
373ctags-recursive:435ctags-recursive:
374 list='$(SUBDIRS)'; for subdir in $$list; do \436 list='$(SUBDIRS)'; for subdir in $$list; do \
375 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \437 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
376 done438 done
377439
378ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)440ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -380,14 +442,14 @@
380 unique=`for i in $$list; do \442 unique=`for i in $$list; do \
381 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \443 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
382 done | \444 done | \
383 $(AWK) ' { files[$$0] = 1; } \445 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
384 END { for (i in files) print i; }'`; \446 END { if (nonempty) { for (i in files) print i; }; }'`; \
385 mkid -fID $$unique447 mkid -fID $$unique
386tags: TAGS448tags: TAGS
387449
388TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \450TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
389 $(TAGS_FILES) $(LISP)451 $(TAGS_FILES) $(LISP)
390 tags=; \452 set x; \
391 here=`pwd`; \453 here=`pwd`; \
392 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \454 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
393 include_option=--etags-include; \455 include_option=--etags-include; \
@@ -399,46 +461,50 @@
399 list='$(SUBDIRS)'; for subdir in $$list; do \461 list='$(SUBDIRS)'; for subdir in $$list; do \
400 if test "$$subdir" = .; then :; else \462 if test "$$subdir" = .; then :; else \
401 test ! -f $$subdir/TAGS || \463 test ! -f $$subdir/TAGS || \
402 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \464 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
403 fi; \465 fi; \
404 done; \466 done; \
405 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \467 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
406 unique=`for i in $$list; do \468 unique=`for i in $$list; do \
407 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \469 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
408 done | \470 done | \
409 $(AWK) ' { files[$$0] = 1; } \471 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
410 END { for (i in files) print i; }'`; \472 END { if (nonempty) { for (i in files) print i; }; }'`; \
411 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \473 shift; \
474 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
412 test -n "$$unique" || unique=$$empty_fix; \475 test -n "$$unique" || unique=$$empty_fix; \
413 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \476 if test $$# -gt 0; then \
414 $$tags $$unique; \477 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
478 "$$@" $$unique; \
479 else \
480 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
481 $$unique; \
482 fi; \
415 fi483 fi
416ctags: CTAGS484ctags: CTAGS
417CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \485CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
418 $(TAGS_FILES) $(LISP)486 $(TAGS_FILES) $(LISP)
419 tags=; \
420 here=`pwd`; \
421 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \487 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
422 unique=`for i in $$list; do \488 unique=`for i in $$list; do \
423 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \489 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
424 done | \490 done | \
425 $(AWK) ' { files[$$0] = 1; } \491 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
426 END { for (i in files) print i; }'`; \492 END { if (nonempty) { for (i in files) print i; }; }'`; \
427 test -z "$(CTAGS_ARGS)$$tags$$unique" \493 test -z "$(CTAGS_ARGS)$$unique" \
428 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \494 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
429 $$tags $$unique495 $$unique
430496
431GTAGS:497GTAGS:
432 here=`$(am__cd) $(top_builddir) && pwd` \498 here=`$(am__cd) $(top_builddir) && pwd` \
433 && cd $(top_srcdir) \499 && $(am__cd) $(top_srcdir) \
434 && gtags -i $(GTAGS_ARGS) $$here500 && gtags -i $(GTAGS_ARGS) "$$here"
435501
436distclean-tags:502distclean-tags:
437 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags503 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
438504
439distdir: $(DISTFILES)505distdir: $(DISTFILES)
440 $(am__remove_distdir)506 $(am__remove_distdir)
441 test -d $(distdir) || mkdir $(distdir)507 test -d "$(distdir)" || mkdir "$(distdir)"
442 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \508 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
443 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \509 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
444 list='$(DISTFILES)'; \510 list='$(DISTFILES)'; \
@@ -454,38 +520,55 @@
454 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \520 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
455 if test -d $$d/$$file; then \521 if test -d $$d/$$file; then \
456 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \522 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
523 if test -d "$(distdir)/$$file"; then \
524 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
525 fi; \
457 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \526 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
458 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \527 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
528 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
459 fi; \529 fi; \
460 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \530 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
461 else \531 else \
462 test -f $(distdir)/$$file \532 test -f "$(distdir)/$$file" \
463 || cp -p $$d/$$file $(distdir)/$$file \533 || cp -p $$d/$$file "$(distdir)/$$file" \
464 || exit 1; \534 || exit 1; \
465 fi; \535 fi; \
466 done536 done
467 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \537 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
468 if test "$$subdir" = .; then :; else \538 if test "$$subdir" = .; then :; else \
469 test -d "$(distdir)/$$subdir" \539 test -d "$(distdir)/$$subdir" \
470 || $(MKDIR_P) "$(distdir)/$$subdir" \540 || $(MKDIR_P) "$(distdir)/$$subdir" \
471 || exit 1; \541 || exit 1; \
472 distdir=`$(am__cd) $(distdir) && pwd`; \542 fi; \
473 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \543 done
474 (cd $$subdir && \544 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
545 if test "$$subdir" = .; then :; else \
546 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
547 $(am__relativize); \
548 new_distdir=$$reldir; \
549 dir1=$$subdir; dir2="$(top_distdir)"; \
550 $(am__relativize); \
551 new_top_distdir=$$reldir; \
552 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
553 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
554 ($(am__cd) $$subdir && \
475 $(MAKE) $(AM_MAKEFLAGS) \555 $(MAKE) $(AM_MAKEFLAGS) \
476 top_distdir="$$top_distdir" \556 top_distdir="$$new_top_distdir" \
477 distdir="$$distdir/$$subdir" \557 distdir="$$new_distdir" \
478 am__remove_distdir=: \558 am__remove_distdir=: \
479 am__skip_length_check=: \559 am__skip_length_check=: \
560 am__skip_mode_fix=: \
480 distdir) \561 distdir) \
481 || exit 1; \562 || exit 1; \
482 fi; \563 fi; \
483 done564 done
484 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \565 -test -n "$(am__skip_mode_fix)" \
566 || find "$(distdir)" -type d ! -perm -755 \
567 -exec chmod u+rwx,go+rx {} \; -o \
485 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \568 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
486 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \569 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
487 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \570 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
488 || chmod -R a+r $(distdir)571 || chmod -R a+r "$(distdir)"
489dist-gzip: distdir572dist-gzip: distdir
490 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz573 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
491 $(am__remove_distdir)574 $(am__remove_distdir)
@@ -494,6 +577,14 @@
494 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2577 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
495 $(am__remove_distdir)578 $(am__remove_distdir)
496579
580dist-lzma: distdir
581 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
582 $(am__remove_distdir)
583
584dist-xz: distdir
585 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
586 $(am__remove_distdir)
587
497dist-tarZ: distdir588dist-tarZ: distdir
498 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z589 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
499 $(am__remove_distdir)590 $(am__remove_distdir)
@@ -517,13 +608,17 @@
517distcheck: dist608distcheck: dist
518 case '$(DIST_ARCHIVES)' in \609 case '$(DIST_ARCHIVES)' in \
519 *.tar.gz*) \610 *.tar.gz*) \
520 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\611 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
521 *.tar.bz2*) \612 *.tar.bz2*) \
522 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\613 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
614 *.tar.lzma*) \
615 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
616 *.tar.xz*) \
617 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
523 *.tar.Z*) \618 *.tar.Z*) \
524 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\619 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
525 *.shar.gz*) \620 *.shar.gz*) \
526 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\621 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
527 *.zip*) \622 *.zip*) \
528 unzip $(distdir).zip ;;\623 unzip $(distdir).zip ;;\
529 esac624 esac
@@ -531,9 +626,11 @@
531 mkdir $(distdir)/_build626 mkdir $(distdir)/_build
532 mkdir $(distdir)/_inst627 mkdir $(distdir)/_inst
533 chmod a-w $(distdir)628 chmod a-w $(distdir)
629 test -d $(distdir)/_build || exit 0; \
534 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \630 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
535 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \631 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
536 && cd $(distdir)/_build \632 && am__cwd=`pwd` \
633 && $(am__cd) $(distdir)/_build \
537 && ../configure --srcdir=.. --prefix="$$dc_install_base" \634 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
538 $(DISTCHECK_CONFIGURE_FLAGS) \635 $(DISTCHECK_CONFIGURE_FLAGS) \
539 && $(MAKE) $(AM_MAKEFLAGS) \636 && $(MAKE) $(AM_MAKEFLAGS) \
@@ -555,13 +652,15 @@
555 && rm -rf "$$dc_destdir" \652 && rm -rf "$$dc_destdir" \
556 && $(MAKE) $(AM_MAKEFLAGS) dist \653 && $(MAKE) $(AM_MAKEFLAGS) dist \
557 && rm -rf $(DIST_ARCHIVES) \654 && rm -rf $(DIST_ARCHIVES) \
558 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck655 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
656 && cd "$$am__cwd" \
657 || exit 1
559 $(am__remove_distdir)658 $(am__remove_distdir)
560 @(echo "$(distdir) archives ready for distribution: "; \659 @(echo "$(distdir) archives ready for distribution: "; \
561 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \660 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
562 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'661 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
563distuninstallcheck:662distuninstallcheck:
564 @cd $(distuninstallcheck_dir) \663 @$(am__cd) '$(distuninstallcheck_dir)' \
565 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \664 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
566 || { echo "ERROR: files left after uninstall:" ; \665 || { echo "ERROR: files left after uninstall:" ; \
567 if test -n "$(DESTDIR)"; then \666 if test -n "$(DESTDIR)"; then \
@@ -606,6 +705,7 @@
606705
607distclean-generic:706distclean-generic:
608 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)707 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
708 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
609709
610maintainer-clean-generic:710maintainer-clean-generic:
611 @echo "This command is intended for maintainers to use"711 @echo "This command is intended for maintainers to use"
@@ -626,6 +726,8 @@
626726
627html: html-recursive727html: html-recursive
628728
729html-am:
730
629info: info-recursive731info: info-recursive
630732
631info-am:733info-am:
@@ -634,18 +736,28 @@
634736
635install-dvi: install-dvi-recursive737install-dvi: install-dvi-recursive
636738
739install-dvi-am:
740
637install-exec-am:741install-exec-am:
638742
639install-html: install-html-recursive743install-html: install-html-recursive
640744
745install-html-am:
746
641install-info: install-info-recursive747install-info: install-info-recursive
642748
749install-info-am:
750
643install-man:751install-man:
644752
645install-pdf: install-pdf-recursive753install-pdf: install-pdf-recursive
646754
755install-pdf-am:
756
647install-ps: install-ps-recursive757install-ps: install-ps-recursive
648758
759install-ps-am:
760
649installcheck-am:761installcheck-am:
650762
651maintainer-clean: maintainer-clean-recursive763maintainer-clean: maintainer-clean-recursive
@@ -668,25 +780,26 @@
668780
669uninstall-am: uninstall-pkgconfigDATA781uninstall-am: uninstall-pkgconfigDATA
670782
671.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \783.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
672 install-strip784 ctags-recursive install-am install-strip tags-recursive
673785
674.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \786.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
675 all all-am am--refresh check check-am clean clean-generic \787 all all-am am--refresh check check-am clean clean-generic \
676 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \788 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
677 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \789 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
678 distclean-generic distclean-hdr distclean-libtool \790 distcheck distclean distclean-generic distclean-hdr \
679 distclean-tags distcleancheck distdir distuninstallcheck dvi \791 distclean-libtool distclean-tags distcleancheck distdir \
680 dvi-am html html-am info info-am install install-am \792 distuninstallcheck dvi dvi-am html html-am info info-am \
681 install-data install-data-am install-dvi install-dvi-am \793 install install-am install-data install-data-am install-dvi \
682 install-exec install-exec-am install-html install-html-am \794 install-dvi-am install-exec install-exec-am install-html \
683 install-info install-info-am install-man install-pdf \795 install-html-am install-info install-info-am install-man \
684 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \796 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
685 install-strip installcheck installcheck-am installdirs \797 install-ps-am install-strip installcheck installcheck-am \
686 installdirs-am maintainer-clean maintainer-clean-generic \798 installdirs installdirs-am maintainer-clean \
687 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \799 maintainer-clean-generic mostlyclean mostlyclean-generic \
688 ps ps-am tags tags-recursive uninstall uninstall-am \800 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
689 uninstall-pkgconfigDATA801 uninstall uninstall-am uninstall-pkgconfigDATA
802
690803
691# Tell versions [3.59,3.63) of GNU make to not export all variables.804# Tell versions [3.59,3.63) of GNU make to not export all variables.
692# Otherwise a system limit (for SysV at least) may be exceeded.805# Otherwise a system limit (for SysV at least) may be exceeded.
693806
=== modified file 'NEWS'
--- NEWS 2009-07-28 20:38:41 +0000
+++ NEWS 2011-11-22 04:29:25 +0000
@@ -1,4 +1,24 @@
11
2GooCanvas 2.0.0 (Feb 27 2011)
3===============
4
5 o Ported to GTK+ 3.0.
6 o Can be installed with GooCanvas 1.0.x without conflicting.
7
8
9GooCanvas 1.0.0 (Jan 10 2011)
10===============
11
12 o Added "alpha" property to GooCanvasImage to set opacity.
13 o Allow setting clip path to NULL to reset it.
14 o Allow setting line dash to NULL to reset it.
15 o Handle RTL direction better in GooCanvasTable.
16 o Fixed GooCanvasGroup bug - use the correct scale argument in paint.
17 o Fixed GooCanvasPolyline bug - update arrows when line width changes.
18 o Fixed static items bug - don't clip incorrectly.
19 o Improved performance a bit when creating lots of items.
20
21
2GooCanvas 0.15 (Jun 29 2009)22GooCanvas 0.15 (Jun 29 2009)
3==============23==============
424
525
=== modified file 'README'
--- README 2009-07-28 20:38:41 +0000
+++ README 2011-11-22 04:29:25 +0000
@@ -8,10 +8,8 @@
8 GooCanvas Home Page : http://live.gnome.org/GooCanvas8 GooCanvas Home Page : http://live.gnome.org/GooCanvas
99
1010
11GooCanvas is similar in many ways to GnomeCanvas and FooCanvas.11GooCanvas is similar in many ways to GnomeCanvas and FooCanvas, but it uses
12But it uses cairo for rendering, has an optional model/view split,12cairo for rendering.
13and uses interfaces for items & models (so you can easily turn any
14application object into a canvas item or model).
1513
16NOTE: I am no longer actively developing GooCanvas, so no major new14NOTE: I am no longer actively developing GooCanvas, so no major new
17features will be added (unless a new maintainer takes over). I'll still15features will be added (unless a new maintainer takes over). I'll still
@@ -23,8 +21,6 @@
2321
24Features:22Features:
2523
26 o Optional model/view split.
27 o Uses interfaces for items & views.
28 o Basic items - rect/ellipse/polyline/text/image/grid/group.24 o Basic items - rect/ellipse/polyline/text/image/grid/group.
29 o Path item, using SVG path specification strings.25 o Path item, using SVG path specification strings.
30 o Table item for layout of other items (similar to the GtkTable widget).26 o Table item for layout of other items (similar to the GtkTable widget).
@@ -32,7 +28,6 @@
32 their allocated width, such as text items.)28 their allocated width, such as text items.)
33 o Embedded GTK+ widgets.29 o Embedded GTK+ widgets.
34 o Layers/stacking order with raise/lower functions.30 o Layers/stacking order with raise/lower functions.
35 o Cascading styles - line width/style/dashes, colors, fill patterns.
36 o Affine transformations for all items - rotations/scales/skews.31 o Affine transformations for all items - rotations/scales/skews.
37 o Clip paths to support clipping items.32 o Clip paths to support clipping items.
38 o Event handling - button/motion events, "pointer-events" property like SVG.33 o Event handling - button/motion events, "pointer-events" property like SVG.
@@ -50,6 +45,13 @@
50 o Support for different units - pixels/points/inches/millimeters.45 o Support for different units - pixels/points/inches/millimeters.
51 o API docs.46 o API docs.
5247
48Features that may be removed in future to simplify the code:
49
50 o Optional model/view split.
51 o Uses interfaces for items & views.
52 o Cascading styles - line width/style/dashes, colors, fill patterns.
53 (The style properties will remain, but will not cascade.)
54
5355
54Damon Chaplin (damon@gnome.org)56Damon Chaplin (damon@gnome.org)
5557
5658
=== modified file 'aclocal.m4'
--- aclocal.m4 2008-12-07 17:18:43 +0000
+++ aclocal.m4 2011-11-22 04:29:25 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.10 -*- Autoconf -*-1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -11,10 +11,13 @@
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1313
14m4_if(m4_PACKAGE_VERSION, [2.61],,14m4_ifndef([AC_AUTOCONF_VERSION],
15[m4_fatal([this file was generated for autoconf 2.61.15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16You have another version of autoconf. If you want to use that,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17you should regenerate the build system entirely.], [63])])17[m4_warning([this file was generated for autoconf 2.68.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
1821
19# Copyright (C) 1995-2002 Free Software Foundation, Inc.22# Copyright (C) 1995-2002 Free Software Foundation, Inc.
20# Copyright (C) 2001-2003,2004 Red Hat, Inc.23# Copyright (C) 2001-2003,2004 Red Hat, Inc.
@@ -298,7 +301,7 @@
298301
299 dnl These rules are solely for the distribution goal. While doing this302 dnl These rules are solely for the distribution goal. While doing this
300 dnl we only have to keep exactly one list of the available catalogs303 dnl we only have to keep exactly one list of the available catalogs
301 dnl in configure.in.304 dnl in configure.ac.
302 for lang in $ALL_LINGUAS; do305 for lang in $ALL_LINGUAS; do
303 GMOFILES="$GMOFILES $lang.gmo"306 GMOFILES="$GMOFILES $lang.gmo"
304 POFILES="$POFILES $lang.po"307 POFILES="$POFILES $lang.po"
@@ -427,7 +430,7 @@
427dnl430dnl
428dnl Now the definitions that aclocal will find431dnl Now the definitions that aclocal will find
429dnl432dnl
430ifdef(glib_configure_in,[],[433ifdef(glib_configure_ac,[],[
431AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])434AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
432AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])435AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
433])dnl436])dnl
@@ -457,8 +460,15 @@
457dnl GTK_DOC_CHECK([minimum-gtk-doc-version])460dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
458AC_DEFUN([GTK_DOC_CHECK],461AC_DEFUN([GTK_DOC_CHECK],
459[462[
463 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
460 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first464 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
461 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first465 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
466
467 dnl check for tools we added during development
468 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
469 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
470 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
471
462 dnl for overriding the documentation installation directory472 dnl for overriding the documentation installation directory
463 AC_ARG_WITH([html-dir],473 AC_ARG_WITH([html-dir],
464 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,474 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
@@ -477,115 +487,231 @@
477 [PKG_CHECK_EXISTS([gtk-doc],,487 [PKG_CHECK_EXISTS([gtk-doc],,
478 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],488 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
479 [PKG_CHECK_EXISTS([gtk-doc >= $1],,489 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
480 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])490 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
491 dnl don't check for glib if we build glib
492 if test "x$PACKAGE_NAME" != "xglib"; then
493 dnl don't fail if someone does not have glib
494 PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
495 fi
481 fi496 fi
482497
483 AC_MSG_CHECKING([whether to build gtk-doc documentation])498 AC_MSG_CHECKING([whether to build gtk-doc documentation])
484 AC_MSG_RESULT($enable_gtk_doc)499 AC_MSG_RESULT($enable_gtk_doc)
485500
486 AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)501 dnl enable/disable output formats
502 AC_ARG_ENABLE([gtk-doc-html],
503 AS_HELP_STRING([--enable-gtk-doc-html],
504 [build documentation in html format [[default=yes]]]),,
505 [enable_gtk_doc_html=yes])
506 AC_ARG_ENABLE([gtk-doc-pdf],
507 AS_HELP_STRING([--enable-gtk-doc-pdf],
508 [build documentation in pdf format [[default=no]]]),,
509 [enable_gtk_doc_pdf=no])
510
511 if test -z "$GTKDOC_MKPDF"; then
512 enable_gtk_doc_pdf=no
513 fi
514
487515
488 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])516 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
517 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
518 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
489 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])519 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
520 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
490])521])
491522
492# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-523# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
493524#
494# serial 51 AC_PROG_LIBTOOL525# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
495526# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
496527# Inc.
497# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)528# Written by Gordon Matzigkeit, 1996
498# -----------------------------------------------------------529#
499# If this macro is not defined by Autoconf, define it here.530# This file is free software; the Free Software Foundation gives
500m4_ifdef([AC_PROVIDE_IFELSE],531# unlimited permission to copy and/or distribute it, with or without
501 [],532# modifications, as long as this notice is preserved.
502 [m4_define([AC_PROVIDE_IFELSE],533
503 [m4_ifdef([AC_PROVIDE_$1],534m4_define([_LT_COPYING], [dnl
504 [$2], [$3])])])535# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
505536# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
506537# Inc.
507# AC_PROG_LIBTOOL538# Written by Gordon Matzigkeit, 1996
508# ---------------539#
509AC_DEFUN([AC_PROG_LIBTOOL],540# This file is part of GNU Libtool.
510[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl541#
511dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX542# GNU Libtool is free software; you can redistribute it and/or
512dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.543# modify it under the terms of the GNU General Public License as
513 AC_PROVIDE_IFELSE([AC_PROG_CXX],544# published by the Free Software Foundation; either version 2 of
514 [AC_LIBTOOL_CXX],545# the License, or (at your option) any later version.
515 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX546#
516 ])])547# As a special exception to the GNU General Public License,
517dnl And a similar setup for Fortran 77 support548# if you distribute this file as part of a program or library that
518 AC_PROVIDE_IFELSE([AC_PROG_F77],549# is built using GNU Libtool, you may include this file under the
519 [AC_LIBTOOL_F77],550# same distribution terms that you use for the rest of that program.
520 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77551#
521])])552# GNU Libtool is distributed in the hope that it will be useful,
522553# but WITHOUT ANY WARRANTY; without even the implied warranty of
523dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.554# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
524dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run555# GNU General Public License for more details.
525dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.556#
526 AC_PROVIDE_IFELSE([AC_PROG_GCJ],557# You should have received a copy of the GNU General Public License
527 [AC_LIBTOOL_GCJ],558# along with GNU Libtool; see the file COPYING. If not, a copy
528 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],559# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
529 [AC_LIBTOOL_GCJ],560# obtained by writing to the Free Software Foundation, Inc.,
530 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],561# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
531 [AC_LIBTOOL_GCJ],562])
532 [ifdef([AC_PROG_GCJ],563
533 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])564# serial 57 LT_INIT
534 ifdef([A][M_PROG_GCJ],565
535 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])566
536 ifdef([LT_AC_PROG_GCJ],567# LT_PREREQ(VERSION)
537 [define([LT_AC_PROG_GCJ],568# ------------------
538 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])569# Complain and exit if this libtool version is less that VERSION.
539])])# AC_PROG_LIBTOOL570m4_defun([LT_PREREQ],
540571[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
541572 [m4_default([$3],
542# _AC_PROG_LIBTOOL573 [m4_fatal([Libtool version $1 or higher is required],
543# ----------------574 63)])],
544AC_DEFUN([_AC_PROG_LIBTOOL],575 [$2])])
545[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl576
546AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl577
547AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl578# _LT_CHECK_BUILDDIR
548AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl579# ------------------
580# Complain if the absolute build directory name contains unusual characters
581m4_defun([_LT_CHECK_BUILDDIR],
582[case `pwd` in
583 *\ * | *\ *)
584 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
585esac
586])
587
588
589# LT_INIT([OPTIONS])
590# ------------------
591AC_DEFUN([LT_INIT],
592[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
593AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
594AC_BEFORE([$0], [LT_LANG])dnl
595AC_BEFORE([$0], [LT_OUTPUT])dnl
596AC_BEFORE([$0], [LTDL_INIT])dnl
597m4_require([_LT_CHECK_BUILDDIR])dnl
598
599dnl Autoconf doesn't catch unexpanded LT_ macros by default:
600m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
601m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
602dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
603dnl unless we require an AC_DEFUNed macro:
604AC_REQUIRE([LTOPTIONS_VERSION])dnl
605AC_REQUIRE([LTSUGAR_VERSION])dnl
606AC_REQUIRE([LTVERSION_VERSION])dnl
607AC_REQUIRE([LTOBSOLETE_VERSION])dnl
608m4_require([_LT_PROG_LTMAIN])dnl
609
610_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
611
612dnl Parse OPTIONS
613_LT_SET_OPTIONS([$0], [$1])
549614
550# This can be used to rebuild libtool when needed615# This can be used to rebuild libtool when needed
551LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"616LIBTOOL_DEPS="$ltmain"
552617
553# Always use our own libtool.618# Always use our own libtool.
554LIBTOOL='$(SHELL) $(top_builddir)/libtool'619LIBTOOL='$(SHELL) $(top_builddir)/libtool'
555AC_SUBST(LIBTOOL)dnl620AC_SUBST(LIBTOOL)dnl
556621
557# Prevent multiple expansion622_LT_SETUP
558define([AC_PROG_LIBTOOL], [])623
559])# _AC_PROG_LIBTOOL624# Only expand once:
560625m4_define([LT_INIT])
561626])# LT_INIT
562# AC_LIBTOOL_SETUP627
563# ----------------628# Old names:
564AC_DEFUN([AC_LIBTOOL_SETUP],629AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
565[AC_PREREQ(2.50)dnl630AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
566AC_REQUIRE([AC_ENABLE_SHARED])dnl631dnl aclocal-1.4 backwards compatibility:
567AC_REQUIRE([AC_ENABLE_STATIC])dnl632dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
568AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl633dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
569AC_REQUIRE([AC_CANONICAL_HOST])dnl634
635
636# _LT_CC_BASENAME(CC)
637# -------------------
638# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
639m4_defun([_LT_CC_BASENAME],
640[for cc_temp in $1""; do
641 case $cc_temp in
642 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
643 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
644 \-*) ;;
645 *) break;;
646 esac
647done
648cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
649])
650
651
652# _LT_FILEUTILS_DEFAULTS
653# ----------------------
654# It is okay to use these file commands and assume they have been set
655# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
656m4_defun([_LT_FILEUTILS_DEFAULTS],
657[: ${CP="cp -f"}
658: ${MV="mv -f"}
659: ${RM="rm -f"}
660])# _LT_FILEUTILS_DEFAULTS
661
662
663# _LT_SETUP
664# ---------
665m4_defun([_LT_SETUP],
666[AC_REQUIRE([AC_CANONICAL_HOST])dnl
570AC_REQUIRE([AC_CANONICAL_BUILD])dnl667AC_REQUIRE([AC_CANONICAL_BUILD])dnl
668AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
669AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
670
671_LT_DECL([], [host_alias], [0], [The host system])dnl
672_LT_DECL([], [host], [0])dnl
673_LT_DECL([], [host_os], [0])dnl
674dnl
675_LT_DECL([], [build_alias], [0], [The build system])dnl
676_LT_DECL([], [build], [0])dnl
677_LT_DECL([], [build_os], [0])dnl
678dnl
571AC_REQUIRE([AC_PROG_CC])dnl679AC_REQUIRE([AC_PROG_CC])dnl
572AC_REQUIRE([AC_PROG_LD])dnl680AC_REQUIRE([LT_PATH_LD])dnl
573AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl681AC_REQUIRE([LT_PATH_NM])dnl
574AC_REQUIRE([AC_PROG_NM])dnl682dnl
575
576AC_REQUIRE([AC_PROG_LN_S])dnl683AC_REQUIRE([AC_PROG_LN_S])dnl
577AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl684test -z "$LN_S" && LN_S="ln -s"
578# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!685_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
579AC_REQUIRE([AC_OBJEXT])dnl686dnl
580AC_REQUIRE([AC_EXEEXT])dnl687AC_REQUIRE([LT_CMD_MAX_LEN])dnl
581dnl688_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
582689_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
583AC_LIBTOOL_SYS_MAX_CMD_LEN690dnl
584AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE691m4_require([_LT_FILEUTILS_DEFAULTS])dnl
585AC_LIBTOOL_OBJDIR692m4_require([_LT_CHECK_SHELL_FEATURES])dnl
586693m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
587AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl694m4_require([_LT_CMD_RELOAD])dnl
588_LT_AC_PROG_ECHO_BACKSLASH695m4_require([_LT_CHECK_MAGIC_METHOD])dnl
696m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
697m4_require([_LT_CMD_OLD_ARCHIVE])dnl
698m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
699m4_require([_LT_WITH_SYSROOT])dnl
700
701_LT_CONFIG_LIBTOOL_INIT([
702# See if we are running on zsh, and set the options which allow our
703# commands through without removal of \ escapes INIT.
704if test -n "\${ZSH_VERSION+set}" ; then
705 setopt NO_GLOB_SUBST
706fi
707])
708if test -n "${ZSH_VERSION+set}" ; then
709 setopt NO_GLOB_SUBST
710fi
711
712_LT_CHECK_OBJDIR
713
714m4_require([_LT_TAG_COMPILER])dnl
589715
590case $host_os in716case $host_os in
591aix3*)717aix3*)
@@ -599,116 +725,678 @@
599 ;;725 ;;
600esac726esac
601727
602# Sed substitution that helps us do robust quoting. It backslashifies
603# metacharacters that are still active within double-quoted strings.
604Xsed='sed -e 1s/^X//'
605[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
606
607# Same as above, but do not quote variable references.
608[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
609
610# Sed substitution to delay expansion of an escaped shell variable in a
611# double_quote_subst'ed string.
612delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
613
614# Sed substitution to avoid accidental globbing in evaled expressions
615no_glob_subst='s/\*/\\\*/g'
616
617# Constants:
618rm="rm -f"
619
620# Global variables:728# Global variables:
621default_ofile=libtool729ofile=libtool
622can_build_shared=yes730can_build_shared=yes
623731
624# All known linkers require a `.a' archive for static linking (except MSVC,732# All known linkers require a `.a' archive for static linking (except MSVC,
625# which needs '.lib').733# which needs '.lib').
626libext=a734libext=a
627ltmain="$ac_aux_dir/ltmain.sh"735
628ofile="$default_ofile"
629with_gnu_ld="$lt_cv_prog_gnu_ld"736with_gnu_ld="$lt_cv_prog_gnu_ld"
630737
631AC_CHECK_TOOL(AR, ar, false)
632AC_CHECK_TOOL(RANLIB, ranlib, :)
633AC_CHECK_TOOL(STRIP, strip, :)
634
635old_CC="$CC"738old_CC="$CC"
636old_CFLAGS="$CFLAGS"739old_CFLAGS="$CFLAGS"
637740
638# Set sane defaults for various variables741# Set sane defaults for various variables
639test -z "$AR" && AR=ar
640test -z "$AR_FLAGS" && AR_FLAGS=cru
641test -z "$AS" && AS=as
642test -z "$CC" && CC=cc742test -z "$CC" && CC=cc
643test -z "$LTCC" && LTCC=$CC743test -z "$LTCC" && LTCC=$CC
644test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS744test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
645test -z "$DLLTOOL" && DLLTOOL=dlltool
646test -z "$LD" && LD=ld745test -z "$LD" && LD=ld
647test -z "$LN_S" && LN_S="ln -s"
648test -z "$MAGIC_CMD" && MAGIC_CMD=file
649test -z "$NM" && NM=nm
650test -z "$SED" && SED=sed
651test -z "$OBJDUMP" && OBJDUMP=objdump
652test -z "$RANLIB" && RANLIB=:
653test -z "$STRIP" && STRIP=:
654test -z "$ac_objext" && ac_objext=o746test -z "$ac_objext" && ac_objext=o
655747
656# Determine commands to create old-style static archives.
657old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
658old_postinstall_cmds='chmod 644 $oldlib'
659old_postuninstall_cmds=
660
661if test -n "$RANLIB"; then
662 case $host_os in
663 openbsd*)
664 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
665 ;;
666 *)
667 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
668 ;;
669 esac
670 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
671fi
672
673_LT_CC_BASENAME([$compiler])748_LT_CC_BASENAME([$compiler])
674749
675# Only perform the check for file, if the check method requires it750# Only perform the check for file, if the check method requires it
751test -z "$MAGIC_CMD" && MAGIC_CMD=file
676case $deplibs_check_method in752case $deplibs_check_method in
677file_magic*)753file_magic*)
678 if test "$file_magic_cmd" = '$MAGIC_CMD'; then754 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
679 AC_PATH_MAGIC755 _LT_PATH_MAGIC
680 fi756 fi
681 ;;757 ;;
682esac758esac
683759
684AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
685AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
686enable_win32_dll=yes, enable_win32_dll=no)
687
688AC_ARG_ENABLE([libtool-lock],
689 [AC_HELP_STRING([--disable-libtool-lock],
690 [avoid locking (might break parallel builds)])])
691test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
692
693AC_ARG_WITH([pic],
694 [AC_HELP_STRING([--with-pic],
695 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
696 [pic_mode="$withval"],
697 [pic_mode=default])
698test -z "$pic_mode" && pic_mode=default
699
700# Use C for the default configuration in the libtool script760# Use C for the default configuration in the libtool script
701tagname=761LT_SUPPORTED_TAG([CC])
702AC_LIBTOOL_LANG_C_CONFIG762_LT_LANG_C_CONFIG
703_LT_AC_TAGCONFIG763_LT_LANG_DEFAULT_CONFIG
704])# AC_LIBTOOL_SETUP764_LT_CONFIG_COMMANDS
705765])# _LT_SETUP
706766
707# _LT_AC_SYS_COMPILER767
768# _LT_PREPARE_SED_QUOTE_VARS
769# --------------------------
770# Define a few sed substitution that help us do robust quoting.
771m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
772[# Backslashify metacharacters that are still active within
773# double-quoted strings.
774sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
775
776# Same as above, but do not quote variable references.
777double_quote_subst='s/\([["`\\]]\)/\\\1/g'
778
779# Sed substitution to delay expansion of an escaped shell variable in a
780# double_quote_subst'ed string.
781delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
782
783# Sed substitution to delay expansion of an escaped single quote.
784delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
785
786# Sed substitution to avoid accidental globbing in evaled expressions
787no_glob_subst='s/\*/\\\*/g'
788])
789
790# _LT_PROG_LTMAIN
791# ---------------
792# Note that this code is called both from `configure', and `config.status'
793# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
794# `config.status' has no value for ac_aux_dir unless we are using Automake,
795# so we pass a copy along to make sure it has a sensible value anyway.
796m4_defun([_LT_PROG_LTMAIN],
797[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
798_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
799ltmain="$ac_aux_dir/ltmain.sh"
800])# _LT_PROG_LTMAIN
801
802
803
804# So that we can recreate a full libtool script including additional
805# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
806# in macros and then make a single call at the end using the `libtool'
807# label.
808
809
810# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
811# ----------------------------------------
812# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
813m4_define([_LT_CONFIG_LIBTOOL_INIT],
814[m4_ifval([$1],
815 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
816 [$1
817])])])
818
819# Initialize.
820m4_define([_LT_OUTPUT_LIBTOOL_INIT])
821
822
823# _LT_CONFIG_LIBTOOL([COMMANDS])
824# ------------------------------
825# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
826m4_define([_LT_CONFIG_LIBTOOL],
827[m4_ifval([$1],
828 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
829 [$1
830])])])
831
832# Initialize.
833m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
834
835
836# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
837# -----------------------------------------------------
838m4_defun([_LT_CONFIG_SAVE_COMMANDS],
839[_LT_CONFIG_LIBTOOL([$1])
840_LT_CONFIG_LIBTOOL_INIT([$2])
841])
842
843
844# _LT_FORMAT_COMMENT([COMMENT])
845# -----------------------------
846# Add leading comment marks to the start of each line, and a trailing
847# full-stop to the whole comment if one is not present already.
848m4_define([_LT_FORMAT_COMMENT],
849[m4_ifval([$1], [
850m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
851 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
852)])
853
854
855
856
857
858# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
859# -------------------------------------------------------------------
860# CONFIGNAME is the name given to the value in the libtool script.
861# VARNAME is the (base) name used in the configure script.
862# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
863# VARNAME. Any other value will be used directly.
864m4_define([_LT_DECL],
865[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
866 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
867 [m4_ifval([$1], [$1], [$2])])
868 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
869 m4_ifval([$4],
870 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
871 lt_dict_add_subkey([lt_decl_dict], [$2],
872 [tagged?], [m4_ifval([$5], [yes], [no])])])
873])
874
875
876# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
877# --------------------------------------------------------
878m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
879
880
881# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
882# ------------------------------------------------
883m4_define([lt_decl_tag_varnames],
884[_lt_decl_filter([tagged?], [yes], $@)])
885
886
887# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
888# ---------------------------------------------------------
889m4_define([_lt_decl_filter],
890[m4_case([$#],
891 [0], [m4_fatal([$0: too few arguments: $#])],
892 [1], [m4_fatal([$0: too few arguments: $#: $1])],
893 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
894 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
895 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
896])
897
898
899# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
900# --------------------------------------------------
901m4_define([lt_decl_quote_varnames],
902[_lt_decl_filter([value], [1], $@)])
903
904
905# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
906# ---------------------------------------------------
907m4_define([lt_decl_dquote_varnames],
908[_lt_decl_filter([value], [2], $@)])
909
910
911# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
912# ---------------------------------------------------
913m4_define([lt_decl_varnames_tagged],
914[m4_assert([$# <= 2])dnl
915_$0(m4_quote(m4_default([$1], [[, ]])),
916 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
917 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
918m4_define([_lt_decl_varnames_tagged],
919[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
920
921
922# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
923# ------------------------------------------------
924m4_define([lt_decl_all_varnames],
925[_$0(m4_quote(m4_default([$1], [[, ]])),
926 m4_if([$2], [],
927 m4_quote(lt_decl_varnames),
928 m4_quote(m4_shift($@))))[]dnl
929])
930m4_define([_lt_decl_all_varnames],
931[lt_join($@, lt_decl_varnames_tagged([$1],
932 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
933])
934
935
936# _LT_CONFIG_STATUS_DECLARE([VARNAME])
937# ------------------------------------
938# Quote a variable value, and forward it to `config.status' so that its
939# declaration there will have the same value as in `configure'. VARNAME
940# must have a single quote delimited value for this to work.
941m4_define([_LT_CONFIG_STATUS_DECLARE],
942[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
943
944
945# _LT_CONFIG_STATUS_DECLARATIONS
946# ------------------------------
947# We delimit libtool config variables with single quotes, so when
948# we write them to config.status, we have to be sure to quote all
949# embedded single quotes properly. In configure, this macro expands
950# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
951#
952# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
953m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
954[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
955 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
956
957
958# _LT_LIBTOOL_TAGS
959# ----------------
960# Output comment and list of tags supported by the script
961m4_defun([_LT_LIBTOOL_TAGS],
962[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
963available_tags="_LT_TAGS"dnl
964])
965
966
967# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
968# -----------------------------------
969# Extract the dictionary values for VARNAME (optionally with TAG) and
970# expand to a commented shell variable setting:
971#
972# # Some comment about what VAR is for.
973# visible_name=$lt_internal_name
974m4_define([_LT_LIBTOOL_DECLARE],
975[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
976 [description])))[]dnl
977m4_pushdef([_libtool_name],
978 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
979m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
980 [0], [_libtool_name=[$]$1],
981 [1], [_libtool_name=$lt_[]$1],
982 [2], [_libtool_name=$lt_[]$1],
983 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
984m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
985])
986
987
988# _LT_LIBTOOL_CONFIG_VARS
989# -----------------------
990# Produce commented declarations of non-tagged libtool config variables
991# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
992# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
993# section) are produced by _LT_LIBTOOL_TAG_VARS.
994m4_defun([_LT_LIBTOOL_CONFIG_VARS],
995[m4_foreach([_lt_var],
996 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
997 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
998
999
1000# _LT_LIBTOOL_TAG_VARS(TAG)
1001# -------------------------
1002m4_define([_LT_LIBTOOL_TAG_VARS],
1003[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
1004 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
1005
1006
1007# _LT_TAGVAR(VARNAME, [TAGNAME])
1008# ------------------------------
1009m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
1010
1011
1012# _LT_CONFIG_COMMANDS
708# -------------------1013# -------------------
709AC_DEFUN([_LT_AC_SYS_COMPILER],1014# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
1015# variables for single and double quote escaping we saved from calls
1016# to _LT_DECL, we can put quote escaped variables declarations
1017# into `config.status', and then the shell code to quote escape them in
1018# for loops in `config.status'. Finally, any additional code accumulated
1019# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1020m4_defun([_LT_CONFIG_COMMANDS],
1021[AC_PROVIDE_IFELSE([LT_OUTPUT],
1022 dnl If the libtool generation code has been placed in $CONFIG_LT,
1023 dnl instead of duplicating it all over again into config.status,
1024 dnl then we will have config.status run $CONFIG_LT later, so it
1025 dnl needs to know what name is stored there:
1026 [AC_CONFIG_COMMANDS([libtool],
1027 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
1028 dnl If the libtool generation code is destined for config.status,
1029 dnl expand the accumulated commands and init code now:
1030 [AC_CONFIG_COMMANDS([libtool],
1031 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
1032])#_LT_CONFIG_COMMANDS
1033
1034
1035# Initialize.
1036m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
1037[
1038
1039# The HP-UX ksh and POSIX shell print the target directory to stdout
1040# if CDPATH is set.
1041(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1042
1043sed_quote_subst='$sed_quote_subst'
1044double_quote_subst='$double_quote_subst'
1045delay_variable_subst='$delay_variable_subst'
1046_LT_CONFIG_STATUS_DECLARATIONS
1047LTCC='$LTCC'
1048LTCFLAGS='$LTCFLAGS'
1049compiler='$compiler_DEFAULT'
1050
1051# A function that is used when there is no print builtin or printf.
1052func_fallback_echo ()
1053{
1054 eval 'cat <<_LTECHO_EOF
1055\$[]1
1056_LTECHO_EOF'
1057}
1058
1059# Quote evaled strings.
1060for var in lt_decl_all_varnames([[ \
1061]], lt_decl_quote_varnames); do
1062 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1063 *[[\\\\\\\`\\"\\\$]]*)
1064 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1065 ;;
1066 *)
1067 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1068 ;;
1069 esac
1070done
1071
1072# Double-quote double-evaled strings.
1073for var in lt_decl_all_varnames([[ \
1074]], lt_decl_dquote_varnames); do
1075 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1076 *[[\\\\\\\`\\"\\\$]]*)
1077 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1078 ;;
1079 *)
1080 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1081 ;;
1082 esac
1083done
1084
1085_LT_OUTPUT_LIBTOOL_INIT
1086])
1087
1088# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1089# ------------------------------------
1090# Generate a child script FILE with all initialization necessary to
1091# reuse the environment learned by the parent script, and make the
1092# file executable. If COMMENT is supplied, it is inserted after the
1093# `#!' sequence but before initialization text begins. After this
1094# macro, additional text can be appended to FILE to form the body of
1095# the child script. The macro ends with non-zero status if the
1096# file could not be fully written (such as if the disk is full).
1097m4_ifdef([AS_INIT_GENERATED],
1098[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1099[m4_defun([_LT_GENERATED_FILE_INIT],
1100[m4_require([AS_PREPARE])]dnl
1101[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1102[lt_write_fail=0
1103cat >$1 <<_ASEOF || lt_write_fail=1
1104#! $SHELL
1105# Generated by $as_me.
1106$2
1107SHELL=\${CONFIG_SHELL-$SHELL}
1108export SHELL
1109_ASEOF
1110cat >>$1 <<\_ASEOF || lt_write_fail=1
1111AS_SHELL_SANITIZE
1112_AS_PREPARE
1113exec AS_MESSAGE_FD>&1
1114_ASEOF
1115test $lt_write_fail = 0 && chmod +x $1[]dnl
1116m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
1117
1118# LT_OUTPUT
1119# ---------
1120# This macro allows early generation of the libtool script (before
1121# AC_OUTPUT is called), incase it is used in configure for compilation
1122# tests.
1123AC_DEFUN([LT_OUTPUT],
1124[: ${CONFIG_LT=./config.lt}
1125AC_MSG_NOTICE([creating $CONFIG_LT])
1126_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
1127[# Run this file to recreate a libtool stub with the current configuration.])
1128
1129cat >>"$CONFIG_LT" <<\_LTEOF
1130lt_cl_silent=false
1131exec AS_MESSAGE_LOG_FD>>config.log
1132{
1133 echo
1134 AS_BOX([Running $as_me.])
1135} >&AS_MESSAGE_LOG_FD
1136
1137lt_cl_help="\
1138\`$as_me' creates a local libtool stub from the current configuration,
1139for use in further configure time tests before the real libtool is
1140generated.
1141
1142Usage: $[0] [[OPTIONS]]
1143
1144 -h, --help print this help, then exit
1145 -V, --version print version number, then exit
1146 -q, --quiet do not print progress messages
1147 -d, --debug don't remove temporary files
1148
1149Report bugs to <bug-libtool@gnu.org>."
1150
1151lt_cl_version="\
1152m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
1153m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1154configured by $[0], generated by m4_PACKAGE_STRING.
1155
1156Copyright (C) 2010 Free Software Foundation, Inc.
1157This config.lt script is free software; the Free Software Foundation
1158gives unlimited permision to copy, distribute and modify it."
1159
1160while test $[#] != 0
1161do
1162 case $[1] in
1163 --version | --v* | -V )
1164 echo "$lt_cl_version"; exit 0 ;;
1165 --help | --h* | -h )
1166 echo "$lt_cl_help"; exit 0 ;;
1167 --debug | --d* | -d )
1168 debug=: ;;
1169 --quiet | --q* | --silent | --s* | -q )
1170 lt_cl_silent=: ;;
1171
1172 -*) AC_MSG_ERROR([unrecognized option: $[1]
1173Try \`$[0] --help' for more information.]) ;;
1174
1175 *) AC_MSG_ERROR([unrecognized argument: $[1]
1176Try \`$[0] --help' for more information.]) ;;
1177 esac
1178 shift
1179done
1180
1181if $lt_cl_silent; then
1182 exec AS_MESSAGE_FD>/dev/null
1183fi
1184_LTEOF
1185
1186cat >>"$CONFIG_LT" <<_LTEOF
1187_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
1188_LTEOF
1189
1190cat >>"$CONFIG_LT" <<\_LTEOF
1191AC_MSG_NOTICE([creating $ofile])
1192_LT_OUTPUT_LIBTOOL_COMMANDS
1193AS_EXIT(0)
1194_LTEOF
1195chmod +x "$CONFIG_LT"
1196
1197# configure is writing to config.log, but config.lt does its own redirection,
1198# appending to config.log, which fails on DOS, as config.log is still kept
1199# open by configure. Here we exec the FD to /dev/null, effectively closing
1200# config.log, so it can be properly (re)opened and appended to by config.lt.
1201lt_cl_success=:
1202test "$silent" = yes &&
1203 lt_config_lt_args="$lt_config_lt_args --quiet"
1204exec AS_MESSAGE_LOG_FD>/dev/null
1205$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1206exec AS_MESSAGE_LOG_FD>>config.log
1207$lt_cl_success || AS_EXIT(1)
1208])# LT_OUTPUT
1209
1210
1211# _LT_CONFIG(TAG)
1212# ---------------
1213# If TAG is the built-in tag, create an initial libtool script with a
1214# default configuration from the untagged config vars. Otherwise add code
1215# to config.status for appending the configuration named by TAG from the
1216# matching tagged config vars.
1217m4_defun([_LT_CONFIG],
1218[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1219_LT_CONFIG_SAVE_COMMANDS([
1220 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
1221 m4_if(_LT_TAG, [C], [
1222 # See if we are running on zsh, and set the options which allow our
1223 # commands through without removal of \ escapes.
1224 if test -n "${ZSH_VERSION+set}" ; then
1225 setopt NO_GLOB_SUBST
1226 fi
1227
1228 cfgfile="${ofile}T"
1229 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1230 $RM "$cfgfile"
1231
1232 cat <<_LT_EOF >> "$cfgfile"
1233#! $SHELL
1234
1235# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1236# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1237# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1238# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1239#
1240_LT_COPYING
1241_LT_LIBTOOL_TAGS
1242
1243# ### BEGIN LIBTOOL CONFIG
1244_LT_LIBTOOL_CONFIG_VARS
1245_LT_LIBTOOL_TAG_VARS
1246# ### END LIBTOOL CONFIG
1247
1248_LT_EOF
1249
1250 case $host_os in
1251 aix3*)
1252 cat <<\_LT_EOF >> "$cfgfile"
1253# AIX sometimes has problems with the GCC collect2 program. For some
1254# reason, if we set the COLLECT_NAMES environment variable, the problems
1255# vanish in a puff of smoke.
1256if test "X${COLLECT_NAMES+set}" != Xset; then
1257 COLLECT_NAMES=
1258 export COLLECT_NAMES
1259fi
1260_LT_EOF
1261 ;;
1262 esac
1263
1264 _LT_PROG_LTMAIN
1265
1266 # We use sed instead of cat because bash on DJGPP gets confused if
1267 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1268 # text mode, it properly converts lines to CR/LF. This bash problem
1269 # is reportedly fixed, but why not run on old versions too?
1270 sed '$q' "$ltmain" >> "$cfgfile" \
1271 || (rm -f "$cfgfile"; exit 1)
1272
1273 _LT_PROG_REPLACE_SHELLFNS
1274
1275 mv -f "$cfgfile" "$ofile" ||
1276 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1277 chmod +x "$ofile"
1278],
1279[cat <<_LT_EOF >> "$ofile"
1280
1281dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
1282dnl in a comment (ie after a #).
1283# ### BEGIN LIBTOOL TAG CONFIG: $1
1284_LT_LIBTOOL_TAG_VARS(_LT_TAG)
1285# ### END LIBTOOL TAG CONFIG: $1
1286_LT_EOF
1287])dnl /m4_if
1288],
1289[m4_if([$1], [], [
1290 PACKAGE='$PACKAGE'
1291 VERSION='$VERSION'
1292 TIMESTAMP='$TIMESTAMP'
1293 RM='$RM'
1294 ofile='$ofile'], [])
1295])dnl /_LT_CONFIG_SAVE_COMMANDS
1296])# _LT_CONFIG
1297
1298
1299# LT_SUPPORTED_TAG(TAG)
1300# ---------------------
1301# Trace this macro to discover what tags are supported by the libtool
1302# --tag option, using:
1303# autoconf --trace 'LT_SUPPORTED_TAG:$1'
1304AC_DEFUN([LT_SUPPORTED_TAG], [])
1305
1306
1307# C support is built-in for now
1308m4_define([_LT_LANG_C_enabled], [])
1309m4_define([_LT_TAGS], [])
1310
1311
1312# LT_LANG(LANG)
1313# -------------
1314# Enable libtool support for the given language if not already enabled.
1315AC_DEFUN([LT_LANG],
1316[AC_BEFORE([$0], [LT_OUTPUT])dnl
1317m4_case([$1],
1318 [C], [_LT_LANG(C)],
1319 [C++], [_LT_LANG(CXX)],
1320 [Java], [_LT_LANG(GCJ)],
1321 [Fortran 77], [_LT_LANG(F77)],
1322 [Fortran], [_LT_LANG(FC)],
1323 [Windows Resource], [_LT_LANG(RC)],
1324 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
1325 [_LT_LANG($1)],
1326 [m4_fatal([$0: unsupported language: "$1"])])])dnl
1327])# LT_LANG
1328
1329
1330# _LT_LANG(LANGNAME)
1331# ------------------
1332m4_defun([_LT_LANG],
1333[m4_ifdef([_LT_LANG_]$1[_enabled], [],
1334 [LT_SUPPORTED_TAG([$1])dnl
1335 m4_append([_LT_TAGS], [$1 ])dnl
1336 m4_define([_LT_LANG_]$1[_enabled], [])dnl
1337 _LT_LANG_$1_CONFIG($1)])dnl
1338])# _LT_LANG
1339
1340
1341# _LT_LANG_DEFAULT_CONFIG
1342# -----------------------
1343m4_defun([_LT_LANG_DEFAULT_CONFIG],
1344[AC_PROVIDE_IFELSE([AC_PROG_CXX],
1345 [LT_LANG(CXX)],
1346 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
1347
1348AC_PROVIDE_IFELSE([AC_PROG_F77],
1349 [LT_LANG(F77)],
1350 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
1351
1352AC_PROVIDE_IFELSE([AC_PROG_FC],
1353 [LT_LANG(FC)],
1354 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
1355
1356dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
1357dnl pulling things in needlessly.
1358AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1359 [LT_LANG(GCJ)],
1360 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1361 [LT_LANG(GCJ)],
1362 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
1363 [LT_LANG(GCJ)],
1364 [m4_ifdef([AC_PROG_GCJ],
1365 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
1366 m4_ifdef([A][M_PROG_GCJ],
1367 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
1368 m4_ifdef([LT_PROG_GCJ],
1369 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
1370
1371AC_PROVIDE_IFELSE([LT_PROG_RC],
1372 [LT_LANG(RC)],
1373 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
1374])# _LT_LANG_DEFAULT_CONFIG
1375
1376# Obsolete macros:
1377AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
1378AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1379AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1380AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1381AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1382dnl aclocal-1.4 backwards compatibility:
1383dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1384dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1385dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1386dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1387dnl AC_DEFUN([AC_LIBTOOL_RC], [])
1388
1389
1390# _LT_TAG_COMPILER
1391# ----------------
1392m4_defun([_LT_TAG_COMPILER],
710[AC_REQUIRE([AC_PROG_CC])dnl1393[AC_REQUIRE([AC_PROG_CC])dnl
7111394
1395_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
1396_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
1397_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
1398_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
1399
712# If no C compiler was specified, use CC.1400# If no C compiler was specified, use CC.
713LTCC=${LTCC-"$CC"}1401LTCC=${LTCC-"$CC"}
7141402
@@ -717,36 +1405,20 @@
7171405
718# Allow CC to be a program name with arguments.1406# Allow CC to be a program name with arguments.
719compiler=$CC1407compiler=$CC
720])# _LT_AC_SYS_COMPILER1408])# _LT_TAG_COMPILER
721
722
723# _LT_CC_BASENAME(CC)
724# -------------------
725# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
726AC_DEFUN([_LT_CC_BASENAME],
727[for cc_temp in $1""; do
728 case $cc_temp in
729 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
730 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
731 \-*) ;;
732 *) break;;
733 esac
734done
735cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
736])
7371409
7381410
739# _LT_COMPILER_BOILERPLATE1411# _LT_COMPILER_BOILERPLATE
740# ------------------------1412# ------------------------
741# Check for compiler boilerplate output or warnings with1413# Check for compiler boilerplate output or warnings with
742# the simple compiler test code.1414# the simple compiler test code.
743AC_DEFUN([_LT_COMPILER_BOILERPLATE],1415m4_defun([_LT_COMPILER_BOILERPLATE],
744[AC_REQUIRE([LT_AC_PROG_SED])dnl1416[m4_require([_LT_DECL_SED])dnl
745ac_outfile=conftest.$ac_objext1417ac_outfile=conftest.$ac_objext
746echo "$lt_simple_compile_test_code" >conftest.$ac_ext1418echo "$lt_simple_compile_test_code" >conftest.$ac_ext
747eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err1419eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
748_lt_compiler_boilerplate=`cat conftest.err`1420_lt_compiler_boilerplate=`cat conftest.err`
749$rm conftest*1421$RM conftest*
750])# _LT_COMPILER_BOILERPLATE1422])# _LT_COMPILER_BOILERPLATE
7511423
7521424
@@ -754,216 +1426,311 @@
754# ----------------------1426# ----------------------
755# Check for linker boilerplate output or warnings with1427# Check for linker boilerplate output or warnings with
756# the simple link test code.1428# the simple link test code.
757AC_DEFUN([_LT_LINKER_BOILERPLATE],1429m4_defun([_LT_LINKER_BOILERPLATE],
758[AC_REQUIRE([LT_AC_PROG_SED])dnl1430[m4_require([_LT_DECL_SED])dnl
759ac_outfile=conftest.$ac_objext1431ac_outfile=conftest.$ac_objext
760echo "$lt_simple_link_test_code" >conftest.$ac_ext1432echo "$lt_simple_link_test_code" >conftest.$ac_ext
761eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err1433eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
762_lt_linker_boilerplate=`cat conftest.err`1434_lt_linker_boilerplate=`cat conftest.err`
763$rm conftest*1435$RM -r conftest*
764])# _LT_LINKER_BOILERPLATE1436])# _LT_LINKER_BOILERPLATE
7651437
7661438# _LT_REQUIRED_DARWIN_CHECKS
767# _LT_AC_SYS_LIBPATH_AIX1439# -------------------------
768# ----------------------1440m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1441 case $host_os in
1442 rhapsody* | darwin*)
1443 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1444 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1445 AC_CHECK_TOOL([LIPO], [lipo], [:])
1446 AC_CHECK_TOOL([OTOOL], [otool], [:])
1447 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
1448 _LT_DECL([], [DSYMUTIL], [1],
1449 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
1450 _LT_DECL([], [NMEDIT], [1],
1451 [Tool to change global to local symbols on Mac OS X])
1452 _LT_DECL([], [LIPO], [1],
1453 [Tool to manipulate fat objects and archives on Mac OS X])
1454 _LT_DECL([], [OTOOL], [1],
1455 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1456 _LT_DECL([], [OTOOL64], [1],
1457 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1458
1459 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1460 [lt_cv_apple_cc_single_mod=no
1461 if test -z "${LT_MULTI_MODULE}"; then
1462 # By default we will add the -single_module flag. You can override
1463 # by either setting the environment variable LT_MULTI_MODULE
1464 # non-empty at configure time, or by adding -multi_module to the
1465 # link flags.
1466 rm -rf libconftest.dylib*
1467 echo "int foo(void){return 1;}" > conftest.c
1468 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1469-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1470 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1471 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1472 _lt_result=$?
1473 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1474 lt_cv_apple_cc_single_mod=yes
1475 else
1476 cat conftest.err >&AS_MESSAGE_LOG_FD
1477 fi
1478 rm -rf libconftest.dylib*
1479 rm -f conftest.*
1480 fi])
1481 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1482 [lt_cv_ld_exported_symbols_list],
1483 [lt_cv_ld_exported_symbols_list=no
1484 save_LDFLAGS=$LDFLAGS
1485 echo "_main" > conftest.sym
1486 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1487 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1488 [lt_cv_ld_exported_symbols_list=yes],
1489 [lt_cv_ld_exported_symbols_list=no])
1490 LDFLAGS="$save_LDFLAGS"
1491 ])
1492 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1493 [lt_cv_ld_force_load=no
1494 cat > conftest.c << _LT_EOF
1495int forced_loaded() { return 2;}
1496_LT_EOF
1497 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1498 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1499 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1500 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1501 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1502 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1503 cat > conftest.c << _LT_EOF
1504int main() { return 0;}
1505_LT_EOF
1506 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1507 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1508 _lt_result=$?
1509 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1510 lt_cv_ld_force_load=yes
1511 else
1512 cat conftest.err >&AS_MESSAGE_LOG_FD
1513 fi
1514 rm -f conftest.err libconftest.a conftest conftest.c
1515 rm -rf conftest.dSYM
1516 ])
1517 case $host_os in
1518 rhapsody* | darwin1.[[012]])
1519 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1520 darwin1.*)
1521 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1522 darwin*) # darwin 5.x on
1523 # if running on 10.5 or later, the deployment target defaults
1524 # to the OS version, if on x86, and 10.4, the deployment
1525 # target defaults to 10.4. Don't you love it?
1526 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1527 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1528 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1529 10.[[012]]*)
1530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1531 10.*)
1532 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1533 esac
1534 ;;
1535 esac
1536 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1537 _lt_dar_single_mod='$single_module'
1538 fi
1539 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1540 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1541 else
1542 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1543 fi
1544 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1545 _lt_dsymutil='~$DSYMUTIL $lib || :'
1546 else
1547 _lt_dsymutil=
1548 fi
1549 ;;
1550 esac
1551])
1552
1553
1554# _LT_DARWIN_LINKER_FEATURES
1555# --------------------------
1556# Checks for linker and compiler features on darwin
1557m4_defun([_LT_DARWIN_LINKER_FEATURES],
1558[
1559 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1560 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1561 _LT_TAGVAR(hardcode_direct, $1)=no
1562 _LT_TAGVAR(hardcode_automatic, $1)=yes
1563 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1564 if test "$lt_cv_ld_force_load" = "yes"; then
1565 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1566 else
1567 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1568 fi
1569 _LT_TAGVAR(link_all_deplibs, $1)=yes
1570 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1571 case $cc_basename in
1572 ifort*) _lt_dar_can_shared=yes ;;
1573 *) _lt_dar_can_shared=$GCC ;;
1574 esac
1575 if test "$_lt_dar_can_shared" = "yes"; then
1576 output_verbose_link_cmd=func_echo_all
1577 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1578 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1579 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1580 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
1581 m4_if([$1], [CXX],
1582[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1583 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1584 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
1585 fi
1586],[])
1587 else
1588 _LT_TAGVAR(ld_shlibs, $1)=no
1589 fi
1590])
1591
1592# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
1593# ----------------------------------
769# Links a minimal program and checks the executable1594# Links a minimal program and checks the executable
770# for the system default hardcoded library path. In most cases,1595# for the system default hardcoded library path. In most cases,
771# this is /usr/lib:/lib, but when the MPI compilers are used1596# this is /usr/lib:/lib, but when the MPI compilers are used
772# the location of the communication and MPI libs are included too.1597# the location of the communication and MPI libs are included too.
773# If we don't find anything, use the default library path according1598# If we don't find anything, use the default library path according
774# to the aix ld manual.1599# to the aix ld manual.
775AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],1600# Store the results from the different compilers for each TAGNAME.
776[AC_REQUIRE([LT_AC_PROG_SED])dnl1601# Allow to override them for all tags through lt_cv_aix_libpath.
777AC_LINK_IFELSE(AC_LANG_PROGRAM,[1602m4_defun([_LT_SYS_MODULE_PATH_AIX],
778lt_aix_libpath_sed='1603[m4_require([_LT_DECL_SED])dnl
779 /Import File Strings/,/^$/ {1604if test "${lt_cv_aix_libpath+set}" = set; then
780 /^0/ {1605 aix_libpath=$lt_cv_aix_libpath
781 s/^0 *\(.*\)$/\1/1606else
782 p1607 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
783 }1608 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
784 }'1609 lt_aix_libpath_sed='[
785aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`1610 /Import File Strings/,/^$/ {
786# Check for a 64-bit object if we didn't find anything.1611 /^0/ {
787if test -z "$aix_libpath"; then1612 s/^0 *\([^ ]*\) *$/\1/
788 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`1613 p
789fi],[])1614 }
790if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi1615 }]'
791])# _LT_AC_SYS_LIBPATH_AIX1616 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7921617 # Check for a 64-bit object if we didn't find anything.
7931618 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
794# _LT_AC_SHELL_INIT(ARG)1619 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
795# ----------------------1620 fi],[])
796AC_DEFUN([_LT_AC_SHELL_INIT],1621 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
797[ifdef([AC_DIVERSION_NOTICE],1622 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
798 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
799 [AC_DIVERT_PUSH(NOTICE)])
800$1
801AC_DIVERT_POP
802])# _LT_AC_SHELL_INIT
803
804
805# _LT_AC_PROG_ECHO_BACKSLASH
806# --------------------------
807# Add some code to the start of the generated configure script which
808# will find an echo command which doesn't interpret backslashes.
809AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
810[_LT_AC_SHELL_INIT([
811# Check that we are running under the correct shell.
812SHELL=${CONFIG_SHELL-/bin/sh}
813
814case X$ECHO in
815X*--fallback-echo)
816 # Remove one level of quotation (which was required for Make).
817 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
818 ;;
819esac
820
821echo=${ECHO-echo}
822if test "X[$]1" = X--no-reexec; then
823 # Discard the --no-reexec flag, and continue.
824 shift
825elif test "X[$]1" = X--fallback-echo; then
826 # Avoid inline document here, it may be left over
827 :
828elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
829 # Yippee, $echo works!
830 :
831else
832 # Restart under the correct shell.
833 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
834fi
835
836if test "X[$]1" = X--fallback-echo; then
837 # used as fallback echo
838 shift
839 cat <<EOF
840[$]*
841EOF
842 exit 0
843fi
844
845# The HP-UX ksh and POSIX shell print the target directory to stdout
846# if CDPATH is set.
847(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
848
849if test -z "$ECHO"; then
850if test "X${echo_test_string+set}" != Xset; then
851# find a string as large as possible, as long as the shell can cope with it
852 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
853 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
854 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
855 echo_test_string=`eval $cmd` &&
856 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
857 then
858 break
859 fi
860 done
861fi
862
863if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
864 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
865 test "X$echo_testing_string" = "X$echo_test_string"; then
866 :
867else
868 # The Solaris, AIX, and Digital Unix default echo programs unquote
869 # backslashes. This makes it impossible to quote backslashes using
870 # echo "$something" | sed 's/\\/\\\\/g'
871 #
872 # So, first we look for a working echo in the user's PATH.
873
874 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
875 for dir in $PATH /usr/ucb; do
876 IFS="$lt_save_ifs"
877 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
878 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
879 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
880 test "X$echo_testing_string" = "X$echo_test_string"; then
881 echo="$dir/echo"
882 break
883 fi
884 done
885 IFS="$lt_save_ifs"
886
887 if test "X$echo" = Xecho; then
888 # We didn't find a better echo, so look for alternatives.
889 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
890 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
891 test "X$echo_testing_string" = "X$echo_test_string"; then
892 # This shell has a builtin print -r that does the trick.
893 echo='print -r'
894 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
895 test "X$CONFIG_SHELL" != X/bin/ksh; then
896 # If we have ksh, try running configure again with it.
897 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
898 export ORIGINAL_CONFIG_SHELL
899 CONFIG_SHELL=/bin/ksh
900 export CONFIG_SHELL
901 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
902 else
903 # Try using printf.
904 echo='printf %s\n'
905 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
906 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
907 test "X$echo_testing_string" = "X$echo_test_string"; then
908 # Cool, printf works
909 :
910 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
911 test "X$echo_testing_string" = 'X\t' &&
912 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
913 test "X$echo_testing_string" = "X$echo_test_string"; then
914 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
915 export CONFIG_SHELL
916 SHELL="$CONFIG_SHELL"
917 export SHELL
918 echo="$CONFIG_SHELL [$]0 --fallback-echo"
919 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
920 test "X$echo_testing_string" = 'X\t' &&
921 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
922 test "X$echo_testing_string" = "X$echo_test_string"; then
923 echo="$CONFIG_SHELL [$]0 --fallback-echo"
924 else
925 # maybe with a smaller string...
926 prev=:
927
928 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
929 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
930 then
931 break
932 fi
933 prev="$cmd"
934 done
935
936 if test "$prev" != 'sed 50q "[$]0"'; then
937 echo_test_string=`eval $prev`
938 export echo_test_string
939 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
940 else
941 # Oops. We lost completely, so just stick with echo.
942 echo=echo
943 fi
944 fi
945 fi
946 fi1623 fi
947fi1624 ])
948fi1625 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
9491626fi
950# Copy echo and quote the copy suitably for passing to libtool from1627])# _LT_SYS_MODULE_PATH_AIX
951# the Makefile, instead of quoting the original, which is used later.1628
952ECHO=$echo1629
953if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then1630# _LT_SHELL_INIT(ARG)
954 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"1631# -------------------
955fi1632m4_define([_LT_SHELL_INIT],
9561633[m4_divert_text([M4SH-INIT], [$1
957AC_SUBST(ECHO)1634])])# _LT_SHELL_INIT
958])])# _LT_AC_PROG_ECHO_BACKSLASH1635
9591636
9601637
961# _LT_AC_LOCK1638# _LT_PROG_ECHO_BACKSLASH
962# -----------1639# -----------------------
963AC_DEFUN([_LT_AC_LOCK],1640# Find how we can fake an echo command that does not interpret backslash.
1641# In particular, with Autoconf 2.60 or later we add some code to the start
1642# of the generated configure script which will find a shell with a builtin
1643# printf (which we can use as an echo command).
1644m4_defun([_LT_PROG_ECHO_BACKSLASH],
1645[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1646ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1647ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1648
1649AC_MSG_CHECKING([how to print strings])
1650# Test print first, because it will be a builtin if present.
1651if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1652 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1653 ECHO='print -r --'
1654elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1655 ECHO='printf %s\n'
1656else
1657 # Use this function as a fallback that always works.
1658 func_fallback_echo ()
1659 {
1660 eval 'cat <<_LTECHO_EOF
1661$[]1
1662_LTECHO_EOF'
1663 }
1664 ECHO='func_fallback_echo'
1665fi
1666
1667# func_echo_all arg...
1668# Invoke $ECHO with all args, space-separated.
1669func_echo_all ()
1670{
1671 $ECHO "$*"
1672}
1673
1674case "$ECHO" in
1675 printf*) AC_MSG_RESULT([printf]) ;;
1676 print*) AC_MSG_RESULT([print -r]) ;;
1677 *) AC_MSG_RESULT([cat]) ;;
1678esac
1679
1680m4_ifdef([_AS_DETECT_SUGGESTED],
1681[_AS_DETECT_SUGGESTED([
1682 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1683 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1684 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1685 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1686 PATH=/empty FPATH=/empty; export PATH FPATH
1687 test "X`printf %s $ECHO`" = "X$ECHO" \
1688 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1689
1690_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1691_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1692])# _LT_PROG_ECHO_BACKSLASH
1693
1694
1695# _LT_WITH_SYSROOT
1696# ----------------
1697AC_DEFUN([_LT_WITH_SYSROOT],
1698[AC_MSG_CHECKING([for sysroot])
1699AC_ARG_WITH([sysroot],
1700[ --with-sysroot[=DIR] Search for dependent libraries within DIR
1701 (or the compiler's sysroot if not specified).],
1702[], [with_sysroot=no])
1703
1704dnl lt_sysroot will always be passed unquoted. We quote it here
1705dnl in case the user passed a directory name.
1706lt_sysroot=
1707case ${with_sysroot} in #(
1708 yes)
1709 if test "$GCC" = yes; then
1710 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1711 fi
1712 ;; #(
1713 /*)
1714 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1715 ;; #(
1716 no|'')
1717 ;; #(
1718 *)
1719 AC_MSG_RESULT([${with_sysroot}])
1720 AC_MSG_ERROR([The sysroot must be an absolute path.])
1721 ;;
1722esac
1723
1724 AC_MSG_RESULT([${lt_sysroot:-no}])
1725_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1726[dependent libraries, and in which our libraries should be installed.])])
1727
1728# _LT_ENABLE_LOCK
1729# ---------------
1730m4_defun([_LT_ENABLE_LOCK],
964[AC_ARG_ENABLE([libtool-lock],1731[AC_ARG_ENABLE([libtool-lock],
965 [AC_HELP_STRING([--disable-libtool-lock],1732 [AS_HELP_STRING([--disable-libtool-lock],
966 [avoid locking (might break parallel builds)])])1733 [avoid locking (might break parallel builds)])])
967test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes1734test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9681735
969# Some flags need to be propagated to the compiler or linker for good1736# Some flags need to be propagated to the compiler or linker for good
@@ -974,94 +1741,93 @@
974 echo 'int i;' > conftest.$ac_ext1741 echo 'int i;' > conftest.$ac_ext
975 if AC_TRY_EVAL(ac_compile); then1742 if AC_TRY_EVAL(ac_compile); then
976 case `/usr/bin/file conftest.$ac_objext` in1743 case `/usr/bin/file conftest.$ac_objext` in
977 *ELF-32*)1744 *ELF-32*)
978 HPUX_IA64_MODE="32"1745 HPUX_IA64_MODE="32"
979 ;;1746 ;;
980 *ELF-64*)1747 *ELF-64*)
981 HPUX_IA64_MODE="64"1748 HPUX_IA64_MODE="64"
982 ;;1749 ;;
983 esac1750 esac
984 fi1751 fi
985 rm -rf conftest*1752 rm -rf conftest*
986 ;;1753 ;;
987*-*-irix6*)1754*-*-irix6*)
988 # Find out which ABI we are using.1755 # Find out which ABI we are using.
989 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1756 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
990 if AC_TRY_EVAL(ac_compile); then1757 if AC_TRY_EVAL(ac_compile); then
991 if test "$lt_cv_prog_gnu_ld" = yes; then1758 if test "$lt_cv_prog_gnu_ld" = yes; then
992 case `/usr/bin/file conftest.$ac_objext` in1759 case `/usr/bin/file conftest.$ac_objext` in
993 *32-bit*)1760 *32-bit*)
994 LD="${LD-ld} -melf32bsmip"1761 LD="${LD-ld} -melf32bsmip"
995 ;;1762 ;;
996 *N32*)1763 *N32*)
997 LD="${LD-ld} -melf32bmipn32"1764 LD="${LD-ld} -melf32bmipn32"
998 ;;1765 ;;
999 *64-bit*)1766 *64-bit*)
1000 LD="${LD-ld} -melf64bmip"1767 LD="${LD-ld} -melf64bmip"
1001 ;;1768 ;;
1002 esac1769 esac
1003 else1770 else
1004 case `/usr/bin/file conftest.$ac_objext` in1771 case `/usr/bin/file conftest.$ac_objext` in
1005 *32-bit*)1772 *32-bit*)
1006 LD="${LD-ld} -32"1773 LD="${LD-ld} -32"
1007 ;;1774 ;;
1008 *N32*)1775 *N32*)
1009 LD="${LD-ld} -n32"1776 LD="${LD-ld} -n32"
1010 ;;1777 ;;
1011 *64-bit*)1778 *64-bit*)
1012 LD="${LD-ld} -64"1779 LD="${LD-ld} -64"
1013 ;;1780 ;;
1014 esac1781 esac
1015 fi1782 fi
1016 fi1783 fi
1017 rm -rf conftest*1784 rm -rf conftest*
1018 ;;1785 ;;
10191786
1020x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \1787x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1021s390*-*linux*|sparc*-*linux*)1788s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1022 # Find out which ABI we are using.1789 # Find out which ABI we are using.
1023 echo 'int i;' > conftest.$ac_ext1790 echo 'int i;' > conftest.$ac_ext
1024 if AC_TRY_EVAL(ac_compile); then1791 if AC_TRY_EVAL(ac_compile); then
1025 case `/usr/bin/file conftest.o` in1792 case `/usr/bin/file conftest.o` in
1026 *32-bit*)1793 *32-bit*)
1027 case $host in1794 case $host in
1028 x86_64-*kfreebsd*-gnu)1795 x86_64-*kfreebsd*-gnu)
1029 LD="${LD-ld} -m elf_i386_fbsd"1796 LD="${LD-ld} -m elf_i386_fbsd"
1030 ;;1797 ;;
1031 x86_64-*linux*)1798 x86_64-*linux*)
1032 LD="${LD-ld} -m elf_i386"1799 LD="${LD-ld} -m elf_i386"
1033 ;;1800 ;;
1034 ppc64-*linux*|powerpc64-*linux*)1801 ppc64-*linux*|powerpc64-*linux*)
1035 LD="${LD-ld} -m elf32ppclinux"1802 LD="${LD-ld} -m elf32ppclinux"
1036 ;;1803 ;;
1037 s390x-*linux*)1804 s390x-*linux*)
1038 LD="${LD-ld} -m elf_s390"1805 LD="${LD-ld} -m elf_s390"
1039 ;;1806 ;;
1040 sparc64-*linux*)1807 sparc64-*linux*)
1041 LD="${LD-ld} -m elf32_sparc"1808 LD="${LD-ld} -m elf32_sparc"
1042 ;;1809 ;;
1043 esac1810 esac
1044 ;;1811 ;;
1045 *64-bit*)1812 *64-bit*)
1046 libsuff=641813 case $host in
1047 case $host in1814 x86_64-*kfreebsd*-gnu)
1048 x86_64-*kfreebsd*-gnu)1815 LD="${LD-ld} -m elf_x86_64_fbsd"
1049 LD="${LD-ld} -m elf_x86_64_fbsd"1816 ;;
1050 ;;1817 x86_64-*linux*)
1051 x86_64-*linux*)1818 LD="${LD-ld} -m elf_x86_64"
1052 LD="${LD-ld} -m elf_x86_64"1819 ;;
1053 ;;1820 ppc*-*linux*|powerpc*-*linux*)
1054 ppc*-*linux*|powerpc*-*linux*)1821 LD="${LD-ld} -m elf64ppc"
1055 LD="${LD-ld} -m elf64ppc"1822 ;;
1056 ;;1823 s390*-*linux*|s390*-*tpf*)
1057 s390*-*linux*)1824 LD="${LD-ld} -m elf64_s390"
1058 LD="${LD-ld} -m elf64_s390"1825 ;;
1059 ;;1826 sparc*-*linux*)
1060 sparc*-*linux*)1827 LD="${LD-ld} -m elf64_sparc"
1061 LD="${LD-ld} -m elf64_sparc"1828 ;;
1062 ;;1829 esac
1063 esac1830 ;;
1064 ;;
1065 esac1831 esac
1066 fi1832 fi
1067 rm -rf conftest*1833 rm -rf conftest*
@@ -1073,7 +1839,7 @@
1073 CFLAGS="$CFLAGS -belf"1839 CFLAGS="$CFLAGS -belf"
1074 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,1840 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1075 [AC_LANG_PUSH(C)1841 [AC_LANG_PUSH(C)
1076 AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])1842 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1077 AC_LANG_POP])1843 AC_LANG_POP])
1078 if test x"$lt_cv_cc_needs_belf" != x"yes"; then1844 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1079 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf1845 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
@@ -1088,37 +1854,116 @@
1088 *64-bit*)1854 *64-bit*)
1089 case $lt_cv_prog_gnu_ld in1855 case $lt_cv_prog_gnu_ld in
1090 yes*) LD="${LD-ld} -m elf64_sparc" ;;1856 yes*) LD="${LD-ld} -m elf64_sparc" ;;
1091 *) LD="${LD-ld} -64" ;;1857 *)
1858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1859 LD="${LD-ld} -64"
1860 fi
1861 ;;
1092 esac1862 esac
1093 ;;1863 ;;
1094 esac1864 esac
1095 fi1865 fi
1096 rm -rf conftest*1866 rm -rf conftest*
1097 ;;1867 ;;
1098
1099AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1100[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1101 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1102 AC_CHECK_TOOL(AS, as, false)
1103 AC_CHECK_TOOL(OBJDUMP, objdump, false)
1104 ;;
1105 ])
1106esac1868esac
11071869
1108need_locks="$enable_libtool_lock"1870need_locks="$enable_libtool_lock"
11091871])# _LT_ENABLE_LOCK
1110])# _LT_AC_LOCK1872
11111873
11121874# _LT_PROG_AR
1113# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,1875# -----------
1876m4_defun([_LT_PROG_AR],
1877[AC_CHECK_TOOLS(AR, [ar], false)
1878: ${AR=ar}
1879: ${AR_FLAGS=cru}
1880_LT_DECL([], [AR], [1], [The archiver])
1881_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1882
1883AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1884 [lt_cv_ar_at_file=no
1885 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1886 [echo conftest.$ac_objext > conftest.lst
1887 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1888 AC_TRY_EVAL([lt_ar_try])
1889 if test "$ac_status" -eq 0; then
1890 # Ensure the archiver fails upon bogus file names.
1891 rm -f conftest.$ac_objext libconftest.a
1892 AC_TRY_EVAL([lt_ar_try])
1893 if test "$ac_status" -ne 0; then
1894 lt_cv_ar_at_file=@
1895 fi
1896 fi
1897 rm -f conftest.* libconftest.a
1898 ])
1899 ])
1900
1901if test "x$lt_cv_ar_at_file" = xno; then
1902 archiver_list_spec=
1903else
1904 archiver_list_spec=$lt_cv_ar_at_file
1905fi
1906_LT_DECL([], [archiver_list_spec], [1],
1907 [How to feed a file listing to the archiver])
1908])# _LT_PROG_AR
1909
1910
1911# _LT_CMD_OLD_ARCHIVE
1912# -------------------
1913m4_defun([_LT_CMD_OLD_ARCHIVE],
1914[_LT_PROG_AR
1915
1916AC_CHECK_TOOL(STRIP, strip, :)
1917test -z "$STRIP" && STRIP=:
1918_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1919
1920AC_CHECK_TOOL(RANLIB, ranlib, :)
1921test -z "$RANLIB" && RANLIB=:
1922_LT_DECL([], [RANLIB], [1],
1923 [Commands used to install an old-style archive])
1924
1925# Determine commands to create old-style static archives.
1926old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1927old_postinstall_cmds='chmod 644 $oldlib'
1928old_postuninstall_cmds=
1929
1930if test -n "$RANLIB"; then
1931 case $host_os in
1932 openbsd*)
1933 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1934 ;;
1935 *)
1936 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1937 ;;
1938 esac
1939 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1940fi
1941
1942case $host_os in
1943 darwin*)
1944 lock_old_archive_extraction=yes ;;
1945 *)
1946 lock_old_archive_extraction=no ;;
1947esac
1948_LT_DECL([], [old_postinstall_cmds], [2])
1949_LT_DECL([], [old_postuninstall_cmds], [2])
1950_LT_TAGDECL([], [old_archive_cmds], [2],
1951 [Commands used to build an old-style archive])
1952_LT_DECL([], [lock_old_archive_extraction], [0],
1953 [Whether to use a lock for old archive extraction])
1954])# _LT_CMD_OLD_ARCHIVE
1955
1956
1957# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1114# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])1958# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1115# ----------------------------------------------------------------1959# ----------------------------------------------------------------
1116# Check whether the given compiler option works1960# Check whether the given compiler option works
1117AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],1961AC_DEFUN([_LT_COMPILER_OPTION],
1118[AC_REQUIRE([LT_AC_PROG_SED])1962[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1963m4_require([_LT_DECL_SED])dnl
1119AC_CACHE_CHECK([$1], [$2],1964AC_CACHE_CHECK([$1], [$2],
1120 [$2=no1965 [$2=no
1121 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])1966 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1122 echo "$lt_simple_compile_test_code" > conftest.$ac_ext1967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1123 lt_compiler_flag="$3"1968 lt_compiler_flag="$3"
1124 # Insert the option either (1) after the last *FLAGS variable, or1969 # Insert the option either (1) after the last *FLAGS variable, or
@@ -1130,37 +1975,43 @@
1130 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \1975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1131 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \1976 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1132 -e 's:$: $lt_compiler_flag:'`1977 -e 's:$: $lt_compiler_flag:'`
1133 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)1978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1134 (eval "$lt_compile" 2>conftest.err)1979 (eval "$lt_compile" 2>conftest.err)
1135 ac_status=$?1980 ac_status=$?
1136 cat conftest.err >&AS_MESSAGE_LOG_FD1981 cat conftest.err >&AS_MESSAGE_LOG_FD
1137 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD1982 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1138 if (exit $ac_status) && test -s "$ac_outfile"; then1983 if (exit $ac_status) && test -s "$ac_outfile"; then
1139 # The compiler can only warn and ignore the option if not recognized1984 # The compiler can only warn and ignore the option if not recognized
1140 # So say no if there are warnings other than the usual output.1985 # So say no if there are warnings other than the usual output.
1141 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp1986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er21987 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1143 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then1988 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1144 $2=yes1989 $2=yes
1145 fi1990 fi
1146 fi1991 fi
1147 $rm conftest*1992 $RM conftest*
1148])1993])
11491994
1150if test x"[$]$2" = xyes; then1995if test x"[$]$2" = xyes; then
1151 ifelse([$5], , :, [$5])1996 m4_if([$5], , :, [$5])
1152else1997else
1153 ifelse([$6], , :, [$6])1998 m4_if([$6], , :, [$6])
1154fi1999fi
1155])# AC_LIBTOOL_COMPILER_OPTION2000])# _LT_COMPILER_OPTION
11562001
11572002# Old name:
1158# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,2003AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1159# [ACTION-SUCCESS], [ACTION-FAILURE])2004dnl aclocal-1.4 backwards compatibility:
1160# ------------------------------------------------------------2005dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1161# Check whether the given compiler option works2006
1162AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],2007
1163[AC_REQUIRE([LT_AC_PROG_SED])dnl2008# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2009# [ACTION-SUCCESS], [ACTION-FAILURE])
2010# ----------------------------------------------------
2011# Check whether the given linker option works
2012AC_DEFUN([_LT_LINKER_OPTION],
2013[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2014m4_require([_LT_DECL_SED])dnl
1164AC_CACHE_CHECK([$1], [$2],2015AC_CACHE_CHECK([$1], [$2],
1165 [$2=no2016 [$2=no
1166 save_LDFLAGS="$LDFLAGS"2017 save_LDFLAGS="$LDFLAGS"
@@ -1172,7 +2023,7 @@
1172 if test -s conftest.err; then2023 if test -s conftest.err; then
1173 # Append any errors to the config.log.2024 # Append any errors to the config.log.
1174 cat conftest.err 1>&AS_MESSAGE_LOG_FD2025 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1175 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp2026 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1176 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er22027 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1177 if diff conftest.exp conftest.er2 >/dev/null; then2028 if diff conftest.exp conftest.er2 >/dev/null; then
1178 $2=yes2029 $2=yes
@@ -1181,22 +2032,28 @@
1181 $2=yes2032 $2=yes
1182 fi2033 fi
1183 fi2034 fi
1184 $rm conftest*2035 $RM -r conftest*
1185 LDFLAGS="$save_LDFLAGS"2036 LDFLAGS="$save_LDFLAGS"
1186])2037])
11872038
1188if test x"[$]$2" = xyes; then2039if test x"[$]$2" = xyes; then
1189 ifelse([$4], , :, [$4])2040 m4_if([$4], , :, [$4])
1190else2041else
1191 ifelse([$5], , :, [$5])2042 m4_if([$5], , :, [$5])
1192fi2043fi
1193])# AC_LIBTOOL_LINKER_OPTION2044])# _LT_LINKER_OPTION
11942045
11952046# Old name:
1196# AC_LIBTOOL_SYS_MAX_CMD_LEN2047AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1197# --------------------------2048dnl aclocal-1.4 backwards compatibility:
1198AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],2049dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1199[# find the maximum length of command line arguments2050
2051
2052# LT_CMD_MAX_LEN
2053#---------------
2054AC_DEFUN([LT_CMD_MAX_LEN],
2055[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2056# find the maximum length of command line arguments
1200AC_MSG_CHECKING([the maximum length of command line arguments])2057AC_MSG_CHECKING([the maximum length of command line arguments])
1201AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl2058AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1202 i=02059 i=0
@@ -1218,7 +2075,7 @@
1218 lt_cv_sys_max_cmd_len=-1;2075 lt_cv_sys_max_cmd_len=-1;
1219 ;;2076 ;;
12202077
1221 cygwin* | mingw*)2078 cygwin* | mingw* | cegcc*)
1222 # On Win9x/ME, this test blows up -- it succeeds, but takes2079 # On Win9x/ME, this test blows up -- it succeeds, but takes
1223 # about 5 minutes as the teststring grows exponentially.2080 # about 5 minutes as the teststring grows exponentially.
1224 # Worse, since 9x/ME are not pre-emptively multitasking,2081 # Worse, since 9x/ME are not pre-emptively multitasking,
@@ -1229,6 +2086,11 @@
1229 lt_cv_sys_max_cmd_len=8192;2086 lt_cv_sys_max_cmd_len=8192;
1230 ;;2087 ;;
12312088
2089 mint*)
2090 # On MiNT this can take a long time and run out of memory.
2091 lt_cv_sys_max_cmd_len=8192;
2092 ;;
2093
1232 amigaos*)2094 amigaos*)
1233 # On AmigaOS with pdksh, this test takes hours, literally.2095 # On AmigaOS with pdksh, this test takes hours, literally.
1234 # So we just punt and use a minimum line length of 8192.2096 # So we just punt and use a minimum line length of 8192.
@@ -1273,7 +2135,7 @@
1273 sysv5* | sco5v6* | sysv4.2uw2*)2135 sysv5* | sco5v6* | sysv4.2uw2*)
1274 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`2136 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1275 if test -n "$kargmax"; then2137 if test -n "$kargmax"; then
1276 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`2138 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1277 else2139 else
1278 lt_cv_sys_max_cmd_len=327682140 lt_cv_sys_max_cmd_len=32768
1279 fi2141 fi
@@ -1284,20 +2146,28 @@
1284 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`2146 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1285 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`2147 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1286 else2148 else
2149 # Make teststring a little bigger before we do anything with it.
2150 # a 1K string should be a reasonable start.
2151 for i in 1 2 3 4 5 6 7 8 ; do
2152 teststring=$teststring$teststring
2153 done
1287 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}2154 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1288 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \2155 # If test is not a shell built-in, we'll probably end up computing a
1289 = "XX$teststring") >/dev/null 2>&1 &&2156 # maximum length that is only half of the actual maximum length, but
1290 new_result=`expr "X$teststring" : ".*" 2>&1` &&2157 # we can't tell.
1291 lt_cv_sys_max_cmd_len=$new_result &&2158 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
2159 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1292 test $i != 17 # 1/2 MB should be enough2160 test $i != 17 # 1/2 MB should be enough
1293 do2161 do
1294 i=`expr $i + 1`2162 i=`expr $i + 1`
1295 teststring=$teststring$teststring2163 teststring=$teststring$teststring
1296 done2164 done
2165 # Only check the string length outside the loop.
2166 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1297 teststring=2167 teststring=
1298 # Add a significant safety factor because C++ compilers can tack on massive2168 # Add a significant safety factor because C++ compilers can tack on
1299 # amounts of additional arguments before passing them to the linker.2169 # massive amounts of additional arguments before passing them to the
1300 # It appears as though 1/2 is a usable value.2170 # linker. It appears as though 1/2 is a usable value.
1301 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`2171 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1302 fi2172 fi
1303 ;;2173 ;;
@@ -1308,28 +2178,36 @@
1308else2178else
1309 AC_MSG_RESULT(none)2179 AC_MSG_RESULT(none)
1310fi2180fi
1311])# AC_LIBTOOL_SYS_MAX_CMD_LEN2181max_cmd_len=$lt_cv_sys_max_cmd_len
13122182_LT_DECL([], [max_cmd_len], [0],
13132183 [What is the maximum length of a command?])
1314# _LT_AC_CHECK_DLFCN2184])# LT_CMD_MAX_LEN
1315# ------------------2185
1316AC_DEFUN([_LT_AC_CHECK_DLFCN],2186# Old name:
1317[AC_CHECK_HEADERS(dlfcn.h)dnl2187AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
1318])# _LT_AC_CHECK_DLFCN2188dnl aclocal-1.4 backwards compatibility:
13192189dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
13202190
1321# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,2191
1322# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)2192# _LT_HEADER_DLFCN
1323# ---------------------------------------------------------------------2193# ----------------
1324AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],2194m4_defun([_LT_HEADER_DLFCN],
1325[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl2195[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
2196])# _LT_HEADER_DLFCN
2197
2198
2199# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2200# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2201# ----------------------------------------------------------------
2202m4_defun([_LT_TRY_DLOPEN_SELF],
2203[m4_require([_LT_HEADER_DLFCN])dnl
1326if test "$cross_compiling" = yes; then :2204if test "$cross_compiling" = yes; then :
1327 [$4]2205 [$4]
1328else2206else
1329 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=22207 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1330 lt_status=$lt_dlunknown2208 lt_status=$lt_dlunknown
1331 cat > conftest.$ac_ext <<EOF2209 cat > conftest.$ac_ext <<_LT_EOF
1332[#line __oline__ "configure"2210[#line $LINENO "configure"
1333#include "confdefs.h"2211#include "confdefs.h"
13342212
1335#if HAVE_DLFCN_H2213#if HAVE_DLFCN_H
@@ -1370,11 +2248,13 @@
1370# endif2248# endif
1371#endif2249#endif
13722250
1373#ifdef __cplusplus2251/* When -fvisbility=hidden is used, assume the code has been annotated
1374extern "C" void exit (int);2252 correspondingly for the symbols needed. */
2253#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
2254int fnord () __attribute__((visibility("default")));
1375#endif2255#endif
13762256
1377void fnord() { int i=42;}2257int fnord () { return 42; }
1378int main ()2258int main ()
1379{2259{
1380 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);2260 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -1383,15 +2263,19 @@
1383 if (self)2263 if (self)
1384 {2264 {
1385 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;2265 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1386 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;2266 else
2267 {
2268 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2269 else puts (dlerror ());
2270 }
1387 /* dlclose (self); */2271 /* dlclose (self); */
1388 }2272 }
1389 else2273 else
1390 puts (dlerror ());2274 puts (dlerror ());
13912275
1392 exit (status);2276 return status;
1393}]2277}]
1394EOF2278_LT_EOF
1395 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then2279 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1396 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null2280 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1397 lt_status=$?2281 lt_status=$?
@@ -1406,13 +2290,13 @@
1406 fi2290 fi
1407fi2291fi
1408rm -fr conftest*2292rm -fr conftest*
1409])# _LT_AC_TRY_DLOPEN_SELF2293])# _LT_TRY_DLOPEN_SELF
14102294
14112295
1412# AC_LIBTOOL_DLOPEN_SELF2296# LT_SYS_DLOPEN_SELF
1413# ----------------------2297# ------------------
1414AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],2298AC_DEFUN([LT_SYS_DLOPEN_SELF],
1415[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl2299[m4_require([_LT_HEADER_DLFCN])dnl
1416if test "x$enable_dlopen" != xyes; then2300if test "x$enable_dlopen" != xyes; then
1417 enable_dlopen=unknown2301 enable_dlopen=unknown
1418 enable_dlopen_self=unknown2302 enable_dlopen_self=unknown
@@ -1428,15 +2312,15 @@
1428 lt_cv_dlopen_self=yes2312 lt_cv_dlopen_self=yes
1429 ;;2313 ;;
14302314
1431 mingw* | pw32*)2315 mingw* | pw32* | cegcc*)
1432 lt_cv_dlopen="LoadLibrary"2316 lt_cv_dlopen="LoadLibrary"
1433 lt_cv_dlopen_libs=2317 lt_cv_dlopen_libs=
1434 ;;2318 ;;
14352319
1436 cygwin*)2320 cygwin*)
1437 lt_cv_dlopen="dlopen"2321 lt_cv_dlopen="dlopen"
1438 lt_cv_dlopen_libs=2322 lt_cv_dlopen_libs=
1439 ;;2323 ;;
14402324
1441 darwin*)2325 darwin*)
1442 # if libdl is installed we need to link against it2326 # if libdl is installed we need to link against it
@@ -1446,13 +2330,13 @@
1446 lt_cv_dlopen_libs=2330 lt_cv_dlopen_libs=
1447 lt_cv_dlopen_self=yes2331 lt_cv_dlopen_self=yes
1448 ])2332 ])
1449 ;;2333 ;;
14502334
1451 *)2335 *)
1452 AC_CHECK_FUNC([shl_load],2336 AC_CHECK_FUNC([shl_load],
1453 [lt_cv_dlopen="shl_load"],2337 [lt_cv_dlopen="shl_load"],
1454 [AC_CHECK_LIB([dld], [shl_load],2338 [AC_CHECK_LIB([dld], [shl_load],
1455 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],2339 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1456 [AC_CHECK_FUNC([dlopen],2340 [AC_CHECK_FUNC([dlopen],
1457 [lt_cv_dlopen="dlopen"],2341 [lt_cv_dlopen="dlopen"],
1458 [AC_CHECK_LIB([dl], [dlopen],2342 [AC_CHECK_LIB([dl], [dlopen],
@@ -1460,7 +2344,7 @@
1460 [AC_CHECK_LIB([svld], [dlopen],2344 [AC_CHECK_LIB([svld], [dlopen],
1461 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],2345 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1462 [AC_CHECK_LIB([dld], [dld_link],2346 [AC_CHECK_LIB([dld], [dld_link],
1463 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])2347 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1464 ])2348 ])
1465 ])2349 ])
1466 ])2350 ])
@@ -1488,7 +2372,7 @@
14882372
1489 AC_CACHE_CHECK([whether a program can dlopen itself],2373 AC_CACHE_CHECK([whether a program can dlopen itself],
1490 lt_cv_dlopen_self, [dnl2374 lt_cv_dlopen_self, [dnl
1491 _LT_AC_TRY_DLOPEN_SELF(2375 _LT_TRY_DLOPEN_SELF(
1492 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,2376 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1493 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)2377 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1494 ])2378 ])
@@ -1496,8 +2380,8 @@
1496 if test "x$lt_cv_dlopen_self" = xyes; then2380 if test "x$lt_cv_dlopen_self" = xyes; then
1497 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"2381 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1498 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],2382 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1499 lt_cv_dlopen_self_static, [dnl2383 lt_cv_dlopen_self_static, [dnl
1500 _LT_AC_TRY_DLOPEN_SELF(2384 _LT_TRY_DLOPEN_SELF(
1501 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,2385 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1502 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)2386 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1503 ])2387 ])
@@ -1519,19 +2403,32 @@
1519 *) enable_dlopen_self_static=unknown ;;2403 *) enable_dlopen_self_static=unknown ;;
1520 esac2404 esac
1521fi2405fi
1522])# AC_LIBTOOL_DLOPEN_SELF2406_LT_DECL([dlopen_support], [enable_dlopen], [0],
15232407 [Whether dlopen is supported])
15242408_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
1525# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])2409 [Whether dlopen of programs is supported])
1526# ---------------------------------2410_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
1527# Check to see if options -c and -o are simultaneously supported by compiler2411 [Whether dlopen of statically linked programs is supported])
1528AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],2412])# LT_SYS_DLOPEN_SELF
1529[AC_REQUIRE([LT_AC_PROG_SED])dnl2413
1530AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl2414# Old name:
2415AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
2416dnl aclocal-1.4 backwards compatibility:
2417dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
2418
2419
2420# _LT_COMPILER_C_O([TAGNAME])
2421# ---------------------------
2422# Check to see if options -c and -o are simultaneously supported by compiler.
2423# This macro does not hard code the compiler like AC_PROG_CC_C_O.
2424m4_defun([_LT_COMPILER_C_O],
2425[m4_require([_LT_DECL_SED])dnl
2426m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2427m4_require([_LT_TAG_COMPILER])dnl
1531AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],2428AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1532 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],2429 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1533 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no2430 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1534 $rm -r conftest 2>/dev/null2431 $RM -r conftest 2>/dev/null
1535 mkdir conftest2432 mkdir conftest
1536 cd conftest2433 cd conftest
1537 mkdir out2434 mkdir out
@@ -1546,46 +2443,50 @@
1546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \2443 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1547 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \2444 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1548 -e 's:$: $lt_compiler_flag:'`2445 -e 's:$: $lt_compiler_flag:'`
1549 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)2446 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1550 (eval "$lt_compile" 2>out/conftest.err)2447 (eval "$lt_compile" 2>out/conftest.err)
1551 ac_status=$?2448 ac_status=$?
1552 cat out/conftest.err >&AS_MESSAGE_LOG_FD2449 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1553 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD2450 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1554 if (exit $ac_status) && test -s out/conftest2.$ac_objext2451 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1555 then2452 then
1556 # The compiler can only warn and ignore the option if not recognized2453 # The compiler can only warn and ignore the option if not recognized
1557 # So say no if there are warnings2454 # So say no if there are warnings
1558 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp2455 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1559 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er22456 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1560 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then2457 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1561 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes2458 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1562 fi2459 fi
1563 fi2460 fi
1564 chmod u+w . 2>&AS_MESSAGE_LOG_FD2461 chmod u+w . 2>&AS_MESSAGE_LOG_FD
1565 $rm conftest*2462 $RM conftest*
1566 # SGI C++ compiler will create directory out/ii_files/ for2463 # SGI C++ compiler will create directory out/ii_files/ for
1567 # template instantiation2464 # template instantiation
1568 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files2465 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
1569 $rm out/* && rmdir out2466 $RM out/* && rmdir out
1570 cd ..2467 cd ..
1571 rmdir conftest2468 $RM -r conftest
1572 $rm conftest*2469 $RM conftest*
1573])2470])
1574])# AC_LIBTOOL_PROG_CC_C_O2471_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
15752472 [Does compiler simultaneously support -c and -o options?])
15762473])# _LT_COMPILER_C_O
1577# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])2474
1578# -----------------------------------------2475
2476# _LT_COMPILER_FILE_LOCKS([TAGNAME])
2477# ----------------------------------
1579# Check to see if we can do hard links to lock some files if needed2478# Check to see if we can do hard links to lock some files if needed
1580AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],2479m4_defun([_LT_COMPILER_FILE_LOCKS],
1581[AC_REQUIRE([_LT_AC_LOCK])dnl2480[m4_require([_LT_ENABLE_LOCK])dnl
2481m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2482_LT_COMPILER_C_O([$1])
15822483
1583hard_links="nottested"2484hard_links="nottested"
1584if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then2485if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1585 # do not overwrite the value of need_locks provided by the user2486 # do not overwrite the value of need_locks provided by the user
1586 AC_MSG_CHECKING([if we can lock with hard links])2487 AC_MSG_CHECKING([if we can lock with hard links])
1587 hard_links=yes2488 hard_links=yes
1588 $rm conftest*2489 $RM conftest*
1589 ln conftest.a conftest.b 2>/dev/null && hard_links=no2490 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1590 touch conftest.a2491 touch conftest.a
1591 ln conftest.a conftest.b 2>&5 || hard_links=no2492 ln conftest.a conftest.b 2>&5 || hard_links=no
@@ -1598,12 +2499,13 @@
1598else2499else
1599 need_locks=no2500 need_locks=no
1600fi2501fi
1601])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS2502_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
16022503])# _LT_COMPILER_FILE_LOCKS
16032504
1604# AC_LIBTOOL_OBJDIR2505
1605# -----------------2506# _LT_CHECK_OBJDIR
1606AC_DEFUN([AC_LIBTOOL_OBJDIR],2507# ----------------
2508m4_defun([_LT_CHECK_OBJDIR],
1607[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],2509[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1608[rm -f .libs 2>/dev/null2510[rm -f .libs 2>/dev/null
1609mkdir .libs 2>/dev/null2511mkdir .libs 2>/dev/null
@@ -1615,40 +2517,46 @@
1615fi2517fi
1616rmdir .libs 2>/dev/null])2518rmdir .libs 2>/dev/null])
1617objdir=$lt_cv_objdir2519objdir=$lt_cv_objdir
1618])# AC_LIBTOOL_OBJDIR2520_LT_DECL([], [objdir], [0],
16192521 [The name of the directory that contains temporary libtool files])dnl
16202522m4_pattern_allow([LT_OBJDIR])dnl
1621# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])2523AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
1622# ----------------------------------------------2524 [Define to the sub-directory in which libtool stores uninstalled libraries.])
2525])# _LT_CHECK_OBJDIR
2526
2527
2528# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2529# --------------------------------------
1623# Check hardcoding attributes.2530# Check hardcoding attributes.
1624AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],2531m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
1625[AC_MSG_CHECKING([how to hardcode library paths into programs])2532[AC_MSG_CHECKING([how to hardcode library paths into programs])
1626_LT_AC_TAGVAR(hardcode_action, $1)=2533_LT_TAGVAR(hardcode_action, $1)=
1627if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \2534if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
1628 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \2535 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
1629 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then2536 test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
16302537
1631 # We can hardcode non-existant directories.2538 # We can hardcode non-existent directories.
1632 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&2539 if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
1633 # If the only mechanism to avoid hardcoding is shlibpath_var, we2540 # If the only mechanism to avoid hardcoding is shlibpath_var, we
1634 # have to relink, otherwise we might link with an installed library2541 # have to relink, otherwise we might link with an installed library
1635 # when we should be linking with a yet-to-be-installed one2542 # when we should be linking with a yet-to-be-installed one
1636 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&2543 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1637 test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then2544 test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
1638 # Linking always hardcodes the temporary library directory.2545 # Linking always hardcodes the temporary library directory.
1639 _LT_AC_TAGVAR(hardcode_action, $1)=relink2546 _LT_TAGVAR(hardcode_action, $1)=relink
1640 else2547 else
1641 # We can link without hardcoding, and we can hardcode nonexisting dirs.2548 # We can link without hardcoding, and we can hardcode nonexisting dirs.
1642 _LT_AC_TAGVAR(hardcode_action, $1)=immediate2549 _LT_TAGVAR(hardcode_action, $1)=immediate
1643 fi2550 fi
1644else2551else
1645 # We cannot hardcode anything, or else we can only hardcode existing2552 # We cannot hardcode anything, or else we can only hardcode existing
1646 # directories.2553 # directories.
1647 _LT_AC_TAGVAR(hardcode_action, $1)=unsupported2554 _LT_TAGVAR(hardcode_action, $1)=unsupported
1648fi2555fi
1649AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])2556AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
16502557
1651if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then2558if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
2559 test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
1652 # Fast installation is not supported2560 # Fast installation is not supported
1653 enable_fast_install=no2561 enable_fast_install=no
1654elif test "$shlibpath_overrides_runpath" = yes ||2562elif test "$shlibpath_overrides_runpath" = yes ||
@@ -1656,74 +2564,79 @@
1656 # Fast installation is not necessary2564 # Fast installation is not necessary
1657 enable_fast_install=needless2565 enable_fast_install=needless
1658fi2566fi
1659])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH2567_LT_TAGDECL([], [hardcode_action], [0],
16602568 [How to hardcode a shared library path into an executable])
16612569])# _LT_LINKER_HARDCODE_LIBPATH
1662# AC_LIBTOOL_SYS_LIB_STRIP2570
1663# ------------------------2571
1664AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],2572# _LT_CMD_STRIPLIB
1665[striplib=2573# ----------------
2574m4_defun([_LT_CMD_STRIPLIB],
2575[m4_require([_LT_DECL_EGREP])
2576striplib=
1666old_striplib=2577old_striplib=
1667AC_MSG_CHECKING([whether stripping libraries is possible])2578AC_MSG_CHECKING([whether stripping libraries is possible])
1668if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then2579if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
1669 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"2580 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1670 test -z "$striplib" && striplib="$STRIP --strip-unneeded"2581 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1671 AC_MSG_RESULT([yes])2582 AC_MSG_RESULT([yes])
1672else2583else
1673# FIXME - insert some real tests, host_os isn't really good enough2584# FIXME - insert some real tests, host_os isn't really good enough
1674 case $host_os in2585 case $host_os in
1675 darwin*)2586 darwin*)
1676 if test -n "$STRIP" ; then2587 if test -n "$STRIP" ; then
1677 striplib="$STRIP -x"2588 striplib="$STRIP -x"
1678 old_striplib="$STRIP -S"2589 old_striplib="$STRIP -S"
1679 AC_MSG_RESULT([yes])2590 AC_MSG_RESULT([yes])
1680 else2591 else
1681 AC_MSG_RESULT([no])2592 AC_MSG_RESULT([no])
1682fi2593 fi
1683 ;;2594 ;;
1684 *)2595 *)
1685 AC_MSG_RESULT([no])2596 AC_MSG_RESULT([no])
1686 ;;2597 ;;
1687 esac2598 esac
1688fi2599fi
1689])# AC_LIBTOOL_SYS_LIB_STRIP2600_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
16902601_LT_DECL([], [striplib], [1])
16912602])# _LT_CMD_STRIPLIB
1692# AC_LIBTOOL_SYS_DYNAMIC_LINKER2603
2604
2605# _LT_SYS_DYNAMIC_LINKER([TAG])
1693# -----------------------------2606# -----------------------------
1694# PORTME Fill in your ld.so characteristics2607# PORTME Fill in your ld.so characteristics
1695AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],2608m4_defun([_LT_SYS_DYNAMIC_LINKER],
1696[AC_REQUIRE([LT_AC_PROG_SED])dnl2609[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2610m4_require([_LT_DECL_EGREP])dnl
2611m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2612m4_require([_LT_DECL_OBJDUMP])dnl
2613m4_require([_LT_DECL_SED])dnl
2614m4_require([_LT_CHECK_SHELL_FEATURES])dnl
1697AC_MSG_CHECKING([dynamic linker characteristics])2615AC_MSG_CHECKING([dynamic linker characteristics])
1698library_names_spec=2616m4_if([$1],
1699libname_spec='lib$name'2617 [], [
1700soname_spec=
1701shrext_cmds=".so"
1702postinstall_cmds=
1703postuninstall_cmds=
1704finish_cmds=
1705finish_eval=
1706shlibpath_var=
1707shlibpath_overrides_runpath=unknown
1708version_type=none
1709dynamic_linker="$host_os ld.so"
1710sys_lib_dlsearch_path_spec="/lib /usr/lib"
1711m4_if($1,[],[
1712if test "$GCC" = yes; then2618if test "$GCC" = yes; then
1713 case $host_os in2619 case $host_os in
1714 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;2620 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1715 *) lt_awk_arg="/^libraries:/" ;;2621 *) lt_awk_arg="/^libraries:/" ;;
1716 esac2622 esac
1717 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`2623 case $host_os in
1718 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then2624 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2625 *) lt_sed_strip_eq="s,=/,/,g" ;;
2626 esac
2627 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2628 case $lt_search_path_spec in
2629 *\;*)
1719 # if the path contains ";" then we assume it to be the separator2630 # if the path contains ";" then we assume it to be the separator
1720 # otherwise default to the standard path separator (i.e. ":") - it is2631 # otherwise default to the standard path separator (i.e. ":") - it is
1721 # assumed that no part of a normal pathname contains ";" but that should2632 # assumed that no part of a normal pathname contains ";" but that should
1722 # okay in the real world where ";" in dirpaths is itself problematic.2633 # okay in the real world where ";" in dirpaths is itself problematic.
1723 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`2634 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
1724 else2635 ;;
1725 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`2636 *)
1726 fi2637 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2638 ;;
2639 esac
1727 # Ok, now we have the path, separated by spaces, we can step through it2640 # Ok, now we have the path, separated by spaces, we can step through it
1728 # and add multilib dir if necessary.2641 # and add multilib dir if necessary.
1729 lt_tmp_lt_search_path_spec=2642 lt_tmp_lt_search_path_spec=
@@ -1736,7 +2649,7 @@
1736 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"2649 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1737 fi2650 fi
1738 done2651 done
1739 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '2652 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1740BEGIN {RS=" "; FS="/|\n";} {2653BEGIN {RS=" "; FS="/|\n";} {
1741 lt_foo="";2654 lt_foo="";
1742 lt_count=0;2655 lt_count=0;
@@ -1756,10 +2669,29 @@
1756 if (lt_foo != "") { lt_freq[[lt_foo]]++; }2669 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1757 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }2670 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1758}'`2671}'`
1759 sys_lib_search_path_spec=`echo $lt_search_path_spec`2672 # AWK program above erroneously prepends '/' to C:/dos/paths
2673 # for these hosts.
2674 case $host_os in
2675 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2676 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
2677 esac
2678 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1760else2679else
1761 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"2680 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1762fi])2681fi])
2682library_names_spec=
2683libname_spec='lib$name'
2684soname_spec=
2685shrext_cmds=".so"
2686postinstall_cmds=
2687postuninstall_cmds=
2688finish_cmds=
2689finish_eval=
2690shlibpath_var=
2691shlibpath_overrides_runpath=unknown
2692version_type=none
2693dynamic_linker="$host_os ld.so"
2694sys_lib_dlsearch_path_spec="/lib /usr/lib"
1763need_lib_prefix=unknown2695need_lib_prefix=unknown
1764hardcode_into_libs=no2696hardcode_into_libs=no
17652697
@@ -1777,7 +2709,7 @@
1777 soname_spec='${libname}${release}${shared_ext}$major'2709 soname_spec='${libname}${release}${shared_ext}$major'
1778 ;;2710 ;;
17792711
1780aix4* | aix5*)2712aix[[4-9]]*)
1781 version_type=linux2713 version_type=linux
1782 need_lib_prefix=no2714 need_lib_prefix=no
1783 need_version=no2715 need_version=no
@@ -1796,7 +2728,7 @@
1796 aix4 | aix4.[[01]] | aix4.[[01]].*)2728 aix4 | aix4.[[01]] | aix4.[[01]].*)
1797 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'2729 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1798 echo ' yes '2730 echo ' yes '
1799 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then2731 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1800 :2732 :
1801 else2733 else
1802 can_build_shared=no2734 can_build_shared=no
@@ -1822,9 +2754,18 @@
1822 ;;2754 ;;
18232755
1824amigaos*)2756amigaos*)
1825 library_names_spec='$libname.ixlibrary $libname.a'2757 case $host_cpu in
1826 # Create ${libname}_ixlibrary.a entries in /sys/libs.2758 powerpc)
1827 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'2759 # Since July 2007 AmigaOS4 officially supports .so libraries.
2760 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2762 ;;
2763 m68k)
2764 library_names_spec='$libname.ixlibrary $libname.a'
2765 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2766 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2767 ;;
2768 esac
1828 ;;2769 ;;
18292770
1830beos*)2771beos*)
@@ -1847,61 +2788,112 @@
1847 # libtool to hard-code these into programs2788 # libtool to hard-code these into programs
1848 ;;2789 ;;
18492790
1850cygwin* | mingw* | pw32*)2791cygwin* | mingw* | pw32* | cegcc*)
1851 version_type=windows2792 version_type=windows
1852 shrext_cmds=".dll"2793 shrext_cmds=".dll"
1853 need_version=no2794 need_version=no
1854 need_lib_prefix=no2795 need_lib_prefix=no
18552796
1856 case $GCC,$host_os in2797 case $GCC,$cc_basename in
1857 yes,cygwin* | yes,mingw* | yes,pw32*)2798 yes,*)
2799 # gcc
1858 library_names_spec='$libname.dll.a'2800 library_names_spec='$libname.dll.a'
1859 # DLL is installed to $(libdir)/../bin by postinstall_cmds2801 # DLL is installed to $(libdir)/../bin by postinstall_cmds
1860 postinstall_cmds='base_file=`basename \${file}`~2802 postinstall_cmds='base_file=`basename \${file}`~
1861 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~2803 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1862 dldir=$destdir/`dirname \$dlpath`~2804 dldir=$destdir/`dirname \$dlpath`~
1863 test -d \$dldir || mkdir -p \$dldir~2805 test -d \$dldir || mkdir -p \$dldir~
1864 $install_prog $dir/$dlname \$dldir/$dlname~2806 $install_prog $dir/$dlname \$dldir/$dlname~
1865 chmod a+x \$dldir/$dlname'2807 chmod a+x \$dldir/$dlname~
2808 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2809 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2810 fi'
1866 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~2811 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1867 dlpath=$dir/\$dldll~2812 dlpath=$dir/\$dldll~
1868 $rm \$dlpath'2813 $RM \$dlpath'
1869 shlibpath_overrides_runpath=yes2814 shlibpath_overrides_runpath=yes
18702815
1871 case $host_os in2816 case $host_os in
1872 cygwin*)2817 cygwin*)
1873 # Cygwin DLLs use 'cyg' prefix rather than 'lib'2818 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1874 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2819 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1875 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"2820m4_if([$1], [],[
2821 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
1876 ;;2822 ;;
1877 mingw*)2823 mingw* | cegcc*)
1878 # MinGW DLLs use traditional 'lib' prefix2824 # MinGW DLLs use traditional 'lib' prefix
1879 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2825 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1880 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1881 if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1882 # It is most probably a Windows format PATH printed by
1883 # mingw gcc, but we are running on Cygwin. Gcc prints its search
1884 # path with ; separators, and with drive letters. We can handle the
1885 # drive letters (cygwin fileutils understands them), so leave them,
1886 # especially as we might pass files found there to a mingw objdump,
1887 # which wouldn't understand a cygwinified path. Ahh.
1888 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1889 else
1890 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1891 fi
1892 ;;2826 ;;
1893 pw32*)2827 pw32*)
1894 # pw32 DLLs use 'pw' prefix rather than 'lib'2828 # pw32 DLLs use 'pw' prefix rather than 'lib'
1895 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2829 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1896 ;;2830 ;;
1897 esac2831 esac
2832 dynamic_linker='Win32 ld.exe'
2833 ;;
2834
2835 *,cl*)
2836 # Native MSVC
2837 libname_spec='$name'
2838 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2839 library_names_spec='${libname}.dll.lib'
2840
2841 case $build_os in
2842 mingw*)
2843 sys_lib_search_path_spec=
2844 lt_save_ifs=$IFS
2845 IFS=';'
2846 for lt_path in $LIB
2847 do
2848 IFS=$lt_save_ifs
2849 # Let DOS variable expansion print the short 8.3 style file name.
2850 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
2851 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
2852 done
2853 IFS=$lt_save_ifs
2854 # Convert to MSYS style.
2855 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2856 ;;
2857 cygwin*)
2858 # Convert to unix form, then to dos form, then back to unix form
2859 # but this time dos style (no spaces!) so that the unix form looks
2860 # like /cygdrive/c/PROGRA~1:/cygdr...
2861 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2862 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2863 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2864 ;;
2865 *)
2866 sys_lib_search_path_spec="$LIB"
2867 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2868 # It is most probably a Windows format PATH.
2869 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2870 else
2871 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2872 fi
2873 # FIXME: find the short name or the path components, as spaces are
2874 # common. (e.g. "Program Files" -> "PROGRA~1")
2875 ;;
2876 esac
2877
2878 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2879 postinstall_cmds='base_file=`basename \${file}`~
2880 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
2881 dldir=$destdir/`dirname \$dlpath`~
2882 test -d \$dldir || mkdir -p \$dldir~
2883 $install_prog $dir/$dlname \$dldir/$dlname'
2884 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2885 dlpath=$dir/\$dldll~
2886 $RM \$dlpath'
2887 shlibpath_overrides_runpath=yes
2888 dynamic_linker='Win32 link.exe'
1898 ;;2889 ;;
18992890
1900 *)2891 *)
2892 # Assume MSVC wrapper
1901 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'2893 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2894 dynamic_linker='Win32 ld.exe'
1902 ;;2895 ;;
1903 esac2896 esac
1904 dynamic_linker='Win32 ld.exe'
1905 # FIXME: first we should search . and the directory the executable is in2897 # FIXME: first we should search . and the directory the executable is in
1906 shlibpath_var=PATH2898 shlibpath_var=PATH
1907 ;;2899 ;;
@@ -1911,13 +2903,13 @@
1911 version_type=darwin2903 version_type=darwin
1912 need_lib_prefix=no2904 need_lib_prefix=no
1913 need_version=no2905 need_version=no
1914 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'2906 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1915 soname_spec='${libname}${release}${major}$shared_ext'2907 soname_spec='${libname}${release}${major}$shared_ext'
1916 shlibpath_overrides_runpath=yes2908 shlibpath_overrides_runpath=yes
1917 shlibpath_var=DYLD_LIBRARY_PATH2909 shlibpath_var=DYLD_LIBRARY_PATH
1918 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'2910 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1919 m4_if([$1], [],[2911m4_if([$1], [],[
1920 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 2912 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
1921 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'2913 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1922 ;;2914 ;;
19232915
@@ -1985,6 +2977,20 @@
1985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'2977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1986 soname_spec='${libname}${release}${shared_ext}$major'2978 soname_spec='${libname}${release}${shared_ext}$major'
1987 shlibpath_var=LD_LIBRARY_PATH2979 shlibpath_var=LD_LIBRARY_PATH
2980 shlibpath_overrides_runpath=no
2981 hardcode_into_libs=yes
2982 ;;
2983
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: