Merge lp:~ted/indicator-appmenu/shortcut-fix into lp:indicator-appmenu/0.3
- shortcut-fix
- Merge into trunk
Status: | Rejected |
---|---|
Rejected by: | Ken VanDine |
Proposed branch: | lp:~ted/indicator-appmenu/shortcut-fix |
Merge into: | lp:indicator-appmenu/0.3 |
Diff against target: |
43164 lines (+42287/-715) 32 files modified
.bzrignore (+0/-25) AUTHORS (+7/-1) COPYING (+0/-676) ChangeLog (+1446/-1) INSTALL (+365/-0) Makefile.in (+772/-0) aclocal.m4 (+9251/-0) autogen.sh (+0/-12) compile (+143/-0) config.guess (+1502/-0) config.h.in (+65/-0) config.sub (+1714/-0) configure (+14401/-0) debian/changelog (+226/-0) debian/control (+42/-0) debian/copyright (+33/-0) debian/indicator-appmenu-crashdb.conf (+6/-0) debian/indicator-appmenu-tools.install (+3/-0) debian/indicator-appmenu.install (+3/-0) debian/patches/01-shortcut-fix.patch (+45/-0) debian/rules (+13/-0) debian/source_indicator-appmenu.py (+6/-0) debian/watch (+2/-0) depcomp (+630/-0) install-sh (+520/-0) ltmain.sh (+8413/-0) missing (+376/-0) scripts/Makefile.in (+570/-0) src/Makefile.in (+688/-0) src/application-menu-registrar-server.h (+268/-0) src/indicator-appmenu-marshal.c (+130/-0) tools/Makefile.in (+647/-0) |
To merge this branch: | bzr merge lp:~ted/indicator-appmenu/shortcut-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Disapprove | ||
Review via email:
|
Commit message
Description of the change
The fix for shortcuts (known widely as the GEdit Alt+D problem) as a patch to the desktop packaging branch. This should be good to go into distro, and it's done as a patch so it can hopefully be SRU'd into Maverick.
Unmerged revisions
- 44. By Ted Gould
-
releasing version 0.0.13-0ubuntu4
- 43. By Ted Gould
-
debian/
patches/ 01-shortcut- fix.patch: Fix the handling of showing
the menus so it works with all menus in an application. - 42. By Ken VanDine
-
releasing version 0.0.13-0ubuntu3
- 41. By Ken VanDine
-
releasing version 0.0.13-0ubuntu2
- 40. By Didier Roche-Tolomelli
-
releasing version 0.0.13-0ubuntu1
- 39. By Didier Roche-Tolomelli
-
releasing version 0.0.12-0ubuntu1
- 38. By Didier Roche-Tolomelli
-
- depends on latest libindicator-dev for ABI change
- depends on latest bamf with distro patch
* debian/rules:
- add a patch system
* debian/patches/ 01_bzr_ fix_race_ condition. patch:
- This patch ensures that windows which are already closed according to bamf
are not passed on for processing in mutter. (Jason Smith) (LP: #645355) - 37. By Didier Roche-Tolomelli
-
* New upstream realease:
- Fix Action for top-level dropdown menu item not activated (LP: #637692)
* debian/control:
- debian/control: depends on latest libindicator-dev for ABI change - 36. By Ken VanDine
-
releasing version 0.0.11-0ubuntu3
- 35. By Ken VanDine
-
releasing version 0.0.11-0ubuntu2
Preview Diff
1 | === removed file '.bzrignore' |
2 | --- .bzrignore 2010-09-16 18:33:17 +0000 |
3 | +++ .bzrignore 1970-01-01 00:00:00 +0000 |
4 | @@ -1,25 +0,0 @@ |
5 | -compile |
6 | -gtk-doc.make |
7 | -m4 |
8 | -src/libappmenu.la |
9 | -src/libappmenu_la-indicator-appmenu.lo |
10 | -src/application-menu-registrar-client.h |
11 | -src/application-menu-registrar-server.h |
12 | -src/libappmenu_la-window-menus.lo |
13 | -src/indicator-appmenu-marshal.c |
14 | -src/indicator-appmenu-marshal.h |
15 | -src/stamp-marshal |
16 | -src/libappmenu_la-indicator-appmenu.lo |
17 | -src/libappmenu_la-indicator-appmenu-marshal.lo |
18 | -scripts/.deps |
19 | -scripts/.libs |
20 | -scripts/menu-pusher |
21 | -src/application-menu-debug-client.h |
22 | -src/application-menu-debug-server.h |
23 | -tools/current-menu-dump |
24 | -src/libappmenu_la-gdk-get-func.lo |
25 | -tools/mock-json-app |
26 | -tools/.deps |
27 | -tools/.libs |
28 | -src/application-menu-renderer-client.h |
29 | -src/application-menu-renderer-server.h |
30 | |
31 | === modified file 'AUTHORS' |
32 | --- AUTHORS 2010-09-21 19:51:47 +0000 |
33 | +++ AUTHORS 2010-12-11 02:23:52 +0000 |
34 | @@ -1,2 +1,8 @@ |
35 | -# Generate by Makefile |
36 | +# Generated by Makefile. Do not edit. |
37 | |
38 | + Cody Russell |
39 | + David Barth |
40 | + jassmith@gmail.com |
41 | + Ken VanDine |
42 | + Neil Jagdish Patel |
43 | + Ted Gould |
44 | |
45 | === removed file 'COPYING' |
46 | --- COPYING 2010-05-07 10:55:23 +0000 |
47 | +++ COPYING 1970-01-01 00:00:00 +0000 |
48 | @@ -1,676 +0,0 @@ |
49 | - |
50 | - GNU GENERAL PUBLIC LICENSE |
51 | - Version 3, 29 June 2007 |
52 | - |
53 | - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
54 | - Everyone is permitted to copy and distribute verbatim copies |
55 | - of this license document, but changing it is not allowed. |
56 | - |
57 | - Preamble |
58 | - |
59 | - The GNU General Public License is a free, copyleft license for |
60 | -software and other kinds of works. |
61 | - |
62 | - The licenses for most software and other practical works are designed |
63 | -to take away your freedom to share and change the works. By contrast, |
64 | -the GNU General Public License is intended to guarantee your freedom to |
65 | -share and change all versions of a program--to make sure it remains free |
66 | -software for all its users. We, the Free Software Foundation, use the |
67 | -GNU General Public License for most of our software; it applies also to |
68 | -any other work released this way by its authors. You can apply it to |
69 | -your programs, too. |
70 | - |
71 | - When we speak of free software, we are referring to freedom, not |
72 | -price. Our General Public Licenses are designed to make sure that you |
73 | -have the freedom to distribute copies of free software (and charge for |
74 | -them if you wish), that you receive source code or can get it if you |
75 | -want it, that you can change the software or use pieces of it in new |
76 | -free programs, and that you know you can do these things. |
77 | - |
78 | - To protect your rights, we need to prevent others from denying you |
79 | -these rights or asking you to surrender the rights. Therefore, you have |
80 | -certain responsibilities if you distribute copies of the software, or if |
81 | -you modify it: responsibilities to respect the freedom of others. |
82 | - |
83 | - For example, if you distribute copies of such a program, whether |
84 | -gratis or for a fee, you must pass on to the recipients the same |
85 | -freedoms that you received. You must make sure that they, too, receive |
86 | -or can get the source code. And you must show them these terms so they |
87 | -know their rights. |
88 | - |
89 | - Developers that use the GNU GPL protect your rights with two steps: |
90 | -(1) assert copyright on the software, and (2) offer you this License |
91 | -giving you legal permission to copy, distribute and/or modify it. |
92 | - |
93 | - For the developers' and authors' protection, the GPL clearly explains |
94 | -that there is no warranty for this free software. For both users' and |
95 | -authors' sake, the GPL requires that modified versions be marked as |
96 | -changed, so that their problems will not be attributed erroneously to |
97 | -authors of previous versions. |
98 | - |
99 | - Some devices are designed to deny users access to install or run |
100 | -modified versions of the software inside them, although the manufacturer |
101 | -can do so. This is fundamentally incompatible with the aim of |
102 | -protecting users' freedom to change the software. The systematic |
103 | -pattern of such abuse occurs in the area of products for individuals to |
104 | -use, which is precisely where it is most unacceptable. Therefore, we |
105 | -have designed this version of the GPL to prohibit the practice for those |
106 | -products. If such problems arise substantially in other domains, we |
107 | -stand ready to extend this provision to those domains in future versions |
108 | -of the GPL, as needed to protect the freedom of users. |
109 | - |
110 | - Finally, every program is threatened constantly by software patents. |
111 | -States should not allow patents to restrict development and use of |
112 | -software on general-purpose computers, but in those that do, we wish to |
113 | -avoid the special danger that patents applied to a free program could |
114 | -make it effectively proprietary. To prevent this, the GPL assures that |
115 | -patents cannot be used to render the program non-free. |
116 | - |
117 | - The precise terms and conditions for copying, distribution and |
118 | -modification follow. |
119 | - |
120 | - TERMS AND CONDITIONS |
121 | - |
122 | - 0. Definitions. |
123 | - |
124 | - "This License" refers to version 3 of the GNU General Public License. |
125 | - |
126 | - "Copyright" also means copyright-like laws that apply to other kinds of |
127 | -works, such as semiconductor masks. |
128 | - |
129 | - "The Program" refers to any copyrightable work licensed under this |
130 | -License. Each licensee is addressed as "you". "Licensees" and |
131 | -"recipients" may be individuals or organizations. |
132 | - |
133 | - To "modify" a work means to copy from or adapt all or part of the work |
134 | -in a fashion requiring copyright permission, other than the making of an |
135 | -exact copy. The resulting work is called a "modified version" of the |
136 | -earlier work or a work "based on" the earlier work. |
137 | - |
138 | - A "covered work" means either the unmodified Program or a work based |
139 | -on the Program. |
140 | - |
141 | - To "propagate" a work means to do anything with it that, without |
142 | -permission, would make you directly or secondarily liable for |
143 | -infringement under applicable copyright law, except executing it on a |
144 | -computer or modifying a private copy. Propagation includes copying, |
145 | -distribution (with or without modification), making available to the |
146 | -public, and in some countries other activities as well. |
147 | - |
148 | - To "convey" a work means any kind of propagation that enables other |
149 | -parties to make or receive copies. Mere interaction with a user through |
150 | -a computer network, with no transfer of a copy, is not conveying. |
151 | - |
152 | - An interactive user interface displays "Appropriate Legal Notices" |
153 | -to the extent that it includes a convenient and prominently visible |
154 | -feature that (1) displays an appropriate copyright notice, and (2) |
155 | -tells the user that there is no warranty for the work (except to the |
156 | -extent that warranties are provided), that licensees may convey the |
157 | -work under this License, and how to view a copy of this License. If |
158 | -the interface presents a list of user commands or options, such as a |
159 | -menu, a prominent item in the list meets this criterion. |
160 | - |
161 | - 1. Source Code. |
162 | - |
163 | - The "source code" for a work means the preferred form of the work |
164 | -for making modifications to it. "Object code" means any non-source |
165 | -form of a work. |
166 | - |
167 | - A "Standard Interface" means an interface that either is an official |
168 | -standard defined by a recognized standards body, or, in the case of |
169 | -interfaces specified for a particular programming language, one that |
170 | -is widely used among developers working in that language. |
171 | - |
172 | - The "System Libraries" of an executable work include anything, other |
173 | -than the work as a whole, that (a) is included in the normal form of |
174 | -packaging a Major Component, but which is not part of that Major |
175 | -Component, and (b) serves only to enable use of the work with that |
176 | -Major Component, or to implement a Standard Interface for which an |
177 | -implementation is available to the public in source code form. A |
178 | -"Major Component", in this context, means a major essential component |
179 | -(kernel, window system, and so on) of the specific operating system |
180 | -(if any) on which the executable work runs, or a compiler used to |
181 | -produce the work, or an object code interpreter used to run it. |
182 | - |
183 | - The "Corresponding Source" for a work in object code form means all |
184 | -the source code needed to generate, install, and (for an executable |
185 | -work) run the object code and to modify the work, including scripts to |
186 | -control those activities. However, it does not include the work's |
187 | -System Libraries, or general-purpose tools or generally available free |
188 | -programs which are used unmodified in performing those activities but |
189 | -which are not part of the work. For example, Corresponding Source |
190 | -includes interface definition files associated with source files for |
191 | -the work, and the source code for shared libraries and dynamically |
192 | -linked subprograms that the work is specifically designed to require, |
193 | -such as by intimate data communication or control flow between those |
194 | -subprograms and other parts of the work. |
195 | - |
196 | - The Corresponding Source need not include anything that users |
197 | -can regenerate automatically from other parts of the Corresponding |
198 | -Source. |
199 | - |
200 | - The Corresponding Source for a work in source code form is that |
201 | -same work. |
202 | - |
203 | - 2. Basic Permissions. |
204 | - |
205 | - All rights granted under this License are granted for the term of |
206 | -copyright on the Program, and are irrevocable provided the stated |
207 | -conditions are met. This License explicitly affirms your unlimited |
208 | -permission to run the unmodified Program. The output from running a |
209 | -covered work is covered by this License only if the output, given its |
210 | -content, constitutes a covered work. This License acknowledges your |
211 | -rights of fair use or other equivalent, as provided by copyright law. |
212 | - |
213 | - You may make, run and propagate covered works that you do not |
214 | -convey, without conditions so long as your license otherwise remains |
215 | -in force. You may convey covered works to others for the sole purpose |
216 | -of having them make modifications exclusively for you, or provide you |
217 | -with facilities for running those works, provided that you comply with |
218 | -the terms of this License in conveying all material for which you do |
219 | -not control copyright. Those thus making or running the covered works |
220 | -for you must do so exclusively on your behalf, under your direction |
221 | -and control, on terms that prohibit them from making any copies of |
222 | -your copyrighted material outside their relationship with you. |
223 | - |
224 | - Conveying under any other circumstances is permitted solely under |
225 | -the conditions stated below. Sublicensing is not allowed; section 10 |
226 | -makes it unnecessary. |
227 | - |
228 | - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. |
229 | - |
230 | - No covered work shall be deemed part of an effective technological |
231 | -measure under any applicable law fulfilling obligations under article |
232 | -11 of the WIPO copyright treaty adopted on 20 December 1996, or |
233 | -similar laws prohibiting or restricting circumvention of such |
234 | -measures. |
235 | - |
236 | - When you convey a covered work, you waive any legal power to forbid |
237 | -circumvention of technological measures to the extent such circumvention |
238 | -is effected by exercising rights under this License with respect to |
239 | -the covered work, and you disclaim any intention to limit operation or |
240 | -modification of the work as a means of enforcing, against the work's |
241 | -users, your or third parties' legal rights to forbid circumvention of |
242 | -technological measures. |
243 | - |
244 | - 4. Conveying Verbatim Copies. |
245 | - |
246 | - You may convey verbatim copies of the Program's source code as you |
247 | -receive it, in any medium, provided that you conspicuously and |
248 | -appropriately publish on each copy an appropriate copyright notice; |
249 | -keep intact all notices stating that this License and any |
250 | -non-permissive terms added in accord with section 7 apply to the code; |
251 | -keep intact all notices of the absence of any warranty; and give all |
252 | -recipients a copy of this License along with the Program. |
253 | - |
254 | - You may charge any price or no price for each copy that you convey, |
255 | -and you may offer support or warranty protection for a fee. |
256 | - |
257 | - 5. Conveying Modified Source Versions. |
258 | - |
259 | - You may convey a work based on the Program, or the modifications to |
260 | -produce it from the Program, in the form of source code under the |
261 | -terms of section 4, provided that you also meet all of these conditions: |
262 | - |
263 | - a) The work must carry prominent notices stating that you modified |
264 | - it, and giving a relevant date. |
265 | - |
266 | - b) The work must carry prominent notices stating that it is |
267 | - released under this License and any conditions added under section |
268 | - 7. This requirement modifies the requirement in section 4 to |
269 | - "keep intact all notices". |
270 | - |
271 | - c) You must license the entire work, as a whole, under this |
272 | - License to anyone who comes into possession of a copy. This |
273 | - License will therefore apply, along with any applicable section 7 |
274 | - additional terms, to the whole of the work, and all its parts, |
275 | - regardless of how they are packaged. This License gives no |
276 | - permission to license the work in any other way, but it does not |
277 | - invalidate such permission if you have separately received it. |
278 | - |
279 | - d) If the work has interactive user interfaces, each must display |
280 | - Appropriate Legal Notices; however, if the Program has interactive |
281 | - interfaces that do not display Appropriate Legal Notices, your |
282 | - work need not make them do so. |
283 | - |
284 | - A compilation of a covered work with other separate and independent |
285 | -works, which are not by their nature extensions of the covered work, |
286 | -and which are not combined with it such as to form a larger program, |
287 | -in or on a volume of a storage or distribution medium, is called an |
288 | -"aggregate" if the compilation and its resulting copyright are not |
289 | -used to limit the access or legal rights of the compilation's users |
290 | -beyond what the individual works permit. Inclusion of a covered work |
291 | -in an aggregate does not cause this License to apply to the other |
292 | -parts of the aggregate. |
293 | - |
294 | - 6. Conveying Non-Source Forms. |
295 | - |
296 | - You may convey a covered work in object code form under the terms |
297 | -of sections 4 and 5, provided that you also convey the |
298 | -machine-readable Corresponding Source under the terms of this License, |
299 | -in one of these ways: |
300 | - |
301 | - a) Convey the object code in, or embodied in, a physical product |
302 | - (including a physical distribution medium), accompanied by the |
303 | - Corresponding Source fixed on a durable physical medium |
304 | - customarily used for software interchange. |
305 | - |
306 | - b) Convey the object code in, or embodied in, a physical product |
307 | - (including a physical distribution medium), accompanied by a |
308 | - written offer, valid for at least three years and valid for as |
309 | - long as you offer spare parts or customer support for that product |
310 | - model, to give anyone who possesses the object code either (1) a |
311 | - copy of the Corresponding Source for all the software in the |
312 | - product that is covered by this License, on a durable physical |
313 | - medium customarily used for software interchange, for a price no |
314 | - more than your reasonable cost of physically performing this |
315 | - conveying of source, or (2) access to copy the |
316 | - Corresponding Source from a network server at no charge. |
317 | - |
318 | - c) Convey individual copies of the object code with a copy of the |
319 | - written offer to provide the Corresponding Source. This |
320 | - alternative is allowed only occasionally and noncommercially, and |
321 | - only if you received the object code with such an offer, in accord |
322 | - with subsection 6b. |
323 | - |
324 | - d) Convey the object code by offering access from a designated |
325 | - place (gratis or for a charge), and offer equivalent access to the |
326 | - Corresponding Source in the same way through the same place at no |
327 | - further charge. You need not require recipients to copy the |
328 | - Corresponding Source along with the object code. If the place to |
329 | - copy the object code is a network server, the Corresponding Source |
330 | - may be on a different server (operated by you or a third party) |
331 | - that supports equivalent copying facilities, provided you maintain |
332 | - clear directions next to the object code saying where to find the |
333 | - Corresponding Source. Regardless of what server hosts the |
334 | - Corresponding Source, you remain obligated to ensure that it is |
335 | - available for as long as needed to satisfy these requirements. |
336 | - |
337 | - e) Convey the object code using peer-to-peer transmission, provided |
338 | - you inform other peers where the object code and Corresponding |
339 | - Source of the work are being offered to the general public at no |
340 | - charge under subsection 6d. |
341 | - |
342 | - A separable portion of the object code, whose source code is excluded |
343 | -from the Corresponding Source as a System Library, need not be |
344 | -included in conveying the object code work. |
345 | - |
346 | - A "User Product" is either (1) a "consumer product", which means any |
347 | -tangible personal property which is normally used for personal, family, |
348 | -or household purposes, or (2) anything designed or sold for incorporation |
349 | -into a dwelling. In determining whether a product is a consumer product, |
350 | -doubtful cases shall be resolved in favor of coverage. For a particular |
351 | -product received by a particular user, "normally used" refers to a |
352 | -typical or common use of that class of product, regardless of the status |
353 | -of the particular user or of the way in which the particular user |
354 | -actually uses, or expects or is expected to use, the product. A product |
355 | -is a consumer product regardless of whether the product has substantial |
356 | -commercial, industrial or non-consumer uses, unless such uses represent |
357 | -the only significant mode of use of the product. |
358 | - |
359 | - "Installation Information" for a User Product means any methods, |
360 | -procedures, authorization keys, or other information required to install |
361 | -and execute modified versions of a covered work in that User Product from |
362 | -a modified version of its Corresponding Source. The information must |
363 | -suffice to ensure that the continued functioning of the modified object |
364 | -code is in no case prevented or interfered with solely because |
365 | -modification has been made. |
366 | - |
367 | - If you convey an object code work under this section in, or with, or |
368 | -specifically for use in, a User Product, and the conveying occurs as |
369 | -part of a transaction in which the right of possession and use of the |
370 | -User Product is transferred to the recipient in perpetuity or for a |
371 | -fixed term (regardless of how the transaction is characterized), the |
372 | -Corresponding Source conveyed under this section must be accompanied |
373 | -by the Installation Information. But this requirement does not apply |
374 | -if neither you nor any third party retains the ability to install |
375 | -modified object code on the User Product (for example, the work has |
376 | -been installed in ROM). |
377 | - |
378 | - The requirement to provide Installation Information does not include a |
379 | -requirement to continue to provide support service, warranty, or updates |
380 | -for a work that has been modified or installed by the recipient, or for |
381 | -the User Product in which it has been modified or installed. Access to a |
382 | -network may be denied when the modification itself materially and |
383 | -adversely affects the operation of the network or violates the rules and |
384 | -protocols for communication across the network. |
385 | - |
386 | - Corresponding Source conveyed, and Installation Information provided, |
387 | -in accord with this section must be in a format that is publicly |
388 | -documented (and with an implementation available to the public in |
389 | -source code form), and must require no special password or key for |
390 | -unpacking, reading or copying. |
391 | - |
392 | - 7. Additional Terms. |
393 | - |
394 | - "Additional permissions" are terms that supplement the terms of this |
395 | -License by making exceptions from one or more of its conditions. |
396 | -Additional permissions that are applicable to the entire Program shall |
397 | -be treated as though they were included in this License, to the extent |
398 | -that they are valid under applicable law. If additional permissions |
399 | -apply only to part of the Program, that part may be used separately |
400 | -under those permissions, but the entire Program remains governed by |
401 | -this License without regard to the additional permissions. |
402 | - |
403 | - When you convey a copy of a covered work, you may at your option |
404 | -remove any additional permissions from that copy, or from any part of |
405 | -it. (Additional permissions may be written to require their own |
406 | -removal in certain cases when you modify the work.) You may place |
407 | -additional permissions on material, added by you to a covered work, |
408 | -for which you have or can give appropriate copyright permission. |
409 | - |
410 | - Notwithstanding any other provision of this License, for material you |
411 | -add to a covered work, you may (if authorized by the copyright holders of |
412 | -that material) supplement the terms of this License with terms: |
413 | - |
414 | - a) Disclaiming warranty or limiting liability differently from the |
415 | - terms of sections 15 and 16 of this License; or |
416 | - |
417 | - b) Requiring preservation of specified reasonable legal notices or |
418 | - author attributions in that material or in the Appropriate Legal |
419 | - Notices displayed by works containing it; or |
420 | - |
421 | - c) Prohibiting misrepresentation of the origin of that material, or |
422 | - requiring that modified versions of such material be marked in |
423 | - reasonable ways as different from the original version; or |
424 | - |
425 | - d) Limiting the use for publicity purposes of names of licensors or |
426 | - authors of the material; or |
427 | - |
428 | - e) Declining to grant rights under trademark law for use of some |
429 | - trade names, trademarks, or service marks; or |
430 | - |
431 | - f) Requiring indemnification of licensors and authors of that |
432 | - material by anyone who conveys the material (or modified versions of |
433 | - it) with contractual assumptions of liability to the recipient, for |
434 | - any liability that these contractual assumptions directly impose on |
435 | - those licensors and authors. |
436 | - |
437 | - All other non-permissive additional terms are considered "further |
438 | -restrictions" within the meaning of section 10. If the Program as you |
439 | -received it, or any part of it, contains a notice stating that it is |
440 | -governed by this License along with a term that is a further |
441 | -restriction, you may remove that term. If a license document contains |
442 | -a further restriction but permits relicensing or conveying under this |
443 | -License, you may add to a covered work material governed by the terms |
444 | -of that license document, provided that the further restriction does |
445 | -not survive such relicensing or conveying. |
446 | - |
447 | - If you add terms to a covered work in accord with this section, you |
448 | -must place, in the relevant source files, a statement of the |
449 | -additional terms that apply to those files, or a notice indicating |
450 | -where to find the applicable terms. |
451 | - |
452 | - Additional terms, permissive or non-permissive, may be stated in the |
453 | -form of a separately written license, or stated as exceptions; |
454 | -the above requirements apply either way. |
455 | - |
456 | - 8. Termination. |
457 | - |
458 | - You may not propagate or modify a covered work except as expressly |
459 | -provided under this License. Any attempt otherwise to propagate or |
460 | -modify it is void, and will automatically terminate your rights under |
461 | -this License (including any patent licenses granted under the third |
462 | -paragraph of section 11). |
463 | - |
464 | - However, if you cease all violation of this License, then your |
465 | -license from a particular copyright holder is reinstated (a) |
466 | -provisionally, unless and until the copyright holder explicitly and |
467 | -finally terminates your license, and (b) permanently, if the copyright |
468 | -holder fails to notify you of the violation by some reasonable means |
469 | -prior to 60 days after the cessation. |
470 | - |
471 | - Moreover, your license from a particular copyright holder is |
472 | -reinstated permanently if the copyright holder notifies you of the |
473 | -violation by some reasonable means, this is the first time you have |
474 | -received notice of violation of this License (for any work) from that |
475 | -copyright holder, and you cure the violation prior to 30 days after |
476 | -your receipt of the notice. |
477 | - |
478 | - Termination of your rights under this section does not terminate the |
479 | -licenses of parties who have received copies or rights from you under |
480 | -this License. If your rights have been terminated and not permanently |
481 | -reinstated, you do not qualify to receive new licenses for the same |
482 | -material under section 10. |
483 | - |
484 | - 9. Acceptance Not Required for Having Copies. |
485 | - |
486 | - You are not required to accept this License in order to receive or |
487 | -run a copy of the Program. Ancillary propagation of a covered work |
488 | -occurring solely as a consequence of using peer-to-peer transmission |
489 | -to receive a copy likewise does not require acceptance. However, |
490 | -nothing other than this License grants you permission to propagate or |
491 | -modify any covered work. These actions infringe copyright if you do |
492 | -not accept this License. Therefore, by modifying or propagating a |
493 | -covered work, you indicate your acceptance of this License to do so. |
494 | - |
495 | - 10. Automatic Licensing of Downstream Recipients. |
496 | - |
497 | - Each time you convey a covered work, the recipient automatically |
498 | -receives a license from the original licensors, to run, modify and |
499 | -propagate that work, subject to this License. You are not responsible |
500 | -for enforcing compliance by third parties with this License. |
501 | - |
502 | - An "entity transaction" is a transaction transferring control of an |
503 | -organization, or substantially all assets of one, or subdividing an |
504 | -organization, or merging organizations. If propagation of a covered |
505 | -work results from an entity transaction, each party to that |
506 | -transaction who receives a copy of the work also receives whatever |
507 | -licenses to the work the party's predecessor in interest had or could |
508 | -give under the previous paragraph, plus a right to possession of the |
509 | -Corresponding Source of the work from the predecessor in interest, if |
510 | -the predecessor has it or can get it with reasonable efforts. |
511 | - |
512 | - You may not impose any further restrictions on the exercise of the |
513 | -rights granted or affirmed under this License. For example, you may |
514 | -not impose a license fee, royalty, or other charge for exercise of |
515 | -rights granted under this License, and you may not initiate litigation |
516 | -(including a cross-claim or counterclaim in a lawsuit) alleging that |
517 | -any patent claim is infringed by making, using, selling, offering for |
518 | -sale, or importing the Program or any portion of it. |
519 | - |
520 | - 11. Patents. |
521 | - |
522 | - A "contributor" is a copyright holder who authorizes use under this |
523 | -License of the Program or a work on which the Program is based. The |
524 | -work thus licensed is called the contributor's "contributor version". |
525 | - |
526 | - A contributor's "essential patent claims" are all patent claims |
527 | -owned or controlled by the contributor, whether already acquired or |
528 | -hereafter acquired, that would be infringed by some manner, permitted |
529 | -by this License, of making, using, or selling its contributor version, |
530 | -but do not include claims that would be infringed only as a |
531 | -consequence of further modification of the contributor version. For |
532 | -purposes of this definition, "control" includes the right to grant |
533 | -patent sublicenses in a manner consistent with the requirements of |
534 | -this License. |
535 | - |
536 | - Each contributor grants you a non-exclusive, worldwide, royalty-free |
537 | -patent license under the contributor's essential patent claims, to |
538 | -make, use, sell, offer for sale, import and otherwise run, modify and |
539 | -propagate the contents of its contributor version. |
540 | - |
541 | - In the following three paragraphs, a "patent license" is any express |
542 | -agreement or commitment, however denominated, not to enforce a patent |
543 | -(such as an express permission to practice a patent or covenant not to |
544 | -sue for patent infringement). To "grant" such a patent license to a |
545 | -party means to make such an agreement or commitment not to enforce a |
546 | -patent against the party. |
547 | - |
548 | - If you convey a covered work, knowingly relying on a patent license, |
549 | -and the Corresponding Source of the work is not available for anyone |
550 | -to copy, free of charge and under the terms of this License, through a |
551 | -publicly available network server or other readily accessible means, |
552 | -then you must either (1) cause the Corresponding Source to be so |
553 | -available, or (2) arrange to deprive yourself of the benefit of the |
554 | -patent license for this particular work, or (3) arrange, in a manner |
555 | -consistent with the requirements of this License, to extend the patent |
556 | -license to downstream recipients. "Knowingly relying" means you have |
557 | -actual knowledge that, but for the patent license, your conveying the |
558 | -covered work in a country, or your recipient's use of the covered work |
559 | -in a country, would infringe one or more identifiable patents in that |
560 | -country that you have reason to believe are valid. |
561 | - |
562 | - If, pursuant to or in connection with a single transaction or |
563 | -arrangement, you convey, or propagate by procuring conveyance of, a |
564 | -covered work, and grant a patent license to some of the parties |
565 | -receiving the covered work authorizing them to use, propagate, modify |
566 | -or convey a specific copy of the covered work, then the patent license |
567 | -you grant is automatically extended to all recipients of the covered |
568 | -work and works based on it. |
569 | - |
570 | - A patent license is "discriminatory" if it does not include within |
571 | -the scope of its coverage, prohibits the exercise of, or is |
572 | -conditioned on the non-exercise of one or more of the rights that are |
573 | -specifically granted under this License. You may not convey a covered |
574 | -work if you are a party to an arrangement with a third party that is |
575 | -in the business of distributing software, under which you make payment |
576 | -to the third party based on the extent of your activity of conveying |
577 | -the work, and under which the third party grants, to any of the |
578 | -parties who would receive the covered work from you, a discriminatory |
579 | -patent license (a) in connection with copies of the covered work |
580 | -conveyed by you (or copies made from those copies), or (b) primarily |
581 | -for and in connection with specific products or compilations that |
582 | -contain the covered work, unless you entered into that arrangement, |
583 | -or that patent license was granted, prior to 28 March 2007. |
584 | - |
585 | - Nothing in this License shall be construed as excluding or limiting |
586 | -any implied license or other defenses to infringement that may |
587 | -otherwise be available to you under applicable patent law. |
588 | - |
589 | - 12. No Surrender of Others' Freedom. |
590 | - |
591 | - If conditions are imposed on you (whether by court order, agreement or |
592 | -otherwise) that contradict the conditions of this License, they do not |
593 | -excuse you from the conditions of this License. If you cannot convey a |
594 | -covered work so as to satisfy simultaneously your obligations under this |
595 | -License and any other pertinent obligations, then as a consequence you may |
596 | -not convey it at all. For example, if you agree to terms that obligate you |
597 | -to collect a royalty for further conveying from those to whom you convey |
598 | -the Program, the only way you could satisfy both those terms and this |
599 | -License would be to refrain entirely from conveying the Program. |
600 | - |
601 | - 13. Use with the GNU Affero General Public License. |
602 | - |
603 | - Notwithstanding any other provision of this License, you have |
604 | -permission to link or combine any covered work with a work licensed |
605 | -under version 3 of the GNU Affero General Public License into a single |
606 | -combined work, and to convey the resulting work. The terms of this |
607 | -License will continue to apply to the part which is the covered work, |
608 | -but the special requirements of the GNU Affero General Public License, |
609 | -section 13, concerning interaction through a network will apply to the |
610 | -combination as such. |
611 | - |
612 | - 14. Revised Versions of this License. |
613 | - |
614 | - The Free Software Foundation may publish revised and/or new versions of |
615 | -the GNU General Public License from time to time. Such new versions will |
616 | -be similar in spirit to the present version, but may differ in detail to |
617 | -address new problems or concerns. |
618 | - |
619 | - Each version is given a distinguishing version number. If the |
620 | -Program specifies that a certain numbered version of the GNU General |
621 | -Public License "or any later version" applies to it, you have the |
622 | -option of following the terms and conditions either of that numbered |
623 | -version or of any later version published by the Free Software |
624 | -Foundation. If the Program does not specify a version number of the |
625 | -GNU General Public License, you may choose any version ever published |
626 | -by the Free Software Foundation. |
627 | - |
628 | - If the Program specifies that a proxy can decide which future |
629 | -versions of the GNU General Public License can be used, that proxy's |
630 | -public statement of acceptance of a version permanently authorizes you |
631 | -to choose that version for the Program. |
632 | - |
633 | - Later license versions may give you additional or different |
634 | -permissions. However, no additional obligations are imposed on any |
635 | -author or copyright holder as a result of your choosing to follow a |
636 | -later version. |
637 | - |
638 | - 15. Disclaimer of Warranty. |
639 | - |
640 | - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY |
641 | -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT |
642 | -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY |
643 | -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, |
644 | -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
645 | -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM |
646 | -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF |
647 | -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
648 | - |
649 | - 16. Limitation of Liability. |
650 | - |
651 | - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
652 | -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS |
653 | -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY |
654 | -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE |
655 | -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF |
656 | -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD |
657 | -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), |
658 | -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
659 | -SUCH DAMAGES. |
660 | - |
661 | - 17. Interpretation of Sections 15 and 16. |
662 | - |
663 | - If the disclaimer of warranty and limitation of liability provided |
664 | -above cannot be given local legal effect according to their terms, |
665 | -reviewing courts shall apply local law that most closely approximates |
666 | -an absolute waiver of all civil liability in connection with the |
667 | -Program, unless a warranty or assumption of liability accompanies a |
668 | -copy of the Program in return for a fee. |
669 | - |
670 | - END OF TERMS AND CONDITIONS |
671 | - |
672 | - How to Apply These Terms to Your New Programs |
673 | - |
674 | - If you develop a new program, and you want it to be of the greatest |
675 | -possible use to the public, the best way to achieve this is to make it |
676 | -free software which everyone can redistribute and change under these terms. |
677 | - |
678 | - To do so, attach the following notices to the program. It is safest |
679 | -to attach them to the start of each source file to most effectively |
680 | -state the exclusion of warranty; and each file should have at least |
681 | -the "copyright" line and a pointer to where the full notice is found. |
682 | - |
683 | - <one line to give the program's name and a brief idea of what it does.> |
684 | - Copyright (C) <year> <name of author> |
685 | - |
686 | - This program is free software: you can redistribute it and/or modify |
687 | - it under the terms of the GNU General Public License as published by |
688 | - the Free Software Foundation, either version 3 of the License, or |
689 | - (at your option) any later version. |
690 | - |
691 | - This program is distributed in the hope that it will be useful, |
692 | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
693 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
694 | - GNU General Public License for more details. |
695 | - |
696 | - You should have received a copy of the GNU General Public License |
697 | - along with this program. If not, see <http://www.gnu.org/licenses/>. |
698 | - |
699 | -Also add information on how to contact you by electronic and paper mail. |
700 | - |
701 | - If the program does terminal interaction, make it output a short |
702 | -notice like this when it starts in an interactive mode: |
703 | - |
704 | - <program> Copyright (C) <year> <name of author> |
705 | - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
706 | - This is free software, and you are welcome to redistribute it |
707 | - under certain conditions; type `show c' for details. |
708 | - |
709 | -The hypothetical commands `show w' and `show c' should show the appropriate |
710 | -parts of the General Public License. Of course, your program's commands |
711 | -might be different; for a GUI interface, you would use an "about box". |
712 | - |
713 | - You should also get your employer (if you work as a programmer) or school, |
714 | -if any, to sign a "copyright disclaimer" for the program, if necessary. |
715 | -For more information on this, and how to apply and follow the GNU GPL, see |
716 | -<http://www.gnu.org/licenses/>. |
717 | - |
718 | - The GNU General Public License does not permit incorporating your program |
719 | -into proprietary programs. If your program is a subroutine library, you |
720 | -may consider it more useful to permit linking proprietary applications with |
721 | -the library. If this is what you want to do, use the GNU Lesser General |
722 | -Public License instead of this License. But first, please read |
723 | -<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
724 | - |
725 | |
726 | === modified file 'ChangeLog' |
727 | --- ChangeLog 2010-09-21 19:51:47 +0000 |
728 | +++ ChangeLog 2010-12-11 02:23:52 +0000 |
729 | @@ -1,1 +1,1446 @@ |
730 | -# Generated by Makefile |
731 | +# Generated by Makefile. Do not edit. |
732 | + |
733 | +2010-09-23 Ted Gould <ted@gould.cx> |
734 | + |
735 | + Removing Chrome from the blacklist |
736 | + |
737 | +2010-09-23 Ted Gould <ted@gould.cx> |
738 | + |
739 | + Dropping Chrome |
740 | + |
741 | +2010-09-23 Ted Gould <ted@gould.cx> |
742 | + |
743 | + Dropping the Edit menu |
744 | + |
745 | +2010-09-23 Ted Gould <ted@gould.cx> |
746 | + |
747 | + Adding a comment at a spot of non-change |
748 | + |
749 | +2010-09-23 Ted Gould <ted@gould.cx> |
750 | + |
751 | + No Edit Menu |
752 | + |
753 | +2010-09-23 Ted Gould <ted@gould.cx> |
754 | + |
755 | + Track bamf window destruction differently, and caching the stubs state. |
756 | + |
757 | +2010-09-22 Ted Gould <ted@gould.cx> |
758 | + |
759 | + Introducing a variable to track stubs evaluation. |
760 | + |
761 | +2010-09-22 Ted Gould <ted@gould.cx> |
762 | + |
763 | + I don't think we should be setting the active window here as it hides removing the stubs. |
764 | + |
765 | +2010-09-22 Ted Gould <ted@gould.cx> |
766 | + |
767 | + Removing a warning so people don't get scared |
768 | + |
769 | +2010-09-22 Ted Gould <ted@gould.cx> |
770 | + |
771 | + Putting some protections in for a NULL active_window, definitely possible. |
772 | + |
773 | +2010-09-22 Ted Gould <ted@gould.cx> |
774 | + |
775 | + Blocking closed windows as well. |
776 | + |
777 | +2010-09-22 jassmith@gmail.com |
778 | + |
779 | + missing paren |
780 | + |
781 | +2010-09-21 jassmith@gmail.com |
782 | + |
783 | + Ensure closed windows are not considered to give valid xid's |
784 | + |
785 | +2010-09-22 David Barth <david.barth@canonical.com> |
786 | + |
787 | + 0.0.12 |
788 | + |
789 | +2010-09-21 Ted Gould <ted@gould.cx> |
790 | + |
791 | + Fixing mnemonics for KDE apps |
792 | + |
793 | +2010-09-21 Ted Gould <ted@gould.cx> |
794 | + |
795 | + Setting text correctly |
796 | + |
797 | +2010-09-21 Ted Gould <ted@gould.cx> |
798 | + |
799 | + Merging in support for entry-activated from libindicator |
800 | + |
801 | +2010-09-17 Ted Gould <ted@gould.cx> |
802 | + |
803 | + Sending about to show |
804 | + |
805 | +2010-09-17 Ted Gould <ted@gould.cx> |
806 | + |
807 | + This is just handy, let's go ahead and put it in there. |
808 | + |
809 | +2010-09-17 Ted Gould <ted@gould.cx> |
810 | + |
811 | + Passing down the event activate signal. |
812 | + |
813 | +2010-09-17 Ted Gould <ted@gould.cx> |
814 | + |
815 | + Subclassing entry_activate |
816 | + |
817 | +2010-09-17 Ted Gould <ted@gould.cx> |
818 | + |
819 | + Adding the window menus function |
820 | + |
821 | +2010-09-21 Ted Gould <ted@gould.cx> |
822 | + |
823 | + Generating AUTHORS and Changelog at dist |
824 | + |
825 | +2010-09-21 Ted Gould <ted@gould.cx> |
826 | + |
827 | + Another X Fix |
828 | + |
829 | +2010-09-21 Neil Jagdish Patel <neil.patel@canonical.com> |
830 | + |
831 | + Guard against uninitialized pointers on error case |
832 | + |
833 | +2010-09-21 David Barth <david.barth@canonical.com> |
834 | + |
835 | + manages the case where the active window gets finalized |
836 | + |
837 | +2010-09-17 Ted Gould <ted@gould.cx> |
838 | + |
839 | + Adding in weak ref's for the active window. |
840 | + |
841 | +2010-09-21 David Barth <david.barth@canonical.com> |
842 | + |
843 | + better dbus error handling: automatically retries dbus registration if it failed at startup |
844 | + |
845 | +2010-09-16 Ted Gould <ted@gould.cx> |
846 | + |
847 | + Tracking the error as well. |
848 | + |
849 | +2010-09-16 Ted Gould <ted@gould.cx> |
850 | + |
851 | + Fleshing out the callback |
852 | + |
853 | +2010-09-16 Ted Gould <ted@gould.cx> |
854 | + |
855 | + Handling the errors, and setting a timer. Oh, it should do something? |
856 | + |
857 | +2010-09-16 Ted Gould <ted@gould.cx> |
858 | + |
859 | + Keep forgetting to ignore these, now I am! |
860 | + |
861 | +2010-09-16 Ted Gould <ted@gould.cx> |
862 | + |
863 | + Add a couple of variables to track registration and setup a retry loop |
864 | + |
865 | +2010-09-21 David Barth <david.barth@canonical.com> |
866 | + |
867 | + catch xerrors properly |
868 | + |
869 | +2010-09-20 Neil Jagdish Patel <neil.patel@canonical.com> |
870 | + |
871 | + Use error trap properly, woops |
872 | + |
873 | +2010-09-16 Ted Gould <ted@gould.cx> |
874 | + |
875 | + Fixing the array type |
876 | + |
877 | +2010-09-16 Ted Gould <ted@gould.cx> |
878 | + |
879 | + Wrong type in the g_array |
880 | + |
881 | +2010-09-16 Ted Gould <ted@gould.cx> |
882 | + |
883 | + Removing the work with foriegn windows |
884 | + |
885 | +2010-09-16 Neil Jagdish Patel <neil.patel@canonical.com> |
886 | + |
887 | + Remove the need for gdk_window_foreign_new, which was causing random closes in Unity |
888 | + |
889 | +2010-09-16 Ted Gould <ted@gould.cx> |
890 | + |
891 | + Uhg, more Chrome. |
892 | + |
893 | +2010-09-16 Ted Gould <ted@gould.cx> |
894 | + |
895 | + Adding in Chrome to the blacklist |
896 | + |
897 | +2010-09-15 Ted Gould <ted@gould.cx> |
898 | + |
899 | + 0.0.11 |
900 | + |
901 | +2010-09-15 Ted Gould <ted@gould.cx> |
902 | + |
903 | + Adding Thunderbird to the blacklist |
904 | + |
905 | +2010-09-15 Ted Gould <ted@gould.cx> |
906 | + |
907 | + Signaling to show the high level menus when an application requests it. |
908 | + |
909 | +2010-09-15 Ted Gould <ted@gould.cx> |
910 | + |
911 | + Increasing indicator version to 0.3.13 |
912 | + |
913 | +2010-09-14 Ted Gould <ted@gould.cx> |
914 | + |
915 | + Check for no children as well. |
916 | + |
917 | +2010-09-14 Ted Gould <ted@gould.cx> |
918 | + |
919 | + Fleshing out the signal passing. |
920 | + |
921 | +2010-09-14 Ted Gould <ted@gould.cx> |
922 | + |
923 | + Set up an item_activate callback to handle the visible signal. |
924 | + |
925 | +2010-09-14 Ted Gould <ted@gould.cx> |
926 | + |
927 | + Pass the signal up the stack and support switching. |
928 | + |
929 | +2010-09-14 Ted Gould <ted@gould.cx> |
930 | + |
931 | + Adding in a 'show_menu' signal to pass up. |
932 | + |
933 | +2010-09-14 Ted Gould <ted@gould.cx> |
934 | + |
935 | + Black list support via hardcoding and desktop file. |
936 | + |
937 | +2010-09-14 Ted Gould <ted@gould.cx> |
938 | + |
939 | + Update to development version of BAMF |
940 | + |
941 | +2010-09-14 Ted Gould <ted@gould.cx> |
942 | + |
943 | + Sync to trunk |
944 | + |
945 | +2010-09-13 Ted Gould <ted@gould.cx> |
946 | + |
947 | + Adding in Open Office and Blender |
948 | + |
949 | +2010-09-13 Ted Gould <ted@gould.cx> |
950 | + |
951 | + Wrapping the BAMF function and adding a static blacklist |
952 | + |
953 | +2010-09-13 Ted Gould <ted@gould.cx> |
954 | + |
955 | + Updating to BAMF API changes |
956 | + |
957 | +2010-09-10 Ted Gould <ted@gould.cx> |
958 | + |
959 | + Update to trunk |
960 | + |
961 | +2010-09-10 Ted Gould <ted@gould.cx> |
962 | + |
963 | + Add checking when we get the entires to whether we should show the stubs |
964 | + |
965 | +2010-09-14 Ted Gould <ted@gould.cx> |
966 | + |
967 | + Fixing bamf required version |
968 | + |
969 | +2010-09-09 Ken VanDine <ken.vandine@canonical.com> |
970 | + |
971 | + Bump required version of libbamf-dev to 0.2.46 |
972 | + |
973 | +2010-09-09 Ted Gould <ted@gould.cx> |
974 | + |
975 | + 0.0.10 |
976 | + |
977 | +2010-09-09 Ted Gould <ted@gould.cx> |
978 | + |
979 | + Fix the dialogs so that they're not desktop windows |
980 | + |
981 | +2010-09-09 Ted Gould <ted@gould.cx> |
982 | + |
983 | + You get hasty, you make mistakes |
984 | + |
985 | +2010-09-09 Ted Gould <ted@gould.cx> |
986 | + |
987 | + Switching to handling the desktop directly. |
988 | + |
989 | +2010-09-07 Ted Gould <ted@gould.cx> |
990 | + |
991 | + Disabling the user-visible check |
992 | + |
993 | +2010-09-07 Ted Gould <ted@gould.cx> |
994 | + |
995 | + Comment when active window is NULL |
996 | + |
997 | +2010-09-07 Ted Gould <ted@gould.cx> |
998 | + |
999 | + More debug messages |
1000 | + |
1001 | +2010-09-07 Ted Gould <ted@gould.cx> |
1002 | + |
1003 | + Debug Message |
1004 | + |
1005 | +2010-09-07 Ted Gould <ted@gould.cx> |
1006 | + |
1007 | + Fixing the logic of the active window switching and putting a ton of comments in. Also, better debug statements. |
1008 | + |
1009 | +2010-09-03 Ted Gould <ted@gould.cx> |
1010 | + |
1011 | + Making the close menu item on the default menu work. |
1012 | + |
1013 | +2010-09-03 Ted Gould <ted@gould.cx> |
1014 | + |
1015 | + Merging in desktop menus and trunk |
1016 | + |
1017 | +2010-09-03 Ted Gould <ted@gould.cx> |
1018 | + |
1019 | + Getting a close function together. |
1020 | + |
1021 | +2010-09-03 Ted Gould <ted@gould.cx> |
1022 | + |
1023 | + Switching to when there are no function to assume all |
1024 | + |
1025 | +2010-06-24 Ted Gould <ted@gould.cx> |
1026 | + |
1027 | + Warning on close item. |
1028 | + |
1029 | +2010-06-24 Ted Gould <ted@gould.cx> |
1030 | + |
1031 | + Adding in a couple of warnings |
1032 | + |
1033 | +2010-06-24 Ted Gould <ted@gould.cx> |
1034 | + |
1035 | + Making egg to avoid symbol conflict |
1036 | + |
1037 | +2010-06-24 Ted Gould <ted@gould.cx> |
1038 | + |
1039 | + Merging in stock branch |
1040 | + |
1041 | +2010-06-23 Ted Gould <ted@gould.cx> |
1042 | + |
1043 | + Fleshing out changing active window to see if we should have a close button or not. |
1044 | + |
1045 | +2010-06-23 Ted Gould <ted@gould.cx> |
1046 | + |
1047 | + Adding a function missing from GDK-X11. Will hopefully go upstream after testing. |
1048 | + |
1049 | +2010-06-23 Ted Gould <ted@gould.cx> |
1050 | + |
1051 | + Explicitly tracking the close item. |
1052 | + |
1053 | +2010-06-23 Ted Gould <ted@gould.cx> |
1054 | + |
1055 | + Replacing the switching active window into a helper. |
1056 | + |
1057 | +2010-09-03 Ted Gould <ted@gould.cx> |
1058 | + |
1059 | + Handling desktop windows and showing their menus. |
1060 | + |
1061 | +2010-09-03 Ted Gould <ted@gould.cx> |
1062 | + |
1063 | + Free'ing the key list after using it. |
1064 | + |
1065 | +2010-09-02 Ted Gould <ted@gould.cx> |
1066 | + |
1067 | + Handle ID 0 better, even if it's a window, we don't care. |
1068 | + |
1069 | +2010-09-02 Ted Gould <ted@gould.cx> |
1070 | + |
1071 | + Adding useful debug messages |
1072 | + |
1073 | +2010-09-01 Ted Gould <ted@gould.cx> |
1074 | + |
1075 | + Checking for cases where the menus come after |
1076 | + |
1077 | +2010-09-01 Ted Gould <ted@gould.cx> |
1078 | + |
1079 | + Clearing out the statically build desktop menus and performing a switcheroo |
1080 | + |
1081 | +2010-09-01 Ted Gould <ted@gould.cx> |
1082 | + |
1083 | + Check to see if the desktop is shown, and refresh if so. |
1084 | + |
1085 | +2010-09-01 Ted Gould <ted@gould.cx> |
1086 | + |
1087 | + Determine which window should be the desktop menu |
1088 | + |
1089 | +2010-09-01 Ted Gould <ted@gould.cx> |
1090 | + |
1091 | + Don't really look at windows that are desktop windows. |
1092 | + |
1093 | +2010-09-01 Ted Gould <ted@gould.cx> |
1094 | + |
1095 | + Reshuffle what happens when a menu gets destroyed. |
1096 | + |
1097 | +2010-09-01 Ted Gould <ted@gould.cx> |
1098 | + |
1099 | + Looking and adding TODOs in places where we need to think about desktop menus. |
1100 | + |
1101 | +2010-09-01 Ted Gould <ted@gould.cx> |
1102 | + |
1103 | + Switching the browsing of windows to instead make each look like it's using the new window callback |
1104 | + |
1105 | +2010-09-01 Ted Gould <ted@gould.cx> |
1106 | + |
1107 | + Checking to see if the new desktop window is one we have menus for. |
1108 | + |
1109 | +2010-09-01 Ted Gould <ted@gould.cx> |
1110 | + |
1111 | + Introducing hte desktop_menu variable and giving it a lifecycle |
1112 | + |
1113 | +2010-08-31 Ted Gould <ted@gould.cx> |
1114 | + |
1115 | + Making sure to free the list |
1116 | + |
1117 | +2010-08-31 Ted Gould <ted@gould.cx> |
1118 | + |
1119 | + Fleshing out the window signal handlers |
1120 | + |
1121 | +2010-08-31 Ted Gould <ted@gould.cx> |
1122 | + |
1123 | + Setting up signal handlers for when windows are created or destroyed |
1124 | + |
1125 | +2010-08-31 Ted Gould <ted@gould.cx> |
1126 | + |
1127 | + Finding the desktop windows and populating the hashtable |
1128 | + |
1129 | +2010-08-31 Ted Gould <ted@gould.cx> |
1130 | + |
1131 | + Setting up a hashtable for desktop windows |
1132 | + |
1133 | +2010-08-30 Ted Gould <ted@gould.cx> |
1134 | + |
1135 | + Handle event errors and cache the expected status of the items. |
1136 | + |
1137 | +2010-08-27 Ted Gould <ted@gould.cx> |
1138 | + |
1139 | + Removing a debug statement that's too verbose |
1140 | + |
1141 | +2010-08-27 Ted Gould <ted@gould.cx> |
1142 | + |
1143 | + Only do restore if we've got window menus involved |
1144 | + |
1145 | +2010-08-27 Ted Gould <ted@gould.cx> |
1146 | + |
1147 | + Debug messages |
1148 | + |
1149 | +2010-08-27 Ted Gould <ted@gould.cx> |
1150 | + |
1151 | + Adding in a handler and a bunch of data to retry the event and hope that it succeeds |
1152 | + |
1153 | +2010-08-27 Ted Gould <ted@gould.cx> |
1154 | + |
1155 | + Making it so that we disable and restore the entires on bad events |
1156 | + |
1157 | +2010-08-27 Ted Gould <ted@gould.cx> |
1158 | + |
1159 | + Making sure to track the hidden/disabled variables through everything |
1160 | + |
1161 | +2010-08-27 Ted Gould <ted@gould.cx> |
1162 | + |
1163 | + Switch to using the restore function to keep things hidden |
1164 | + |
1165 | +2010-08-27 Ted Gould <ted@gould.cx> |
1166 | + |
1167 | + Adding a function to return the widget to its natural state. |
1168 | + |
1169 | +2010-08-27 Ted Gould <ted@gould.cx> |
1170 | + |
1171 | + Making an WMEntry to add some properties to the IOEntry structure. |
1172 | + |
1173 | +2010-08-27 Ted Gould <ted@gould.cx> |
1174 | + |
1175 | + Fleshing out the event handler with a bit of data. |
1176 | + |
1177 | +2010-08-27 Ted Gould <ted@gould.cx> |
1178 | + |
1179 | + Adding in a handler for event statuses |
1180 | + |
1181 | +2010-08-26 Ted Gould <ted@gould.cx> |
1182 | + |
1183 | + Adding in the error state signal and function and private variable. Whew. |
1184 | + |
1185 | +2010-08-25 Ted Gould <ted@gould.cx> |
1186 | + |
1187 | + Only show user visible windows |
1188 | + |
1189 | +2010-08-17 Ted Gould <ted@gould.cx> |
1190 | + |
1191 | + Checking to ensure the window is user visible |
1192 | + |
1193 | +2010-07-22 Cody Russell <crussell@canonical.com> |
1194 | + |
1195 | + Fix distcheck problem, bump version to 0.0.9. |
1196 | + |
1197 | +2010-07-20 Ted Gould <ted@gould.cx> |
1198 | + |
1199 | + Migrating tools over to AppMenu |
1200 | + |
1201 | +2010-07-20 Ted Gould <ted@gould.cx> |
1202 | + |
1203 | + Put the Async marker back on the window registration. |
1204 | + |
1205 | +2010-07-15 Ted Gould <ted@gould.cx> |
1206 | + |
1207 | + Switching over the interface names. |
1208 | + |
1209 | +2010-07-15 Ted Gould <ted@gould.cx> |
1210 | + |
1211 | + Adjusting the prototype of the signals. |
1212 | + |
1213 | +2010-07-15 Ted Gould <ted@gould.cx> |
1214 | + |
1215 | + Dropping in some TODOs |
1216 | + |
1217 | +2010-07-15 Ted Gould <ted@gould.cx> |
1218 | + |
1219 | + Mass reshuffling of code. |
1220 | + |
1221 | +2010-07-15 Ted Gould <ted@gould.cx> |
1222 | + |
1223 | + Switching the debug object over to being the renderer |
1224 | + |
1225 | +2010-07-15 Ted Gould <ted@gould.cx> |
1226 | + |
1227 | + Dummy functions to satisfy the header file.make |
1228 | + |
1229 | +2010-07-15 Ted Gould <ted@gould.cx> |
1230 | + |
1231 | + Dummy functions to satisfy the header file. |
1232 | + |
1233 | +2010-07-13 Ted Gould <ted@gould.cx> |
1234 | + |
1235 | + Adding an unregister function. |
1236 | + |
1237 | +2010-07-13 Ted Gould <ted@gould.cx> |
1238 | + |
1239 | + Some invisible character issue. Annoying. |
1240 | + |
1241 | +2010-07-13 Ted Gould <ted@gould.cx> |
1242 | + |
1243 | + Adjusting build names. |
1244 | + |
1245 | +2010-07-13 Ted Gould <ted@canonical.com> |
1246 | + |
1247 | + Updating to match discussion on new features. |
1248 | + |
1249 | +2010-07-12 Ted Gould <ted@gould.cx> |
1250 | + |
1251 | + Providing a function to dump some JSON. |
1252 | + |
1253 | +2010-07-09 Ted Gould <ted@gould.cx> |
1254 | + |
1255 | + Replacing strings with #defines to reduce the effect of typos. |
1256 | + |
1257 | +2010-07-09 Ted Gould <ted@gould.cx> |
1258 | + |
1259 | + TODONE |
1260 | + |
1261 | +2010-07-09 Ted Gould <ted@gould.cx> |
1262 | + |
1263 | + Turning the closure into a string dump, fun |
1264 | + |
1265 | +2010-07-09 Ted Gould <ted@gould.cx> |
1266 | + |
1267 | + Finding the closure recursively through the widget structure. |
1268 | + |
1269 | +2010-07-01 Ted Gould <ted@gould.cx> |
1270 | + |
1271 | + End of Day. Putting in TOOD items so I don't forget! |
1272 | + |
1273 | +2010-07-01 Ted Gould <ted@gould.cx> |
1274 | + |
1275 | + Crazy comma handling scheme; extended. |
1276 | + |
1277 | +2010-07-01 Ted Gould <ted@gould.cx> |
1278 | + |
1279 | + Crazy comma handling scheme. |
1280 | + |
1281 | +2010-07-01 Ted Gould <ted@gould.cx> |
1282 | + |
1283 | + Oops, need commas. |
1284 | + |
1285 | +2010-07-01 Ted Gould <ted@gould.cx> |
1286 | + |
1287 | + Handling full menu items. |
1288 | + |
1289 | +2010-07-01 Ted Gould <ted@gould.cx> |
1290 | + |
1291 | + entry handling fleshing out. |
1292 | + |
1293 | +2010-07-01 Ted Gould <ted@gould.cx> |
1294 | + |
1295 | + Forgot the children display property |
1296 | + |
1297 | +2010-07-01 Ted Gould <ted@gould.cx> |
1298 | + |
1299 | + Root node handling. |
1300 | + |
1301 | +2010-07-01 Ted Gould <ted@gould.cx> |
1302 | + |
1303 | + If we got that far, we've made it. |
1304 | + |
1305 | +2010-07-01 Ted Gould <ted@gould.cx> |
1306 | + |
1307 | + Icky double free |
1308 | + |
1309 | +2010-07-01 Ted Gould <ted@gould.cx> |
1310 | + |
1311 | + Forgot to free the list |
1312 | + |
1313 | +2010-07-01 Ted Gould <ted@gould.cx> |
1314 | + |
1315 | + Building up our array of strings. And bringing it down again. |
1316 | + |
1317 | +2010-07-01 Ted Gould <ted@gould.cx> |
1318 | + |
1319 | + Handling finding which window we want. |
1320 | + |
1321 | +2010-07-01 Ted Gould <ted@gould.cx> |
1322 | + |
1323 | + Adding a dump JSON function. |
1324 | + |
1325 | +2010-07-01 Ted Gould <ted@gould.cx> |
1326 | + |
1327 | + 0.0.8 |
1328 | + |
1329 | +2010-07-01 Ted Gould <ted@gould.cx> |
1330 | + |
1331 | + Making the list apps DBus interface actually work. |
1332 | + |
1333 | +2010-06-30 Ted Gould <ted@gould.cx> |
1334 | + |
1335 | + Cleaning up the code a bit. |
1336 | + |
1337 | +2010-06-30 Ted Gould <ted@gould.cx> |
1338 | + |
1339 | + Using a GValueArray |
1340 | + |
1341 | +2010-06-30 Ted Gould <ted@gould.cx> |
1342 | + |
1343 | + Switching to be a GPtrArray ** as the param |
1344 | + |
1345 | +2010-06-30 Ted Gould <ted@gould.cx> |
1346 | + |
1347 | + Use the value from the hashtable. Oops. |
1348 | + |
1349 | +2010-06-30 Ted Gould <ted@gould.cx> |
1350 | + |
1351 | + Fleshing out setting up this collection of structs. Eh. |
1352 | + |
1353 | +2010-06-30 Ted Gould <ted@gould.cx> |
1354 | + |
1355 | + Comments. |
1356 | + |
1357 | +2010-06-30 Ted Gould <ted@gould.cx> |
1358 | + |
1359 | + Setting errors instead of having bad results. |
1360 | + |
1361 | +2010-06-30 Ted Gould <ted@gould.cx> |
1362 | + |
1363 | + Adding in a small utility to turn a JSON file into a mock app |
1364 | + |
1365 | +2010-06-29 Ted Gould <ted@gould.cx> |
1366 | + |
1367 | + Watch for new registrars coming on the bus. |
1368 | + |
1369 | +2010-06-29 Ted Gould <ted@gould.cx> |
1370 | + |
1371 | + Copyright header |
1372 | + |
1373 | +2010-06-29 Ted Gould <ted@gould.cx> |
1374 | + |
1375 | + Registering our menus |
1376 | + |
1377 | +2010-06-29 Ted Gould <ted@gould.cx> |
1378 | + |
1379 | + Bringing up the registrar proxy. |
1380 | + |
1381 | +2010-06-29 Ted Gould <ted@gould.cx> |
1382 | + |
1383 | + Checking parameters, a bit. |
1384 | + |
1385 | +2010-06-29 Ted Gould <ted@gould.cx> |
1386 | + |
1387 | + Building our menus -- woot! |
1388 | + |
1389 | +2010-06-29 Ted Gould <ted@gould.cx> |
1390 | + |
1391 | + Adding our idle function |
1392 | + |
1393 | +2010-06-29 Ted Gould <ted@gould.cx> |
1394 | + |
1395 | + Quit when window gets destroyed |
1396 | + |
1397 | +2010-06-29 Ted Gould <ted@gould.cx> |
1398 | + |
1399 | + Startting the mock json application loader. |
1400 | + |
1401 | +2010-06-29 Ted Gould <ted@gould.cx> |
1402 | + |
1403 | + Depending on Dbusmenu JSON loader |
1404 | + |
1405 | +2010-06-29 Ted Gould <ted@gould.cx> |
1406 | + |
1407 | + Fix menus that come later. |
1408 | + |
1409 | +2010-06-29 Ted Gould <ted@gould.cx> |
1410 | + |
1411 | + Making sure we're switching to a NULL window as well. |
1412 | + |
1413 | +2010-06-29 Ted Gould <ted@gould.cx> |
1414 | + |
1415 | + Tracking the root so we can disconnect. |
1416 | + |
1417 | +2010-06-29 Ted Gould <ted@gould.cx> |
1418 | + |
1419 | + Add in root tracking for the menus |
1420 | + |
1421 | +2010-06-29 Ted Gould <ted@gould.cx> |
1422 | + |
1423 | + Checking for no entries but an allocated array as well. |
1424 | + |
1425 | +2010-06-29 Ted Gould <ted@gould.cx> |
1426 | + |
1427 | + No entries, we can't remove anything. |
1428 | + |
1429 | +2010-06-29 Ted Gould <ted@gould.cx> |
1430 | + |
1431 | + Use the stock items instead of building our own. |
1432 | + |
1433 | +2010-06-24 Ted Gould <ted@gould.cx> |
1434 | + |
1435 | + Handling the mnemonics |
1436 | + |
1437 | +2010-06-24 Ted Gould <ted@gould.cx> |
1438 | + |
1439 | + Fallback if the lookup fails. |
1440 | + |
1441 | +2010-06-24 Ted Gould <ted@gould.cx> |
1442 | + |
1443 | + looking up the file/edit menu |
1444 | + |
1445 | +2010-06-24 Ted Gould <ted@gould.cx> |
1446 | + |
1447 | + mi to the top |
1448 | + |
1449 | +2010-06-24 Ted Gould <ted@gould.cx> |
1450 | + |
1451 | + Switching to use stock items for the submenu |
1452 | + |
1453 | +2010-06-24 Ted Gould <ted@gould.cx> |
1454 | + |
1455 | + 0.0.7 |
1456 | + |
1457 | +2010-06-24 Ted Gould <ted@gould.cx> |
1458 | + |
1459 | + Bumping version requirement to the newly released Dbusmenu 0.3.3 |
1460 | + |
1461 | +2010-06-22 Ted Gould <ted@gould.cx> |
1462 | + |
1463 | + Adding accelerator support |
1464 | + |
1465 | +2010-06-21 Ted Gould <ted@gould.cx> |
1466 | + |
1467 | + Adding some accels into the pusher |
1468 | + |
1469 | +2010-06-21 Ted Gould <ted@gould.cx> |
1470 | + |
1471 | + Create a new accel group and associate it with the client. |
1472 | + |
1473 | +2010-06-21 Ted Gould <ted@gould.cx> |
1474 | + |
1475 | + Tracking the window id properly and more debugging messages/checks. |
1476 | + |
1477 | +2010-06-21 Ted Gould <ted@gould.cx> |
1478 | + |
1479 | + Bad truth |
1480 | + |
1481 | +2010-06-21 Ted Gould <ted@gould.cx> |
1482 | + |
1483 | + Putting protection in to ensure errors don't propogate. |
1484 | + |
1485 | +2010-06-21 Ted Gould <ted@gould.cx> |
1486 | + |
1487 | + Setting the window ID private variable. |
1488 | + |
1489 | +2010-06-21 Ted Gould <ted@gould.cx> |
1490 | + |
1491 | + Some more debug messages. |
1492 | + |
1493 | +2010-06-18 Ted Gould <ted@gould.cx> |
1494 | + |
1495 | + Use the get_entries function to get lists of entries. |
1496 | + |
1497 | +2010-06-18 Ted Gould <ted@gould.cx> |
1498 | + |
1499 | + Use the entries list created by get_entries to signal the removal and addition of the menu entries. |
1500 | + |
1501 | +2010-06-17 Ted Gould <ted@gould.cx> |
1502 | + |
1503 | + 0.0.6 |
1504 | + |
1505 | +2010-06-17 Ted Gould <ted@gould.cx> |
1506 | + |
1507 | + Adding framework for window and desktop fallback menus. |
1508 | + |
1509 | +2010-06-16 Ted Gould <ted@gould.cx> |
1510 | + |
1511 | + Arg, copy and paste error. |
1512 | + |
1513 | +2010-06-16 Ted Gould <ted@gould.cx> |
1514 | + |
1515 | + We do deal with things besides windows now. |
1516 | + |
1517 | +2010-06-16 Ted Gould <ted@gould.cx> |
1518 | + |
1519 | + Super hack. Need to clean up code here. |
1520 | + |
1521 | +2010-06-16 Ted Gould <ted@gould.cx> |
1522 | + |
1523 | + A dummy desktop menu too |
1524 | + |
1525 | +2010-06-16 Ted Gould <ted@gould.cx> |
1526 | + |
1527 | + Build default window menus. |
1528 | + |
1529 | +2010-06-16 Ted Gould <ted@gould.cx> |
1530 | + |
1531 | + Some functions to create the menus |
1532 | + |
1533 | +2010-06-16 Ted Gould <ted@gould.cx> |
1534 | + |
1535 | + Making the get_entries function handle the cases of the default window menus and desktop menus. |
1536 | + |
1537 | +2010-06-16 Ted Gould <ted@gould.cx> |
1538 | + |
1539 | + Changing the function to get the placement of the entires to check the window and desktop menus as well. |
1540 | + |
1541 | +2010-06-16 Ted Gould <ted@gould.cx> |
1542 | + |
1543 | + Building, using and destroying the desktop and window menu arrays. |
1544 | + |
1545 | +2010-06-16 Ted Gould <ted@gould.cx> |
1546 | + |
1547 | + Setting active_window |
1548 | + |
1549 | +2010-06-16 Ted Gould <ted@gould.cx> |
1550 | + |
1551 | + Restructuring the switch function to handle the new cases. |
1552 | + |
1553 | +2010-06-16 Ted Gould <ted@gould.cx> |
1554 | + |
1555 | + Changing the prototype of switching windows to know what the active window is. |
1556 | + |
1557 | +2010-06-16 Ted Gould <ted@gould.cx> |
1558 | + |
1559 | + Adding support for tracking transient windows. |
1560 | + |
1561 | +2010-06-15 Ted Gould <ted@gould.cx> |
1562 | + |
1563 | + Eh, shoulda used debug |
1564 | + |
1565 | +2010-06-15 Ted Gould <ted@gould.cx> |
1566 | + |
1567 | + Debug message and making the xid visible for that. |
1568 | + |
1569 | +2010-06-15 Ted Gould <ted@gould.cx> |
1570 | + |
1571 | + Switch to using to the active_window_changed() function to support transient stuff. |
1572 | + |
1573 | +2010-06-15 Ted Gould <ted@gould.cx> |
1574 | + |
1575 | + Look up the transient stack if there is one. |
1576 | + |
1577 | +2010-06-15 David Barth <david.barth@canonical.com> |
1578 | + |
1579 | + Check that properties are explicitly set before setting the visibility and sensitivity of a menu. This fixes bugs where KDE apps menus were not displayed initially and were all disabled by default |
1580 | + |
1581 | +2010-06-15 David Barth <david.barth@canonical.com> |
1582 | + |
1583 | + typo |
1584 | + |
1585 | +2010-06-15 David Barth <david.barth@canonical.com> |
1586 | + |
1587 | + ahem, hide when necessary, and show by default, for real this time |
1588 | + |
1589 | +2010-06-15 David Barth <david.barth@canonical.com> |
1590 | + |
1591 | + conform to the default values defined in the protocol for items visibility and sensitivity |
1592 | + |
1593 | +2010-06-14 Ted Gould <ted@gould.cx> |
1594 | + |
1595 | + Support watching for apps leaving. |
1596 | + |
1597 | +2010-06-11 Ted Gould <ted@gould.cx> |
1598 | + |
1599 | + Use pound define for signal name. |
1600 | + |
1601 | +2010-06-11 Ted Gould <ted@gould.cx> |
1602 | + |
1603 | + Removing debug message. |
1604 | + |
1605 | +2010-06-11 Ted Gould <ted@gould.cx> |
1606 | + |
1607 | + Switching to steal as we're already destroying the object at this point. |
1608 | + |
1609 | +2010-06-11 Ted Gould <ted@gould.cx> |
1610 | + |
1611 | + Emitting destruction |
1612 | + |
1613 | +2010-06-11 Ted Gould <ted@gould.cx> |
1614 | + |
1615 | + Creating a destroy signal on the object |
1616 | + |
1617 | +2010-06-11 Ted Gould <ted@gould.cx> |
1618 | + |
1619 | + Dyslexia scuks |
1620 | + |
1621 | +2010-06-11 Ted Gould <ted@gould.cx> |
1622 | + |
1623 | + Handle destruction better |
1624 | + |
1625 | +2010-06-11 Ted Gould <ted@gould.cx> |
1626 | + |
1627 | + Connect into the destroy signal for the window menus going away. |
1628 | + |
1629 | +2010-06-11 Ted Gould <ted@gould.cx> |
1630 | + |
1631 | + Respond to the property proxy getting destroyed. |
1632 | + |
1633 | +2010-06-11 Ted Gould <ted@gould.cx> |
1634 | + |
1635 | + Add a property proxy on the object and establish a lifecycle for it. |
1636 | + |
1637 | +2010-06-10 Ted Gould <ted@gould.cx> |
1638 | + |
1639 | + 0.0.5 |
1640 | + |
1641 | +2010-06-10 Ted Gould <ted@gould.cx> |
1642 | + |
1643 | + Watch properties for hiding entries. |
1644 | + |
1645 | +2010-06-07 Ted Gould <ted@gould.cx> |
1646 | + |
1647 | + Look at the enabled and visible properties and watch for them changing. |
1648 | + |
1649 | +2010-06-04 Ted Gould <ted@gould.cx> |
1650 | + |
1651 | + 0.0.4 |
1652 | + |
1653 | +2010-06-04 Ted Gould <ted@gould.cx> |
1654 | + |
1655 | + Adding window switching with BAMF |
1656 | + |
1657 | +2010-06-04 Ted Gould <ted@gould.cx> |
1658 | + |
1659 | + Making sure we get a valid window from the matcher |
1660 | + |
1661 | +2010-06-03 Ted Gould <ted@gould.cx> |
1662 | + |
1663 | + Need to hide and show when we're switching things around. |
1664 | + |
1665 | +2010-06-03 Ted Gould <ted@gould.cx> |
1666 | + |
1667 | + Detach the menus before removing the entry. Seems to help. |
1668 | + |
1669 | +2010-06-03 Ted Gould <ted@gould.cx> |
1670 | + |
1671 | + Detach menus from their parent widgets before adding them to our entry. |
1672 | + |
1673 | +2010-06-03 Ted Gould <ted@gould.cx> |
1674 | + |
1675 | + Unreffing the GTK parts of the entries when destroying the object. |
1676 | + |
1677 | +2010-06-03 Ted Gould <ted@gould.cx> |
1678 | + |
1679 | + Make sure we keep our labels and menus around. |
1680 | + |
1681 | +2010-06-03 Ted Gould <ted@gould.cx> |
1682 | + |
1683 | + Hmm apparently you need these no matter what the docs say. |
1684 | + |
1685 | +2010-06-03 Ted Gould <ted@gould.cx> |
1686 | + |
1687 | + Using the hash table to lookup entries |
1688 | + |
1689 | +2010-06-03 Ted Gould <ted@gould.cx> |
1690 | + |
1691 | + Changing debug messages to use decimal like everything else. |
1692 | + |
1693 | +2010-06-02 Ted Gould <ted@gould.cx> |
1694 | + |
1695 | + Oh, forgot to ignore someone. |
1696 | + |
1697 | +2010-06-02 Ted Gould <ted@gould.cx> |
1698 | + |
1699 | + Merging in the debug interface branch to fix some conflicts. |
1700 | + |
1701 | +2010-05-27 Ted Gould <ted@gould.cx> |
1702 | + |
1703 | + Merging in trunk for switching |
1704 | + |
1705 | +2010-05-26 Ted Gould <ted@gould.cx> |
1706 | + |
1707 | + Changing to match real prototype of signal |
1708 | + |
1709 | +2010-05-24 Ted Gould <ted@gould.cx> |
1710 | + |
1711 | + When getting a new window registered, see if it's "the one" and only switch if so. |
1712 | + |
1713 | +2010-05-24 Ted Gould <ted@gould.cx> |
1714 | + |
1715 | + Debug message |
1716 | + |
1717 | +2010-05-24 Ted Gould <ted@gould.cx> |
1718 | + |
1719 | + Fleshing out the app switching |
1720 | + |
1721 | +2010-05-24 Ted Gould <ted@gould.cx> |
1722 | + |
1723 | + Getting ourselves a BAMF'ing matcher |
1724 | + |
1725 | +2010-05-18 Ted Gould <ted@gould.cx> |
1726 | + |
1727 | + Checking for bamf |
1728 | + |
1729 | +2010-06-02 Ted Gould <ted@gould.cx> |
1730 | + |
1731 | + Merging in debuging interface and a couple scripts |
1732 | + |
1733 | +2010-06-02 Ted Gould <ted@gould.cx> |
1734 | + |
1735 | + Cleaning up our built script |
1736 | + |
1737 | +2010-06-02 Ted Gould <ted@gould.cx> |
1738 | + |
1739 | + Changing the libexec path based on the configure stuff |
1740 | + |
1741 | +2010-06-02 Ted Gould <ted@gould.cx> |
1742 | + |
1743 | + Now we need a menu dumper as well |
1744 | + |
1745 | +2010-06-02 Ted Gould <ted@gould.cx> |
1746 | + |
1747 | + Making a quick little shell script for getting the current menu through the debug interface |
1748 | + |
1749 | +2010-06-02 Ted Gould <ted@gould.cx> |
1750 | + |
1751 | + Okay, now grabbing the values we have in the window menu object. |
1752 | + |
1753 | +2010-06-02 Ted Gould <ted@gould.cx> |
1754 | + |
1755 | + Apparently boxed isn't the right answer |
1756 | + |
1757 | +2010-06-02 Ted Gould <ted@gould.cx> |
1758 | + |
1759 | + Connecting things into the selected window menu |
1760 | + |
1761 | +2010-06-02 Ted Gould <ted@gould.cx> |
1762 | + |
1763 | + Fliping around the interface to use the proxy object and then redirect it to the proper one. |
1764 | + |
1765 | +2010-06-02 Ted Gould <ted@gould.cx> |
1766 | + |
1767 | + Allocating a debug object |
1768 | + |
1769 | +2010-06-02 Ted Gould <ted@gould.cx> |
1770 | + |
1771 | + Making an object for the debug proxy. |
1772 | + |
1773 | +2010-06-02 Ted Gould <ted@gould.cx> |
1774 | + |
1775 | + Ignoring the debug interface |
1776 | + |
1777 | +2010-06-01 Ted Gould <ted@gould.cx> |
1778 | + |
1779 | + Massive reformatting of prototypes |
1780 | + |
1781 | +2010-06-01 Ted Gould <ted@gould.cx> |
1782 | + |
1783 | + Haz gotz functions for debug interface. |
1784 | + |
1785 | +2010-06-01 Ted Gould <ted@gould.cx> |
1786 | + |
1787 | + Connecting into make files and fixing a little bug |
1788 | + |
1789 | +2010-06-01 Ted Gould <ted@gould.cx> |
1790 | + |
1791 | + Debug defines |
1792 | + |
1793 | +2010-06-01 Ted Gould <ted@gould.cx> |
1794 | + |
1795 | + A debug interface |
1796 | + |
1797 | +2010-05-27 Ted Gould <ted@gould.cx> |
1798 | + |
1799 | + 0.0.3 |
1800 | + |
1801 | +2010-05-27 Ted Gould <ted@gould.cx> |
1802 | + |
1803 | + Increasing required dbusmenu version to 0.3.0 |
1804 | + |
1805 | +2010-05-27 Ted Gould <ted@gould.cx> |
1806 | + |
1807 | + Remove timeouts and make menuitems dynamic |
1808 | + |
1809 | +2010-05-27 Ted Gould <ted@gould.cx> |
1810 | + |
1811 | + Freeing allocated memory |
1812 | + |
1813 | +2010-05-27 Ted Gould <ted@gould.cx> |
1814 | + |
1815 | + Signal on the right object |
1816 | + |
1817 | +2010-05-27 Ted Gould <ted@gould.cx> |
1818 | + |
1819 | + Removing app switching timeout |
1820 | + |
1821 | +2010-05-27 Ted Gould <ted@gould.cx> |
1822 | + |
1823 | + Need to parse the mnemonics |
1824 | + |
1825 | +2010-05-27 Ted Gould <ted@gould.cx> |
1826 | + |
1827 | + Fix signals as the entries aren't really objects, but pointers to structs. |
1828 | + |
1829 | +2010-05-27 Ted Gould <ted@gould.cx> |
1830 | + |
1831 | + Start removing and signaling when things are added, both signal sets |
1832 | + |
1833 | +2010-05-27 Ted Gould <ted@gould.cx> |
1834 | + |
1835 | + Instead of working at children getting added, let's figure when the first one gets realized. |
1836 | + |
1837 | +2010-05-26 Ted Gould <ted@gould.cx> |
1838 | + |
1839 | + Wait for the children to start appearing before adding the entry. |
1840 | + |
1841 | +2010-05-26 Ted Gould <ted@gould.cx> |
1842 | + |
1843 | + Foreach is recursive down the tree, we just want the first level of children. |
1844 | + |
1845 | +2010-05-26 Ted Gould <ted@gould.cx> |
1846 | + |
1847 | + Making it so we don't really add until the item is realized |
1848 | + |
1849 | +2010-05-26 Ted Gould <ted@gould.cx> |
1850 | + |
1851 | + Showing the label |
1852 | + |
1853 | +2010-05-26 Ted Gould <ted@gould.cx> |
1854 | + |
1855 | + Setting up labels and menus |
1856 | + |
1857 | +2010-05-26 Ted Gould <ted@gould.cx> |
1858 | + |
1859 | + Switching around the add and remove prototypes. Some carinage insued. |
1860 | + |
1861 | +2010-05-26 Ted Gould <ted@gould.cx> |
1862 | + |
1863 | + Sharting to flesh out the root changed signal |
1864 | + |
1865 | +2010-05-26 Ted Gould <ted@gould.cx> |
1866 | + |
1867 | + Switching to having a Dbusmenu client |
1868 | + |
1869 | +2010-05-26 Ted Gould <ted@gould.cx> |
1870 | + |
1871 | + Grab the container signals first |
1872 | + |
1873 | +2010-05-24 Ted Gould <ted@gould.cx> |
1874 | + |
1875 | + Putting back remove |
1876 | + |
1877 | +2010-05-24 Ted Gould <ted@gould.cx> |
1878 | + |
1879 | + Removing the timeout hack, going all with signals. |
1880 | + |
1881 | +2010-05-13 Ted Gould <ted@gould.cx> |
1882 | + |
1883 | + 0.0.2 -- UDS Demo |
1884 | + |
1885 | +2010-05-10 Ted Gould <ted@gould.cx> |
1886 | + |
1887 | + Timeout changes along with mneumonics. Review by Neil. |
1888 | + |
1889 | +2010-05-10 Ted Gould <ted@gould.cx> |
1890 | + |
1891 | + Make sure we use mnemonics |
1892 | + |
1893 | +2010-05-10 Ted Gould <ted@gould.cx> |
1894 | + |
1895 | + Increasing timeouts to work with QT |
1896 | + |
1897 | +2010-05-10 Ted Gould <ted@gould.cx> |
1898 | + |
1899 | + Fixing ordering for items. |
1900 | + |
1901 | +2010-05-10 Ted Gould <ted@gould.cx> |
1902 | + |
1903 | + Overriding get_location to call the active window menus |
1904 | + |
1905 | +2010-05-10 Ted Gould <ted@gould.cx> |
1906 | + |
1907 | + Adding a way to get the location from the window menu for the entires |
1908 | + |
1909 | +2010-05-07 Ted Gould <ted@gould.cx> |
1910 | + |
1911 | + Really don't store anything. |
1912 | + |
1913 | +2010-05-07 Ted Gould <ted@gould.cx> |
1914 | + |
1915 | + Not storing in a hash table, just leaking memory for fun. |
1916 | + |
1917 | +2010-05-07 Ted Gould <ted@gould.cx> |
1918 | + |
1919 | + Legal stuff |
1920 | + |
1921 | +2010-05-07 Ted Gould <ted@gould.cx> |
1922 | + |
1923 | + A header on the pusher |
1924 | + |
1925 | +2010-05-07 Ted Gould <ted@gould.cx> |
1926 | + |
1927 | + Headers on files for GPLv3 |
1928 | + |
1929 | +2010-05-07 Ted Gould <ted@gould.cx> |
1930 | + |
1931 | + Grabbing our very own version of the GPLv3 |
1932 | + |
1933 | +2010-05-07 Ted Gould <ted@gould.cx> |
1934 | + |
1935 | + Updates to build demo menus. |
1936 | + |
1937 | +2010-05-07 Ted Gould <ted@gould.cx> |
1938 | + |
1939 | + Move the menu off of its parent and make sure to show the label. |
1940 | + |
1941 | +2010-05-07 Ted Gould <ted@gould.cx> |
1942 | + |
1943 | + Hack to make it so that we build our menus on delay |
1944 | + |
1945 | +2010-05-07 Ted Gould <ted@gould.cx> |
1946 | + |
1947 | + Commenting out the add handler |
1948 | + |
1949 | +2010-05-07 Ted Gould <ted@gould.cx> |
1950 | + |
1951 | + Putting a timeout to allow the menu to get built -- work around |
1952 | + |
1953 | +2010-05-07 Ted Gould <ted@gould.cx> |
1954 | + |
1955 | + Fixing warning |
1956 | + |
1957 | +2010-05-07 Ted Gould <ted@gould.cx> |
1958 | + |
1959 | + Flipping parameters |
1960 | + |
1961 | +2010-05-07 Ted Gould <ted@gould.cx> |
1962 | + |
1963 | + Fixing to new interface name |
1964 | + |
1965 | +2010-05-07 Ted Gould <ted@gould.cx> |
1966 | + |
1967 | + Moving the XML file to the right interface name |
1968 | + |
1969 | +2010-05-07 Ted Gould <ted@gould.cx> |
1970 | + |
1971 | + Boxed to strings |
1972 | + |
1973 | +2010-05-07 Ted Gould <ted@gould.cx> |
1974 | + |
1975 | + Setting up the connection and pushing our menus |
1976 | + |
1977 | +2010-05-07 Ted Gould <ted@gould.cx> |
1978 | + |
1979 | + Building a menu |
1980 | + |
1981 | +2010-05-07 Ted Gould <ted@gould.cx> |
1982 | + |
1983 | + Adding a basic menu pusher |
1984 | + |
1985 | +2010-05-07 Ted Gould <ted@gould.cx> |
1986 | + |
1987 | + Adding a scripts directory |
1988 | + |
1989 | +2010-05-07 Ted Gould <ted@gould.cx> |
1990 | + |
1991 | + Passing up the signals |
1992 | + |
1993 | +2010-05-07 Ted Gould <ted@gould.cx> |
1994 | + |
1995 | + Connecting to the signals |
1996 | + |
1997 | +2010-05-07 Ted Gould <ted@gould.cx> |
1998 | + |
1999 | + Comment |
2000 | + |
2001 | +2010-05-07 Ted Gould <ted@gould.cx> |
2002 | + |
2003 | + Fleshing out adding an item a little bit |
2004 | + |
2005 | +2010-05-06 Ted Gould <ted@gould.cx> |
2006 | + |
2007 | + Build the list from the array of entries. |
2008 | + |
2009 | +2010-05-06 Ted Gould <ted@gould.cx> |
2010 | + |
2011 | + Building and destroying an array of entries |
2012 | + |
2013 | +2010-05-06 Ted Gould <ted@gould.cx> |
2014 | + |
2015 | + Adding in signal handlers for the menu changes |
2016 | + |
2017 | +2010-05-06 Ted Gould <ted@gould.cx> |
2018 | + |
2019 | + Adding in entry signals |
2020 | + |
2021 | +2010-05-06 Ted Gould <ted@gould.cx> |
2022 | + |
2023 | + Switching from a client to a menu and allocating it. |
2024 | + |
2025 | +2010-05-05 Ted Gould <ted@gould.cx> |
2026 | + |
2027 | + Brining up to speed |
2028 | + |
2029 | +2010-05-01 Ted Gould <ted@gould.cx> |
2030 | + |
2031 | + Start with the register |
2032 | + |
2033 | +2010-05-05 Ted Gould <ted@gould.cx> |
2034 | + |
2035 | + Rest of the name changes. |
2036 | + |
2037 | +2010-05-05 Ted Gould <ted@gould.cx> |
2038 | + |
2039 | + Changing the function prototypes to match the name change. |
2040 | + |
2041 | +2010-05-05 Ted Gould <ted@gould.cx> |
2042 | + |
2043 | + Matching the spec |
2044 | + |
2045 | +2010-05-05 Ted Gould <ted@gould.cx> |
2046 | + |
2047 | + Changing the dbus names |
2048 | + |
2049 | +2010-05-05 Ted Gould <ted@gould.cx> |
2050 | + |
2051 | + Changing names |
2052 | + |
2053 | +2010-05-05 Ted Gould <ted@gould.cx> |
2054 | + |
2055 | + 0.0.1 |
2056 | + |
2057 | +2010-05-05 Ted Gould <ted@gould.cx> |
2058 | + |
2059 | + Distcheck fixes |
2060 | + |
2061 | +2010-05-05 Ted Gould <ted@gould.cx> |
2062 | + |
2063 | + Setting up reigstering appmenus |
2064 | + |
2065 | +2010-05-01 Ted Gould <ted@gould.cx> |
2066 | + |
2067 | + Apparently these aren't GValues. Seems odd to me, but they're strings. Whatever. |
2068 | + |
2069 | +2010-05-01 Ted Gould <ted@gould.cx> |
2070 | + |
2071 | + Adding debug message |
2072 | + |
2073 | +2010-04-30 Ted Gould <ted@gould.cx> |
2074 | + |
2075 | + Take who ever registers and make them the default. Useful for testing, not real life. |
2076 | + |
2077 | +2010-04-30 Ted Gould <ted@gould.cx> |
2078 | + |
2079 | + Ignoring the marshaller object |
2080 | + |
2081 | +2010-04-23 Ted Gould <ted@gould.cx> |
2082 | + |
2083 | + Adding in a Dbusmenu GTK Client |
2084 | + |
2085 | +2010-04-23 Ted Gould <ted@gould.cx> |
2086 | + |
2087 | + Connecting in the proper marshallers |
2088 | + |
2089 | +2010-04-23 Ted Gould <ted@gould.cx> |
2090 | + |
2091 | + Bootstrapping in marshalling |
2092 | + |
2093 | +2010-04-22 Ted Gould <ted@gould.cx> |
2094 | + |
2095 | + Signaling too! |
2096 | + |
2097 | +2010-04-22 Ted Gould <ted@gould.cx> |
2098 | + |
2099 | + Fleshing out the register and unregister functions. |
2100 | + |
2101 | +2010-04-22 Ted Gould <ted@gould.cx> |
2102 | + |
2103 | + Trying to get us a name |
2104 | + |
2105 | +2010-04-22 Ted Gould <ted@gould.cx> |
2106 | + |
2107 | + Typo |
2108 | + |
2109 | +2010-04-22 Ted Gould <ted@gould.cx> |
2110 | + |
2111 | + Spacing fix |
2112 | + |
2113 | +2010-04-22 Ted Gould <ted@gould.cx> |
2114 | + |
2115 | + Setting this up as an object. |
2116 | + |
2117 | +2010-04-22 Ted Gould <ted@gould.cx> |
2118 | + |
2119 | + Building signals, but bad marshallers |
2120 | + |
2121 | +2010-04-22 Ted Gould <ted@gould.cx> |
2122 | + |
2123 | + Connecting in the server header. |
2124 | + |
2125 | +2010-04-21 Ted Gould <ted@gould.cx> |
2126 | + |
2127 | + Building a hash for handling the windows |
2128 | + |
2129 | +2010-04-21 Ted Gould <ted@gould.cx> |
2130 | + |
2131 | + Add a function for switching apps |
2132 | + |
2133 | +2010-04-21 Ted Gould <ted@gould.cx> |
2134 | + |
2135 | + Start getting rid of and building entries |
2136 | + |
2137 | +2010-04-21 Ted Gould <ted@gould.cx> |
2138 | + |
2139 | + Connecting in. |
2140 | + |
2141 | +2010-04-21 Ted Gould <ted@gould.cx> |
2142 | + |
2143 | + Base subclass of Indicator Object |
2144 | + |
2145 | +2010-04-21 Ted Gould <ted@gould.cx> |
2146 | + |
2147 | + Kill some objects |
2148 | + |
2149 | +2010-04-21 Ted Gould <ted@gould.cx> |
2150 | + |
2151 | + Wrong flags |
2152 | + |
2153 | +2010-04-21 Ted Gould <ted@gould.cx> |
2154 | + |
2155 | + Adding in a base object to tracking the menus. |
2156 | + |
2157 | +2010-04-19 Ted Gould <ted@gould.cx> |
2158 | + |
2159 | + Shared names |
2160 | + |
2161 | +2010-04-19 Ted Gould <ted@gould.cx> |
2162 | + |
2163 | + Turning the DBUS interface into header files. |
2164 | + |
2165 | +2010-04-19 Ted Gould <ted@gould.cx> |
2166 | + |
2167 | + First version of an API to register applications |
2168 | + |
2169 | +2010-04-19 Ted Gould <ted@gould.cx> |
2170 | + |
2171 | + Indicator now builds |
2172 | + |
2173 | +2010-04-19 Ted Gould <ted@gould.cx> |
2174 | + |
2175 | + Boot strap |
2176 | + |
2177 | |
2178 | === added file 'INSTALL' |
2179 | --- INSTALL 1970-01-01 00:00:00 +0000 |
2180 | +++ INSTALL 2010-12-11 02:23:52 +0000 |
2181 | @@ -0,0 +1,365 @@ |
2182 | +Installation Instructions |
2183 | +************************* |
2184 | + |
2185 | +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
2186 | +2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
2187 | + |
2188 | + Copying and distribution of this file, with or without modification, |
2189 | +are permitted in any medium without royalty provided the copyright |
2190 | +notice and this notice are preserved. This file is offered as-is, |
2191 | +without warranty of any kind. |
2192 | + |
2193 | +Basic Installation |
2194 | +================== |
2195 | + |
2196 | + Briefly, the shell commands `./configure; make; make install' should |
2197 | +configure, build, and install this package. The following |
2198 | +more-detailed instructions are generic; see the `README' file for |
2199 | +instructions specific to this package. Some packages provide this |
2200 | +`INSTALL' file but do not implement all of the features documented |
2201 | +below. The lack of an optional feature in a given package is not |
2202 | +necessarily a bug. More recommendations for GNU packages can be found |
2203 | +in *note Makefile Conventions: (standards)Makefile Conventions. |
2204 | + |
2205 | + The `configure' shell script attempts to guess correct values for |
2206 | +various system-dependent variables used during compilation. It uses |
2207 | +those values to create a `Makefile' in each directory of the package. |
2208 | +It may also create one or more `.h' files containing system-dependent |
2209 | +definitions. Finally, it creates a shell script `config.status' that |
2210 | +you can run in the future to recreate the current configuration, and a |
2211 | +file `config.log' containing compiler output (useful mainly for |
2212 | +debugging `configure'). |
2213 | + |
2214 | + It can also use an optional file (typically called `config.cache' |
2215 | +and enabled with `--cache-file=config.cache' or simply `-C') that saves |
2216 | +the results of its tests to speed up reconfiguring. Caching is |
2217 | +disabled by default to prevent problems with accidental use of stale |
2218 | +cache files. |
2219 | + |
2220 | + If you need to do unusual things to compile the package, please try |
2221 | +to figure out how `configure' could check whether to do them, and mail |
2222 | +diffs or instructions to the address given in the `README' so they can |
2223 | +be considered for the next release. If you are using the cache, and at |
2224 | +some point `config.cache' contains results you don't want to keep, you |
2225 | +may remove or edit it. |
2226 | + |
2227 | + The file `configure.ac' (or `configure.in') is used to create |
2228 | +`configure' by a program called `autoconf'. You need `configure.ac' if |
2229 | +you want to change it or regenerate `configure' using a newer version |
2230 | +of `autoconf'. |
2231 | + |
2232 | + The simplest way to compile this package is: |
2233 | + |
2234 | + 1. `cd' to the directory containing the package's source code and type |
2235 | + `./configure' to configure the package for your system. |
2236 | + |
2237 | + Running `configure' might take a while. While running, it prints |
2238 | + some messages telling which features it is checking for. |
2239 | + |
2240 | + 2. Type `make' to compile the package. |
2241 | + |
2242 | + 3. Optionally, type `make check' to run any self-tests that come with |
2243 | + the package, generally using the just-built uninstalled binaries. |
2244 | + |
2245 | + 4. Type `make install' to install the programs and any data files and |
2246 | + documentation. When installing into a prefix owned by root, it is |
2247 | + recommended that the package be configured and built as a regular |
2248 | + user, and only the `make install' phase executed with root |
2249 | + privileges. |
2250 | + |
2251 | + 5. Optionally, type `make installcheck' to repeat any self-tests, but |
2252 | + this time using the binaries in their final installed location. |
2253 | + This target does not install anything. Running this target as a |
2254 | + regular user, particularly if the prior `make install' required |
2255 | + root privileges, verifies that the installation completed |
2256 | + correctly. |
2257 | + |
2258 | + 6. You can remove the program binaries and object files from the |
2259 | + source code directory by typing `make clean'. To also remove the |
2260 | + files that `configure' created (so you can compile the package for |
2261 | + a different kind of computer), type `make distclean'. There is |
2262 | + also a `make maintainer-clean' target, but that is intended mainly |
2263 | + for the package's developers. If you use it, you may have to get |
2264 | + all sorts of other programs in order to regenerate files that came |
2265 | + with the distribution. |
2266 | + |
2267 | + 7. Often, you can also type `make uninstall' to remove the installed |
2268 | + files again. In practice, not all packages have tested that |
2269 | + uninstallation works correctly, even though it is required by the |
2270 | + GNU Coding Standards. |
2271 | + |
2272 | + 8. Some packages, particularly those that use Automake, provide `make |
2273 | + distcheck', which can by used by developers to test that all other |
2274 | + targets like `make install' and `make uninstall' work correctly. |
2275 | + This target is generally not run by end users. |
2276 | + |
2277 | +Compilers and Options |
2278 | +===================== |
2279 | + |
2280 | + Some systems require unusual options for compilation or linking that |
2281 | +the `configure' script does not know about. Run `./configure --help' |
2282 | +for details on some of the pertinent environment variables. |
2283 | + |
2284 | + You can give `configure' initial values for configuration parameters |
2285 | +by setting variables in the command line or in the environment. Here |
2286 | +is an example: |
2287 | + |
2288 | + ./configure CC=c99 CFLAGS=-g LIBS=-lposix |
2289 | + |
2290 | + *Note Defining Variables::, for more details. |
2291 | + |
2292 | +Compiling For Multiple Architectures |
2293 | +==================================== |
2294 | + |
2295 | + You can compile the package for more than one kind of computer at the |
2296 | +same time, by placing the object files for each architecture in their |
2297 | +own directory. To do this, you can use GNU `make'. `cd' to the |
2298 | +directory where you want the object files and executables to go and run |
2299 | +the `configure' script. `configure' automatically checks for the |
2300 | +source code in the directory that `configure' is in and in `..'. This |
2301 | +is known as a "VPATH" build. |
2302 | + |
2303 | + With a non-GNU `make', it is safer to compile the package for one |
2304 | +architecture at a time in the source code directory. After you have |
2305 | +installed the package for one architecture, use `make distclean' before |
2306 | +reconfiguring for another architecture. |
2307 | + |
2308 | + On MacOS X 10.5 and later systems, you can create libraries and |
2309 | +executables that work on multiple system types--known as "fat" or |
2310 | +"universal" binaries--by specifying multiple `-arch' options to the |
2311 | +compiler but only a single `-arch' option to the preprocessor. Like |
2312 | +this: |
2313 | + |
2314 | + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
2315 | + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
2316 | + CPP="gcc -E" CXXCPP="g++ -E" |
2317 | + |
2318 | + This is not guaranteed to produce working output in all cases, you |
2319 | +may have to build one architecture at a time and combine the results |
2320 | +using the `lipo' tool if you have problems. |
2321 | + |
2322 | +Installation Names |
2323 | +================== |
2324 | + |
2325 | + By default, `make install' installs the package's commands under |
2326 | +`/usr/local/bin', include files under `/usr/local/include', etc. You |
2327 | +can specify an installation prefix other than `/usr/local' by giving |
2328 | +`configure' the option `--prefix=PREFIX', where PREFIX must be an |
2329 | +absolute file name. |
2330 | + |
2331 | + You can specify separate installation prefixes for |
2332 | +architecture-specific files and architecture-independent files. If you |
2333 | +pass the option `--exec-prefix=PREFIX' to `configure', the package uses |
2334 | +PREFIX as the prefix for installing programs and libraries. |
2335 | +Documentation and other data files still use the regular prefix. |
2336 | + |
2337 | + In addition, if you use an unusual directory layout you can give |
2338 | +options like `--bindir=DIR' to specify different values for particular |
2339 | +kinds of files. Run `configure --help' for a list of the directories |
2340 | +you can set and what kinds of files go in them. In general, the |
2341 | +default for these options is expressed in terms of `${prefix}', so that |
2342 | +specifying just `--prefix' will affect all of the other directory |
2343 | +specifications that were not explicitly provided. |
2344 | + |
2345 | + The most portable way to affect installation locations is to pass the |
2346 | +correct locations to `configure'; however, many packages provide one or |
2347 | +both of the following shortcuts of passing variable assignments to the |
2348 | +`make install' command line to change installation locations without |
2349 | +having to reconfigure or recompile. |
2350 | + |
2351 | + The first method involves providing an override variable for each |
2352 | +affected directory. For example, `make install |
2353 | +prefix=/alternate/directory' will choose an alternate location for all |
2354 | +directory configuration variables that were expressed in terms of |
2355 | +`${prefix}'. Any directories that were specified during `configure', |
2356 | +but not in terms of `${prefix}', must each be overridden at install |
2357 | +time for the entire installation to be relocated. The approach of |
2358 | +makefile variable overrides for each directory variable is required by |
2359 | +the GNU Coding Standards, and ideally causes no recompilation. |
2360 | +However, some platforms have known limitations with the semantics of |
2361 | +shared libraries that end up requiring recompilation when using this |
2362 | +method, particularly noticeable in packages that use GNU Libtool. |
2363 | + |
2364 | + The second method involves providing the `DESTDIR' variable. For |
2365 | +example, `make install DESTDIR=/alternate/directory' will prepend |
2366 | +`/alternate/directory' before all installation names. The approach of |
2367 | +`DESTDIR' overrides is not required by the GNU Coding Standards, and |
2368 | +does not work on platforms that have drive letters. On the other hand, |
2369 | +it does better at avoiding recompilation issues, and works well even |
2370 | +when some directory options were not specified in terms of `${prefix}' |
2371 | +at `configure' time. |
2372 | + |
2373 | +Optional Features |
2374 | +================= |
2375 | + |
2376 | + If the package supports it, you can cause programs to be installed |
2377 | +with an extra prefix or suffix on their names by giving `configure' the |
2378 | +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
2379 | + |
2380 | + Some packages pay attention to `--enable-FEATURE' options to |
2381 | +`configure', where FEATURE indicates an optional part of the package. |
2382 | +They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
2383 | +is something like `gnu-as' or `x' (for the X Window System). The |
2384 | +`README' should mention any `--enable-' and `--with-' options that the |
2385 | +package recognizes. |
2386 | + |
2387 | + For packages that use the X Window System, `configure' can usually |
2388 | +find the X include and library files automatically, but if it doesn't, |
2389 | +you can use the `configure' options `--x-includes=DIR' and |
2390 | +`--x-libraries=DIR' to specify their locations. |
2391 | + |
2392 | + Some packages offer the ability to configure how verbose the |
2393 | +execution of `make' will be. For these packages, running `./configure |
2394 | +--enable-silent-rules' sets the default to minimal output, which can be |
2395 | +overridden with `make V=1'; while running `./configure |
2396 | +--disable-silent-rules' sets the default to verbose, which can be |
2397 | +overridden with `make V=0'. |
2398 | + |
2399 | +Particular systems |
2400 | +================== |
2401 | + |
2402 | + On HP-UX, the default C compiler is not ANSI C compatible. If GNU |
2403 | +CC is not installed, it is recommended to use the following options in |
2404 | +order to use an ANSI C compiler: |
2405 | + |
2406 | + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
2407 | + |
2408 | +and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
2409 | + |
2410 | + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
2411 | +parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
2412 | +a workaround. If GNU CC is not installed, it is therefore recommended |
2413 | +to try |
2414 | + |
2415 | + ./configure CC="cc" |
2416 | + |
2417 | +and if that doesn't work, try |
2418 | + |
2419 | + ./configure CC="cc -nodtk" |
2420 | + |
2421 | + On Solaris, don't put `/usr/ucb' early in your `PATH'. This |
2422 | +directory contains several dysfunctional programs; working variants of |
2423 | +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' |
2424 | +in your `PATH', put it _after_ `/usr/bin'. |
2425 | + |
2426 | + On Haiku, software installed for all users goes in `/boot/common', |
2427 | +not `/usr/local'. It is recommended to use the following options: |
2428 | + |
2429 | + ./configure --prefix=/boot/common |
2430 | + |
2431 | +Specifying the System Type |
2432 | +========================== |
2433 | + |
2434 | + There may be some features `configure' cannot figure out |
2435 | +automatically, but needs to determine by the type of machine the package |
2436 | +will run on. Usually, assuming the package is built to be run on the |
2437 | +_same_ architectures, `configure' can figure that out, but if it prints |
2438 | +a message saying it cannot guess the machine type, give it the |
2439 | +`--build=TYPE' option. TYPE can either be a short name for the system |
2440 | +type, such as `sun4', or a canonical name which has the form: |
2441 | + |
2442 | + CPU-COMPANY-SYSTEM |
2443 | + |
2444 | +where SYSTEM can have one of these forms: |
2445 | + |
2446 | + OS |
2447 | + KERNEL-OS |
2448 | + |
2449 | + See the file `config.sub' for the possible values of each field. If |
2450 | +`config.sub' isn't included in this package, then this package doesn't |
2451 | +need to know the machine type. |
2452 | + |
2453 | + If you are _building_ compiler tools for cross-compiling, you should |
2454 | +use the option `--target=TYPE' to select the type of system they will |
2455 | +produce code for. |
2456 | + |
2457 | + If you want to _use_ a cross compiler, that generates code for a |
2458 | +platform different from the build platform, you should specify the |
2459 | +"host" platform (i.e., that on which the generated programs will |
2460 | +eventually be run) with `--host=TYPE'. |
2461 | + |
2462 | +Sharing Defaults |
2463 | +================ |
2464 | + |
2465 | + If you want to set default values for `configure' scripts to share, |
2466 | +you can create a site shell script called `config.site' that gives |
2467 | +default values for variables like `CC', `cache_file', and `prefix'. |
2468 | +`configure' looks for `PREFIX/share/config.site' if it exists, then |
2469 | +`PREFIX/etc/config.site' if it exists. Or, you can set the |
2470 | +`CONFIG_SITE' environment variable to the location of the site script. |
2471 | +A warning: not all `configure' scripts look for a site script. |
2472 | + |
2473 | +Defining Variables |
2474 | +================== |
2475 | + |
2476 | + Variables not defined in a site shell script can be set in the |
2477 | +environment passed to `configure'. However, some packages may run |
2478 | +configure again during the build, and the customized values of these |
2479 | +variables may be lost. In order to avoid this problem, you should set |
2480 | +them in the `configure' command line, using `VAR=value'. For example: |
2481 | + |
2482 | + ./configure CC=/usr/local2/bin/gcc |
2483 | + |
2484 | +causes the specified `gcc' to be used as the C compiler (unless it is |
2485 | +overridden in the site shell script). |
2486 | + |
2487 | +Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
2488 | +an Autoconf bug. Until the bug is fixed you can use this workaround: |
2489 | + |
2490 | + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash |
2491 | + |
2492 | +`configure' Invocation |
2493 | +====================== |
2494 | + |
2495 | + `configure' recognizes the following options to control how it |
2496 | +operates. |
2497 | + |
2498 | +`--help' |
2499 | +`-h' |
2500 | + Print a summary of all of the options to `configure', and exit. |
2501 | + |
2502 | +`--help=short' |
2503 | +`--help=recursive' |
2504 | + Print a summary of the options unique to this package's |
2505 | + `configure', and exit. The `short' variant lists options used |
2506 | + only in the top level, while the `recursive' variant lists options |
2507 | + also present in any nested packages. |
2508 | + |
2509 | +`--version' |
2510 | +`-V' |
2511 | + Print the version of Autoconf used to generate the `configure' |
2512 | + script, and exit. |
2513 | + |
2514 | +`--cache-file=FILE' |
2515 | + Enable the cache: use and save the results of the tests in FILE, |
2516 | + traditionally `config.cache'. FILE defaults to `/dev/null' to |
2517 | + disable caching. |
2518 | + |
2519 | +`--config-cache' |
2520 | +`-C' |
2521 | + Alias for `--cache-file=config.cache'. |
2522 | + |
2523 | +`--quiet' |
2524 | +`--silent' |
2525 | +`-q' |
2526 | + Do not print messages saying which checks are being made. To |
2527 | + suppress all normal output, redirect it to `/dev/null' (any error |
2528 | + messages will still be shown). |
2529 | + |
2530 | +`--srcdir=DIR' |
2531 | + Look for the package's source code in directory DIR. Usually |
2532 | + `configure' can determine that directory automatically. |
2533 | + |
2534 | +`--prefix=DIR' |
2535 | + Use DIR as the installation prefix. *note Installation Names:: |
2536 | + for more details, including other options available for fine-tuning |
2537 | + the installation locations. |
2538 | + |
2539 | +`--no-create' |
2540 | +`-n' |
2541 | + Run the configure checks, but stop before creating any output |
2542 | + files. |
2543 | + |
2544 | +`configure' also accepts some other, not widely useful, options. Run |
2545 | +`configure --help' for more details. |
2546 | + |
2547 | |
2548 | === added file 'Makefile.in' |
2549 | --- Makefile.in 1970-01-01 00:00:00 +0000 |
2550 | +++ Makefile.in 2010-12-11 02:23:52 +0000 |
2551 | @@ -0,0 +1,772 @@ |
2552 | +# Makefile.in generated by automake 1.11.1 from Makefile.am. |
2553 | +# @configure_input@ |
2554 | + |
2555 | +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
2556 | +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
2557 | +# Inc. |
2558 | +# This Makefile.in is free software; the Free Software Foundation |
2559 | +# gives unlimited permission to copy and/or distribute it, |
2560 | +# with or without modifications, as long as this notice is preserved. |
2561 | + |
2562 | +# This program is distributed in the hope that it will be useful, |
2563 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
2564 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
2565 | +# PARTICULAR PURPOSE. |
2566 | + |
2567 | +@SET_MAKE@ |
2568 | +VPATH = @srcdir@ |
2569 | +pkgdatadir = $(datadir)/@PACKAGE@ |
2570 | +pkgincludedir = $(includedir)/@PACKAGE@ |
2571 | +pkglibdir = $(libdir)/@PACKAGE@ |
2572 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
2573 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
2574 | +install_sh_DATA = $(install_sh) -c -m 644 |
2575 | +install_sh_PROGRAM = $(install_sh) -c |
2576 | +install_sh_SCRIPT = $(install_sh) -c |
2577 | +INSTALL_HEADER = $(INSTALL_DATA) |
2578 | +transform = $(program_transform_name) |
2579 | +NORMAL_INSTALL = : |
2580 | +PRE_INSTALL = : |
2581 | +POST_INSTALL = : |
2582 | +NORMAL_UNINSTALL = : |
2583 | +PRE_UNINSTALL = : |
2584 | +POST_UNINSTALL = : |
2585 | +build_triplet = @build@ |
2586 | +host_triplet = @host@ |
2587 | +subdir = . |
2588 | +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
2589 | + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
2590 | + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
2591 | + compile config.guess config.sub depcomp install-sh ltmain.sh \ |
2592 | + missing |
2593 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
2594 | +am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
2595 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
2596 | + $(ACLOCAL_M4) |
2597 | +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
2598 | + configure.lineno config.status.lineno |
2599 | +mkinstalldirs = $(install_sh) -d |
2600 | +CONFIG_HEADER = config.h |
2601 | +CONFIG_CLEAN_FILES = |
2602 | +CONFIG_CLEAN_VPATH_FILES = |
2603 | +AM_V_GEN = $(am__v_GEN_$(V)) |
2604 | +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) |
2605 | +am__v_GEN_0 = @echo " GEN " $@; |
2606 | +AM_V_at = $(am__v_at_$(V)) |
2607 | +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) |
2608 | +am__v_at_0 = @ |
2609 | +SOURCES = |
2610 | +DIST_SOURCES = |
2611 | +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
2612 | + html-recursive info-recursive install-data-recursive \ |
2613 | + install-dvi-recursive install-exec-recursive \ |
2614 | + install-html-recursive install-info-recursive \ |
2615 | + install-pdf-recursive install-ps-recursive install-recursive \ |
2616 | + installcheck-recursive installdirs-recursive pdf-recursive \ |
2617 | + ps-recursive uninstall-recursive |
2618 | +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
2619 | + distclean-recursive maintainer-clean-recursive |
2620 | +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
2621 | + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
2622 | + distdir dist dist-all distcheck |
2623 | +ETAGS = etags |
2624 | +CTAGS = ctags |
2625 | +DIST_SUBDIRS = $(SUBDIRS) |
2626 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
2627 | +distdir = $(PACKAGE)-$(VERSION) |
2628 | +top_distdir = $(distdir) |
2629 | +am__remove_distdir = \ |
2630 | + { test ! -d "$(distdir)" \ |
2631 | + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
2632 | + && rm -fr "$(distdir)"; }; } |
2633 | +am__relativize = \ |
2634 | + dir0=`pwd`; \ |
2635 | + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
2636 | + sed_rest='s,^[^/]*/*,,'; \ |
2637 | + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
2638 | + sed_butlast='s,/*[^/]*$$,,'; \ |
2639 | + while test -n "$$dir1"; do \ |
2640 | + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
2641 | + if test "$$first" != "."; then \ |
2642 | + if test "$$first" = ".."; then \ |
2643 | + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
2644 | + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
2645 | + else \ |
2646 | + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
2647 | + if test "$$first2" = "$$first"; then \ |
2648 | + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
2649 | + else \ |
2650 | + dir2="../$$dir2"; \ |
2651 | + fi; \ |
2652 | + dir0="$$dir0"/"$$first"; \ |
2653 | + fi; \ |
2654 | + fi; \ |
2655 | + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
2656 | + done; \ |
2657 | + reldir="$$dir2" |
2658 | +DIST_ARCHIVES = $(distdir).tar.gz |
2659 | +GZIP_ENV = --best |
2660 | +distuninstallcheck_listfiles = find . -type f -print |
2661 | +distcleancheck_listfiles = find . -type f -print |
2662 | +ACLOCAL = @ACLOCAL@ |
2663 | +AMTAR = @AMTAR@ |
2664 | +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
2665 | +AR = @AR@ |
2666 | +AUTOCONF = @AUTOCONF@ |
2667 | +AUTOHEADER = @AUTOHEADER@ |
2668 | +AUTOMAKE = @AUTOMAKE@ |
2669 | +AWK = @AWK@ |
2670 | +CC = @CC@ |
2671 | +CCDEPMODE = @CCDEPMODE@ |
2672 | +CFLAGS = @CFLAGS@ |
2673 | +CPP = @CPP@ |
2674 | +CPPFLAGS = @CPPFLAGS@ |
2675 | +CYGPATH_W = @CYGPATH_W@ |
2676 | +DBUSSERVICEDIR = @DBUSSERVICEDIR@ |
2677 | +DEFS = @DEFS@ |
2678 | +DEPDIR = @DEPDIR@ |
2679 | +DSYMUTIL = @DSYMUTIL@ |
2680 | +DUMPBIN = @DUMPBIN@ |
2681 | +ECHO_C = @ECHO_C@ |
2682 | +ECHO_N = @ECHO_N@ |
2683 | +ECHO_T = @ECHO_T@ |
2684 | +EGREP = @EGREP@ |
2685 | +EXEEXT = @EXEEXT@ |
2686 | +FGREP = @FGREP@ |
2687 | +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ |
2688 | +GLIB_MKENUMS = @GLIB_MKENUMS@ |
2689 | +GREP = @GREP@ |
2690 | +GTKDOC_CHECK = @GTKDOC_CHECK@ |
2691 | +GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
2692 | +GTKDOC_REBASE = @GTKDOC_REBASE@ |
2693 | +HTML_DIR = @HTML_DIR@ |
2694 | +INDICATORDIR = @INDICATORDIR@ |
2695 | +INDICATORICONSDIR = @INDICATORICONSDIR@ |
2696 | +INDICATORTEST_CFLAGS = @INDICATORTEST_CFLAGS@ |
2697 | +INDICATORTEST_LIBS = @INDICATORTEST_LIBS@ |
2698 | +INDICATOR_CFLAGS = @INDICATOR_CFLAGS@ |
2699 | +INDICATOR_LIBS = @INDICATOR_LIBS@ |
2700 | +INSTALL = @INSTALL@ |
2701 | +INSTALL_DATA = @INSTALL_DATA@ |
2702 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
2703 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
2704 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
2705 | +LD = @LD@ |
2706 | +LDFLAGS = @LDFLAGS@ |
2707 | +LIBOBJS = @LIBOBJS@ |
2708 | +LIBS = @LIBS@ |
2709 | +LIBTOOL = @LIBTOOL@ |
2710 | +LIPO = @LIPO@ |
2711 | +LN_S = @LN_S@ |
2712 | +LTLIBOBJS = @LTLIBOBJS@ |
2713 | +MAINT = @MAINT@ |
2714 | +MAKEINFO = @MAKEINFO@ |
2715 | +MKDIR_P = @MKDIR_P@ |
2716 | +NM = @NM@ |
2717 | +NMEDIT = @NMEDIT@ |
2718 | +OBJDUMP = @OBJDUMP@ |
2719 | +OBJEXT = @OBJEXT@ |
2720 | +OTOOL = @OTOOL@ |
2721 | +OTOOL64 = @OTOOL64@ |
2722 | +PACKAGE = @PACKAGE@ |
2723 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
2724 | +PACKAGE_NAME = @PACKAGE_NAME@ |
2725 | +PACKAGE_STRING = @PACKAGE_STRING@ |
2726 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
2727 | +PACKAGE_URL = @PACKAGE_URL@ |
2728 | +PACKAGE_VERSION = @PACKAGE_VERSION@ |
2729 | +PATH_SEPARATOR = @PATH_SEPARATOR@ |
2730 | +PKG_CONFIG = @PKG_CONFIG@ |
2731 | +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
2732 | +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
2733 | +RANLIB = @RANLIB@ |
2734 | +SED = @SED@ |
2735 | +SET_MAKE = @SET_MAKE@ |
2736 | +SHELL = @SHELL@ |
2737 | +STRIP = @STRIP@ |
2738 | +VERSION = @VERSION@ |
2739 | +abs_builddir = @abs_builddir@ |
2740 | +abs_srcdir = @abs_srcdir@ |
2741 | +abs_top_builddir = @abs_top_builddir@ |
2742 | +abs_top_srcdir = @abs_top_srcdir@ |
2743 | +ac_ct_CC = @ac_ct_CC@ |
2744 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
2745 | +am__include = @am__include@ |
2746 | +am__leading_dot = @am__leading_dot@ |
2747 | +am__quote = @am__quote@ |
2748 | +am__tar = @am__tar@ |
2749 | +am__untar = @am__untar@ |
2750 | +bindir = @bindir@ |
2751 | +build = @build@ |
2752 | +build_alias = @build_alias@ |
2753 | +build_cpu = @build_cpu@ |
2754 | +build_os = @build_os@ |
2755 | +build_vendor = @build_vendor@ |
2756 | +builddir = @builddir@ |
2757 | +datadir = @datadir@ |
2758 | +datarootdir = @datarootdir@ |
2759 | +docdir = @docdir@ |
2760 | +dvidir = @dvidir@ |
2761 | +exec_prefix = @exec_prefix@ |
2762 | +host = @host@ |
2763 | +host_alias = @host_alias@ |
2764 | +host_cpu = @host_cpu@ |
2765 | +host_os = @host_os@ |
2766 | +host_vendor = @host_vendor@ |
2767 | +htmldir = @htmldir@ |
2768 | +includedir = @includedir@ |
2769 | +infodir = @infodir@ |
2770 | +install_sh = @install_sh@ |
2771 | +libdir = @libdir@ |
2772 | +libexecdir = @libexecdir@ |
2773 | +localedir = @localedir@ |
2774 | +localstatedir = @localstatedir@ |
2775 | +lt_ECHO = @lt_ECHO@ |
2776 | +mandir = @mandir@ |
2777 | +mkdir_p = @mkdir_p@ |
2778 | +oldincludedir = @oldincludedir@ |
2779 | +pdfdir = @pdfdir@ |
2780 | +prefix = @prefix@ |
2781 | +program_transform_name = @program_transform_name@ |
2782 | +psdir = @psdir@ |
2783 | +sbindir = @sbindir@ |
2784 | +sharedstatedir = @sharedstatedir@ |
2785 | +srcdir = @srcdir@ |
2786 | +sysconfdir = @sysconfdir@ |
2787 | +target_alias = @target_alias@ |
2788 | +top_build_prefix = @top_build_prefix@ |
2789 | +top_builddir = @top_builddir@ |
2790 | +top_srcdir = @top_srcdir@ |
2791 | +SUBDIRS = \ |
2792 | + src \ |
2793 | + scripts \ |
2794 | + tools |
2795 | + |
2796 | +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall |
2797 | +all: config.h |
2798 | + $(MAKE) $(AM_MAKEFLAGS) all-recursive |
2799 | + |
2800 | +.SUFFIXES: |
2801 | +am--refresh: |
2802 | + @: |
2803 | +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
2804 | + @for dep in $?; do \ |
2805 | + case '$(am__configure_deps)' in \ |
2806 | + *$$dep*) \ |
2807 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
2808 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
2809 | + && exit 0; \ |
2810 | + exit 1;; \ |
2811 | + esac; \ |
2812 | + done; \ |
2813 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
2814 | + $(am__cd) $(top_srcdir) && \ |
2815 | + $(AUTOMAKE) --gnu Makefile |
2816 | +.PRECIOUS: Makefile |
2817 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
2818 | + @case '$?' in \ |
2819 | + *config.status*) \ |
2820 | + echo ' $(SHELL) ./config.status'; \ |
2821 | + $(SHELL) ./config.status;; \ |
2822 | + *) \ |
2823 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
2824 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
2825 | + esac; |
2826 | + |
2827 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
2828 | + $(SHELL) ./config.status --recheck |
2829 | + |
2830 | +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
2831 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
2832 | +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
2833 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
2834 | +$(am__aclocal_m4_deps): |
2835 | + |
2836 | +config.h: stamp-h1 |
2837 | + @if test ! -f $@; then \ |
2838 | + rm -f stamp-h1; \ |
2839 | + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
2840 | + else :; fi |
2841 | + |
2842 | +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
2843 | + @rm -f stamp-h1 |
2844 | + cd $(top_builddir) && $(SHELL) ./config.status config.h |
2845 | +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
2846 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
2847 | + rm -f stamp-h1 |
2848 | + touch $@ |
2849 | + |
2850 | +distclean-hdr: |
2851 | + -rm -f config.h stamp-h1 |
2852 | + |
2853 | +mostlyclean-libtool: |
2854 | + -rm -f *.lo |
2855 | + |
2856 | +clean-libtool: |
2857 | + -rm -rf .libs _libs |
2858 | + |
2859 | +distclean-libtool: |
2860 | + -rm -f libtool config.lt |
2861 | + |
2862 | +# This directory's subdirectories are mostly independent; you can cd |
2863 | +# into them and run `make' without going through this Makefile. |
2864 | +# To change the values of `make' variables: instead of editing Makefiles, |
2865 | +# (1) if the variable is set in `config.status', edit `config.status' |
2866 | +# (which will cause the Makefiles to be regenerated when you run `make'); |
2867 | +# (2) otherwise, pass the desired values on the `make' command line. |
2868 | +$(RECURSIVE_TARGETS): |
2869 | + @fail= failcom='exit 1'; \ |
2870 | + for f in x $$MAKEFLAGS; do \ |
2871 | + case $$f in \ |
2872 | + *=* | --[!k]*);; \ |
2873 | + *k*) failcom='fail=yes';; \ |
2874 | + esac; \ |
2875 | + done; \ |
2876 | + dot_seen=no; \ |
2877 | + target=`echo $@ | sed s/-recursive//`; \ |
2878 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
2879 | + echo "Making $$target in $$subdir"; \ |
2880 | + if test "$$subdir" = "."; then \ |
2881 | + dot_seen=yes; \ |
2882 | + local_target="$$target-am"; \ |
2883 | + else \ |
2884 | + local_target="$$target"; \ |
2885 | + fi; \ |
2886 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
2887 | + || eval $$failcom; \ |
2888 | + done; \ |
2889 | + if test "$$dot_seen" = "no"; then \ |
2890 | + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
2891 | + fi; test -z "$$fail" |
2892 | + |
2893 | +$(RECURSIVE_CLEAN_TARGETS): |
2894 | + @fail= failcom='exit 1'; \ |
2895 | + for f in x $$MAKEFLAGS; do \ |
2896 | + case $$f in \ |
2897 | + *=* | --[!k]*);; \ |
2898 | + *k*) failcom='fail=yes';; \ |
2899 | + esac; \ |
2900 | + done; \ |
2901 | + dot_seen=no; \ |
2902 | + case "$@" in \ |
2903 | + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
2904 | + *) list='$(SUBDIRS)' ;; \ |
2905 | + esac; \ |
2906 | + rev=''; for subdir in $$list; do \ |
2907 | + if test "$$subdir" = "."; then :; else \ |
2908 | + rev="$$subdir $$rev"; \ |
2909 | + fi; \ |
2910 | + done; \ |
2911 | + rev="$$rev ."; \ |
2912 | + target=`echo $@ | sed s/-recursive//`; \ |
2913 | + for subdir in $$rev; do \ |
2914 | + echo "Making $$target in $$subdir"; \ |
2915 | + if test "$$subdir" = "."; then \ |
2916 | + local_target="$$target-am"; \ |
2917 | + else \ |
2918 | + local_target="$$target"; \ |
2919 | + fi; \ |
2920 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
2921 | + || eval $$failcom; \ |
2922 | + done && test -z "$$fail" |
2923 | +tags-recursive: |
2924 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
2925 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
2926 | + done |
2927 | +ctags-recursive: |
2928 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
2929 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
2930 | + done |
2931 | + |
2932 | +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
2933 | + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
2934 | + unique=`for i in $$list; do \ |
2935 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2936 | + done | \ |
2937 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2938 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2939 | + mkid -fID $$unique |
2940 | +tags: TAGS |
2941 | + |
2942 | +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2943 | + $(TAGS_FILES) $(LISP) |
2944 | + set x; \ |
2945 | + here=`pwd`; \ |
2946 | + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
2947 | + include_option=--etags-include; \ |
2948 | + empty_fix=.; \ |
2949 | + else \ |
2950 | + include_option=--include; \ |
2951 | + empty_fix=; \ |
2952 | + fi; \ |
2953 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
2954 | + if test "$$subdir" = .; then :; else \ |
2955 | + test ! -f $$subdir/TAGS || \ |
2956 | + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
2957 | + fi; \ |
2958 | + done; \ |
2959 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2960 | + unique=`for i in $$list; do \ |
2961 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2962 | + done | \ |
2963 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2964 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2965 | + shift; \ |
2966 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
2967 | + test -n "$$unique" || unique=$$empty_fix; \ |
2968 | + if test $$# -gt 0; then \ |
2969 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2970 | + "$$@" $$unique; \ |
2971 | + else \ |
2972 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2973 | + $$unique; \ |
2974 | + fi; \ |
2975 | + fi |
2976 | +ctags: CTAGS |
2977 | +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2978 | + $(TAGS_FILES) $(LISP) |
2979 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2980 | + unique=`for i in $$list; do \ |
2981 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2982 | + done | \ |
2983 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2984 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2985 | + test -z "$(CTAGS_ARGS)$$unique" \ |
2986 | + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
2987 | + $$unique |
2988 | + |
2989 | +GTAGS: |
2990 | + here=`$(am__cd) $(top_builddir) && pwd` \ |
2991 | + && $(am__cd) $(top_srcdir) \ |
2992 | + && gtags -i $(GTAGS_ARGS) "$$here" |
2993 | + |
2994 | +distclean-tags: |
2995 | + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2996 | + |
2997 | +distdir: $(DISTFILES) |
2998 | + $(am__remove_distdir) |
2999 | + test -d "$(distdir)" || mkdir "$(distdir)" |
3000 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
3001 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
3002 | + list='$(DISTFILES)'; \ |
3003 | + dist_files=`for file in $$list; do echo $$file; done | \ |
3004 | + sed -e "s|^$$srcdirstrip/||;t" \ |
3005 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
3006 | + case $$dist_files in \ |
3007 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ |
3008 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
3009 | + sort -u` ;; \ |
3010 | + esac; \ |
3011 | + for file in $$dist_files; do \ |
3012 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
3013 | + if test -d $$d/$$file; then \ |
3014 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
3015 | + if test -d "$(distdir)/$$file"; then \ |
3016 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
3017 | + fi; \ |
3018 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
3019 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
3020 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
3021 | + fi; \ |
3022 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
3023 | + else \ |
3024 | + test -f "$(distdir)/$$file" \ |
3025 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
3026 | + || exit 1; \ |
3027 | + fi; \ |
3028 | + done |
3029 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
3030 | + if test "$$subdir" = .; then :; else \ |
3031 | + test -d "$(distdir)/$$subdir" \ |
3032 | + || $(MKDIR_P) "$(distdir)/$$subdir" \ |
3033 | + || exit 1; \ |
3034 | + fi; \ |
3035 | + done |
3036 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
3037 | + if test "$$subdir" = .; then :; else \ |
3038 | + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
3039 | + $(am__relativize); \ |
3040 | + new_distdir=$$reldir; \ |
3041 | + dir1=$$subdir; dir2="$(top_distdir)"; \ |
3042 | + $(am__relativize); \ |
3043 | + new_top_distdir=$$reldir; \ |
3044 | + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
3045 | + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
3046 | + ($(am__cd) $$subdir && \ |
3047 | + $(MAKE) $(AM_MAKEFLAGS) \ |
3048 | + top_distdir="$$new_top_distdir" \ |
3049 | + distdir="$$new_distdir" \ |
3050 | + am__remove_distdir=: \ |
3051 | + am__skip_length_check=: \ |
3052 | + am__skip_mode_fix=: \ |
3053 | + distdir) \ |
3054 | + || exit 1; \ |
3055 | + fi; \ |
3056 | + done |
3057 | + $(MAKE) $(AM_MAKEFLAGS) \ |
3058 | + top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
3059 | + dist-hook |
3060 | + -test -n "$(am__skip_mode_fix)" \ |
3061 | + || find "$(distdir)" -type d ! -perm -755 \ |
3062 | + -exec chmod u+rwx,go+rx {} \; -o \ |
3063 | + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
3064 | + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
3065 | + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
3066 | + || chmod -R a+r "$(distdir)" |
3067 | +dist-gzip: distdir |
3068 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
3069 | + $(am__remove_distdir) |
3070 | + |
3071 | +dist-bzip2: distdir |
3072 | + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
3073 | + $(am__remove_distdir) |
3074 | + |
3075 | +dist-lzma: distdir |
3076 | + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
3077 | + $(am__remove_distdir) |
3078 | + |
3079 | +dist-xz: distdir |
3080 | + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
3081 | + $(am__remove_distdir) |
3082 | + |
3083 | +dist-tarZ: distdir |
3084 | + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
3085 | + $(am__remove_distdir) |
3086 | + |
3087 | +dist-shar: distdir |
3088 | + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
3089 | + $(am__remove_distdir) |
3090 | + |
3091 | +dist-zip: distdir |
3092 | + -rm -f $(distdir).zip |
3093 | + zip -rq $(distdir).zip $(distdir) |
3094 | + $(am__remove_distdir) |
3095 | + |
3096 | +dist dist-all: distdir |
3097 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
3098 | + $(am__remove_distdir) |
3099 | + |
3100 | +# This target untars the dist file and tries a VPATH configuration. Then |
3101 | +# it guarantees that the distribution is self-contained by making another |
3102 | +# tarfile. |
3103 | +distcheck: dist |
3104 | + case '$(DIST_ARCHIVES)' in \ |
3105 | + *.tar.gz*) \ |
3106 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
3107 | + *.tar.bz2*) \ |
3108 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
3109 | + *.tar.lzma*) \ |
3110 | + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
3111 | + *.tar.xz*) \ |
3112 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
3113 | + *.tar.Z*) \ |
3114 | + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
3115 | + *.shar.gz*) \ |
3116 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
3117 | + *.zip*) \ |
3118 | + unzip $(distdir).zip ;;\ |
3119 | + esac |
3120 | + chmod -R a-w $(distdir); chmod a+w $(distdir) |
3121 | + mkdir $(distdir)/_build |
3122 | + mkdir $(distdir)/_inst |
3123 | + chmod a-w $(distdir) |
3124 | + test -d $(distdir)/_build || exit 0; \ |
3125 | + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
3126 | + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
3127 | + && am__cwd=`pwd` \ |
3128 | + && $(am__cd) $(distdir)/_build \ |
3129 | + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
3130 | + $(DISTCHECK_CONFIGURE_FLAGS) \ |
3131 | + && $(MAKE) $(AM_MAKEFLAGS) \ |
3132 | + && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
3133 | + && $(MAKE) $(AM_MAKEFLAGS) check \ |
3134 | + && $(MAKE) $(AM_MAKEFLAGS) install \ |
3135 | + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
3136 | + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
3137 | + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
3138 | + distuninstallcheck \ |
3139 | + && chmod -R a-w "$$dc_install_base" \ |
3140 | + && ({ \ |
3141 | + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
3142 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
3143 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
3144 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
3145 | + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
3146 | + } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
3147 | + && rm -rf "$$dc_destdir" \ |
3148 | + && $(MAKE) $(AM_MAKEFLAGS) dist \ |
3149 | + && rm -rf $(DIST_ARCHIVES) \ |
3150 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
3151 | + && cd "$$am__cwd" \ |
3152 | + || exit 1 |
3153 | + $(am__remove_distdir) |
3154 | + @(echo "$(distdir) archives ready for distribution: "; \ |
3155 | + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
3156 | + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
3157 | +distuninstallcheck: |
3158 | + @$(am__cd) '$(distuninstallcheck_dir)' \ |
3159 | + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
3160 | + || { echo "ERROR: files left after uninstall:" ; \ |
3161 | + if test -n "$(DESTDIR)"; then \ |
3162 | + echo " (check DESTDIR support)"; \ |
3163 | + fi ; \ |
3164 | + $(distuninstallcheck_listfiles) ; \ |
3165 | + exit 1; } >&2 |
3166 | +distcleancheck: distclean |
3167 | + @if test '$(srcdir)' = . ; then \ |
3168 | + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
3169 | + exit 1 ; \ |
3170 | + fi |
3171 | + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
3172 | + || { echo "ERROR: files left in build directory after distclean:" ; \ |
3173 | + $(distcleancheck_listfiles) ; \ |
3174 | + exit 1; } >&2 |
3175 | +check-am: all-am |
3176 | +check: check-recursive |
3177 | +all-am: Makefile config.h |
3178 | +installdirs: installdirs-recursive |
3179 | +installdirs-am: |
3180 | +install: install-recursive |
3181 | +install-exec: install-exec-recursive |
3182 | +install-data: install-data-recursive |
3183 | +uninstall: uninstall-recursive |
3184 | + |
3185 | +install-am: all-am |
3186 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
3187 | + |
3188 | +installcheck: installcheck-recursive |
3189 | +install-strip: |
3190 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
3191 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
3192 | + `test -z '$(STRIP)' || \ |
3193 | + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
3194 | +mostlyclean-generic: |
3195 | + |
3196 | +clean-generic: |
3197 | + |
3198 | +distclean-generic: |
3199 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
3200 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
3201 | + |
3202 | +maintainer-clean-generic: |
3203 | + @echo "This command is intended for maintainers to use" |
3204 | + @echo "it deletes files that may require special tools to rebuild." |
3205 | +clean: clean-recursive |
3206 | + |
3207 | +clean-am: clean-generic clean-libtool mostlyclean-am |
3208 | + |
3209 | +distclean: distclean-recursive |
3210 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
3211 | + -rm -f Makefile |
3212 | +distclean-am: clean-am distclean-generic distclean-hdr \ |
3213 | + distclean-libtool distclean-tags |
3214 | + |
3215 | +dvi: dvi-recursive |
3216 | + |
3217 | +dvi-am: |
3218 | + |
3219 | +html: html-recursive |
3220 | + |
3221 | +html-am: |
3222 | + |
3223 | +info: info-recursive |
3224 | + |
3225 | +info-am: |
3226 | + |
3227 | +install-data-am: |
3228 | + |
3229 | +install-dvi: install-dvi-recursive |
3230 | + |
3231 | +install-dvi-am: |
3232 | + |
3233 | +install-exec-am: |
3234 | + |
3235 | +install-html: install-html-recursive |
3236 | + |
3237 | +install-html-am: |
3238 | + |
3239 | +install-info: install-info-recursive |
3240 | + |
3241 | +install-info-am: |
3242 | + |
3243 | +install-man: |
3244 | + |
3245 | +install-pdf: install-pdf-recursive |
3246 | + |
3247 | +install-pdf-am: |
3248 | + |
3249 | +install-ps: install-ps-recursive |
3250 | + |
3251 | +install-ps-am: |
3252 | + |
3253 | +installcheck-am: |
3254 | + |
3255 | +maintainer-clean: maintainer-clean-recursive |
3256 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
3257 | + -rm -rf $(top_srcdir)/autom4te.cache |
3258 | + -rm -f Makefile |
3259 | +maintainer-clean-am: distclean-am maintainer-clean-generic |
3260 | + |
3261 | +mostlyclean: mostlyclean-recursive |
3262 | + |
3263 | +mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
3264 | + |
3265 | +pdf: pdf-recursive |
3266 | + |
3267 | +pdf-am: |
3268 | + |
3269 | +ps: ps-recursive |
3270 | + |
3271 | +ps-am: |
3272 | + |
3273 | +uninstall-am: |
3274 | + |
3275 | +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
3276 | + ctags-recursive install-am install-strip tags-recursive |
3277 | + |
3278 | +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
3279 | + all all-am am--refresh check check-am clean clean-generic \ |
3280 | + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ |
3281 | + dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \ |
3282 | + dist-zip distcheck distclean distclean-generic distclean-hdr \ |
3283 | + distclean-libtool distclean-tags distcleancheck distdir \ |
3284 | + distuninstallcheck dvi dvi-am html html-am info info-am \ |
3285 | + install install-am install-data install-data-am install-dvi \ |
3286 | + install-dvi-am install-exec install-exec-am install-html \ |
3287 | + install-html-am install-info install-info-am install-man \ |
3288 | + install-pdf install-pdf-am install-ps install-ps-am \ |
3289 | + install-strip installcheck installcheck-am installdirs \ |
3290 | + installdirs-am maintainer-clean maintainer-clean-generic \ |
3291 | + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ |
3292 | + ps ps-am tags tags-recursive uninstall uninstall-am |
3293 | + |
3294 | + |
3295 | +dist-hook: |
3296 | + @if test -d "$(top_srcdir)/.bzr"; \ |
3297 | + then \ |
3298 | + echo Creating ChangeLog && \ |
3299 | + ( cd "$(top_srcdir)" && \ |
3300 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
3301 | + $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \ |
3302 | + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ |
3303 | + || (rm -f ChangeLog.tmp; \ |
3304 | + echo Failed to generate ChangeLog >&2 ); \ |
3305 | + else \ |
3306 | + echo Failed to generate ChangeLog: not a branch >&2; \ |
3307 | + fi |
3308 | + @if test -d "$(top_srcdir)/.bzr"; \ |
3309 | + then \ |
3310 | + echo Creating AUTHORS && \ |
3311 | + ( cd "$(top_srcdir)" && \ |
3312 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
3313 | + $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ |
3314 | + && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ |
3315 | + || (rm -f AUTHORS.tmp; \ |
3316 | + echo Failed to generate AUTHORS >&2 ); \ |
3317 | + else \ |
3318 | + echo Failed to generate AUTHORS: not a branch >&2; \ |
3319 | + fi |
3320 | + |
3321 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. |
3322 | +# Otherwise a system limit (for SysV at least) may be exceeded. |
3323 | +.NOEXPORT: |
3324 | |
3325 | === added file 'aclocal.m4' |
3326 | --- aclocal.m4 1970-01-01 00:00:00 +0000 |
3327 | +++ aclocal.m4 2010-12-11 02:23:52 +0000 |
3328 | @@ -0,0 +1,9251 @@ |
3329 | +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
3330 | + |
3331 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3332 | +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
3333 | +# This file is free software; the Free Software Foundation |
3334 | +# gives unlimited permission to copy and/or distribute it, |
3335 | +# with or without modifications, as long as this notice is preserved. |
3336 | + |
3337 | +# This program is distributed in the hope that it will be useful, |
3338 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
3339 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
3340 | +# PARTICULAR PURPOSE. |
3341 | + |
3342 | +m4_ifndef([AC_AUTOCONF_VERSION], |
3343 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
3344 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, |
3345 | +[m4_warning([this file was generated for autoconf 2.67. |
3346 | +You have another version of autoconf. It may work, but is not guaranteed to. |
3347 | +If you have problems, you may need to regenerate the build system entirely. |
3348 | +To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
3349 | + |
3350 | +dnl -*- mode: autoconf -*- |
3351 | + |
3352 | +# serial 1 |
3353 | + |
3354 | +dnl Usage: |
3355 | +dnl GTK_DOC_CHECK([minimum-gtk-doc-version]) |
3356 | +AC_DEFUN([GTK_DOC_CHECK], |
3357 | +[ |
3358 | + AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first |
3359 | + AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first |
3360 | + |
3361 | + dnl check for tools we added during development |
3362 | + AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check]) |
3363 | + AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true]) |
3364 | + AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf]) |
3365 | + |
3366 | + dnl for overriding the documentation installation directory |
3367 | + AC_ARG_WITH([html-dir], |
3368 | + AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),, |
3369 | + [with_html_dir='${datadir}/gtk-doc/html']) |
3370 | + HTML_DIR="$with_html_dir" |
3371 | + AC_SUBST([HTML_DIR]) |
3372 | + |
3373 | + dnl enable/disable documentation building |
3374 | + AC_ARG_ENABLE([gtk-doc], |
3375 | + AS_HELP_STRING([--enable-gtk-doc], |
3376 | + [use gtk-doc to build documentation [[default=no]]]),, |
3377 | + [enable_gtk_doc=no]) |
3378 | + |
3379 | + if test x$enable_gtk_doc = xyes; then |
3380 | + ifelse([$1],[], |
3381 | + [PKG_CHECK_EXISTS([gtk-doc],, |
3382 | + AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))], |
3383 | + [PKG_CHECK_EXISTS([gtk-doc >= $1],, |
3384 | + AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))]) |
3385 | + fi |
3386 | + |
3387 | + AC_MSG_CHECKING([whether to build gtk-doc documentation]) |
3388 | + AC_MSG_RESULT($enable_gtk_doc) |
3389 | + |
3390 | + dnl enable/disable output formats |
3391 | + AC_ARG_ENABLE([gtk-doc-html], |
3392 | + AS_HELP_STRING([--enable-gtk-doc-html], |
3393 | + [build documentation in html format [[default=yes]]]),, |
3394 | + [enable_gtk_doc_html=yes]) |
3395 | + AC_ARG_ENABLE([gtk-doc-pdf], |
3396 | + AS_HELP_STRING([--enable-gtk-doc-pdf], |
3397 | + [build documentation in pdf format [[default=no]]]),, |
3398 | + [enable_gtk_doc_pdf=no]) |
3399 | + |
3400 | + if test -z "$GTKDOC_MKPDF"; then |
3401 | + enable_gtk_doc_pdf=no |
3402 | + fi |
3403 | + |
3404 | + |
3405 | + AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes]) |
3406 | + AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes]) |
3407 | + AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes]) |
3408 | + AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"]) |
3409 | + AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"]) |
3410 | +]) |
3411 | + |
3412 | +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
3413 | +# |
3414 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3415 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
3416 | +# Written by Gordon Matzigkeit, 1996 |
3417 | +# |
3418 | +# This file is free software; the Free Software Foundation gives |
3419 | +# unlimited permission to copy and/or distribute it, with or without |
3420 | +# modifications, as long as this notice is preserved. |
3421 | + |
3422 | +m4_define([_LT_COPYING], [dnl |
3423 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3424 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
3425 | +# Written by Gordon Matzigkeit, 1996 |
3426 | +# |
3427 | +# This file is part of GNU Libtool. |
3428 | +# |
3429 | +# GNU Libtool is free software; you can redistribute it and/or |
3430 | +# modify it under the terms of the GNU General Public License as |
3431 | +# published by the Free Software Foundation; either version 2 of |
3432 | +# the License, or (at your option) any later version. |
3433 | +# |
3434 | +# As a special exception to the GNU General Public License, |
3435 | +# if you distribute this file as part of a program or library that |
3436 | +# is built using GNU Libtool, you may include this file under the |
3437 | +# same distribution terms that you use for the rest of that program. |
3438 | +# |
3439 | +# GNU Libtool is distributed in the hope that it will be useful, |
3440 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
3441 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3442 | +# GNU General Public License for more details. |
3443 | +# |
3444 | +# You should have received a copy of the GNU General Public License |
3445 | +# along with GNU Libtool; see the file COPYING. If not, a copy |
3446 | +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
3447 | +# obtained by writing to the Free Software Foundation, Inc., |
3448 | +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
3449 | +]) |
3450 | + |
3451 | +# serial 56 LT_INIT |
3452 | + |
3453 | + |
3454 | +# LT_PREREQ(VERSION) |
3455 | +# ------------------ |
3456 | +# Complain and exit if this libtool version is less that VERSION. |
3457 | +m4_defun([LT_PREREQ], |
3458 | +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
3459 | + [m4_default([$3], |
3460 | + [m4_fatal([Libtool version $1 or higher is required], |
3461 | + 63)])], |
3462 | + [$2])]) |
3463 | + |
3464 | + |
3465 | +# _LT_CHECK_BUILDDIR |
3466 | +# ------------------ |
3467 | +# Complain if the absolute build directory name contains unusual characters |
3468 | +m4_defun([_LT_CHECK_BUILDDIR], |
3469 | +[case `pwd` in |
3470 | + *\ * | *\ *) |
3471 | + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; |
3472 | +esac |
3473 | +]) |
3474 | + |
3475 | + |
3476 | +# LT_INIT([OPTIONS]) |
3477 | +# ------------------ |
3478 | +AC_DEFUN([LT_INIT], |
3479 | +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
3480 | +AC_BEFORE([$0], [LT_LANG])dnl |
3481 | +AC_BEFORE([$0], [LT_OUTPUT])dnl |
3482 | +AC_BEFORE([$0], [LTDL_INIT])dnl |
3483 | +m4_require([_LT_CHECK_BUILDDIR])dnl |
3484 | + |
3485 | +dnl Autoconf doesn't catch unexpanded LT_ macros by default: |
3486 | +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl |
3487 | +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl |
3488 | +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 |
3489 | +dnl unless we require an AC_DEFUNed macro: |
3490 | +AC_REQUIRE([LTOPTIONS_VERSION])dnl |
3491 | +AC_REQUIRE([LTSUGAR_VERSION])dnl |
3492 | +AC_REQUIRE([LTVERSION_VERSION])dnl |
3493 | +AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
3494 | +m4_require([_LT_PROG_LTMAIN])dnl |
3495 | + |
3496 | +dnl Parse OPTIONS |
3497 | +_LT_SET_OPTIONS([$0], [$1]) |
3498 | + |
3499 | +# This can be used to rebuild libtool when needed |
3500 | +LIBTOOL_DEPS="$ltmain" |
3501 | + |
3502 | +# Always use our own libtool. |
3503 | +LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
3504 | +AC_SUBST(LIBTOOL)dnl |
3505 | + |
3506 | +_LT_SETUP |
3507 | + |
3508 | +# Only expand once: |
3509 | +m4_define([LT_INIT]) |
3510 | +])# LT_INIT |
3511 | + |
3512 | +# Old names: |
3513 | +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
3514 | +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
3515 | +dnl aclocal-1.4 backwards compatibility: |
3516 | +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
3517 | +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
3518 | + |
3519 | + |
3520 | +# _LT_CC_BASENAME(CC) |
3521 | +# ------------------- |
3522 | +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
3523 | +m4_defun([_LT_CC_BASENAME], |
3524 | +[for cc_temp in $1""; do |
3525 | + case $cc_temp in |
3526 | + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
3527 | + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
3528 | + \-*) ;; |
3529 | + *) break;; |
3530 | + esac |
3531 | +done |
3532 | +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
3533 | +]) |
3534 | + |
3535 | + |
3536 | +# _LT_FILEUTILS_DEFAULTS |
3537 | +# ---------------------- |
3538 | +# It is okay to use these file commands and assume they have been set |
3539 | +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. |
3540 | +m4_defun([_LT_FILEUTILS_DEFAULTS], |
3541 | +[: ${CP="cp -f"} |
3542 | +: ${MV="mv -f"} |
3543 | +: ${RM="rm -f"} |
3544 | +])# _LT_FILEUTILS_DEFAULTS |
3545 | + |
3546 | + |
3547 | +# _LT_SETUP |
3548 | +# --------- |
3549 | +m4_defun([_LT_SETUP], |
3550 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3551 | +AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
3552 | +_LT_DECL([], [host_alias], [0], [The host system])dnl |
3553 | +_LT_DECL([], [host], [0])dnl |
3554 | +_LT_DECL([], [host_os], [0])dnl |
3555 | +dnl |
3556 | +_LT_DECL([], [build_alias], [0], [The build system])dnl |
3557 | +_LT_DECL([], [build], [0])dnl |
3558 | +_LT_DECL([], [build_os], [0])dnl |
3559 | +dnl |
3560 | +AC_REQUIRE([AC_PROG_CC])dnl |
3561 | +AC_REQUIRE([LT_PATH_LD])dnl |
3562 | +AC_REQUIRE([LT_PATH_NM])dnl |
3563 | +dnl |
3564 | +AC_REQUIRE([AC_PROG_LN_S])dnl |
3565 | +test -z "$LN_S" && LN_S="ln -s" |
3566 | +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl |
3567 | +dnl |
3568 | +AC_REQUIRE([LT_CMD_MAX_LEN])dnl |
3569 | +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl |
3570 | +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl |
3571 | +dnl |
3572 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3573 | +m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
3574 | +m4_require([_LT_CMD_RELOAD])dnl |
3575 | +m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
3576 | +m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
3577 | +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
3578 | + |
3579 | +_LT_CONFIG_LIBTOOL_INIT([ |
3580 | +# See if we are running on zsh, and set the options which allow our |
3581 | +# commands through without removal of \ escapes INIT. |
3582 | +if test -n "\${ZSH_VERSION+set}" ; then |
3583 | + setopt NO_GLOB_SUBST |
3584 | +fi |
3585 | +]) |
3586 | +if test -n "${ZSH_VERSION+set}" ; then |
3587 | + setopt NO_GLOB_SUBST |
3588 | +fi |
3589 | + |
3590 | +_LT_CHECK_OBJDIR |
3591 | + |
3592 | +m4_require([_LT_TAG_COMPILER])dnl |
3593 | +_LT_PROG_ECHO_BACKSLASH |
3594 | + |
3595 | +case $host_os in |
3596 | +aix3*) |
3597 | + # AIX sometimes has problems with the GCC collect2 program. For some |
3598 | + # reason, if we set the COLLECT_NAMES environment variable, the problems |
3599 | + # vanish in a puff of smoke. |
3600 | + if test "X${COLLECT_NAMES+set}" != Xset; then |
3601 | + COLLECT_NAMES= |
3602 | + export COLLECT_NAMES |
3603 | + fi |
3604 | + ;; |
3605 | +esac |
3606 | + |
3607 | +# Sed substitution that helps us do robust quoting. It backslashifies |
3608 | +# metacharacters that are still active within double-quoted strings. |
3609 | +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
3610 | + |
3611 | +# Same as above, but do not quote variable references. |
3612 | +double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
3613 | + |
3614 | +# Sed substitution to delay expansion of an escaped shell variable in a |
3615 | +# double_quote_subst'ed string. |
3616 | +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
3617 | + |
3618 | +# Sed substitution to delay expansion of an escaped single quote. |
3619 | +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
3620 | + |
3621 | +# Sed substitution to avoid accidental globbing in evaled expressions |
3622 | +no_glob_subst='s/\*/\\\*/g' |
3623 | + |
3624 | +# Global variables: |
3625 | +ofile=libtool |
3626 | +can_build_shared=yes |
3627 | + |
3628 | +# All known linkers require a `.a' archive for static linking (except MSVC, |
3629 | +# which needs '.lib'). |
3630 | +libext=a |
3631 | + |
3632 | +with_gnu_ld="$lt_cv_prog_gnu_ld" |
3633 | + |
3634 | +old_CC="$CC" |
3635 | +old_CFLAGS="$CFLAGS" |
3636 | + |
3637 | +# Set sane defaults for various variables |
3638 | +test -z "$CC" && CC=cc |
3639 | +test -z "$LTCC" && LTCC=$CC |
3640 | +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
3641 | +test -z "$LD" && LD=ld |
3642 | +test -z "$ac_objext" && ac_objext=o |
3643 | + |
3644 | +_LT_CC_BASENAME([$compiler]) |
3645 | + |
3646 | +# Only perform the check for file, if the check method requires it |
3647 | +test -z "$MAGIC_CMD" && MAGIC_CMD=file |
3648 | +case $deplibs_check_method in |
3649 | +file_magic*) |
3650 | + if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
3651 | + _LT_PATH_MAGIC |
3652 | + fi |
3653 | + ;; |
3654 | +esac |
3655 | + |
3656 | +# Use C for the default configuration in the libtool script |
3657 | +LT_SUPPORTED_TAG([CC]) |
3658 | +_LT_LANG_C_CONFIG |
3659 | +_LT_LANG_DEFAULT_CONFIG |
3660 | +_LT_CONFIG_COMMANDS |
3661 | +])# _LT_SETUP |
3662 | + |
3663 | + |
3664 | +# _LT_PROG_LTMAIN |
3665 | +# --------------- |
3666 | +# Note that this code is called both from `configure', and `config.status' |
3667 | +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, |
3668 | +# `config.status' has no value for ac_aux_dir unless we are using Automake, |
3669 | +# so we pass a copy along to make sure it has a sensible value anyway. |
3670 | +m4_defun([_LT_PROG_LTMAIN], |
3671 | +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl |
3672 | +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) |
3673 | +ltmain="$ac_aux_dir/ltmain.sh" |
3674 | +])# _LT_PROG_LTMAIN |
3675 | + |
3676 | + |
3677 | + |
3678 | +# So that we can recreate a full libtool script including additional |
3679 | +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS |
3680 | +# in macros and then make a single call at the end using the `libtool' |
3681 | +# label. |
3682 | + |
3683 | + |
3684 | +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) |
3685 | +# ---------------------------------------- |
3686 | +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
3687 | +m4_define([_LT_CONFIG_LIBTOOL_INIT], |
3688 | +[m4_ifval([$1], |
3689 | + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], |
3690 | + [$1 |
3691 | +])])]) |
3692 | + |
3693 | +# Initialize. |
3694 | +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) |
3695 | + |
3696 | + |
3697 | +# _LT_CONFIG_LIBTOOL([COMMANDS]) |
3698 | +# ------------------------------ |
3699 | +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
3700 | +m4_define([_LT_CONFIG_LIBTOOL], |
3701 | +[m4_ifval([$1], |
3702 | + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], |
3703 | + [$1 |
3704 | +])])]) |
3705 | + |
3706 | +# Initialize. |
3707 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) |
3708 | + |
3709 | + |
3710 | +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) |
3711 | +# ----------------------------------------------------- |
3712 | +m4_defun([_LT_CONFIG_SAVE_COMMANDS], |
3713 | +[_LT_CONFIG_LIBTOOL([$1]) |
3714 | +_LT_CONFIG_LIBTOOL_INIT([$2]) |
3715 | +]) |
3716 | + |
3717 | + |
3718 | +# _LT_FORMAT_COMMENT([COMMENT]) |
3719 | +# ----------------------------- |
3720 | +# Add leading comment marks to the start of each line, and a trailing |
3721 | +# full-stop to the whole comment if one is not present already. |
3722 | +m4_define([_LT_FORMAT_COMMENT], |
3723 | +[m4_ifval([$1], [ |
3724 | +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], |
3725 | + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) |
3726 | +)]) |
3727 | + |
3728 | + |
3729 | + |
3730 | + |
3731 | + |
3732 | +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) |
3733 | +# ------------------------------------------------------------------- |
3734 | +# CONFIGNAME is the name given to the value in the libtool script. |
3735 | +# VARNAME is the (base) name used in the configure script. |
3736 | +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on |
3737 | +# VARNAME. Any other value will be used directly. |
3738 | +m4_define([_LT_DECL], |
3739 | +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], |
3740 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], |
3741 | + [m4_ifval([$1], [$1], [$2])]) |
3742 | + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) |
3743 | + m4_ifval([$4], |
3744 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) |
3745 | + lt_dict_add_subkey([lt_decl_dict], [$2], |
3746 | + [tagged?], [m4_ifval([$5], [yes], [no])])]) |
3747 | +]) |
3748 | + |
3749 | + |
3750 | +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) |
3751 | +# -------------------------------------------------------- |
3752 | +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) |
3753 | + |
3754 | + |
3755 | +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) |
3756 | +# ------------------------------------------------ |
3757 | +m4_define([lt_decl_tag_varnames], |
3758 | +[_lt_decl_filter([tagged?], [yes], $@)]) |
3759 | + |
3760 | + |
3761 | +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) |
3762 | +# --------------------------------------------------------- |
3763 | +m4_define([_lt_decl_filter], |
3764 | +[m4_case([$#], |
3765 | + [0], [m4_fatal([$0: too few arguments: $#])], |
3766 | + [1], [m4_fatal([$0: too few arguments: $#: $1])], |
3767 | + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], |
3768 | + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], |
3769 | + [lt_dict_filter([lt_decl_dict], $@)])[]dnl |
3770 | +]) |
3771 | + |
3772 | + |
3773 | +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) |
3774 | +# -------------------------------------------------- |
3775 | +m4_define([lt_decl_quote_varnames], |
3776 | +[_lt_decl_filter([value], [1], $@)]) |
3777 | + |
3778 | + |
3779 | +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) |
3780 | +# --------------------------------------------------- |
3781 | +m4_define([lt_decl_dquote_varnames], |
3782 | +[_lt_decl_filter([value], [2], $@)]) |
3783 | + |
3784 | + |
3785 | +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) |
3786 | +# --------------------------------------------------- |
3787 | +m4_define([lt_decl_varnames_tagged], |
3788 | +[m4_assert([$# <= 2])dnl |
3789 | +_$0(m4_quote(m4_default([$1], [[, ]])), |
3790 | + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), |
3791 | + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) |
3792 | +m4_define([_lt_decl_varnames_tagged], |
3793 | +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) |
3794 | + |
3795 | + |
3796 | +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) |
3797 | +# ------------------------------------------------ |
3798 | +m4_define([lt_decl_all_varnames], |
3799 | +[_$0(m4_quote(m4_default([$1], [[, ]])), |
3800 | + m4_if([$2], [], |
3801 | + m4_quote(lt_decl_varnames), |
3802 | + m4_quote(m4_shift($@))))[]dnl |
3803 | +]) |
3804 | +m4_define([_lt_decl_all_varnames], |
3805 | +[lt_join($@, lt_decl_varnames_tagged([$1], |
3806 | + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl |
3807 | +]) |
3808 | + |
3809 | + |
3810 | +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) |
3811 | +# ------------------------------------ |
3812 | +# Quote a variable value, and forward it to `config.status' so that its |
3813 | +# declaration there will have the same value as in `configure'. VARNAME |
3814 | +# must have a single quote delimited value for this to work. |
3815 | +m4_define([_LT_CONFIG_STATUS_DECLARE], |
3816 | +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
3817 | + |
3818 | + |
3819 | +# _LT_CONFIG_STATUS_DECLARATIONS |
3820 | +# ------------------------------ |
3821 | +# We delimit libtool config variables with single quotes, so when |
3822 | +# we write them to config.status, we have to be sure to quote all |
3823 | +# embedded single quotes properly. In configure, this macro expands |
3824 | +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
3825 | +# |
3826 | +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
3827 | +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
3828 | +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
3829 | + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
3830 | + |
3831 | + |
3832 | +# _LT_LIBTOOL_TAGS |
3833 | +# ---------------- |
3834 | +# Output comment and list of tags supported by the script |
3835 | +m4_defun([_LT_LIBTOOL_TAGS], |
3836 | +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl |
3837 | +available_tags="_LT_TAGS"dnl |
3838 | +]) |
3839 | + |
3840 | + |
3841 | +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) |
3842 | +# ----------------------------------- |
3843 | +# Extract the dictionary values for VARNAME (optionally with TAG) and |
3844 | +# expand to a commented shell variable setting: |
3845 | +# |
3846 | +# # Some comment about what VAR is for. |
3847 | +# visible_name=$lt_internal_name |
3848 | +m4_define([_LT_LIBTOOL_DECLARE], |
3849 | +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], |
3850 | + [description])))[]dnl |
3851 | +m4_pushdef([_libtool_name], |
3852 | + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl |
3853 | +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), |
3854 | + [0], [_libtool_name=[$]$1], |
3855 | + [1], [_libtool_name=$lt_[]$1], |
3856 | + [2], [_libtool_name=$lt_[]$1], |
3857 | + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl |
3858 | +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl |
3859 | +]) |
3860 | + |
3861 | + |
3862 | +# _LT_LIBTOOL_CONFIG_VARS |
3863 | +# ----------------------- |
3864 | +# Produce commented declarations of non-tagged libtool config variables |
3865 | +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' |
3866 | +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG |
3867 | +# section) are produced by _LT_LIBTOOL_TAG_VARS. |
3868 | +m4_defun([_LT_LIBTOOL_CONFIG_VARS], |
3869 | +[m4_foreach([_lt_var], |
3870 | + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), |
3871 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) |
3872 | + |
3873 | + |
3874 | +# _LT_LIBTOOL_TAG_VARS(TAG) |
3875 | +# ------------------------- |
3876 | +m4_define([_LT_LIBTOOL_TAG_VARS], |
3877 | +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), |
3878 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) |
3879 | + |
3880 | + |
3881 | +# _LT_TAGVAR(VARNAME, [TAGNAME]) |
3882 | +# ------------------------------ |
3883 | +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) |
3884 | + |
3885 | + |
3886 | +# _LT_CONFIG_COMMANDS |
3887 | +# ------------------- |
3888 | +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
3889 | +# variables for single and double quote escaping we saved from calls |
3890 | +# to _LT_DECL, we can put quote escaped variables declarations |
3891 | +# into `config.status', and then the shell code to quote escape them in |
3892 | +# for loops in `config.status'. Finally, any additional code accumulated |
3893 | +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. |
3894 | +m4_defun([_LT_CONFIG_COMMANDS], |
3895 | +[AC_PROVIDE_IFELSE([LT_OUTPUT], |
3896 | + dnl If the libtool generation code has been placed in $CONFIG_LT, |
3897 | + dnl instead of duplicating it all over again into config.status, |
3898 | + dnl then we will have config.status run $CONFIG_LT later, so it |
3899 | + dnl needs to know what name is stored there: |
3900 | + [AC_CONFIG_COMMANDS([libtool], |
3901 | + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], |
3902 | + dnl If the libtool generation code is destined for config.status, |
3903 | + dnl expand the accumulated commands and init code now: |
3904 | + [AC_CONFIG_COMMANDS([libtool], |
3905 | + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) |
3906 | +])#_LT_CONFIG_COMMANDS |
3907 | + |
3908 | + |
3909 | +# Initialize. |
3910 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], |
3911 | +[ |
3912 | + |
3913 | +# The HP-UX ksh and POSIX shell print the target directory to stdout |
3914 | +# if CDPATH is set. |
3915 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3916 | + |
3917 | +sed_quote_subst='$sed_quote_subst' |
3918 | +double_quote_subst='$double_quote_subst' |
3919 | +delay_variable_subst='$delay_variable_subst' |
3920 | +_LT_CONFIG_STATUS_DECLARATIONS |
3921 | +LTCC='$LTCC' |
3922 | +LTCFLAGS='$LTCFLAGS' |
3923 | +compiler='$compiler_DEFAULT' |
3924 | + |
3925 | +# Quote evaled strings. |
3926 | +for var in lt_decl_all_varnames([[ \ |
3927 | +]], lt_decl_quote_varnames); do |
3928 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
3929 | + *[[\\\\\\\`\\"\\\$]]*) |
3930 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
3931 | + ;; |
3932 | + *) |
3933 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
3934 | + ;; |
3935 | + esac |
3936 | +done |
3937 | + |
3938 | +# Double-quote double-evaled strings. |
3939 | +for var in lt_decl_all_varnames([[ \ |
3940 | +]], lt_decl_dquote_varnames); do |
3941 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
3942 | + *[[\\\\\\\`\\"\\\$]]*) |
3943 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
3944 | + ;; |
3945 | + *) |
3946 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
3947 | + ;; |
3948 | + esac |
3949 | +done |
3950 | + |
3951 | +# Fix-up fallback echo if it was mangled by the above quoting rules. |
3952 | +case \$lt_ECHO in |
3953 | +*'\\\[$]0 --fallback-echo"')dnl " |
3954 | + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
3955 | + ;; |
3956 | +esac |
3957 | + |
3958 | +_LT_OUTPUT_LIBTOOL_INIT |
3959 | +]) |
3960 | + |
3961 | + |
3962 | +# LT_OUTPUT |
3963 | +# --------- |
3964 | +# This macro allows early generation of the libtool script (before |
3965 | +# AC_OUTPUT is called), incase it is used in configure for compilation |
3966 | +# tests. |
3967 | +AC_DEFUN([LT_OUTPUT], |
3968 | +[: ${CONFIG_LT=./config.lt} |
3969 | +AC_MSG_NOTICE([creating $CONFIG_LT]) |
3970 | +cat >"$CONFIG_LT" <<_LTEOF |
3971 | +#! $SHELL |
3972 | +# Generated by $as_me. |
3973 | +# Run this file to recreate a libtool stub with the current configuration. |
3974 | + |
3975 | +lt_cl_silent=false |
3976 | +SHELL=\${CONFIG_SHELL-$SHELL} |
3977 | +_LTEOF |
3978 | + |
3979 | +cat >>"$CONFIG_LT" <<\_LTEOF |
3980 | +AS_SHELL_SANITIZE |
3981 | +_AS_PREPARE |
3982 | + |
3983 | +exec AS_MESSAGE_FD>&1 |
3984 | +exec AS_MESSAGE_LOG_FD>>config.log |
3985 | +{ |
3986 | + echo |
3987 | + AS_BOX([Running $as_me.]) |
3988 | +} >&AS_MESSAGE_LOG_FD |
3989 | + |
3990 | +lt_cl_help="\ |
3991 | +\`$as_me' creates a local libtool stub from the current configuration, |
3992 | +for use in further configure time tests before the real libtool is |
3993 | +generated. |
3994 | + |
3995 | +Usage: $[0] [[OPTIONS]] |
3996 | + |
3997 | + -h, --help print this help, then exit |
3998 | + -V, --version print version number, then exit |
3999 | + -q, --quiet do not print progress messages |
4000 | + -d, --debug don't remove temporary files |
4001 | + |
4002 | +Report bugs to <bug-libtool@gnu.org>." |
4003 | + |
4004 | +lt_cl_version="\ |
4005 | +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl |
4006 | +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
4007 | +configured by $[0], generated by m4_PACKAGE_STRING. |
4008 | + |
4009 | +Copyright (C) 2008 Free Software Foundation, Inc. |
4010 | +This config.lt script is free software; the Free Software Foundation |
4011 | +gives unlimited permision to copy, distribute and modify it." |
4012 | + |
4013 | +while test $[#] != 0 |
4014 | +do |
4015 | + case $[1] in |
4016 | + --version | --v* | -V ) |
4017 | + echo "$lt_cl_version"; exit 0 ;; |
4018 | + --help | --h* | -h ) |
4019 | + echo "$lt_cl_help"; exit 0 ;; |
4020 | + --debug | --d* | -d ) |
4021 | + debug=: ;; |
4022 | + --quiet | --q* | --silent | --s* | -q ) |
4023 | + lt_cl_silent=: ;; |
4024 | + |
4025 | + -*) AC_MSG_ERROR([unrecognized option: $[1] |
4026 | +Try \`$[0] --help' for more information.]) ;; |
4027 | + |
4028 | + *) AC_MSG_ERROR([unrecognized argument: $[1] |
4029 | +Try \`$[0] --help' for more information.]) ;; |
4030 | + esac |
4031 | + shift |
4032 | +done |
4033 | + |
4034 | +if $lt_cl_silent; then |
4035 | + exec AS_MESSAGE_FD>/dev/null |
4036 | +fi |
4037 | +_LTEOF |
4038 | + |
4039 | +cat >>"$CONFIG_LT" <<_LTEOF |
4040 | +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT |
4041 | +_LTEOF |
4042 | + |
4043 | +cat >>"$CONFIG_LT" <<\_LTEOF |
4044 | +AC_MSG_NOTICE([creating $ofile]) |
4045 | +_LT_OUTPUT_LIBTOOL_COMMANDS |
4046 | +AS_EXIT(0) |
4047 | +_LTEOF |
4048 | +chmod +x "$CONFIG_LT" |
4049 | + |
4050 | +# configure is writing to config.log, but config.lt does its own redirection, |
4051 | +# appending to config.log, which fails on DOS, as config.log is still kept |
4052 | +# open by configure. Here we exec the FD to /dev/null, effectively closing |
4053 | +# config.log, so it can be properly (re)opened and appended to by config.lt. |
4054 | +if test "$no_create" != yes; then |
4055 | + lt_cl_success=: |
4056 | + test "$silent" = yes && |
4057 | + lt_config_lt_args="$lt_config_lt_args --quiet" |
4058 | + exec AS_MESSAGE_LOG_FD>/dev/null |
4059 | + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
4060 | + exec AS_MESSAGE_LOG_FD>>config.log |
4061 | + $lt_cl_success || AS_EXIT(1) |
4062 | +fi |
4063 | +])# LT_OUTPUT |
4064 | + |
4065 | + |
4066 | +# _LT_CONFIG(TAG) |
4067 | +# --------------- |
4068 | +# If TAG is the built-in tag, create an initial libtool script with a |
4069 | +# default configuration from the untagged config vars. Otherwise add code |
4070 | +# to config.status for appending the configuration named by TAG from the |
4071 | +# matching tagged config vars. |
4072 | +m4_defun([_LT_CONFIG], |
4073 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4074 | +_LT_CONFIG_SAVE_COMMANDS([ |
4075 | + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl |
4076 | + m4_if(_LT_TAG, [C], [ |
4077 | + # See if we are running on zsh, and set the options which allow our |
4078 | + # commands through without removal of \ escapes. |
4079 | + if test -n "${ZSH_VERSION+set}" ; then |
4080 | + setopt NO_GLOB_SUBST |
4081 | + fi |
4082 | + |
4083 | + cfgfile="${ofile}T" |
4084 | + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
4085 | + $RM "$cfgfile" |
4086 | + |
4087 | + cat <<_LT_EOF >> "$cfgfile" |
4088 | +#! $SHELL |
4089 | + |
4090 | +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
4091 | +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
4092 | +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
4093 | +# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
4094 | +# |
4095 | +_LT_COPYING |
4096 | +_LT_LIBTOOL_TAGS |
4097 | + |
4098 | +# ### BEGIN LIBTOOL CONFIG |
4099 | +_LT_LIBTOOL_CONFIG_VARS |
4100 | +_LT_LIBTOOL_TAG_VARS |
4101 | +# ### END LIBTOOL CONFIG |
4102 | + |
4103 | +_LT_EOF |
4104 | + |
4105 | + case $host_os in |
4106 | + aix3*) |
4107 | + cat <<\_LT_EOF >> "$cfgfile" |
4108 | +# AIX sometimes has problems with the GCC collect2 program. For some |
4109 | +# reason, if we set the COLLECT_NAMES environment variable, the problems |
4110 | +# vanish in a puff of smoke. |
4111 | +if test "X${COLLECT_NAMES+set}" != Xset; then |
4112 | + COLLECT_NAMES= |
4113 | + export COLLECT_NAMES |
4114 | +fi |
4115 | +_LT_EOF |
4116 | + ;; |
4117 | + esac |
4118 | + |
4119 | + _LT_PROG_LTMAIN |
4120 | + |
4121 | + # We use sed instead of cat because bash on DJGPP gets confused if |
4122 | + # if finds mixed CR/LF and LF-only lines. Since sed operates in |
4123 | + # text mode, it properly converts lines to CR/LF. This bash problem |
4124 | + # is reportedly fixed, but why not run on old versions too? |
4125 | + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
4126 | + || (rm -f "$cfgfile"; exit 1) |
4127 | + |
4128 | + _LT_PROG_XSI_SHELLFNS |
4129 | + |
4130 | + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
4131 | + || (rm -f "$cfgfile"; exit 1) |
4132 | + |
4133 | + mv -f "$cfgfile" "$ofile" || |
4134 | + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
4135 | + chmod +x "$ofile" |
4136 | +], |
4137 | +[cat <<_LT_EOF >> "$ofile" |
4138 | + |
4139 | +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded |
4140 | +dnl in a comment (ie after a #). |
4141 | +# ### BEGIN LIBTOOL TAG CONFIG: $1 |
4142 | +_LT_LIBTOOL_TAG_VARS(_LT_TAG) |
4143 | +# ### END LIBTOOL TAG CONFIG: $1 |
4144 | +_LT_EOF |
4145 | +])dnl /m4_if |
4146 | +], |
4147 | +[m4_if([$1], [], [ |
4148 | + PACKAGE='$PACKAGE' |
4149 | + VERSION='$VERSION' |
4150 | + TIMESTAMP='$TIMESTAMP' |
4151 | + RM='$RM' |
4152 | + ofile='$ofile'], []) |
4153 | +])dnl /_LT_CONFIG_SAVE_COMMANDS |
4154 | +])# _LT_CONFIG |
4155 | + |
4156 | + |
4157 | +# LT_SUPPORTED_TAG(TAG) |
4158 | +# --------------------- |
4159 | +# Trace this macro to discover what tags are supported by the libtool |
4160 | +# --tag option, using: |
4161 | +# autoconf --trace 'LT_SUPPORTED_TAG:$1' |
4162 | +AC_DEFUN([LT_SUPPORTED_TAG], []) |
4163 | + |
4164 | + |
4165 | +# C support is built-in for now |
4166 | +m4_define([_LT_LANG_C_enabled], []) |
4167 | +m4_define([_LT_TAGS], []) |
4168 | + |
4169 | + |
4170 | +# LT_LANG(LANG) |
4171 | +# ------------- |
4172 | +# Enable libtool support for the given language if not already enabled. |
4173 | +AC_DEFUN([LT_LANG], |
4174 | +[AC_BEFORE([$0], [LT_OUTPUT])dnl |
4175 | +m4_case([$1], |
4176 | + [C], [_LT_LANG(C)], |
4177 | + [C++], [_LT_LANG(CXX)], |
4178 | + [Java], [_LT_LANG(GCJ)], |
4179 | + [Fortran 77], [_LT_LANG(F77)], |
4180 | + [Fortran], [_LT_LANG(FC)], |
4181 | + [Windows Resource], [_LT_LANG(RC)], |
4182 | + [m4_ifdef([_LT_LANG_]$1[_CONFIG], |
4183 | + [_LT_LANG($1)], |
4184 | + [m4_fatal([$0: unsupported language: "$1"])])])dnl |
4185 | +])# LT_LANG |
4186 | + |
4187 | + |
4188 | +# _LT_LANG(LANGNAME) |
4189 | +# ------------------ |
4190 | +m4_defun([_LT_LANG], |
4191 | +[m4_ifdef([_LT_LANG_]$1[_enabled], [], |
4192 | + [LT_SUPPORTED_TAG([$1])dnl |
4193 | + m4_append([_LT_TAGS], [$1 ])dnl |
4194 | + m4_define([_LT_LANG_]$1[_enabled], [])dnl |
4195 | + _LT_LANG_$1_CONFIG($1)])dnl |
4196 | +])# _LT_LANG |
4197 | + |
4198 | + |
4199 | +# _LT_LANG_DEFAULT_CONFIG |
4200 | +# ----------------------- |
4201 | +m4_defun([_LT_LANG_DEFAULT_CONFIG], |
4202 | +[AC_PROVIDE_IFELSE([AC_PROG_CXX], |
4203 | + [LT_LANG(CXX)], |
4204 | + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) |
4205 | + |
4206 | +AC_PROVIDE_IFELSE([AC_PROG_F77], |
4207 | + [LT_LANG(F77)], |
4208 | + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) |
4209 | + |
4210 | +AC_PROVIDE_IFELSE([AC_PROG_FC], |
4211 | + [LT_LANG(FC)], |
4212 | + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) |
4213 | + |
4214 | +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal |
4215 | +dnl pulling things in needlessly. |
4216 | +AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
4217 | + [LT_LANG(GCJ)], |
4218 | + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
4219 | + [LT_LANG(GCJ)], |
4220 | + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], |
4221 | + [LT_LANG(GCJ)], |
4222 | + [m4_ifdef([AC_PROG_GCJ], |
4223 | + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) |
4224 | + m4_ifdef([A][M_PROG_GCJ], |
4225 | + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) |
4226 | + m4_ifdef([LT_PROG_GCJ], |
4227 | + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
4228 | + |
4229 | +AC_PROVIDE_IFELSE([LT_PROG_RC], |
4230 | + [LT_LANG(RC)], |
4231 | + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) |
4232 | +])# _LT_LANG_DEFAULT_CONFIG |
4233 | + |
4234 | +# Obsolete macros: |
4235 | +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) |
4236 | +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
4237 | +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
4238 | +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
4239 | +dnl aclocal-1.4 backwards compatibility: |
4240 | +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
4241 | +dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
4242 | +dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
4243 | +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
4244 | + |
4245 | + |
4246 | +# _LT_TAG_COMPILER |
4247 | +# ---------------- |
4248 | +m4_defun([_LT_TAG_COMPILER], |
4249 | +[AC_REQUIRE([AC_PROG_CC])dnl |
4250 | + |
4251 | +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl |
4252 | +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl |
4253 | +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl |
4254 | +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl |
4255 | + |
4256 | +# If no C compiler was specified, use CC. |
4257 | +LTCC=${LTCC-"$CC"} |
4258 | + |
4259 | +# If no C compiler flags were specified, use CFLAGS. |
4260 | +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
4261 | + |
4262 | +# Allow CC to be a program name with arguments. |
4263 | +compiler=$CC |
4264 | +])# _LT_TAG_COMPILER |
4265 | + |
4266 | + |
4267 | +# _LT_COMPILER_BOILERPLATE |
4268 | +# ------------------------ |
4269 | +# Check for compiler boilerplate output or warnings with |
4270 | +# the simple compiler test code. |
4271 | +m4_defun([_LT_COMPILER_BOILERPLATE], |
4272 | +[m4_require([_LT_DECL_SED])dnl |
4273 | +ac_outfile=conftest.$ac_objext |
4274 | +echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
4275 | +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4276 | +_lt_compiler_boilerplate=`cat conftest.err` |
4277 | +$RM conftest* |
4278 | +])# _LT_COMPILER_BOILERPLATE |
4279 | + |
4280 | + |
4281 | +# _LT_LINKER_BOILERPLATE |
4282 | +# ---------------------- |
4283 | +# Check for linker boilerplate output or warnings with |
4284 | +# the simple link test code. |
4285 | +m4_defun([_LT_LINKER_BOILERPLATE], |
4286 | +[m4_require([_LT_DECL_SED])dnl |
4287 | +ac_outfile=conftest.$ac_objext |
4288 | +echo "$lt_simple_link_test_code" >conftest.$ac_ext |
4289 | +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4290 | +_lt_linker_boilerplate=`cat conftest.err` |
4291 | +$RM -r conftest* |
4292 | +])# _LT_LINKER_BOILERPLATE |
4293 | + |
4294 | +# _LT_REQUIRED_DARWIN_CHECKS |
4295 | +# ------------------------- |
4296 | +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ |
4297 | + case $host_os in |
4298 | + rhapsody* | darwin*) |
4299 | + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
4300 | + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
4301 | + AC_CHECK_TOOL([LIPO], [lipo], [:]) |
4302 | + AC_CHECK_TOOL([OTOOL], [otool], [:]) |
4303 | + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) |
4304 | + _LT_DECL([], [DSYMUTIL], [1], |
4305 | + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) |
4306 | + _LT_DECL([], [NMEDIT], [1], |
4307 | + [Tool to change global to local symbols on Mac OS X]) |
4308 | + _LT_DECL([], [LIPO], [1], |
4309 | + [Tool to manipulate fat objects and archives on Mac OS X]) |
4310 | + _LT_DECL([], [OTOOL], [1], |
4311 | + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) |
4312 | + _LT_DECL([], [OTOOL64], [1], |
4313 | + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) |
4314 | + |
4315 | + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
4316 | + [lt_cv_apple_cc_single_mod=no |
4317 | + if test -z "${LT_MULTI_MODULE}"; then |
4318 | + # By default we will add the -single_module flag. You can override |
4319 | + # by either setting the environment variable LT_MULTI_MODULE |
4320 | + # non-empty at configure time, or by adding -multi_module to the |
4321 | + # link flags. |
4322 | + rm -rf libconftest.dylib* |
4323 | + echo "int foo(void){return 1;}" > conftest.c |
4324 | + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4325 | +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
4326 | + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4327 | + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
4328 | + _lt_result=$? |
4329 | + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
4330 | + lt_cv_apple_cc_single_mod=yes |
4331 | + else |
4332 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
4333 | + fi |
4334 | + rm -rf libconftest.dylib* |
4335 | + rm -f conftest.* |
4336 | + fi]) |
4337 | + AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
4338 | + [lt_cv_ld_exported_symbols_list], |
4339 | + [lt_cv_ld_exported_symbols_list=no |
4340 | + save_LDFLAGS=$LDFLAGS |
4341 | + echo "_main" > conftest.sym |
4342 | + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
4343 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
4344 | + [lt_cv_ld_exported_symbols_list=yes], |
4345 | + [lt_cv_ld_exported_symbols_list=no]) |
4346 | + LDFLAGS="$save_LDFLAGS" |
4347 | + ]) |
4348 | + case $host_os in |
4349 | + rhapsody* | darwin1.[[012]]) |
4350 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
4351 | + darwin1.*) |
4352 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4353 | + darwin*) # darwin 5.x on |
4354 | + # if running on 10.5 or later, the deployment target defaults |
4355 | + # to the OS version, if on x86, and 10.4, the deployment |
4356 | + # target defaults to 10.4. Don't you love it? |
4357 | + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
4358 | + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
4359 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4360 | + 10.[[012]]*) |
4361 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4362 | + 10.*) |
4363 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4364 | + esac |
4365 | + ;; |
4366 | + esac |
4367 | + if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
4368 | + _lt_dar_single_mod='$single_module' |
4369 | + fi |
4370 | + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
4371 | + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
4372 | + else |
4373 | + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
4374 | + fi |
4375 | + if test "$DSYMUTIL" != ":"; then |
4376 | + _lt_dsymutil='~$DSYMUTIL $lib || :' |
4377 | + else |
4378 | + _lt_dsymutil= |
4379 | + fi |
4380 | + ;; |
4381 | + esac |
4382 | +]) |
4383 | + |
4384 | + |
4385 | +# _LT_DARWIN_LINKER_FEATURES |
4386 | +# -------------------------- |
4387 | +# Checks for linker and compiler features on darwin |
4388 | +m4_defun([_LT_DARWIN_LINKER_FEATURES], |
4389 | +[ |
4390 | + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) |
4391 | + _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
4392 | + _LT_TAGVAR(hardcode_direct, $1)=no |
4393 | + _LT_TAGVAR(hardcode_automatic, $1)=yes |
4394 | + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
4395 | + _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
4396 | + _LT_TAGVAR(link_all_deplibs, $1)=yes |
4397 | + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
4398 | + case $cc_basename in |
4399 | + ifort*) _lt_dar_can_shared=yes ;; |
4400 | + *) _lt_dar_can_shared=$GCC ;; |
4401 | + esac |
4402 | + if test "$_lt_dar_can_shared" = "yes"; then |
4403 | + output_verbose_link_cmd=echo |
4404 | + _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}" |
4405 | + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
4406 | + _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}" |
4407 | + _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}" |
4408 | + m4_if([$1], [CXX], |
4409 | +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
4410 | + _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}" |
4411 | + _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}" |
4412 | + fi |
4413 | +],[]) |
4414 | + else |
4415 | + _LT_TAGVAR(ld_shlibs, $1)=no |
4416 | + fi |
4417 | +]) |
4418 | + |
4419 | +# _LT_SYS_MODULE_PATH_AIX |
4420 | +# ----------------------- |
4421 | +# Links a minimal program and checks the executable |
4422 | +# for the system default hardcoded library path. In most cases, |
4423 | +# this is /usr/lib:/lib, but when the MPI compilers are used |
4424 | +# the location of the communication and MPI libs are included too. |
4425 | +# If we don't find anything, use the default library path according |
4426 | +# to the aix ld manual. |
4427 | +m4_defun([_LT_SYS_MODULE_PATH_AIX], |
4428 | +[m4_require([_LT_DECL_SED])dnl |
4429 | +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
4430 | +lt_aix_libpath_sed=' |
4431 | + /Import File Strings/,/^$/ { |
4432 | + /^0/ { |
4433 | + s/^0 *\(.*\)$/\1/ |
4434 | + p |
4435 | + } |
4436 | + }' |
4437 | +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
4438 | +# Check for a 64-bit object if we didn't find anything. |
4439 | +if test -z "$aix_libpath"; then |
4440 | + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
4441 | +fi],[]) |
4442 | +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
4443 | +])# _LT_SYS_MODULE_PATH_AIX |
4444 | + |
4445 | + |
4446 | +# _LT_SHELL_INIT(ARG) |
4447 | +# ------------------- |
4448 | +m4_define([_LT_SHELL_INIT], |
4449 | +[ifdef([AC_DIVERSION_NOTICE], |
4450 | + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
4451 | + [AC_DIVERT_PUSH(NOTICE)]) |
4452 | +$1 |
4453 | +AC_DIVERT_POP |
4454 | +])# _LT_SHELL_INIT |
4455 | + |
4456 | + |
4457 | +# _LT_PROG_ECHO_BACKSLASH |
4458 | +# ----------------------- |
4459 | +# Add some code to the start of the generated configure script which |
4460 | +# will find an echo command which doesn't interpret backslashes. |
4461 | +m4_defun([_LT_PROG_ECHO_BACKSLASH], |
4462 | +[_LT_SHELL_INIT([ |
4463 | +# Check that we are running under the correct shell. |
4464 | +SHELL=${CONFIG_SHELL-/bin/sh} |
4465 | + |
4466 | +case X$lt_ECHO in |
4467 | +X*--fallback-echo) |
4468 | + # Remove one level of quotation (which was required for Make). |
4469 | + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
4470 | + ;; |
4471 | +esac |
4472 | + |
4473 | +ECHO=${lt_ECHO-echo} |
4474 | +if test "X[$]1" = X--no-reexec; then |
4475 | + # Discard the --no-reexec flag, and continue. |
4476 | + shift |
4477 | +elif test "X[$]1" = X--fallback-echo; then |
4478 | + # Avoid inline document here, it may be left over |
4479 | + : |
4480 | +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
4481 | + # Yippee, $ECHO works! |
4482 | + : |
4483 | +else |
4484 | + # Restart under the correct shell. |
4485 | + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} |
4486 | +fi |
4487 | + |
4488 | +if test "X[$]1" = X--fallback-echo; then |
4489 | + # used as fallback echo |
4490 | + shift |
4491 | + cat <<_LT_EOF |
4492 | +[$]* |
4493 | +_LT_EOF |
4494 | + exit 0 |
4495 | +fi |
4496 | + |
4497 | +# The HP-UX ksh and POSIX shell print the target directory to stdout |
4498 | +# if CDPATH is set. |
4499 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4500 | + |
4501 | +if test -z "$lt_ECHO"; then |
4502 | + if test "X${echo_test_string+set}" != Xset; then |
4503 | + # find a string as large as possible, as long as the shell can cope with it |
4504 | + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
4505 | + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
4506 | + if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
4507 | + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
4508 | + then |
4509 | + break |
4510 | + fi |
4511 | + done |
4512 | + fi |
4513 | + |
4514 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
4515 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4516 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4517 | + : |
4518 | + else |
4519 | + # The Solaris, AIX, and Digital Unix default echo programs unquote |
4520 | + # backslashes. This makes it impossible to quote backslashes using |
4521 | + # echo "$something" | sed 's/\\/\\\\/g' |
4522 | + # |
4523 | + # So, first we look for a working echo in the user's PATH. |
4524 | + |
4525 | + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4526 | + for dir in $PATH /usr/ucb; do |
4527 | + IFS="$lt_save_ifs" |
4528 | + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
4529 | + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
4530 | + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
4531 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4532 | + ECHO="$dir/echo" |
4533 | + break |
4534 | + fi |
4535 | + done |
4536 | + IFS="$lt_save_ifs" |
4537 | + |
4538 | + if test "X$ECHO" = Xecho; then |
4539 | + # We didn't find a better echo, so look for alternatives. |
4540 | + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
4541 | + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
4542 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4543 | + # This shell has a builtin print -r that does the trick. |
4544 | + ECHO='print -r' |
4545 | + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
4546 | + test "X$CONFIG_SHELL" != X/bin/ksh; then |
4547 | + # If we have ksh, try running configure again with it. |
4548 | + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
4549 | + export ORIGINAL_CONFIG_SHELL |
4550 | + CONFIG_SHELL=/bin/ksh |
4551 | + export CONFIG_SHELL |
4552 | + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
4553 | + else |
4554 | + # Try using printf. |
4555 | + ECHO='printf %s\n' |
4556 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
4557 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4558 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4559 | + # Cool, printf works |
4560 | + : |
4561 | + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4562 | + test "X$echo_testing_string" = 'X\t' && |
4563 | + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4564 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4565 | + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
4566 | + export CONFIG_SHELL |
4567 | + SHELL="$CONFIG_SHELL" |
4568 | + export SHELL |
4569 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
4570 | + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4571 | + test "X$echo_testing_string" = 'X\t' && |
4572 | + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4573 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4574 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
4575 | + else |
4576 | + # maybe with a smaller string... |
4577 | + prev=: |
4578 | + |
4579 | + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
4580 | + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
4581 | + then |
4582 | + break |
4583 | + fi |
4584 | + prev="$cmd" |
4585 | + done |
4586 | + |
4587 | + if test "$prev" != 'sed 50q "[$]0"'; then |
4588 | + echo_test_string=`eval $prev` |
4589 | + export echo_test_string |
4590 | + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
4591 | + else |
4592 | + # Oops. We lost completely, so just stick with echo. |
4593 | + ECHO=echo |
4594 | + fi |
4595 | + fi |
4596 | + fi |
4597 | + fi |
4598 | + fi |
4599 | +fi |
4600 | + |
4601 | +# Copy echo and quote the copy suitably for passing to libtool from |
4602 | +# the Makefile, instead of quoting the original, which is used later. |
4603 | +lt_ECHO=$ECHO |
4604 | +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
4605 | + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
4606 | +fi |
4607 | + |
4608 | +AC_SUBST(lt_ECHO) |
4609 | +]) |
4610 | +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
4611 | +_LT_DECL([], [ECHO], [1], |
4612 | + [An echo program that does not interpret backslashes]) |
4613 | +])# _LT_PROG_ECHO_BACKSLASH |
4614 | + |
4615 | + |
4616 | +# _LT_ENABLE_LOCK |
4617 | +# --------------- |
4618 | +m4_defun([_LT_ENABLE_LOCK], |
4619 | +[AC_ARG_ENABLE([libtool-lock], |
4620 | + [AS_HELP_STRING([--disable-libtool-lock], |
4621 | + [avoid locking (might break parallel builds)])]) |
4622 | +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4623 | + |
4624 | +# Some flags need to be propagated to the compiler or linker for good |
4625 | +# libtool support. |
4626 | +case $host in |
4627 | +ia64-*-hpux*) |
4628 | + # Find out which ABI we are using. |
4629 | + echo 'int i;' > conftest.$ac_ext |
4630 | + if AC_TRY_EVAL(ac_compile); then |
4631 | + case `/usr/bin/file conftest.$ac_objext` in |
4632 | + *ELF-32*) |
4633 | + HPUX_IA64_MODE="32" |
4634 | + ;; |
4635 | + *ELF-64*) |
4636 | + HPUX_IA64_MODE="64" |
4637 | + ;; |
4638 | + esac |
4639 | + fi |
4640 | + rm -rf conftest* |
4641 | + ;; |
4642 | +*-*-irix6*) |
4643 | + # Find out which ABI we are using. |
4644 | + echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
4645 | + if AC_TRY_EVAL(ac_compile); then |
4646 | + if test "$lt_cv_prog_gnu_ld" = yes; then |
4647 | + case `/usr/bin/file conftest.$ac_objext` in |
4648 | + *32-bit*) |
4649 | + LD="${LD-ld} -melf32bsmip" |
4650 | + ;; |
4651 | + *N32*) |
4652 | + LD="${LD-ld} -melf32bmipn32" |
4653 | + ;; |
4654 | + *64-bit*) |
4655 | + LD="${LD-ld} -melf64bmip" |
4656 | + ;; |
4657 | + esac |
4658 | + else |
4659 | + case `/usr/bin/file conftest.$ac_objext` in |
4660 | + *32-bit*) |
4661 | + LD="${LD-ld} -32" |
4662 | + ;; |
4663 | + *N32*) |
4664 | + LD="${LD-ld} -n32" |
4665 | + ;; |
4666 | + *64-bit*) |
4667 | + LD="${LD-ld} -64" |
4668 | + ;; |
4669 | + esac |
4670 | + fi |
4671 | + fi |
4672 | + rm -rf conftest* |
4673 | + ;; |
4674 | + |
4675 | +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
4676 | +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
4677 | + # Find out which ABI we are using. |
4678 | + echo 'int i;' > conftest.$ac_ext |
4679 | + if AC_TRY_EVAL(ac_compile); then |
4680 | + case `/usr/bin/file conftest.o` in |
4681 | + *32-bit*) |
4682 | + case $host in |
4683 | + x86_64-*kfreebsd*-gnu) |
4684 | + LD="${LD-ld} -m elf_i386_fbsd" |
4685 | + ;; |
4686 | + x86_64-*linux*) |
4687 | + LD="${LD-ld} -m elf_i386" |
4688 | + ;; |
4689 | + ppc64-*linux*|powerpc64-*linux*) |
4690 | + LD="${LD-ld} -m elf32ppclinux" |
4691 | + ;; |
4692 | + s390x-*linux*) |
4693 | + LD="${LD-ld} -m elf_s390" |
4694 | + ;; |
4695 | + sparc64-*linux*) |
4696 | + LD="${LD-ld} -m elf32_sparc" |
4697 | + ;; |
4698 | + esac |
4699 | + ;; |
4700 | + *64-bit*) |
4701 | + case $host in |
4702 | + x86_64-*kfreebsd*-gnu) |
4703 | + LD="${LD-ld} -m elf_x86_64_fbsd" |
4704 | + ;; |
4705 | + x86_64-*linux*) |
4706 | + LD="${LD-ld} -m elf_x86_64" |
4707 | + ;; |
4708 | + ppc*-*linux*|powerpc*-*linux*) |
4709 | + LD="${LD-ld} -m elf64ppc" |
4710 | + ;; |
4711 | + s390*-*linux*|s390*-*tpf*) |
4712 | + LD="${LD-ld} -m elf64_s390" |
4713 | + ;; |
4714 | + sparc*-*linux*) |
4715 | + LD="${LD-ld} -m elf64_sparc" |
4716 | + ;; |
4717 | + esac |
4718 | + ;; |
4719 | + esac |
4720 | + fi |
4721 | + rm -rf conftest* |
4722 | + ;; |
4723 | + |
4724 | +*-*-sco3.2v5*) |
4725 | + # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4726 | + SAVE_CFLAGS="$CFLAGS" |
4727 | + CFLAGS="$CFLAGS -belf" |
4728 | + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
4729 | + [AC_LANG_PUSH(C) |
4730 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
4731 | + AC_LANG_POP]) |
4732 | + if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4733 | + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4734 | + CFLAGS="$SAVE_CFLAGS" |
4735 | + fi |
4736 | + ;; |
4737 | +sparc*-*solaris*) |
4738 | + # Find out which ABI we are using. |
4739 | + echo 'int i;' > conftest.$ac_ext |
4740 | + if AC_TRY_EVAL(ac_compile); then |
4741 | + case `/usr/bin/file conftest.o` in |
4742 | + *64-bit*) |
4743 | + case $lt_cv_prog_gnu_ld in |
4744 | + yes*) LD="${LD-ld} -m elf64_sparc" ;; |
4745 | + *) |
4746 | + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
4747 | + LD="${LD-ld} -64" |
4748 | + fi |
4749 | + ;; |
4750 | + esac |
4751 | + ;; |
4752 | + esac |
4753 | + fi |
4754 | + rm -rf conftest* |
4755 | + ;; |
4756 | +esac |
4757 | + |
4758 | +need_locks="$enable_libtool_lock" |
4759 | +])# _LT_ENABLE_LOCK |
4760 | + |
4761 | + |
4762 | +# _LT_CMD_OLD_ARCHIVE |
4763 | +# ------------------- |
4764 | +m4_defun([_LT_CMD_OLD_ARCHIVE], |
4765 | +[AC_CHECK_TOOL(AR, ar, false) |
4766 | +test -z "$AR" && AR=ar |
4767 | +test -z "$AR_FLAGS" && AR_FLAGS=cru |
4768 | +_LT_DECL([], [AR], [1], [The archiver]) |
4769 | +_LT_DECL([], [AR_FLAGS], [1]) |
4770 | + |
4771 | +AC_CHECK_TOOL(STRIP, strip, :) |
4772 | +test -z "$STRIP" && STRIP=: |
4773 | +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) |
4774 | + |
4775 | +AC_CHECK_TOOL(RANLIB, ranlib, :) |
4776 | +test -z "$RANLIB" && RANLIB=: |
4777 | +_LT_DECL([], [RANLIB], [1], |
4778 | + [Commands used to install an old-style archive]) |
4779 | + |
4780 | +# Determine commands to create old-style static archives. |
4781 | +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
4782 | +old_postinstall_cmds='chmod 644 $oldlib' |
4783 | +old_postuninstall_cmds= |
4784 | + |
4785 | +if test -n "$RANLIB"; then |
4786 | + case $host_os in |
4787 | + openbsd*) |
4788 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
4789 | + ;; |
4790 | + *) |
4791 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
4792 | + ;; |
4793 | + esac |
4794 | + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
4795 | +fi |
4796 | +_LT_DECL([], [old_postinstall_cmds], [2]) |
4797 | +_LT_DECL([], [old_postuninstall_cmds], [2]) |
4798 | +_LT_TAGDECL([], [old_archive_cmds], [2], |
4799 | + [Commands used to build an old-style archive]) |
4800 | +])# _LT_CMD_OLD_ARCHIVE |
4801 | + |
4802 | + |
4803 | +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4804 | +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
4805 | +# ---------------------------------------------------------------- |
4806 | +# Check whether the given compiler option works |
4807 | +AC_DEFUN([_LT_COMPILER_OPTION], |
4808 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4809 | +m4_require([_LT_DECL_SED])dnl |
4810 | +AC_CACHE_CHECK([$1], [$2], |
4811 | + [$2=no |
4812 | + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
4813 | + echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
4814 | + lt_compiler_flag="$3" |
4815 | + # Insert the option either (1) after the last *FLAGS variable, or |
4816 | + # (2) before a word containing "conftest.", or (3) at the end. |
4817 | + # Note that $ac_compile itself does not contain backslashes and begins |
4818 | + # with a dollar sign (not a hyphen), so the echo should work correctly. |
4819 | + # The option is referenced via a variable to avoid confusing sed. |
4820 | + lt_compile=`echo "$ac_compile" | $SED \ |
4821 | + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
4822 | + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
4823 | + -e 's:$: $lt_compiler_flag:'` |
4824 | + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
4825 | + (eval "$lt_compile" 2>conftest.err) |
4826 | + ac_status=$? |
4827 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
4828 | + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
4829 | + if (exit $ac_status) && test -s "$ac_outfile"; then |
4830 | + # The compiler can only warn and ignore the option if not recognized |
4831 | + # So say no if there are warnings other than the usual output. |
4832 | + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
4833 | + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4834 | + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
4835 | + $2=yes |
4836 | + fi |
4837 | + fi |
4838 | + $RM conftest* |
4839 | +]) |
4840 | + |
4841 | +if test x"[$]$2" = xyes; then |
4842 | + m4_if([$5], , :, [$5]) |
4843 | +else |
4844 | + m4_if([$6], , :, [$6]) |
4845 | +fi |
4846 | +])# _LT_COMPILER_OPTION |
4847 | + |
4848 | +# Old name: |
4849 | +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
4850 | +dnl aclocal-1.4 backwards compatibility: |
4851 | +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
4852 | + |
4853 | + |
4854 | +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4855 | +# [ACTION-SUCCESS], [ACTION-FAILURE]) |
4856 | +# ---------------------------------------------------- |
4857 | +# Check whether the given linker option works |
4858 | +AC_DEFUN([_LT_LINKER_OPTION], |
4859 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4860 | +m4_require([_LT_DECL_SED])dnl |
4861 | +AC_CACHE_CHECK([$1], [$2], |
4862 | + [$2=no |
4863 | + save_LDFLAGS="$LDFLAGS" |
4864 | + LDFLAGS="$LDFLAGS $3" |
4865 | + echo "$lt_simple_link_test_code" > conftest.$ac_ext |
4866 | + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
4867 | + # The linker can only warn and ignore the option if not recognized |
4868 | + # So say no if there are warnings |
4869 | + if test -s conftest.err; then |
4870 | + # Append any errors to the config.log. |
4871 | + cat conftest.err 1>&AS_MESSAGE_LOG_FD |
4872 | + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
4873 | + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4874 | + if diff conftest.exp conftest.er2 >/dev/null; then |
4875 | + $2=yes |
4876 | + fi |
4877 | + else |
4878 | + $2=yes |
4879 | + fi |
4880 | + fi |
4881 | + $RM -r conftest* |
4882 | + LDFLAGS="$save_LDFLAGS" |
4883 | +]) |
4884 | + |
4885 | +if test x"[$]$2" = xyes; then |
4886 | + m4_if([$4], , :, [$4]) |
4887 | +else |
4888 | + m4_if([$5], , :, [$5]) |
4889 | +fi |
4890 | +])# _LT_LINKER_OPTION |
4891 | + |
4892 | +# Old name: |
4893 | +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
4894 | +dnl aclocal-1.4 backwards compatibility: |
4895 | +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
4896 | + |
4897 | + |
4898 | +# LT_CMD_MAX_LEN |
4899 | +#--------------- |
4900 | +AC_DEFUN([LT_CMD_MAX_LEN], |
4901 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4902 | +# find the maximum length of command line arguments |
4903 | +AC_MSG_CHECKING([the maximum length of command line arguments]) |
4904 | +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
4905 | + i=0 |
4906 | + teststring="ABCD" |
4907 | + |
4908 | + case $build_os in |
4909 | + msdosdjgpp*) |
4910 | + # On DJGPP, this test can blow up pretty badly due to problems in libc |
4911 | + # (any single argument exceeding 2000 bytes causes a buffer overrun |
4912 | + # during glob expansion). Even if it were fixed, the result of this |
4913 | + # check would be larger than it should be. |
4914 | + lt_cv_sys_max_cmd_len=12288; # 12K is about right |
4915 | + ;; |
4916 | + |
4917 | + gnu*) |
4918 | + # Under GNU Hurd, this test is not required because there is |
4919 | + # no limit to the length of command line arguments. |
4920 | + # Libtool will interpret -1 as no limit whatsoever |
4921 | + lt_cv_sys_max_cmd_len=-1; |
4922 | + ;; |
4923 | + |
4924 | + cygwin* | mingw* | cegcc*) |
4925 | + # On Win9x/ME, this test blows up -- it succeeds, but takes |
4926 | + # about 5 minutes as the teststring grows exponentially. |
4927 | + # Worse, since 9x/ME are not pre-emptively multitasking, |
4928 | + # you end up with a "frozen" computer, even though with patience |
4929 | + # the test eventually succeeds (with a max line length of 256k). |
4930 | + # Instead, let's just punt: use the minimum linelength reported by |
4931 | + # all of the supported platforms: 8192 (on NT/2K/XP). |
4932 | + lt_cv_sys_max_cmd_len=8192; |
4933 | + ;; |
4934 | + |
4935 | + amigaos*) |
4936 | + # On AmigaOS with pdksh, this test takes hours, literally. |
4937 | + # So we just punt and use a minimum line length of 8192. |
4938 | + lt_cv_sys_max_cmd_len=8192; |
4939 | + ;; |
4940 | + |
4941 | + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
4942 | + # This has been around since 386BSD, at least. Likely further. |
4943 | + if test -x /sbin/sysctl; then |
4944 | + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
4945 | + elif test -x /usr/sbin/sysctl; then |
4946 | + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
4947 | + else |
4948 | + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
4949 | + fi |
4950 | + # And add a safety zone |
4951 | + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4952 | + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4953 | + ;; |
4954 | + |
4955 | + interix*) |
4956 | + # We know the value 262144 and hardcode it with a safety zone (like BSD) |
4957 | + lt_cv_sys_max_cmd_len=196608 |
4958 | + ;; |
4959 | + |
4960 | + osf*) |
4961 | + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
4962 | + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
4963 | + # nice to cause kernel panics so lets avoid the loop below. |
4964 | + # First set a reasonable default. |
4965 | + lt_cv_sys_max_cmd_len=16384 |
4966 | + # |
4967 | + if test -x /sbin/sysconfig; then |
4968 | + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
4969 | + *1*) lt_cv_sys_max_cmd_len=-1 ;; |
4970 | + esac |
4971 | + fi |
4972 | + ;; |
4973 | + sco3.2v5*) |
4974 | + lt_cv_sys_max_cmd_len=102400 |
4975 | + ;; |
4976 | + sysv5* | sco5v6* | sysv4.2uw2*) |
4977 | + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
4978 | + if test -n "$kargmax"; then |
4979 | + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
4980 | + else |
4981 | + lt_cv_sys_max_cmd_len=32768 |
4982 | + fi |
4983 | + ;; |
4984 | + *) |
4985 | + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
4986 | + if test -n "$lt_cv_sys_max_cmd_len"; then |
4987 | + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4988 | + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4989 | + else |
4990 | + # Make teststring a little bigger before we do anything with it. |
4991 | + # a 1K string should be a reasonable start. |
4992 | + for i in 1 2 3 4 5 6 7 8 ; do |
4993 | + teststring=$teststring$teststring |
4994 | + done |
4995 | + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
4996 | + # If test is not a shell built-in, we'll probably end up computing a |
4997 | + # maximum length that is only half of the actual maximum length, but |
4998 | + # we can't tell. |
4999 | + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
5000 | + = "XX$teststring$teststring"; } >/dev/null 2>&1 && |
You proposed this for the wrong branch, I merged it into lp:~ubuntu-desktop/indicator-appmenu/ubuntu