Merge lp:~kelemeng/indicator-session/bug547131 into lp:indicator-session/0.1

Proposed by Gabor Kelemen
Status: Merged
Merged at revision: 117
Proposed branch: lp:~kelemeng/indicator-session/bug547131
Merge into: lp:indicator-session/0.1
Diff against target: 74287 lines (+73378/-0) (has conflicts)
168 files modified
AUTHORS (+2/-0)
COPYING (+676/-0)
INSTALL (+365/-0)
Makefile.am (+10/-0)
Makefile.in (+769/-0)
aclocal.m4 (+9893/-0)
autogen.sh (+11/-0)
compile (+143/-0)
config.guess (+1533/-0)
config.h.in (+89/-0)
config.sub (+1693/-0)
configure (+15780/-0)
configure.ac (+160/-0)
data/Makefile.am (+44/-0)
data/Makefile.in (+710/-0)
data/icons/16x16/Makefile.am (+1/-0)
data/icons/16x16/Makefile.in (+599/-0)
data/icons/16x16/actions/Makefile.am (+10/-0)
data/icons/16x16/actions/Makefile.in (+452/-0)
data/icons/16x16/status/Makefile.am (+7/-0)
data/icons/16x16/status/Makefile.in (+449/-0)
data/icons/22x22/Makefile.am (+1/-0)
data/icons/22x22/Makefile.in (+599/-0)
data/icons/22x22/actions/Makefile.am (+10/-0)
data/icons/22x22/actions/Makefile.in (+452/-0)
data/icons/22x22/status/Makefile.am (+7/-0)
data/icons/22x22/status/Makefile.in (+449/-0)
data/icons/24x24/Makefile.am (+1/-0)
data/icons/24x24/Makefile.in (+599/-0)
data/icons/24x24/actions/Makefile.am (+10/-0)
data/icons/24x24/actions/Makefile.in (+452/-0)
data/icons/24x24/status/Makefile.am (+7/-0)
data/icons/24x24/status/Makefile.in (+449/-0)
data/icons/32x32/Makefile.am (+1/-0)
data/icons/32x32/Makefile.in (+599/-0)
data/icons/32x32/actions/Makefile.am (+8/-0)
data/icons/32x32/actions/Makefile.in (+450/-0)
data/icons/32x32/status/Makefile.am (+7/-0)
data/icons/32x32/status/Makefile.in (+449/-0)
data/icons/Makefile.am (+15/-0)
data/icons/Makefile.in (+614/-0)
data/icons/scalable/Makefile.am (+1/-0)
data/icons/scalable/Makefile.in (+599/-0)
data/icons/scalable/actions/Makefile.am (+10/-0)
data/icons/scalable/actions/Makefile.in (+452/-0)
data/icons/scalable/actions/system-log-out.svg (+284/-0)
data/icons/scalable/actions/system-restart.svg (+397/-0)
data/icons/scalable/actions/system-shutdown-panel.svg (+247/-0)
data/icons/scalable/actions/system-shutdown.svg (+247/-0)
data/icons/scalable/status/Makefile.am (+7/-0)
data/icons/scalable/status/Makefile.in (+449/-0)
data/icons/scalable/status/account-logged-in.svg (+270/-0)
data/indicator-session.schemas.in (+28/-0)
data/indicator-session.service.in (+3/-0)
data/indicator-users.service.in (+3/-0)
debian/changelog (+445/-0)
debian/compat (+1/-0)
debian/control (+33/-0)
debian/copyright (+53/-0)
debian/rules (+15/-0)
debian/watch (+2/-0)
depcomp (+630/-0)
install-sh (+520/-0)
ltmain.sh (+8413/-0)
missing (+376/-0)
mkinstalldirs (+162/-0)
po/LINGUAS (+71/-0)
po/Makefile.in.in (+217/-0)
po/POTFILES.in (+8/-0)
po/am.po (+187/-0)
po/ar.po (+222/-0)
po/ast.po (+193/-0)
po/az.po (+189/-0)
po/be.po (+190/-0)
po/bg.po (+221/-0)
po/bn.po (+187/-0)
po/br.po (+189/-0)
po/bs.po (+188/-0)
po/ca.po (+190/-0)
po/crh.po (+191/-0)
po/cs.po (+214/-0)
po/csb.po (+192/-0)
po/cv.po (+187/-0)
po/da.po (+213/-0)
po/de.po (+221/-0)
po/el.po (+214/-0)
po/en_AU.po (+191/-0)
po/en_CA.po (+189/-0)
po/en_GB.po (+191/-0)
po/eo.po (+190/-0)
po/es.po (+216/-0)
po/et.po (+193/-0)
po/eu.po (+191/-0)
po/fa.po (+187/-0)
po/fi.po (+218/-0)
po/fr.po (+218/-0)
po/gl.po (+195/-0)
po/gu.po (+187/-0)
po/he.po (+210/-0)
po/hi.po (+209/-0)
po/hr.po (+220/-0)
po/hu.po (+218/-0)
po/id.po (+189/-0)
po/is.po (+191/-0)
po/it.po (+216/-0)
po/ja.po (+211/-0)
po/kk.po (+193/-0)
po/kn.po (+187/-0)
po/ko.po (+193/-0)
po/ku.po (+189/-0)
po/lb.po (+189/-0)
po/lt.po (+195/-0)
po/lv.po (+197/-0)
po/mr.po (+187/-0)
po/ms.po (+190/-0)
po/nb.po (+213/-0)
po/nl.po (+221/-0)
po/nn.po (+188/-0)
po/oc.po (+195/-0)
po/pa.po (+187/-0)
po/pl.po (+219/-0)
po/pt.po (+219/-0)
po/pt_BR.po (+221/-0)
po/ro.po (+219/-0)
po/ru.po (+220/-0)
po/si.po (+189/-0)
po/sk.po (+215/-0)
po/sl.po (+221/-0)
po/sq.po (+198/-0)
po/sr.po (+218/-0)
po/sv.po (+215/-0)
po/te.po (+187/-0)
po/th.po (+209/-0)
po/tr.po (+216/-0)
po/ug.po (+187/-0)
po/uk.po (+192/-0)
po/vi.po (+189/-0)
po/zh_CN.po (+206/-0)
po/zh_HK.po (+187/-0)
po/zh_TW.po (+206/-0)
src/Makefile.am (+149/-0)
src/Makefile.in (+970/-0)
src/consolekit-manager.xml (+353/-0)
src/consolekit-session.xml (+435/-0)
src/dbus-shared-names.h (+57/-0)
src/dbusmenu-shared.h (+4/-0)
src/dialog.c (+230/-0)
src/dialog.h (+64/-0)
src/gconf-helper.c (+114/-0)
src/gconf-helper.h (+52/-0)
src/gdm-local-display-factory.xml (+20/-0)
src/gtk-logout-helper.c (+216/-0)
src/indicator-session.c (+471/-0)
src/lock-helper.c (+305/-0)
src/lock-helper.h (+36/-0)
src/session-dbus-client.h (+64/-0)
src/session-dbus-server.h (+120/-0)
src/session-dbus.c (+139/-0)
src/session-dbus.h (+55/-0)
src/session-dbus.xml (+15/-0)
src/session-service.c (+818/-0)
src/upower.xml (+309/-0)
src/users-service-client.h (+220/-0)
src/users-service-dbus.c (+1135/-0)
src/users-service-dbus.h (+93/-0)
src/users-service-marshal.c (+84/-0)
src/users-service.list (+1/-0)
src/users-service.xml (+56/-0)
Conflict adding file AUTHORS.  Moved existing file to AUTHORS.moved.
Conflict adding file COPYING.  Moved existing file to COPYING.moved.
Conflict adding file ChangeLog.  Moved existing file to ChangeLog.moved.
Conflict adding file Makefile.am.  Moved existing file to Makefile.am.moved.
Conflict adding file NEWS.  Moved existing file to NEWS.moved.
Conflict adding file README.  Moved existing file to README.moved.
Conflict adding file autogen.sh.  Moved existing file to autogen.sh.moved.
Conflict adding file configure.ac.  Moved existing file to configure.ac.moved.
Conflict adding file data.  Moved existing file to data.moved.
Conflict adding file po.  Moved existing file to po.moved.
Conflict adding file src.  Moved existing file to src.moved.
To merge this branch: bzr merge lp:~kelemeng/indicator-session/bug547131
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+22164@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ted Gould (ted) wrote :

The merge request is a little bit messed up. But that's a problem with
the branches we're working on fixing. Rev 31 seems good.

  review approve

review: Approve

Preview Diff

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

Subscribers

People subscribed via source and target branches