Merge lp:~larsu/indicator-printers/ubuntu into lp:indicator-printers/0.1

Proposed by Lars Karlitski
Status: Superseded
Proposed branch: lp:~larsu/indicator-printers/ubuntu
Merge into: lp:indicator-printers/0.1
Diff against target: 45915 lines (+45695/-38)
34 files modified
.bzrignore (+0/-29)
COPYING (+674/-0)
INSTALL (+370/-0)
Makefile.in (+787/-0)
aclocal.m4 (+10514/-0)
autogen.sh (+0/-9)
compile (+310/-0)
config.guess (+1530/-0)
config.h.in (+86/-0)
config.sub (+1773/-0)
configure (+15644/-0)
data/Makefile.in (+462/-0)
debian/changelog (+66/-0)
debian/compat (+1/-0)
debian/control (+31/-0)
debian/copyright (+23/-0)
debian/indicator-printers.install (+1/-0)
debian/local/ubuntu-mono-dark/status/16/printer-symbolic.svg (+77/-0)
debian/local/ubuntu-mono-dark/status/22/printer-symbolic.svg (+77/-0)
debian/local/ubuntu-mono-dark/status/24/printer-symbolic.svg (+72/-0)
debian/local/ubuntu-mono-light/status/16/printer-symbolic.svg (+71/-0)
debian/local/ubuntu-mono-light/status/22/printer-symbolic.svg (+71/-0)
debian/local/ubuntu-mono-light/status/24/printer-symbolic.svg (+66/-0)
debian/rules (+16/-0)
debian/source/format (+1/-0)
debian/watch (+2/-0)
depcomp (+688/-0)
install-sh (+527/-0)
ltmain.sh (+9661/-0)
missing (+331/-0)
mkinstalldirs (+162/-0)
po/Makefile.in.in (+222/-0)
src/Makefile.in (+787/-0)
test/Makefile.in (+592/-0)
To merge this branch: bzr merge lp:~larsu/indicator-printers/ubuntu
Reviewer Review Type Date Requested Status
Sebastien Bacher Pending
Review via email: mp+98468@code.launchpad.net

This proposal has been superseded by a proposal from 2012-03-20.

To post a comment you must log in.

Unmerged revisions

53. By Lars Karlitski

releasing version 0.1.5-0ubuntu1

52. By Lars Karlitski

* New upstream release.
  - translate accessible description (LP: #957522)
  - set lease durations on cups subscriptions (LP: #959195)
  - draw number of jobs as lozenge

51. By Sebastien Bacher

releasing version 0.1.4-0ubuntu1

50. By Sebastien Bacher

releasing version 0.1.3-0ubuntu2

49. By Sebastien Bacher

releasing version 0.1.3-0ubuntu1

48. By Sebastien Bacher

Merging shared upstream rev into target branch.

47. By Sebastien Bacher

Merging shared upstream rev into target branch.

46. By Sebastien Bacher

releasing version 0.1.1-0ubuntu1

45. By Sebastien Bacher

set up vcs url

44. By Sebastien Bacher

releasing version 0.1-0ubuntu2

Preview Diff

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

Subscribers

People subscribed via source and target branches