• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョンbe94649adbf7d839d9b32961cdea22b21209a3d8 (tree)
日時2012-10-27 18:54:13
作者matsuand <matsuand@user...>
コミッターmatsuand

ログメッセージ

Added gtk01.

変更サマリ

差分

--- /dev/null
+++ b/base/gtk01/.gitignore
@@ -0,0 +1,2 @@
1+autom4te.cache/
2+
--- /dev/null
+++ b/base/gtk01/AUTHORS
@@ -0,0 +1 @@
1+matsuand <matsuand AT users DT sourceforge DT jp>
--- /dev/null
+++ b/base/gtk01/COPYING
@@ -0,0 +1,674 @@
1+ GNU GENERAL PUBLIC LICENSE
2+ Version 3, 29 June 2007
3+
4+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5+ Everyone is permitted to copy and distribute verbatim copies
6+ of this license document, but changing it is not allowed.
7+
8+ Preamble
9+
10+ The GNU General Public License is a free, copyleft license for
11+software and other kinds of works.
12+
13+ The licenses for most software and other practical works are designed
14+to take away your freedom to share and change the works. By contrast,
15+the GNU General Public License is intended to guarantee your freedom to
16+share and change all versions of a program--to make sure it remains free
17+software for all its users. We, the Free Software Foundation, use the
18+GNU General Public License for most of our software; it applies also to
19+any other work released this way by its authors. You can apply it to
20+your programs, too.
21+
22+ When we speak of free software, we are referring to freedom, not
23+price. Our General Public Licenses are designed to make sure that you
24+have the freedom to distribute copies of free software (and charge for
25+them if you wish), that you receive source code or can get it if you
26+want it, that you can change the software or use pieces of it in new
27+free programs, and that you know you can do these things.
28+
29+ To protect your rights, we need to prevent others from denying you
30+these rights or asking you to surrender the rights. Therefore, you have
31+certain responsibilities if you distribute copies of the software, or if
32+you modify it: responsibilities to respect the freedom of others.
33+
34+ For example, if you distribute copies of such a program, whether
35+gratis or for a fee, you must pass on to the recipients the same
36+freedoms that you received. You must make sure that they, too, receive
37+or can get the source code. And you must show them these terms so they
38+know their rights.
39+
40+ Developers that use the GNU GPL protect your rights with two steps:
41+(1) assert copyright on the software, and (2) offer you this License
42+giving you legal permission to copy, distribute and/or modify it.
43+
44+ For the developers' and authors' protection, the GPL clearly explains
45+that there is no warranty for this free software. For both users' and
46+authors' sake, the GPL requires that modified versions be marked as
47+changed, so that their problems will not be attributed erroneously to
48+authors of previous versions.
49+
50+ Some devices are designed to deny users access to install or run
51+modified versions of the software inside them, although the manufacturer
52+can do so. This is fundamentally incompatible with the aim of
53+protecting users' freedom to change the software. The systematic
54+pattern of such abuse occurs in the area of products for individuals to
55+use, which is precisely where it is most unacceptable. Therefore, we
56+have designed this version of the GPL to prohibit the practice for those
57+products. If such problems arise substantially in other domains, we
58+stand ready to extend this provision to those domains in future versions
59+of the GPL, as needed to protect the freedom of users.
60+
61+ Finally, every program is threatened constantly by software patents.
62+States should not allow patents to restrict development and use of
63+software on general-purpose computers, but in those that do, we wish to
64+avoid the special danger that patents applied to a free program could
65+make it effectively proprietary. To prevent this, the GPL assures that
66+patents cannot be used to render the program non-free.
67+
68+ The precise terms and conditions for copying, distribution and
69+modification follow.
70+
71+ TERMS AND CONDITIONS
72+
73+ 0. Definitions.
74+
75+ "This License" refers to version 3 of the GNU General Public License.
76+
77+ "Copyright" also means copyright-like laws that apply to other kinds of
78+works, such as semiconductor masks.
79+
80+ "The Program" refers to any copyrightable work licensed under this
81+License. Each licensee is addressed as "you". "Licensees" and
82+"recipients" may be individuals or organizations.
83+
84+ To "modify" a work means to copy from or adapt all or part of the work
85+in a fashion requiring copyright permission, other than the making of an
86+exact copy. The resulting work is called a "modified version" of the
87+earlier work or a work "based on" the earlier work.
88+
89+ A "covered work" means either the unmodified Program or a work based
90+on the Program.
91+
92+ To "propagate" a work means to do anything with it that, without
93+permission, would make you directly or secondarily liable for
94+infringement under applicable copyright law, except executing it on a
95+computer or modifying a private copy. Propagation includes copying,
96+distribution (with or without modification), making available to the
97+public, and in some countries other activities as well.
98+
99+ To "convey" a work means any kind of propagation that enables other
100+parties to make or receive copies. Mere interaction with a user through
101+a computer network, with no transfer of a copy, is not conveying.
102+
103+ An interactive user interface displays "Appropriate Legal Notices"
104+to the extent that it includes a convenient and prominently visible
105+feature that (1) displays an appropriate copyright notice, and (2)
106+tells the user that there is no warranty for the work (except to the
107+extent that warranties are provided), that licensees may convey the
108+work under this License, and how to view a copy of this License. If
109+the interface presents a list of user commands or options, such as a
110+menu, a prominent item in the list meets this criterion.
111+
112+ 1. Source Code.
113+
114+ The "source code" for a work means the preferred form of the work
115+for making modifications to it. "Object code" means any non-source
116+form of a work.
117+
118+ A "Standard Interface" means an interface that either is an official
119+standard defined by a recognized standards body, or, in the case of
120+interfaces specified for a particular programming language, one that
121+is widely used among developers working in that language.
122+
123+ The "System Libraries" of an executable work include anything, other
124+than the work as a whole, that (a) is included in the normal form of
125+packaging a Major Component, but which is not part of that Major
126+Component, and (b) serves only to enable use of the work with that
127+Major Component, or to implement a Standard Interface for which an
128+implementation is available to the public in source code form. A
129+"Major Component", in this context, means a major essential component
130+(kernel, window system, and so on) of the specific operating system
131+(if any) on which the executable work runs, or a compiler used to
132+produce the work, or an object code interpreter used to run it.
133+
134+ The "Corresponding Source" for a work in object code form means all
135+the source code needed to generate, install, and (for an executable
136+work) run the object code and to modify the work, including scripts to
137+control those activities. However, it does not include the work's
138+System Libraries, or general-purpose tools or generally available free
139+programs which are used unmodified in performing those activities but
140+which are not part of the work. For example, Corresponding Source
141+includes interface definition files associated with source files for
142+the work, and the source code for shared libraries and dynamically
143+linked subprograms that the work is specifically designed to require,
144+such as by intimate data communication or control flow between those
145+subprograms and other parts of the work.
146+
147+ The Corresponding Source need not include anything that users
148+can regenerate automatically from other parts of the Corresponding
149+Source.
150+
151+ The Corresponding Source for a work in source code form is that
152+same work.
153+
154+ 2. Basic Permissions.
155+
156+ All rights granted under this License are granted for the term of
157+copyright on the Program, and are irrevocable provided the stated
158+conditions are met. This License explicitly affirms your unlimited
159+permission to run the unmodified Program. The output from running a
160+covered work is covered by this License only if the output, given its
161+content, constitutes a covered work. This License acknowledges your
162+rights of fair use or other equivalent, as provided by copyright law.
163+
164+ You may make, run and propagate covered works that you do not
165+convey, without conditions so long as your license otherwise remains
166+in force. You may convey covered works to others for the sole purpose
167+of having them make modifications exclusively for you, or provide you
168+with facilities for running those works, provided that you comply with
169+the terms of this License in conveying all material for which you do
170+not control copyright. Those thus making or running the covered works
171+for you must do so exclusively on your behalf, under your direction
172+and control, on terms that prohibit them from making any copies of
173+your copyrighted material outside their relationship with you.
174+
175+ Conveying under any other circumstances is permitted solely under
176+the conditions stated below. Sublicensing is not allowed; section 10
177+makes it unnecessary.
178+
179+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180+
181+ No covered work shall be deemed part of an effective technological
182+measure under any applicable law fulfilling obligations under article
183+11 of the WIPO copyright treaty adopted on 20 December 1996, or
184+similar laws prohibiting or restricting circumvention of such
185+measures.
186+
187+ When you convey a covered work, you waive any legal power to forbid
188+circumvention of technological measures to the extent such circumvention
189+is effected by exercising rights under this License with respect to
190+the covered work, and you disclaim any intention to limit operation or
191+modification of the work as a means of enforcing, against the work's
192+users, your or third parties' legal rights to forbid circumvention of
193+technological measures.
194+
195+ 4. Conveying Verbatim Copies.
196+
197+ You may convey verbatim copies of the Program's source code as you
198+receive it, in any medium, provided that you conspicuously and
199+appropriately publish on each copy an appropriate copyright notice;
200+keep intact all notices stating that this License and any
201+non-permissive terms added in accord with section 7 apply to the code;
202+keep intact all notices of the absence of any warranty; and give all
203+recipients a copy of this License along with the Program.
204+
205+ You may charge any price or no price for each copy that you convey,
206+and you may offer support or warranty protection for a fee.
207+
208+ 5. Conveying Modified Source Versions.
209+
210+ You may convey a work based on the Program, or the modifications to
211+produce it from the Program, in the form of source code under the
212+terms of section 4, provided that you also meet all of these conditions:
213+
214+ a) The work must carry prominent notices stating that you modified
215+ it, and giving a relevant date.
216+
217+ b) The work must carry prominent notices stating that it is
218+ released under this License and any conditions added under section
219+ 7. This requirement modifies the requirement in section 4 to
220+ "keep intact all notices".
221+
222+ c) You must license the entire work, as a whole, under this
223+ License to anyone who comes into possession of a copy. This
224+ License will therefore apply, along with any applicable section 7
225+ additional terms, to the whole of the work, and all its parts,
226+ regardless of how they are packaged. This License gives no
227+ permission to license the work in any other way, but it does not
228+ invalidate such permission if you have separately received it.
229+
230+ d) If the work has interactive user interfaces, each must display
231+ Appropriate Legal Notices; however, if the Program has interactive
232+ interfaces that do not display Appropriate Legal Notices, your
233+ work need not make them do so.
234+
235+ A compilation of a covered work with other separate and independent
236+works, which are not by their nature extensions of the covered work,
237+and which are not combined with it such as to form a larger program,
238+in or on a volume of a storage or distribution medium, is called an
239+"aggregate" if the compilation and its resulting copyright are not
240+used to limit the access or legal rights of the compilation's users
241+beyond what the individual works permit. Inclusion of a covered work
242+in an aggregate does not cause this License to apply to the other
243+parts of the aggregate.
244+
245+ 6. Conveying Non-Source Forms.
246+
247+ You may convey a covered work in object code form under the terms
248+of sections 4 and 5, provided that you also convey the
249+machine-readable Corresponding Source under the terms of this License,
250+in one of these ways:
251+
252+ a) Convey the object code in, or embodied in, a physical product
253+ (including a physical distribution medium), accompanied by the
254+ Corresponding Source fixed on a durable physical medium
255+ customarily used for software interchange.
256+
257+ b) Convey the object code in, or embodied in, a physical product
258+ (including a physical distribution medium), accompanied by a
259+ written offer, valid for at least three years and valid for as
260+ long as you offer spare parts or customer support for that product
261+ model, to give anyone who possesses the object code either (1) a
262+ copy of the Corresponding Source for all the software in the
263+ product that is covered by this License, on a durable physical
264+ medium customarily used for software interchange, for a price no
265+ more than your reasonable cost of physically performing this
266+ conveying of source, or (2) access to copy the
267+ Corresponding Source from a network server at no charge.
268+
269+ c) Convey individual copies of the object code with a copy of the
270+ written offer to provide the Corresponding Source. This
271+ alternative is allowed only occasionally and noncommercially, and
272+ only if you received the object code with such an offer, in accord
273+ with subsection 6b.
274+
275+ d) Convey the object code by offering access from a designated
276+ place (gratis or for a charge), and offer equivalent access to the
277+ Corresponding Source in the same way through the same place at no
278+ further charge. You need not require recipients to copy the
279+ Corresponding Source along with the object code. If the place to
280+ copy the object code is a network server, the Corresponding Source
281+ may be on a different server (operated by you or a third party)
282+ that supports equivalent copying facilities, provided you maintain
283+ clear directions next to the object code saying where to find the
284+ Corresponding Source. Regardless of what server hosts the
285+ Corresponding Source, you remain obligated to ensure that it is
286+ available for as long as needed to satisfy these requirements.
287+
288+ e) Convey the object code using peer-to-peer transmission, provided
289+ you inform other peers where the object code and Corresponding
290+ Source of the work are being offered to the general public at no
291+ charge under subsection 6d.
292+
293+ A separable portion of the object code, whose source code is excluded
294+from the Corresponding Source as a System Library, need not be
295+included in conveying the object code work.
296+
297+ A "User Product" is either (1) a "consumer product", which means any
298+tangible personal property which is normally used for personal, family,
299+or household purposes, or (2) anything designed or sold for incorporation
300+into a dwelling. In determining whether a product is a consumer product,
301+doubtful cases shall be resolved in favor of coverage. For a particular
302+product received by a particular user, "normally used" refers to a
303+typical or common use of that class of product, regardless of the status
304+of the particular user or of the way in which the particular user
305+actually uses, or expects or is expected to use, the product. A product
306+is a consumer product regardless of whether the product has substantial
307+commercial, industrial or non-consumer uses, unless such uses represent
308+the only significant mode of use of the product.
309+
310+ "Installation Information" for a User Product means any methods,
311+procedures, authorization keys, or other information required to install
312+and execute modified versions of a covered work in that User Product from
313+a modified version of its Corresponding Source. The information must
314+suffice to ensure that the continued functioning of the modified object
315+code is in no case prevented or interfered with solely because
316+modification has been made.
317+
318+ If you convey an object code work under this section in, or with, or
319+specifically for use in, a User Product, and the conveying occurs as
320+part of a transaction in which the right of possession and use of the
321+User Product is transferred to the recipient in perpetuity or for a
322+fixed term (regardless of how the transaction is characterized), the
323+Corresponding Source conveyed under this section must be accompanied
324+by the Installation Information. But this requirement does not apply
325+if neither you nor any third party retains the ability to install
326+modified object code on the User Product (for example, the work has
327+been installed in ROM).
328+
329+ The requirement to provide Installation Information does not include a
330+requirement to continue to provide support service, warranty, or updates
331+for a work that has been modified or installed by the recipient, or for
332+the User Product in which it has been modified or installed. Access to a
333+network may be denied when the modification itself materially and
334+adversely affects the operation of the network or violates the rules and
335+protocols for communication across the network.
336+
337+ Corresponding Source conveyed, and Installation Information provided,
338+in accord with this section must be in a format that is publicly
339+documented (and with an implementation available to the public in
340+source code form), and must require no special password or key for
341+unpacking, reading or copying.
342+
343+ 7. Additional Terms.
344+
345+ "Additional permissions" are terms that supplement the terms of this
346+License by making exceptions from one or more of its conditions.
347+Additional permissions that are applicable to the entire Program shall
348+be treated as though they were included in this License, to the extent
349+that they are valid under applicable law. If additional permissions
350+apply only to part of the Program, that part may be used separately
351+under those permissions, but the entire Program remains governed by
352+this License without regard to the additional permissions.
353+
354+ When you convey a copy of a covered work, you may at your option
355+remove any additional permissions from that copy, or from any part of
356+it. (Additional permissions may be written to require their own
357+removal in certain cases when you modify the work.) You may place
358+additional permissions on material, added by you to a covered work,
359+for which you have or can give appropriate copyright permission.
360+
361+ Notwithstanding any other provision of this License, for material you
362+add to a covered work, you may (if authorized by the copyright holders of
363+that material) supplement the terms of this License with terms:
364+
365+ a) Disclaiming warranty or limiting liability differently from the
366+ terms of sections 15 and 16 of this License; or
367+
368+ b) Requiring preservation of specified reasonable legal notices or
369+ author attributions in that material or in the Appropriate Legal
370+ Notices displayed by works containing it; or
371+
372+ c) Prohibiting misrepresentation of the origin of that material, or
373+ requiring that modified versions of such material be marked in
374+ reasonable ways as different from the original version; or
375+
376+ d) Limiting the use for publicity purposes of names of licensors or
377+ authors of the material; or
378+
379+ e) Declining to grant rights under trademark law for use of some
380+ trade names, trademarks, or service marks; or
381+
382+ f) Requiring indemnification of licensors and authors of that
383+ material by anyone who conveys the material (or modified versions of
384+ it) with contractual assumptions of liability to the recipient, for
385+ any liability that these contractual assumptions directly impose on
386+ those licensors and authors.
387+
388+ All other non-permissive additional terms are considered "further
389+restrictions" within the meaning of section 10. If the Program as you
390+received it, or any part of it, contains a notice stating that it is
391+governed by this License along with a term that is a further
392+restriction, you may remove that term. If a license document contains
393+a further restriction but permits relicensing or conveying under this
394+License, you may add to a covered work material governed by the terms
395+of that license document, provided that the further restriction does
396+not survive such relicensing or conveying.
397+
398+ If you add terms to a covered work in accord with this section, you
399+must place, in the relevant source files, a statement of the
400+additional terms that apply to those files, or a notice indicating
401+where to find the applicable terms.
402+
403+ Additional terms, permissive or non-permissive, may be stated in the
404+form of a separately written license, or stated as exceptions;
405+the above requirements apply either way.
406+
407+ 8. Termination.
408+
409+ You may not propagate or modify a covered work except as expressly
410+provided under this License. Any attempt otherwise to propagate or
411+modify it is void, and will automatically terminate your rights under
412+this License (including any patent licenses granted under the third
413+paragraph of section 11).
414+
415+ However, if you cease all violation of this License, then your
416+license from a particular copyright holder is reinstated (a)
417+provisionally, unless and until the copyright holder explicitly and
418+finally terminates your license, and (b) permanently, if the copyright
419+holder fails to notify you of the violation by some reasonable means
420+prior to 60 days after the cessation.
421+
422+ Moreover, your license from a particular copyright holder is
423+reinstated permanently if the copyright holder notifies you of the
424+violation by some reasonable means, this is the first time you have
425+received notice of violation of this License (for any work) from that
426+copyright holder, and you cure the violation prior to 30 days after
427+your receipt of the notice.
428+
429+ Termination of your rights under this section does not terminate the
430+licenses of parties who have received copies or rights from you under
431+this License. If your rights have been terminated and not permanently
432+reinstated, you do not qualify to receive new licenses for the same
433+material under section 10.
434+
435+ 9. Acceptance Not Required for Having Copies.
436+
437+ You are not required to accept this License in order to receive or
438+run a copy of the Program. Ancillary propagation of a covered work
439+occurring solely as a consequence of using peer-to-peer transmission
440+to receive a copy likewise does not require acceptance. However,
441+nothing other than this License grants you permission to propagate or
442+modify any covered work. These actions infringe copyright if you do
443+not accept this License. Therefore, by modifying or propagating a
444+covered work, you indicate your acceptance of this License to do so.
445+
446+ 10. Automatic Licensing of Downstream Recipients.
447+
448+ Each time you convey a covered work, the recipient automatically
449+receives a license from the original licensors, to run, modify and
450+propagate that work, subject to this License. You are not responsible
451+for enforcing compliance by third parties with this License.
452+
453+ An "entity transaction" is a transaction transferring control of an
454+organization, or substantially all assets of one, or subdividing an
455+organization, or merging organizations. If propagation of a covered
456+work results from an entity transaction, each party to that
457+transaction who receives a copy of the work also receives whatever
458+licenses to the work the party's predecessor in interest had or could
459+give under the previous paragraph, plus a right to possession of the
460+Corresponding Source of the work from the predecessor in interest, if
461+the predecessor has it or can get it with reasonable efforts.
462+
463+ You may not impose any further restrictions on the exercise of the
464+rights granted or affirmed under this License. For example, you may
465+not impose a license fee, royalty, or other charge for exercise of
466+rights granted under this License, and you may not initiate litigation
467+(including a cross-claim or counterclaim in a lawsuit) alleging that
468+any patent claim is infringed by making, using, selling, offering for
469+sale, or importing the Program or any portion of it.
470+
471+ 11. Patents.
472+
473+ A "contributor" is a copyright holder who authorizes use under this
474+License of the Program or a work on which the Program is based. The
475+work thus licensed is called the contributor's "contributor version".
476+
477+ A contributor's "essential patent claims" are all patent claims
478+owned or controlled by the contributor, whether already acquired or
479+hereafter acquired, that would be infringed by some manner, permitted
480+by this License, of making, using, or selling its contributor version,
481+but do not include claims that would be infringed only as a
482+consequence of further modification of the contributor version. For
483+purposes of this definition, "control" includes the right to grant
484+patent sublicenses in a manner consistent with the requirements of
485+this License.
486+
487+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488+patent license under the contributor's essential patent claims, to
489+make, use, sell, offer for sale, import and otherwise run, modify and
490+propagate the contents of its contributor version.
491+
492+ In the following three paragraphs, a "patent license" is any express
493+agreement or commitment, however denominated, not to enforce a patent
494+(such as an express permission to practice a patent or covenant not to
495+sue for patent infringement). To "grant" such a patent license to a
496+party means to make such an agreement or commitment not to enforce a
497+patent against the party.
498+
499+ If you convey a covered work, knowingly relying on a patent license,
500+and the Corresponding Source of the work is not available for anyone
501+to copy, free of charge and under the terms of this License, through a
502+publicly available network server or other readily accessible means,
503+then you must either (1) cause the Corresponding Source to be so
504+available, or (2) arrange to deprive yourself of the benefit of the
505+patent license for this particular work, or (3) arrange, in a manner
506+consistent with the requirements of this License, to extend the patent
507+license to downstream recipients. "Knowingly relying" means you have
508+actual knowledge that, but for the patent license, your conveying the
509+covered work in a country, or your recipient's use of the covered work
510+in a country, would infringe one or more identifiable patents in that
511+country that you have reason to believe are valid.
512+
513+ If, pursuant to or in connection with a single transaction or
514+arrangement, you convey, or propagate by procuring conveyance of, a
515+covered work, and grant a patent license to some of the parties
516+receiving the covered work authorizing them to use, propagate, modify
517+or convey a specific copy of the covered work, then the patent license
518+you grant is automatically extended to all recipients of the covered
519+work and works based on it.
520+
521+ A patent license is "discriminatory" if it does not include within
522+the scope of its coverage, prohibits the exercise of, or is
523+conditioned on the non-exercise of one or more of the rights that are
524+specifically granted under this License. You may not convey a covered
525+work if you are a party to an arrangement with a third party that is
526+in the business of distributing software, under which you make payment
527+to the third party based on the extent of your activity of conveying
528+the work, and under which the third party grants, to any of the
529+parties who would receive the covered work from you, a discriminatory
530+patent license (a) in connection with copies of the covered work
531+conveyed by you (or copies made from those copies), or (b) primarily
532+for and in connection with specific products or compilations that
533+contain the covered work, unless you entered into that arrangement,
534+or that patent license was granted, prior to 28 March 2007.
535+
536+ Nothing in this License shall be construed as excluding or limiting
537+any implied license or other defenses to infringement that may
538+otherwise be available to you under applicable patent law.
539+
540+ 12. No Surrender of Others' Freedom.
541+
542+ If conditions are imposed on you (whether by court order, agreement or
543+otherwise) that contradict the conditions of this License, they do not
544+excuse you from the conditions of this License. If you cannot convey a
545+covered work so as to satisfy simultaneously your obligations under this
546+License and any other pertinent obligations, then as a consequence you may
547+not convey it at all. For example, if you agree to terms that obligate you
548+to collect a royalty for further conveying from those to whom you convey
549+the Program, the only way you could satisfy both those terms and this
550+License would be to refrain entirely from conveying the Program.
551+
552+ 13. Use with the GNU Affero General Public License.
553+
554+ Notwithstanding any other provision of this License, you have
555+permission to link or combine any covered work with a work licensed
556+under version 3 of the GNU Affero General Public License into a single
557+combined work, and to convey the resulting work. The terms of this
558+License will continue to apply to the part which is the covered work,
559+but the special requirements of the GNU Affero General Public License,
560+section 13, concerning interaction through a network will apply to the
561+combination as such.
562+
563+ 14. Revised Versions of this License.
564+
565+ The Free Software Foundation may publish revised and/or new versions of
566+the GNU General Public License from time to time. Such new versions will
567+be similar in spirit to the present version, but may differ in detail to
568+address new problems or concerns.
569+
570+ Each version is given a distinguishing version number. If the
571+Program specifies that a certain numbered version of the GNU General
572+Public License "or any later version" applies to it, you have the
573+option of following the terms and conditions either of that numbered
574+version or of any later version published by the Free Software
575+Foundation. If the Program does not specify a version number of the
576+GNU General Public License, you may choose any version ever published
577+by the Free Software Foundation.
578+
579+ If the Program specifies that a proxy can decide which future
580+versions of the GNU General Public License can be used, that proxy's
581+public statement of acceptance of a version permanently authorizes you
582+to choose that version for the Program.
583+
584+ Later license versions may give you additional or different
585+permissions. However, no additional obligations are imposed on any
586+author or copyright holder as a result of your choosing to follow a
587+later version.
588+
589+ 15. Disclaimer of Warranty.
590+
591+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599+
600+ 16. Limitation of Liability.
601+
602+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610+SUCH DAMAGES.
611+
612+ 17. Interpretation of Sections 15 and 16.
613+
614+ If the disclaimer of warranty and limitation of liability provided
615+above cannot be given local legal effect according to their terms,
616+reviewing courts shall apply local law that most closely approximates
617+an absolute waiver of all civil liability in connection with the
618+Program, unless a warranty or assumption of liability accompanies a
619+copy of the Program in return for a fee.
620+
621+ END OF TERMS AND CONDITIONS
622+
623+ How to Apply These Terms to Your New Programs
624+
625+ If you develop a new program, and you want it to be of the greatest
626+possible use to the public, the best way to achieve this is to make it
627+free software which everyone can redistribute and change under these terms.
628+
629+ To do so, attach the following notices to the program. It is safest
630+to attach them to the start of each source file to most effectively
631+state the exclusion of warranty; and each file should have at least
632+the "copyright" line and a pointer to where the full notice is found.
633+
634+ <one line to give the program's name and a brief idea of what it does.>
635+ Copyright (C) <year> <name of author>
636+
637+ This program is free software: you can redistribute it and/or modify
638+ it under the terms of the GNU General Public License as published by
639+ the Free Software Foundation, either version 3 of the License, or
640+ (at your option) any later version.
641+
642+ This program is distributed in the hope that it will be useful,
643+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645+ GNU General Public License for more details.
646+
647+ You should have received a copy of the GNU General Public License
648+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649+
650+Also add information on how to contact you by electronic and paper mail.
651+
652+ If the program does terminal interaction, make it output a short
653+notice like this when it starts in an interactive mode:
654+
655+ <program> Copyright (C) <year> <name of author>
656+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657+ This is free software, and you are welcome to redistribute it
658+ under certain conditions; type `show c' for details.
659+
660+The hypothetical commands `show w' and `show c' should show the appropriate
661+parts of the General Public License. Of course, your program's commands
662+might be different; for a GUI interface, you would use an "about box".
663+
664+ You should also get your employer (if you work as a programmer) or school,
665+if any, to sign a "copyright disclaimer" for the program, if necessary.
666+For more information on this, and how to apply and follow the GNU GPL, see
667+<http://www.gnu.org/licenses/>.
668+
669+ The GNU General Public License does not permit incorporating your program
670+into proprietary programs. If your program is a subroutine library, you
671+may consider it more useful to permit linking proprietary applications with
672+the library. If this is what you want to do, use the GNU Lesser General
673+Public License instead of this License. But first, please read
674+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
--- /dev/null
+++ b/base/gtk01/INSTALL
@@ -0,0 +1,370 @@
1+Installation Instructions
2+*************************
3+
4+Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
5+Inc.
6+
7+ Copying and distribution of this file, with or without modification,
8+are permitted in any medium without royalty provided the copyright
9+notice and this notice are preserved. This file is offered as-is,
10+without warranty of any kind.
11+
12+Basic Installation
13+==================
14+
15+ Briefly, the shell commands `./configure; make; make install' should
16+configure, build, and install this package. The following
17+more-detailed instructions are generic; see the `README' file for
18+instructions specific to this package. Some packages provide this
19+`INSTALL' file but do not implement all of the features documented
20+below. The lack of an optional feature in a given package is not
21+necessarily a bug. More recommendations for GNU packages can be found
22+in *note Makefile Conventions: (standards)Makefile Conventions.
23+
24+ The `configure' shell script attempts to guess correct values for
25+various system-dependent variables used during compilation. It uses
26+those values to create a `Makefile' in each directory of the package.
27+It may also create one or more `.h' files containing system-dependent
28+definitions. Finally, it creates a shell script `config.status' that
29+you can run in the future to recreate the current configuration, and a
30+file `config.log' containing compiler output (useful mainly for
31+debugging `configure').
32+
33+ It can also use an optional file (typically called `config.cache'
34+and enabled with `--cache-file=config.cache' or simply `-C') that saves
35+the results of its tests to speed up reconfiguring. Caching is
36+disabled by default to prevent problems with accidental use of stale
37+cache files.
38+
39+ If you need to do unusual things to compile the package, please try
40+to figure out how `configure' could check whether to do them, and mail
41+diffs or instructions to the address given in the `README' so they can
42+be considered for the next release. If you are using the cache, and at
43+some point `config.cache' contains results you don't want to keep, you
44+may remove or edit it.
45+
46+ The file `configure.ac' (or `configure.in') is used to create
47+`configure' by a program called `autoconf'. You need `configure.ac' if
48+you want to change it or regenerate `configure' using a newer version
49+of `autoconf'.
50+
51+ The simplest way to compile this package is:
52+
53+ 1. `cd' to the directory containing the package's source code and type
54+ `./configure' to configure the package for your system.
55+
56+ Running `configure' might take a while. While running, it prints
57+ some messages telling which features it is checking for.
58+
59+ 2. Type `make' to compile the package.
60+
61+ 3. Optionally, type `make check' to run any self-tests that come with
62+ the package, generally using the just-built uninstalled binaries.
63+
64+ 4. Type `make install' to install the programs and any data files and
65+ documentation. When installing into a prefix owned by root, it is
66+ recommended that the package be configured and built as a regular
67+ user, and only the `make install' phase executed with root
68+ privileges.
69+
70+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
71+ this time using the binaries in their final installed location.
72+ This target does not install anything. Running this target as a
73+ regular user, particularly if the prior `make install' required
74+ root privileges, verifies that the installation completed
75+ correctly.
76+
77+ 6. You can remove the program binaries and object files from the
78+ source code directory by typing `make clean'. To also remove the
79+ files that `configure' created (so you can compile the package for
80+ a different kind of computer), type `make distclean'. There is
81+ also a `make maintainer-clean' target, but that is intended mainly
82+ for the package's developers. If you use it, you may have to get
83+ all sorts of other programs in order to regenerate files that came
84+ with the distribution.
85+
86+ 7. Often, you can also type `make uninstall' to remove the installed
87+ files again. In practice, not all packages have tested that
88+ uninstallation works correctly, even though it is required by the
89+ GNU Coding Standards.
90+
91+ 8. Some packages, particularly those that use Automake, provide `make
92+ distcheck', which can by used by developers to test that all other
93+ targets like `make install' and `make uninstall' work correctly.
94+ This target is generally not run by end users.
95+
96+Compilers and Options
97+=====================
98+
99+ Some systems require unusual options for compilation or linking that
100+the `configure' script does not know about. Run `./configure --help'
101+for details on some of the pertinent environment variables.
102+
103+ You can give `configure' initial values for configuration parameters
104+by setting variables in the command line or in the environment. Here
105+is an example:
106+
107+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108+
109+ *Note Defining Variables::, for more details.
110+
111+Compiling For Multiple Architectures
112+====================================
113+
114+ You can compile the package for more than one kind of computer at the
115+same time, by placing the object files for each architecture in their
116+own directory. To do this, you can use GNU `make'. `cd' to the
117+directory where you want the object files and executables to go and run
118+the `configure' script. `configure' automatically checks for the
119+source code in the directory that `configure' is in and in `..'. This
120+is known as a "VPATH" build.
121+
122+ With a non-GNU `make', it is safer to compile the package for one
123+architecture at a time in the source code directory. After you have
124+installed the package for one architecture, use `make distclean' before
125+reconfiguring for another architecture.
126+
127+ On MacOS X 10.5 and later systems, you can create libraries and
128+executables that work on multiple system types--known as "fat" or
129+"universal" binaries--by specifying multiple `-arch' options to the
130+compiler but only a single `-arch' option to the preprocessor. Like
131+this:
132+
133+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135+ CPP="gcc -E" CXXCPP="g++ -E"
136+
137+ This is not guaranteed to produce working output in all cases, you
138+may have to build one architecture at a time and combine the results
139+using the `lipo' tool if you have problems.
140+
141+Installation Names
142+==================
143+
144+ By default, `make install' installs the package's commands under
145+`/usr/local/bin', include files under `/usr/local/include', etc. You
146+can specify an installation prefix other than `/usr/local' by giving
147+`configure' the option `--prefix=PREFIX', where PREFIX must be an
148+absolute file name.
149+
150+ You can specify separate installation prefixes for
151+architecture-specific files and architecture-independent files. If you
152+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153+PREFIX as the prefix for installing programs and libraries.
154+Documentation and other data files still use the regular prefix.
155+
156+ In addition, if you use an unusual directory layout you can give
157+options like `--bindir=DIR' to specify different values for particular
158+kinds of files. Run `configure --help' for a list of the directories
159+you can set and what kinds of files go in them. In general, the
160+default for these options is expressed in terms of `${prefix}', so that
161+specifying just `--prefix' will affect all of the other directory
162+specifications that were not explicitly provided.
163+
164+ The most portable way to affect installation locations is to pass the
165+correct locations to `configure'; however, many packages provide one or
166+both of the following shortcuts of passing variable assignments to the
167+`make install' command line to change installation locations without
168+having to reconfigure or recompile.
169+
170+ The first method involves providing an override variable for each
171+affected directory. For example, `make install
172+prefix=/alternate/directory' will choose an alternate location for all
173+directory configuration variables that were expressed in terms of
174+`${prefix}'. Any directories that were specified during `configure',
175+but not in terms of `${prefix}', must each be overridden at install
176+time for the entire installation to be relocated. The approach of
177+makefile variable overrides for each directory variable is required by
178+the GNU Coding Standards, and ideally causes no recompilation.
179+However, some platforms have known limitations with the semantics of
180+shared libraries that end up requiring recompilation when using this
181+method, particularly noticeable in packages that use GNU Libtool.
182+
183+ The second method involves providing the `DESTDIR' variable. For
184+example, `make install DESTDIR=/alternate/directory' will prepend
185+`/alternate/directory' before all installation names. The approach of
186+`DESTDIR' overrides is not required by the GNU Coding Standards, and
187+does not work on platforms that have drive letters. On the other hand,
188+it does better at avoiding recompilation issues, and works well even
189+when some directory options were not specified in terms of `${prefix}'
190+at `configure' time.
191+
192+Optional Features
193+=================
194+
195+ If the package supports it, you can cause programs to be installed
196+with an extra prefix or suffix on their names by giving `configure' the
197+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198+
199+ Some packages pay attention to `--enable-FEATURE' options to
200+`configure', where FEATURE indicates an optional part of the package.
201+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202+is something like `gnu-as' or `x' (for the X Window System). The
203+`README' should mention any `--enable-' and `--with-' options that the
204+package recognizes.
205+
206+ For packages that use the X Window System, `configure' can usually
207+find the X include and library files automatically, but if it doesn't,
208+you can use the `configure' options `--x-includes=DIR' and
209+`--x-libraries=DIR' to specify their locations.
210+
211+ Some packages offer the ability to configure how verbose the
212+execution of `make' will be. For these packages, running `./configure
213+--enable-silent-rules' sets the default to minimal output, which can be
214+overridden with `make V=1'; while running `./configure
215+--disable-silent-rules' sets the default to verbose, which can be
216+overridden with `make V=0'.
217+
218+Particular systems
219+==================
220+
221+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222+CC is not installed, it is recommended to use the following options in
223+order to use an ANSI C compiler:
224+
225+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226+
227+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228+
229+ HP-UX `make' updates targets which have the same time stamps as
230+their prerequisites, which makes it generally unusable when shipped
231+generated files such as `configure' are involved. Use GNU `make'
232+instead.
233+
234+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
235+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
236+a workaround. If GNU CC is not installed, it is therefore recommended
237+to try
238+
239+ ./configure CC="cc"
240+
241+and if that doesn't work, try
242+
243+ ./configure CC="cc -nodtk"
244+
245+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
246+directory contains several dysfunctional programs; working variants of
247+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
248+in your `PATH', put it _after_ `/usr/bin'.
249+
250+ On Haiku, software installed for all users goes in `/boot/common',
251+not `/usr/local'. It is recommended to use the following options:
252+
253+ ./configure --prefix=/boot/common
254+
255+Specifying the System Type
256+==========================
257+
258+ There may be some features `configure' cannot figure out
259+automatically, but needs to determine by the type of machine the package
260+will run on. Usually, assuming the package is built to be run on the
261+_same_ architectures, `configure' can figure that out, but if it prints
262+a message saying it cannot guess the machine type, give it the
263+`--build=TYPE' option. TYPE can either be a short name for the system
264+type, such as `sun4', or a canonical name which has the form:
265+
266+ CPU-COMPANY-SYSTEM
267+
268+where SYSTEM can have one of these forms:
269+
270+ OS
271+ KERNEL-OS
272+
273+ See the file `config.sub' for the possible values of each field. If
274+`config.sub' isn't included in this package, then this package doesn't
275+need to know the machine type.
276+
277+ If you are _building_ compiler tools for cross-compiling, you should
278+use the option `--target=TYPE' to select the type of system they will
279+produce code for.
280+
281+ If you want to _use_ a cross compiler, that generates code for a
282+platform different from the build platform, you should specify the
283+"host" platform (i.e., that on which the generated programs will
284+eventually be run) with `--host=TYPE'.
285+
286+Sharing Defaults
287+================
288+
289+ If you want to set default values for `configure' scripts to share,
290+you can create a site shell script called `config.site' that gives
291+default values for variables like `CC', `cache_file', and `prefix'.
292+`configure' looks for `PREFIX/share/config.site' if it exists, then
293+`PREFIX/etc/config.site' if it exists. Or, you can set the
294+`CONFIG_SITE' environment variable to the location of the site script.
295+A warning: not all `configure' scripts look for a site script.
296+
297+Defining Variables
298+==================
299+
300+ Variables not defined in a site shell script can be set in the
301+environment passed to `configure'. However, some packages may run
302+configure again during the build, and the customized values of these
303+variables may be lost. In order to avoid this problem, you should set
304+them in the `configure' command line, using `VAR=value'. For example:
305+
306+ ./configure CC=/usr/local2/bin/gcc
307+
308+causes the specified `gcc' to be used as the C compiler (unless it is
309+overridden in the site shell script).
310+
311+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312+an Autoconf limitation. Until the limitation is lifted, you can use
313+this workaround:
314+
315+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
316+
317+`configure' Invocation
318+======================
319+
320+ `configure' recognizes the following options to control how it
321+operates.
322+
323+`--help'
324+`-h'
325+ Print a summary of all of the options to `configure', and exit.
326+
327+`--help=short'
328+`--help=recursive'
329+ Print a summary of the options unique to this package's
330+ `configure', and exit. The `short' variant lists options used
331+ only in the top level, while the `recursive' variant lists options
332+ also present in any nested packages.
333+
334+`--version'
335+`-V'
336+ Print the version of Autoconf used to generate the `configure'
337+ script, and exit.
338+
339+`--cache-file=FILE'
340+ Enable the cache: use and save the results of the tests in FILE,
341+ traditionally `config.cache'. FILE defaults to `/dev/null' to
342+ disable caching.
343+
344+`--config-cache'
345+`-C'
346+ Alias for `--cache-file=config.cache'.
347+
348+`--quiet'
349+`--silent'
350+`-q'
351+ Do not print messages saying which checks are being made. To
352+ suppress all normal output, redirect it to `/dev/null' (any error
353+ messages will still be shown).
354+
355+`--srcdir=DIR'
356+ Look for the package's source code in directory DIR. Usually
357+ `configure' can determine that directory automatically.
358+
359+`--prefix=DIR'
360+ Use DIR as the installation prefix. *note Installation Names::
361+ for more details, including other options available for fine-tuning
362+ the installation locations.
363+
364+`--no-create'
365+`-n'
366+ Run the configure checks, but stop before creating any output
367+ files.
368+
369+`configure' also accepts some other, not widely useful, options. Run
370+`configure --help' for more details.
--- /dev/null
+++ b/base/gtk01/Makefile.am
@@ -0,0 +1,2 @@
1+SUBDIRS = src
2+
--- /dev/null
+++ b/base/gtk01/Makefile.in
@@ -0,0 +1,715 @@
1+# Makefile.in generated by automake 1.12.4 from Makefile.am.
2+# @configure_input@
3+
4+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
5+
6+# This Makefile.in is free software; the Free Software Foundation
7+# gives unlimited permission to copy and/or distribute it,
8+# with or without modifications, as long as this notice is preserved.
9+
10+# This program is distributed in the hope that it will be useful,
11+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13+# PARTICULAR PURPOSE.
14+
15+@SET_MAKE@
16+VPATH = @srcdir@
17+am__make_dryrun = \
18+ { \
19+ am__dry=no; \
20+ case $$MAKEFLAGS in \
21+ *\\[\ \ ]*) \
22+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24+ *) \
25+ for am__flg in $$MAKEFLAGS; do \
26+ case $$am__flg in \
27+ *=*|--*) ;; \
28+ *n*) am__dry=yes; break;; \
29+ esac; \
30+ done;; \
31+ esac; \
32+ test $$am__dry = yes; \
33+ }
34+pkgdatadir = $(datadir)/@PACKAGE@
35+pkgincludedir = $(includedir)/@PACKAGE@
36+pkglibdir = $(libdir)/@PACKAGE@
37+pkglibexecdir = $(libexecdir)/@PACKAGE@
38+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39+install_sh_DATA = $(install_sh) -c -m 644
40+install_sh_PROGRAM = $(install_sh) -c
41+install_sh_SCRIPT = $(install_sh) -c
42+INSTALL_HEADER = $(INSTALL_DATA)
43+transform = $(program_transform_name)
44+NORMAL_INSTALL = :
45+PRE_INSTALL = :
46+POST_INSTALL = :
47+NORMAL_UNINSTALL = :
48+PRE_UNINSTALL = :
49+POST_UNINSTALL = :
50+subdir = .
51+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
52+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
53+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
54+ depcomp install-sh missing
55+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
56+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
57+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58+ $(ACLOCAL_M4)
59+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
60+ configure.lineno config.status.lineno
61+mkinstalldirs = $(install_sh) -d
62+CONFIG_HEADER = config.h
63+CONFIG_CLEAN_FILES =
64+CONFIG_CLEAN_VPATH_FILES =
65+SOURCES =
66+DIST_SOURCES =
67+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
68+ html-recursive info-recursive install-data-recursive \
69+ install-dvi-recursive install-exec-recursive \
70+ install-html-recursive install-info-recursive \
71+ install-pdf-recursive install-ps-recursive install-recursive \
72+ installcheck-recursive installdirs-recursive pdf-recursive \
73+ ps-recursive uninstall-recursive
74+am__can_run_installinfo = \
75+ case $$AM_UPDATE_INFO_DIR in \
76+ n|no|NO) false;; \
77+ *) (install-info --version) >/dev/null 2>&1;; \
78+ esac
79+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
80+ distclean-recursive maintainer-clean-recursive
81+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
82+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
83+ cscope distdir dist dist-all distcheck
84+ETAGS = etags
85+CTAGS = ctags
86+CSCOPE = cscope
87+DIST_SUBDIRS = $(SUBDIRS)
88+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
89+distdir = $(PACKAGE)-$(VERSION)
90+top_distdir = $(distdir)
91+am__remove_distdir = \
92+ if test -d "$(distdir)"; then \
93+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
94+ && rm -rf "$(distdir)" \
95+ || { sleep 5 && rm -rf "$(distdir)"; }; \
96+ else :; fi
97+am__post_remove_distdir = $(am__remove_distdir)
98+am__relativize = \
99+ dir0=`pwd`; \
100+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
101+ sed_rest='s,^[^/]*/*,,'; \
102+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
103+ sed_butlast='s,/*[^/]*$$,,'; \
104+ while test -n "$$dir1"; do \
105+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
106+ if test "$$first" != "."; then \
107+ if test "$$first" = ".."; then \
108+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
109+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
110+ else \
111+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
112+ if test "$$first2" = "$$first"; then \
113+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
114+ else \
115+ dir2="../$$dir2"; \
116+ fi; \
117+ dir0="$$dir0"/"$$first"; \
118+ fi; \
119+ fi; \
120+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
121+ done; \
122+ reldir="$$dir2"
123+DIST_ARCHIVES = $(distdir).tar.gz
124+GZIP_ENV = --best
125+DIST_TARGETS = dist-gzip
126+distuninstallcheck_listfiles = find . -type f -print
127+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
128+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
129+distcleancheck_listfiles = find . -type f -print
130+ACLOCAL = @ACLOCAL@
131+AMTAR = @AMTAR@
132+AUTOCONF = @AUTOCONF@
133+AUTOHEADER = @AUTOHEADER@
134+AUTOMAKE = @AUTOMAKE@
135+AWK = @AWK@
136+CC = @CC@
137+CCDEPMODE = @CCDEPMODE@
138+CFLAGS = @CFLAGS@
139+CPPFLAGS = @CPPFLAGS@
140+CYGPATH_W = @CYGPATH_W@
141+DEFS = @DEFS@
142+DEPDIR = @DEPDIR@
143+ECHO_C = @ECHO_C@
144+ECHO_N = @ECHO_N@
145+ECHO_T = @ECHO_T@
146+EXEEXT = @EXEEXT@
147+GTK_CFLAGS = @GTK_CFLAGS@
148+GTK_LIBS = @GTK_LIBS@
149+INSTALL = @INSTALL@
150+INSTALL_DATA = @INSTALL_DATA@
151+INSTALL_PROGRAM = @INSTALL_PROGRAM@
152+INSTALL_SCRIPT = @INSTALL_SCRIPT@
153+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
154+LDFLAGS = @LDFLAGS@
155+LIBOBJS = @LIBOBJS@
156+LIBS = @LIBS@
157+LTLIBOBJS = @LTLIBOBJS@
158+MAKEINFO = @MAKEINFO@
159+MKDIR_P = @MKDIR_P@
160+OBJEXT = @OBJEXT@
161+PACKAGE = @PACKAGE@
162+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
163+PACKAGE_NAME = @PACKAGE_NAME@
164+PACKAGE_STRING = @PACKAGE_STRING@
165+PACKAGE_TARNAME = @PACKAGE_TARNAME@
166+PACKAGE_URL = @PACKAGE_URL@
167+PACKAGE_VERSION = @PACKAGE_VERSION@
168+PATH_SEPARATOR = @PATH_SEPARATOR@
169+PKG_CONFIG = @PKG_CONFIG@
170+SET_MAKE = @SET_MAKE@
171+SHELL = @SHELL@
172+STRIP = @STRIP@
173+VERSION = @VERSION@
174+abs_builddir = @abs_builddir@
175+abs_srcdir = @abs_srcdir@
176+abs_top_builddir = @abs_top_builddir@
177+abs_top_srcdir = @abs_top_srcdir@
178+ac_ct_CC = @ac_ct_CC@
179+am__include = @am__include@
180+am__leading_dot = @am__leading_dot@
181+am__quote = @am__quote@
182+am__tar = @am__tar@
183+am__untar = @am__untar@
184+bindir = @bindir@
185+build_alias = @build_alias@
186+builddir = @builddir@
187+datadir = @datadir@
188+datarootdir = @datarootdir@
189+docdir = @docdir@
190+dvidir = @dvidir@
191+exec_prefix = @exec_prefix@
192+host_alias = @host_alias@
193+htmldir = @htmldir@
194+includedir = @includedir@
195+infodir = @infodir@
196+install_sh = @install_sh@
197+libdir = @libdir@
198+libexecdir = @libexecdir@
199+localedir = @localedir@
200+localstatedir = @localstatedir@
201+mandir = @mandir@
202+mkdir_p = @mkdir_p@
203+oldincludedir = @oldincludedir@
204+pdfdir = @pdfdir@
205+prefix = @prefix@
206+program_transform_name = @program_transform_name@
207+psdir = @psdir@
208+sbindir = @sbindir@
209+sharedstatedir = @sharedstatedir@
210+srcdir = @srcdir@
211+sysconfdir = @sysconfdir@
212+target_alias = @target_alias@
213+top_build_prefix = @top_build_prefix@
214+top_builddir = @top_builddir@
215+top_srcdir = @top_srcdir@
216+SUBDIRS = src
217+all: config.h
218+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
219+
220+.SUFFIXES:
221+am--refresh: Makefile
222+ @:
223+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
224+ @for dep in $?; do \
225+ case '$(am__configure_deps)' in \
226+ *$$dep*) \
227+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
228+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
229+ && exit 0; \
230+ exit 1;; \
231+ esac; \
232+ done; \
233+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
234+ $(am__cd) $(top_srcdir) && \
235+ $(AUTOMAKE) --gnu Makefile
236+.PRECIOUS: Makefile
237+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
238+ @case '$?' in \
239+ *config.status*) \
240+ echo ' $(SHELL) ./config.status'; \
241+ $(SHELL) ./config.status;; \
242+ *) \
243+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
244+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
245+ esac;
246+
247+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
248+ $(SHELL) ./config.status --recheck
249+
250+$(top_srcdir)/configure: $(am__configure_deps)
251+ $(am__cd) $(srcdir) && $(AUTOCONF)
252+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
253+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
254+$(am__aclocal_m4_deps):
255+
256+config.h: stamp-h1
257+ @if test ! -f $@; then rm -f stamp-h1; else :; fi
258+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
259+
260+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
261+ @rm -f stamp-h1
262+ cd $(top_builddir) && $(SHELL) ./config.status config.h
263+$(srcdir)/config.h.in: $(am__configure_deps)
264+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
265+ rm -f stamp-h1
266+ touch $@
267+
268+distclean-hdr:
269+ -rm -f config.h stamp-h1
270+
271+# This directory's subdirectories are mostly independent; you can cd
272+# into them and run 'make' without going through this Makefile.
273+# To change the values of 'make' variables: instead of editing Makefiles,
274+# (1) if the variable is set in 'config.status', edit 'config.status'
275+# (which will cause the Makefiles to be regenerated when you run 'make');
276+# (2) otherwise, pass the desired values on the 'make' command line.
277+$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
278+ @fail= failcom='exit 1'; \
279+ for f in x $$MAKEFLAGS; do \
280+ case $$f in \
281+ *=* | --[!k]*);; \
282+ *k*) failcom='fail=yes';; \
283+ esac; \
284+ done; \
285+ dot_seen=no; \
286+ target=`echo $@ | sed s/-recursive//`; \
287+ case "$@" in \
288+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
289+ *) list='$(SUBDIRS)' ;; \
290+ esac; \
291+ for subdir in $$list; do \
292+ echo "Making $$target in $$subdir"; \
293+ if test "$$subdir" = "."; then \
294+ dot_seen=yes; \
295+ local_target="$$target-am"; \
296+ else \
297+ local_target="$$target"; \
298+ fi; \
299+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
300+ || eval $$failcom; \
301+ done; \
302+ if test "$$dot_seen" = "no"; then \
303+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
304+ fi; test -z "$$fail"
305+tags-recursive:
306+ list='$(SUBDIRS)'; for subdir in $$list; do \
307+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
308+ done
309+ctags-recursive:
310+ list='$(SUBDIRS)'; for subdir in $$list; do \
311+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
312+ done
313+cscopelist-recursive:
314+ list='$(SUBDIRS)'; for subdir in $$list; do \
315+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
316+ done
317+
318+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
319+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
320+ unique=`for i in $$list; do \
321+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
322+ done | \
323+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
324+ END { if (nonempty) { for (i in files) print i; }; }'`; \
325+ mkid -fID $$unique
326+tags: TAGS
327+
328+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
329+ $(TAGS_FILES) $(LISP)
330+ set x; \
331+ here=`pwd`; \
332+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
333+ include_option=--etags-include; \
334+ empty_fix=.; \
335+ else \
336+ include_option=--include; \
337+ empty_fix=; \
338+ fi; \
339+ list='$(SUBDIRS)'; for subdir in $$list; do \
340+ if test "$$subdir" = .; then :; else \
341+ test ! -f $$subdir/TAGS || \
342+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
343+ fi; \
344+ done; \
345+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
346+ unique=`for i in $$list; do \
347+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
348+ done | \
349+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
350+ END { if (nonempty) { for (i in files) print i; }; }'`; \
351+ shift; \
352+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
353+ test -n "$$unique" || unique=$$empty_fix; \
354+ if test $$# -gt 0; then \
355+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
356+ "$$@" $$unique; \
357+ else \
358+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
359+ $$unique; \
360+ fi; \
361+ fi
362+ctags: CTAGS
363+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
364+ $(TAGS_FILES) $(LISP)
365+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
366+ unique=`for i in $$list; do \
367+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
368+ done | \
369+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
370+ END { if (nonempty) { for (i in files) print i; }; }'`; \
371+ test -z "$(CTAGS_ARGS)$$unique" \
372+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
373+ $$unique
374+
375+GTAGS:
376+ here=`$(am__cd) $(top_builddir) && pwd` \
377+ && $(am__cd) $(top_srcdir) \
378+ && gtags -i $(GTAGS_ARGS) "$$here"
379+
380+cscope: cscope.files
381+ test ! -s cscope.files \
382+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
383+
384+clean-cscope:
385+ -rm -f cscope.files
386+
387+cscope.files: clean-cscope cscopelist-recursive cscopelist
388+
389+cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
390+ list='$(SOURCES) $(HEADERS) $(LISP)'; \
391+ case "$(srcdir)" in \
392+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
393+ *) sdir=$(subdir)/$(srcdir) ;; \
394+ esac; \
395+ for i in $$list; do \
396+ if test -f "$$i"; then \
397+ echo "$(subdir)/$$i"; \
398+ else \
399+ echo "$$sdir/$$i"; \
400+ fi; \
401+ done >> $(top_builddir)/cscope.files
402+
403+distclean-tags:
404+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
405+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
406+
407+distdir: $(DISTFILES)
408+ $(am__remove_distdir)
409+ test -d "$(distdir)" || mkdir "$(distdir)"
410+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
411+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
412+ list='$(DISTFILES)'; \
413+ dist_files=`for file in $$list; do echo $$file; done | \
414+ sed -e "s|^$$srcdirstrip/||;t" \
415+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
416+ case $$dist_files in \
417+ */*) $(MKDIR_P) `echo "$$dist_files" | \
418+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
419+ sort -u` ;; \
420+ esac; \
421+ for file in $$dist_files; do \
422+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
423+ if test -d $$d/$$file; then \
424+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
425+ if test -d "$(distdir)/$$file"; then \
426+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
427+ fi; \
428+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
429+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
430+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
431+ fi; \
432+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
433+ else \
434+ test -f "$(distdir)/$$file" \
435+ || cp -p $$d/$$file "$(distdir)/$$file" \
436+ || exit 1; \
437+ fi; \
438+ done
439+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
440+ if test "$$subdir" = .; then :; else \
441+ $(am__make_dryrun) \
442+ || test -d "$(distdir)/$$subdir" \
443+ || $(MKDIR_P) "$(distdir)/$$subdir" \
444+ || exit 1; \
445+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
446+ $(am__relativize); \
447+ new_distdir=$$reldir; \
448+ dir1=$$subdir; dir2="$(top_distdir)"; \
449+ $(am__relativize); \
450+ new_top_distdir=$$reldir; \
451+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
452+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
453+ ($(am__cd) $$subdir && \
454+ $(MAKE) $(AM_MAKEFLAGS) \
455+ top_distdir="$$new_top_distdir" \
456+ distdir="$$new_distdir" \
457+ am__remove_distdir=: \
458+ am__skip_length_check=: \
459+ am__skip_mode_fix=: \
460+ distdir) \
461+ || exit 1; \
462+ fi; \
463+ done
464+ -test -n "$(am__skip_mode_fix)" \
465+ || find "$(distdir)" -type d ! -perm -755 \
466+ -exec chmod u+rwx,go+rx {} \; -o \
467+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
468+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
469+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
470+ || chmod -R a+r "$(distdir)"
471+dist-gzip: distdir
472+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
473+ $(am__post_remove_distdir)
474+
475+dist-bzip2: distdir
476+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
477+ $(am__post_remove_distdir)
478+
479+dist-lzip: distdir
480+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
481+ $(am__post_remove_distdir)
482+
483+dist-xz: distdir
484+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
485+ $(am__post_remove_distdir)
486+
487+dist-tarZ: distdir
488+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
489+ $(am__post_remove_distdir)
490+
491+dist-shar: distdir
492+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
493+ $(am__post_remove_distdir)
494+
495+dist-zip: distdir
496+ -rm -f $(distdir).zip
497+ zip -rq $(distdir).zip $(distdir)
498+ $(am__post_remove_distdir)
499+
500+dist dist-all:
501+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
502+ $(am__post_remove_distdir)
503+
504+# This target untars the dist file and tries a VPATH configuration. Then
505+# it guarantees that the distribution is self-contained by making another
506+# tarfile.
507+distcheck: dist
508+ case '$(DIST_ARCHIVES)' in \
509+ *.tar.gz*) \
510+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
511+ *.tar.bz2*) \
512+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
513+ *.tar.lz*) \
514+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
515+ *.tar.xz*) \
516+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
517+ *.tar.Z*) \
518+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
519+ *.shar.gz*) \
520+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
521+ *.zip*) \
522+ unzip $(distdir).zip ;;\
523+ esac
524+ chmod -R a-w $(distdir)
525+ chmod u+w $(distdir)
526+ mkdir $(distdir)/_build $(distdir)/_inst
527+ chmod a-w $(distdir)
528+ test -d $(distdir)/_build || exit 0; \
529+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
530+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
531+ && am__cwd=`pwd` \
532+ && $(am__cd) $(distdir)/_build \
533+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
534+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
535+ $(DISTCHECK_CONFIGURE_FLAGS) \
536+ && $(MAKE) $(AM_MAKEFLAGS) \
537+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
538+ && $(MAKE) $(AM_MAKEFLAGS) check \
539+ && $(MAKE) $(AM_MAKEFLAGS) install \
540+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
541+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
542+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
543+ distuninstallcheck \
544+ && chmod -R a-w "$$dc_install_base" \
545+ && ({ \
546+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
547+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
548+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
549+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
550+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
551+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
552+ && rm -rf "$$dc_destdir" \
553+ && $(MAKE) $(AM_MAKEFLAGS) dist \
554+ && rm -rf $(DIST_ARCHIVES) \
555+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
556+ && cd "$$am__cwd" \
557+ || exit 1
558+ $(am__post_remove_distdir)
559+ @(echo "$(distdir) archives ready for distribution: "; \
560+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
561+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
562+distuninstallcheck:
563+ @test -n '$(distuninstallcheck_dir)' || { \
564+ echo 'ERROR: trying to run $@ with an empty' \
565+ '$$(distuninstallcheck_dir)' >&2; \
566+ exit 1; \
567+ }; \
568+ $(am__cd) '$(distuninstallcheck_dir)' || { \
569+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
570+ exit 1; \
571+ }; \
572+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
573+ || { echo "ERROR: files left after uninstall:" ; \
574+ if test -n "$(DESTDIR)"; then \
575+ echo " (check DESTDIR support)"; \
576+ fi ; \
577+ $(distuninstallcheck_listfiles) ; \
578+ exit 1; } >&2
579+distcleancheck: distclean
580+ @if test '$(srcdir)' = . ; then \
581+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
582+ exit 1 ; \
583+ fi
584+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
585+ || { echo "ERROR: files left in build directory after distclean:" ; \
586+ $(distcleancheck_listfiles) ; \
587+ exit 1; } >&2
588+check-am: all-am
589+check: check-recursive
590+all-am: Makefile config.h
591+installdirs: installdirs-recursive
592+installdirs-am:
593+install: install-recursive
594+install-exec: install-exec-recursive
595+install-data: install-data-recursive
596+uninstall: uninstall-recursive
597+
598+install-am: all-am
599+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
600+
601+installcheck: installcheck-recursive
602+install-strip:
603+ if test -z '$(STRIP)'; then \
604+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
605+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
606+ install; \
607+ else \
608+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
609+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
610+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
611+ fi
612+mostlyclean-generic:
613+
614+clean-generic:
615+
616+distclean-generic:
617+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
618+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
619+
620+maintainer-clean-generic:
621+ @echo "This command is intended for maintainers to use"
622+ @echo "it deletes files that may require special tools to rebuild."
623+clean: clean-recursive
624+
625+clean-am: clean-generic mostlyclean-am
626+
627+distclean: distclean-recursive
628+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
629+ -rm -f Makefile
630+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
631+
632+dvi: dvi-recursive
633+
634+dvi-am:
635+
636+html: html-recursive
637+
638+html-am:
639+
640+info: info-recursive
641+
642+info-am:
643+
644+install-data-am:
645+
646+install-dvi: install-dvi-recursive
647+
648+install-dvi-am:
649+
650+install-exec-am:
651+
652+install-html: install-html-recursive
653+
654+install-html-am:
655+
656+install-info: install-info-recursive
657+
658+install-info-am:
659+
660+install-man:
661+
662+install-pdf: install-pdf-recursive
663+
664+install-pdf-am:
665+
666+install-ps: install-ps-recursive
667+
668+install-ps-am:
669+
670+installcheck-am:
671+
672+maintainer-clean: maintainer-clean-recursive
673+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
674+ -rm -rf $(top_srcdir)/autom4te.cache
675+ -rm -f Makefile
676+maintainer-clean-am: distclean-am maintainer-clean-generic
677+
678+mostlyclean: mostlyclean-recursive
679+
680+mostlyclean-am: mostlyclean-generic
681+
682+pdf: pdf-recursive
683+
684+pdf-am:
685+
686+ps: ps-recursive
687+
688+ps-am:
689+
690+uninstall-am:
691+
692+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
693+ cscopelist-recursive ctags-recursive install-am install-strip \
694+ tags-recursive
695+
696+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
697+ all all-am am--refresh check check-am clean clean-cscope \
698+ clean-generic cscope cscopelist cscopelist-recursive ctags \
699+ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzip \
700+ dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
701+ distclean-generic distclean-hdr distclean-tags distcleancheck \
702+ distdir distuninstallcheck dvi dvi-am html html-am info \
703+ info-am install install-am install-data install-data-am \
704+ install-dvi install-dvi-am install-exec install-exec-am \
705+ install-html install-html-am install-info install-info-am \
706+ install-man install-pdf install-pdf-am install-ps \
707+ install-ps-am install-strip installcheck installcheck-am \
708+ installdirs installdirs-am maintainer-clean \
709+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
710+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
711+
712+
713+# Tell versions [3.59,3.63) of GNU make to not export all variables.
714+# Otherwise a system limit (for SysV at least) may be exceeded.
715+.NOEXPORT:
--- /dev/null
+++ b/base/gtk01/aclocal.m4
@@ -0,0 +1,1141 @@
1+# generated automatically by aclocal 1.12.4 -*- Autoconf -*-
2+
3+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
4+
5+# This file is free software; the Free Software Foundation
6+# gives unlimited permission to copy and/or distribute it,
7+# with or without modifications, as long as this notice is preserved.
8+
9+# This program is distributed in the hope that it will be useful,
10+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12+# PARTICULAR PURPOSE.
13+
14+m4_ifndef([AC_AUTOCONF_VERSION],
15+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17+[m4_warning([this file was generated for autoconf 2.69.
18+You have another version of autoconf. It may work, but is not guaranteed to.
19+If you have problems, you may need to regenerate the build system entirely.
20+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21+
22+# Configure paths for GTK+
23+# Owen Taylor 1997-2001
24+
25+dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
26+dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
27+dnl pass to pkg-config
28+dnl
29+AC_DEFUN([AM_PATH_GTK_2_0],
30+[dnl
31+dnl Get the cflags and libraries from pkg-config
32+dnl
33+AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
34+ , enable_gtktest=yes)
35+
36+ pkg_config_args=gtk+-2.0
37+ for module in . $4
38+ do
39+ case "$module" in
40+ gthread)
41+ pkg_config_args="$pkg_config_args gthread-2.0"
42+ ;;
43+ esac
44+ done
45+
46+ no_gtk=""
47+
48+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
49+
50+ if test x$PKG_CONFIG != xno ; then
51+ if pkg-config --atleast-pkgconfig-version 0.7 ; then
52+ :
53+ else
54+ echo "*** pkg-config too old; version 0.7 or better required."
55+ no_gtk=yes
56+ PKG_CONFIG=no
57+ fi
58+ else
59+ no_gtk=yes
60+ fi
61+
62+ min_gtk_version=ifelse([$1], ,2.0.0,$1)
63+ AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
64+
65+ if test x$PKG_CONFIG != xno ; then
66+ ## don't try to run the test against uninstalled libtool libs
67+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
68+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
69+ enable_gtktest=no
70+ fi
71+
72+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
73+ :
74+ else
75+ no_gtk=yes
76+ fi
77+ fi
78+
79+ if test x"$no_gtk" = x ; then
80+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
81+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
82+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
83+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
84+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
85+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
86+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
87+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
88+ if test "x$enable_gtktest" = "xyes" ; then
89+ ac_save_CFLAGS="$CFLAGS"
90+ ac_save_LIBS="$LIBS"
91+ CFLAGS="$CFLAGS $GTK_CFLAGS"
92+ LIBS="$GTK_LIBS $LIBS"
93+dnl
94+dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
95+dnl checks the results of pkg-config to some extent)
96+dnl
97+ rm -f conf.gtktest
98+ AC_TRY_RUN([
99+#include <gtk/gtk.h>
100+#include <stdio.h>
101+#include <stdlib.h>
102+
103+int
104+main ()
105+{
106+ int major, minor, micro;
107+ char *tmp_version;
108+
109+ fclose (fopen ("conf.gtktest", "w"));
110+
111+ /* HP/UX 9 (%@#!) writes to sscanf strings */
112+ tmp_version = g_strdup("$min_gtk_version");
113+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
114+ printf("%s, bad version string\n", "$min_gtk_version");
115+ exit(1);
116+ }
117+
118+ if ((gtk_major_version != $gtk_config_major_version) ||
119+ (gtk_minor_version != $gtk_config_minor_version) ||
120+ (gtk_micro_version != $gtk_config_micro_version))
121+ {
122+ printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
123+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
124+ gtk_major_version, gtk_minor_version, gtk_micro_version);
125+ printf ("*** was found! If pkg-config was correct, then it is best\n");
126+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
127+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
128+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
129+ printf("*** required on your system.\n");
130+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
131+ printf("*** to point to the correct configuration files\n");
132+ }
133+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
134+ (gtk_minor_version != GTK_MINOR_VERSION) ||
135+ (gtk_micro_version != GTK_MICRO_VERSION))
136+ {
137+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
138+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
139+ printf("*** library (version %d.%d.%d)\n",
140+ gtk_major_version, gtk_minor_version, gtk_micro_version);
141+ }
142+ else
143+ {
144+ if ((gtk_major_version > major) ||
145+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
146+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
147+ {
148+ return 0;
149+ }
150+ else
151+ {
152+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
153+ gtk_major_version, gtk_minor_version, gtk_micro_version);
154+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
155+ major, minor, micro);
156+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
157+ printf("***\n");
158+ printf("*** If you have already installed a sufficiently new version, this error\n");
159+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
160+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
161+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
162+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
163+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
164+ printf("*** so that the correct libraries are found at run-time))\n");
165+ }
166+ }
167+ return 1;
168+}
169+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
170+ CFLAGS="$ac_save_CFLAGS"
171+ LIBS="$ac_save_LIBS"
172+ fi
173+ fi
174+ if test "x$no_gtk" = x ; then
175+ AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
176+ ifelse([$2], , :, [$2])
177+ else
178+ AC_MSG_RESULT(no)
179+ if test "$PKG_CONFIG" = "no" ; then
180+ echo "*** A new enough version of pkg-config was not found."
181+ echo "*** See http://pkgconfig.sourceforge.net"
182+ else
183+ if test -f conf.gtktest ; then
184+ :
185+ else
186+ echo "*** Could not run GTK+ test program, checking why..."
187+ ac_save_CFLAGS="$CFLAGS"
188+ ac_save_LIBS="$LIBS"
189+ CFLAGS="$CFLAGS $GTK_CFLAGS"
190+ LIBS="$LIBS $GTK_LIBS"
191+ AC_TRY_LINK([
192+#include <gtk/gtk.h>
193+#include <stdio.h>
194+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
195+ [ echo "*** The test program compiled, but did not run. This usually means"
196+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
197+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
198+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
199+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
200+ echo "*** is required on your system"
201+ echo "***"
202+ echo "*** If you have an old version installed, it is best to remove it, although"
203+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
204+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
205+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
206+ CFLAGS="$ac_save_CFLAGS"
207+ LIBS="$ac_save_LIBS"
208+ fi
209+ fi
210+ GTK_CFLAGS=""
211+ GTK_LIBS=""
212+ ifelse([$3], , :, [$3])
213+ fi
214+ AC_SUBST(GTK_CFLAGS)
215+ AC_SUBST(GTK_LIBS)
216+ rm -f conf.gtktest
217+])
218+
219+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
220+#
221+# This file is free software; the Free Software Foundation
222+# gives unlimited permission to copy and/or distribute it,
223+# with or without modifications, as long as this notice is preserved.
224+
225+# AM_AUTOMAKE_VERSION(VERSION)
226+# ----------------------------
227+# Automake X.Y traces this macro to ensure aclocal.m4 has been
228+# generated from the m4 files accompanying Automake X.Y.
229+# (This private macro should not be called outside this file.)
230+AC_DEFUN([AM_AUTOMAKE_VERSION],
231+[am__api_version='1.12'
232+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
233+dnl require some minimum version. Point them to the right macro.
234+m4_if([$1], [1.12.4], [],
235+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
236+])
237+
238+# _AM_AUTOCONF_VERSION(VERSION)
239+# -----------------------------
240+# aclocal traces this macro to find the Autoconf version.
241+# This is a private macro too. Using m4_define simplifies
242+# the logic in aclocal, which can simply ignore this definition.
243+m4_define([_AM_AUTOCONF_VERSION], [])
244+
245+# AM_SET_CURRENT_AUTOMAKE_VERSION
246+# -------------------------------
247+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
248+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
249+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
250+[AM_AUTOMAKE_VERSION([1.12.4])dnl
251+m4_ifndef([AC_AUTOCONF_VERSION],
252+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
253+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
254+
255+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
256+
257+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
258+#
259+# This file is free software; the Free Software Foundation
260+# gives unlimited permission to copy and/or distribute it,
261+# with or without modifications, as long as this notice is preserved.
262+
263+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
264+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
265+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
266+#
267+# Of course, Automake must honor this variable whenever it calls a
268+# tool from the auxiliary directory. The problem is that $srcdir (and
269+# therefore $ac_aux_dir as well) can be either absolute or relative,
270+# depending on how configure is run. This is pretty annoying, since
271+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
272+# source directory, any form will work fine, but in subdirectories a
273+# relative path needs to be adjusted first.
274+#
275+# $ac_aux_dir/missing
276+# fails when called from a subdirectory if $ac_aux_dir is relative
277+# $top_srcdir/$ac_aux_dir/missing
278+# fails if $ac_aux_dir is absolute,
279+# fails when called from a subdirectory in a VPATH build with
280+# a relative $ac_aux_dir
281+#
282+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
283+# are both prefixed by $srcdir. In an in-source build this is usually
284+# harmless because $srcdir is '.', but things will broke when you
285+# start a VPATH build or use an absolute $srcdir.
286+#
287+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
288+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
289+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
290+# and then we would define $MISSING as
291+# MISSING="\${SHELL} $am_aux_dir/missing"
292+# This will work as long as MISSING is not called from configure, because
293+# unfortunately $(top_srcdir) has no meaning in configure.
294+# However there are other variables, like CC, which are often used in
295+# configure, and could therefore not use this "fixed" $ac_aux_dir.
296+#
297+# Another solution, used here, is to always expand $ac_aux_dir to an
298+# absolute PATH. The drawback is that using absolute paths prevent a
299+# configured tree to be moved without reconfiguration.
300+
301+AC_DEFUN([AM_AUX_DIR_EXPAND],
302+[dnl Rely on autoconf to set up CDPATH properly.
303+AC_PREREQ([2.50])dnl
304+# expand $ac_aux_dir to an absolute path
305+am_aux_dir=`cd $ac_aux_dir && pwd`
306+])
307+
308+# AM_CONDITIONAL -*- Autoconf -*-
309+
310+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
311+#
312+# This file is free software; the Free Software Foundation
313+# gives unlimited permission to copy and/or distribute it,
314+# with or without modifications, as long as this notice is preserved.
315+
316+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
317+# -------------------------------------
318+# Define a conditional.
319+AC_DEFUN([AM_CONDITIONAL],
320+[AC_PREREQ([2.52])dnl
321+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
322+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
323+AC_SUBST([$1_TRUE])dnl
324+AC_SUBST([$1_FALSE])dnl
325+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
326+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
327+m4_define([_AM_COND_VALUE_$1], [$2])dnl
328+if $2; then
329+ $1_TRUE=
330+ $1_FALSE='#'
331+else
332+ $1_TRUE='#'
333+ $1_FALSE=
334+fi
335+AC_CONFIG_COMMANDS_PRE(
336+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
337+ AC_MSG_ERROR([[conditional "$1" was never defined.
338+Usually this means the macro was only invoked conditionally.]])
339+fi])])
340+
341+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
342+#
343+# This file is free software; the Free Software Foundation
344+# gives unlimited permission to copy and/or distribute it,
345+# with or without modifications, as long as this notice is preserved.
346+
347+
348+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
349+# written in clear, in which case automake, when reading aclocal.m4,
350+# will think it sees a *use*, and therefore will trigger all it's
351+# C support machinery. Also note that it means that autoscan, seeing
352+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
353+
354+
355+# _AM_DEPENDENCIES(NAME)
356+# ----------------------
357+# See how the compiler implements dependency checking.
358+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
359+# We try a few techniques and use that to set a single cache variable.
360+#
361+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
362+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
363+# dependency, and given that the user is not expected to run this macro,
364+# just rely on AC_PROG_CC.
365+AC_DEFUN([_AM_DEPENDENCIES],
366+[AC_REQUIRE([AM_SET_DEPDIR])dnl
367+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
368+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
369+AC_REQUIRE([AM_DEP_TRACK])dnl
370+
371+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
372+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
373+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
374+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
375+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
376+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
377+ [depcc="$$1" am_compiler_list=])
378+
379+AC_CACHE_CHECK([dependency style of $depcc],
380+ [am_cv_$1_dependencies_compiler_type],
381+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
382+ # We make a subdir and do the tests there. Otherwise we can end up
383+ # making bogus files that we don't know about and never remove. For
384+ # instance it was reported that on HP-UX the gcc test will end up
385+ # making a dummy file named 'D' -- because '-MD' means "put the output
386+ # in D".
387+ rm -rf conftest.dir
388+ mkdir conftest.dir
389+ # Copy depcomp to subdir because otherwise we won't find it if we're
390+ # using a relative directory.
391+ cp "$am_depcomp" conftest.dir
392+ cd conftest.dir
393+ # We will build objects and dependencies in a subdirectory because
394+ # it helps to detect inapplicable dependency modes. For instance
395+ # both Tru64's cc and ICC support -MD to output dependencies as a
396+ # side effect of compilation, but ICC will put the dependencies in
397+ # the current directory while Tru64 will put them in the object
398+ # directory.
399+ mkdir sub
400+
401+ am_cv_$1_dependencies_compiler_type=none
402+ if test "$am_compiler_list" = ""; then
403+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
404+ fi
405+ am__universal=false
406+ m4_case([$1], [CC],
407+ [case " $depcc " in #(
408+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
409+ esac],
410+ [CXX],
411+ [case " $depcc " in #(
412+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
413+ esac])
414+
415+ for depmode in $am_compiler_list; do
416+ # Setup a source with many dependencies, because some compilers
417+ # like to wrap large dependency lists on column 80 (with \), and
418+ # we should not choose a depcomp mode which is confused by this.
419+ #
420+ # We need to recreate these files for each test, as the compiler may
421+ # overwrite some of them when testing with obscure command lines.
422+ # This happens at least with the AIX C compiler.
423+ : > sub/conftest.c
424+ for i in 1 2 3 4 5 6; do
425+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
426+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
427+ # Solaris 10 /bin/sh.
428+ echo '/* dummy */' > sub/conftst$i.h
429+ done
430+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
431+
432+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
433+ # mode. It turns out that the SunPro C++ compiler does not properly
434+ # handle '-M -o', and we need to detect this. Also, some Intel
435+ # versions had trouble with output in subdirs.
436+ am__obj=sub/conftest.${OBJEXT-o}
437+ am__minus_obj="-o $am__obj"
438+ case $depmode in
439+ gcc)
440+ # This depmode causes a compiler race in universal mode.
441+ test "$am__universal" = false || continue
442+ ;;
443+ nosideeffect)
444+ # After this tag, mechanisms are not by side-effect, so they'll
445+ # only be used when explicitly requested.
446+ if test "x$enable_dependency_tracking" = xyes; then
447+ continue
448+ else
449+ break
450+ fi
451+ ;;
452+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
453+ # This compiler won't grok '-c -o', but also, the minuso test has
454+ # not run yet. These depmodes are late enough in the game, and
455+ # so weak that their functioning should not be impacted.
456+ am__obj=conftest.${OBJEXT-o}
457+ am__minus_obj=
458+ ;;
459+ none) break ;;
460+ esac
461+ if depmode=$depmode \
462+ source=sub/conftest.c object=$am__obj \
463+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
464+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
465+ >/dev/null 2>conftest.err &&
466+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
467+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
468+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
469+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
470+ # icc doesn't choke on unknown options, it will just issue warnings
471+ # or remarks (even with -Werror). So we grep stderr for any message
472+ # that says an option was ignored or not supported.
473+ # When given -MP, icc 7.0 and 7.1 complain thusly:
474+ # icc: Command line warning: ignoring option '-M'; no argument required
475+ # The diagnosis changed in icc 8.0:
476+ # icc: Command line remark: option '-MP' not supported
477+ if (grep 'ignoring option' conftest.err ||
478+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
479+ am_cv_$1_dependencies_compiler_type=$depmode
480+ break
481+ fi
482+ fi
483+ done
484+
485+ cd ..
486+ rm -rf conftest.dir
487+else
488+ am_cv_$1_dependencies_compiler_type=none
489+fi
490+])
491+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
492+AM_CONDITIONAL([am__fastdep$1], [
493+ test "x$enable_dependency_tracking" != xno \
494+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
495+])
496+
497+
498+# AM_SET_DEPDIR
499+# -------------
500+# Choose a directory name for dependency files.
501+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
502+AC_DEFUN([AM_SET_DEPDIR],
503+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
504+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
505+])
506+
507+
508+# AM_DEP_TRACK
509+# ------------
510+AC_DEFUN([AM_DEP_TRACK],
511+[AC_ARG_ENABLE([dependency-tracking], [dnl
512+AS_HELP_STRING(
513+ [--enable-dependency-tracking],
514+ [do not reject slow dependency extractors])
515+AS_HELP_STRING(
516+ [--disable-dependency-tracking],
517+ [speeds up one-time build])])
518+if test "x$enable_dependency_tracking" != xno; then
519+ am_depcomp="$ac_aux_dir/depcomp"
520+ AMDEPBACKSLASH='\'
521+ am__nodep='_no'
522+fi
523+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
524+AC_SUBST([AMDEPBACKSLASH])dnl
525+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
526+AC_SUBST([am__nodep])dnl
527+_AM_SUBST_NOTMAKE([am__nodep])dnl
528+])
529+
530+# Generate code to set up dependency tracking. -*- Autoconf -*-
531+
532+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
533+#
534+# This file is free software; the Free Software Foundation
535+# gives unlimited permission to copy and/or distribute it,
536+# with or without modifications, as long as this notice is preserved.
537+
538+
539+# _AM_OUTPUT_DEPENDENCY_COMMANDS
540+# ------------------------------
541+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
542+[{
543+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
544+ # are listed without --file. Let's play safe and only enable the eval
545+ # if we detect the quoting.
546+ case $CONFIG_FILES in
547+ *\'*) eval set x "$CONFIG_FILES" ;;
548+ *) set x $CONFIG_FILES ;;
549+ esac
550+ shift
551+ for mf
552+ do
553+ # Strip MF so we end up with the name of the file.
554+ mf=`echo "$mf" | sed -e 's/:.*$//'`
555+ # Check whether this is an Automake generated Makefile or not.
556+ # We used to match only the files named 'Makefile.in', but
557+ # some people rename them; so instead we look at the file content.
558+ # Grep'ing the first line is not enough: some people post-process
559+ # each Makefile.in and add a new line on top of each file to say so.
560+ # Grep'ing the whole file is not good either: AIX grep has a line
561+ # limit of 2048, but all sed's we know have understand at least 4000.
562+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
563+ dirpart=`AS_DIRNAME("$mf")`
564+ else
565+ continue
566+ fi
567+ # Extract the definition of DEPDIR, am__include, and am__quote
568+ # from the Makefile without running 'make'.
569+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
570+ test -z "$DEPDIR" && continue
571+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
572+ test -z "am__include" && continue
573+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
574+ # Find all dependency output files, they are included files with
575+ # $(DEPDIR) in their names. We invoke sed twice because it is the
576+ # simplest approach to changing $(DEPDIR) to its actual value in the
577+ # expansion.
578+ for file in `sed -n "
579+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
580+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
581+ # Make sure the directory exists.
582+ test -f "$dirpart/$file" && continue
583+ fdir=`AS_DIRNAME(["$file"])`
584+ AS_MKDIR_P([$dirpart/$fdir])
585+ # echo "creating $dirpart/$file"
586+ echo '# dummy' > "$dirpart/$file"
587+ done
588+ done
589+}
590+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
591+
592+
593+# AM_OUTPUT_DEPENDENCY_COMMANDS
594+# -----------------------------
595+# This macro should only be invoked once -- use via AC_REQUIRE.
596+#
597+# This code is only required when automatic dependency tracking
598+# is enabled. FIXME. This creates each '.P' file that we will
599+# need in order to bootstrap the dependency handling code.
600+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
601+[AC_CONFIG_COMMANDS([depfiles],
602+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
603+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
604+])
605+
606+# Do all the work for Automake. -*- Autoconf -*-
607+
608+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
609+#
610+# This file is free software; the Free Software Foundation
611+# gives unlimited permission to copy and/or distribute it,
612+# with or without modifications, as long as this notice is preserved.
613+
614+# This macro actually does too much. Some checks are only needed if
615+# your package does certain things. But this isn't really a big deal.
616+
617+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
618+# AM_INIT_AUTOMAKE([OPTIONS])
619+# -----------------------------------------------
620+# The call with PACKAGE and VERSION arguments is the old style
621+# call (pre autoconf-2.50), which is being phased out. PACKAGE
622+# and VERSION should now be passed to AC_INIT and removed from
623+# the call to AM_INIT_AUTOMAKE.
624+# We support both call styles for the transition. After
625+# the next Automake release, Autoconf can make the AC_INIT
626+# arguments mandatory, and then we can depend on a new Autoconf
627+# release and drop the old call support.
628+AC_DEFUN([AM_INIT_AUTOMAKE],
629+[AC_PREREQ([2.62])dnl
630+dnl Autoconf wants to disallow AM_ names. We explicitly allow
631+dnl the ones we care about.
632+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
633+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
634+AC_REQUIRE([AC_PROG_INSTALL])dnl
635+if test "`cd $srcdir && pwd`" != "`pwd`"; then
636+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
637+ # is not polluted with repeated "-I."
638+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
639+ # test to see if srcdir already configured
640+ if test -f $srcdir/config.status; then
641+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
642+ fi
643+fi
644+
645+# test whether we have cygpath
646+if test -z "$CYGPATH_W"; then
647+ if (cygpath --version) >/dev/null 2>/dev/null; then
648+ CYGPATH_W='cygpath -w'
649+ else
650+ CYGPATH_W=echo
651+ fi
652+fi
653+AC_SUBST([CYGPATH_W])
654+
655+# Define the identity of the package.
656+dnl Distinguish between old-style and new-style calls.
657+m4_ifval([$2],
658+[AC_DIAGNOSE([obsolete],
659+[$0: two- and three-arguments forms are deprecated. For more info, see:
660+http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
661+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
662+ AC_SUBST([PACKAGE], [$1])dnl
663+ AC_SUBST([VERSION], [$2])],
664+[_AM_SET_OPTIONS([$1])dnl
665+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
666+m4_if(
667+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
668+ [ok:ok],,
669+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
670+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
671+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
672+
673+_AM_IF_OPTION([no-define],,
674+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
675+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
676+
677+# Some tools Automake needs.
678+AC_REQUIRE([AM_SANITY_CHECK])dnl
679+AC_REQUIRE([AC_ARG_PROGRAM])dnl
680+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
681+AM_MISSING_PROG([AUTOCONF], [autoconf])
682+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
683+AM_MISSING_PROG([AUTOHEADER], [autoheader])
684+AM_MISSING_PROG([MAKEINFO], [makeinfo])
685+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
686+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
687+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
688+# For better backward compatibility. To be removed once Automake 1.9.x
689+# dies out for good. For more background, see:
690+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
691+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
692+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
693+# We need awk for the "check" target. The system "awk" is bad on
694+# some platforms.
695+AC_REQUIRE([AC_PROG_AWK])dnl
696+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
697+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
698+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
699+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
700+ [_AM_PROG_TAR([v7])])])
701+_AM_IF_OPTION([no-dependencies],,
702+[AC_PROVIDE_IFELSE([AC_PROG_CC],
703+ [_AM_DEPENDENCIES([CC])],
704+ [m4_define([AC_PROG_CC],
705+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
706+AC_PROVIDE_IFELSE([AC_PROG_CXX],
707+ [_AM_DEPENDENCIES([CXX])],
708+ [m4_define([AC_PROG_CXX],
709+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
710+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
711+ [_AM_DEPENDENCIES([OBJC])],
712+ [m4_define([AC_PROG_OBJC],
713+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
714+dnl Support for Objective C++ was only introduced in Autoconf 2.65,
715+dnl but we still cater to Autoconf 2.62.
716+m4_ifdef([AC_PROG_OBJCXX],
717+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
718+ [_AM_DEPENDENCIES([OBJCXX])],
719+ [m4_define([AC_PROG_OBJCXX],
720+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
721+])
722+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
723+dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
724+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
725+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
726+AC_CONFIG_COMMANDS_PRE(dnl
727+[m4_provide_if([_AM_COMPILER_EXEEXT],
728+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
729+])
730+
731+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
732+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
733+dnl mangled by Autoconf and run in a shell conditional statement.
734+m4_define([_AC_COMPILER_EXEEXT],
735+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
736+
737+
738+# When config.status generates a header, we must update the stamp-h file.
739+# This file resides in the same directory as the config header
740+# that is generated. The stamp files are numbered to have different names.
741+
742+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
743+# loop where config.status creates the headers, so we can generate
744+# our stamp files there.
745+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
746+[# Compute $1's index in $config_headers.
747+_am_arg=$1
748+_am_stamp_count=1
749+for _am_header in $config_headers :; do
750+ case $_am_header in
751+ $_am_arg | $_am_arg:* )
752+ break ;;
753+ * )
754+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
755+ esac
756+done
757+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
758+
759+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
760+#
761+# This file is free software; the Free Software Foundation
762+# gives unlimited permission to copy and/or distribute it,
763+# with or without modifications, as long as this notice is preserved.
764+
765+# AM_PROG_INSTALL_SH
766+# ------------------
767+# Define $install_sh.
768+AC_DEFUN([AM_PROG_INSTALL_SH],
769+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
770+if test x"${install_sh}" != xset; then
771+ case $am_aux_dir in
772+ *\ * | *\ *)
773+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
774+ *)
775+ install_sh="\${SHELL} $am_aux_dir/install-sh"
776+ esac
777+fi
778+AC_SUBST([install_sh])])
779+
780+# Copyright (C) 2003-2012 Free Software Foundation, Inc.
781+#
782+# This file is free software; the Free Software Foundation
783+# gives unlimited permission to copy and/or distribute it,
784+# with or without modifications, as long as this notice is preserved.
785+
786+# Check whether the underlying file-system supports filenames
787+# with a leading dot. For instance MS-DOS doesn't.
788+AC_DEFUN([AM_SET_LEADING_DOT],
789+[rm -rf .tst 2>/dev/null
790+mkdir .tst 2>/dev/null
791+if test -d .tst; then
792+ am__leading_dot=.
793+else
794+ am__leading_dot=_
795+fi
796+rmdir .tst 2>/dev/null
797+AC_SUBST([am__leading_dot])])
798+
799+# Check to see how 'make' treats includes. -*- Autoconf -*-
800+
801+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
802+#
803+# This file is free software; the Free Software Foundation
804+# gives unlimited permission to copy and/or distribute it,
805+# with or without modifications, as long as this notice is preserved.
806+
807+# AM_MAKE_INCLUDE()
808+# -----------------
809+# Check to see how make treats includes.
810+AC_DEFUN([AM_MAKE_INCLUDE],
811+[am_make=${MAKE-make}
812+cat > confinc << 'END'
813+am__doit:
814+ @echo this is the am__doit target
815+.PHONY: am__doit
816+END
817+# If we don't find an include directive, just comment out the code.
818+AC_MSG_CHECKING([for style of include used by $am_make])
819+am__include="#"
820+am__quote=
821+_am_result=none
822+# First try GNU make style include.
823+echo "include confinc" > confmf
824+# Ignore all kinds of additional output from 'make'.
825+case `$am_make -s -f confmf 2> /dev/null` in #(
826+*the\ am__doit\ target*)
827+ am__include=include
828+ am__quote=
829+ _am_result=GNU
830+ ;;
831+esac
832+# Now try BSD make style include.
833+if test "$am__include" = "#"; then
834+ echo '.include "confinc"' > confmf
835+ case `$am_make -s -f confmf 2> /dev/null` in #(
836+ *the\ am__doit\ target*)
837+ am__include=.include
838+ am__quote="\""
839+ _am_result=BSD
840+ ;;
841+ esac
842+fi
843+AC_SUBST([am__include])
844+AC_SUBST([am__quote])
845+AC_MSG_RESULT([$_am_result])
846+rm -f confinc confmf
847+])
848+
849+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
850+
851+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
852+#
853+# This file is free software; the Free Software Foundation
854+# gives unlimited permission to copy and/or distribute it,
855+# with or without modifications, as long as this notice is preserved.
856+
857+# AM_MISSING_PROG(NAME, PROGRAM)
858+# ------------------------------
859+AC_DEFUN([AM_MISSING_PROG],
860+[AC_REQUIRE([AM_MISSING_HAS_RUN])
861+$1=${$1-"${am_missing_run}$2"}
862+AC_SUBST($1)])
863+
864+# AM_MISSING_HAS_RUN
865+# ------------------
866+# Define MISSING if not defined so far and test if it supports --run.
867+# If it does, set am_missing_run to use it, otherwise, to nothing.
868+AC_DEFUN([AM_MISSING_HAS_RUN],
869+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
870+AC_REQUIRE_AUX_FILE([missing])dnl
871+if test x"${MISSING+set}" != xset; then
872+ case $am_aux_dir in
873+ *\ * | *\ *)
874+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
875+ *)
876+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
877+ esac
878+fi
879+# Use eval to expand $SHELL
880+if eval "$MISSING --run true"; then
881+ am_missing_run="$MISSING --run "
882+else
883+ am_missing_run=
884+ AC_MSG_WARN(['missing' script is too old or missing])
885+fi
886+])
887+
888+# Helper functions for option handling. -*- Autoconf -*-
889+
890+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
891+#
892+# This file is free software; the Free Software Foundation
893+# gives unlimited permission to copy and/or distribute it,
894+# with or without modifications, as long as this notice is preserved.
895+
896+# _AM_MANGLE_OPTION(NAME)
897+# -----------------------
898+AC_DEFUN([_AM_MANGLE_OPTION],
899+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
900+
901+# _AM_SET_OPTION(NAME)
902+# --------------------
903+# Set option NAME. Presently that only means defining a flag for this option.
904+AC_DEFUN([_AM_SET_OPTION],
905+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
906+
907+# _AM_SET_OPTIONS(OPTIONS)
908+# ------------------------
909+# OPTIONS is a space-separated list of Automake options.
910+AC_DEFUN([_AM_SET_OPTIONS],
911+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
912+
913+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
914+# -------------------------------------------
915+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
916+AC_DEFUN([_AM_IF_OPTION],
917+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
918+
919+# Check to make sure that the build environment is sane. -*- Autoconf -*-
920+
921+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
922+#
923+# This file is free software; the Free Software Foundation
924+# gives unlimited permission to copy and/or distribute it,
925+# with or without modifications, as long as this notice is preserved.
926+
927+# AM_SANITY_CHECK
928+# ---------------
929+AC_DEFUN([AM_SANITY_CHECK],
930+[AC_MSG_CHECKING([whether build environment is sane])
931+# Reject unsafe characters in $srcdir or the absolute working directory
932+# name. Accept space and tab only in the latter.
933+am_lf='
934+'
935+case `pwd` in
936+ *[[\\\"\#\$\&\'\`$am_lf]]*)
937+ AC_MSG_ERROR([unsafe absolute working directory name]);;
938+esac
939+case $srcdir in
940+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
941+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
942+esac
943+
944+# Do 'set' in a subshell so we don't clobber the current shell's
945+# arguments. Must try -L first in case configure is actually a
946+# symlink; some systems play weird games with the mod time of symlinks
947+# (eg FreeBSD returns the mod time of the symlink's containing
948+# directory).
949+if (
950+ am_has_slept=no
951+ for am_try in 1 2; do
952+ echo "timestamp, slept: $am_has_slept" > conftest.file
953+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
954+ if test "$[*]" = "X"; then
955+ # -L didn't work.
956+ set X `ls -t "$srcdir/configure" conftest.file`
957+ fi
958+ if test "$[*]" != "X $srcdir/configure conftest.file" \
959+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
960+
961+ # If neither matched, then we have a broken ls. This can happen
962+ # if, for instance, CONFIG_SHELL is bash and it inherits a
963+ # broken ls alias from the environment. This has actually
964+ # happened. Such a system could not be considered "sane".
965+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
966+ alias in your environment])
967+ fi
968+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
969+ break
970+ fi
971+ # Just in case.
972+ sleep 1
973+ am_has_slept=yes
974+ done
975+ test "$[2]" = conftest.file
976+ )
977+then
978+ # Ok.
979+ :
980+else
981+ AC_MSG_ERROR([newly created file is older than distributed files!
982+Check your system clock])
983+fi
984+AC_MSG_RESULT([yes])
985+# If we didn't sleep, we still need to ensure time stamps of config.status and
986+# generated files are strictly newer.
987+am_sleep_pid=
988+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
989+ ( sleep 1 ) &
990+ am_sleep_pid=$!
991+fi
992+AC_CONFIG_COMMANDS_PRE(
993+ [AC_MSG_CHECKING([that generated files are newer than configure])
994+ if test -n "$am_sleep_pid"; then
995+ # Hide warnings about reused PIDs.
996+ wait $am_sleep_pid 2>/dev/null
997+ fi
998+ AC_MSG_RESULT([done])])
999+rm -f conftest.file
1000+])
1001+
1002+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1003+#
1004+# This file is free software; the Free Software Foundation
1005+# gives unlimited permission to copy and/or distribute it,
1006+# with or without modifications, as long as this notice is preserved.
1007+
1008+# AM_PROG_INSTALL_STRIP
1009+# ---------------------
1010+# One issue with vendor 'install' (even GNU) is that you can't
1011+# specify the program used to strip binaries. This is especially
1012+# annoying in cross-compiling environments, where the build's strip
1013+# is unlikely to handle the host's binaries.
1014+# Fortunately install-sh will honor a STRIPPROG variable, so we
1015+# always use install-sh in "make install-strip", and initialize
1016+# STRIPPROG with the value of the STRIP variable (set by the user).
1017+AC_DEFUN([AM_PROG_INSTALL_STRIP],
1018+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1019+# Installed binaries are usually stripped using 'strip' when the user
1020+# run "make install-strip". However 'strip' might not be the right
1021+# tool to use in cross-compilation environments, therefore Automake
1022+# will honor the 'STRIP' environment variable to overrule this program.
1023+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1024+if test "$cross_compiling" != no; then
1025+ AC_CHECK_TOOL([STRIP], [strip], :)
1026+fi
1027+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1028+AC_SUBST([INSTALL_STRIP_PROGRAM])])
1029+
1030+# Copyright (C) 2006-2012 Free Software Foundation, Inc.
1031+#
1032+# This file is free software; the Free Software Foundation
1033+# gives unlimited permission to copy and/or distribute it,
1034+# with or without modifications, as long as this notice is preserved.
1035+
1036+# _AM_SUBST_NOTMAKE(VARIABLE)
1037+# ---------------------------
1038+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1039+# This macro is traced by Automake.
1040+AC_DEFUN([_AM_SUBST_NOTMAKE])
1041+
1042+# AM_SUBST_NOTMAKE(VARIABLE)
1043+# --------------------------
1044+# Public sister of _AM_SUBST_NOTMAKE.
1045+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1046+
1047+# Check how to create a tarball. -*- Autoconf -*-
1048+
1049+# Copyright (C) 2004-2012 Free Software Foundation, Inc.
1050+#
1051+# This file is free software; the Free Software Foundation
1052+# gives unlimited permission to copy and/or distribute it,
1053+# with or without modifications, as long as this notice is preserved.
1054+
1055+# _AM_PROG_TAR(FORMAT)
1056+# --------------------
1057+# Check how to create a tarball in format FORMAT.
1058+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1059+#
1060+# Substitute a variable $(am__tar) that is a command
1061+# writing to stdout a FORMAT-tarball containing the directory
1062+# $tardir.
1063+# tardir=directory && $(am__tar) > result.tar
1064+#
1065+# Substitute a variable $(am__untar) that extract such
1066+# a tarball read from stdin.
1067+# $(am__untar) < result.tar
1068+AC_DEFUN([_AM_PROG_TAR],
1069+[# Always define AMTAR for backward compatibility. Yes, it's still used
1070+# in the wild :-( We should find a proper way to deprecate it ...
1071+AC_SUBST([AMTAR], ['$${TAR-tar}'])
1072+m4_if([$1], [v7],
1073+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1074+ [m4_case([$1], [ustar],, [pax],,
1075+ [m4_fatal([Unknown tar format])])
1076+AC_MSG_CHECKING([how to create a $1 tar archive])
1077+# Loop over all known methods to create a tar archive until one works.
1078+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1079+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1080+# Do not fold the above two line into one, because Tru64 sh and
1081+# Solaris sh will not grok spaces in the rhs of '-'.
1082+for _am_tool in $_am_tools
1083+do
1084+ case $_am_tool in
1085+ gnutar)
1086+ for _am_tar in tar gnutar gtar;
1087+ do
1088+ AM_RUN_LOG([$_am_tar --version]) && break
1089+ done
1090+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1091+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1092+ am__untar="$_am_tar -xf -"
1093+ ;;
1094+ plaintar)
1095+ # Must skip GNU tar: if it does not support --format= it doesn't create
1096+ # ustar tarball either.
1097+ (tar --version) >/dev/null 2>&1 && continue
1098+ am__tar='tar chf - "$$tardir"'
1099+ am__tar_='tar chf - "$tardir"'
1100+ am__untar='tar xf -'
1101+ ;;
1102+ pax)
1103+ am__tar='pax -L -x $1 -w "$$tardir"'
1104+ am__tar_='pax -L -x $1 -w "$tardir"'
1105+ am__untar='pax -r'
1106+ ;;
1107+ cpio)
1108+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1109+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1110+ am__untar='cpio -i -H $1 -d'
1111+ ;;
1112+ none)
1113+ am__tar=false
1114+ am__tar_=false
1115+ am__untar=false
1116+ ;;
1117+ esac
1118+
1119+ # If the value was cached, stop now. We just wanted to have am__tar
1120+ # and am__untar set.
1121+ test -n "${am_cv_prog_tar_$1}" && break
1122+
1123+ # tar/untar a dummy directory, and stop if the command works
1124+ rm -rf conftest.dir
1125+ mkdir conftest.dir
1126+ echo GrepMe > conftest.dir/file
1127+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1128+ rm -rf conftest.dir
1129+ if test -s conftest.tar; then
1130+ AM_RUN_LOG([$am__untar <conftest.tar])
1131+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1132+ fi
1133+done
1134+rm -rf conftest.dir
1135+
1136+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1137+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1138+AC_SUBST([am__tar])
1139+AC_SUBST([am__untar])
1140+]) # _AM_PROG_TAR
1141+
--- /dev/null
+++ b/base/gtk01/config.h.in
@@ -0,0 +1,25 @@
1+/* config.h.in. Generated from configure.ac by autoheader. */
2+
3+/* Name of package */
4+#undef PACKAGE
5+
6+/* Define to the address where bug reports for this package should be sent. */
7+#undef PACKAGE_BUGREPORT
8+
9+/* Define to the full name of this package. */
10+#undef PACKAGE_NAME
11+
12+/* Define to the full name and version of this package. */
13+#undef PACKAGE_STRING
14+
15+/* Define to the one symbol short name of this package. */
16+#undef PACKAGE_TARNAME
17+
18+/* Define to the home page for this package. */
19+#undef PACKAGE_URL
20+
21+/* Define to the version of this package. */
22+#undef PACKAGE_VERSION
23+
24+/* Version number of package */
25+#undef VERSION
--- /dev/null
+++ b/base/gtk01/configure
@@ -0,0 +1,5105 @@
1+#! /bin/sh
2+# Guess values for system-dependent variables and create Makefiles.
3+# Generated by GNU Autoconf 2.69 for autotoolstest gtk.01.
4+#
5+# Report bugs to <matsuand AT users DT sourceforge DT jp>.
6+#
7+#
8+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9+#
10+#
11+# This configure script is free software; the Free Software Foundation
12+# gives unlimited permission to copy, distribute and modify it.
13+## -------------------- ##
14+## M4sh Initialization. ##
15+## -------------------- ##
16+
17+# Be more Bourne compatible
18+DUALCASE=1; export DUALCASE # for MKS sh
19+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20+ emulate sh
21+ NULLCMD=:
22+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23+ # is contrary to our usage. Disable this feature.
24+ alias -g '${1+"$@"}'='"$@"'
25+ setopt NO_GLOB_SUBST
26+else
27+ case `(set -o) 2>/dev/null` in #(
28+ *posix*) :
29+ set -o posix ;; #(
30+ *) :
31+ ;;
32+esac
33+fi
34+
35+
36+as_nl='
37+'
38+export as_nl
39+# Printing a long string crashes Solaris 7 /usr/bin/printf.
40+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43+# Prefer a ksh shell builtin over an external printf program on Solaris,
44+# but without wasting forks for bash or zsh.
45+if test -z "$BASH_VERSION$ZSH_VERSION" \
46+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47+ as_echo='print -r --'
48+ as_echo_n='print -rn --'
49+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50+ as_echo='printf %s\n'
51+ as_echo_n='printf %s'
52+else
53+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55+ as_echo_n='/usr/ucb/echo -n'
56+ else
57+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58+ as_echo_n_body='eval
59+ arg=$1;
60+ case $arg in #(
61+ *"$as_nl"*)
62+ expr "X$arg" : "X\\(.*\\)$as_nl";
63+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64+ esac;
65+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66+ '
67+ export as_echo_n_body
68+ as_echo_n='sh -c $as_echo_n_body as_echo'
69+ fi
70+ export as_echo_body
71+ as_echo='sh -c $as_echo_body as_echo'
72+fi
73+
74+# The user is always right.
75+if test "${PATH_SEPARATOR+set}" != set; then
76+ PATH_SEPARATOR=:
77+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79+ PATH_SEPARATOR=';'
80+ }
81+fi
82+
83+
84+# IFS
85+# We need space, tab and new line, in precisely that order. Quoting is
86+# there to prevent editors from complaining about space-tab.
87+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88+# splitting by setting IFS to empty value.)
89+IFS=" "" $as_nl"
90+
91+# Find who we are. Look in the path if we contain no directory separator.
92+as_myself=
93+case $0 in #((
94+ *[\\/]* ) as_myself=$0 ;;
95+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96+for as_dir in $PATH
97+do
98+ IFS=$as_save_IFS
99+ test -z "$as_dir" && as_dir=.
100+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101+ done
102+IFS=$as_save_IFS
103+
104+ ;;
105+esac
106+# We did not find ourselves, most probably we were run as `sh COMMAND'
107+# in which case we are not to be found in the path.
108+if test "x$as_myself" = x; then
109+ as_myself=$0
110+fi
111+if test ! -f "$as_myself"; then
112+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113+ exit 1
114+fi
115+
116+# Unset variables that we do not need and which cause bugs (e.g. in
117+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118+# suppresses any "Segmentation fault" message there. '((' could
119+# trigger a bug in pdksh 5.2.14.
120+for as_var in BASH_ENV ENV MAIL MAILPATH
121+do eval test x\${$as_var+set} = xset \
122+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123+done
124+PS1='$ '
125+PS2='> '
126+PS4='+ '
127+
128+# NLS nuisances.
129+LC_ALL=C
130+export LC_ALL
131+LANGUAGE=C
132+export LANGUAGE
133+
134+# CDPATH.
135+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136+
137+# Use a proper internal environment variable to ensure we don't fall
138+ # into an infinite loop, continuously re-executing ourselves.
139+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140+ _as_can_reexec=no; export _as_can_reexec;
141+ # We cannot yet assume a decent shell, so we have to provide a
142+# neutralization value for shells without unset; and this also
143+# works around shells that cannot unset nonexistent variables.
144+# Preserve -v and -x to the replacement shell.
145+BASH_ENV=/dev/null
146+ENV=/dev/null
147+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148+case $- in # ((((
149+ *v*x* | *x*v* ) as_opts=-vx ;;
150+ *v* ) as_opts=-v ;;
151+ *x* ) as_opts=-x ;;
152+ * ) as_opts= ;;
153+esac
154+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155+# Admittedly, this is quite paranoid, since all the known shells bail
156+# out after a failed `exec'.
157+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158+as_fn_exit 255
159+ fi
160+ # We don't want this to propagate to other subprocesses.
161+ { _as_can_reexec=; unset _as_can_reexec;}
162+if test "x$CONFIG_SHELL" = x; then
163+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164+ emulate sh
165+ NULLCMD=:
166+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167+ # is contrary to our usage. Disable this feature.
168+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
169+ setopt NO_GLOB_SUBST
170+else
171+ case \`(set -o) 2>/dev/null\` in #(
172+ *posix*) :
173+ set -o posix ;; #(
174+ *) :
175+ ;;
176+esac
177+fi
178+"
179+ as_required="as_fn_return () { (exit \$1); }
180+as_fn_success () { as_fn_return 0; }
181+as_fn_failure () { as_fn_return 1; }
182+as_fn_ret_success () { return 0; }
183+as_fn_ret_failure () { return 1; }
184+
185+exitcode=0
186+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191+
192+else
193+ exitcode=1; echo positional parameters were not saved.
194+fi
195+test x\$exitcode = x0 || exit 1
196+test -x / || exit 1"
197+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201+ if (eval "$as_required") 2>/dev/null; then :
202+ as_have_required=yes
203+else
204+ as_have_required=no
205+fi
206+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207+
208+else
209+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210+as_found=false
211+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212+do
213+ IFS=$as_save_IFS
214+ test -z "$as_dir" && as_dir=.
215+ as_found=:
216+ case $as_dir in #(
217+ /*)
218+ for as_base in sh bash ksh sh5; do
219+ # Try only shells that exist, to save several forks.
220+ as_shell=$as_dir/$as_base
221+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223+ CONFIG_SHELL=$as_shell as_have_required=yes
224+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225+ break 2
226+fi
227+fi
228+ done;;
229+ esac
230+ as_found=false
231+done
232+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234+ CONFIG_SHELL=$SHELL as_have_required=yes
235+fi; }
236+IFS=$as_save_IFS
237+
238+
239+ if test "x$CONFIG_SHELL" != x; then :
240+ export CONFIG_SHELL
241+ # We cannot yet assume a decent shell, so we have to provide a
242+# neutralization value for shells without unset; and this also
243+# works around shells that cannot unset nonexistent variables.
244+# Preserve -v and -x to the replacement shell.
245+BASH_ENV=/dev/null
246+ENV=/dev/null
247+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248+case $- in # ((((
249+ *v*x* | *x*v* ) as_opts=-vx ;;
250+ *v* ) as_opts=-v ;;
251+ *x* ) as_opts=-x ;;
252+ * ) as_opts= ;;
253+esac
254+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255+# Admittedly, this is quite paranoid, since all the known shells bail
256+# out after a failed `exec'.
257+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258+exit 255
259+fi
260+
261+ if test x$as_have_required = xno; then :
262+ $as_echo "$0: This script requires a shell more modern than all"
263+ $as_echo "$0: the shells that I found on your system."
264+ if test x${ZSH_VERSION+set} = xset ; then
265+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267+ else
268+ $as_echo "$0: Please tell bug-autoconf@gnu.org and matsuand AT users
269+$0: DT sourceforge DT jp about your system, including any
270+$0: error possibly output before this message. Then install
271+$0: a modern shell, or manually run the script under such a
272+$0: shell if you do have one."
273+ fi
274+ exit 1
275+fi
276+fi
277+fi
278+SHELL=${CONFIG_SHELL-/bin/sh}
279+export SHELL
280+# Unset more variables known to interfere with behavior of common tools.
281+CLICOLOR_FORCE= GREP_OPTIONS=
282+unset CLICOLOR_FORCE GREP_OPTIONS
283+
284+## --------------------- ##
285+## M4sh Shell Functions. ##
286+## --------------------- ##
287+# as_fn_unset VAR
288+# ---------------
289+# Portably unset VAR.
290+as_fn_unset ()
291+{
292+ { eval $1=; unset $1;}
293+}
294+as_unset=as_fn_unset
295+
296+# as_fn_set_status STATUS
297+# -----------------------
298+# Set $? to STATUS, without forking.
299+as_fn_set_status ()
300+{
301+ return $1
302+} # as_fn_set_status
303+
304+# as_fn_exit STATUS
305+# -----------------
306+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307+as_fn_exit ()
308+{
309+ set +e
310+ as_fn_set_status $1
311+ exit $1
312+} # as_fn_exit
313+
314+# as_fn_mkdir_p
315+# -------------
316+# Create "$as_dir" as a directory, including parents if necessary.
317+as_fn_mkdir_p ()
318+{
319+
320+ case $as_dir in #(
321+ -*) as_dir=./$as_dir;;
322+ esac
323+ test -d "$as_dir" || eval $as_mkdir_p || {
324+ as_dirs=
325+ while :; do
326+ case $as_dir in #(
327+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328+ *) as_qdir=$as_dir;;
329+ esac
330+ as_dirs="'$as_qdir' $as_dirs"
331+ as_dir=`$as_dirname -- "$as_dir" ||
332+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333+ X"$as_dir" : 'X\(//\)[^/]' \| \
334+ X"$as_dir" : 'X\(//\)$' \| \
335+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336+$as_echo X"$as_dir" |
337+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338+ s//\1/
339+ q
340+ }
341+ /^X\(\/\/\)[^/].*/{
342+ s//\1/
343+ q
344+ }
345+ /^X\(\/\/\)$/{
346+ s//\1/
347+ q
348+ }
349+ /^X\(\/\).*/{
350+ s//\1/
351+ q
352+ }
353+ s/.*/./; q'`
354+ test -d "$as_dir" && break
355+ done
356+ test -z "$as_dirs" || eval "mkdir $as_dirs"
357+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358+
359+
360+} # as_fn_mkdir_p
361+
362+# as_fn_executable_p FILE
363+# -----------------------
364+# Test if FILE is an executable regular file.
365+as_fn_executable_p ()
366+{
367+ test -f "$1" && test -x "$1"
368+} # as_fn_executable_p
369+# as_fn_append VAR VALUE
370+# ----------------------
371+# Append the text in VALUE to the end of the definition contained in VAR. Take
372+# advantage of any shell optimizations that allow amortized linear growth over
373+# repeated appends, instead of the typical quadratic growth present in naive
374+# implementations.
375+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376+ eval 'as_fn_append ()
377+ {
378+ eval $1+=\$2
379+ }'
380+else
381+ as_fn_append ()
382+ {
383+ eval $1=\$$1\$2
384+ }
385+fi # as_fn_append
386+
387+# as_fn_arith ARG...
388+# ------------------
389+# Perform arithmetic evaluation on the ARGs, and store the result in the
390+# global $as_val. Take advantage of shells that can avoid forks. The arguments
391+# must be portable across $(()) and expr.
392+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393+ eval 'as_fn_arith ()
394+ {
395+ as_val=$(( $* ))
396+ }'
397+else
398+ as_fn_arith ()
399+ {
400+ as_val=`expr "$@" || test $? -eq 1`
401+ }
402+fi # as_fn_arith
403+
404+
405+# as_fn_error STATUS ERROR [LINENO LOG_FD]
406+# ----------------------------------------
407+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409+# script with STATUS, using 1 if that was 0.
410+as_fn_error ()
411+{
412+ as_status=$1; test $as_status -eq 0 && as_status=1
413+ if test "$4"; then
414+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416+ fi
417+ $as_echo "$as_me: error: $2" >&2
418+ as_fn_exit $as_status
419+} # as_fn_error
420+
421+if expr a : '\(a\)' >/dev/null 2>&1 &&
422+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
423+ as_expr=expr
424+else
425+ as_expr=false
426+fi
427+
428+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429+ as_basename=basename
430+else
431+ as_basename=false
432+fi
433+
434+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435+ as_dirname=dirname
436+else
437+ as_dirname=false
438+fi
439+
440+as_me=`$as_basename -- "$0" ||
441+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442+ X"$0" : 'X\(//\)$' \| \
443+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444+$as_echo X/"$0" |
445+ sed '/^.*\/\([^/][^/]*\)\/*$/{
446+ s//\1/
447+ q
448+ }
449+ /^X\/\(\/\/\)$/{
450+ s//\1/
451+ q
452+ }
453+ /^X\/\(\/\).*/{
454+ s//\1/
455+ q
456+ }
457+ s/.*/./; q'`
458+
459+# Avoid depending upon Character Ranges.
460+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463+as_cr_digits='0123456789'
464+as_cr_alnum=$as_cr_Letters$as_cr_digits
465+
466+
467+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
468+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
469+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472+ sed -n '
473+ p
474+ /[$]LINENO/=
475+ ' <$as_myself |
476+ sed '
477+ s/[$]LINENO.*/&-/
478+ t lineno
479+ b
480+ :lineno
481+ N
482+ :loop
483+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484+ t loop
485+ s/-\n.*//
486+ ' >$as_me.lineno &&
487+ chmod +x "$as_me.lineno" ||
488+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489+
490+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491+ # already done that, so ensure we don't try to do so again and fall
492+ # in an infinite loop. This has already happened in practice.
493+ _as_can_reexec=no; export _as_can_reexec
494+ # Don't try to exec as it changes $[0], causing all sort of problems
495+ # (the dirname of $[0] is not the place where we might find the
496+ # original and so on. Autoconf is especially sensitive to this).
497+ . "./$as_me.lineno"
498+ # Exit status is that of the last command.
499+ exit
500+}
501+
502+ECHO_C= ECHO_N= ECHO_T=
503+case `echo -n x` in #(((((
504+-n*)
505+ case `echo 'xy\c'` in
506+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507+ xy) ECHO_C='\c';;
508+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509+ ECHO_T=' ';;
510+ esac;;
511+*)
512+ ECHO_N='-n';;
513+esac
514+
515+rm -f conf$$ conf$$.exe conf$$.file
516+if test -d conf$$.dir; then
517+ rm -f conf$$.dir/conf$$.file
518+else
519+ rm -f conf$$.dir
520+ mkdir conf$$.dir 2>/dev/null
521+fi
522+if (echo >conf$$.file) 2>/dev/null; then
523+ if ln -s conf$$.file conf$$ 2>/dev/null; then
524+ as_ln_s='ln -s'
525+ # ... but there are two gotchas:
526+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528+ # In both cases, we have to default to `cp -pR'.
529+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530+ as_ln_s='cp -pR'
531+ elif ln conf$$.file conf$$ 2>/dev/null; then
532+ as_ln_s=ln
533+ else
534+ as_ln_s='cp -pR'
535+ fi
536+else
537+ as_ln_s='cp -pR'
538+fi
539+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540+rmdir conf$$.dir 2>/dev/null
541+
542+if mkdir -p . 2>/dev/null; then
543+ as_mkdir_p='mkdir -p "$as_dir"'
544+else
545+ test -d ./-p && rmdir ./-p
546+ as_mkdir_p=false
547+fi
548+
549+as_test_x='test -x'
550+as_executable_p=as_fn_executable_p
551+
552+# Sed expression to map a string onto a valid CPP name.
553+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554+
555+# Sed expression to map a string onto a valid variable name.
556+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557+
558+
559+test -n "$DJDIR" || exec 7<&0 </dev/null
560+exec 6>&1
561+
562+# Name of the host.
563+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564+# so uname gets run too.
565+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566+
567+#
568+# Initializations.
569+#
570+ac_default_prefix=/usr/local
571+ac_clean_files=
572+ac_config_libobj_dir=.
573+LIBOBJS=
574+cross_compiling=no
575+subdirs=
576+MFLAGS=
577+MAKEFLAGS=
578+
579+# Identity of this package.
580+PACKAGE_NAME='autotoolstest'
581+PACKAGE_TARNAME='autotoolstest'
582+PACKAGE_VERSION='gtk.01'
583+PACKAGE_STRING='autotoolstest gtk.01'
584+PACKAGE_BUGREPORT='matsuand AT users DT sourceforge DT jp'
585+PACKAGE_URL=''
586+
587+ac_unique_file="src/hello.c"
588+ac_subst_vars='am__EXEEXT_FALSE
589+am__EXEEXT_TRUE
590+LTLIBOBJS
591+LIBOBJS
592+GTK_LIBS
593+GTK_CFLAGS
594+PKG_CONFIG
595+am__fastdepCC_FALSE
596+am__fastdepCC_TRUE
597+CCDEPMODE
598+am__nodep
599+AMDEPBACKSLASH
600+AMDEP_FALSE
601+AMDEP_TRUE
602+am__quote
603+am__include
604+DEPDIR
605+OBJEXT
606+EXEEXT
607+ac_ct_CC
608+CPPFLAGS
609+LDFLAGS
610+CFLAGS
611+CC
612+am__untar
613+am__tar
614+AMTAR
615+am__leading_dot
616+SET_MAKE
617+AWK
618+mkdir_p
619+MKDIR_P
620+INSTALL_STRIP_PROGRAM
621+STRIP
622+install_sh
623+MAKEINFO
624+AUTOHEADER
625+AUTOMAKE
626+AUTOCONF
627+ACLOCAL
628+VERSION
629+PACKAGE
630+CYGPATH_W
631+am__isrc
632+INSTALL_DATA
633+INSTALL_SCRIPT
634+INSTALL_PROGRAM
635+target_alias
636+host_alias
637+build_alias
638+LIBS
639+ECHO_T
640+ECHO_N
641+ECHO_C
642+DEFS
643+mandir
644+localedir
645+libdir
646+psdir
647+pdfdir
648+dvidir
649+htmldir
650+infodir
651+docdir
652+oldincludedir
653+includedir
654+localstatedir
655+sharedstatedir
656+sysconfdir
657+datadir
658+datarootdir
659+libexecdir
660+sbindir
661+bindir
662+program_transform_name
663+prefix
664+exec_prefix
665+PACKAGE_URL
666+PACKAGE_BUGREPORT
667+PACKAGE_STRING
668+PACKAGE_VERSION
669+PACKAGE_TARNAME
670+PACKAGE_NAME
671+PATH_SEPARATOR
672+SHELL'
673+ac_subst_files=''
674+ac_user_opts='
675+enable_option_checking
676+enable_dependency_tracking
677+enable_gtktest
678+'
679+ ac_precious_vars='build_alias
680+host_alias
681+target_alias
682+CC
683+CFLAGS
684+LDFLAGS
685+LIBS
686+CPPFLAGS'
687+
688+
689+# Initialize some variables set by options.
690+ac_init_help=
691+ac_init_version=false
692+ac_unrecognized_opts=
693+ac_unrecognized_sep=
694+# The variables have the same names as the options, with
695+# dashes changed to underlines.
696+cache_file=/dev/null
697+exec_prefix=NONE
698+no_create=
699+no_recursion=
700+prefix=NONE
701+program_prefix=NONE
702+program_suffix=NONE
703+program_transform_name=s,x,x,
704+silent=
705+site=
706+srcdir=
707+verbose=
708+x_includes=NONE
709+x_libraries=NONE
710+
711+# Installation directory options.
712+# These are left unexpanded so users can "make install exec_prefix=/foo"
713+# and all the variables that are supposed to be based on exec_prefix
714+# by default will actually change.
715+# Use braces instead of parens because sh, perl, etc. also accept them.
716+# (The list follows the same order as the GNU Coding Standards.)
717+bindir='${exec_prefix}/bin'
718+sbindir='${exec_prefix}/sbin'
719+libexecdir='${exec_prefix}/libexec'
720+datarootdir='${prefix}/share'
721+datadir='${datarootdir}'
722+sysconfdir='${prefix}/etc'
723+sharedstatedir='${prefix}/com'
724+localstatedir='${prefix}/var'
725+includedir='${prefix}/include'
726+oldincludedir='/usr/include'
727+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
728+infodir='${datarootdir}/info'
729+htmldir='${docdir}'
730+dvidir='${docdir}'
731+pdfdir='${docdir}'
732+psdir='${docdir}'
733+libdir='${exec_prefix}/lib'
734+localedir='${datarootdir}/locale'
735+mandir='${datarootdir}/man'
736+
737+ac_prev=
738+ac_dashdash=
739+for ac_option
740+do
741+ # If the previous option needs an argument, assign it.
742+ if test -n "$ac_prev"; then
743+ eval $ac_prev=\$ac_option
744+ ac_prev=
745+ continue
746+ fi
747+
748+ case $ac_option in
749+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750+ *=) ac_optarg= ;;
751+ *) ac_optarg=yes ;;
752+ esac
753+
754+ # Accept the important Cygnus configure options, so we can diagnose typos.
755+
756+ case $ac_dashdash$ac_option in
757+ --)
758+ ac_dashdash=yes ;;
759+
760+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
761+ ac_prev=bindir ;;
762+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
763+ bindir=$ac_optarg ;;
764+
765+ -build | --build | --buil | --bui | --bu)
766+ ac_prev=build_alias ;;
767+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
768+ build_alias=$ac_optarg ;;
769+
770+ -cache-file | --cache-file | --cache-fil | --cache-fi \
771+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
772+ ac_prev=cache_file ;;
773+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
774+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
775+ cache_file=$ac_optarg ;;
776+
777+ --config-cache | -C)
778+ cache_file=config.cache ;;
779+
780+ -datadir | --datadir | --datadi | --datad)
781+ ac_prev=datadir ;;
782+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
783+ datadir=$ac_optarg ;;
784+
785+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
786+ | --dataroo | --dataro | --datar)
787+ ac_prev=datarootdir ;;
788+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790+ datarootdir=$ac_optarg ;;
791+
792+ -disable-* | --disable-*)
793+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794+ # Reject names that are not valid shell variable names.
795+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796+ as_fn_error $? "invalid feature name: $ac_useropt"
797+ ac_useropt_orig=$ac_useropt
798+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799+ case $ac_user_opts in
800+ *"
801+"enable_$ac_useropt"
802+"*) ;;
803+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804+ ac_unrecognized_sep=', ';;
805+ esac
806+ eval enable_$ac_useropt=no ;;
807+
808+ -docdir | --docdir | --docdi | --doc | --do)
809+ ac_prev=docdir ;;
810+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811+ docdir=$ac_optarg ;;
812+
813+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814+ ac_prev=dvidir ;;
815+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816+ dvidir=$ac_optarg ;;
817+
818+ -enable-* | --enable-*)
819+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820+ # Reject names that are not valid shell variable names.
821+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822+ as_fn_error $? "invalid feature name: $ac_useropt"
823+ ac_useropt_orig=$ac_useropt
824+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
825+ case $ac_user_opts in
826+ *"
827+"enable_$ac_useropt"
828+"*) ;;
829+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
830+ ac_unrecognized_sep=', ';;
831+ esac
832+ eval enable_$ac_useropt=\$ac_optarg ;;
833+
834+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
835+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
836+ | --exec | --exe | --ex)
837+ ac_prev=exec_prefix ;;
838+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
839+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
840+ | --exec=* | --exe=* | --ex=*)
841+ exec_prefix=$ac_optarg ;;
842+
843+ -gas | --gas | --ga | --g)
844+ # Obsolete; use --with-gas.
845+ with_gas=yes ;;
846+
847+ -help | --help | --hel | --he | -h)
848+ ac_init_help=long ;;
849+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
850+ ac_init_help=recursive ;;
851+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
852+ ac_init_help=short ;;
853+
854+ -host | --host | --hos | --ho)
855+ ac_prev=host_alias ;;
856+ -host=* | --host=* | --hos=* | --ho=*)
857+ host_alias=$ac_optarg ;;
858+
859+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
860+ ac_prev=htmldir ;;
861+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
862+ | --ht=*)
863+ htmldir=$ac_optarg ;;
864+
865+ -includedir | --includedir | --includedi | --included | --include \
866+ | --includ | --inclu | --incl | --inc)
867+ ac_prev=includedir ;;
868+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
869+ | --includ=* | --inclu=* | --incl=* | --inc=*)
870+ includedir=$ac_optarg ;;
871+
872+ -infodir | --infodir | --infodi | --infod | --info | --inf)
873+ ac_prev=infodir ;;
874+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
875+ infodir=$ac_optarg ;;
876+
877+ -libdir | --libdir | --libdi | --libd)
878+ ac_prev=libdir ;;
879+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
880+ libdir=$ac_optarg ;;
881+
882+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
883+ | --libexe | --libex | --libe)
884+ ac_prev=libexecdir ;;
885+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
886+ | --libexe=* | --libex=* | --libe=*)
887+ libexecdir=$ac_optarg ;;
888+
889+ -localedir | --localedir | --localedi | --localed | --locale)
890+ ac_prev=localedir ;;
891+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
892+ localedir=$ac_optarg ;;
893+
894+ -localstatedir | --localstatedir | --localstatedi | --localstated \
895+ | --localstate | --localstat | --localsta | --localst | --locals)
896+ ac_prev=localstatedir ;;
897+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
898+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
899+ localstatedir=$ac_optarg ;;
900+
901+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
902+ ac_prev=mandir ;;
903+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904+ mandir=$ac_optarg ;;
905+
906+ -nfp | --nfp | --nf)
907+ # Obsolete; use --without-fp.
908+ with_fp=no ;;
909+
910+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911+ | --no-cr | --no-c | -n)
912+ no_create=yes ;;
913+
914+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
915+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
916+ no_recursion=yes ;;
917+
918+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
919+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
920+ | --oldin | --oldi | --old | --ol | --o)
921+ ac_prev=oldincludedir ;;
922+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
923+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
924+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
925+ oldincludedir=$ac_optarg ;;
926+
927+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
928+ ac_prev=prefix ;;
929+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
930+ prefix=$ac_optarg ;;
931+
932+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
933+ | --program-pre | --program-pr | --program-p)
934+ ac_prev=program_prefix ;;
935+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
936+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
937+ program_prefix=$ac_optarg ;;
938+
939+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
940+ | --program-suf | --program-su | --program-s)
941+ ac_prev=program_suffix ;;
942+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
943+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
944+ program_suffix=$ac_optarg ;;
945+
946+ -program-transform-name | --program-transform-name \
947+ | --program-transform-nam | --program-transform-na \
948+ | --program-transform-n | --program-transform- \
949+ | --program-transform | --program-transfor \
950+ | --program-transfo | --program-transf \
951+ | --program-trans | --program-tran \
952+ | --progr-tra | --program-tr | --program-t)
953+ ac_prev=program_transform_name ;;
954+ -program-transform-name=* | --program-transform-name=* \
955+ | --program-transform-nam=* | --program-transform-na=* \
956+ | --program-transform-n=* | --program-transform-=* \
957+ | --program-transform=* | --program-transfor=* \
958+ | --program-transfo=* | --program-transf=* \
959+ | --program-trans=* | --program-tran=* \
960+ | --progr-tra=* | --program-tr=* | --program-t=*)
961+ program_transform_name=$ac_optarg ;;
962+
963+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
964+ ac_prev=pdfdir ;;
965+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
966+ pdfdir=$ac_optarg ;;
967+
968+ -psdir | --psdir | --psdi | --psd | --ps)
969+ ac_prev=psdir ;;
970+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
971+ psdir=$ac_optarg ;;
972+
973+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974+ | -silent | --silent | --silen | --sile | --sil)
975+ silent=yes ;;
976+
977+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
978+ ac_prev=sbindir ;;
979+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
980+ | --sbi=* | --sb=*)
981+ sbindir=$ac_optarg ;;
982+
983+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
984+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985+ | --sharedst | --shareds | --shared | --share | --shar \
986+ | --sha | --sh)
987+ ac_prev=sharedstatedir ;;
988+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
991+ | --sha=* | --sh=*)
992+ sharedstatedir=$ac_optarg ;;
993+
994+ -site | --site | --sit)
995+ ac_prev=site ;;
996+ -site=* | --site=* | --sit=*)
997+ site=$ac_optarg ;;
998+
999+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1000+ ac_prev=srcdir ;;
1001+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002+ srcdir=$ac_optarg ;;
1003+
1004+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005+ | --syscon | --sysco | --sysc | --sys | --sy)
1006+ ac_prev=sysconfdir ;;
1007+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009+ sysconfdir=$ac_optarg ;;
1010+
1011+ -target | --target | --targe | --targ | --tar | --ta | --t)
1012+ ac_prev=target_alias ;;
1013+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014+ target_alias=$ac_optarg ;;
1015+
1016+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1017+ verbose=yes ;;
1018+
1019+ -version | --version | --versio | --versi | --vers | -V)
1020+ ac_init_version=: ;;
1021+
1022+ -with-* | --with-*)
1023+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024+ # Reject names that are not valid shell variable names.
1025+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026+ as_fn_error $? "invalid package name: $ac_useropt"
1027+ ac_useropt_orig=$ac_useropt
1028+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029+ case $ac_user_opts in
1030+ *"
1031+"with_$ac_useropt"
1032+"*) ;;
1033+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1034+ ac_unrecognized_sep=', ';;
1035+ esac
1036+ eval with_$ac_useropt=\$ac_optarg ;;
1037+
1038+ -without-* | --without-*)
1039+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040+ # Reject names that are not valid shell variable names.
1041+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042+ as_fn_error $? "invalid package name: $ac_useropt"
1043+ ac_useropt_orig=$ac_useropt
1044+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045+ case $ac_user_opts in
1046+ *"
1047+"with_$ac_useropt"
1048+"*) ;;
1049+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050+ ac_unrecognized_sep=', ';;
1051+ esac
1052+ eval with_$ac_useropt=no ;;
1053+
1054+ --x)
1055+ # Obsolete; use --with-x.
1056+ with_x=yes ;;
1057+
1058+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059+ | --x-incl | --x-inc | --x-in | --x-i)
1060+ ac_prev=x_includes ;;
1061+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063+ x_includes=$ac_optarg ;;
1064+
1065+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067+ ac_prev=x_libraries ;;
1068+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070+ x_libraries=$ac_optarg ;;
1071+
1072+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1073+Try \`$0 --help' for more information"
1074+ ;;
1075+
1076+ *=*)
1077+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078+ # Reject names that are not valid shell variable names.
1079+ case $ac_envvar in #(
1080+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1081+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1082+ esac
1083+ eval $ac_envvar=\$ac_optarg
1084+ export $ac_envvar ;;
1085+
1086+ *)
1087+ # FIXME: should be removed in autoconf 3.0.
1088+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1092+ ;;
1093+
1094+ esac
1095+done
1096+
1097+if test -n "$ac_prev"; then
1098+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099+ as_fn_error $? "missing argument to $ac_option"
1100+fi
1101+
1102+if test -n "$ac_unrecognized_opts"; then
1103+ case $enable_option_checking in
1104+ no) ;;
1105+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1106+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107+ esac
1108+fi
1109+
1110+# Check all directory arguments for consistency.
1111+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112+ datadir sysconfdir sharedstatedir localstatedir includedir \
1113+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114+ libdir localedir mandir
1115+do
1116+ eval ac_val=\$$ac_var
1117+ # Remove trailing slashes.
1118+ case $ac_val in
1119+ */ )
1120+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121+ eval $ac_var=\$ac_val;;
1122+ esac
1123+ # Be sure to have absolute directory names.
1124+ case $ac_val in
1125+ [\\/$]* | ?:[\\/]* ) continue;;
1126+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1127+ esac
1128+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1129+done
1130+
1131+# There might be people who depend on the old broken behavior: `$host'
1132+# used to hold the argument of --host etc.
1133+# FIXME: To remove some day.
1134+build=$build_alias
1135+host=$host_alias
1136+target=$target_alias
1137+
1138+# FIXME: To remove some day.
1139+if test "x$host_alias" != x; then
1140+ if test "x$build_alias" = x; then
1141+ cross_compiling=maybe
1142+ elif test "x$build_alias" != "x$host_alias"; then
1143+ cross_compiling=yes
1144+ fi
1145+fi
1146+
1147+ac_tool_prefix=
1148+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1149+
1150+test "$silent" = yes && exec 6>/dev/null
1151+
1152+
1153+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154+ac_ls_di=`ls -di .` &&
1155+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156+ as_fn_error $? "working directory cannot be determined"
1157+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158+ as_fn_error $? "pwd does not report name of working directory"
1159+
1160+
1161+# Find the source files, if location was not specified.
1162+if test -z "$srcdir"; then
1163+ ac_srcdir_defaulted=yes
1164+ # Try the directory containing this script, then the parent directory.
1165+ ac_confdir=`$as_dirname -- "$as_myself" ||
1166+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167+ X"$as_myself" : 'X\(//\)[^/]' \| \
1168+ X"$as_myself" : 'X\(//\)$' \| \
1169+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170+$as_echo X"$as_myself" |
1171+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172+ s//\1/
1173+ q
1174+ }
1175+ /^X\(\/\/\)[^/].*/{
1176+ s//\1/
1177+ q
1178+ }
1179+ /^X\(\/\/\)$/{
1180+ s//\1/
1181+ q
1182+ }
1183+ /^X\(\/\).*/{
1184+ s//\1/
1185+ q
1186+ }
1187+ s/.*/./; q'`
1188+ srcdir=$ac_confdir
1189+ if test ! -r "$srcdir/$ac_unique_file"; then
1190+ srcdir=..
1191+ fi
1192+else
1193+ ac_srcdir_defaulted=no
1194+fi
1195+if test ! -r "$srcdir/$ac_unique_file"; then
1196+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1198+fi
1199+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200+ac_abs_confdir=`(
1201+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1202+ pwd)`
1203+# When building in place, set srcdir=.
1204+if test "$ac_abs_confdir" = "$ac_pwd"; then
1205+ srcdir=.
1206+fi
1207+# Remove unnecessary trailing slashes from srcdir.
1208+# Double slashes in file names in object file debugging info
1209+# mess up M-x gdb in Emacs.
1210+case $srcdir in
1211+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212+esac
1213+for ac_var in $ac_precious_vars; do
1214+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215+ eval ac_env_${ac_var}_value=\$${ac_var}
1216+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1218+done
1219+
1220+#
1221+# Report the --help message.
1222+#
1223+if test "$ac_init_help" = "long"; then
1224+ # Omit some internal or obsolete options to make the list less imposing.
1225+ # This message is too long to be a string in the A/UX 3.1 sh.
1226+ cat <<_ACEOF
1227+\`configure' configures autotoolstest gtk.01 to adapt to many kinds of systems.
1228+
1229+Usage: $0 [OPTION]... [VAR=VALUE]...
1230+
1231+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232+VAR=VALUE. See below for descriptions of some of the useful variables.
1233+
1234+Defaults for the options are specified in brackets.
1235+
1236+Configuration:
1237+ -h, --help display this help and exit
1238+ --help=short display options specific to this package
1239+ --help=recursive display the short help of all the included packages
1240+ -V, --version display version information and exit
1241+ -q, --quiet, --silent do not print \`checking ...' messages
1242+ --cache-file=FILE cache test results in FILE [disabled]
1243+ -C, --config-cache alias for \`--cache-file=config.cache'
1244+ -n, --no-create do not create output files
1245+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246+
1247+Installation directories:
1248+ --prefix=PREFIX install architecture-independent files in PREFIX
1249+ [$ac_default_prefix]
1250+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251+ [PREFIX]
1252+
1253+By default, \`make install' will install all the files in
1254+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256+for instance \`--prefix=\$HOME'.
1257+
1258+For better control, use the options below.
1259+
1260+Fine tuning of the installation directories:
1261+ --bindir=DIR user executables [EPREFIX/bin]
1262+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1263+ --libexecdir=DIR program executables [EPREFIX/libexec]
1264+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267+ --libdir=DIR object code libraries [EPREFIX/lib]
1268+ --includedir=DIR C header files [PREFIX/include]
1269+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272+ --infodir=DIR info documentation [DATAROOTDIR/info]
1273+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274+ --mandir=DIR man documentation [DATAROOTDIR/man]
1275+ --docdir=DIR documentation root [DATAROOTDIR/doc/autotoolstest]
1276+ --htmldir=DIR html documentation [DOCDIR]
1277+ --dvidir=DIR dvi documentation [DOCDIR]
1278+ --pdfdir=DIR pdf documentation [DOCDIR]
1279+ --psdir=DIR ps documentation [DOCDIR]
1280+_ACEOF
1281+
1282+ cat <<\_ACEOF
1283+
1284+Program names:
1285+ --program-prefix=PREFIX prepend PREFIX to installed program names
1286+ --program-suffix=SUFFIX append SUFFIX to installed program names
1287+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1288+_ACEOF
1289+fi
1290+
1291+if test -n "$ac_init_help"; then
1292+ case $ac_init_help in
1293+ short | recursive ) echo "Configuration of autotoolstest gtk.01:";;
1294+ esac
1295+ cat <<\_ACEOF
1296+
1297+Optional Features:
1298+ --disable-option-checking ignore unrecognized --enable/--with options
1299+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301+ --enable-dependency-tracking
1302+ do not reject slow dependency extractors
1303+ --disable-dependency-tracking
1304+ speeds up one-time build
1305+ --disable-gtktest do not try to compile and run a test GTK+ program
1306+
1307+Some influential environment variables:
1308+ CC C compiler command
1309+ CFLAGS C compiler flags
1310+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1311+ nonstandard directory <lib dir>
1312+ LIBS libraries to pass to the linker, e.g. -l<library>
1313+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1314+ you have headers in a nonstandard directory <include dir>
1315+
1316+Use these variables to override the choices made by `configure' or to help
1317+it to find libraries and programs with nonstandard names/locations.
1318+
1319+Report bugs to <matsuand AT users DT sourceforge DT jp>.
1320+_ACEOF
1321+ac_status=$?
1322+fi
1323+
1324+if test "$ac_init_help" = "recursive"; then
1325+ # If there are subdirs, report their specific --help.
1326+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327+ test -d "$ac_dir" ||
1328+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329+ continue
1330+ ac_builddir=.
1331+
1332+case "$ac_dir" in
1333+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334+*)
1335+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336+ # A ".." for each directory in $ac_dir_suffix.
1337+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338+ case $ac_top_builddir_sub in
1339+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341+ esac ;;
1342+esac
1343+ac_abs_top_builddir=$ac_pwd
1344+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345+# for backward compatibility:
1346+ac_top_builddir=$ac_top_build_prefix
1347+
1348+case $srcdir in
1349+ .) # We are building in place.
1350+ ac_srcdir=.
1351+ ac_top_srcdir=$ac_top_builddir_sub
1352+ ac_abs_top_srcdir=$ac_pwd ;;
1353+ [\\/]* | ?:[\\/]* ) # Absolute name.
1354+ ac_srcdir=$srcdir$ac_dir_suffix;
1355+ ac_top_srcdir=$srcdir
1356+ ac_abs_top_srcdir=$srcdir ;;
1357+ *) # Relative name.
1358+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1360+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361+esac
1362+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363+
1364+ cd "$ac_dir" || { ac_status=$?; continue; }
1365+ # Check for guested configure.
1366+ if test -f "$ac_srcdir/configure.gnu"; then
1367+ echo &&
1368+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369+ elif test -f "$ac_srcdir/configure"; then
1370+ echo &&
1371+ $SHELL "$ac_srcdir/configure" --help=recursive
1372+ else
1373+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374+ fi || ac_status=$?
1375+ cd "$ac_pwd" || { ac_status=$?; break; }
1376+ done
1377+fi
1378+
1379+test -n "$ac_init_help" && exit $ac_status
1380+if $ac_init_version; then
1381+ cat <<\_ACEOF
1382+autotoolstest configure gtk.01
1383+generated by GNU Autoconf 2.69
1384+
1385+Copyright (C) 2012 Free Software Foundation, Inc.
1386+This configure script is free software; the Free Software Foundation
1387+gives unlimited permission to copy, distribute and modify it.
1388+_ACEOF
1389+ exit
1390+fi
1391+
1392+## ------------------------ ##
1393+## Autoconf initialization. ##
1394+## ------------------------ ##
1395+
1396+# ac_fn_c_try_compile LINENO
1397+# --------------------------
1398+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1399+ac_fn_c_try_compile ()
1400+{
1401+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402+ rm -f conftest.$ac_objext
1403+ if { { ac_try="$ac_compile"
1404+case "(($ac_try" in
1405+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406+ *) ac_try_echo=$ac_try;;
1407+esac
1408+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409+$as_echo "$ac_try_echo"; } >&5
1410+ (eval "$ac_compile") 2>conftest.err
1411+ ac_status=$?
1412+ if test -s conftest.err; then
1413+ grep -v '^ *+' conftest.err >conftest.er1
1414+ cat conftest.er1 >&5
1415+ mv -f conftest.er1 conftest.err
1416+ fi
1417+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418+ test $ac_status = 0; } && {
1419+ test -z "$ac_c_werror_flag" ||
1420+ test ! -s conftest.err
1421+ } && test -s conftest.$ac_objext; then :
1422+ ac_retval=0
1423+else
1424+ $as_echo "$as_me: failed program was:" >&5
1425+sed 's/^/| /' conftest.$ac_ext >&5
1426+
1427+ ac_retval=1
1428+fi
1429+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430+ as_fn_set_status $ac_retval
1431+
1432+} # ac_fn_c_try_compile
1433+
1434+# ac_fn_c_try_run LINENO
1435+# ----------------------
1436+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1437+# that executables *can* be run.
1438+ac_fn_c_try_run ()
1439+{
1440+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1441+ if { { ac_try="$ac_link"
1442+case "(($ac_try" in
1443+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1444+ *) ac_try_echo=$ac_try;;
1445+esac
1446+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447+$as_echo "$ac_try_echo"; } >&5
1448+ (eval "$ac_link") 2>&5
1449+ ac_status=$?
1450+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1452+ { { case "(($ac_try" in
1453+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454+ *) ac_try_echo=$ac_try;;
1455+esac
1456+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457+$as_echo "$ac_try_echo"; } >&5
1458+ (eval "$ac_try") 2>&5
1459+ ac_status=$?
1460+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461+ test $ac_status = 0; }; }; then :
1462+ ac_retval=0
1463+else
1464+ $as_echo "$as_me: program exited with status $ac_status" >&5
1465+ $as_echo "$as_me: failed program was:" >&5
1466+sed 's/^/| /' conftest.$ac_ext >&5
1467+
1468+ ac_retval=$ac_status
1469+fi
1470+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1471+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1472+ as_fn_set_status $ac_retval
1473+
1474+} # ac_fn_c_try_run
1475+
1476+# ac_fn_c_try_link LINENO
1477+# -----------------------
1478+# Try to link conftest.$ac_ext, and return whether this succeeded.
1479+ac_fn_c_try_link ()
1480+{
1481+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482+ rm -f conftest.$ac_objext conftest$ac_exeext
1483+ if { { ac_try="$ac_link"
1484+case "(($ac_try" in
1485+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486+ *) ac_try_echo=$ac_try;;
1487+esac
1488+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489+$as_echo "$ac_try_echo"; } >&5
1490+ (eval "$ac_link") 2>conftest.err
1491+ ac_status=$?
1492+ if test -s conftest.err; then
1493+ grep -v '^ *+' conftest.err >conftest.er1
1494+ cat conftest.er1 >&5
1495+ mv -f conftest.er1 conftest.err
1496+ fi
1497+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498+ test $ac_status = 0; } && {
1499+ test -z "$ac_c_werror_flag" ||
1500+ test ! -s conftest.err
1501+ } && test -s conftest$ac_exeext && {
1502+ test "$cross_compiling" = yes ||
1503+ test -x conftest$ac_exeext
1504+ }; then :
1505+ ac_retval=0
1506+else
1507+ $as_echo "$as_me: failed program was:" >&5
1508+sed 's/^/| /' conftest.$ac_ext >&5
1509+
1510+ ac_retval=1
1511+fi
1512+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1513+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1514+ # interfere with the next link command; also delete a directory that is
1515+ # left behind by Apple's compiler. We do this before executing the actions.
1516+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1517+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1518+ as_fn_set_status $ac_retval
1519+
1520+} # ac_fn_c_try_link
1521+cat >config.log <<_ACEOF
1522+This file contains any messages produced by compilers while
1523+running configure, to aid debugging if configure makes a mistake.
1524+
1525+It was created by autotoolstest $as_me gtk.01, which was
1526+generated by GNU Autoconf 2.69. Invocation command line was
1527+
1528+ $ $0 $@
1529+
1530+_ACEOF
1531+exec 5>>config.log
1532+{
1533+cat <<_ASUNAME
1534+## --------- ##
1535+## Platform. ##
1536+## --------- ##
1537+
1538+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1539+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1540+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1541+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1542+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1543+
1544+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1545+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1546+
1547+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1548+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1549+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1550+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1551+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1552+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1553+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1554+
1555+_ASUNAME
1556+
1557+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558+for as_dir in $PATH
1559+do
1560+ IFS=$as_save_IFS
1561+ test -z "$as_dir" && as_dir=.
1562+ $as_echo "PATH: $as_dir"
1563+ done
1564+IFS=$as_save_IFS
1565+
1566+} >&5
1567+
1568+cat >&5 <<_ACEOF
1569+
1570+
1571+## ----------- ##
1572+## Core tests. ##
1573+## ----------- ##
1574+
1575+_ACEOF
1576+
1577+
1578+# Keep a trace of the command line.
1579+# Strip out --no-create and --no-recursion so they do not pile up.
1580+# Strip out --silent because we don't want to record it for future runs.
1581+# Also quote any args containing shell meta-characters.
1582+# Make two passes to allow for proper duplicate-argument suppression.
1583+ac_configure_args=
1584+ac_configure_args0=
1585+ac_configure_args1=
1586+ac_must_keep_next=false
1587+for ac_pass in 1 2
1588+do
1589+ for ac_arg
1590+ do
1591+ case $ac_arg in
1592+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1593+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1594+ | -silent | --silent | --silen | --sile | --sil)
1595+ continue ;;
1596+ *\'*)
1597+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1598+ esac
1599+ case $ac_pass in
1600+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1601+ 2)
1602+ as_fn_append ac_configure_args1 " '$ac_arg'"
1603+ if test $ac_must_keep_next = true; then
1604+ ac_must_keep_next=false # Got value, back to normal.
1605+ else
1606+ case $ac_arg in
1607+ *=* | --config-cache | -C | -disable-* | --disable-* \
1608+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1609+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1610+ | -with-* | --with-* | -without-* | --without-* | --x)
1611+ case "$ac_configure_args0 " in
1612+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1613+ esac
1614+ ;;
1615+ -* ) ac_must_keep_next=true ;;
1616+ esac
1617+ fi
1618+ as_fn_append ac_configure_args " '$ac_arg'"
1619+ ;;
1620+ esac
1621+ done
1622+done
1623+{ ac_configure_args0=; unset ac_configure_args0;}
1624+{ ac_configure_args1=; unset ac_configure_args1;}
1625+
1626+# When interrupted or exit'd, cleanup temporary files, and complete
1627+# config.log. We remove comments because anyway the quotes in there
1628+# would cause problems or look ugly.
1629+# WARNING: Use '\'' to represent an apostrophe within the trap.
1630+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1631+trap 'exit_status=$?
1632+ # Save into config.log some information that might help in debugging.
1633+ {
1634+ echo
1635+
1636+ $as_echo "## ---------------- ##
1637+## Cache variables. ##
1638+## ---------------- ##"
1639+ echo
1640+ # The following way of writing the cache mishandles newlines in values,
1641+(
1642+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1643+ eval ac_val=\$$ac_var
1644+ case $ac_val in #(
1645+ *${as_nl}*)
1646+ case $ac_var in #(
1647+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1648+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1649+ esac
1650+ case $ac_var in #(
1651+ _ | IFS | as_nl) ;; #(
1652+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1653+ *) { eval $ac_var=; unset $ac_var;} ;;
1654+ esac ;;
1655+ esac
1656+ done
1657+ (set) 2>&1 |
1658+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1659+ *${as_nl}ac_space=\ *)
1660+ sed -n \
1661+ "s/'\''/'\''\\\\'\'''\''/g;
1662+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1663+ ;; #(
1664+ *)
1665+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1666+ ;;
1667+ esac |
1668+ sort
1669+)
1670+ echo
1671+
1672+ $as_echo "## ----------------- ##
1673+## Output variables. ##
1674+## ----------------- ##"
1675+ echo
1676+ for ac_var in $ac_subst_vars
1677+ do
1678+ eval ac_val=\$$ac_var
1679+ case $ac_val in
1680+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681+ esac
1682+ $as_echo "$ac_var='\''$ac_val'\''"
1683+ done | sort
1684+ echo
1685+
1686+ if test -n "$ac_subst_files"; then
1687+ $as_echo "## ------------------- ##
1688+## File substitutions. ##
1689+## ------------------- ##"
1690+ echo
1691+ for ac_var in $ac_subst_files
1692+ do
1693+ eval ac_val=\$$ac_var
1694+ case $ac_val in
1695+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1696+ esac
1697+ $as_echo "$ac_var='\''$ac_val'\''"
1698+ done | sort
1699+ echo
1700+ fi
1701+
1702+ if test -s confdefs.h; then
1703+ $as_echo "## ----------- ##
1704+## confdefs.h. ##
1705+## ----------- ##"
1706+ echo
1707+ cat confdefs.h
1708+ echo
1709+ fi
1710+ test "$ac_signal" != 0 &&
1711+ $as_echo "$as_me: caught signal $ac_signal"
1712+ $as_echo "$as_me: exit $exit_status"
1713+ } >&5
1714+ rm -f core *.core core.conftest.* &&
1715+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1716+ exit $exit_status
1717+' 0
1718+for ac_signal in 1 2 13 15; do
1719+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1720+done
1721+ac_signal=0
1722+
1723+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1724+rm -f -r conftest* confdefs.h
1725+
1726+$as_echo "/* confdefs.h */" > confdefs.h
1727+
1728+# Predefined preprocessor variables.
1729+
1730+cat >>confdefs.h <<_ACEOF
1731+#define PACKAGE_NAME "$PACKAGE_NAME"
1732+_ACEOF
1733+
1734+cat >>confdefs.h <<_ACEOF
1735+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1736+_ACEOF
1737+
1738+cat >>confdefs.h <<_ACEOF
1739+#define PACKAGE_VERSION "$PACKAGE_VERSION"
1740+_ACEOF
1741+
1742+cat >>confdefs.h <<_ACEOF
1743+#define PACKAGE_STRING "$PACKAGE_STRING"
1744+_ACEOF
1745+
1746+cat >>confdefs.h <<_ACEOF
1747+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748+_ACEOF
1749+
1750+cat >>confdefs.h <<_ACEOF
1751+#define PACKAGE_URL "$PACKAGE_URL"
1752+_ACEOF
1753+
1754+
1755+# Let the site file select an alternate cache file if it wants to.
1756+# Prefer an explicitly selected file to automatically selected ones.
1757+ac_site_file1=NONE
1758+ac_site_file2=NONE
1759+if test -n "$CONFIG_SITE"; then
1760+ # We do not want a PATH search for config.site.
1761+ case $CONFIG_SITE in #((
1762+ -*) ac_site_file1=./$CONFIG_SITE;;
1763+ */*) ac_site_file1=$CONFIG_SITE;;
1764+ *) ac_site_file1=./$CONFIG_SITE;;
1765+ esac
1766+elif test "x$prefix" != xNONE; then
1767+ ac_site_file1=$prefix/share/config.site
1768+ ac_site_file2=$prefix/etc/config.site
1769+else
1770+ ac_site_file1=$ac_default_prefix/share/config.site
1771+ ac_site_file2=$ac_default_prefix/etc/config.site
1772+fi
1773+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1774+do
1775+ test "x$ac_site_file" = xNONE && continue
1776+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1777+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1778+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1779+ sed 's/^/| /' "$ac_site_file" >&5
1780+ . "$ac_site_file" \
1781+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1782+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1783+as_fn_error $? "failed to load site script $ac_site_file
1784+See \`config.log' for more details" "$LINENO" 5; }
1785+ fi
1786+done
1787+
1788+if test -r "$cache_file"; then
1789+ # Some versions of bash will fail to source /dev/null (special files
1790+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1791+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1792+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1793+$as_echo "$as_me: loading cache $cache_file" >&6;}
1794+ case $cache_file in
1795+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1796+ *) . "./$cache_file";;
1797+ esac
1798+ fi
1799+else
1800+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1801+$as_echo "$as_me: creating cache $cache_file" >&6;}
1802+ >$cache_file
1803+fi
1804+
1805+# Check that the precious variables saved in the cache have kept the same
1806+# value.
1807+ac_cache_corrupted=false
1808+for ac_var in $ac_precious_vars; do
1809+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1810+ eval ac_new_set=\$ac_env_${ac_var}_set
1811+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1812+ eval ac_new_val=\$ac_env_${ac_var}_value
1813+ case $ac_old_set,$ac_new_set in
1814+ set,)
1815+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1816+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1817+ ac_cache_corrupted=: ;;
1818+ ,set)
1819+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1820+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1821+ ac_cache_corrupted=: ;;
1822+ ,);;
1823+ *)
1824+ if test "x$ac_old_val" != "x$ac_new_val"; then
1825+ # differences in whitespace do not lead to failure.
1826+ ac_old_val_w=`echo x $ac_old_val`
1827+ ac_new_val_w=`echo x $ac_new_val`
1828+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
1829+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1830+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1831+ ac_cache_corrupted=:
1832+ else
1833+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1834+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1835+ eval $ac_var=\$ac_old_val
1836+ fi
1837+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1838+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1839+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1840+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1841+ fi;;
1842+ esac
1843+ # Pass precious variables to config.status.
1844+ if test "$ac_new_set" = set; then
1845+ case $ac_new_val in
1846+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1847+ *) ac_arg=$ac_var=$ac_new_val ;;
1848+ esac
1849+ case " $ac_configure_args " in
1850+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1851+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1852+ esac
1853+ fi
1854+done
1855+if $ac_cache_corrupted; then
1856+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1857+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1858+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1859+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1860+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1861+fi
1862+## -------------------- ##
1863+## Main body of script. ##
1864+## -------------------- ##
1865+
1866+ac_ext=c
1867+ac_cpp='$CPP $CPPFLAGS'
1868+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1871+
1872+
1873+
1874+ac_config_headers="$ac_config_headers config.h"
1875+
1876+am__api_version='1.12'
1877+
1878+ac_aux_dir=
1879+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1880+ if test -f "$ac_dir/install-sh"; then
1881+ ac_aux_dir=$ac_dir
1882+ ac_install_sh="$ac_aux_dir/install-sh -c"
1883+ break
1884+ elif test -f "$ac_dir/install.sh"; then
1885+ ac_aux_dir=$ac_dir
1886+ ac_install_sh="$ac_aux_dir/install.sh -c"
1887+ break
1888+ elif test -f "$ac_dir/shtool"; then
1889+ ac_aux_dir=$ac_dir
1890+ ac_install_sh="$ac_aux_dir/shtool install -c"
1891+ break
1892+ fi
1893+done
1894+if test -z "$ac_aux_dir"; then
1895+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1896+fi
1897+
1898+# These three variables are undocumented and unsupported,
1899+# and are intended to be withdrawn in a future Autoconf release.
1900+# They can cause serious problems if a builder's source tree is in a directory
1901+# whose full name contains unusual characters.
1902+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1903+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1904+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905+
1906+
1907+# Find a good install program. We prefer a C program (faster),
1908+# so one script is as good as another. But avoid the broken or
1909+# incompatible versions:
1910+# SysV /etc/install, /usr/sbin/install
1911+# SunOS /usr/etc/install
1912+# IRIX /sbin/install
1913+# AIX /bin/install
1914+# AmigaOS /C/install, which installs bootblocks on floppy discs
1915+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1916+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1917+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1918+# OS/2's system install, which has a completely different semantic
1919+# ./install, which can be erroneously created by make from ./install.sh.
1920+# Reject install programs that cannot install multiple files.
1921+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1922+$as_echo_n "checking for a BSD-compatible install... " >&6; }
1923+if test -z "$INSTALL"; then
1924+if ${ac_cv_path_install+:} false; then :
1925+ $as_echo_n "(cached) " >&6
1926+else
1927+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928+for as_dir in $PATH
1929+do
1930+ IFS=$as_save_IFS
1931+ test -z "$as_dir" && as_dir=.
1932+ # Account for people who put trailing slashes in PATH elements.
1933+case $as_dir/ in #((
1934+ ./ | .// | /[cC]/* | \
1935+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1936+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1937+ /usr/ucb/* ) ;;
1938+ *)
1939+ # OSF1 and SCO ODT 3.0 have their own names for install.
1940+ # Don't use installbsd from OSF since it installs stuff as root
1941+ # by default.
1942+ for ac_prog in ginstall scoinst install; do
1943+ for ac_exec_ext in '' $ac_executable_extensions; do
1944+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1945+ if test $ac_prog = install &&
1946+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1947+ # AIX install. It has an incompatible calling convention.
1948+ :
1949+ elif test $ac_prog = install &&
1950+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1951+ # program-specific install script used by HP pwplus--don't use.
1952+ :
1953+ else
1954+ rm -rf conftest.one conftest.two conftest.dir
1955+ echo one > conftest.one
1956+ echo two > conftest.two
1957+ mkdir conftest.dir
1958+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1959+ test -s conftest.one && test -s conftest.two &&
1960+ test -s conftest.dir/conftest.one &&
1961+ test -s conftest.dir/conftest.two
1962+ then
1963+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1964+ break 3
1965+ fi
1966+ fi
1967+ fi
1968+ done
1969+ done
1970+ ;;
1971+esac
1972+
1973+ done
1974+IFS=$as_save_IFS
1975+
1976+rm -rf conftest.one conftest.two conftest.dir
1977+
1978+fi
1979+ if test "${ac_cv_path_install+set}" = set; then
1980+ INSTALL=$ac_cv_path_install
1981+ else
1982+ # As a last resort, use the slow shell script. Don't cache a
1983+ # value for INSTALL within a source directory, because that will
1984+ # break other packages using the cache if that directory is
1985+ # removed, or if the value is a relative name.
1986+ INSTALL=$ac_install_sh
1987+ fi
1988+fi
1989+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1990+$as_echo "$INSTALL" >&6; }
1991+
1992+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1993+# It thinks the first close brace ends the variable substitution.
1994+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1995+
1996+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1997+
1998+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1999+
2000+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2001+$as_echo_n "checking whether build environment is sane... " >&6; }
2002+# Reject unsafe characters in $srcdir or the absolute working directory
2003+# name. Accept space and tab only in the latter.
2004+am_lf='
2005+'
2006+case `pwd` in
2007+ *[\\\"\#\$\&\'\`$am_lf]*)
2008+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2009+esac
2010+case $srcdir in
2011+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2012+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2013+esac
2014+
2015+# Do 'set' in a subshell so we don't clobber the current shell's
2016+# arguments. Must try -L first in case configure is actually a
2017+# symlink; some systems play weird games with the mod time of symlinks
2018+# (eg FreeBSD returns the mod time of the symlink's containing
2019+# directory).
2020+if (
2021+ am_has_slept=no
2022+ for am_try in 1 2; do
2023+ echo "timestamp, slept: $am_has_slept" > conftest.file
2024+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2025+ if test "$*" = "X"; then
2026+ # -L didn't work.
2027+ set X `ls -t "$srcdir/configure" conftest.file`
2028+ fi
2029+ if test "$*" != "X $srcdir/configure conftest.file" \
2030+ && test "$*" != "X conftest.file $srcdir/configure"; then
2031+
2032+ # If neither matched, then we have a broken ls. This can happen
2033+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2034+ # broken ls alias from the environment. This has actually
2035+ # happened. Such a system could not be considered "sane".
2036+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2037+ alias in your environment" "$LINENO" 5
2038+ fi
2039+ if test "$2" = conftest.file || test $am_try -eq 2; then
2040+ break
2041+ fi
2042+ # Just in case.
2043+ sleep 1
2044+ am_has_slept=yes
2045+ done
2046+ test "$2" = conftest.file
2047+ )
2048+then
2049+ # Ok.
2050+ :
2051+else
2052+ as_fn_error $? "newly created file is older than distributed files!
2053+Check your system clock" "$LINENO" 5
2054+fi
2055+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2056+$as_echo "yes" >&6; }
2057+# If we didn't sleep, we still need to ensure time stamps of config.status and
2058+# generated files are strictly newer.
2059+am_sleep_pid=
2060+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2061+ ( sleep 1 ) &
2062+ am_sleep_pid=$!
2063+fi
2064+
2065+rm -f conftest.file
2066+
2067+test "$program_prefix" != NONE &&
2068+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
2069+# Use a double $ so make ignores it.
2070+test "$program_suffix" != NONE &&
2071+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2072+# Double any \ or $.
2073+# By default was `s,x,x', remove it if useless.
2074+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2075+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2076+
2077+# expand $ac_aux_dir to an absolute path
2078+am_aux_dir=`cd $ac_aux_dir && pwd`
2079+
2080+if test x"${MISSING+set}" != xset; then
2081+ case $am_aux_dir in
2082+ *\ * | *\ *)
2083+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2084+ *)
2085+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
2086+ esac
2087+fi
2088+# Use eval to expand $SHELL
2089+if eval "$MISSING --run true"; then
2090+ am_missing_run="$MISSING --run "
2091+else
2092+ am_missing_run=
2093+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2094+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2095+fi
2096+
2097+if test x"${install_sh}" != xset; then
2098+ case $am_aux_dir in
2099+ *\ * | *\ *)
2100+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2101+ *)
2102+ install_sh="\${SHELL} $am_aux_dir/install-sh"
2103+ esac
2104+fi
2105+
2106+# Installed binaries are usually stripped using 'strip' when the user
2107+# run "make install-strip". However 'strip' might not be the right
2108+# tool to use in cross-compilation environments, therefore Automake
2109+# will honor the 'STRIP' environment variable to overrule this program.
2110+if test "$cross_compiling" != no; then
2111+ if test -n "$ac_tool_prefix"; then
2112+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2113+set dummy ${ac_tool_prefix}strip; ac_word=$2
2114+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115+$as_echo_n "checking for $ac_word... " >&6; }
2116+if ${ac_cv_prog_STRIP+:} false; then :
2117+ $as_echo_n "(cached) " >&6
2118+else
2119+ if test -n "$STRIP"; then
2120+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2121+else
2122+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123+for as_dir in $PATH
2124+do
2125+ IFS=$as_save_IFS
2126+ test -z "$as_dir" && as_dir=.
2127+ for ac_exec_ext in '' $ac_executable_extensions; do
2128+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2130+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2131+ break 2
2132+ fi
2133+done
2134+ done
2135+IFS=$as_save_IFS
2136+
2137+fi
2138+fi
2139+STRIP=$ac_cv_prog_STRIP
2140+if test -n "$STRIP"; then
2141+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2142+$as_echo "$STRIP" >&6; }
2143+else
2144+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145+$as_echo "no" >&6; }
2146+fi
2147+
2148+
2149+fi
2150+if test -z "$ac_cv_prog_STRIP"; then
2151+ ac_ct_STRIP=$STRIP
2152+ # Extract the first word of "strip", so it can be a program name with args.
2153+set dummy strip; ac_word=$2
2154+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155+$as_echo_n "checking for $ac_word... " >&6; }
2156+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2157+ $as_echo_n "(cached) " >&6
2158+else
2159+ if test -n "$ac_ct_STRIP"; then
2160+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2161+else
2162+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163+for as_dir in $PATH
2164+do
2165+ IFS=$as_save_IFS
2166+ test -z "$as_dir" && as_dir=.
2167+ for ac_exec_ext in '' $ac_executable_extensions; do
2168+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169+ ac_cv_prog_ac_ct_STRIP="strip"
2170+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2171+ break 2
2172+ fi
2173+done
2174+ done
2175+IFS=$as_save_IFS
2176+
2177+fi
2178+fi
2179+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2180+if test -n "$ac_ct_STRIP"; then
2181+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2182+$as_echo "$ac_ct_STRIP" >&6; }
2183+else
2184+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2185+$as_echo "no" >&6; }
2186+fi
2187+
2188+ if test "x$ac_ct_STRIP" = x; then
2189+ STRIP=":"
2190+ else
2191+ case $cross_compiling:$ac_tool_warned in
2192+yes:)
2193+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2194+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2195+ac_tool_warned=yes ;;
2196+esac
2197+ STRIP=$ac_ct_STRIP
2198+ fi
2199+else
2200+ STRIP="$ac_cv_prog_STRIP"
2201+fi
2202+
2203+fi
2204+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2205+
2206+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2207+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2208+if test -z "$MKDIR_P"; then
2209+ if ${ac_cv_path_mkdir+:} false; then :
2210+ $as_echo_n "(cached) " >&6
2211+else
2212+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2214+do
2215+ IFS=$as_save_IFS
2216+ test -z "$as_dir" && as_dir=.
2217+ for ac_prog in mkdir gmkdir; do
2218+ for ac_exec_ext in '' $ac_executable_extensions; do
2219+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2220+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2221+ 'mkdir (GNU coreutils) '* | \
2222+ 'mkdir (coreutils) '* | \
2223+ 'mkdir (fileutils) '4.1*)
2224+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2225+ break 3;;
2226+ esac
2227+ done
2228+ done
2229+ done
2230+IFS=$as_save_IFS
2231+
2232+fi
2233+
2234+ test -d ./--version && rmdir ./--version
2235+ if test "${ac_cv_path_mkdir+set}" = set; then
2236+ MKDIR_P="$ac_cv_path_mkdir -p"
2237+ else
2238+ # As a last resort, use the slow shell script. Don't cache a
2239+ # value for MKDIR_P within a source directory, because that will
2240+ # break other packages using the cache if that directory is
2241+ # removed, or if the value is a relative name.
2242+ MKDIR_P="$ac_install_sh -d"
2243+ fi
2244+fi
2245+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2246+$as_echo "$MKDIR_P" >&6; }
2247+
2248+for ac_prog in gawk mawk nawk awk
2249+do
2250+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2251+set dummy $ac_prog; ac_word=$2
2252+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2253+$as_echo_n "checking for $ac_word... " >&6; }
2254+if ${ac_cv_prog_AWK+:} false; then :
2255+ $as_echo_n "(cached) " >&6
2256+else
2257+ if test -n "$AWK"; then
2258+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
2259+else
2260+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261+for as_dir in $PATH
2262+do
2263+ IFS=$as_save_IFS
2264+ test -z "$as_dir" && as_dir=.
2265+ for ac_exec_ext in '' $ac_executable_extensions; do
2266+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267+ ac_cv_prog_AWK="$ac_prog"
2268+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269+ break 2
2270+ fi
2271+done
2272+ done
2273+IFS=$as_save_IFS
2274+
2275+fi
2276+fi
2277+AWK=$ac_cv_prog_AWK
2278+if test -n "$AWK"; then
2279+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2280+$as_echo "$AWK" >&6; }
2281+else
2282+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283+$as_echo "no" >&6; }
2284+fi
2285+
2286+
2287+ test -n "$AWK" && break
2288+done
2289+
2290+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2291+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2292+set x ${MAKE-make}
2293+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2294+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2295+ $as_echo_n "(cached) " >&6
2296+else
2297+ cat >conftest.make <<\_ACEOF
2298+SHELL = /bin/sh
2299+all:
2300+ @echo '@@@%%%=$(MAKE)=@@@%%%'
2301+_ACEOF
2302+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2303+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2304+ *@@@%%%=?*=@@@%%%*)
2305+ eval ac_cv_prog_make_${ac_make}_set=yes;;
2306+ *)
2307+ eval ac_cv_prog_make_${ac_make}_set=no;;
2308+esac
2309+rm -f conftest.make
2310+fi
2311+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2312+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2313+$as_echo "yes" >&6; }
2314+ SET_MAKE=
2315+else
2316+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317+$as_echo "no" >&6; }
2318+ SET_MAKE="MAKE=${MAKE-make}"
2319+fi
2320+
2321+rm -rf .tst 2>/dev/null
2322+mkdir .tst 2>/dev/null
2323+if test -d .tst; then
2324+ am__leading_dot=.
2325+else
2326+ am__leading_dot=_
2327+fi
2328+rmdir .tst 2>/dev/null
2329+
2330+if test "`cd $srcdir && pwd`" != "`pwd`"; then
2331+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2332+ # is not polluted with repeated "-I."
2333+ am__isrc=' -I$(srcdir)'
2334+ # test to see if srcdir already configured
2335+ if test -f $srcdir/config.status; then
2336+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2337+ fi
2338+fi
2339+
2340+# test whether we have cygpath
2341+if test -z "$CYGPATH_W"; then
2342+ if (cygpath --version) >/dev/null 2>/dev/null; then
2343+ CYGPATH_W='cygpath -w'
2344+ else
2345+ CYGPATH_W=echo
2346+ fi
2347+fi
2348+
2349+
2350+# Define the identity of the package.
2351+ PACKAGE='autotoolstest'
2352+ VERSION='gtk.01'
2353+
2354+
2355+cat >>confdefs.h <<_ACEOF
2356+#define PACKAGE "$PACKAGE"
2357+_ACEOF
2358+
2359+
2360+cat >>confdefs.h <<_ACEOF
2361+#define VERSION "$VERSION"
2362+_ACEOF
2363+
2364+# Some tools Automake needs.
2365+
2366+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2367+
2368+
2369+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2370+
2371+
2372+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2373+
2374+
2375+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2376+
2377+
2378+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2379+
2380+# For better backward compatibility. To be removed once Automake 1.9.x
2381+# dies out for good. For more background, see:
2382+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2383+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2384+mkdir_p='$(MKDIR_P)'
2385+
2386+# We need awk for the "check" target. The system "awk" is bad on
2387+# some platforms.
2388+# Always define AMTAR for backward compatibility. Yes, it's still used
2389+# in the wild :-( We should find a proper way to deprecate it ...
2390+AMTAR='$${TAR-tar}'
2391+
2392+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2393+
2394+
2395+
2396+
2397+
2398+
2399+# Checks for programs.
2400+ac_ext=c
2401+ac_cpp='$CPP $CPPFLAGS'
2402+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405+if test -n "$ac_tool_prefix"; then
2406+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2407+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2408+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409+$as_echo_n "checking for $ac_word... " >&6; }
2410+if ${ac_cv_prog_CC+:} false; then :
2411+ $as_echo_n "(cached) " >&6
2412+else
2413+ if test -n "$CC"; then
2414+ ac_cv_prog_CC="$CC" # Let the user override the test.
2415+else
2416+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417+for as_dir in $PATH
2418+do
2419+ IFS=$as_save_IFS
2420+ test -z "$as_dir" && as_dir=.
2421+ for ac_exec_ext in '' $ac_executable_extensions; do
2422+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
2424+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2425+ break 2
2426+ fi
2427+done
2428+ done
2429+IFS=$as_save_IFS
2430+
2431+fi
2432+fi
2433+CC=$ac_cv_prog_CC
2434+if test -n "$CC"; then
2435+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436+$as_echo "$CC" >&6; }
2437+else
2438+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439+$as_echo "no" >&6; }
2440+fi
2441+
2442+
2443+fi
2444+if test -z "$ac_cv_prog_CC"; then
2445+ ac_ct_CC=$CC
2446+ # Extract the first word of "gcc", so it can be a program name with args.
2447+set dummy gcc; ac_word=$2
2448+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449+$as_echo_n "checking for $ac_word... " >&6; }
2450+if ${ac_cv_prog_ac_ct_CC+:} false; then :
2451+ $as_echo_n "(cached) " >&6
2452+else
2453+ if test -n "$ac_ct_CC"; then
2454+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2455+else
2456+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457+for as_dir in $PATH
2458+do
2459+ IFS=$as_save_IFS
2460+ test -z "$as_dir" && as_dir=.
2461+ for ac_exec_ext in '' $ac_executable_extensions; do
2462+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463+ ac_cv_prog_ac_ct_CC="gcc"
2464+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465+ break 2
2466+ fi
2467+done
2468+ done
2469+IFS=$as_save_IFS
2470+
2471+fi
2472+fi
2473+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2474+if test -n "$ac_ct_CC"; then
2475+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2476+$as_echo "$ac_ct_CC" >&6; }
2477+else
2478+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479+$as_echo "no" >&6; }
2480+fi
2481+
2482+ if test "x$ac_ct_CC" = x; then
2483+ CC=""
2484+ else
2485+ case $cross_compiling:$ac_tool_warned in
2486+yes:)
2487+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2488+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2489+ac_tool_warned=yes ;;
2490+esac
2491+ CC=$ac_ct_CC
2492+ fi
2493+else
2494+ CC="$ac_cv_prog_CC"
2495+fi
2496+
2497+if test -z "$CC"; then
2498+ if test -n "$ac_tool_prefix"; then
2499+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2500+set dummy ${ac_tool_prefix}cc; ac_word=$2
2501+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502+$as_echo_n "checking for $ac_word... " >&6; }
2503+if ${ac_cv_prog_CC+:} false; then :
2504+ $as_echo_n "(cached) " >&6
2505+else
2506+ if test -n "$CC"; then
2507+ ac_cv_prog_CC="$CC" # Let the user override the test.
2508+else
2509+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510+for as_dir in $PATH
2511+do
2512+ IFS=$as_save_IFS
2513+ test -z "$as_dir" && as_dir=.
2514+ for ac_exec_ext in '' $ac_executable_extensions; do
2515+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2516+ ac_cv_prog_CC="${ac_tool_prefix}cc"
2517+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518+ break 2
2519+ fi
2520+done
2521+ done
2522+IFS=$as_save_IFS
2523+
2524+fi
2525+fi
2526+CC=$ac_cv_prog_CC
2527+if test -n "$CC"; then
2528+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2529+$as_echo "$CC" >&6; }
2530+else
2531+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532+$as_echo "no" >&6; }
2533+fi
2534+
2535+
2536+ fi
2537+fi
2538+if test -z "$CC"; then
2539+ # Extract the first word of "cc", so it can be a program name with args.
2540+set dummy cc; ac_word=$2
2541+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542+$as_echo_n "checking for $ac_word... " >&6; }
2543+if ${ac_cv_prog_CC+:} false; then :
2544+ $as_echo_n "(cached) " >&6
2545+else
2546+ if test -n "$CC"; then
2547+ ac_cv_prog_CC="$CC" # Let the user override the test.
2548+else
2549+ ac_prog_rejected=no
2550+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551+for as_dir in $PATH
2552+do
2553+ IFS=$as_save_IFS
2554+ test -z "$as_dir" && as_dir=.
2555+ for ac_exec_ext in '' $ac_executable_extensions; do
2556+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2558+ ac_prog_rejected=yes
2559+ continue
2560+ fi
2561+ ac_cv_prog_CC="cc"
2562+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563+ break 2
2564+ fi
2565+done
2566+ done
2567+IFS=$as_save_IFS
2568+
2569+if test $ac_prog_rejected = yes; then
2570+ # We found a bogon in the path, so make sure we never use it.
2571+ set dummy $ac_cv_prog_CC
2572+ shift
2573+ if test $# != 0; then
2574+ # We chose a different compiler from the bogus one.
2575+ # However, it has the same basename, so the bogon will be chosen
2576+ # first if we set CC to just the basename; use the full file name.
2577+ shift
2578+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2579+ fi
2580+fi
2581+fi
2582+fi
2583+CC=$ac_cv_prog_CC
2584+if test -n "$CC"; then
2585+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2586+$as_echo "$CC" >&6; }
2587+else
2588+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589+$as_echo "no" >&6; }
2590+fi
2591+
2592+
2593+fi
2594+if test -z "$CC"; then
2595+ if test -n "$ac_tool_prefix"; then
2596+ for ac_prog in cl.exe
2597+ do
2598+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2599+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2600+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601+$as_echo_n "checking for $ac_word... " >&6; }
2602+if ${ac_cv_prog_CC+:} false; then :
2603+ $as_echo_n "(cached) " >&6
2604+else
2605+ if test -n "$CC"; then
2606+ ac_cv_prog_CC="$CC" # Let the user override the test.
2607+else
2608+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609+for as_dir in $PATH
2610+do
2611+ IFS=$as_save_IFS
2612+ test -z "$as_dir" && as_dir=.
2613+ for ac_exec_ext in '' $ac_executable_extensions; do
2614+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2616+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617+ break 2
2618+ fi
2619+done
2620+ done
2621+IFS=$as_save_IFS
2622+
2623+fi
2624+fi
2625+CC=$ac_cv_prog_CC
2626+if test -n "$CC"; then
2627+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2628+$as_echo "$CC" >&6; }
2629+else
2630+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631+$as_echo "no" >&6; }
2632+fi
2633+
2634+
2635+ test -n "$CC" && break
2636+ done
2637+fi
2638+if test -z "$CC"; then
2639+ ac_ct_CC=$CC
2640+ for ac_prog in cl.exe
2641+do
2642+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2643+set dummy $ac_prog; ac_word=$2
2644+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645+$as_echo_n "checking for $ac_word... " >&6; }
2646+if ${ac_cv_prog_ac_ct_CC+:} false; then :
2647+ $as_echo_n "(cached) " >&6
2648+else
2649+ if test -n "$ac_ct_CC"; then
2650+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2651+else
2652+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653+for as_dir in $PATH
2654+do
2655+ IFS=$as_save_IFS
2656+ test -z "$as_dir" && as_dir=.
2657+ for ac_exec_ext in '' $ac_executable_extensions; do
2658+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659+ ac_cv_prog_ac_ct_CC="$ac_prog"
2660+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661+ break 2
2662+ fi
2663+done
2664+ done
2665+IFS=$as_save_IFS
2666+
2667+fi
2668+fi
2669+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2670+if test -n "$ac_ct_CC"; then
2671+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2672+$as_echo "$ac_ct_CC" >&6; }
2673+else
2674+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675+$as_echo "no" >&6; }
2676+fi
2677+
2678+
2679+ test -n "$ac_ct_CC" && break
2680+done
2681+
2682+ if test "x$ac_ct_CC" = x; then
2683+ CC=""
2684+ else
2685+ case $cross_compiling:$ac_tool_warned in
2686+yes:)
2687+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689+ac_tool_warned=yes ;;
2690+esac
2691+ CC=$ac_ct_CC
2692+ fi
2693+fi
2694+
2695+fi
2696+
2697+
2698+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700+as_fn_error $? "no acceptable C compiler found in \$PATH
2701+See \`config.log' for more details" "$LINENO" 5; }
2702+
2703+# Provide some information about the compiler.
2704+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2705+set X $ac_compile
2706+ac_compiler=$2
2707+for ac_option in --version -v -V -qversion; do
2708+ { { ac_try="$ac_compiler $ac_option >&5"
2709+case "(($ac_try" in
2710+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711+ *) ac_try_echo=$ac_try;;
2712+esac
2713+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714+$as_echo "$ac_try_echo"; } >&5
2715+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2716+ ac_status=$?
2717+ if test -s conftest.err; then
2718+ sed '10a\
2719+... rest of stderr output deleted ...
2720+ 10q' conftest.err >conftest.er1
2721+ cat conftest.er1 >&5
2722+ fi
2723+ rm -f conftest.er1 conftest.err
2724+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725+ test $ac_status = 0; }
2726+done
2727+
2728+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729+/* end confdefs.h. */
2730+
2731+int
2732+main ()
2733+{
2734+
2735+ ;
2736+ return 0;
2737+}
2738+_ACEOF
2739+ac_clean_files_save=$ac_clean_files
2740+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2741+# Try to create an executable without -o first, disregard a.out.
2742+# It will help us diagnose broken compilers, and finding out an intuition
2743+# of exeext.
2744+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2745+$as_echo_n "checking whether the C compiler works... " >&6; }
2746+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2747+
2748+# The possible output files:
2749+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2750+
2751+ac_rmfiles=
2752+for ac_file in $ac_files
2753+do
2754+ case $ac_file in
2755+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2756+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2757+ esac
2758+done
2759+rm -f $ac_rmfiles
2760+
2761+if { { ac_try="$ac_link_default"
2762+case "(($ac_try" in
2763+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764+ *) ac_try_echo=$ac_try;;
2765+esac
2766+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767+$as_echo "$ac_try_echo"; } >&5
2768+ (eval "$ac_link_default") 2>&5
2769+ ac_status=$?
2770+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2771+ test $ac_status = 0; }; then :
2772+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2773+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2774+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2775+# so that the user can short-circuit this test for compilers unknown to
2776+# Autoconf.
2777+for ac_file in $ac_files ''
2778+do
2779+ test -f "$ac_file" || continue
2780+ case $ac_file in
2781+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2782+ ;;
2783+ [ab].out )
2784+ # We found the default executable, but exeext='' is most
2785+ # certainly right.
2786+ break;;
2787+ *.* )
2788+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2789+ then :; else
2790+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791+ fi
2792+ # We set ac_cv_exeext here because the later test for it is not
2793+ # safe: cross compilers may not add the suffix if given an `-o'
2794+ # argument, so we may need to know it at that point already.
2795+ # Even if this section looks crufty: it has the advantage of
2796+ # actually working.
2797+ break;;
2798+ * )
2799+ break;;
2800+ esac
2801+done
2802+test "$ac_cv_exeext" = no && ac_cv_exeext=
2803+
2804+else
2805+ ac_file=''
2806+fi
2807+if test -z "$ac_file"; then :
2808+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809+$as_echo "no" >&6; }
2810+$as_echo "$as_me: failed program was:" >&5
2811+sed 's/^/| /' conftest.$ac_ext >&5
2812+
2813+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815+as_fn_error 77 "C compiler cannot create executables
2816+See \`config.log' for more details" "$LINENO" 5; }
2817+else
2818+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2819+$as_echo "yes" >&6; }
2820+fi
2821+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2822+$as_echo_n "checking for C compiler default output file name... " >&6; }
2823+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2824+$as_echo "$ac_file" >&6; }
2825+ac_exeext=$ac_cv_exeext
2826+
2827+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2828+ac_clean_files=$ac_clean_files_save
2829+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2830+$as_echo_n "checking for suffix of executables... " >&6; }
2831+if { { ac_try="$ac_link"
2832+case "(($ac_try" in
2833+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834+ *) ac_try_echo=$ac_try;;
2835+esac
2836+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837+$as_echo "$ac_try_echo"; } >&5
2838+ (eval "$ac_link") 2>&5
2839+ ac_status=$?
2840+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841+ test $ac_status = 0; }; then :
2842+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2843+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2844+# work properly (i.e., refer to `conftest.exe'), while it won't with
2845+# `rm'.
2846+for ac_file in conftest.exe conftest conftest.*; do
2847+ test -f "$ac_file" || continue
2848+ case $ac_file in
2849+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2850+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2851+ break;;
2852+ * ) break;;
2853+ esac
2854+done
2855+else
2856+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2857+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2858+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2859+See \`config.log' for more details" "$LINENO" 5; }
2860+fi
2861+rm -f conftest conftest$ac_cv_exeext
2862+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2863+$as_echo "$ac_cv_exeext" >&6; }
2864+
2865+rm -f conftest.$ac_ext
2866+EXEEXT=$ac_cv_exeext
2867+ac_exeext=$EXEEXT
2868+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869+/* end confdefs.h. */
2870+#include <stdio.h>
2871+int
2872+main ()
2873+{
2874+FILE *f = fopen ("conftest.out", "w");
2875+ return ferror (f) || fclose (f) != 0;
2876+
2877+ ;
2878+ return 0;
2879+}
2880+_ACEOF
2881+ac_clean_files="$ac_clean_files conftest.out"
2882+# Check that the compiler produces executables we can run. If not, either
2883+# the compiler is broken, or we cross compile.
2884+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2885+$as_echo_n "checking whether we are cross compiling... " >&6; }
2886+if test "$cross_compiling" != yes; then
2887+ { { ac_try="$ac_link"
2888+case "(($ac_try" in
2889+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890+ *) ac_try_echo=$ac_try;;
2891+esac
2892+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893+$as_echo "$ac_try_echo"; } >&5
2894+ (eval "$ac_link") 2>&5
2895+ ac_status=$?
2896+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897+ test $ac_status = 0; }
2898+ if { ac_try='./conftest$ac_cv_exeext'
2899+ { { case "(($ac_try" in
2900+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901+ *) ac_try_echo=$ac_try;;
2902+esac
2903+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904+$as_echo "$ac_try_echo"; } >&5
2905+ (eval "$ac_try") 2>&5
2906+ ac_status=$?
2907+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908+ test $ac_status = 0; }; }; then
2909+ cross_compiling=no
2910+ else
2911+ if test "$cross_compiling" = maybe; then
2912+ cross_compiling=yes
2913+ else
2914+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2915+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2916+as_fn_error $? "cannot run C compiled programs.
2917+If you meant to cross compile, use \`--host'.
2918+See \`config.log' for more details" "$LINENO" 5; }
2919+ fi
2920+ fi
2921+fi
2922+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2923+$as_echo "$cross_compiling" >&6; }
2924+
2925+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2926+ac_clean_files=$ac_clean_files_save
2927+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2928+$as_echo_n "checking for suffix of object files... " >&6; }
2929+if ${ac_cv_objext+:} false; then :
2930+ $as_echo_n "(cached) " >&6
2931+else
2932+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933+/* end confdefs.h. */
2934+
2935+int
2936+main ()
2937+{
2938+
2939+ ;
2940+ return 0;
2941+}
2942+_ACEOF
2943+rm -f conftest.o conftest.obj
2944+if { { ac_try="$ac_compile"
2945+case "(($ac_try" in
2946+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947+ *) ac_try_echo=$ac_try;;
2948+esac
2949+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950+$as_echo "$ac_try_echo"; } >&5
2951+ (eval "$ac_compile") 2>&5
2952+ ac_status=$?
2953+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954+ test $ac_status = 0; }; then :
2955+ for ac_file in conftest.o conftest.obj conftest.*; do
2956+ test -f "$ac_file" || continue;
2957+ case $ac_file in
2958+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2959+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2960+ break;;
2961+ esac
2962+done
2963+else
2964+ $as_echo "$as_me: failed program was:" >&5
2965+sed 's/^/| /' conftest.$ac_ext >&5
2966+
2967+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969+as_fn_error $? "cannot compute suffix of object files: cannot compile
2970+See \`config.log' for more details" "$LINENO" 5; }
2971+fi
2972+rm -f conftest.$ac_cv_objext conftest.$ac_ext
2973+fi
2974+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2975+$as_echo "$ac_cv_objext" >&6; }
2976+OBJEXT=$ac_cv_objext
2977+ac_objext=$OBJEXT
2978+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2979+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2980+if ${ac_cv_c_compiler_gnu+:} false; then :
2981+ $as_echo_n "(cached) " >&6
2982+else
2983+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984+/* end confdefs.h. */
2985+
2986+int
2987+main ()
2988+{
2989+#ifndef __GNUC__
2990+ choke me
2991+#endif
2992+
2993+ ;
2994+ return 0;
2995+}
2996+_ACEOF
2997+if ac_fn_c_try_compile "$LINENO"; then :
2998+ ac_compiler_gnu=yes
2999+else
3000+ ac_compiler_gnu=no
3001+fi
3002+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3004+
3005+fi
3006+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3007+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3008+if test $ac_compiler_gnu = yes; then
3009+ GCC=yes
3010+else
3011+ GCC=
3012+fi
3013+ac_test_CFLAGS=${CFLAGS+set}
3014+ac_save_CFLAGS=$CFLAGS
3015+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3016+$as_echo_n "checking whether $CC accepts -g... " >&6; }
3017+if ${ac_cv_prog_cc_g+:} false; then :
3018+ $as_echo_n "(cached) " >&6
3019+else
3020+ ac_save_c_werror_flag=$ac_c_werror_flag
3021+ ac_c_werror_flag=yes
3022+ ac_cv_prog_cc_g=no
3023+ CFLAGS="-g"
3024+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025+/* end confdefs.h. */
3026+
3027+int
3028+main ()
3029+{
3030+
3031+ ;
3032+ return 0;
3033+}
3034+_ACEOF
3035+if ac_fn_c_try_compile "$LINENO"; then :
3036+ ac_cv_prog_cc_g=yes
3037+else
3038+ CFLAGS=""
3039+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040+/* end confdefs.h. */
3041+
3042+int
3043+main ()
3044+{
3045+
3046+ ;
3047+ return 0;
3048+}
3049+_ACEOF
3050+if ac_fn_c_try_compile "$LINENO"; then :
3051+
3052+else
3053+ ac_c_werror_flag=$ac_save_c_werror_flag
3054+ CFLAGS="-g"
3055+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056+/* end confdefs.h. */
3057+
3058+int
3059+main ()
3060+{
3061+
3062+ ;
3063+ return 0;
3064+}
3065+_ACEOF
3066+if ac_fn_c_try_compile "$LINENO"; then :
3067+ ac_cv_prog_cc_g=yes
3068+fi
3069+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070+fi
3071+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072+fi
3073+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074+ ac_c_werror_flag=$ac_save_c_werror_flag
3075+fi
3076+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3077+$as_echo "$ac_cv_prog_cc_g" >&6; }
3078+if test "$ac_test_CFLAGS" = set; then
3079+ CFLAGS=$ac_save_CFLAGS
3080+elif test $ac_cv_prog_cc_g = yes; then
3081+ if test "$GCC" = yes; then
3082+ CFLAGS="-g -O2"
3083+ else
3084+ CFLAGS="-g"
3085+ fi
3086+else
3087+ if test "$GCC" = yes; then
3088+ CFLAGS="-O2"
3089+ else
3090+ CFLAGS=
3091+ fi
3092+fi
3093+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3094+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3095+if ${ac_cv_prog_cc_c89+:} false; then :
3096+ $as_echo_n "(cached) " >&6
3097+else
3098+ ac_cv_prog_cc_c89=no
3099+ac_save_CC=$CC
3100+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101+/* end confdefs.h. */
3102+#include <stdarg.h>
3103+#include <stdio.h>
3104+struct stat;
3105+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3106+struct buf { int x; };
3107+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3108+static char *e (p, i)
3109+ char **p;
3110+ int i;
3111+{
3112+ return p[i];
3113+}
3114+static char *f (char * (*g) (char **, int), char **p, ...)
3115+{
3116+ char *s;
3117+ va_list v;
3118+ va_start (v,p);
3119+ s = g (p, va_arg (v,int));
3120+ va_end (v);
3121+ return s;
3122+}
3123+
3124+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3125+ function prototypes and stuff, but not '\xHH' hex character constants.
3126+ These don't provoke an error unfortunately, instead are silently treated
3127+ as 'x'. The following induces an error, until -std is added to get
3128+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3129+ array size at least. It's necessary to write '\x00'==0 to get something
3130+ that's true only with -std. */
3131+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3132+
3133+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3134+ inside strings and character constants. */
3135+#define FOO(x) 'x'
3136+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3137+
3138+int test (int i, double x);
3139+struct s1 {int (*f) (int a);};
3140+struct s2 {int (*f) (double a);};
3141+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3142+int argc;
3143+char **argv;
3144+int
3145+main ()
3146+{
3147+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3148+ ;
3149+ return 0;
3150+}
3151+_ACEOF
3152+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3153+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3154+do
3155+ CC="$ac_save_CC $ac_arg"
3156+ if ac_fn_c_try_compile "$LINENO"; then :
3157+ ac_cv_prog_cc_c89=$ac_arg
3158+fi
3159+rm -f core conftest.err conftest.$ac_objext
3160+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3161+done
3162+rm -f conftest.$ac_ext
3163+CC=$ac_save_CC
3164+
3165+fi
3166+# AC_CACHE_VAL
3167+case "x$ac_cv_prog_cc_c89" in
3168+ x)
3169+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3170+$as_echo "none needed" >&6; } ;;
3171+ xno)
3172+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3173+$as_echo "unsupported" >&6; } ;;
3174+ *)
3175+ CC="$CC $ac_cv_prog_cc_c89"
3176+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3177+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3178+esac
3179+if test "x$ac_cv_prog_cc_c89" != xno; then :
3180+
3181+fi
3182+
3183+ac_ext=c
3184+ac_cpp='$CPP $CPPFLAGS'
3185+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188+DEPDIR="${am__leading_dot}deps"
3189+
3190+ac_config_commands="$ac_config_commands depfiles"
3191+
3192+
3193+am_make=${MAKE-make}
3194+cat > confinc << 'END'
3195+am__doit:
3196+ @echo this is the am__doit target
3197+.PHONY: am__doit
3198+END
3199+# If we don't find an include directive, just comment out the code.
3200+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3201+$as_echo_n "checking for style of include used by $am_make... " >&6; }
3202+am__include="#"
3203+am__quote=
3204+_am_result=none
3205+# First try GNU make style include.
3206+echo "include confinc" > confmf
3207+# Ignore all kinds of additional output from 'make'.
3208+case `$am_make -s -f confmf 2> /dev/null` in #(
3209+*the\ am__doit\ target*)
3210+ am__include=include
3211+ am__quote=
3212+ _am_result=GNU
3213+ ;;
3214+esac
3215+# Now try BSD make style include.
3216+if test "$am__include" = "#"; then
3217+ echo '.include "confinc"' > confmf
3218+ case `$am_make -s -f confmf 2> /dev/null` in #(
3219+ *the\ am__doit\ target*)
3220+ am__include=.include
3221+ am__quote="\""
3222+ _am_result=BSD
3223+ ;;
3224+ esac
3225+fi
3226+
3227+
3228+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3229+$as_echo "$_am_result" >&6; }
3230+rm -f confinc confmf
3231+
3232+# Check whether --enable-dependency-tracking was given.
3233+if test "${enable_dependency_tracking+set}" = set; then :
3234+ enableval=$enable_dependency_tracking;
3235+fi
3236+
3237+if test "x$enable_dependency_tracking" != xno; then
3238+ am_depcomp="$ac_aux_dir/depcomp"
3239+ AMDEPBACKSLASH='\'
3240+ am__nodep='_no'
3241+fi
3242+ if test "x$enable_dependency_tracking" != xno; then
3243+ AMDEP_TRUE=
3244+ AMDEP_FALSE='#'
3245+else
3246+ AMDEP_TRUE='#'
3247+ AMDEP_FALSE=
3248+fi
3249+
3250+
3251+
3252+depcc="$CC" am_compiler_list=
3253+
3254+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3255+$as_echo_n "checking dependency style of $depcc... " >&6; }
3256+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3257+ $as_echo_n "(cached) " >&6
3258+else
3259+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3260+ # We make a subdir and do the tests there. Otherwise we can end up
3261+ # making bogus files that we don't know about and never remove. For
3262+ # instance it was reported that on HP-UX the gcc test will end up
3263+ # making a dummy file named 'D' -- because '-MD' means "put the output
3264+ # in D".
3265+ rm -rf conftest.dir
3266+ mkdir conftest.dir
3267+ # Copy depcomp to subdir because otherwise we won't find it if we're
3268+ # using a relative directory.
3269+ cp "$am_depcomp" conftest.dir
3270+ cd conftest.dir
3271+ # We will build objects and dependencies in a subdirectory because
3272+ # it helps to detect inapplicable dependency modes. For instance
3273+ # both Tru64's cc and ICC support -MD to output dependencies as a
3274+ # side effect of compilation, but ICC will put the dependencies in
3275+ # the current directory while Tru64 will put them in the object
3276+ # directory.
3277+ mkdir sub
3278+
3279+ am_cv_CC_dependencies_compiler_type=none
3280+ if test "$am_compiler_list" = ""; then
3281+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3282+ fi
3283+ am__universal=false
3284+ case " $depcc " in #(
3285+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3286+ esac
3287+
3288+ for depmode in $am_compiler_list; do
3289+ # Setup a source with many dependencies, because some compilers
3290+ # like to wrap large dependency lists on column 80 (with \), and
3291+ # we should not choose a depcomp mode which is confused by this.
3292+ #
3293+ # We need to recreate these files for each test, as the compiler may
3294+ # overwrite some of them when testing with obscure command lines.
3295+ # This happens at least with the AIX C compiler.
3296+ : > sub/conftest.c
3297+ for i in 1 2 3 4 5 6; do
3298+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3299+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3300+ # Solaris 10 /bin/sh.
3301+ echo '/* dummy */' > sub/conftst$i.h
3302+ done
3303+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3304+
3305+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
3306+ # mode. It turns out that the SunPro C++ compiler does not properly
3307+ # handle '-M -o', and we need to detect this. Also, some Intel
3308+ # versions had trouble with output in subdirs.
3309+ am__obj=sub/conftest.${OBJEXT-o}
3310+ am__minus_obj="-o $am__obj"
3311+ case $depmode in
3312+ gcc)
3313+ # This depmode causes a compiler race in universal mode.
3314+ test "$am__universal" = false || continue
3315+ ;;
3316+ nosideeffect)
3317+ # After this tag, mechanisms are not by side-effect, so they'll
3318+ # only be used when explicitly requested.
3319+ if test "x$enable_dependency_tracking" = xyes; then
3320+ continue
3321+ else
3322+ break
3323+ fi
3324+ ;;
3325+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3326+ # This compiler won't grok '-c -o', but also, the minuso test has
3327+ # not run yet. These depmodes are late enough in the game, and
3328+ # so weak that their functioning should not be impacted.
3329+ am__obj=conftest.${OBJEXT-o}
3330+ am__minus_obj=
3331+ ;;
3332+ none) break ;;
3333+ esac
3334+ if depmode=$depmode \
3335+ source=sub/conftest.c object=$am__obj \
3336+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3337+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3338+ >/dev/null 2>conftest.err &&
3339+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3340+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3341+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3342+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3343+ # icc doesn't choke on unknown options, it will just issue warnings
3344+ # or remarks (even with -Werror). So we grep stderr for any message
3345+ # that says an option was ignored or not supported.
3346+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3347+ # icc: Command line warning: ignoring option '-M'; no argument required
3348+ # The diagnosis changed in icc 8.0:
3349+ # icc: Command line remark: option '-MP' not supported
3350+ if (grep 'ignoring option' conftest.err ||
3351+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3352+ am_cv_CC_dependencies_compiler_type=$depmode
3353+ break
3354+ fi
3355+ fi
3356+ done
3357+
3358+ cd ..
3359+ rm -rf conftest.dir
3360+else
3361+ am_cv_CC_dependencies_compiler_type=none
3362+fi
3363+
3364+fi
3365+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3366+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3367+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3368+
3369+ if
3370+ test "x$enable_dependency_tracking" != xno \
3371+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3372+ am__fastdepCC_TRUE=
3373+ am__fastdepCC_FALSE='#'
3374+else
3375+ am__fastdepCC_TRUE='#'
3376+ am__fastdepCC_FALSE=
3377+fi
3378+
3379+
3380+
3381+# Checks for libraries.
3382+
3383+# Checks for header files.
3384+
3385+# Check whether --enable-gtktest was given.
3386+if test "${enable_gtktest+set}" = set; then :
3387+ enableval=$enable_gtktest;
3388+else
3389+ enable_gtktest=yes
3390+fi
3391+
3392+
3393+ pkg_config_args=gtk+-2.0
3394+ for module in .
3395+ do
3396+ case "$module" in
3397+ gthread)
3398+ pkg_config_args="$pkg_config_args gthread-2.0"
3399+ ;;
3400+ esac
3401+ done
3402+
3403+ no_gtk=""
3404+
3405+ # Extract the first word of "pkg-config", so it can be a program name with args.
3406+set dummy pkg-config; ac_word=$2
3407+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408+$as_echo_n "checking for $ac_word... " >&6; }
3409+if ${ac_cv_path_PKG_CONFIG+:} false; then :
3410+ $as_echo_n "(cached) " >&6
3411+else
3412+ case $PKG_CONFIG in
3413+ [\\/]* | ?:[\\/]*)
3414+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3415+ ;;
3416+ *)
3417+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418+for as_dir in $PATH
3419+do
3420+ IFS=$as_save_IFS
3421+ test -z "$as_dir" && as_dir=.
3422+ for ac_exec_ext in '' $ac_executable_extensions; do
3423+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3425+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426+ break 2
3427+ fi
3428+done
3429+ done
3430+IFS=$as_save_IFS
3431+
3432+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3433+ ;;
3434+esac
3435+fi
3436+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3437+if test -n "$PKG_CONFIG"; then
3438+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3439+$as_echo "$PKG_CONFIG" >&6; }
3440+else
3441+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442+$as_echo "no" >&6; }
3443+fi
3444+
3445+
3446+
3447+ if test x$PKG_CONFIG != xno ; then
3448+ if pkg-config --atleast-pkgconfig-version 0.7 ; then
3449+ :
3450+ else
3451+ echo "*** pkg-config too old; version 0.7 or better required."
3452+ no_gtk=yes
3453+ PKG_CONFIG=no
3454+ fi
3455+ else
3456+ no_gtk=yes
3457+ fi
3458+
3459+ min_gtk_version=2.0.0
3460+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
3461+$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
3462+
3463+ if test x$PKG_CONFIG != xno ; then
3464+ ## don't try to run the test against uninstalled libtool libs
3465+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
3466+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
3467+ enable_gtktest=no
3468+ fi
3469+
3470+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
3471+ :
3472+ else
3473+ no_gtk=yes
3474+ fi
3475+ fi
3476+
3477+ if test x"$no_gtk" = x ; then
3478+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
3479+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
3480+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3481+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3482+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3483+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3484+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3485+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3486+ if test "x$enable_gtktest" = "xyes" ; then
3487+ ac_save_CFLAGS="$CFLAGS"
3488+ ac_save_LIBS="$LIBS"
3489+ CFLAGS="$CFLAGS $GTK_CFLAGS"
3490+ LIBS="$GTK_LIBS $LIBS"
3491+ rm -f conf.gtktest
3492+ if test "$cross_compiling" = yes; then :
3493+ echo $ac_n "cross compiling; assumed OK... $ac_c"
3494+else
3495+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496+/* end confdefs.h. */
3497+
3498+#include <gtk/gtk.h>
3499+#include <stdio.h>
3500+#include <stdlib.h>
3501+
3502+int
3503+main ()
3504+{
3505+ int major, minor, micro;
3506+ char *tmp_version;
3507+
3508+ fclose (fopen ("conf.gtktest", "w"));
3509+
3510+ /* HP/UX 9 (%@#!) writes to sscanf strings */
3511+ tmp_version = g_strdup("$min_gtk_version");
3512+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
3513+ printf("%s, bad version string\n", "$min_gtk_version");
3514+ exit(1);
3515+ }
3516+
3517+ if ((gtk_major_version != $gtk_config_major_version) ||
3518+ (gtk_minor_version != $gtk_config_minor_version) ||
3519+ (gtk_micro_version != $gtk_config_micro_version))
3520+ {
3521+ printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
3522+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
3523+ gtk_major_version, gtk_minor_version, gtk_micro_version);
3524+ printf ("*** was found! If pkg-config was correct, then it is best\n");
3525+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
3526+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3527+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3528+ printf("*** required on your system.\n");
3529+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
3530+ printf("*** to point to the correct configuration files\n");
3531+ }
3532+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
3533+ (gtk_minor_version != GTK_MINOR_VERSION) ||
3534+ (gtk_micro_version != GTK_MICRO_VERSION))
3535+ {
3536+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
3537+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
3538+ printf("*** library (version %d.%d.%d)\n",
3539+ gtk_major_version, gtk_minor_version, gtk_micro_version);
3540+ }
3541+ else
3542+ {
3543+ if ((gtk_major_version > major) ||
3544+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
3545+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
3546+ {
3547+ return 0;
3548+ }
3549+ else
3550+ {
3551+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
3552+ gtk_major_version, gtk_minor_version, gtk_micro_version);
3553+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
3554+ major, minor, micro);
3555+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
3556+ printf("***\n");
3557+ printf("*** If you have already installed a sufficiently new version, this error\n");
3558+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
3559+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
3560+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
3561+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
3562+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3563+ printf("*** so that the correct libraries are found at run-time))\n");
3564+ }
3565+ }
3566+ return 1;
3567+}
3568+
3569+_ACEOF
3570+if ac_fn_c_try_run "$LINENO"; then :
3571+
3572+else
3573+ no_gtk=yes
3574+fi
3575+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3576+ conftest.$ac_objext conftest.beam conftest.$ac_ext
3577+fi
3578+
3579+ CFLAGS="$ac_save_CFLAGS"
3580+ LIBS="$ac_save_LIBS"
3581+ fi
3582+ fi
3583+ if test "x$no_gtk" = x ; then
3584+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
3585+$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
3586+ :
3587+ else
3588+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589+$as_echo "no" >&6; }
3590+ if test "$PKG_CONFIG" = "no" ; then
3591+ echo "*** A new enough version of pkg-config was not found."
3592+ echo "*** See http://pkgconfig.sourceforge.net"
3593+ else
3594+ if test -f conf.gtktest ; then
3595+ :
3596+ else
3597+ echo "*** Could not run GTK+ test program, checking why..."
3598+ ac_save_CFLAGS="$CFLAGS"
3599+ ac_save_LIBS="$LIBS"
3600+ CFLAGS="$CFLAGS $GTK_CFLAGS"
3601+ LIBS="$LIBS $GTK_LIBS"
3602+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603+/* end confdefs.h. */
3604+
3605+#include <gtk/gtk.h>
3606+#include <stdio.h>
3607+
3608+int
3609+main ()
3610+{
3611+ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3612+ ;
3613+ return 0;
3614+}
3615+_ACEOF
3616+if ac_fn_c_try_link "$LINENO"; then :
3617+ echo "*** The test program compiled, but did not run. This usually means"
3618+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
3619+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
3620+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3621+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
3622+ echo "*** is required on your system"
3623+ echo "***"
3624+ echo "*** If you have an old version installed, it is best to remove it, although"
3625+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3626+else
3627+ echo "*** The test program failed to compile or link. See the file config.log for the"
3628+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
3629+fi
3630+rm -f core conftest.err conftest.$ac_objext \
3631+ conftest$ac_exeext conftest.$ac_ext
3632+ CFLAGS="$ac_save_CFLAGS"
3633+ LIBS="$ac_save_LIBS"
3634+ fi
3635+ fi
3636+ GTK_CFLAGS=""
3637+ GTK_LIBS=""
3638+ as_fn_error $? "Test for GTK failed." "$LINENO" 5
3639+ fi
3640+
3641+
3642+ rm -f conf.gtktest
3643+
3644+
3645+# Checks for typedefs, structures, and compiler characteristics.
3646+
3647+# Checks for library functions.
3648+
3649+ac_config_files="$ac_config_files Makefile src/Makefile"
3650+
3651+cat >confcache <<\_ACEOF
3652+# This file is a shell script that caches the results of configure
3653+# tests run on this system so they can be shared between configure
3654+# scripts and configure runs, see configure's option --config-cache.
3655+# It is not useful on other systems. If it contains results you don't
3656+# want to keep, you may remove or edit it.
3657+#
3658+# config.status only pays attention to the cache file if you give it
3659+# the --recheck option to rerun configure.
3660+#
3661+# `ac_cv_env_foo' variables (set or unset) will be overridden when
3662+# loading this file, other *unset* `ac_cv_foo' will be assigned the
3663+# following values.
3664+
3665+_ACEOF
3666+
3667+# The following way of writing the cache mishandles newlines in values,
3668+# but we know of no workaround that is simple, portable, and efficient.
3669+# So, we kill variables containing newlines.
3670+# Ultrix sh set writes to stderr and can't be redirected directly,
3671+# and sets the high bit in the cache file unless we assign to the vars.
3672+(
3673+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3674+ eval ac_val=\$$ac_var
3675+ case $ac_val in #(
3676+ *${as_nl}*)
3677+ case $ac_var in #(
3678+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3679+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3680+ esac
3681+ case $ac_var in #(
3682+ _ | IFS | as_nl) ;; #(
3683+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3684+ *) { eval $ac_var=; unset $ac_var;} ;;
3685+ esac ;;
3686+ esac
3687+ done
3688+
3689+ (set) 2>&1 |
3690+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
3691+ *${as_nl}ac_space=\ *)
3692+ # `set' does not quote correctly, so add quotes: double-quote
3693+ # substitution turns \\\\ into \\, and sed turns \\ into \.
3694+ sed -n \
3695+ "s/'/'\\\\''/g;
3696+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3697+ ;; #(
3698+ *)
3699+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3700+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3701+ ;;
3702+ esac |
3703+ sort
3704+) |
3705+ sed '
3706+ /^ac_cv_env_/b end
3707+ t clear
3708+ :clear
3709+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3710+ t end
3711+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3712+ :end' >>confcache
3713+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3714+ if test -w "$cache_file"; then
3715+ if test "x$cache_file" != "x/dev/null"; then
3716+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3717+$as_echo "$as_me: updating cache $cache_file" >&6;}
3718+ if test ! -f "$cache_file" || test -h "$cache_file"; then
3719+ cat confcache >"$cache_file"
3720+ else
3721+ case $cache_file in #(
3722+ */* | ?:*)
3723+ mv -f confcache "$cache_file"$$ &&
3724+ mv -f "$cache_file"$$ "$cache_file" ;; #(
3725+ *)
3726+ mv -f confcache "$cache_file" ;;
3727+ esac
3728+ fi
3729+ fi
3730+ else
3731+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3732+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3733+ fi
3734+fi
3735+rm -f confcache
3736+
3737+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3738+# Let make expand exec_prefix.
3739+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3740+
3741+DEFS=-DHAVE_CONFIG_H
3742+
3743+ac_libobjs=
3744+ac_ltlibobjs=
3745+U=
3746+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3747+ # 1. Remove the extension, and $U if already installed.
3748+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3749+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3750+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3751+ # will be set to the directory where LIBOBJS objects are built.
3752+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3753+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3754+done
3755+LIBOBJS=$ac_libobjs
3756+
3757+LTLIBOBJS=$ac_ltlibobjs
3758+
3759+
3760+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3761+$as_echo_n "checking that generated files are newer than configure... " >&6; }
3762+ if test -n "$am_sleep_pid"; then
3763+ # Hide warnings about reused PIDs.
3764+ wait $am_sleep_pid 2>/dev/null
3765+ fi
3766+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3767+$as_echo "done" >&6; }
3768+ if test -n "$EXEEXT"; then
3769+ am__EXEEXT_TRUE=
3770+ am__EXEEXT_FALSE='#'
3771+else
3772+ am__EXEEXT_TRUE='#'
3773+ am__EXEEXT_FALSE=
3774+fi
3775+
3776+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3777+ as_fn_error $? "conditional \"AMDEP\" was never defined.
3778+Usually this means the macro was only invoked conditionally." "$LINENO" 5
3779+fi
3780+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3781+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3782+Usually this means the macro was only invoked conditionally." "$LINENO" 5
3783+fi
3784+
3785+: "${CONFIG_STATUS=./config.status}"
3786+ac_write_fail=0
3787+ac_clean_files_save=$ac_clean_files
3788+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3789+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3790+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3791+as_write_fail=0
3792+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3793+#! $SHELL
3794+# Generated by $as_me.
3795+# Run this file to recreate the current configuration.
3796+# Compiler output produced by configure, useful for debugging
3797+# configure, is in config.log if it exists.
3798+
3799+debug=false
3800+ac_cs_recheck=false
3801+ac_cs_silent=false
3802+
3803+SHELL=\${CONFIG_SHELL-$SHELL}
3804+export SHELL
3805+_ASEOF
3806+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3807+## -------------------- ##
3808+## M4sh Initialization. ##
3809+## -------------------- ##
3810+
3811+# Be more Bourne compatible
3812+DUALCASE=1; export DUALCASE # for MKS sh
3813+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3814+ emulate sh
3815+ NULLCMD=:
3816+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3817+ # is contrary to our usage. Disable this feature.
3818+ alias -g '${1+"$@"}'='"$@"'
3819+ setopt NO_GLOB_SUBST
3820+else
3821+ case `(set -o) 2>/dev/null` in #(
3822+ *posix*) :
3823+ set -o posix ;; #(
3824+ *) :
3825+ ;;
3826+esac
3827+fi
3828+
3829+
3830+as_nl='
3831+'
3832+export as_nl
3833+# Printing a long string crashes Solaris 7 /usr/bin/printf.
3834+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3835+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3836+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3837+# Prefer a ksh shell builtin over an external printf program on Solaris,
3838+# but without wasting forks for bash or zsh.
3839+if test -z "$BASH_VERSION$ZSH_VERSION" \
3840+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3841+ as_echo='print -r --'
3842+ as_echo_n='print -rn --'
3843+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3844+ as_echo='printf %s\n'
3845+ as_echo_n='printf %s'
3846+else
3847+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3848+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3849+ as_echo_n='/usr/ucb/echo -n'
3850+ else
3851+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3852+ as_echo_n_body='eval
3853+ arg=$1;
3854+ case $arg in #(
3855+ *"$as_nl"*)
3856+ expr "X$arg" : "X\\(.*\\)$as_nl";
3857+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3858+ esac;
3859+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3860+ '
3861+ export as_echo_n_body
3862+ as_echo_n='sh -c $as_echo_n_body as_echo'
3863+ fi
3864+ export as_echo_body
3865+ as_echo='sh -c $as_echo_body as_echo'
3866+fi
3867+
3868+# The user is always right.
3869+if test "${PATH_SEPARATOR+set}" != set; then
3870+ PATH_SEPARATOR=:
3871+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3872+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3873+ PATH_SEPARATOR=';'
3874+ }
3875+fi
3876+
3877+
3878+# IFS
3879+# We need space, tab and new line, in precisely that order. Quoting is
3880+# there to prevent editors from complaining about space-tab.
3881+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3882+# splitting by setting IFS to empty value.)
3883+IFS=" "" $as_nl"
3884+
3885+# Find who we are. Look in the path if we contain no directory separator.
3886+as_myself=
3887+case $0 in #((
3888+ *[\\/]* ) as_myself=$0 ;;
3889+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890+for as_dir in $PATH
3891+do
3892+ IFS=$as_save_IFS
3893+ test -z "$as_dir" && as_dir=.
3894+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3895+ done
3896+IFS=$as_save_IFS
3897+
3898+ ;;
3899+esac
3900+# We did not find ourselves, most probably we were run as `sh COMMAND'
3901+# in which case we are not to be found in the path.
3902+if test "x$as_myself" = x; then
3903+ as_myself=$0
3904+fi
3905+if test ! -f "$as_myself"; then
3906+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3907+ exit 1
3908+fi
3909+
3910+# Unset variables that we do not need and which cause bugs (e.g. in
3911+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3912+# suppresses any "Segmentation fault" message there. '((' could
3913+# trigger a bug in pdksh 5.2.14.
3914+for as_var in BASH_ENV ENV MAIL MAILPATH
3915+do eval test x\${$as_var+set} = xset \
3916+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3917+done
3918+PS1='$ '
3919+PS2='> '
3920+PS4='+ '
3921+
3922+# NLS nuisances.
3923+LC_ALL=C
3924+export LC_ALL
3925+LANGUAGE=C
3926+export LANGUAGE
3927+
3928+# CDPATH.
3929+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3930+
3931+
3932+# as_fn_error STATUS ERROR [LINENO LOG_FD]
3933+# ----------------------------------------
3934+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3935+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3936+# script with STATUS, using 1 if that was 0.
3937+as_fn_error ()
3938+{
3939+ as_status=$1; test $as_status -eq 0 && as_status=1
3940+ if test "$4"; then
3941+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3942+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3943+ fi
3944+ $as_echo "$as_me: error: $2" >&2
3945+ as_fn_exit $as_status
3946+} # as_fn_error
3947+
3948+
3949+# as_fn_set_status STATUS
3950+# -----------------------
3951+# Set $? to STATUS, without forking.
3952+as_fn_set_status ()
3953+{
3954+ return $1
3955+} # as_fn_set_status
3956+
3957+# as_fn_exit STATUS
3958+# -----------------
3959+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3960+as_fn_exit ()
3961+{
3962+ set +e
3963+ as_fn_set_status $1
3964+ exit $1
3965+} # as_fn_exit
3966+
3967+# as_fn_unset VAR
3968+# ---------------
3969+# Portably unset VAR.
3970+as_fn_unset ()
3971+{
3972+ { eval $1=; unset $1;}
3973+}
3974+as_unset=as_fn_unset
3975+# as_fn_append VAR VALUE
3976+# ----------------------
3977+# Append the text in VALUE to the end of the definition contained in VAR. Take
3978+# advantage of any shell optimizations that allow amortized linear growth over
3979+# repeated appends, instead of the typical quadratic growth present in naive
3980+# implementations.
3981+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3982+ eval 'as_fn_append ()
3983+ {
3984+ eval $1+=\$2
3985+ }'
3986+else
3987+ as_fn_append ()
3988+ {
3989+ eval $1=\$$1\$2
3990+ }
3991+fi # as_fn_append
3992+
3993+# as_fn_arith ARG...
3994+# ------------------
3995+# Perform arithmetic evaluation on the ARGs, and store the result in the
3996+# global $as_val. Take advantage of shells that can avoid forks. The arguments
3997+# must be portable across $(()) and expr.
3998+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3999+ eval 'as_fn_arith ()
4000+ {
4001+ as_val=$(( $* ))
4002+ }'
4003+else
4004+ as_fn_arith ()
4005+ {
4006+ as_val=`expr "$@" || test $? -eq 1`
4007+ }
4008+fi # as_fn_arith
4009+
4010+
4011+if expr a : '\(a\)' >/dev/null 2>&1 &&
4012+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
4013+ as_expr=expr
4014+else
4015+ as_expr=false
4016+fi
4017+
4018+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4019+ as_basename=basename
4020+else
4021+ as_basename=false
4022+fi
4023+
4024+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4025+ as_dirname=dirname
4026+else
4027+ as_dirname=false
4028+fi
4029+
4030+as_me=`$as_basename -- "$0" ||
4031+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4032+ X"$0" : 'X\(//\)$' \| \
4033+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4034+$as_echo X/"$0" |
4035+ sed '/^.*\/\([^/][^/]*\)\/*$/{
4036+ s//\1/
4037+ q
4038+ }
4039+ /^X\/\(\/\/\)$/{
4040+ s//\1/
4041+ q
4042+ }
4043+ /^X\/\(\/\).*/{
4044+ s//\1/
4045+ q
4046+ }
4047+ s/.*/./; q'`
4048+
4049+# Avoid depending upon Character Ranges.
4050+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4051+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4052+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4053+as_cr_digits='0123456789'
4054+as_cr_alnum=$as_cr_Letters$as_cr_digits
4055+
4056+ECHO_C= ECHO_N= ECHO_T=
4057+case `echo -n x` in #(((((
4058+-n*)
4059+ case `echo 'xy\c'` in
4060+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4061+ xy) ECHO_C='\c';;
4062+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4063+ ECHO_T=' ';;
4064+ esac;;
4065+*)
4066+ ECHO_N='-n';;
4067+esac
4068+
4069+rm -f conf$$ conf$$.exe conf$$.file
4070+if test -d conf$$.dir; then
4071+ rm -f conf$$.dir/conf$$.file
4072+else
4073+ rm -f conf$$.dir
4074+ mkdir conf$$.dir 2>/dev/null
4075+fi
4076+if (echo >conf$$.file) 2>/dev/null; then
4077+ if ln -s conf$$.file conf$$ 2>/dev/null; then
4078+ as_ln_s='ln -s'
4079+ # ... but there are two gotchas:
4080+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4081+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4082+ # In both cases, we have to default to `cp -pR'.
4083+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4084+ as_ln_s='cp -pR'
4085+ elif ln conf$$.file conf$$ 2>/dev/null; then
4086+ as_ln_s=ln
4087+ else
4088+ as_ln_s='cp -pR'
4089+ fi
4090+else
4091+ as_ln_s='cp -pR'
4092+fi
4093+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4094+rmdir conf$$.dir 2>/dev/null
4095+
4096+
4097+# as_fn_mkdir_p
4098+# -------------
4099+# Create "$as_dir" as a directory, including parents if necessary.
4100+as_fn_mkdir_p ()
4101+{
4102+
4103+ case $as_dir in #(
4104+ -*) as_dir=./$as_dir;;
4105+ esac
4106+ test -d "$as_dir" || eval $as_mkdir_p || {
4107+ as_dirs=
4108+ while :; do
4109+ case $as_dir in #(
4110+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4111+ *) as_qdir=$as_dir;;
4112+ esac
4113+ as_dirs="'$as_qdir' $as_dirs"
4114+ as_dir=`$as_dirname -- "$as_dir" ||
4115+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4116+ X"$as_dir" : 'X\(//\)[^/]' \| \
4117+ X"$as_dir" : 'X\(//\)$' \| \
4118+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4119+$as_echo X"$as_dir" |
4120+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4121+ s//\1/
4122+ q
4123+ }
4124+ /^X\(\/\/\)[^/].*/{
4125+ s//\1/
4126+ q
4127+ }
4128+ /^X\(\/\/\)$/{
4129+ s//\1/
4130+ q
4131+ }
4132+ /^X\(\/\).*/{
4133+ s//\1/
4134+ q
4135+ }
4136+ s/.*/./; q'`
4137+ test -d "$as_dir" && break
4138+ done
4139+ test -z "$as_dirs" || eval "mkdir $as_dirs"
4140+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4141+
4142+
4143+} # as_fn_mkdir_p
4144+if mkdir -p . 2>/dev/null; then
4145+ as_mkdir_p='mkdir -p "$as_dir"'
4146+else
4147+ test -d ./-p && rmdir ./-p
4148+ as_mkdir_p=false
4149+fi
4150+
4151+
4152+# as_fn_executable_p FILE
4153+# -----------------------
4154+# Test if FILE is an executable regular file.
4155+as_fn_executable_p ()
4156+{
4157+ test -f "$1" && test -x "$1"
4158+} # as_fn_executable_p
4159+as_test_x='test -x'
4160+as_executable_p=as_fn_executable_p
4161+
4162+# Sed expression to map a string onto a valid CPP name.
4163+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4164+
4165+# Sed expression to map a string onto a valid variable name.
4166+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4167+
4168+
4169+exec 6>&1
4170+## ----------------------------------- ##
4171+## Main body of $CONFIG_STATUS script. ##
4172+## ----------------------------------- ##
4173+_ASEOF
4174+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4175+
4176+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4177+# Save the log message, to keep $0 and so on meaningful, and to
4178+# report actual input values of CONFIG_FILES etc. instead of their
4179+# values after options handling.
4180+ac_log="
4181+This file was extended by autotoolstest $as_me gtk.01, which was
4182+generated by GNU Autoconf 2.69. Invocation command line was
4183+
4184+ CONFIG_FILES = $CONFIG_FILES
4185+ CONFIG_HEADERS = $CONFIG_HEADERS
4186+ CONFIG_LINKS = $CONFIG_LINKS
4187+ CONFIG_COMMANDS = $CONFIG_COMMANDS
4188+ $ $0 $@
4189+
4190+on `(hostname || uname -n) 2>/dev/null | sed 1q`
4191+"
4192+
4193+_ACEOF
4194+
4195+case $ac_config_files in *"
4196+"*) set x $ac_config_files; shift; ac_config_files=$*;;
4197+esac
4198+
4199+case $ac_config_headers in *"
4200+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4201+esac
4202+
4203+
4204+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4205+# Files that config.status was made for.
4206+config_files="$ac_config_files"
4207+config_headers="$ac_config_headers"
4208+config_commands="$ac_config_commands"
4209+
4210+_ACEOF
4211+
4212+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4213+ac_cs_usage="\
4214+\`$as_me' instantiates files and other configuration actions
4215+from templates according to the current configuration. Unless the files
4216+and actions are specified as TAGs, all are instantiated by default.
4217+
4218+Usage: $0 [OPTION]... [TAG]...
4219+
4220+ -h, --help print this help, then exit
4221+ -V, --version print version number and configuration settings, then exit
4222+ --config print configuration, then exit
4223+ -q, --quiet, --silent
4224+ do not print progress messages
4225+ -d, --debug don't remove temporary files
4226+ --recheck update $as_me by reconfiguring in the same conditions
4227+ --file=FILE[:TEMPLATE]
4228+ instantiate the configuration file FILE
4229+ --header=FILE[:TEMPLATE]
4230+ instantiate the configuration header FILE
4231+
4232+Configuration files:
4233+$config_files
4234+
4235+Configuration headers:
4236+$config_headers
4237+
4238+Configuration commands:
4239+$config_commands
4240+
4241+Report bugs to <matsuand AT users DT sourceforge DT jp>."
4242+
4243+_ACEOF
4244+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4245+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4246+ac_cs_version="\\
4247+autotoolstest config.status gtk.01
4248+configured by $0, generated by GNU Autoconf 2.69,
4249+ with options \\"\$ac_cs_config\\"
4250+
4251+Copyright (C) 2012 Free Software Foundation, Inc.
4252+This config.status script is free software; the Free Software Foundation
4253+gives unlimited permission to copy, distribute and modify it."
4254+
4255+ac_pwd='$ac_pwd'
4256+srcdir='$srcdir'
4257+INSTALL='$INSTALL'
4258+MKDIR_P='$MKDIR_P'
4259+AWK='$AWK'
4260+test -n "\$AWK" || AWK=awk
4261+_ACEOF
4262+
4263+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4264+# The default lists apply if the user does not specify any file.
4265+ac_need_defaults=:
4266+while test $# != 0
4267+do
4268+ case $1 in
4269+ --*=?*)
4270+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
4271+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4272+ ac_shift=:
4273+ ;;
4274+ --*=)
4275+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
4276+ ac_optarg=
4277+ ac_shift=:
4278+ ;;
4279+ *)
4280+ ac_option=$1
4281+ ac_optarg=$2
4282+ ac_shift=shift
4283+ ;;
4284+ esac
4285+
4286+ case $ac_option in
4287+ # Handling of the options.
4288+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4289+ ac_cs_recheck=: ;;
4290+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4291+ $as_echo "$ac_cs_version"; exit ;;
4292+ --config | --confi | --conf | --con | --co | --c )
4293+ $as_echo "$ac_cs_config"; exit ;;
4294+ --debug | --debu | --deb | --de | --d | -d )
4295+ debug=: ;;
4296+ --file | --fil | --fi | --f )
4297+ $ac_shift
4298+ case $ac_optarg in
4299+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4300+ '') as_fn_error $? "missing file argument" ;;
4301+ esac
4302+ as_fn_append CONFIG_FILES " '$ac_optarg'"
4303+ ac_need_defaults=false;;
4304+ --header | --heade | --head | --hea )
4305+ $ac_shift
4306+ case $ac_optarg in
4307+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4308+ esac
4309+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4310+ ac_need_defaults=false;;
4311+ --he | --h)
4312+ # Conflict between --help and --header
4313+ as_fn_error $? "ambiguous option: \`$1'
4314+Try \`$0 --help' for more information.";;
4315+ --help | --hel | -h )
4316+ $as_echo "$ac_cs_usage"; exit ;;
4317+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4318+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
4319+ ac_cs_silent=: ;;
4320+
4321+ # This is an error.
4322+ -*) as_fn_error $? "unrecognized option: \`$1'
4323+Try \`$0 --help' for more information." ;;
4324+
4325+ *) as_fn_append ac_config_targets " $1"
4326+ ac_need_defaults=false ;;
4327+
4328+ esac
4329+ shift
4330+done
4331+
4332+ac_configure_extra_args=
4333+
4334+if $ac_cs_silent; then
4335+ exec 6>/dev/null
4336+ ac_configure_extra_args="$ac_configure_extra_args --silent"
4337+fi
4338+
4339+_ACEOF
4340+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4341+if \$ac_cs_recheck; then
4342+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4343+ shift
4344+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4345+ CONFIG_SHELL='$SHELL'
4346+ export CONFIG_SHELL
4347+ exec "\$@"
4348+fi
4349+
4350+_ACEOF
4351+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4352+exec 5>>config.log
4353+{
4354+ echo
4355+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4356+## Running $as_me. ##
4357+_ASBOX
4358+ $as_echo "$ac_log"
4359+} >&5
4360+
4361+_ACEOF
4362+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4363+#
4364+# INIT-COMMANDS
4365+#
4366+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4367+
4368+_ACEOF
4369+
4370+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4371+
4372+# Handling of arguments.
4373+for ac_config_target in $ac_config_targets
4374+do
4375+ case $ac_config_target in
4376+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4377+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4378+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4379+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4380+
4381+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4382+ esac
4383+done
4384+
4385+
4386+# If the user did not use the arguments to specify the items to instantiate,
4387+# then the envvar interface is used. Set only those that are not.
4388+# We use the long form for the default assignment because of an extremely
4389+# bizarre bug on SunOS 4.1.3.
4390+if $ac_need_defaults; then
4391+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4392+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4393+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4394+fi
4395+
4396+# Have a temporary directory for convenience. Make it in the build tree
4397+# simply because there is no reason against having it here, and in addition,
4398+# creating and moving files from /tmp can sometimes cause problems.
4399+# Hook for its removal unless debugging.
4400+# Note that there is a small window in which the directory will not be cleaned:
4401+# after its creation but before its name has been assigned to `$tmp'.
4402+$debug ||
4403+{
4404+ tmp= ac_tmp=
4405+ trap 'exit_status=$?
4406+ : "${ac_tmp:=$tmp}"
4407+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4408+' 0
4409+ trap 'as_fn_exit 1' 1 2 13 15
4410+}
4411+# Create a (secure) tmp directory for tmp files.
4412+
4413+{
4414+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4415+ test -d "$tmp"
4416+} ||
4417+{
4418+ tmp=./conf$$-$RANDOM
4419+ (umask 077 && mkdir "$tmp")
4420+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4421+ac_tmp=$tmp
4422+
4423+# Set up the scripts for CONFIG_FILES section.
4424+# No need to generate them if there are no CONFIG_FILES.
4425+# This happens for instance with `./config.status config.h'.
4426+if test -n "$CONFIG_FILES"; then
4427+
4428+
4429+ac_cr=`echo X | tr X '\015'`
4430+# On cygwin, bash can eat \r inside `` if the user requested igncr.
4431+# But we know of no other shell where ac_cr would be empty at this
4432+# point, so we can use a bashism as a fallback.
4433+if test "x$ac_cr" = x; then
4434+ eval ac_cr=\$\'\\r\'
4435+fi
4436+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4437+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4438+ ac_cs_awk_cr='\\r'
4439+else
4440+ ac_cs_awk_cr=$ac_cr
4441+fi
4442+
4443+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4444+_ACEOF
4445+
4446+
4447+{
4448+ echo "cat >conf$$subs.awk <<_ACEOF" &&
4449+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4450+ echo "_ACEOF"
4451+} >conf$$subs.sh ||
4452+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4453+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4454+ac_delim='%!_!# '
4455+for ac_last_try in false false false false false :; do
4456+ . ./conf$$subs.sh ||
4457+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4458+
4459+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4460+ if test $ac_delim_n = $ac_delim_num; then
4461+ break
4462+ elif $ac_last_try; then
4463+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4464+ else
4465+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4466+ fi
4467+done
4468+rm -f conf$$subs.sh
4469+
4470+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4471+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4472+_ACEOF
4473+sed -n '
4474+h
4475+s/^/S["/; s/!.*/"]=/
4476+p
4477+g
4478+s/^[^!]*!//
4479+:repl
4480+t repl
4481+s/'"$ac_delim"'$//
4482+t delim
4483+:nl
4484+h
4485+s/\(.\{148\}\)..*/\1/
4486+t more1
4487+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4488+p
4489+n
4490+b repl
4491+:more1
4492+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4493+p
4494+g
4495+s/.\{148\}//
4496+t nl
4497+:delim
4498+h
4499+s/\(.\{148\}\)..*/\1/
4500+t more2
4501+s/["\\]/\\&/g; s/^/"/; s/$/"/
4502+p
4503+b
4504+:more2
4505+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4506+p
4507+g
4508+s/.\{148\}//
4509+t delim
4510+' <conf$$subs.awk | sed '
4511+/^[^""]/{
4512+ N
4513+ s/\n//
4514+}
4515+' >>$CONFIG_STATUS || ac_write_fail=1
4516+rm -f conf$$subs.awk
4517+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4518+_ACAWK
4519+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4520+ for (key in S) S_is_set[key] = 1
4521+ FS = ""
4522+
4523+}
4524+{
4525+ line = $ 0
4526+ nfields = split(line, field, "@")
4527+ substed = 0
4528+ len = length(field[1])
4529+ for (i = 2; i < nfields; i++) {
4530+ key = field[i]
4531+ keylen = length(key)
4532+ if (S_is_set[key]) {
4533+ value = S[key]
4534+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4535+ len += length(value) + length(field[++i])
4536+ substed = 1
4537+ } else
4538+ len += 1 + keylen
4539+ }
4540+
4541+ print line
4542+}
4543+
4544+_ACAWK
4545+_ACEOF
4546+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4547+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4548+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4549+else
4550+ cat
4551+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4552+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4553+_ACEOF
4554+
4555+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4556+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4557+# trailing colons and then remove the whole line if VPATH becomes empty
4558+# (actually we leave an empty line to preserve line numbers).
4559+if test "x$srcdir" = x.; then
4560+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4561+h
4562+s///
4563+s/^/:/
4564+s/[ ]*$/:/
4565+s/:\$(srcdir):/:/g
4566+s/:\${srcdir}:/:/g
4567+s/:@srcdir@:/:/g
4568+s/^:*//
4569+s/:*$//
4570+x
4571+s/\(=[ ]*\).*/\1/
4572+G
4573+s/\n//
4574+s/^[^=]*=[ ]*$//
4575+}'
4576+fi
4577+
4578+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4579+fi # test -n "$CONFIG_FILES"
4580+
4581+# Set up the scripts for CONFIG_HEADERS section.
4582+# No need to generate them if there are no CONFIG_HEADERS.
4583+# This happens for instance with `./config.status Makefile'.
4584+if test -n "$CONFIG_HEADERS"; then
4585+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4586+BEGIN {
4587+_ACEOF
4588+
4589+# Transform confdefs.h into an awk script `defines.awk', embedded as
4590+# here-document in config.status, that substitutes the proper values into
4591+# config.h.in to produce config.h.
4592+
4593+# Create a delimiter string that does not exist in confdefs.h, to ease
4594+# handling of long lines.
4595+ac_delim='%!_!# '
4596+for ac_last_try in false false :; do
4597+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4598+ if test -z "$ac_tt"; then
4599+ break
4600+ elif $ac_last_try; then
4601+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4602+ else
4603+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4604+ fi
4605+done
4606+
4607+# For the awk script, D is an array of macro values keyed by name,
4608+# likewise P contains macro parameters if any. Preserve backslash
4609+# newline sequences.
4610+
4611+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4612+sed -n '
4613+s/.\{148\}/&'"$ac_delim"'/g
4614+t rset
4615+:rset
4616+s/^[ ]*#[ ]*define[ ][ ]*/ /
4617+t def
4618+d
4619+:def
4620+s/\\$//
4621+t bsnl
4622+s/["\\]/\\&/g
4623+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4624+D["\1"]=" \3"/p
4625+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4626+d
4627+:bsnl
4628+s/["\\]/\\&/g
4629+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4630+D["\1"]=" \3\\\\\\n"\\/p
4631+t cont
4632+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4633+t cont
4634+d
4635+:cont
4636+n
4637+s/.\{148\}/&'"$ac_delim"'/g
4638+t clear
4639+:clear
4640+s/\\$//
4641+t bsnlc
4642+s/["\\]/\\&/g; s/^/"/; s/$/"/p
4643+d
4644+:bsnlc
4645+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4646+b cont
4647+' <confdefs.h | sed '
4648+s/'"$ac_delim"'/"\\\
4649+"/g' >>$CONFIG_STATUS || ac_write_fail=1
4650+
4651+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4652+ for (key in D) D_is_set[key] = 1
4653+ FS = ""
4654+}
4655+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4656+ line = \$ 0
4657+ split(line, arg, " ")
4658+ if (arg[1] == "#") {
4659+ defundef = arg[2]
4660+ mac1 = arg[3]
4661+ } else {
4662+ defundef = substr(arg[1], 2)
4663+ mac1 = arg[2]
4664+ }
4665+ split(mac1, mac2, "(") #)
4666+ macro = mac2[1]
4667+ prefix = substr(line, 1, index(line, defundef) - 1)
4668+ if (D_is_set[macro]) {
4669+ # Preserve the white space surrounding the "#".
4670+ print prefix "define", macro P[macro] D[macro]
4671+ next
4672+ } else {
4673+ # Replace #undef with comments. This is necessary, for example,
4674+ # in the case of _POSIX_SOURCE, which is predefined and required
4675+ # on some systems where configure will not decide to define it.
4676+ if (defundef == "undef") {
4677+ print "/*", prefix defundef, macro, "*/"
4678+ next
4679+ }
4680+ }
4681+}
4682+{ print }
4683+_ACAWK
4684+_ACEOF
4685+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4686+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4687+fi # test -n "$CONFIG_HEADERS"
4688+
4689+
4690+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4691+shift
4692+for ac_tag
4693+do
4694+ case $ac_tag in
4695+ :[FHLC]) ac_mode=$ac_tag; continue;;
4696+ esac
4697+ case $ac_mode$ac_tag in
4698+ :[FHL]*:*);;
4699+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4700+ :[FH]-) ac_tag=-:-;;
4701+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4702+ esac
4703+ ac_save_IFS=$IFS
4704+ IFS=:
4705+ set x $ac_tag
4706+ IFS=$ac_save_IFS
4707+ shift
4708+ ac_file=$1
4709+ shift
4710+
4711+ case $ac_mode in
4712+ :L) ac_source=$1;;
4713+ :[FH])
4714+ ac_file_inputs=
4715+ for ac_f
4716+ do
4717+ case $ac_f in
4718+ -) ac_f="$ac_tmp/stdin";;
4719+ *) # Look for the file first in the build tree, then in the source tree
4720+ # (if the path is not absolute). The absolute path cannot be DOS-style,
4721+ # because $ac_f cannot contain `:'.
4722+ test -f "$ac_f" ||
4723+ case $ac_f in
4724+ [\\/$]*) false;;
4725+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4726+ esac ||
4727+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4728+ esac
4729+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4730+ as_fn_append ac_file_inputs " '$ac_f'"
4731+ done
4732+
4733+ # Let's still pretend it is `configure' which instantiates (i.e., don't
4734+ # use $as_me), people would be surprised to read:
4735+ # /* config.h. Generated by config.status. */
4736+ configure_input='Generated from '`
4737+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4738+ `' by configure.'
4739+ if test x"$ac_file" != x-; then
4740+ configure_input="$ac_file. $configure_input"
4741+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4742+$as_echo "$as_me: creating $ac_file" >&6;}
4743+ fi
4744+ # Neutralize special characters interpreted by sed in replacement strings.
4745+ case $configure_input in #(
4746+ *\&* | *\|* | *\\* )
4747+ ac_sed_conf_input=`$as_echo "$configure_input" |
4748+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
4749+ *) ac_sed_conf_input=$configure_input;;
4750+ esac
4751+
4752+ case $ac_tag in
4753+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
4754+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4755+ esac
4756+ ;;
4757+ esac
4758+
4759+ ac_dir=`$as_dirname -- "$ac_file" ||
4760+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4761+ X"$ac_file" : 'X\(//\)[^/]' \| \
4762+ X"$ac_file" : 'X\(//\)$' \| \
4763+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4764+$as_echo X"$ac_file" |
4765+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4766+ s//\1/
4767+ q
4768+ }
4769+ /^X\(\/\/\)[^/].*/{
4770+ s//\1/
4771+ q
4772+ }
4773+ /^X\(\/\/\)$/{
4774+ s//\1/
4775+ q
4776+ }
4777+ /^X\(\/\).*/{
4778+ s//\1/
4779+ q
4780+ }
4781+ s/.*/./; q'`
4782+ as_dir="$ac_dir"; as_fn_mkdir_p
4783+ ac_builddir=.
4784+
4785+case "$ac_dir" in
4786+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4787+*)
4788+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4789+ # A ".." for each directory in $ac_dir_suffix.
4790+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4791+ case $ac_top_builddir_sub in
4792+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4793+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4794+ esac ;;
4795+esac
4796+ac_abs_top_builddir=$ac_pwd
4797+ac_abs_builddir=$ac_pwd$ac_dir_suffix
4798+# for backward compatibility:
4799+ac_top_builddir=$ac_top_build_prefix
4800+
4801+case $srcdir in
4802+ .) # We are building in place.
4803+ ac_srcdir=.
4804+ ac_top_srcdir=$ac_top_builddir_sub
4805+ ac_abs_top_srcdir=$ac_pwd ;;
4806+ [\\/]* | ?:[\\/]* ) # Absolute name.
4807+ ac_srcdir=$srcdir$ac_dir_suffix;
4808+ ac_top_srcdir=$srcdir
4809+ ac_abs_top_srcdir=$srcdir ;;
4810+ *) # Relative name.
4811+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4812+ ac_top_srcdir=$ac_top_build_prefix$srcdir
4813+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4814+esac
4815+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4816+
4817+
4818+ case $ac_mode in
4819+ :F)
4820+ #
4821+ # CONFIG_FILE
4822+ #
4823+
4824+ case $INSTALL in
4825+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4826+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4827+ esac
4828+ ac_MKDIR_P=$MKDIR_P
4829+ case $MKDIR_P in
4830+ [\\/$]* | ?:[\\/]* ) ;;
4831+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4832+ esac
4833+_ACEOF
4834+
4835+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4836+# If the template does not know about datarootdir, expand it.
4837+# FIXME: This hack should be removed a few years after 2.60.
4838+ac_datarootdir_hack=; ac_datarootdir_seen=
4839+ac_sed_dataroot='
4840+/datarootdir/ {
4841+ p
4842+ q
4843+}
4844+/@datadir@/p
4845+/@docdir@/p
4846+/@infodir@/p
4847+/@localedir@/p
4848+/@mandir@/p'
4849+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4850+*datarootdir*) ac_datarootdir_seen=yes;;
4851+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4852+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4853+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4854+_ACEOF
4855+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4856+ ac_datarootdir_hack='
4857+ s&@datadir@&$datadir&g
4858+ s&@docdir@&$docdir&g
4859+ s&@infodir@&$infodir&g
4860+ s&@localedir@&$localedir&g
4861+ s&@mandir@&$mandir&g
4862+ s&\\\${datarootdir}&$datarootdir&g' ;;
4863+esac
4864+_ACEOF
4865+
4866+# Neutralize VPATH when `$srcdir' = `.'.
4867+# Shell code in configure.ac might set extrasub.
4868+# FIXME: do we really want to maintain this feature?
4869+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4870+ac_sed_extra="$ac_vpsub
4871+$extrasub
4872+_ACEOF
4873+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4874+:t
4875+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4876+s|@configure_input@|$ac_sed_conf_input|;t t
4877+s&@top_builddir@&$ac_top_builddir_sub&;t t
4878+s&@top_build_prefix@&$ac_top_build_prefix&;t t
4879+s&@srcdir@&$ac_srcdir&;t t
4880+s&@abs_srcdir@&$ac_abs_srcdir&;t t
4881+s&@top_srcdir@&$ac_top_srcdir&;t t
4882+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4883+s&@builddir@&$ac_builddir&;t t
4884+s&@abs_builddir@&$ac_abs_builddir&;t t
4885+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4886+s&@INSTALL@&$ac_INSTALL&;t t
4887+s&@MKDIR_P@&$ac_MKDIR_P&;t t
4888+$ac_datarootdir_hack
4889+"
4890+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4891+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4892+
4893+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4894+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4895+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4896+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
4897+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4898+which seems to be undefined. Please make sure it is defined" >&5
4899+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4900+which seems to be undefined. Please make sure it is defined" >&2;}
4901+
4902+ rm -f "$ac_tmp/stdin"
4903+ case $ac_file in
4904+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4905+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4906+ esac \
4907+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4908+ ;;
4909+ :H)
4910+ #
4911+ # CONFIG_HEADER
4912+ #
4913+ if test x"$ac_file" != x-; then
4914+ {
4915+ $as_echo "/* $configure_input */" \
4916+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4917+ } >"$ac_tmp/config.h" \
4918+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4919+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4920+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4921+$as_echo "$as_me: $ac_file is unchanged" >&6;}
4922+ else
4923+ rm -f "$ac_file"
4924+ mv "$ac_tmp/config.h" "$ac_file" \
4925+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4926+ fi
4927+ else
4928+ $as_echo "/* $configure_input */" \
4929+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4930+ || as_fn_error $? "could not create -" "$LINENO" 5
4931+ fi
4932+# Compute "$ac_file"'s index in $config_headers.
4933+_am_arg="$ac_file"
4934+_am_stamp_count=1
4935+for _am_header in $config_headers :; do
4936+ case $_am_header in
4937+ $_am_arg | $_am_arg:* )
4938+ break ;;
4939+ * )
4940+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4941+ esac
4942+done
4943+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4944+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4945+ X"$_am_arg" : 'X\(//\)[^/]' \| \
4946+ X"$_am_arg" : 'X\(//\)$' \| \
4947+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4948+$as_echo X"$_am_arg" |
4949+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4950+ s//\1/
4951+ q
4952+ }
4953+ /^X\(\/\/\)[^/].*/{
4954+ s//\1/
4955+ q
4956+ }
4957+ /^X\(\/\/\)$/{
4958+ s//\1/
4959+ q
4960+ }
4961+ /^X\(\/\).*/{
4962+ s//\1/
4963+ q
4964+ }
4965+ s/.*/./; q'`/stamp-h$_am_stamp_count
4966+ ;;
4967+
4968+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4969+$as_echo "$as_me: executing $ac_file commands" >&6;}
4970+ ;;
4971+ esac
4972+
4973+
4974+ case $ac_file$ac_mode in
4975+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4976+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
4977+ # are listed without --file. Let's play safe and only enable the eval
4978+ # if we detect the quoting.
4979+ case $CONFIG_FILES in
4980+ *\'*) eval set x "$CONFIG_FILES" ;;
4981+ *) set x $CONFIG_FILES ;;
4982+ esac
4983+ shift
4984+ for mf
4985+ do
4986+ # Strip MF so we end up with the name of the file.
4987+ mf=`echo "$mf" | sed -e 's/:.*$//'`
4988+ # Check whether this is an Automake generated Makefile or not.
4989+ # We used to match only the files named 'Makefile.in', but
4990+ # some people rename them; so instead we look at the file content.
4991+ # Grep'ing the first line is not enough: some people post-process
4992+ # each Makefile.in and add a new line on top of each file to say so.
4993+ # Grep'ing the whole file is not good either: AIX grep has a line
4994+ # limit of 2048, but all sed's we know have understand at least 4000.
4995+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4996+ dirpart=`$as_dirname -- "$mf" ||
4997+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4998+ X"$mf" : 'X\(//\)[^/]' \| \
4999+ X"$mf" : 'X\(//\)$' \| \
5000+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5001+$as_echo X"$mf" |
5002+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5003+ s//\1/
5004+ q
5005+ }
5006+ /^X\(\/\/\)[^/].*/{
5007+ s//\1/
5008+ q
5009+ }
5010+ /^X\(\/\/\)$/{
5011+ s//\1/
5012+ q
5013+ }
5014+ /^X\(\/\).*/{
5015+ s//\1/
5016+ q
5017+ }
5018+ s/.*/./; q'`
5019+ else
5020+ continue
5021+ fi
5022+ # Extract the definition of DEPDIR, am__include, and am__quote
5023+ # from the Makefile without running 'make'.
5024+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5025+ test -z "$DEPDIR" && continue
5026+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
5027+ test -z "am__include" && continue
5028+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5029+ # Find all dependency output files, they are included files with
5030+ # $(DEPDIR) in their names. We invoke sed twice because it is the
5031+ # simplest approach to changing $(DEPDIR) to its actual value in the
5032+ # expansion.
5033+ for file in `sed -n "
5034+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5035+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5036+ # Make sure the directory exists.
5037+ test -f "$dirpart/$file" && continue
5038+ fdir=`$as_dirname -- "$file" ||
5039+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5040+ X"$file" : 'X\(//\)[^/]' \| \
5041+ X"$file" : 'X\(//\)$' \| \
5042+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5043+$as_echo X"$file" |
5044+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5045+ s//\1/
5046+ q
5047+ }
5048+ /^X\(\/\/\)[^/].*/{
5049+ s//\1/
5050+ q
5051+ }
5052+ /^X\(\/\/\)$/{
5053+ s//\1/
5054+ q
5055+ }
5056+ /^X\(\/\).*/{
5057+ s//\1/
5058+ q
5059+ }
5060+ s/.*/./; q'`
5061+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
5062+ # echo "creating $dirpart/$file"
5063+ echo '# dummy' > "$dirpart/$file"
5064+ done
5065+ done
5066+}
5067+ ;;
5068+
5069+ esac
5070+done # for ac_tag
5071+
5072+
5073+as_fn_exit 0
5074+_ACEOF
5075+ac_clean_files=$ac_clean_files_save
5076+
5077+test $ac_write_fail = 0 ||
5078+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5079+
5080+
5081+# configure is writing to config.log, and then calls config.status.
5082+# config.status does its own redirection, appending to config.log.
5083+# Unfortunately, on DOS this fails, as config.log is still kept open
5084+# by configure, so config.status won't be able to write to it; its
5085+# output is simply discarded. So we exec the FD to /dev/null,
5086+# effectively closing config.log, so it can be properly (re)opened and
5087+# appended to by config.status. When coming back to configure, we
5088+# need to make the FD available again.
5089+if test "$no_create" != yes; then
5090+ ac_cs_success=:
5091+ ac_config_status_args=
5092+ test "$silent" = yes &&
5093+ ac_config_status_args="$ac_config_status_args --quiet"
5094+ exec 5>/dev/null
5095+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5096+ exec 5>>config.log
5097+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5098+ # would make configure fail if this is the last instruction.
5099+ $ac_cs_success || as_fn_exit 1
5100+fi
5101+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5102+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5103+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5104+fi
5105+
--- /dev/null
+++ b/base/gtk01/configure.ac
@@ -0,0 +1,24 @@
1+# -*- Autoconf -*-
2+# Process this file with autoconf to produce a configure script.
3+
4+AC_PREREQ([2.69])
5+AC_INIT([autotoolstest], [gtk.01], [matsuand AT users DT sourceforge DT jp])
6+AC_CONFIG_SRCDIR([src/hello.c])
7+AC_CONFIG_HEADERS([config.h])
8+AM_INIT_AUTOMAKE
9+
10+# Checks for programs.
11+AC_PROG_CC
12+
13+# Checks for libraries.
14+
15+# Checks for header files.
16+AM_PATH_GTK_2_0(2.0.0,, [AC_MSG_ERROR(Test for GTK failed.)])
17+
18+# Checks for typedefs, structures, and compiler characteristics.
19+
20+# Checks for library functions.
21+
22+AC_CONFIG_FILES([Makefile
23+ src/Makefile])
24+AC_OUTPUT
--- /dev/null
+++ b/base/gtk01/depcomp
@@ -0,0 +1,780 @@
1+#! /bin/sh
2+# depcomp - compile a program generating dependencies as side-effects
3+
4+scriptversion=2012-07-12.20; # UTC
5+
6+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
7+
8+# This program is free software; you can redistribute it and/or modify
9+# it under the terms of the GNU General Public License as published by
10+# the Free Software Foundation; either version 2, or (at your option)
11+# any later version.
12+
13+# This program is distributed in the hope that it will be useful,
14+# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+# GNU General Public License for more details.
17+
18+# You should have received a copy of the GNU General Public License
19+# along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
21+# As a special exception to the GNU General Public License, if you
22+# distribute this file as part of a program that contains a
23+# configuration script generated by Autoconf, you may include it under
24+# the same distribution terms that you use for the rest of that program.
25+
26+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
27+
28+case $1 in
29+ '')
30+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
31+ exit 1;
32+ ;;
33+ -h | --h*)
34+ cat <<\EOF
35+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
36+
37+Run PROGRAMS ARGS to compile a file, generating dependencies
38+as side-effects.
39+
40+Environment variables:
41+ depmode Dependency tracking mode.
42+ source Source file read by 'PROGRAMS ARGS'.
43+ object Object file output by 'PROGRAMS ARGS'.
44+ DEPDIR directory where to store dependencies.
45+ depfile Dependency file to output.
46+ tmpdepfile Temporary file to use when outputting dependencies.
47+ libtool Whether libtool is used (yes/no).
48+
49+Report bugs to <bug-automake@gnu.org>.
50+EOF
51+ exit $?
52+ ;;
53+ -v | --v*)
54+ echo "depcomp $scriptversion"
55+ exit $?
56+ ;;
57+esac
58+
59+# A tabulation character.
60+tab=' '
61+# A newline character.
62+nl='
63+'
64+
65+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
66+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
67+ exit 1
68+fi
69+
70+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
71+depfile=${depfile-`echo "$object" |
72+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
73+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
74+
75+rm -f "$tmpdepfile"
76+
77+# Some modes work just like other modes, but use different flags. We
78+# parameterize here, but still list the modes in the big case below,
79+# to make depend.m4 easier to write. Note that we *cannot* use a case
80+# here, because this file can only contain one case statement.
81+if test "$depmode" = hp; then
82+ # HP compiler uses -M and no extra arg.
83+ gccflag=-M
84+ depmode=gcc
85+fi
86+
87+if test "$depmode" = dashXmstdout; then
88+ # This is just like dashmstdout with a different argument.
89+ dashmflag=-xM
90+ depmode=dashmstdout
91+fi
92+
93+cygpath_u="cygpath -u -f -"
94+if test "$depmode" = msvcmsys; then
95+ # This is just like msvisualcpp but w/o cygpath translation.
96+ # Just convert the backslash-escaped backslashes to single forward
97+ # slashes to satisfy depend.m4
98+ cygpath_u='sed s,\\\\,/,g'
99+ depmode=msvisualcpp
100+fi
101+
102+if test "$depmode" = msvc7msys; then
103+ # This is just like msvc7 but w/o cygpath translation.
104+ # Just convert the backslash-escaped backslashes to single forward
105+ # slashes to satisfy depend.m4
106+ cygpath_u='sed s,\\\\,/,g'
107+ depmode=msvc7
108+fi
109+
110+if test "$depmode" = xlc; then
111+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
112+ gccflag=-qmakedep=gcc,-MF
113+ depmode=gcc
114+fi
115+
116+case "$depmode" in
117+gcc3)
118+## gcc 3 implements dependency tracking that does exactly what
119+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
120+## it if -MD -MP comes after the -MF stuff. Hmm.
121+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
122+## the command line argument order; so add the flags where they
123+## appear in depend2.am. Note that the slowdown incurred here
124+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
125+ for arg
126+ do
127+ case $arg in
128+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
129+ *) set fnord "$@" "$arg" ;;
130+ esac
131+ shift # fnord
132+ shift # $arg
133+ done
134+ "$@"
135+ stat=$?
136+ if test $stat -eq 0; then :
137+ else
138+ rm -f "$tmpdepfile"
139+ exit $stat
140+ fi
141+ mv "$tmpdepfile" "$depfile"
142+ ;;
143+
144+gcc)
145+## There are various ways to get dependency output from gcc. Here's
146+## why we pick this rather obscure method:
147+## - Don't want to use -MD because we'd like the dependencies to end
148+## up in a subdir. Having to rename by hand is ugly.
149+## (We might end up doing this anyway to support other compilers.)
150+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
151+## -MM, not -M (despite what the docs say).
152+## - Using -M directly means running the compiler twice (even worse
153+## than renaming).
154+ if test -z "$gccflag"; then
155+ gccflag=-MD,
156+ fi
157+ "$@" -Wp,"$gccflag$tmpdepfile"
158+ stat=$?
159+ if test $stat -eq 0; then :
160+ else
161+ rm -f "$tmpdepfile"
162+ exit $stat
163+ fi
164+ rm -f "$depfile"
165+ echo "$object : \\" > "$depfile"
166+ alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
167+## The second -e expression handles DOS-style file names with drive letters.
168+ sed -e 's/^[^:]*: / /' \
169+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
170+## This next piece of magic avoids the "deleted header file" problem.
171+## The problem is that when a header file which appears in a .P file
172+## is deleted, the dependency causes make to die (because there is
173+## typically no way to rebuild the header). We avoid this by adding
174+## dummy dependencies for each header file. Too bad gcc doesn't do
175+## this for us directly.
176+ tr ' ' "$nl" < "$tmpdepfile" |
177+## Some versions of gcc put a space before the ':'. On the theory
178+## that the space means something, we add a space to the output as
179+## well. hp depmode also adds that space, but also prefixes the VPATH
180+## to the object. Take care to not repeat it in the output.
181+## Some versions of the HPUX 10.20 sed can't process this invocation
182+## correctly. Breaking it into two sed invocations is a workaround.
183+ sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
184+ | sed -e 's/$/ :/' >> "$depfile"
185+ rm -f "$tmpdepfile"
186+ ;;
187+
188+hp)
189+ # This case exists only to let depend.m4 do its work. It works by
190+ # looking at the text of this script. This case will never be run,
191+ # since it is checked for above.
192+ exit 1
193+ ;;
194+
195+sgi)
196+ if test "$libtool" = yes; then
197+ "$@" "-Wp,-MDupdate,$tmpdepfile"
198+ else
199+ "$@" -MDupdate "$tmpdepfile"
200+ fi
201+ stat=$?
202+ if test $stat -eq 0; then :
203+ else
204+ rm -f "$tmpdepfile"
205+ exit $stat
206+ fi
207+ rm -f "$depfile"
208+
209+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
210+ echo "$object : \\" > "$depfile"
211+
212+ # Clip off the initial element (the dependent). Don't try to be
213+ # clever and replace this with sed code, as IRIX sed won't handle
214+ # lines with more than a fixed number of characters (4096 in
215+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
216+ # the IRIX cc adds comments like '#:fec' to the end of the
217+ # dependency line.
218+ tr ' ' "$nl" < "$tmpdepfile" \
219+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
220+ tr "$nl" ' ' >> "$depfile"
221+ echo >> "$depfile"
222+
223+ # The second pass generates a dummy entry for each header file.
224+ tr ' ' "$nl" < "$tmpdepfile" \
225+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
226+ >> "$depfile"
227+ else
228+ # The sourcefile does not contain any dependencies, so just
229+ # store a dummy comment line, to avoid errors with the Makefile
230+ # "include basename.Plo" scheme.
231+ echo "#dummy" > "$depfile"
232+ fi
233+ rm -f "$tmpdepfile"
234+ ;;
235+
236+xlc)
237+ # This case exists only to let depend.m4 do its work. It works by
238+ # looking at the text of this script. This case will never be run,
239+ # since it is checked for above.
240+ exit 1
241+ ;;
242+
243+aix)
244+ # The C for AIX Compiler uses -M and outputs the dependencies
245+ # in a .u file. In older versions, this file always lives in the
246+ # current directory. Also, the AIX compiler puts '$object:' at the
247+ # start of each line; $object doesn't have directory information.
248+ # Version 6 uses the directory in both cases.
249+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
250+ test "x$dir" = "x$object" && dir=
251+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
252+ if test "$libtool" = yes; then
253+ tmpdepfile1=$dir$base.u
254+ tmpdepfile2=$base.u
255+ tmpdepfile3=$dir.libs/$base.u
256+ "$@" -Wc,-M
257+ else
258+ tmpdepfile1=$dir$base.u
259+ tmpdepfile2=$dir$base.u
260+ tmpdepfile3=$dir$base.u
261+ "$@" -M
262+ fi
263+ stat=$?
264+
265+ if test $stat -eq 0; then :
266+ else
267+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
268+ exit $stat
269+ fi
270+
271+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
272+ do
273+ test -f "$tmpdepfile" && break
274+ done
275+ if test -f "$tmpdepfile"; then
276+ # Each line is of the form 'foo.o: dependent.h'.
277+ # Do two passes, one to just change these to
278+ # '$object: dependent.h' and one to simply 'dependent.h:'.
279+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
280+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
281+ else
282+ # The sourcefile does not contain any dependencies, so just
283+ # store a dummy comment line, to avoid errors with the Makefile
284+ # "include basename.Plo" scheme.
285+ echo "#dummy" > "$depfile"
286+ fi
287+ rm -f "$tmpdepfile"
288+ ;;
289+
290+icc)
291+ # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
292+ # However on
293+ # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
294+ # ICC 7.0 will fill foo.d with something like
295+ # foo.o: sub/foo.c
296+ # foo.o: sub/foo.h
297+ # which is wrong. We want
298+ # sub/foo.o: sub/foo.c
299+ # sub/foo.o: sub/foo.h
300+ # sub/foo.c:
301+ # sub/foo.h:
302+ # ICC 7.1 will output
303+ # foo.o: sub/foo.c sub/foo.h
304+ # and will wrap long lines using '\':
305+ # foo.o: sub/foo.c ... \
306+ # sub/foo.h ... \
307+ # ...
308+ # tcc 0.9.26 (FIXME still under development at the moment of writing)
309+ # will emit a similar output, but also prepend the continuation lines
310+ # with horizontal tabulation characters.
311+ "$@" -MD -MF "$tmpdepfile"
312+ stat=$?
313+ if test $stat -eq 0; then :
314+ else
315+ rm -f "$tmpdepfile"
316+ exit $stat
317+ fi
318+ rm -f "$depfile"
319+ # Each line is of the form 'foo.o: dependent.h',
320+ # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
321+ # Do two passes, one to just change these to
322+ # '$object: dependent.h' and one to simply 'dependent.h:'.
323+ sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
324+ < "$tmpdepfile" > "$depfile"
325+ sed '
326+ s/[ '"$tab"'][ '"$tab"']*/ /g
327+ s/^ *//
328+ s/ *\\*$//
329+ s/^[^:]*: *//
330+ /^$/d
331+ /:$/d
332+ s/$/ :/
333+ ' < "$tmpdepfile" >> "$depfile"
334+ rm -f "$tmpdepfile"
335+ ;;
336+
337+## The order of this option in the case statement is important, since the
338+## shell code in configure will try each of these formats in the order
339+## listed in this file. A plain '-MD' option would be understood by many
340+## compilers, so we must ensure this comes after the gcc and icc options.
341+pgcc)
342+ # Portland's C compiler understands '-MD'.
343+ # Will always output deps to 'file.d' where file is the root name of the
344+ # source file under compilation, even if file resides in a subdirectory.
345+ # The object file name does not affect the name of the '.d' file.
346+ # pgcc 10.2 will output
347+ # foo.o: sub/foo.c sub/foo.h
348+ # and will wrap long lines using '\' :
349+ # foo.o: sub/foo.c ... \
350+ # sub/foo.h ... \
351+ # ...
352+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
353+ test "x$dir" = "x$object" && dir=
354+ # Use the source, not the object, to determine the base name, since
355+ # that's sadly what pgcc will do too.
356+ base=`echo "$source" | sed -e 's|^.*/||' -e 's/\.[-_a-zA-Z0-9]*$//'`
357+ tmpdepfile="$base.d"
358+
359+ # For projects that build the same source file twice into different object
360+ # files, the pgcc approach of using the *source* file root name can cause
361+ # problems in parallel builds. Use a locking strategy to avoid stomping on
362+ # the same $tmpdepfile.
363+ lockdir="$base.d-lock"
364+ trap "echo '$0: caught signal, cleaning up...' >&2; rm -rf $lockdir" 1 2 13 15
365+ numtries=100
366+ i=$numtries
367+ while test $i -gt 0 ; do
368+ # mkdir is a portable test-and-set.
369+ if mkdir $lockdir 2>/dev/null; then
370+ # This process acquired the lock.
371+ "$@" -MD
372+ stat=$?
373+ # Release the lock.
374+ rm -rf $lockdir
375+ break
376+ else
377+ ## the lock is being held by a different process,
378+ ## wait until the winning process is done or we timeout
379+ while test -d $lockdir && test $i -gt 0; do
380+ sleep 1
381+ i=`expr $i - 1`
382+ done
383+ fi
384+ i=`expr $i - 1`
385+ done
386+ trap - 1 2 13 15
387+ if test $i -le 0; then
388+ echo "$0: failed to acquire lock after $numtries attempts" >&2
389+ echo "$0: check lockdir '$lockdir'" >&2
390+ exit 1
391+ fi
392+
393+ if test $stat -ne 0; then
394+ rm -f "$tmpdepfile"
395+ exit $stat
396+ fi
397+ rm -f "$depfile"
398+ # Each line is of the form `foo.o: dependent.h',
399+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
400+ # Do two passes, one to just change these to
401+ # `$object: dependent.h' and one to simply `dependent.h:'.
402+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
403+ # Some versions of the HPUX 10.20 sed can't process this invocation
404+ # correctly. Breaking it into two sed invocations is a workaround.
405+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
406+ sed -e 's/$/ :/' >> "$depfile"
407+ rm -f "$tmpdepfile"
408+ ;;
409+
410+hp2)
411+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
412+ # compilers, which have integrated preprocessors. The correct option
413+ # to use with these is +Maked; it writes dependencies to a file named
414+ # 'foo.d', which lands next to the object file, wherever that
415+ # happens to be.
416+ # Much of this is similar to the tru64 case; see comments there.
417+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
418+ test "x$dir" = "x$object" && dir=
419+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
420+ if test "$libtool" = yes; then
421+ tmpdepfile1=$dir$base.d
422+ tmpdepfile2=$dir.libs/$base.d
423+ "$@" -Wc,+Maked
424+ else
425+ tmpdepfile1=$dir$base.d
426+ tmpdepfile2=$dir$base.d
427+ "$@" +Maked
428+ fi
429+ stat=$?
430+ if test $stat -eq 0; then :
431+ else
432+ rm -f "$tmpdepfile1" "$tmpdepfile2"
433+ exit $stat
434+ fi
435+
436+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
437+ do
438+ test -f "$tmpdepfile" && break
439+ done
440+ if test -f "$tmpdepfile"; then
441+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
442+ # Add 'dependent.h:' lines.
443+ sed -ne '2,${
444+ s/^ *//
445+ s/ \\*$//
446+ s/$/:/
447+ p
448+ }' "$tmpdepfile" >> "$depfile"
449+ else
450+ echo "#dummy" > "$depfile"
451+ fi
452+ rm -f "$tmpdepfile" "$tmpdepfile2"
453+ ;;
454+
455+tru64)
456+ # The Tru64 compiler uses -MD to generate dependencies as a side
457+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
458+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
459+ # dependencies in 'foo.d' instead, so we check for that too.
460+ # Subdirectories are respected.
461+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
462+ test "x$dir" = "x$object" && dir=
463+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
464+
465+ if test "$libtool" = yes; then
466+ # With Tru64 cc, shared objects can also be used to make a
467+ # static library. This mechanism is used in libtool 1.4 series to
468+ # handle both shared and static libraries in a single compilation.
469+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
470+ #
471+ # With libtool 1.5 this exception was removed, and libtool now
472+ # generates 2 separate objects for the 2 libraries. These two
473+ # compilations output dependencies in $dir.libs/$base.o.d and
474+ # in $dir$base.o.d. We have to check for both files, because
475+ # one of the two compilations can be disabled. We should prefer
476+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
477+ # automatically cleaned when .libs/ is deleted, while ignoring
478+ # the former would cause a distcleancheck panic.
479+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
480+ tmpdepfile2=$dir$base.o.d # libtool 1.5
481+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
482+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
483+ "$@" -Wc,-MD
484+ else
485+ tmpdepfile1=$dir$base.o.d
486+ tmpdepfile2=$dir$base.d
487+ tmpdepfile3=$dir$base.d
488+ tmpdepfile4=$dir$base.d
489+ "$@" -MD
490+ fi
491+
492+ stat=$?
493+ if test $stat -eq 0; then :
494+ else
495+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
496+ exit $stat
497+ fi
498+
499+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
500+ do
501+ test -f "$tmpdepfile" && break
502+ done
503+ if test -f "$tmpdepfile"; then
504+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
505+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
506+ else
507+ echo "#dummy" > "$depfile"
508+ fi
509+ rm -f "$tmpdepfile"
510+ ;;
511+
512+msvc7)
513+ if test "$libtool" = yes; then
514+ showIncludes=-Wc,-showIncludes
515+ else
516+ showIncludes=-showIncludes
517+ fi
518+ "$@" $showIncludes > "$tmpdepfile"
519+ stat=$?
520+ grep -v '^Note: including file: ' "$tmpdepfile"
521+ if test "$stat" = 0; then :
522+ else
523+ rm -f "$tmpdepfile"
524+ exit $stat
525+ fi
526+ rm -f "$depfile"
527+ echo "$object : \\" > "$depfile"
528+ # The first sed program below extracts the file names and escapes
529+ # backslashes for cygpath. The second sed program outputs the file
530+ # name when reading, but also accumulates all include files in the
531+ # hold buffer in order to output them again at the end. This only
532+ # works with sed implementations that can handle large buffers.
533+ sed < "$tmpdepfile" -n '
534+/^Note: including file: *\(.*\)/ {
535+ s//\1/
536+ s/\\/\\\\/g
537+ p
538+}' | $cygpath_u | sort -u | sed -n '
539+s/ /\\ /g
540+s/\(.*\)/'"$tab"'\1 \\/p
541+s/.\(.*\) \\/\1:/
542+H
543+$ {
544+ s/.*/'"$tab"'/
545+ G
546+ p
547+}' >> "$depfile"
548+ rm -f "$tmpdepfile"
549+ ;;
550+
551+msvc7msys)
552+ # This case exists only to let depend.m4 do its work. It works by
553+ # looking at the text of this script. This case will never be run,
554+ # since it is checked for above.
555+ exit 1
556+ ;;
557+
558+#nosideeffect)
559+ # This comment above is used by automake to tell side-effect
560+ # dependency tracking mechanisms from slower ones.
561+
562+dashmstdout)
563+ # Important note: in order to support this mode, a compiler *must*
564+ # always write the preprocessed file to stdout, regardless of -o.
565+ "$@" || exit $?
566+
567+ # Remove the call to Libtool.
568+ if test "$libtool" = yes; then
569+ while test "X$1" != 'X--mode=compile'; do
570+ shift
571+ done
572+ shift
573+ fi
574+
575+ # Remove '-o $object'.
576+ IFS=" "
577+ for arg
578+ do
579+ case $arg in
580+ -o)
581+ shift
582+ ;;
583+ $object)
584+ shift
585+ ;;
586+ *)
587+ set fnord "$@" "$arg"
588+ shift # fnord
589+ shift # $arg
590+ ;;
591+ esac
592+ done
593+
594+ test -z "$dashmflag" && dashmflag=-M
595+ # Require at least two characters before searching for ':'
596+ # in the target name. This is to cope with DOS-style filenames:
597+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
598+ "$@" $dashmflag |
599+ sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
600+ rm -f "$depfile"
601+ cat < "$tmpdepfile" > "$depfile"
602+ tr ' ' "$nl" < "$tmpdepfile" | \
603+## Some versions of the HPUX 10.20 sed can't process this invocation
604+## correctly. Breaking it into two sed invocations is a workaround.
605+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
606+ rm -f "$tmpdepfile"
607+ ;;
608+
609+dashXmstdout)
610+ # This case only exists to satisfy depend.m4. It is never actually
611+ # run, as this mode is specially recognized in the preamble.
612+ exit 1
613+ ;;
614+
615+makedepend)
616+ "$@" || exit $?
617+ # Remove any Libtool call
618+ if test "$libtool" = yes; then
619+ while test "X$1" != 'X--mode=compile'; do
620+ shift
621+ done
622+ shift
623+ fi
624+ # X makedepend
625+ shift
626+ cleared=no eat=no
627+ for arg
628+ do
629+ case $cleared in
630+ no)
631+ set ""; shift
632+ cleared=yes ;;
633+ esac
634+ if test $eat = yes; then
635+ eat=no
636+ continue
637+ fi
638+ case "$arg" in
639+ -D*|-I*)
640+ set fnord "$@" "$arg"; shift ;;
641+ # Strip any option that makedepend may not understand. Remove
642+ # the object too, otherwise makedepend will parse it as a source file.
643+ -arch)
644+ eat=yes ;;
645+ -*|$object)
646+ ;;
647+ *)
648+ set fnord "$@" "$arg"; shift ;;
649+ esac
650+ done
651+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
652+ touch "$tmpdepfile"
653+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
654+ rm -f "$depfile"
655+ # makedepend may prepend the VPATH from the source file name to the object.
656+ # No need to regex-escape $object, excess matching of '.' is harmless.
657+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
658+ sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
659+## Some versions of the HPUX 10.20 sed can't process this invocation
660+## correctly. Breaking it into two sed invocations is a workaround.
661+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
662+ rm -f "$tmpdepfile" "$tmpdepfile".bak
663+ ;;
664+
665+cpp)
666+ # Important note: in order to support this mode, a compiler *must*
667+ # always write the preprocessed file to stdout.
668+ "$@" || exit $?
669+
670+ # Remove the call to Libtool.
671+ if test "$libtool" = yes; then
672+ while test "X$1" != 'X--mode=compile'; do
673+ shift
674+ done
675+ shift
676+ fi
677+
678+ # Remove '-o $object'.
679+ IFS=" "
680+ for arg
681+ do
682+ case $arg in
683+ -o)
684+ shift
685+ ;;
686+ $object)
687+ shift
688+ ;;
689+ *)
690+ set fnord "$@" "$arg"
691+ shift # fnord
692+ shift # $arg
693+ ;;
694+ esac
695+ done
696+
697+ "$@" -E |
698+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
699+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
700+ sed '$ s: \\$::' > "$tmpdepfile"
701+ rm -f "$depfile"
702+ echo "$object : \\" > "$depfile"
703+ cat < "$tmpdepfile" >> "$depfile"
704+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
705+ rm -f "$tmpdepfile"
706+ ;;
707+
708+msvisualcpp)
709+ # Important note: in order to support this mode, a compiler *must*
710+ # always write the preprocessed file to stdout.
711+ "$@" || exit $?
712+
713+ # Remove the call to Libtool.
714+ if test "$libtool" = yes; then
715+ while test "X$1" != 'X--mode=compile'; do
716+ shift
717+ done
718+ shift
719+ fi
720+
721+ IFS=" "
722+ for arg
723+ do
724+ case "$arg" in
725+ -o)
726+ shift
727+ ;;
728+ $object)
729+ shift
730+ ;;
731+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
732+ set fnord "$@"
733+ shift
734+ shift
735+ ;;
736+ *)
737+ set fnord "$@" "$arg"
738+ shift
739+ shift
740+ ;;
741+ esac
742+ done
743+ "$@" -E 2>/dev/null |
744+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
745+ rm -f "$depfile"
746+ echo "$object : \\" > "$depfile"
747+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
748+ echo "$tab" >> "$depfile"
749+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
750+ rm -f "$tmpdepfile"
751+ ;;
752+
753+msvcmsys)
754+ # This case exists only to let depend.m4 do its work. It works by
755+ # looking at the text of this script. This case will never be run,
756+ # since it is checked for above.
757+ exit 1
758+ ;;
759+
760+none)
761+ exec "$@"
762+ ;;
763+
764+*)
765+ echo "Unknown depmode $depmode" 1>&2
766+ exit 1
767+ ;;
768+esac
769+
770+exit 0
771+
772+# Local Variables:
773+# mode: shell-script
774+# sh-indentation: 2
775+# eval: (add-hook 'write-file-hooks 'time-stamp)
776+# time-stamp-start: "scriptversion="
777+# time-stamp-format: "%:y-%02m-%02d.%02H"
778+# time-stamp-time-zone: "UTC"
779+# time-stamp-end: "; # UTC"
780+# End:
--- /dev/null
+++ b/base/gtk01/install-sh
@@ -0,0 +1,527 @@
1+#!/bin/sh
2+# install - install a program, script, or datafile
3+
4+scriptversion=2011-11-20.07; # UTC
5+
6+# This originates from X11R5 (mit/util/scripts/install.sh), which was
7+# later released in X11R6 (xc/config/util/install.sh) with the
8+# following copyright and license.
9+#
10+# Copyright (C) 1994 X Consortium
11+#
12+# Permission is hereby granted, free of charge, to any person obtaining a copy
13+# of this software and associated documentation files (the "Software"), to
14+# deal in the Software without restriction, including without limitation the
15+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16+# sell copies of the Software, and to permit persons to whom the Software is
17+# furnished to do so, subject to the following conditions:
18+#
19+# The above copyright notice and this permission notice shall be included in
20+# all copies or substantial portions of the Software.
21+#
22+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
27+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28+#
29+# Except as contained in this notice, the name of the X Consortium shall not
30+# be used in advertising or otherwise to promote the sale, use or other deal-
31+# ings in this Software without prior written authorization from the X Consor-
32+# tium.
33+#
34+#
35+# FSF changes to this file are in the public domain.
36+#
37+# Calling this script install-sh is preferred over install.sh, to prevent
38+# 'make' implicit rules from creating a file called install from it
39+# when there is no Makefile.
40+#
41+# This script is compatible with the BSD install script, but was written
42+# from scratch.
43+
44+nl='
45+'
46+IFS=" "" $nl"
47+
48+# set DOITPROG to echo to test this script
49+
50+# Don't use :- since 4.3BSD and earlier shells don't like it.
51+doit=${DOITPROG-}
52+if test -z "$doit"; then
53+ doit_exec=exec
54+else
55+ doit_exec=$doit
56+fi
57+
58+# Put in absolute file names if you don't have them in your path;
59+# or use environment vars.
60+
61+chgrpprog=${CHGRPPROG-chgrp}
62+chmodprog=${CHMODPROG-chmod}
63+chownprog=${CHOWNPROG-chown}
64+cmpprog=${CMPPROG-cmp}
65+cpprog=${CPPROG-cp}
66+mkdirprog=${MKDIRPROG-mkdir}
67+mvprog=${MVPROG-mv}
68+rmprog=${RMPROG-rm}
69+stripprog=${STRIPPROG-strip}
70+
71+posix_glob='?'
72+initialize_posix_glob='
73+ test "$posix_glob" != "?" || {
74+ if (set -f) 2>/dev/null; then
75+ posix_glob=
76+ else
77+ posix_glob=:
78+ fi
79+ }
80+'
81+
82+posix_mkdir=
83+
84+# Desired mode of installed file.
85+mode=0755
86+
87+chgrpcmd=
88+chmodcmd=$chmodprog
89+chowncmd=
90+mvcmd=$mvprog
91+rmcmd="$rmprog -f"
92+stripcmd=
93+
94+src=
95+dst=
96+dir_arg=
97+dst_arg=
98+
99+copy_on_change=false
100+no_target_directory=
101+
102+usage="\
103+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
104+ or: $0 [OPTION]... SRCFILES... DIRECTORY
105+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
106+ or: $0 [OPTION]... -d DIRECTORIES...
107+
108+In the 1st form, copy SRCFILE to DSTFILE.
109+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
110+In the 4th, create DIRECTORIES.
111+
112+Options:
113+ --help display this help and exit.
114+ --version display version info and exit.
115+
116+ -c (ignored)
117+ -C install only if different (preserve the last data modification time)
118+ -d create directories instead of installing files.
119+ -g GROUP $chgrpprog installed files to GROUP.
120+ -m MODE $chmodprog installed files to MODE.
121+ -o USER $chownprog installed files to USER.
122+ -s $stripprog installed files.
123+ -t DIRECTORY install into DIRECTORY.
124+ -T report an error if DSTFILE is a directory.
125+
126+Environment variables override the default commands:
127+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
128+ RMPROG STRIPPROG
129+"
130+
131+while test $# -ne 0; do
132+ case $1 in
133+ -c) ;;
134+
135+ -C) copy_on_change=true;;
136+
137+ -d) dir_arg=true;;
138+
139+ -g) chgrpcmd="$chgrpprog $2"
140+ shift;;
141+
142+ --help) echo "$usage"; exit $?;;
143+
144+ -m) mode=$2
145+ case $mode in
146+ *' '* | *' '* | *'
147+'* | *'*'* | *'?'* | *'['*)
148+ echo "$0: invalid mode: $mode" >&2
149+ exit 1;;
150+ esac
151+ shift;;
152+
153+ -o) chowncmd="$chownprog $2"
154+ shift;;
155+
156+ -s) stripcmd=$stripprog;;
157+
158+ -t) dst_arg=$2
159+ # Protect names problematic for 'test' and other utilities.
160+ case $dst_arg in
161+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
162+ esac
163+ shift;;
164+
165+ -T) no_target_directory=true;;
166+
167+ --version) echo "$0 $scriptversion"; exit $?;;
168+
169+ --) shift
170+ break;;
171+
172+ -*) echo "$0: invalid option: $1" >&2
173+ exit 1;;
174+
175+ *) break;;
176+ esac
177+ shift
178+done
179+
180+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
181+ # When -d is used, all remaining arguments are directories to create.
182+ # When -t is used, the destination is already specified.
183+ # Otherwise, the last argument is the destination. Remove it from $@.
184+ for arg
185+ do
186+ if test -n "$dst_arg"; then
187+ # $@ is not empty: it contains at least $arg.
188+ set fnord "$@" "$dst_arg"
189+ shift # fnord
190+ fi
191+ shift # arg
192+ dst_arg=$arg
193+ # Protect names problematic for 'test' and other utilities.
194+ case $dst_arg in
195+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
196+ esac
197+ done
198+fi
199+
200+if test $# -eq 0; then
201+ if test -z "$dir_arg"; then
202+ echo "$0: no input file specified." >&2
203+ exit 1
204+ fi
205+ # It's OK to call 'install-sh -d' without argument.
206+ # This can happen when creating conditional directories.
207+ exit 0
208+fi
209+
210+if test -z "$dir_arg"; then
211+ do_exit='(exit $ret); exit $ret'
212+ trap "ret=129; $do_exit" 1
213+ trap "ret=130; $do_exit" 2
214+ trap "ret=141; $do_exit" 13
215+ trap "ret=143; $do_exit" 15
216+
217+ # Set umask so as not to create temps with too-generous modes.
218+ # However, 'strip' requires both read and write access to temps.
219+ case $mode in
220+ # Optimize common cases.
221+ *644) cp_umask=133;;
222+ *755) cp_umask=22;;
223+
224+ *[0-7])
225+ if test -z "$stripcmd"; then
226+ u_plus_rw=
227+ else
228+ u_plus_rw='% 200'
229+ fi
230+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
231+ *)
232+ if test -z "$stripcmd"; then
233+ u_plus_rw=
234+ else
235+ u_plus_rw=,u+rw
236+ fi
237+ cp_umask=$mode$u_plus_rw;;
238+ esac
239+fi
240+
241+for src
242+do
243+ # Protect names problematic for 'test' and other utilities.
244+ case $src in
245+ -* | [=\(\)!]) src=./$src;;
246+ esac
247+
248+ if test -n "$dir_arg"; then
249+ dst=$src
250+ dstdir=$dst
251+ test -d "$dstdir"
252+ dstdir_status=$?
253+ else
254+
255+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
256+ # might cause directories to be created, which would be especially bad
257+ # if $src (and thus $dsttmp) contains '*'.
258+ if test ! -f "$src" && test ! -d "$src"; then
259+ echo "$0: $src does not exist." >&2
260+ exit 1
261+ fi
262+
263+ if test -z "$dst_arg"; then
264+ echo "$0: no destination specified." >&2
265+ exit 1
266+ fi
267+ dst=$dst_arg
268+
269+ # If destination is a directory, append the input filename; won't work
270+ # if double slashes aren't ignored.
271+ if test -d "$dst"; then
272+ if test -n "$no_target_directory"; then
273+ echo "$0: $dst_arg: Is a directory" >&2
274+ exit 1
275+ fi
276+ dstdir=$dst
277+ dst=$dstdir/`basename "$src"`
278+ dstdir_status=0
279+ else
280+ # Prefer dirname, but fall back on a substitute if dirname fails.
281+ dstdir=`
282+ (dirname "$dst") 2>/dev/null ||
283+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
284+ X"$dst" : 'X\(//\)[^/]' \| \
285+ X"$dst" : 'X\(//\)$' \| \
286+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
287+ echo X"$dst" |
288+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
289+ s//\1/
290+ q
291+ }
292+ /^X\(\/\/\)[^/].*/{
293+ s//\1/
294+ q
295+ }
296+ /^X\(\/\/\)$/{
297+ s//\1/
298+ q
299+ }
300+ /^X\(\/\).*/{
301+ s//\1/
302+ q
303+ }
304+ s/.*/./; q'
305+ `
306+
307+ test -d "$dstdir"
308+ dstdir_status=$?
309+ fi
310+ fi
311+
312+ obsolete_mkdir_used=false
313+
314+ if test $dstdir_status != 0; then
315+ case $posix_mkdir in
316+ '')
317+ # Create intermediate dirs using mode 755 as modified by the umask.
318+ # This is like FreeBSD 'install' as of 1997-10-28.
319+ umask=`umask`
320+ case $stripcmd.$umask in
321+ # Optimize common cases.
322+ *[2367][2367]) mkdir_umask=$umask;;
323+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
324+
325+ *[0-7])
326+ mkdir_umask=`expr $umask + 22 \
327+ - $umask % 100 % 40 + $umask % 20 \
328+ - $umask % 10 % 4 + $umask % 2
329+ `;;
330+ *) mkdir_umask=$umask,go-w;;
331+ esac
332+
333+ # With -d, create the new directory with the user-specified mode.
334+ # Otherwise, rely on $mkdir_umask.
335+ if test -n "$dir_arg"; then
336+ mkdir_mode=-m$mode
337+ else
338+ mkdir_mode=
339+ fi
340+
341+ posix_mkdir=false
342+ case $umask in
343+ *[123567][0-7][0-7])
344+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
345+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
346+ ;;
347+ *)
348+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
349+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
350+
351+ if (umask $mkdir_umask &&
352+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
353+ then
354+ if test -z "$dir_arg" || {
355+ # Check for POSIX incompatibilities with -m.
356+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357+ # other-writable bit of parent directory when it shouldn't.
358+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
360+ case $ls_ld_tmpdir in
361+ d????-?r-*) different_mode=700;;
362+ d????-?--*) different_mode=755;;
363+ *) false;;
364+ esac &&
365+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
366+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
367+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
368+ }
369+ }
370+ then posix_mkdir=:
371+ fi
372+ rmdir "$tmpdir/d" "$tmpdir"
373+ else
374+ # Remove any dirs left behind by ancient mkdir implementations.
375+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
376+ fi
377+ trap '' 0;;
378+ esac;;
379+ esac
380+
381+ if
382+ $posix_mkdir && (
383+ umask $mkdir_umask &&
384+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
385+ )
386+ then :
387+ else
388+
389+ # The umask is ridiculous, or mkdir does not conform to POSIX,
390+ # or it failed possibly due to a race condition. Create the
391+ # directory the slow way, step by step, checking for races as we go.
392+
393+ case $dstdir in
394+ /*) prefix='/';;
395+ [-=\(\)!]*) prefix='./';;
396+ *) prefix='';;
397+ esac
398+
399+ eval "$initialize_posix_glob"
400+
401+ oIFS=$IFS
402+ IFS=/
403+ $posix_glob set -f
404+ set fnord $dstdir
405+ shift
406+ $posix_glob set +f
407+ IFS=$oIFS
408+
409+ prefixes=
410+
411+ for d
412+ do
413+ test X"$d" = X && continue
414+
415+ prefix=$prefix$d
416+ if test -d "$prefix"; then
417+ prefixes=
418+ else
419+ if $posix_mkdir; then
420+ (umask=$mkdir_umask &&
421+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
422+ # Don't fail if two instances are running concurrently.
423+ test -d "$prefix" || exit 1
424+ else
425+ case $prefix in
426+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
427+ *) qprefix=$prefix;;
428+ esac
429+ prefixes="$prefixes '$qprefix'"
430+ fi
431+ fi
432+ prefix=$prefix/
433+ done
434+
435+ if test -n "$prefixes"; then
436+ # Don't fail if two instances are running concurrently.
437+ (umask $mkdir_umask &&
438+ eval "\$doit_exec \$mkdirprog $prefixes") ||
439+ test -d "$dstdir" || exit 1
440+ obsolete_mkdir_used=true
441+ fi
442+ fi
443+ fi
444+
445+ if test -n "$dir_arg"; then
446+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
447+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
448+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
449+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
450+ else
451+
452+ # Make a couple of temp file names in the proper directory.
453+ dsttmp=$dstdir/_inst.$$_
454+ rmtmp=$dstdir/_rm.$$_
455+
456+ # Trap to clean up those temp files at exit.
457+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
458+
459+ # Copy the file name to the temp name.
460+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
461+
462+ # and set any options; do chmod last to preserve setuid bits.
463+ #
464+ # If any of these fail, we abort the whole thing. If we want to
465+ # ignore errors from any of these, just make sure not to ignore
466+ # errors from the above "$doit $cpprog $src $dsttmp" command.
467+ #
468+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
469+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
470+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
471+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
472+
473+ # If -C, don't bother to copy if it wouldn't change the file.
474+ if $copy_on_change &&
475+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
476+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
477+
478+ eval "$initialize_posix_glob" &&
479+ $posix_glob set -f &&
480+ set X $old && old=:$2:$4:$5:$6 &&
481+ set X $new && new=:$2:$4:$5:$6 &&
482+ $posix_glob set +f &&
483+
484+ test "$old" = "$new" &&
485+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
486+ then
487+ rm -f "$dsttmp"
488+ else
489+ # Rename the file to the real destination.
490+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
491+
492+ # The rename failed, perhaps because mv can't rename something else
493+ # to itself, or perhaps because mv is so ancient that it does not
494+ # support -f.
495+ {
496+ # Now remove or move aside any old file at destination location.
497+ # We try this two ways since rm can't unlink itself on some
498+ # systems and the destination file might be busy for other
499+ # reasons. In this case, the final cleanup might fail but the new
500+ # file should still install successfully.
501+ {
502+ test ! -f "$dst" ||
503+ $doit $rmcmd -f "$dst" 2>/dev/null ||
504+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
505+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
506+ } ||
507+ { echo "$0: cannot unlink or rename $dst" >&2
508+ (exit 1); exit 1
509+ }
510+ } &&
511+
512+ # Now rename the file to the real destination.
513+ $doit $mvcmd "$dsttmp" "$dst"
514+ }
515+ fi || exit 1
516+
517+ trap '' 0
518+ fi
519+done
520+
521+# Local variables:
522+# eval: (add-hook 'write-file-hooks 'time-stamp)
523+# time-stamp-start: "scriptversion="
524+# time-stamp-format: "%:y-%02m-%02d.%02H"
525+# time-stamp-time-zone: "UTC"
526+# time-stamp-end: "; # UTC"
527+# End:
--- /dev/null
+++ b/base/gtk01/missing
@@ -0,0 +1,330 @@
1+#! /bin/sh
2+# Common stub for a few missing GNU programs while installing.
3+
4+scriptversion=2012-01-06.18; # UTC
5+
6+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
7+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
8+
9+# This program is free software; you can redistribute it and/or modify
10+# it under the terms of the GNU General Public License as published by
11+# the Free Software Foundation; either version 2, or (at your option)
12+# any later version.
13+
14+# This program is distributed in the hope that it will be useful,
15+# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+# GNU General Public License for more details.
18+
19+# You should have received a copy of the GNU General Public License
20+# along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+# As a special exception to the GNU General Public License, if you
23+# distribute this file as part of a program that contains a
24+# configuration script generated by Autoconf, you may include it under
25+# the same distribution terms that you use for the rest of that program.
26+
27+if test $# -eq 0; then
28+ echo 1>&2 "Try '$0 --help' for more information"
29+ exit 1
30+fi
31+
32+run=:
33+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
34+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
35+
36+# In the cases where this matters, 'missing' is being run in the
37+# srcdir already.
38+if test -f configure.ac; then
39+ configure_ac=configure.ac
40+else
41+ configure_ac=configure.in
42+fi
43+
44+msg="missing on your system"
45+
46+case $1 in
47+--run)
48+ # Try to run requested program, and just exit if it succeeds.
49+ run=
50+ shift
51+ "$@" && exit 0
52+ # Exit code 63 means version mismatch. This often happens
53+ # when the user try to use an ancient version of a tool on
54+ # a file that requires a minimum version. In this case we
55+ # we should proceed has if the program had been absent, or
56+ # if --run hadn't been passed.
57+ if test $? = 63; then
58+ run=:
59+ msg="probably too old"
60+ fi
61+ ;;
62+
63+ -h|--h|--he|--hel|--help)
64+ echo "\
65+$0 [OPTION]... PROGRAM [ARGUMENT]...
66+
67+Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
68+error status if there is no known handling for PROGRAM.
69+
70+Options:
71+ -h, --help display this help and exit
72+ -v, --version output version information and exit
73+ --run try to run the given command, and emulate it if it fails
74+
75+Supported PROGRAM values:
76+ aclocal touch file 'aclocal.m4'
77+ autoconf touch file 'configure'
78+ autoheader touch file 'config.h.in'
79+ autom4te touch the output file, or create a stub one
80+ automake touch all 'Makefile.in' files
81+ bison create 'y.tab.[ch]', if possible, from existing .[ch]
82+ flex create 'lex.yy.c', if possible, from existing .c
83+ help2man touch the output file
84+ lex create 'lex.yy.c', if possible, from existing .c
85+ makeinfo touch the output file
86+ yacc create 'y.tab.[ch]', if possible, from existing .[ch]
87+
88+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
89+'g' are ignored when checking the name.
90+
91+Send bug reports to <bug-automake@gnu.org>."
92+ exit $?
93+ ;;
94+
95+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
96+ echo "missing $scriptversion (GNU Automake)"
97+ exit $?
98+ ;;
99+
100+ -*)
101+ echo 1>&2 "$0: Unknown '$1' option"
102+ echo 1>&2 "Try '$0 --help' for more information"
103+ exit 1
104+ ;;
105+
106+esac
107+
108+# normalize program name to check for.
109+program=`echo "$1" | sed '
110+ s/^gnu-//; t
111+ s/^gnu//; t
112+ s/^g//; t'`
113+
114+# Now exit if we have it, but it failed. Also exit now if we
115+# don't have it and --version was passed (most likely to detect
116+# the program). This is about non-GNU programs, so use $1 not
117+# $program.
118+case $1 in
119+ lex*|yacc*)
120+ # Not GNU programs, they don't have --version.
121+ ;;
122+
123+ *)
124+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
125+ # We have it, but it failed.
126+ exit 1
127+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
128+ # Could not run --version or --help. This is probably someone
129+ # running '$TOOL --version' or '$TOOL --help' to check whether
130+ # $TOOL exists and not knowing $TOOL uses missing.
131+ exit 1
132+ fi
133+ ;;
134+esac
135+
136+# If it does not exist, or fails to run (possibly an outdated version),
137+# try to emulate it.
138+case $program in
139+ aclocal*)
140+ echo 1>&2 "\
141+WARNING: '$1' is $msg. You should only need it if
142+ you modified 'acinclude.m4' or '${configure_ac}'. You might want
143+ to install the Automake and Perl packages. Grab them from
144+ any GNU archive site."
145+ touch aclocal.m4
146+ ;;
147+
148+ autoconf*)
149+ echo 1>&2 "\
150+WARNING: '$1' is $msg. You should only need it if
151+ you modified '${configure_ac}'. You might want to install the
152+ Autoconf and GNU m4 packages. Grab them from any GNU
153+ archive site."
154+ touch configure
155+ ;;
156+
157+ autoheader*)
158+ echo 1>&2 "\
159+WARNING: '$1' is $msg. You should only need it if
160+ you modified 'acconfig.h' or '${configure_ac}'. You might want
161+ to install the Autoconf and GNU m4 packages. Grab them
162+ from any GNU archive site."
163+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
164+ test -z "$files" && files="config.h"
165+ touch_files=
166+ for f in $files; do
167+ case $f in
168+ *:*) touch_files="$touch_files "`echo "$f" |
169+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
170+ *) touch_files="$touch_files $f.in";;
171+ esac
172+ done
173+ touch $touch_files
174+ ;;
175+
176+ automake*)
177+ echo 1>&2 "\
178+WARNING: '$1' is $msg. You should only need it if
179+ you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
180+ You might want to install the Automake and Perl packages.
181+ Grab them from any GNU archive site."
182+ find . -type f -name Makefile.am -print |
183+ sed 's/\.am$/.in/' |
184+ while read f; do touch "$f"; done
185+ ;;
186+
187+ autom4te*)
188+ echo 1>&2 "\
189+WARNING: '$1' is needed, but is $msg.
190+ You might have modified some files without having the
191+ proper tools for further handling them.
192+ You can get '$1' as part of Autoconf from any GNU
193+ archive site."
194+
195+ file=`echo "$*" | sed -n "$sed_output"`
196+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
197+ if test -f "$file"; then
198+ touch $file
199+ else
200+ test -z "$file" || exec >$file
201+ echo "#! /bin/sh"
202+ echo "# Created by GNU Automake missing as a replacement of"
203+ echo "# $ $@"
204+ echo "exit 0"
205+ chmod +x $file
206+ exit 1
207+ fi
208+ ;;
209+
210+ bison*|yacc*)
211+ echo 1>&2 "\
212+WARNING: '$1' $msg. You should only need it if
213+ you modified a '.y' file. You may need the Bison package
214+ in order for those modifications to take effect. You can get
215+ Bison from any GNU archive site."
216+ rm -f y.tab.c y.tab.h
217+ if test $# -ne 1; then
218+ eval LASTARG=\${$#}
219+ case $LASTARG in
220+ *.y)
221+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
222+ if test -f "$SRCFILE"; then
223+ cp "$SRCFILE" y.tab.c
224+ fi
225+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
226+ if test -f "$SRCFILE"; then
227+ cp "$SRCFILE" y.tab.h
228+ fi
229+ ;;
230+ esac
231+ fi
232+ if test ! -f y.tab.h; then
233+ echo >y.tab.h
234+ fi
235+ if test ! -f y.tab.c; then
236+ echo 'main() { return 0; }' >y.tab.c
237+ fi
238+ ;;
239+
240+ lex*|flex*)
241+ echo 1>&2 "\
242+WARNING: '$1' is $msg. You should only need it if
243+ you modified a '.l' file. You may need the Flex package
244+ in order for those modifications to take effect. You can get
245+ Flex from any GNU archive site."
246+ rm -f lex.yy.c
247+ if test $# -ne 1; then
248+ eval LASTARG=\${$#}
249+ case $LASTARG in
250+ *.l)
251+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
252+ if test -f "$SRCFILE"; then
253+ cp "$SRCFILE" lex.yy.c
254+ fi
255+ ;;
256+ esac
257+ fi
258+ if test ! -f lex.yy.c; then
259+ echo 'main() { return 0; }' >lex.yy.c
260+ fi
261+ ;;
262+
263+ help2man*)
264+ echo 1>&2 "\
265+WARNING: '$1' is $msg. You should only need it if
266+ you modified a dependency of a manual page. You may need the
267+ Help2man package in order for those modifications to take
268+ effect. You can get Help2man from any GNU archive site."
269+
270+ file=`echo "$*" | sed -n "$sed_output"`
271+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
272+ if test -f "$file"; then
273+ touch $file
274+ else
275+ test -z "$file" || exec >$file
276+ echo ".ab help2man is required to generate this page"
277+ exit $?
278+ fi
279+ ;;
280+
281+ makeinfo*)
282+ echo 1>&2 "\
283+WARNING: '$1' is $msg. You should only need it if
284+ you modified a '.texi' or '.texinfo' file, or any other file
285+ indirectly affecting the aspect of the manual. The spurious
286+ call might also be the consequence of using a buggy 'make' (AIX,
287+ DU, IRIX). You might want to install the Texinfo package or
288+ the GNU make package. Grab either from any GNU archive site."
289+ # The file to touch is that specified with -o ...
290+ file=`echo "$*" | sed -n "$sed_output"`
291+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
292+ if test -z "$file"; then
293+ # ... or it is the one specified with @setfilename ...
294+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
295+ file=`sed -n '
296+ /^@setfilename/{
297+ s/.* \([^ ]*\) *$/\1/
298+ p
299+ q
300+ }' $infile`
301+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
302+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
303+ fi
304+ # If the file does not exist, the user really needs makeinfo;
305+ # let's fail without touching anything.
306+ test -f $file || exit 1
307+ touch $file
308+ ;;
309+
310+ *)
311+ echo 1>&2 "\
312+WARNING: '$1' is needed, and is $msg.
313+ You might have modified some files without having the
314+ proper tools for further handling them. Check the 'README' file,
315+ it often tells you about the needed prerequisites for installing
316+ this package. You may also peek at any GNU archive site, in case
317+ some other package would contain this missing '$1' program."
318+ exit 1
319+ ;;
320+esac
321+
322+exit 0
323+
324+# Local variables:
325+# eval: (add-hook 'write-file-hooks 'time-stamp)
326+# time-stamp-start: "scriptversion="
327+# time-stamp-format: "%:y-%02m-%02d.%02H"
328+# time-stamp-time-zone: "UTC"
329+# time-stamp-end: "; # UTC"
330+# End:
--- /dev/null
+++ b/base/gtk01/src/Makefile.am
@@ -0,0 +1,5 @@
1+AM_CFLAGS = $(GTK_CFLAGS)
2+
3+bin_PROGRAMS = hello
4+hello_SOURCES = hello.c
5+hello_LDADD = $(GTK_LIBS)
--- /dev/null
+++ b/base/gtk01/src/Makefile.in
@@ -0,0 +1,496 @@
1+# Makefile.in generated by automake 1.12.4 from Makefile.am.
2+# @configure_input@
3+
4+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
5+
6+# This Makefile.in is free software; the Free Software Foundation
7+# gives unlimited permission to copy and/or distribute it,
8+# with or without modifications, as long as this notice is preserved.
9+
10+# This program is distributed in the hope that it will be useful,
11+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13+# PARTICULAR PURPOSE.
14+
15+@SET_MAKE@
16+
17+VPATH = @srcdir@
18+am__make_dryrun = \
19+ { \
20+ am__dry=no; \
21+ case $$MAKEFLAGS in \
22+ *\\[\ \ ]*) \
23+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25+ *) \
26+ for am__flg in $$MAKEFLAGS; do \
27+ case $$am__flg in \
28+ *=*|--*) ;; \
29+ *n*) am__dry=yes; break;; \
30+ esac; \
31+ done;; \
32+ esac; \
33+ test $$am__dry = yes; \
34+ }
35+pkgdatadir = $(datadir)/@PACKAGE@
36+pkgincludedir = $(includedir)/@PACKAGE@
37+pkglibdir = $(libdir)/@PACKAGE@
38+pkglibexecdir = $(libexecdir)/@PACKAGE@
39+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40+install_sh_DATA = $(install_sh) -c -m 644
41+install_sh_PROGRAM = $(install_sh) -c
42+install_sh_SCRIPT = $(install_sh) -c
43+INSTALL_HEADER = $(INSTALL_DATA)
44+transform = $(program_transform_name)
45+NORMAL_INSTALL = :
46+PRE_INSTALL = :
47+POST_INSTALL = :
48+NORMAL_UNINSTALL = :
49+PRE_UNINSTALL = :
50+POST_UNINSTALL = :
51+bin_PROGRAMS = hello$(EXEEXT)
52+subdir = src
53+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
54+ $(top_srcdir)/depcomp
55+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
56+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
57+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58+ $(ACLOCAL_M4)
59+mkinstalldirs = $(install_sh) -d
60+CONFIG_HEADER = $(top_builddir)/config.h
61+CONFIG_CLEAN_FILES =
62+CONFIG_CLEAN_VPATH_FILES =
63+am__installdirs = "$(DESTDIR)$(bindir)"
64+PROGRAMS = $(bin_PROGRAMS)
65+am_hello_OBJECTS = hello.$(OBJEXT)
66+hello_OBJECTS = $(am_hello_OBJECTS)
67+am__DEPENDENCIES_1 =
68+hello_DEPENDENCIES = $(am__DEPENDENCIES_1)
69+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
70+depcomp = $(SHELL) $(top_srcdir)/depcomp
71+am__depfiles_maybe = depfiles
72+am__mv = mv -f
73+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
74+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
75+CCLD = $(CC)
76+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
77+SOURCES = $(hello_SOURCES)
78+DIST_SOURCES = $(hello_SOURCES)
79+am__can_run_installinfo = \
80+ case $$AM_UPDATE_INFO_DIR in \
81+ n|no|NO) false;; \
82+ *) (install-info --version) >/dev/null 2>&1;; \
83+ esac
84+ETAGS = etags
85+CTAGS = ctags
86+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
87+ACLOCAL = @ACLOCAL@
88+AMTAR = @AMTAR@
89+AUTOCONF = @AUTOCONF@
90+AUTOHEADER = @AUTOHEADER@
91+AUTOMAKE = @AUTOMAKE@
92+AWK = @AWK@
93+CC = @CC@
94+CCDEPMODE = @CCDEPMODE@
95+CFLAGS = @CFLAGS@
96+CPPFLAGS = @CPPFLAGS@
97+CYGPATH_W = @CYGPATH_W@
98+DEFS = @DEFS@
99+DEPDIR = @DEPDIR@
100+ECHO_C = @ECHO_C@
101+ECHO_N = @ECHO_N@
102+ECHO_T = @ECHO_T@
103+EXEEXT = @EXEEXT@
104+GTK_CFLAGS = @GTK_CFLAGS@
105+GTK_LIBS = @GTK_LIBS@
106+INSTALL = @INSTALL@
107+INSTALL_DATA = @INSTALL_DATA@
108+INSTALL_PROGRAM = @INSTALL_PROGRAM@
109+INSTALL_SCRIPT = @INSTALL_SCRIPT@
110+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
111+LDFLAGS = @LDFLAGS@
112+LIBOBJS = @LIBOBJS@
113+LIBS = @LIBS@
114+LTLIBOBJS = @LTLIBOBJS@
115+MAKEINFO = @MAKEINFO@
116+MKDIR_P = @MKDIR_P@
117+OBJEXT = @OBJEXT@
118+PACKAGE = @PACKAGE@
119+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
120+PACKAGE_NAME = @PACKAGE_NAME@
121+PACKAGE_STRING = @PACKAGE_STRING@
122+PACKAGE_TARNAME = @PACKAGE_TARNAME@
123+PACKAGE_URL = @PACKAGE_URL@
124+PACKAGE_VERSION = @PACKAGE_VERSION@
125+PATH_SEPARATOR = @PATH_SEPARATOR@
126+PKG_CONFIG = @PKG_CONFIG@
127+SET_MAKE = @SET_MAKE@
128+SHELL = @SHELL@
129+STRIP = @STRIP@
130+VERSION = @VERSION@
131+abs_builddir = @abs_builddir@
132+abs_srcdir = @abs_srcdir@
133+abs_top_builddir = @abs_top_builddir@
134+abs_top_srcdir = @abs_top_srcdir@
135+ac_ct_CC = @ac_ct_CC@
136+am__include = @am__include@
137+am__leading_dot = @am__leading_dot@
138+am__quote = @am__quote@
139+am__tar = @am__tar@
140+am__untar = @am__untar@
141+bindir = @bindir@
142+build_alias = @build_alias@
143+builddir = @builddir@
144+datadir = @datadir@
145+datarootdir = @datarootdir@
146+docdir = @docdir@
147+dvidir = @dvidir@
148+exec_prefix = @exec_prefix@
149+host_alias = @host_alias@
150+htmldir = @htmldir@
151+includedir = @includedir@
152+infodir = @infodir@
153+install_sh = @install_sh@
154+libdir = @libdir@
155+libexecdir = @libexecdir@
156+localedir = @localedir@
157+localstatedir = @localstatedir@
158+mandir = @mandir@
159+mkdir_p = @mkdir_p@
160+oldincludedir = @oldincludedir@
161+pdfdir = @pdfdir@
162+prefix = @prefix@
163+program_transform_name = @program_transform_name@
164+psdir = @psdir@
165+sbindir = @sbindir@
166+sharedstatedir = @sharedstatedir@
167+srcdir = @srcdir@
168+sysconfdir = @sysconfdir@
169+target_alias = @target_alias@
170+top_build_prefix = @top_build_prefix@
171+top_builddir = @top_builddir@
172+top_srcdir = @top_srcdir@
173+AM_CFLAGS = $(GTK_CFLAGS)
174+hello_SOURCES = hello.c
175+hello_LDADD = $(GTK_LIBS)
176+all: all-am
177+
178+.SUFFIXES:
179+.SUFFIXES: .c .o .obj
180+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
181+ @for dep in $?; do \
182+ case '$(am__configure_deps)' in \
183+ *$$dep*) \
184+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
185+ && { if test -f $@; then exit 0; else break; fi; }; \
186+ exit 1;; \
187+ esac; \
188+ done; \
189+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
190+ $(am__cd) $(top_srcdir) && \
191+ $(AUTOMAKE) --gnu src/Makefile
192+.PRECIOUS: Makefile
193+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
194+ @case '$?' in \
195+ *config.status*) \
196+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
197+ *) \
198+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
199+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
200+ esac;
201+
202+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
203+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
204+
205+$(top_srcdir)/configure: $(am__configure_deps)
206+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
207+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
208+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
209+$(am__aclocal_m4_deps):
210+install-binPROGRAMS: $(bin_PROGRAMS)
211+ @$(NORMAL_INSTALL)
212+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
213+ if test -n "$$list"; then \
214+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
215+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
216+ fi; \
217+ for p in $$list; do echo "$$p $$p"; done | \
218+ sed 's/$(EXEEXT)$$//' | \
219+ while read p p1; do if test -f $$p; \
220+ then echo "$$p"; echo "$$p"; else :; fi; \
221+ done | \
222+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
223+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
224+ sed 'N;N;N;s,\n, ,g' | \
225+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
226+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
227+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
228+ else { print "f", $$3 "/" $$4, $$1; } } \
229+ END { for (d in files) print "f", d, files[d] }' | \
230+ while read type dir files; do \
231+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
232+ test -z "$$files" || { \
233+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
234+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
235+ } \
236+ ; done
237+
238+uninstall-binPROGRAMS:
239+ @$(NORMAL_UNINSTALL)
240+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
241+ files=`for p in $$list; do echo "$$p"; done | \
242+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
243+ -e 's/$$/$(EXEEXT)/' `; \
244+ test -n "$$list" || exit 0; \
245+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
246+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
247+
248+clean-binPROGRAMS:
249+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
250+hello$(EXEEXT): $(hello_OBJECTS) $(hello_DEPENDENCIES) $(EXTRA_hello_DEPENDENCIES)
251+ @rm -f hello$(EXEEXT)
252+ $(LINK) $(hello_OBJECTS) $(hello_LDADD) $(LIBS)
253+
254+mostlyclean-compile:
255+ -rm -f *.$(OBJEXT)
256+
257+distclean-compile:
258+ -rm -f *.tab.c
259+
260+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello.Po@am__quote@
261+
262+.c.o:
263+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
264+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
265+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
266+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
267+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
268+
269+.c.obj:
270+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
271+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
272+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
273+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
274+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
275+
276+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
277+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
278+ unique=`for i in $$list; do \
279+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
280+ done | \
281+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
282+ END { if (nonempty) { for (i in files) print i; }; }'`; \
283+ mkid -fID $$unique
284+tags: TAGS
285+
286+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
287+ $(TAGS_FILES) $(LISP)
288+ set x; \
289+ here=`pwd`; \
290+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
291+ unique=`for i in $$list; do \
292+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
293+ done | \
294+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
295+ END { if (nonempty) { for (i in files) print i; }; }'`; \
296+ shift; \
297+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
298+ test -n "$$unique" || unique=$$empty_fix; \
299+ if test $$# -gt 0; then \
300+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
301+ "$$@" $$unique; \
302+ else \
303+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
304+ $$unique; \
305+ fi; \
306+ fi
307+ctags: CTAGS
308+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
309+ $(TAGS_FILES) $(LISP)
310+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
311+ unique=`for i in $$list; do \
312+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
313+ done | \
314+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
315+ END { if (nonempty) { for (i in files) print i; }; }'`; \
316+ test -z "$(CTAGS_ARGS)$$unique" \
317+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
318+ $$unique
319+
320+GTAGS:
321+ here=`$(am__cd) $(top_builddir) && pwd` \
322+ && $(am__cd) $(top_srcdir) \
323+ && gtags -i $(GTAGS_ARGS) "$$here"
324+
325+cscopelist: $(HEADERS) $(SOURCES) $(LISP)
326+ list='$(SOURCES) $(HEADERS) $(LISP)'; \
327+ case "$(srcdir)" in \
328+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
329+ *) sdir=$(subdir)/$(srcdir) ;; \
330+ esac; \
331+ for i in $$list; do \
332+ if test -f "$$i"; then \
333+ echo "$(subdir)/$$i"; \
334+ else \
335+ echo "$$sdir/$$i"; \
336+ fi; \
337+ done >> $(top_builddir)/cscope.files
338+
339+distclean-tags:
340+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
341+
342+distdir: $(DISTFILES)
343+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
344+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
345+ list='$(DISTFILES)'; \
346+ dist_files=`for file in $$list; do echo $$file; done | \
347+ sed -e "s|^$$srcdirstrip/||;t" \
348+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
349+ case $$dist_files in \
350+ */*) $(MKDIR_P) `echo "$$dist_files" | \
351+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
352+ sort -u` ;; \
353+ esac; \
354+ for file in $$dist_files; do \
355+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
356+ if test -d $$d/$$file; then \
357+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
358+ if test -d "$(distdir)/$$file"; then \
359+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
360+ fi; \
361+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
362+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
363+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
364+ fi; \
365+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
366+ else \
367+ test -f "$(distdir)/$$file" \
368+ || cp -p $$d/$$file "$(distdir)/$$file" \
369+ || exit 1; \
370+ fi; \
371+ done
372+check-am: all-am
373+check: check-am
374+all-am: Makefile $(PROGRAMS)
375+installdirs:
376+ for dir in "$(DESTDIR)$(bindir)"; do \
377+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
378+ done
379+install: install-am
380+install-exec: install-exec-am
381+install-data: install-data-am
382+uninstall: uninstall-am
383+
384+install-am: all-am
385+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
386+
387+installcheck: installcheck-am
388+install-strip:
389+ if test -z '$(STRIP)'; then \
390+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
391+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
392+ install; \
393+ else \
394+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
395+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
396+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
397+ fi
398+mostlyclean-generic:
399+
400+clean-generic:
401+
402+distclean-generic:
403+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
404+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
405+
406+maintainer-clean-generic:
407+ @echo "This command is intended for maintainers to use"
408+ @echo "it deletes files that may require special tools to rebuild."
409+clean: clean-am
410+
411+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
412+
413+distclean: distclean-am
414+ -rm -rf ./$(DEPDIR)
415+ -rm -f Makefile
416+distclean-am: clean-am distclean-compile distclean-generic \
417+ distclean-tags
418+
419+dvi: dvi-am
420+
421+dvi-am:
422+
423+html: html-am
424+
425+html-am:
426+
427+info: info-am
428+
429+info-am:
430+
431+install-data-am:
432+
433+install-dvi: install-dvi-am
434+
435+install-dvi-am:
436+
437+install-exec-am: install-binPROGRAMS
438+
439+install-html: install-html-am
440+
441+install-html-am:
442+
443+install-info: install-info-am
444+
445+install-info-am:
446+
447+install-man:
448+
449+install-pdf: install-pdf-am
450+
451+install-pdf-am:
452+
453+install-ps: install-ps-am
454+
455+install-ps-am:
456+
457+installcheck-am:
458+
459+maintainer-clean: maintainer-clean-am
460+ -rm -rf ./$(DEPDIR)
461+ -rm -f Makefile
462+maintainer-clean-am: distclean-am maintainer-clean-generic
463+
464+mostlyclean: mostlyclean-am
465+
466+mostlyclean-am: mostlyclean-compile mostlyclean-generic
467+
468+pdf: pdf-am
469+
470+pdf-am:
471+
472+ps: ps-am
473+
474+ps-am:
475+
476+uninstall-am: uninstall-binPROGRAMS
477+
478+.MAKE: install-am install-strip
479+
480+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
481+ clean-generic cscopelist ctags distclean distclean-compile \
482+ distclean-generic distclean-tags distdir dvi dvi-am html \
483+ html-am info info-am install install-am install-binPROGRAMS \
484+ install-data install-data-am install-dvi install-dvi-am \
485+ install-exec install-exec-am install-html install-html-am \
486+ install-info install-info-am install-man install-pdf \
487+ install-pdf-am install-ps install-ps-am install-strip \
488+ installcheck installcheck-am installdirs maintainer-clean \
489+ maintainer-clean-generic mostlyclean mostlyclean-compile \
490+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
491+ uninstall-am uninstall-binPROGRAMS
492+
493+
494+# Tell versions [3.59,3.63) of GNU make to not export all variables.
495+# Otherwise a system limit (for SysV at least) may be exceeded.
496+.NOEXPORT:
--- /dev/null
+++ b/base/gtk01/src/hello.c
@@ -0,0 +1,27 @@
1+#include <stdio.h>
2+#include <gtk/gtk.h>
3+
4+int
5+main (int argc, char **argv)
6+{
7+ GtkWidget *win, *but;
8+
9+ gtk_set_locale();
10+ gtk_init(&argc, &argv);
11+
12+ win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
13+ g_signal_connect(GTK_OBJECT(win), "delete-event",
14+ G_CALLBACK(gtk_true), NULL);
15+ g_signal_connect(GTK_OBJECT(win), "destroy",
16+ G_CALLBACK(gtk_main_quit), NULL);
17+
18+ but = gtk_button_new_with_label("Hello, World!");
19+ g_signal_connect_swapped(GTK_OBJECT(but), "clicked",
20+ G_CALLBACK(gtk_object_destroy), (gpointer)win);
21+ gtk_container_add(GTK_CONTAINER(win), but);
22+
23+ gtk_widget_show_all(win);
24+ gtk_main();
25+ return 0;
26+}
27+