Merge lp:~indicator-applet-developers/indicator-appmenu/ubuntu into lp:~ubuntu-desktop/indicator-appmenu/ubuntu

Proposed by Ted Gould
Status: Merged
Merged at revision: 33
Proposed branch: lp:~indicator-applet-developers/indicator-appmenu/ubuntu
Merge into: lp:~ubuntu-desktop/indicator-appmenu/ubuntu
Diff against target: 19404 lines (+9035/-9024)
23 files modified
COPYING (+0/-676)
Makefile.in (+1/-4)
aclocal.m4 (+8030/-8)
configure (+217/-200)
configure.ac (+2/-2)
debian/changelog (+18/-0)
m4/gtk-doc.m4 (+0/-61)
m4/libtool.m4 (+0/-7377)
m4/ltoptions.m4 (+0/-368)
m4/ltsugar.m4 (+0/-123)
m4/ltversion.m4 (+0/-23)
m4/lt~obsolete.m4 (+0/-92)
scripts/Makefile.in (+1/-4)
src/Makefile.am (+4/-1)
src/Makefile.in (+16/-6)
src/MwmUtil.h (+136/-0)
src/application-menu-registrar-server.h (+1/-2)
src/gdk-get-func.c (+145/-0)
src/gdk-get-func.h (+3/-0)
src/indicator-appmenu.c (+278/-64)
src/window-menus.c (+177/-9)
src/window-menus.h (+5/-0)
tools/Makefile.in (+1/-4)
To merge this branch: bzr merge lp:~indicator-applet-developers/indicator-appmenu/ubuntu
Reviewer Review Type Date Requested Status
Ken VanDine Pending
Review via email: mp+35003@code.launchpad.net

Description of the change

0.0.10

To post a comment you must log in.

Preview Diff

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

Subscribers

People subscribed via source and target branches

to all changes: