aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/g3dviewer-0.2.99.4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/AUTHORS1
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/COPYING340
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/COPYING.trackball37
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/CREDITS5
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/ChangeLog71
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/INSTALL182
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/Makefile559
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/Makefile.am5
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/Makefile.in559
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/NEWS2
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/README23
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/README.thumbnailer14
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/TODO64
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/aclocal.m42064
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/compile107
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/config.guess1466
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/config.h83
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/config.h.in82
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/config.sub1579
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/configure10636
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/configure.in102
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/depcomp479
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile317
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.am7
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.in317
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d32.pngbin0 -> 2429 bytes
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d48.pngbin0 -> 4093 bytes
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/glade/g3dviewer.glade979
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/install-sh294
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile295
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am5
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in295
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m427
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4215
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4196
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4230
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile343
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.am3
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.in343
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/man/g3dviewer.168
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/missing336
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/mkinstalldirs111
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile348
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.am17
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.in348
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_material.xpm139
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_model.xpm162
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_object.pngbin0 -> 426 bytes
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_plugins.xpm134
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_property.pngbin0 -> 601 bytes
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_texture.xpm102
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/ChangeLog0
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile273
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in269
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in.in269
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES4
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES.in4
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/de.gmobin0 -> 1642 bytes
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/de.po149
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/po/g3dviewer.pot141
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile719
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.am33
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.in719
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gl.c471
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h37
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.c236
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.h37
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_callbacks.c364
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.c404
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.h41
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.c451
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.h33
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.c248
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.h36
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/main.c172
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/main.h70
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/model.c73
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/model.h30
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.c73
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.h28
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/texture.c43
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/texture.h30
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.c324
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.h78
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile581
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am37
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in581
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c164
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml91
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh81
90 files changed, 31485 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/AUTHORS b/src/others/mimesh/g3dviewer-0.2.99.4/AUTHORS
new file mode 100644
index 0000000..a352413
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/AUTHORS
@@ -0,0 +1 @@
Markus Dahms <dahms@fh-brandenburg.de>
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/COPYING b/src/others/mimesh/g3dviewer-0.2.99.4/COPYING
new file mode 100644
index 0000000..60549be
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/COPYING
@@ -0,0 +1,340 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Library General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40(2) offer you this license which gives you legal permission to copy,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63a notice placed by the copyright holder saying it may be distributed
64under the terms of this General Public License. The "Program", below,
65refers to any such program or work, and a "work based on the Program"
66means either the Program or any derivative work under copyright law:
67that is to say, a work containing the Program or a portion of it,
68either verbatim or with modifications and/or translated into another
69language. (Hereinafter, translation is included without limitation in
70the term "modification".) Each licensee is addressed as "you".
71
72Activities other than copying, distribution and modification are not
73covered by this License; they are outside its scope. The act of
74running the Program is not restricted, and the output from the Program
75is covered only if its contents constitute a work based on the
76Program (independent of having been made by running the Program).
77Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80source code as you receive it, in any medium, provided that you
81conspicuously and appropriately publish on each copy an appropriate
82copyright notice and disclaimer of warranty; keep intact all the
83notices that refer to this License and to the absence of any warranty;
84and give any other recipients of the Program a copy of this License
85along with the Program.
86
87You may charge a fee for the physical act of transferring a copy, and
88you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91of it, thus forming a work based on the Program, and copy and
92distribute such modifications or work under the terms of Section 1
93above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114These requirements apply to the modified work as a whole. If
115identifiable sections of that work are not derived from the Program,
116and can be reasonably considered independent and separate works in
117themselves, then this License, and its terms, do not apply to those
118sections when you distribute them as separate works. But when you
119distribute the same sections as part of a whole which is a work based
120on the Program, the distribution of the whole must be on the terms of
121this License, whose permissions for other licensees extend to the
122entire whole, and thus to each and every part regardless of who wrote it.
123
124Thus, it is not the intent of this section to claim rights or contest
125your rights to work written entirely by you; rather, the intent is to
126exercise the right to control the distribution of derivative or
127collective works based on the Program.
128
129In addition, mere aggregation of another work not based on the Program
130with the Program (or with a work based on the Program) on a volume of
131a storage or distribution medium does not bring the other work under
132the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135under Section 2) in object code or executable form under the terms of
136Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155The source code for a work means the preferred form of the work for
156making modifications to it. For an executable work, complete source
157code means all the source code for all modules it contains, plus any
158associated interface definition files, plus the scripts used to
159control compilation and installation of the executable. However, as a
160special exception, the source code distributed need not include
161anything that is normally distributed (in either source or binary
162form) with the major components (compiler, kernel, and so on) of the
163operating system on which the executable runs, unless that component
164itself accompanies the executable.
165
166If distribution of executable or object code is made by offering
167access to copy from a designated place, then offering equivalent
168access to copy the source code from the same place counts as
169distribution of the source code, even though third parties are not
170compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173except as expressly provided under this License. Any attempt
174otherwise to copy, modify, sublicense or distribute the Program is
175void, and will automatically terminate your rights under this License.
176However, parties who have received copies, or rights, from you under
177this License will not have their licenses terminated so long as such
178parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181signed it. However, nothing else grants you permission to modify or
182distribute the Program or its derivative works. These actions are
183prohibited by law if you do not accept this License. Therefore, by
184modifying or distributing the Program (or any work based on the
185Program), you indicate your acceptance of this License to do so, and
186all its terms and conditions for copying, distributing or modifying
187the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190Program), the recipient automatically receives a license from the
191original licensor to copy, distribute or modify the Program subject to
192these terms and conditions. You may not impose any further
193restrictions on the recipients' exercise of the rights granted herein.
194You are not responsible for enforcing compliance by third parties to
195this License.
196
197 7. If, as a consequence of a court judgment or allegation of patent
198infringement or for any other reason (not limited to patent issues),
199conditions are imposed on you (whether by court order, agreement or
200otherwise) that contradict the conditions of this License, they do not
201excuse you from the conditions of this License. If you cannot
202distribute so as to satisfy simultaneously your obligations under this
203License and any other pertinent obligations, then as a consequence you
204may not distribute the Program at all. For example, if a patent
205license would not permit royalty-free redistribution of the Program by
206all those who receive copies directly or indirectly through you, then
207the only way you could satisfy both it and this License would be to
208refrain entirely from distribution of the Program.
209
210If any portion of this section is held invalid or unenforceable under
211any particular circumstance, the balance of the section is intended to
212apply and the section as a whole is intended to apply in other
213circumstances.
214
215It is not the purpose of this section to induce you to infringe any
216patents or other property right claims or to contest validity of any
217such claims; this section has the sole purpose of protecting the
218integrity of the free software distribution system, which is
219implemented by public license practices. Many people have made
220generous contributions to the wide range of software distributed
221through that system in reliance on consistent application of that
222system; it is up to the author/donor to decide if he or she is willing
223to distribute software through any other system and a licensee cannot
224impose that choice.
225
226This section is intended to make thoroughly clear what is believed to
227be a consequence of the rest of this License.
228
229 8. If the distribution and/or use of the Program is restricted in
230certain countries either by patents or by copyrighted interfaces, the
231original copyright holder who places the Program under this License
232may add an explicit geographical distribution limitation excluding
233those countries, so that distribution is permitted only in or among
234countries not thus excluded. In such case, this License incorporates
235the limitation as if written in the body of this License.
236
237 9. The Free Software Foundation may publish revised and/or new versions
238of the General Public License from time to time. Such new versions will
239be similar in spirit to the present version, but may differ in detail to
240address new problems or concerns.
241
242Each version is given a distinguishing version number. If the Program
243specifies a version number of this License which applies to it and "any
244later version", you have the option of following the terms and conditions
245either of that version or of any later version published by the Free
246Software Foundation. If the Program does not specify a version number of
247this License, you may choose any version ever published by the Free Software
248Foundation.
249
250 10. If you wish to incorporate parts of the Program into other free
251programs whose distribution conditions are different, write to the author
252to ask for permission. For software which is copyrighted by the Free
253Software Foundation, write to the Free Software Foundation; we sometimes
254make exceptions for this. Our decision will be guided by the two goals
255of preserving the free status of all derivatives of our free software and
256of promoting the sharing and reuse of software generally.
257
258 NO WARRANTY
259
260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268REPAIR OR CORRECTION.
269
270 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278POSSIBILITY OF SUCH DAMAGES.
279
280 END OF TERMS AND CONDITIONS
281
282 How to Apply These Terms to Your New Programs
283
284 If you develop a new program, and you want it to be of the greatest
285possible use to the public, the best way to achieve this is to make it
286free software which everyone can redistribute and change under these terms.
287
288 To do so, attach the following notices to the program. It is safest
289to attach them to the start of each source file to most effectively
290convey the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) 19yy <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License
307 along with this program; if not, write to the Free Software
308 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
309
310
311Also add information on how to contact you by electronic and paper mail.
312
313If the program is interactive, make it output a short notice like this
314when it starts in an interactive mode:
315
316 Gnomovision version 69, Copyright (C) 19yy name of author
317 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318 This is free software, and you are welcome to redistribute it
319 under certain conditions; type `show c' for details.
320
321The hypothetical commands `show w' and `show c' should show the appropriate
322parts of the General Public License. Of course, the commands you use may
323be called something other than `show w' and `show c'; they could even be
324mouse-clicks or menu items--whatever suits your program.
325
326You should also get your employer (if you work as a programmer) or your
327school, if any, to sign a "copyright disclaimer" for the program, if
328necessary. Here is a sample; alter the names:
329
330 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331 `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
333 <signature of Ty Coon>, 1 April 1989
334 Ty Coon, President of Vice
335
336This General Public License does not permit incorporating your program into
337proprietary programs. If your program is a subroutine library, you may
338consider it more useful to permit linking proprietary applications with the
339library. If this is what you want to do, use the GNU Library General
340Public License instead of this License.
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/COPYING.trackball b/src/others/mimesh/g3dviewer-0.2.99.4/COPYING.trackball
new file mode 100644
index 0000000..5a862a5
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/COPYING.trackball
@@ -0,0 +1,37 @@
1For the files "src/trackball.c" and "src/trackball.h" the following
2license applies:
3
4 (c) Copyright 1993, 1994, Silicon Graphics, Inc.
5 ALL RIGHTS RESERVED
6 Permission to use, copy, modify, and distribute this software for
7 any purpose and without fee is hereby granted, provided that the above
8 copyright notice appear in all copies and that both the copyright notice
9 and this permission notice appear in supporting documentation, and that
10 the name of Silicon Graphics, Inc. not be used in advertising
11 or publicity pertaining to distribution of the software without specific,
12 written prior permission.
13
14 THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
15 AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
16 INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
17 FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
18 GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
19 SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
20 KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
21 LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
22 THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
23 ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
24 ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
25 POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
26
27 US Government Users Restricted Rights
28 Use, duplication, or disclosure by the Government is subject to
29 restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
30 (c)(1)(ii) of the Rights in Technical Data and Computer Software
31 clause at DFARS 252.227-7013 and/or in similar or successor
32 clauses in the FAR or the DOD or NASA FAR Supplement.
33 Unpublished-- rights reserved under the copyright laws of the
34 United States. Contractor/manufacturer is Silicon Graphics,
35 Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
36
37 OpenGL(TM) is a trademark of Silicon Graphics, Inc.
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/CREDITS b/src/others/mimesh/g3dviewer-0.2.99.4/CREDITS
new file mode 100644
index 0000000..12ddce5
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/CREDITS
@@ -0,0 +1,5 @@
1Many thanks to:
2* the developers of GtkGLArea <http://www.student.oulu.fi/~jlof/gtkglarea/>
3 (for the nice widget and the helpful examples..)
4* wotsit.org <http://www.wotsit.org>
5 (a lot of file type descriptions came from there)
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/ChangeLog b/src/others/mimesh/g3dviewer-0.2.99.4/ChangeLog
new file mode 100644
index 0000000..621cc7d
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/ChangeLog
@@ -0,0 +1,71 @@
1changes since version 0.2.99.2:
2 * gui: fullscreen function
3 * gl: support for different texture environment parameters
4 * general: requires libg3d >= 0.0.5 now
5 * general: usual small, undocumented fixes and tweaks...
6
7changes since version 0.2.99.0:
8 * gui: screenshot function
9 * gui: moved to libglade
10 * gui: objects hideable
11 * general: localization
12
13changes since version 0.2.0:
14 * libg3d: moved model loading and manipulation into separate library
15 * gui: gtk+ 2.x is required now
16 * gui: gtkglext >= 1.0 is required now
17
18changes since version 0.1.99.1:
19 * plugins: moved to ${PREFIX}/lib/g3dviewer/plugins
20 * configure: look for OpenGL headers and libs in X11 path
21 * general: some warnings removed
22 * imp_ac3d: support for TORCS .acc files
23
24changes since version 0.1.1:
25 * general: texture support (for ac3d, q3o and partly 3ds)
26 * general: some code cleanup (removed dead code, some variable types
27 changed....)
28 * plugins: imp_ac3d: AC3D plugin
29 * plugins: img_sgi: SGI RGB image plugin
30 * plugins: img_gdkpixbuf: general image loader based on GdkPixbuf,
31 GTK 2.x only for now
32
33changes since version 0.1.0:
34 * general: added manpage
35 * plugins: fix for compatibility of shared libraries (PIC)
36 * plugins: imp_vrml: started buggy VRML 1.0 plugin (requires flex)
37
38changes since version 0.0.3:
39 * general: ported to GtkGLExt (now default with GTK 2.x)
40 * general: zooming with mouse wheel (GTK 2.x only)
41 * plugins: imp_3dmf: 3D Metafile format plugin (basics for now)
42 * plugins: imp_q3o: Quick3D object/scene plugin (mesh + materials)
43 * plugins: imp_cob: TrueSpace object plugin
44 * plugins: imp_lwo: supports LWO2 objects now
45 * build system: updated some parts, include m4 files
46
47== rerelease of version 0.0.3 with changes below ==
48
49changes since version 0.0.3:
50 * general: ported to GLib/GTK+ 2.0 & GtkGlArea 1.99.0 (optional, but
51 default, use "./configure --with-gtk12" to use Gtk+ 1.2)
52 * configure: quite a lot of changes, hopefully to make things better...
53 * interface/infowin: removed some gtk warnings
54 * plugins/imp_*.c: fixed a locale problem
55
56changes since version 0.0.2a (2002/03/21):
57 * plugins: generic support for image plugins (for height fields & textures)
58 * plugins: imp_heightfield.so plugin (generates height fields from images)
59 * plugins: img_bmp.so - Windows Bitmap loader
60 * gl: some changes in rendering, COULD be a little faster on some machines
61
62changes since version 0.0.2 (2002/03/21):
63 * pixmaps: 2 icons missing in package
64
65changes since version 0.0.1 (2002/03/09):
66 * plugins: nff plugin added
67 * gl: custom normals possible
68 * infowin: started information window
69 * main: eliminated error on exit
70 * configure: debugging not enabled by default (use
71 --enable-debug[=<level>])
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/INSTALL b/src/others/mimesh/g3dviewer-0.2.99.4/INSTALL
new file mode 100644
index 0000000..b42a17a
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/INSTALL
@@ -0,0 +1,182 @@
1Basic Installation
2==================
3
4 These are generic installation instructions.
5
6 The `configure' shell script attempts to guess correct values for
7various system-dependent variables used during compilation. It uses
8those values to create a `Makefile' in each directory of the package.
9It may also create one or more `.h' files containing system-dependent
10definitions. Finally, it creates a shell script `config.status' that
11you can run in the future to recreate the current configuration, a file
12`config.cache' that saves the results of its tests to speed up
13reconfiguring, and a file `config.log' containing compiler output
14(useful mainly for debugging `configure').
15
16 If you need to do unusual things to compile the package, please try
17to figure out how `configure' could check whether to do them, and mail
18diffs or instructions to the address given in the `README' so they can
19be considered for the next release. If at some point `config.cache'
20contains results you don't want to keep, you may remove or edit it.
21
22 The file `configure.in' is used to create `configure' by a program
23called `autoconf'. You only need `configure.in' if you want to change
24it or regenerate `configure' using a newer version of `autoconf'.
25
26The simplest way to compile this package is:
27
28 1. `cd' to the directory containing the package's source code and type
29 `./configure' to configure the package for your system. If you're
30 using `csh' on an old version of System V, you might need to type
31 `sh ./configure' instead to prevent `csh' from trying to execute
32 `configure' itself.
33
34 Running `configure' takes awhile. While running, it prints some
35 messages telling which features it is checking for.
36
37 2. Type `make' to compile the package.
38
39 3. Optionally, type `make check' to run any self-tests that come with
40 the package.
41
42 4. Type `make install' to install the programs and any data files and
43 documentation.
44
45 5. You can remove the program binaries and object files from the
46 source code directory by typing `make clean'. To also remove the
47 files that `configure' created (so you can compile the package for
48 a different kind of computer), type `make distclean'. There is
49 also a `make maintainer-clean' target, but that is intended mainly
50 for the package's developers. If you use it, you may have to get
51 all sorts of other programs in order to regenerate files that came
52 with the distribution.
53
54Compilers and Options
55=====================
56
57 Some systems require unusual options for compilation or linking that
58the `configure' script does not know about. You can give `configure'
59initial values for variables by setting them in the environment. Using
60a Bourne-compatible shell, you can do that on the command line like
61this:
62 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
63
64Or on systems that have the `env' program, you can do it like this:
65 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
66
67Compiling For Multiple Architectures
68====================================
69
70 You can compile the package for more than one kind of computer at the
71same time, by placing the object files for each architecture in their
72own directory. To do this, you must use a version of `make' that
73supports the `VPATH' variable, such as GNU `make'. `cd' to the
74directory where you want the object files and executables to go and run
75the `configure' script. `configure' automatically checks for the
76source code in the directory that `configure' is in and in `..'.
77
78 If you have to use a `make' that does not supports the `VPATH'
79variable, you have to compile the package for one architecture at a time
80in the source code directory. After you have installed the package for
81one architecture, use `make distclean' before reconfiguring for another
82architecture.
83
84Installation Names
85==================
86
87 By default, `make install' will install the package's files in
88`/usr/local/bin', `/usr/local/man', etc. You can specify an
89installation prefix other than `/usr/local' by giving `configure' the
90option `--prefix=PATH'.
91
92 You can specify separate installation prefixes for
93architecture-specific files and architecture-independent files. If you
94give `configure' the option `--exec-prefix=PATH', the package will use
95PATH as the prefix for installing programs and libraries.
96Documentation and other data files will still use the regular prefix.
97
98 In addition, if you use an unusual directory layout you can give
99options like `--bindir=PATH' to specify different values for particular
100kinds of files. Run `configure --help' for a list of the directories
101you can set and what kinds of files go in them.
102
103 If the package supports it, you can cause programs to be installed
104with an extra prefix or suffix on their names by giving `configure' the
105option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
106
107Optional Features
108=================
109
110 Some packages pay attention to `--enable-FEATURE' options to
111`configure', where FEATURE indicates an optional part of the package.
112They may also pay attention to `--with-PACKAGE' options, where PACKAGE
113is something like `gnu-as' or `x' (for the X Window System). The
114`README' should mention any `--enable-' and `--with-' options that the
115package recognizes.
116
117 For packages that use the X Window System, `configure' can usually
118find the X include and library files automatically, but if it doesn't,
119you can use the `configure' options `--x-includes=DIR' and
120`--x-libraries=DIR' to specify their locations.
121
122Specifying the System Type
123==========================
124
125 There may be some features `configure' can not figure out
126automatically, but needs to determine by the type of host the package
127will run on. Usually `configure' can figure that out, but if it prints
128a message saying it can not guess the host type, give it the
129`--host=TYPE' option. TYPE can either be a short name for the system
130type, such as `sun4', or a canonical name with three fields:
131 CPU-COMPANY-SYSTEM
132
133See the file `config.sub' for the possible values of each field. If
134`config.sub' isn't included in this package, then this package doesn't
135need to know the host type.
136
137 If you are building compiler tools for cross-compiling, you can also
138use the `--target=TYPE' option to select the type of system they will
139produce code for and the `--build=TYPE' option to select the type of
140system on which you are compiling the package.
141
142Sharing Defaults
143================
144
145 If you want to set default values for `configure' scripts to share,
146you can create a site shell script called `config.site' that gives
147default values for variables like `CC', `cache_file', and `prefix'.
148`configure' looks for `PREFIX/share/config.site' if it exists, then
149`PREFIX/etc/config.site' if it exists. Or, you can set the
150`CONFIG_SITE' environment variable to the location of the site script.
151A warning: not all `configure' scripts look for a site script.
152
153Operation Controls
154==================
155
156 `configure' recognizes the following options to control how it
157operates.
158
159`--cache-file=FILE'
160 Use and save the results of the tests in FILE instead of
161 `./config.cache'. Set FILE to `/dev/null' to disable caching, for
162 debugging `configure'.
163
164`--help'
165 Print a summary of the options to `configure', and exit.
166
167`--quiet'
168`--silent'
169`-q'
170 Do not print messages saying which checks are being made. To
171 suppress all normal output, redirect it to `/dev/null' (any error
172 messages will still be shown).
173
174`--srcdir=DIR'
175 Look for the package's source code in directory DIR. Usually
176 `configure' can determine that directory automatically.
177
178`--version'
179 Print the version of Autoconf used to generate the `configure'
180 script, and exit.
181
182`configure' also accepts some other, not widely useful, options.
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile
new file mode 100644
index 0000000..4cc1dd1
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile
@@ -0,0 +1,559 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = .
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = .
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151SUBDIRS = m4 man src thumbnailer pixmaps glade po
152EXTRA_DIST = CREDITS COPYING.trackball README.thumbnailer
153subdir = .
154ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
155mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
156CONFIG_HEADER = config.h
157CONFIG_CLEAN_FILES =
158DIST_SOURCES =
159
160RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
161 ps-recursive install-info-recursive uninstall-info-recursive \
162 all-recursive install-data-recursive install-exec-recursive \
163 installdirs-recursive install-recursive uninstall-recursive \
164 check-recursive installcheck-recursive
165DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
166 COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
167 compile config.guess config.h.in config.sub configure \
168 configure.in depcomp install-sh missing mkinstalldirs
169DIST_SUBDIRS = $(SUBDIRS)
170all: config.h
171 $(MAKE) $(AM_MAKEFLAGS) all-recursive
172
173.SUFFIXES:
174
175am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
176 configure.lineno
177$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
178 cd $(top_srcdir) && \
179 $(AUTOMAKE) --gnu Makefile
180Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
181 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
182
183$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
184 $(SHELL) ./config.status --recheck
185$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
186 cd $(srcdir) && $(AUTOCONF)
187
188$(ACLOCAL_M4): configure.in
189 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
190
191config.h: stamp-h1
192 @if test ! -f $@; then \
193 rm -f stamp-h1; \
194 $(MAKE) stamp-h1; \
195 else :; fi
196
197stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
198 @rm -f stamp-h1
199 cd $(top_builddir) && $(SHELL) ./config.status config.h
200
201$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
202 cd $(top_srcdir) && $(AUTOHEADER)
203 touch $(srcdir)/config.h.in
204
205distclean-hdr:
206 -rm -f config.h stamp-h1
207uninstall-info-am:
208
209# This directory's subdirectories are mostly independent; you can cd
210# into them and run `make' without going through this Makefile.
211# To change the values of `make' variables: instead of editing Makefiles,
212# (1) if the variable is set in `config.status', edit `config.status'
213# (which will cause the Makefiles to be regenerated when you run `make');
214# (2) otherwise, pass the desired values on the `make' command line.
215$(RECURSIVE_TARGETS):
216 @set fnord $$MAKEFLAGS; amf=$$2; \
217 dot_seen=no; \
218 target=`echo $@ | sed s/-recursive//`; \
219 list='$(SUBDIRS)'; for subdir in $$list; do \
220 echo "Making $$target in $$subdir"; \
221 if test "$$subdir" = "."; then \
222 dot_seen=yes; \
223 local_target="$$target-am"; \
224 else \
225 local_target="$$target"; \
226 fi; \
227 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
228 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
229 done; \
230 if test "$$dot_seen" = "no"; then \
231 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
232 fi; test -z "$$fail"
233
234mostlyclean-recursive clean-recursive distclean-recursive \
235maintainer-clean-recursive:
236 @set fnord $$MAKEFLAGS; amf=$$2; \
237 dot_seen=no; \
238 case "$@" in \
239 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
240 *) list='$(SUBDIRS)' ;; \
241 esac; \
242 rev=''; for subdir in $$list; do \
243 if test "$$subdir" = "."; then :; else \
244 rev="$$subdir $$rev"; \
245 fi; \
246 done; \
247 rev="$$rev ."; \
248 target=`echo $@ | sed s/-recursive//`; \
249 for subdir in $$rev; do \
250 echo "Making $$target in $$subdir"; \
251 if test "$$subdir" = "."; then \
252 local_target="$$target-am"; \
253 else \
254 local_target="$$target"; \
255 fi; \
256 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
257 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
258 done && test -z "$$fail"
259tags-recursive:
260 list='$(SUBDIRS)'; for subdir in $$list; do \
261 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
262 done
263ctags-recursive:
264 list='$(SUBDIRS)'; for subdir in $$list; do \
265 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
266 done
267
268ETAGS = etags
269ETAGSFLAGS =
270
271CTAGS = ctags
272CTAGSFLAGS =
273
274tags: TAGS
275
276ID: $(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; } \
282 END { for (i in files) print i; }'`; \
283 mkid -fID $$unique
284
285TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
286 $(TAGS_FILES) $(LISP)
287 tags=; \
288 here=`pwd`; \
289 if (etags --etags-include --version) >/dev/null 2>&1; then \
290 include_option=--etags-include; \
291 else \
292 include_option=--include; \
293 fi; \
294 list='$(SUBDIRS)'; for subdir in $$list; do \
295 if test "$$subdir" = .; then :; else \
296 test -f $$subdir/TAGS && \
297 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
298 fi; \
299 done; \
300 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
301 unique=`for i in $$list; do \
302 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
303 done | \
304 $(AWK) ' { files[$$0] = 1; } \
305 END { for (i in files) print i; }'`; \
306 test -z "$(ETAGS_ARGS)$$tags$$unique" \
307 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
308 $$tags $$unique
309
310ctags: CTAGS
311CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
312 $(TAGS_FILES) $(LISP)
313 tags=; \
314 here=`pwd`; \
315 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
316 unique=`for i in $$list; do \
317 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
318 done | \
319 $(AWK) ' { files[$$0] = 1; } \
320 END { for (i in files) print i; }'`; \
321 test -z "$(CTAGS_ARGS)$$tags$$unique" \
322 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
323 $$tags $$unique
324
325GTAGS:
326 here=`$(am__cd) $(top_builddir) && pwd` \
327 && cd $(top_srcdir) \
328 && gtags -i $(GTAGS_ARGS) $$here
329
330distclean-tags:
331 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
332DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
333
334top_distdir = .
335distdir = $(PACKAGE)-$(VERSION)
336
337am__remove_distdir = \
338 { test ! -d $(distdir) \
339 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
340 && rm -fr $(distdir); }; }
341
342GZIP_ENV = --best
343distuninstallcheck_listfiles = find . -type f -print
344distcleancheck_listfiles = find . -type f -print
345
346distdir: $(DISTFILES)
347 $(am__remove_distdir)
348 mkdir $(distdir)
349 $(mkinstalldirs) $(distdir)/po
350 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
351 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
352 list='$(DISTFILES)'; for file in $$list; do \
353 case $$file in \
354 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
355 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
356 esac; \
357 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
358 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
359 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
360 dir="/$$dir"; \
361 $(mkinstalldirs) "$(distdir)$$dir"; \
362 else \
363 dir=''; \
364 fi; \
365 if test -d $$d/$$file; then \
366 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
367 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
368 fi; \
369 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
370 else \
371 test -f $(distdir)/$$file \
372 || cp -p $$d/$$file $(distdir)/$$file \
373 || exit 1; \
374 fi; \
375 done
376 list='$(SUBDIRS)'; for subdir in $$list; do \
377 if test "$$subdir" = .; then :; else \
378 test -d $(distdir)/$$subdir \
379 || mkdir $(distdir)/$$subdir \
380 || exit 1; \
381 (cd $$subdir && \
382 $(MAKE) $(AM_MAKEFLAGS) \
383 top_distdir="$(top_distdir)" \
384 distdir=../$(distdir)/$$subdir \
385 distdir) \
386 || exit 1; \
387 fi; \
388 done
389 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
390 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
391 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
392 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
393 || chmod -R a+r $(distdir)
394dist-gzip: distdir
395 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
396 $(am__remove_distdir)
397
398dist dist-all: distdir
399 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
400 $(am__remove_distdir)
401
402# This target untars the dist file and tries a VPATH configuration. Then
403# it guarantees that the distribution is self-contained by making another
404# tarfile.
405distcheck: dist
406 $(am__remove_distdir)
407 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
408 chmod -R a-w $(distdir); chmod a+w $(distdir)
409 mkdir $(distdir)/_build
410 mkdir $(distdir)/_inst
411 chmod a-w $(distdir)
412 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
413 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
414 && cd $(distdir)/_build \
415 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
416 $(DISTCHECK_CONFIGURE_FLAGS) \
417 && $(MAKE) $(AM_MAKEFLAGS) \
418 && $(MAKE) $(AM_MAKEFLAGS) dvi \
419 && $(MAKE) $(AM_MAKEFLAGS) check \
420 && $(MAKE) $(AM_MAKEFLAGS) install \
421 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
422 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
423 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
424 distuninstallcheck \
425 && chmod -R a-w "$$dc_install_base" \
426 && ({ \
427 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
428 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
429 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
430 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
431 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
432 } || { rm -rf "$$dc_destdir"; exit 1; }) \
433 && rm -rf "$$dc_destdir" \
434 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
435 && rm -f $(distdir).tar.gz \
436 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
437 $(am__remove_distdir)
438 @echo "$(distdir).tar.gz is ready for distribution" | \
439 sed 'h;s/./=/g;p;x;p;x'
440distuninstallcheck:
441 @cd $(distuninstallcheck_dir) \
442 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
443 || { echo "ERROR: files left after uninstall:" ; \
444 if test -n "$(DESTDIR)"; then \
445 echo " (check DESTDIR support)"; \
446 fi ; \
447 $(distuninstallcheck_listfiles) ; \
448 exit 1; } >&2
449distcleancheck: distclean
450 @if test '$(srcdir)' = . ; then \
451 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
452 exit 1 ; \
453 fi
454 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
455 || { echo "ERROR: files left in build directory after distclean:" ; \
456 $(distcleancheck_listfiles) ; \
457 exit 1; } >&2
458check-am: all-am
459check: check-recursive
460all-am: Makefile config.h
461installdirs: installdirs-recursive
462installdirs-am:
463
464install: install-recursive
465install-exec: install-exec-recursive
466install-data: install-data-recursive
467uninstall: uninstall-recursive
468
469install-am: all-am
470 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
471
472installcheck: installcheck-recursive
473install-strip:
474 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
476 `test -z '$(STRIP)' || \
477 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
478mostlyclean-generic:
479
480clean-generic:
481
482distclean-generic:
483 -rm -f $(CONFIG_CLEAN_FILES)
484
485maintainer-clean-generic:
486 @echo "This command is intended for maintainers to use"
487 @echo "it deletes files that may require special tools to rebuild."
488clean: clean-recursive
489
490clean-am: clean-generic mostlyclean-am
491
492distclean: distclean-recursive
493 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
494 -rm -f Makefile
495distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
496
497dvi: dvi-recursive
498
499dvi-am:
500
501info: info-recursive
502
503info-am:
504
505install-data-am:
506
507install-exec-am:
508
509install-info: install-info-recursive
510
511install-man:
512
513installcheck-am:
514
515maintainer-clean: maintainer-clean-recursive
516 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
517 -rm -rf $(top_srcdir)/autom4te.cache
518 -rm -f Makefile
519maintainer-clean-am: distclean-am maintainer-clean-generic
520
521mostlyclean: mostlyclean-recursive
522
523mostlyclean-am: mostlyclean-generic
524
525pdf: pdf-recursive
526
527pdf-am:
528
529ps: ps-recursive
530
531ps-am:
532
533uninstall-am: uninstall-info-am
534
535uninstall-info: uninstall-info-recursive
536
537.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
538 clean-generic clean-recursive ctags ctags-recursive dist \
539 dist-all dist-gzip distcheck distclean distclean-generic \
540 distclean-hdr distclean-recursive distclean-tags distcleancheck \
541 distdir distuninstallcheck dvi dvi-am dvi-recursive info \
542 info-am info-recursive install install-am install-data \
543 install-data-am install-data-recursive install-exec \
544 install-exec-am install-exec-recursive install-info \
545 install-info-am install-info-recursive install-man \
546 install-recursive install-strip installcheck installcheck-am \
547 installdirs installdirs-am installdirs-recursive \
548 maintainer-clean maintainer-clean-generic \
549 maintainer-clean-recursive mostlyclean mostlyclean-generic \
550 mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
551 ps-recursive tags tags-recursive uninstall uninstall-am \
552 uninstall-info-am uninstall-info-recursive uninstall-recursive
553
554
555deb:
556 fakeroot dpkg-buildpackage
557# Tell versions [3.59,3.63) of GNU make to not export all variables.
558# Otherwise a system limit (for SysV at least) may be exceeded.
559.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.am
new file mode 100644
index 0000000..b0b121e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.am
@@ -0,0 +1,5 @@
1SUBDIRS = m4 man src thumbnailer pixmaps glade po
2EXTRA_DIST = CREDITS COPYING.trackball README.thumbnailer
3
4deb:
5 fakeroot dpkg-buildpackage
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.in
new file mode 100644
index 0000000..743cd03
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/Makefile.in
@@ -0,0 +1,559 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = .
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151SUBDIRS = m4 man src thumbnailer pixmaps glade po
152EXTRA_DIST = CREDITS COPYING.trackball README.thumbnailer
153subdir = .
154ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
155mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
156CONFIG_HEADER = config.h
157CONFIG_CLEAN_FILES =
158DIST_SOURCES =
159
160RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
161 ps-recursive install-info-recursive uninstall-info-recursive \
162 all-recursive install-data-recursive install-exec-recursive \
163 installdirs-recursive install-recursive uninstall-recursive \
164 check-recursive installcheck-recursive
165DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
166 COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
167 compile config.guess config.h.in config.sub configure \
168 configure.in depcomp install-sh missing mkinstalldirs
169DIST_SUBDIRS = $(SUBDIRS)
170all: config.h
171 $(MAKE) $(AM_MAKEFLAGS) all-recursive
172
173.SUFFIXES:
174
175am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
176 configure.lineno
177$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
178 cd $(top_srcdir) && \
179 $(AUTOMAKE) --gnu Makefile
180Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
181 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
182
183$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
184 $(SHELL) ./config.status --recheck
185$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
186 cd $(srcdir) && $(AUTOCONF)
187
188$(ACLOCAL_M4): configure.in
189 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
190
191config.h: stamp-h1
192 @if test ! -f $@; then \
193 rm -f stamp-h1; \
194 $(MAKE) stamp-h1; \
195 else :; fi
196
197stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
198 @rm -f stamp-h1
199 cd $(top_builddir) && $(SHELL) ./config.status config.h
200
201$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
202 cd $(top_srcdir) && $(AUTOHEADER)
203 touch $(srcdir)/config.h.in
204
205distclean-hdr:
206 -rm -f config.h stamp-h1
207uninstall-info-am:
208
209# This directory's subdirectories are mostly independent; you can cd
210# into them and run `make' without going through this Makefile.
211# To change the values of `make' variables: instead of editing Makefiles,
212# (1) if the variable is set in `config.status', edit `config.status'
213# (which will cause the Makefiles to be regenerated when you run `make');
214# (2) otherwise, pass the desired values on the `make' command line.
215$(RECURSIVE_TARGETS):
216 @set fnord $$MAKEFLAGS; amf=$$2; \
217 dot_seen=no; \
218 target=`echo $@ | sed s/-recursive//`; \
219 list='$(SUBDIRS)'; for subdir in $$list; do \
220 echo "Making $$target in $$subdir"; \
221 if test "$$subdir" = "."; then \
222 dot_seen=yes; \
223 local_target="$$target-am"; \
224 else \
225 local_target="$$target"; \
226 fi; \
227 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
228 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
229 done; \
230 if test "$$dot_seen" = "no"; then \
231 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
232 fi; test -z "$$fail"
233
234mostlyclean-recursive clean-recursive distclean-recursive \
235maintainer-clean-recursive:
236 @set fnord $$MAKEFLAGS; amf=$$2; \
237 dot_seen=no; \
238 case "$@" in \
239 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
240 *) list='$(SUBDIRS)' ;; \
241 esac; \
242 rev=''; for subdir in $$list; do \
243 if test "$$subdir" = "."; then :; else \
244 rev="$$subdir $$rev"; \
245 fi; \
246 done; \
247 rev="$$rev ."; \
248 target=`echo $@ | sed s/-recursive//`; \
249 for subdir in $$rev; do \
250 echo "Making $$target in $$subdir"; \
251 if test "$$subdir" = "."; then \
252 local_target="$$target-am"; \
253 else \
254 local_target="$$target"; \
255 fi; \
256 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
257 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
258 done && test -z "$$fail"
259tags-recursive:
260 list='$(SUBDIRS)'; for subdir in $$list; do \
261 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
262 done
263ctags-recursive:
264 list='$(SUBDIRS)'; for subdir in $$list; do \
265 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
266 done
267
268ETAGS = etags
269ETAGSFLAGS =
270
271CTAGS = ctags
272CTAGSFLAGS =
273
274tags: TAGS
275
276ID: $(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; } \
282 END { for (i in files) print i; }'`; \
283 mkid -fID $$unique
284
285TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
286 $(TAGS_FILES) $(LISP)
287 tags=; \
288 here=`pwd`; \
289 if (etags --etags-include --version) >/dev/null 2>&1; then \
290 include_option=--etags-include; \
291 else \
292 include_option=--include; \
293 fi; \
294 list='$(SUBDIRS)'; for subdir in $$list; do \
295 if test "$$subdir" = .; then :; else \
296 test -f $$subdir/TAGS && \
297 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
298 fi; \
299 done; \
300 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
301 unique=`for i in $$list; do \
302 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
303 done | \
304 $(AWK) ' { files[$$0] = 1; } \
305 END { for (i in files) print i; }'`; \
306 test -z "$(ETAGS_ARGS)$$tags$$unique" \
307 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
308 $$tags $$unique
309
310ctags: CTAGS
311CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
312 $(TAGS_FILES) $(LISP)
313 tags=; \
314 here=`pwd`; \
315 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
316 unique=`for i in $$list; do \
317 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
318 done | \
319 $(AWK) ' { files[$$0] = 1; } \
320 END { for (i in files) print i; }'`; \
321 test -z "$(CTAGS_ARGS)$$tags$$unique" \
322 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
323 $$tags $$unique
324
325GTAGS:
326 here=`$(am__cd) $(top_builddir) && pwd` \
327 && cd $(top_srcdir) \
328 && gtags -i $(GTAGS_ARGS) $$here
329
330distclean-tags:
331 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
332DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
333
334top_distdir = .
335distdir = $(PACKAGE)-$(VERSION)
336
337am__remove_distdir = \
338 { test ! -d $(distdir) \
339 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
340 && rm -fr $(distdir); }; }
341
342GZIP_ENV = --best
343distuninstallcheck_listfiles = find . -type f -print
344distcleancheck_listfiles = find . -type f -print
345
346distdir: $(DISTFILES)
347 $(am__remove_distdir)
348 mkdir $(distdir)
349 $(mkinstalldirs) $(distdir)/po
350 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
351 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
352 list='$(DISTFILES)'; for file in $$list; do \
353 case $$file in \
354 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
355 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
356 esac; \
357 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
358 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
359 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
360 dir="/$$dir"; \
361 $(mkinstalldirs) "$(distdir)$$dir"; \
362 else \
363 dir=''; \
364 fi; \
365 if test -d $$d/$$file; then \
366 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
367 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
368 fi; \
369 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
370 else \
371 test -f $(distdir)/$$file \
372 || cp -p $$d/$$file $(distdir)/$$file \
373 || exit 1; \
374 fi; \
375 done
376 list='$(SUBDIRS)'; for subdir in $$list; do \
377 if test "$$subdir" = .; then :; else \
378 test -d $(distdir)/$$subdir \
379 || mkdir $(distdir)/$$subdir \
380 || exit 1; \
381 (cd $$subdir && \
382 $(MAKE) $(AM_MAKEFLAGS) \
383 top_distdir="$(top_distdir)" \
384 distdir=../$(distdir)/$$subdir \
385 distdir) \
386 || exit 1; \
387 fi; \
388 done
389 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
390 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
391 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
392 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
393 || chmod -R a+r $(distdir)
394dist-gzip: distdir
395 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
396 $(am__remove_distdir)
397
398dist dist-all: distdir
399 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
400 $(am__remove_distdir)
401
402# This target untars the dist file and tries a VPATH configuration. Then
403# it guarantees that the distribution is self-contained by making another
404# tarfile.
405distcheck: dist
406 $(am__remove_distdir)
407 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
408 chmod -R a-w $(distdir); chmod a+w $(distdir)
409 mkdir $(distdir)/_build
410 mkdir $(distdir)/_inst
411 chmod a-w $(distdir)
412 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
413 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
414 && cd $(distdir)/_build \
415 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
416 $(DISTCHECK_CONFIGURE_FLAGS) \
417 && $(MAKE) $(AM_MAKEFLAGS) \
418 && $(MAKE) $(AM_MAKEFLAGS) dvi \
419 && $(MAKE) $(AM_MAKEFLAGS) check \
420 && $(MAKE) $(AM_MAKEFLAGS) install \
421 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
422 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
423 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
424 distuninstallcheck \
425 && chmod -R a-w "$$dc_install_base" \
426 && ({ \
427 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
428 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
429 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
430 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
431 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
432 } || { rm -rf "$$dc_destdir"; exit 1; }) \
433 && rm -rf "$$dc_destdir" \
434 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
435 && rm -f $(distdir).tar.gz \
436 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
437 $(am__remove_distdir)
438 @echo "$(distdir).tar.gz is ready for distribution" | \
439 sed 'h;s/./=/g;p;x;p;x'
440distuninstallcheck:
441 @cd $(distuninstallcheck_dir) \
442 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
443 || { echo "ERROR: files left after uninstall:" ; \
444 if test -n "$(DESTDIR)"; then \
445 echo " (check DESTDIR support)"; \
446 fi ; \
447 $(distuninstallcheck_listfiles) ; \
448 exit 1; } >&2
449distcleancheck: distclean
450 @if test '$(srcdir)' = . ; then \
451 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
452 exit 1 ; \
453 fi
454 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
455 || { echo "ERROR: files left in build directory after distclean:" ; \
456 $(distcleancheck_listfiles) ; \
457 exit 1; } >&2
458check-am: all-am
459check: check-recursive
460all-am: Makefile config.h
461installdirs: installdirs-recursive
462installdirs-am:
463
464install: install-recursive
465install-exec: install-exec-recursive
466install-data: install-data-recursive
467uninstall: uninstall-recursive
468
469install-am: all-am
470 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
471
472installcheck: installcheck-recursive
473install-strip:
474 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
476 `test -z '$(STRIP)' || \
477 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
478mostlyclean-generic:
479
480clean-generic:
481
482distclean-generic:
483 -rm -f $(CONFIG_CLEAN_FILES)
484
485maintainer-clean-generic:
486 @echo "This command is intended for maintainers to use"
487 @echo "it deletes files that may require special tools to rebuild."
488clean: clean-recursive
489
490clean-am: clean-generic mostlyclean-am
491
492distclean: distclean-recursive
493 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
494 -rm -f Makefile
495distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
496
497dvi: dvi-recursive
498
499dvi-am:
500
501info: info-recursive
502
503info-am:
504
505install-data-am:
506
507install-exec-am:
508
509install-info: install-info-recursive
510
511install-man:
512
513installcheck-am:
514
515maintainer-clean: maintainer-clean-recursive
516 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
517 -rm -rf $(top_srcdir)/autom4te.cache
518 -rm -f Makefile
519maintainer-clean-am: distclean-am maintainer-clean-generic
520
521mostlyclean: mostlyclean-recursive
522
523mostlyclean-am: mostlyclean-generic
524
525pdf: pdf-recursive
526
527pdf-am:
528
529ps: ps-recursive
530
531ps-am:
532
533uninstall-am: uninstall-info-am
534
535uninstall-info: uninstall-info-recursive
536
537.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
538 clean-generic clean-recursive ctags ctags-recursive dist \
539 dist-all dist-gzip distcheck distclean distclean-generic \
540 distclean-hdr distclean-recursive distclean-tags distcleancheck \
541 distdir distuninstallcheck dvi dvi-am dvi-recursive info \
542 info-am info-recursive install install-am install-data \
543 install-data-am install-data-recursive install-exec \
544 install-exec-am install-exec-recursive install-info \
545 install-info-am install-info-recursive install-man \
546 install-recursive install-strip installcheck installcheck-am \
547 installdirs installdirs-am installdirs-recursive \
548 maintainer-clean maintainer-clean-generic \
549 maintainer-clean-recursive mostlyclean mostlyclean-generic \
550 mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
551 ps-recursive tags tags-recursive uninstall uninstall-am \
552 uninstall-info-am uninstall-info-recursive uninstall-recursive
553
554
555deb:
556 fakeroot dpkg-buildpackage
557# Tell versions [3.59,3.63) of GNU make to not export all variables.
558# Otherwise a system limit (for SysV at least) may be exceeded.
559.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/NEWS b/src/others/mimesh/g3dviewer-0.2.99.4/NEWS
new file mode 100644
index 0000000..e4d5e69
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/NEWS
@@ -0,0 +1,2 @@
1For changes from the last version you should read the ChangeLog.
2All other news on http://automagically.de/?g3dviewer .
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/README b/src/others/mimesh/g3dviewer-0.2.99.4/README
new file mode 100644
index 0000000..9791cec
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/README
@@ -0,0 +1,23 @@
1g3dviewer - a 3D file viewer
2
3REQUIREMENTS:
4 * GTK+ 2.4+
5 * libglade >= 2.4.0
6 * GtkGLExt 1.0+
7 * OpenGL (GL & GLU library)
8 * Flex (optional, for VRML plugin)
9
10 Debian (Sarge+) Packages:
11 * GTK+ 2.4+: libgtk2.0-dev
12 * libglade libglade2-dev
13 * GtkGLExt: libgtkglext1-dev
14 * Mesa GL: xlibmesa-gl-dev
15 * Mesa GLU: xlibmesa-glu-dev
16 * Flex: flex
17
18INSTALLATION:
19 Usual autoconf/automake installation, refer to INSTALL if you are not
20 familiar with this procedure.
21
22SUPPORTED FILETYPES:
23 * see libg3d README
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/README.thumbnailer b/src/others/mimesh/g3dviewer-0.2.99.4/README.thumbnailer
new file mode 100644
index 0000000..4931176
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/README.thumbnailer
@@ -0,0 +1,14 @@
1G3D-THUMBNAILER
2
3the directory "thumbnailer" contains a program to create small images
4("thumbnails") for file managers like Nautilus. The program ("g3d-thumbnailer")
5is installed by default, but the integration step has to be done on a user
6basis at the moment. To install the mime information (freedesktop.org shared
7mime info stuff) and the integration into Nautilus you have to do the
8following steps as _normal user_:
9
10$ cd thumbnailer
11$ make install-data-user
12
13This procedure will be integrated into the usual installation process for
14all users in the future.
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/TODO b/src/others/mimesh/g3dviewer-0.2.99.4/TODO
new file mode 100644
index 0000000..daf41da
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/TODO
@@ -0,0 +1,64 @@
1# OUT OF DATE!
2
3short term:
4 * flex version check
5 * type cleanup
6 * fix imp_heightfield
7 * optional plugins
8
9 * 3ds lights
10 * correct normals (right direction faces) [added a hack (two-sided faces)]
11 * debug/info window (model tree, plugin infos, debug output...)
12
13longer term:
14 * more filetype of course
15 * .max (no specs, may be just serialization of internal objects,
16 so very hard to implement)
17 * .wrl / .vrml (on the way)
18 * .x3d (http://www.web3d.org/x3d/specifications/)
19 * .flt (specs available)
20 * .off
21 * .blend (current blender format hard to implement (similar to .max),
22 blender will move to xml based format some time)
23 * .off
24 * .lcd (LeoCAD, http://leocad.org/, parts library: specs available,
25 lcd project files: source available)
26
27-------------------------------------------------------------------------------
28done:
29* center objects
30* 3ds color materials
31* interface inprovements (open dialog)
32* move .so file building to libtool
33-------------------------------------------------------------------------------
34TODO for 0.2.0
35* type cleanup (GLib / GL types only)
36* textures optional
37* twosided faces optional again
38* heightfield?
39
40release testing:
41
42 0.1.0 0.2.0
43* GTK+ 1.2 + GtkGLArea: x ?
44* GTK+ 2.x + GtkGLExt: x x
45
46plugins [1]:
47* .3mf / .b3d x
48* .3ds x
49* .ac -
50* .cob x
51* .dxf x
52* .iob x
53* .lwo (LWOB) x
54* .lwo (LWO2) x
55* .md2 x
56* .obj x
57* .prj x
58* .q3o / .q3s x
59* heightfield [2]
60
61[1] plugin works with some (most) models and doesn't crash with unsupported
62 files
63[2] not working in 0.1.0 for some mysterious reason
64
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/aclocal.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/aclocal.m4
new file mode 100644
index 0000000..998ce92
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/aclocal.m4
@@ -0,0 +1,2064 @@
1# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4# Free Software Foundation, Inc.
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# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
15
16# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
17
18# This program is free software; you can redistribute it and/or modify
19# it under the terms of the GNU General Public License as published by
20# the Free Software Foundation; either version 2, or (at your option)
21# any later version.
22
23# This program is distributed in the hope that it will be useful,
24# but WITHOUT ANY WARRANTY; without even the implied warranty of
25# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26# GNU General Public License for more details.
27
28# You should have received a copy of the GNU General Public License
29# along with this program; if not, write to the Free Software
30# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
31# 02111-1307, USA.
32
33AC_PREREQ([2.52])
34
35# serial 6
36
37# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
38AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
39
40# Do all the work for Automake. -*- Autoconf -*-
41
42# This macro actually does too much some checks are only needed if
43# your package does certain things. But this isn't really a big deal.
44
45# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
46# Free Software Foundation, Inc.
47
48# This program is free software; you can redistribute it and/or modify
49# it under the terms of the GNU General Public License as published by
50# the Free Software Foundation; either version 2, or (at your option)
51# any later version.
52
53# This program is distributed in the hope that it will be useful,
54# but WITHOUT ANY WARRANTY; without even the implied warranty of
55# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56# GNU General Public License for more details.
57
58# You should have received a copy of the GNU General Public License
59# along with this program; if not, write to the Free Software
60# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
61# 02111-1307, USA.
62
63# serial 10
64
65AC_PREREQ([2.54])
66
67# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
68# the ones we care about.
69m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
70
71# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
72# AM_INIT_AUTOMAKE([OPTIONS])
73# -----------------------------------------------
74# The call with PACKAGE and VERSION arguments is the old style
75# call (pre autoconf-2.50), which is being phased out. PACKAGE
76# and VERSION should now be passed to AC_INIT and removed from
77# the call to AM_INIT_AUTOMAKE.
78# We support both call styles for the transition. After
79# the next Automake release, Autoconf can make the AC_INIT
80# arguments mandatory, and then we can depend on a new Autoconf
81# release and drop the old call support.
82AC_DEFUN([AM_INIT_AUTOMAKE],
83[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
84 AC_REQUIRE([AC_PROG_INSTALL])dnl
85# test to see if srcdir already configured
86if test "`cd $srcdir && pwd`" != "`pwd`" &&
87 test -f $srcdir/config.status; then
88 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
89fi
90
91# test whether we have cygpath
92if test -z "$CYGPATH_W"; then
93 if (cygpath --version) >/dev/null 2>/dev/null; then
94 CYGPATH_W='cygpath -w'
95 else
96 CYGPATH_W=echo
97 fi
98fi
99AC_SUBST([CYGPATH_W])
100
101# Define the identity of the package.
102dnl Distinguish between old-style and new-style calls.
103m4_ifval([$2],
104[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
105 AC_SUBST([PACKAGE], [$1])dnl
106 AC_SUBST([VERSION], [$2])],
107[_AM_SET_OPTIONS([$1])dnl
108 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
109 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
110
111_AM_IF_OPTION([no-define],,
112[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
113 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
114
115# Some tools Automake needs.
116AC_REQUIRE([AM_SANITY_CHECK])dnl
117AC_REQUIRE([AC_ARG_PROGRAM])dnl
118AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
119AM_MISSING_PROG(AUTOCONF, autoconf)
120AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
121AM_MISSING_PROG(AUTOHEADER, autoheader)
122AM_MISSING_PROG(MAKEINFO, makeinfo)
123AM_MISSING_PROG(AMTAR, tar)
124AM_PROG_INSTALL_SH
125AM_PROG_INSTALL_STRIP
126# We need awk for the "check" target. The system "awk" is bad on
127# some platforms.
128AC_REQUIRE([AC_PROG_AWK])dnl
129AC_REQUIRE([AC_PROG_MAKE_SET])dnl
130AC_REQUIRE([AM_SET_LEADING_DOT])dnl
131
132_AM_IF_OPTION([no-dependencies],,
133[AC_PROVIDE_IFELSE([AC_PROG_CC],
134 [_AM_DEPENDENCIES(CC)],
135 [define([AC_PROG_CC],
136 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
137AC_PROVIDE_IFELSE([AC_PROG_CXX],
138 [_AM_DEPENDENCIES(CXX)],
139 [define([AC_PROG_CXX],
140 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
141])
142])
143
144
145# When config.status generates a header, we must update the stamp-h file.
146# This file resides in the same directory as the config header
147# that is generated. The stamp files are numbered to have different names.
148
149# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
150# loop where config.status creates the headers, so we can generate
151# our stamp files there.
152AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
153[# Compute $1's index in $config_headers.
154_am_stamp_count=1
155for _am_header in $config_headers :; do
156 case $_am_header in
157 $1 | $1:* )
158 break ;;
159 * )
160 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
161 esac
162done
163echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
164
165# Copyright 2002 Free Software Foundation, Inc.
166
167# This program is free software; you can redistribute it and/or modify
168# it under the terms of the GNU General Public License as published by
169# the Free Software Foundation; either version 2, or (at your option)
170# any later version.
171
172# This program is distributed in the hope that it will be useful,
173# but WITHOUT ANY WARRANTY; without even the implied warranty of
174# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
175# GNU General Public License for more details.
176
177# You should have received a copy of the GNU General Public License
178# along with this program; if not, write to the Free Software
179# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
180
181# AM_AUTOMAKE_VERSION(VERSION)
182# ----------------------------
183# Automake X.Y traces this macro to ensure aclocal.m4 has been
184# generated from the m4 files accompanying Automake X.Y.
185AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
186
187# AM_SET_CURRENT_AUTOMAKE_VERSION
188# -------------------------------
189# Call AM_AUTOMAKE_VERSION so it can be traced.
190# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
191AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
192 [AM_AUTOMAKE_VERSION([1.7.9])])
193
194# Helper functions for option handling. -*- Autoconf -*-
195
196# Copyright 2001, 2002 Free Software Foundation, Inc.
197
198# This program is free software; you can redistribute it and/or modify
199# it under the terms of the GNU General Public License as published by
200# the Free Software Foundation; either version 2, or (at your option)
201# any later version.
202
203# This program is distributed in the hope that it will be useful,
204# but WITHOUT ANY WARRANTY; without even the implied warranty of
205# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
206# GNU General Public License for more details.
207
208# You should have received a copy of the GNU General Public License
209# along with this program; if not, write to the Free Software
210# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
211# 02111-1307, USA.
212
213# serial 2
214
215# _AM_MANGLE_OPTION(NAME)
216# -----------------------
217AC_DEFUN([_AM_MANGLE_OPTION],
218[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
219
220# _AM_SET_OPTION(NAME)
221# ------------------------------
222# Set option NAME. Presently that only means defining a flag for this option.
223AC_DEFUN([_AM_SET_OPTION],
224[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
225
226# _AM_SET_OPTIONS(OPTIONS)
227# ----------------------------------
228# OPTIONS is a space-separated list of Automake options.
229AC_DEFUN([_AM_SET_OPTIONS],
230[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
231
232# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
233# -------------------------------------------
234# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
235AC_DEFUN([_AM_IF_OPTION],
236[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
237
238#
239# Check to make sure that the build environment is sane.
240#
241
242# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
243
244# This program is free software; you can redistribute it and/or modify
245# it under the terms of the GNU General Public License as published by
246# the Free Software Foundation; either version 2, or (at your option)
247# any later version.
248
249# This program is distributed in the hope that it will be useful,
250# but WITHOUT ANY WARRANTY; without even the implied warranty of
251# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
252# GNU General Public License for more details.
253
254# You should have received a copy of the GNU General Public License
255# along with this program; if not, write to the Free Software
256# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
257# 02111-1307, USA.
258
259# serial 3
260
261# AM_SANITY_CHECK
262# ---------------
263AC_DEFUN([AM_SANITY_CHECK],
264[AC_MSG_CHECKING([whether build environment is sane])
265# Just in case
266sleep 1
267echo timestamp > conftest.file
268# Do `set' in a subshell so we don't clobber the current shell's
269# arguments. Must try -L first in case configure is actually a
270# symlink; some systems play weird games with the mod time of symlinks
271# (eg FreeBSD returns the mod time of the symlink's containing
272# directory).
273if (
274 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
275 if test "$[*]" = "X"; then
276 # -L didn't work.
277 set X `ls -t $srcdir/configure conftest.file`
278 fi
279 rm -f conftest.file
280 if test "$[*]" != "X $srcdir/configure conftest.file" \
281 && test "$[*]" != "X conftest.file $srcdir/configure"; then
282
283 # If neither matched, then we have a broken ls. This can happen
284 # if, for instance, CONFIG_SHELL is bash and it inherits a
285 # broken ls alias from the environment. This has actually
286 # happened. Such a system could not be considered "sane".
287 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
288alias in your environment])
289 fi
290
291 test "$[2]" = conftest.file
292 )
293then
294 # Ok.
295 :
296else
297 AC_MSG_ERROR([newly created file is older than distributed files!
298Check your system clock])
299fi
300AC_MSG_RESULT(yes)])
301
302# -*- Autoconf -*-
303
304
305# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
306
307# This program is free software; you can redistribute it and/or modify
308# it under the terms of the GNU General Public License as published by
309# the Free Software Foundation; either version 2, or (at your option)
310# any later version.
311
312# This program is distributed in the hope that it will be useful,
313# but WITHOUT ANY WARRANTY; without even the implied warranty of
314# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
315# GNU General Public License for more details.
316
317# You should have received a copy of the GNU General Public License
318# along with this program; if not, write to the Free Software
319# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
320# 02111-1307, USA.
321
322# serial 3
323
324# AM_MISSING_PROG(NAME, PROGRAM)
325# ------------------------------
326AC_DEFUN([AM_MISSING_PROG],
327[AC_REQUIRE([AM_MISSING_HAS_RUN])
328$1=${$1-"${am_missing_run}$2"}
329AC_SUBST($1)])
330
331
332# AM_MISSING_HAS_RUN
333# ------------------
334# Define MISSING if not defined so far and test if it supports --run.
335# If it does, set am_missing_run to use it, otherwise, to nothing.
336AC_DEFUN([AM_MISSING_HAS_RUN],
337[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
338test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
339# Use eval to expand $SHELL
340if eval "$MISSING --run true"; then
341 am_missing_run="$MISSING --run "
342else
343 am_missing_run=
344 AC_MSG_WARN([`missing' script is too old or missing])
345fi
346])
347
348# AM_AUX_DIR_EXPAND
349
350# Copyright 2001 Free Software Foundation, Inc.
351
352# This program is free software; you can redistribute it and/or modify
353# it under the terms of the GNU General Public License as published by
354# the Free Software Foundation; either version 2, or (at your option)
355# any later version.
356
357# This program is distributed in the hope that it will be useful,
358# but WITHOUT ANY WARRANTY; without even the implied warranty of
359# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
360# GNU General Public License for more details.
361
362# You should have received a copy of the GNU General Public License
363# along with this program; if not, write to the Free Software
364# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
365# 02111-1307, USA.
366
367# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
368# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
369# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
370#
371# Of course, Automake must honor this variable whenever it calls a
372# tool from the auxiliary directory. The problem is that $srcdir (and
373# therefore $ac_aux_dir as well) can be either absolute or relative,
374# depending on how configure is run. This is pretty annoying, since
375# it makes $ac_aux_dir quite unusable in subdirectories: in the top
376# source directory, any form will work fine, but in subdirectories a
377# relative path needs to be adjusted first.
378#
379# $ac_aux_dir/missing
380# fails when called from a subdirectory if $ac_aux_dir is relative
381# $top_srcdir/$ac_aux_dir/missing
382# fails if $ac_aux_dir is absolute,
383# fails when called from a subdirectory in a VPATH build with
384# a relative $ac_aux_dir
385#
386# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
387# are both prefixed by $srcdir. In an in-source build this is usually
388# harmless because $srcdir is `.', but things will broke when you
389# start a VPATH build or use an absolute $srcdir.
390#
391# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
392# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
393# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
394# and then we would define $MISSING as
395# MISSING="\${SHELL} $am_aux_dir/missing"
396# This will work as long as MISSING is not called from configure, because
397# unfortunately $(top_srcdir) has no meaning in configure.
398# However there are other variables, like CC, which are often used in
399# configure, and could therefore not use this "fixed" $ac_aux_dir.
400#
401# Another solution, used here, is to always expand $ac_aux_dir to an
402# absolute PATH. The drawback is that using absolute paths prevent a
403# configured tree to be moved without reconfiguration.
404
405# Rely on autoconf to set up CDPATH properly.
406AC_PREREQ([2.50])
407
408AC_DEFUN([AM_AUX_DIR_EXPAND], [
409# expand $ac_aux_dir to an absolute path
410am_aux_dir=`cd $ac_aux_dir && pwd`
411])
412
413# AM_PROG_INSTALL_SH
414# ------------------
415# Define $install_sh.
416
417# Copyright 2001 Free Software Foundation, Inc.
418
419# This program is free software; you can redistribute it and/or modify
420# it under the terms of the GNU General Public License as published by
421# the Free Software Foundation; either version 2, or (at your option)
422# any later version.
423
424# This program is distributed in the hope that it will be useful,
425# but WITHOUT ANY WARRANTY; without even the implied warranty of
426# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
427# GNU General Public License for more details.
428
429# You should have received a copy of the GNU General Public License
430# along with this program; if not, write to the Free Software
431# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
432# 02111-1307, USA.
433
434AC_DEFUN([AM_PROG_INSTALL_SH],
435[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
436install_sh=${install_sh-"$am_aux_dir/install-sh"}
437AC_SUBST(install_sh)])
438
439# AM_PROG_INSTALL_STRIP
440
441# Copyright 2001 Free Software Foundation, Inc.
442
443# This program is free software; you can redistribute it and/or modify
444# it under the terms of the GNU General Public License as published by
445# the Free Software Foundation; either version 2, or (at your option)
446# any later version.
447
448# This program is distributed in the hope that it will be useful,
449# but WITHOUT ANY WARRANTY; without even the implied warranty of
450# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
451# GNU General Public License for more details.
452
453# You should have received a copy of the GNU General Public License
454# along with this program; if not, write to the Free Software
455# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
456# 02111-1307, USA.
457
458# One issue with vendor `install' (even GNU) is that you can't
459# specify the program used to strip binaries. This is especially
460# annoying in cross-compiling environments, where the build's strip
461# is unlikely to handle the host's binaries.
462# Fortunately install-sh will honor a STRIPPROG variable, so we
463# always use install-sh in `make install-strip', and initialize
464# STRIPPROG with the value of the STRIP variable (set by the user).
465AC_DEFUN([AM_PROG_INSTALL_STRIP],
466[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
467# Installed binaries are usually stripped using `strip' when the user
468# run `make install-strip'. However `strip' might not be the right
469# tool to use in cross-compilation environments, therefore Automake
470# will honor the `STRIP' environment variable to overrule this program.
471dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
472if test "$cross_compiling" != no; then
473 AC_CHECK_TOOL([STRIP], [strip], :)
474fi
475INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
476AC_SUBST([INSTALL_STRIP_PROGRAM])])
477
478# -*- Autoconf -*-
479# Copyright (C) 2003 Free Software Foundation, Inc.
480
481# This program is free software; you can redistribute it and/or modify
482# it under the terms of the GNU General Public License as published by
483# the Free Software Foundation; either version 2, or (at your option)
484# any later version.
485
486# This program is distributed in the hope that it will be useful,
487# but WITHOUT ANY WARRANTY; without even the implied warranty of
488# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
489# GNU General Public License for more details.
490
491# You should have received a copy of the GNU General Public License
492# along with this program; if not, write to the Free Software
493# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
494# 02111-1307, USA.
495
496# serial 1
497
498# Check whether the underlying file-system supports filenames
499# with a leading dot. For instance MS-DOS doesn't.
500AC_DEFUN([AM_SET_LEADING_DOT],
501[rm -rf .tst 2>/dev/null
502mkdir .tst 2>/dev/null
503if test -d .tst; then
504 am__leading_dot=.
505else
506 am__leading_dot=_
507fi
508rmdir .tst 2>/dev/null
509AC_SUBST([am__leading_dot])])
510
511# serial 5 -*- Autoconf -*-
512
513# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
514
515# This program is free software; you can redistribute it and/or modify
516# it under the terms of the GNU General Public License as published by
517# the Free Software Foundation; either version 2, or (at your option)
518# any later version.
519
520# This program is distributed in the hope that it will be useful,
521# but WITHOUT ANY WARRANTY; without even the implied warranty of
522# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
523# GNU General Public License for more details.
524
525# You should have received a copy of the GNU General Public License
526# along with this program; if not, write to the Free Software
527# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
528# 02111-1307, USA.
529
530
531# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
532# written in clear, in which case automake, when reading aclocal.m4,
533# will think it sees a *use*, and therefore will trigger all it's
534# C support machinery. Also note that it means that autoscan, seeing
535# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
536
537
538
539# _AM_DEPENDENCIES(NAME)
540# ----------------------
541# See how the compiler implements dependency checking.
542# NAME is "CC", "CXX", "GCJ", or "OBJC".
543# We try a few techniques and use that to set a single cache variable.
544#
545# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
546# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
547# dependency, and given that the user is not expected to run this macro,
548# just rely on AC_PROG_CC.
549AC_DEFUN([_AM_DEPENDENCIES],
550[AC_REQUIRE([AM_SET_DEPDIR])dnl
551AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
552AC_REQUIRE([AM_MAKE_INCLUDE])dnl
553AC_REQUIRE([AM_DEP_TRACK])dnl
554
555ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
556 [$1], CXX, [depcc="$CXX" am_compiler_list=],
557 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
558 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
559 [depcc="$$1" am_compiler_list=])
560
561AC_CACHE_CHECK([dependency style of $depcc],
562 [am_cv_$1_dependencies_compiler_type],
563[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
564 # We make a subdir and do the tests there. Otherwise we can end up
565 # making bogus files that we don't know about and never remove. For
566 # instance it was reported that on HP-UX the gcc test will end up
567 # making a dummy file named `D' -- because `-MD' means `put the output
568 # in D'.
569 mkdir conftest.dir
570 # Copy depcomp to subdir because otherwise we won't find it if we're
571 # using a relative directory.
572 cp "$am_depcomp" conftest.dir
573 cd conftest.dir
574 # We will build objects and dependencies in a subdirectory because
575 # it helps to detect inapplicable dependency modes. For instance
576 # both Tru64's cc and ICC support -MD to output dependencies as a
577 # side effect of compilation, but ICC will put the dependencies in
578 # the current directory while Tru64 will put them in the object
579 # directory.
580 mkdir sub
581
582 am_cv_$1_dependencies_compiler_type=none
583 if test "$am_compiler_list" = ""; then
584 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
585 fi
586 for depmode in $am_compiler_list; do
587 # Setup a source with many dependencies, because some compilers
588 # like to wrap large dependency lists on column 80 (with \), and
589 # we should not choose a depcomp mode which is confused by this.
590 #
591 # We need to recreate these files for each test, as the compiler may
592 # overwrite some of them when testing with obscure command lines.
593 # This happens at least with the AIX C compiler.
594 : > sub/conftest.c
595 for i in 1 2 3 4 5 6; do
596 echo '#include "conftst'$i'.h"' >> sub/conftest.c
597 : > sub/conftst$i.h
598 done
599 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
600
601 case $depmode in
602 nosideeffect)
603 # after this tag, mechanisms are not by side-effect, so they'll
604 # only be used when explicitly requested
605 if test "x$enable_dependency_tracking" = xyes; then
606 continue
607 else
608 break
609 fi
610 ;;
611 none) break ;;
612 esac
613 # We check with `-c' and `-o' for the sake of the "dashmstdout"
614 # mode. It turns out that the SunPro C++ compiler does not properly
615 # handle `-M -o', and we need to detect this.
616 if depmode=$depmode \
617 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
618 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
619 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
620 >/dev/null 2>conftest.err &&
621 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
622 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
623 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
624 # icc doesn't choke on unknown options, it will just issue warnings
625 # (even with -Werror). So we grep stderr for any message
626 # that says an option was ignored.
627 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
628 am_cv_$1_dependencies_compiler_type=$depmode
629 break
630 fi
631 fi
632 done
633
634 cd ..
635 rm -rf conftest.dir
636else
637 am_cv_$1_dependencies_compiler_type=none
638fi
639])
640AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
641AM_CONDITIONAL([am__fastdep$1], [
642 test "x$enable_dependency_tracking" != xno \
643 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
644])
645
646
647# AM_SET_DEPDIR
648# -------------
649# Choose a directory name for dependency files.
650# This macro is AC_REQUIREd in _AM_DEPENDENCIES
651AC_DEFUN([AM_SET_DEPDIR],
652[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
653AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
654])
655
656
657# AM_DEP_TRACK
658# ------------
659AC_DEFUN([AM_DEP_TRACK],
660[AC_ARG_ENABLE(dependency-tracking,
661[ --disable-dependency-tracking Speeds up one-time builds
662 --enable-dependency-tracking Do not reject slow dependency extractors])
663if test "x$enable_dependency_tracking" != xno; then
664 am_depcomp="$ac_aux_dir/depcomp"
665 AMDEPBACKSLASH='\'
666fi
667AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
668AC_SUBST([AMDEPBACKSLASH])
669])
670
671# Generate code to set up dependency tracking. -*- Autoconf -*-
672
673# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
674
675# This program is free software; you can redistribute it and/or modify
676# it under the terms of the GNU General Public License as published by
677# the Free Software Foundation; either version 2, or (at your option)
678# any later version.
679
680# This program is distributed in the hope that it will be useful,
681# but WITHOUT ANY WARRANTY; without even the implied warranty of
682# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
683# GNU General Public License for more details.
684
685# You should have received a copy of the GNU General Public License
686# along with this program; if not, write to the Free Software
687# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
688# 02111-1307, USA.
689
690#serial 2
691
692# _AM_OUTPUT_DEPENDENCY_COMMANDS
693# ------------------------------
694AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
695[for mf in $CONFIG_FILES; do
696 # Strip MF so we end up with the name of the file.
697 mf=`echo "$mf" | sed -e 's/:.*$//'`
698 # Check whether this is an Automake generated Makefile or not.
699 # We used to match only the files named `Makefile.in', but
700 # some people rename them; so instead we look at the file content.
701 # Grep'ing the first line is not enough: some people post-process
702 # each Makefile.in and add a new line on top of each file to say so.
703 # So let's grep whole file.
704 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
705 dirpart=`AS_DIRNAME("$mf")`
706 else
707 continue
708 fi
709 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
710 # Extract the definition of DEP_FILES from the Makefile without
711 # running `make'.
712 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
713 test -z "$DEPDIR" && continue
714 # When using ansi2knr, U may be empty or an underscore; expand it
715 U=`sed -n -e '/^U = / s///p' < "$mf"`
716 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
717 # We invoke sed twice because it is the simplest approach to
718 # changing $(DEPDIR) to its actual value in the expansion.
719 for file in `sed -n -e '
720 /^DEP_FILES = .*\\\\$/ {
721 s/^DEP_FILES = //
722 :loop
723 s/\\\\$//
724 p
725 n
726 /\\\\$/ b loop
727 p
728 }
729 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
730 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
731 # Make sure the directory exists.
732 test -f "$dirpart/$file" && continue
733 fdir=`AS_DIRNAME(["$file"])`
734 AS_MKDIR_P([$dirpart/$fdir])
735 # echo "creating $dirpart/$file"
736 echo '# dummy' > "$dirpart/$file"
737 done
738done
739])# _AM_OUTPUT_DEPENDENCY_COMMANDS
740
741
742# AM_OUTPUT_DEPENDENCY_COMMANDS
743# -----------------------------
744# This macro should only be invoked once -- use via AC_REQUIRE.
745#
746# This code is only required when automatic dependency tracking
747# is enabled. FIXME. This creates each `.P' file that we will
748# need in order to bootstrap the dependency handling code.
749AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
750[AC_CONFIG_COMMANDS([depfiles],
751 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
752 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
753])
754
755# Check to see how 'make' treats includes. -*- Autoconf -*-
756
757# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
758
759# This program is free software; you can redistribute it and/or modify
760# it under the terms of the GNU General Public License as published by
761# the Free Software Foundation; either version 2, or (at your option)
762# any later version.
763
764# This program is distributed in the hope that it will be useful,
765# but WITHOUT ANY WARRANTY; without even the implied warranty of
766# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
767# GNU General Public License for more details.
768
769# You should have received a copy of the GNU General Public License
770# along with this program; if not, write to the Free Software
771# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
772# 02111-1307, USA.
773
774# serial 2
775
776# AM_MAKE_INCLUDE()
777# -----------------
778# Check to see how make treats includes.
779AC_DEFUN([AM_MAKE_INCLUDE],
780[am_make=${MAKE-make}
781cat > confinc << 'END'
782am__doit:
783 @echo done
784.PHONY: am__doit
785END
786# If we don't find an include directive, just comment out the code.
787AC_MSG_CHECKING([for style of include used by $am_make])
788am__include="#"
789am__quote=
790_am_result=none
791# First try GNU make style include.
792echo "include confinc" > confmf
793# We grep out `Entering directory' and `Leaving directory'
794# messages which can occur if `w' ends up in MAKEFLAGS.
795# In particular we don't look at `^make:' because GNU make might
796# be invoked under some other name (usually "gmake"), in which
797# case it prints its new name instead of `make'.
798if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
799 am__include=include
800 am__quote=
801 _am_result=GNU
802fi
803# Now try BSD make style include.
804if test "$am__include" = "#"; then
805 echo '.include "confinc"' > confmf
806 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
807 am__include=.include
808 am__quote="\""
809 _am_result=BSD
810 fi
811fi
812AC_SUBST([am__include])
813AC_SUBST([am__quote])
814AC_MSG_RESULT([$_am_result])
815rm -f confinc confmf
816])
817
818# AM_CONDITIONAL -*- Autoconf -*-
819
820# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
821
822# This program is free software; you can redistribute it and/or modify
823# it under the terms of the GNU General Public License as published by
824# the Free Software Foundation; either version 2, or (at your option)
825# any later version.
826
827# This program is distributed in the hope that it will be useful,
828# but WITHOUT ANY WARRANTY; without even the implied warranty of
829# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
830# GNU General Public License for more details.
831
832# You should have received a copy of the GNU General Public License
833# along with this program; if not, write to the Free Software
834# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
835# 02111-1307, USA.
836
837# serial 5
838
839AC_PREREQ(2.52)
840
841# AM_CONDITIONAL(NAME, SHELL-CONDITION)
842# -------------------------------------
843# Define a conditional.
844AC_DEFUN([AM_CONDITIONAL],
845[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
846 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
847AC_SUBST([$1_TRUE])
848AC_SUBST([$1_FALSE])
849if $2; then
850 $1_TRUE=
851 $1_FALSE='#'
852else
853 $1_TRUE='#'
854 $1_FALSE=
855fi
856AC_CONFIG_COMMANDS_PRE(
857[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
858 AC_MSG_ERROR([conditional "$1" was never defined.
859Usually this means the macro was only invoked conditionally.])
860fi])])
861
862# Copyright (C) 1995-2002 Free Software Foundation, Inc.
863# Copyright (C) 2001-2003,2004 Red Hat, Inc.
864#
865# This file is free software, distributed under the terms of the GNU
866# General Public License. As a special exception to the GNU General
867# Public License, this file may be distributed as part of a program
868# that contains a configuration script generated by Autoconf, under
869# the same distribution terms as the rest of that program.
870#
871# This file can be copied and used freely without restrictions. It can
872# be used in projects which are not available under the GNU Public License
873# but which still want to provide support for the GNU gettext functionality.
874#
875# Macro to add for using GNU gettext.
876# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
877#
878# Modified to never use included libintl.
879# Owen Taylor <otaylor@redhat.com>, 12/15/1998
880#
881# Major rework to remove unused code
882# Owen Taylor <otaylor@redhat.com>, 12/11/2002
883#
884# Added better handling of ALL_LINGUAS from GNU gettext version
885# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
886#
887# Modified to require ngettext
888# Matthias Clasen <mclasen@redhat.com> 08/06/2004
889#
890# We need this here as well, since someone might use autoconf-2.5x
891# to configure GLib then an older version to configure a package
892# using AM_GLIB_GNU_GETTEXT
893AC_PREREQ(2.53)
894
895dnl
896dnl We go to great lengths to make sure that aclocal won't
897dnl try to pull in the installed version of these macros
898dnl when running aclocal in the glib directory.
899dnl
900m4_copy([AC_DEFUN],[glib_DEFUN])
901m4_copy([AC_REQUIRE],[glib_REQUIRE])
902dnl
903dnl At the end, if we're not within glib, we'll define the public
904dnl definitions in terms of our private definitions.
905dnl
906
907# GLIB_LC_MESSAGES
908#--------------------
909glib_DEFUN([GLIB_LC_MESSAGES],
910 [AC_CHECK_HEADERS([locale.h])
911 if test $ac_cv_header_locale_h = yes; then
912 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
913 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
914 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
915 if test $am_cv_val_LC_MESSAGES = yes; then
916 AC_DEFINE(HAVE_LC_MESSAGES, 1,
917 [Define if your <locale.h> file defines LC_MESSAGES.])
918 fi
919 fi])
920
921# GLIB_PATH_PROG_WITH_TEST
922#----------------------------
923dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
924dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
925glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
926[# Extract the first word of "$2", so it can be a program name with args.
927set dummy $2; ac_word=[$]2
928AC_MSG_CHECKING([for $ac_word])
929AC_CACHE_VAL(ac_cv_path_$1,
930[case "[$]$1" in
931 /*)
932 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
933 ;;
934 *)
935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
936 for ac_dir in ifelse([$5], , $PATH, [$5]); do
937 test -z "$ac_dir" && ac_dir=.
938 if test -f $ac_dir/$ac_word; then
939 if [$3]; then
940 ac_cv_path_$1="$ac_dir/$ac_word"
941 break
942 fi
943 fi
944 done
945 IFS="$ac_save_ifs"
946dnl If no 4th arg is given, leave the cache variable unset,
947dnl so AC_PATH_PROGS will keep looking.
948ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
949])dnl
950 ;;
951esac])dnl
952$1="$ac_cv_path_$1"
953if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
954 AC_MSG_RESULT([$]$1)
955else
956 AC_MSG_RESULT(no)
957fi
958AC_SUBST($1)dnl
959])
960
961# GLIB_WITH_NLS
962#-----------------
963glib_DEFUN([GLIB_WITH_NLS],
964 dnl NLS is obligatory
965 [USE_NLS=yes
966 AC_SUBST(USE_NLS)
967
968 gt_cv_have_gettext=no
969
970 CATOBJEXT=NONE
971 XGETTEXT=:
972 INTLLIBS=
973
974 AC_CHECK_HEADER(libintl.h,
975 [gt_cv_func_dgettext_libintl="no"
976 libintl_extra_libs=""
977
978 #
979 # First check in libc
980 #
981 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
982 [AC_TRY_LINK([
983#include <libintl.h>
984],
985 [return !ngettext ("","", 1)],
986 gt_cv_func_ngettext_libc=yes,
987 gt_cv_func_ngettext_libc=no)
988 ])
989
990 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
991 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
992 [AC_TRY_LINK([
993#include <libintl.h>
994],
995 [return !dgettext ("","")],
996 gt_cv_func_dgettext_libc=yes,
997 gt_cv_func_dgettext_libc=no)
998 ])
999 fi
1000
1001 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
1002 AC_CHECK_FUNCS(bind_textdomain_codeset)
1003 fi
1004
1005 #
1006 # If we don't have everything we want, check in libintl
1007 #
1008 if test "$gt_cv_func_dgettext_libc" != "yes" \
1009 || test "$gt_cv_func_ngettext_libc" != "yes" \
1010 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
1011
1012 AC_CHECK_LIB(intl, bindtextdomain,
1013 [AC_CHECK_LIB(intl, ngettext,
1014 [AC_CHECK_LIB(intl, dgettext,
1015 gt_cv_func_dgettext_libintl=yes)])])
1016
1017 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
1018 AC_MSG_CHECKING([if -liconv is needed to use gettext])
1019 AC_MSG_RESULT([])
1020 AC_CHECK_LIB(intl, ngettext,
1021 [AC_CHECK_LIB(intl, dcgettext,
1022 [gt_cv_func_dgettext_libintl=yes
1023 libintl_extra_libs=-liconv],
1024 :,-liconv)],
1025 :,-liconv)
1026 fi
1027
1028 #
1029 # If we found libintl, then check in it for bind_textdomain_codeset();
1030 # we'll prefer libc if neither have bind_textdomain_codeset(),
1031 # and both have dgettext and ngettext
1032 #
1033 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
1034 glib_save_LIBS="$LIBS"
1035 LIBS="$LIBS -lintl $libintl_extra_libs"
1036 unset ac_cv_func_bind_textdomain_codeset
1037 AC_CHECK_FUNCS(bind_textdomain_codeset)
1038 LIBS="$glib_save_LIBS"
1039
1040 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
1041 gt_cv_func_dgettext_libc=no
1042 else
1043 if test "$gt_cv_func_dgettext_libc" = "yes" \
1044 && test "$gt_cv_func_ngettext_libc" = "yes"; then
1045 gt_cv_func_dgettext_libintl=no
1046 fi
1047 fi
1048 fi
1049 fi
1050
1051 if test "$gt_cv_func_dgettext_libc" = "yes" \
1052 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
1053 gt_cv_have_gettext=yes
1054 fi
1055
1056 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
1057 INTLLIBS="-lintl $libintl_extra_libs"
1058 fi
1059
1060 if test "$gt_cv_have_gettext" = "yes"; then
1061 AC_DEFINE(HAVE_GETTEXT,1,
1062 [Define if the GNU gettext() function is already present or preinstalled.])
1063 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
1064 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
1065 if test "$MSGFMT" != "no"; then
1066 glib_save_LIBS="$LIBS"
1067 LIBS="$LIBS $INTLLIBS"
1068 AC_CHECK_FUNCS(dcgettext)
1069 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
1070 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
1071 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
1072 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
1073 return _nl_msg_cat_cntr],
1074 [CATOBJEXT=.gmo
1075 DATADIRNAME=share],
1076 [case $host in
1077 *-*-solaris*)
1078 dnl On Solaris, if bind_textdomain_codeset is in libc,
1079 dnl GNU format message catalog is always supported,
1080 dnl since both are added to the libc all together.
1081 dnl Hence, we'd like to go with DATADIRNAME=share and
1082 dnl and CATOBJEXT=.gmo in this case.
1083 AC_CHECK_FUNC(bind_textdomain_codeset,
1084 [CATOBJEXT=.gmo
1085 DATADIRNAME=share],
1086 [CATOBJEXT=.mo
1087 DATADIRNAME=lib])
1088 ;;
1089 *)
1090 CATOBJEXT=.mo
1091 DATADIRNAME=lib
1092 ;;
1093 esac])
1094 LIBS="$glib_save_LIBS"
1095 INSTOBJEXT=.mo
1096 else
1097 gt_cv_have_gettext=no
1098 fi
1099 fi
1100 ])
1101
1102 if test "$gt_cv_have_gettext" = "yes" ; then
1103 AC_DEFINE(ENABLE_NLS, 1,
1104 [always defined to indicate that i18n is enabled])
1105 fi
1106
1107 dnl Test whether we really found GNU xgettext.
1108 if test "$XGETTEXT" != ":"; then
1109 dnl If it is not GNU xgettext we define it as : so that the
1110 dnl Makefiles still can work.
1111 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
1112 : ;
1113 else
1114 AC_MSG_RESULT(
1115 [found xgettext program is not GNU xgettext; ignore it])
1116 XGETTEXT=":"
1117 fi
1118 fi
1119
1120 # We need to process the po/ directory.
1121 POSUB=po
1122
1123 AC_OUTPUT_COMMANDS(
1124 [case "$CONFIG_FILES" in *po/Makefile.in*)
1125 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
1126 esac])
1127
1128 dnl These rules are solely for the distribution goal. While doing this
1129 dnl we only have to keep exactly one list of the available catalogs
1130 dnl in configure.in.
1131 for lang in $ALL_LINGUAS; do
1132 GMOFILES="$GMOFILES $lang.gmo"
1133 POFILES="$POFILES $lang.po"
1134 done
1135
1136 dnl Make all variables we use known to autoconf.
1137 AC_SUBST(CATALOGS)
1138 AC_SUBST(CATOBJEXT)
1139 AC_SUBST(DATADIRNAME)
1140 AC_SUBST(GMOFILES)
1141 AC_SUBST(INSTOBJEXT)
1142 AC_SUBST(INTLLIBS)
1143 AC_SUBST(PO_IN_DATADIR_TRUE)
1144 AC_SUBST(PO_IN_DATADIR_FALSE)
1145 AC_SUBST(POFILES)
1146 AC_SUBST(POSUB)
1147 ])
1148
1149# AM_GLIB_GNU_GETTEXT
1150# -------------------
1151# Do checks necessary for use of gettext. If a suitable implementation
1152# of gettext is found in either in libintl or in the C library,
1153# it will set INTLLIBS to the libraries needed for use of gettext
1154# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
1155# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
1156# on various variables needed by the Makefile.in.in installed by
1157# glib-gettextize.
1158dnl
1159glib_DEFUN([GLIB_GNU_GETTEXT],
1160 [AC_REQUIRE([AC_PROG_CC])dnl
1161 AC_REQUIRE([AC_HEADER_STDC])dnl
1162
1163 GLIB_LC_MESSAGES
1164 GLIB_WITH_NLS
1165
1166 if test "$gt_cv_have_gettext" = "yes"; then
1167 if test "x$ALL_LINGUAS" = "x"; then
1168 LINGUAS=
1169 else
1170 AC_MSG_CHECKING(for catalogs to be installed)
1171 NEW_LINGUAS=
1172 for presentlang in $ALL_LINGUAS; do
1173 useit=no
1174 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
1175 desiredlanguages="$LINGUAS"
1176 else
1177 desiredlanguages="$ALL_LINGUAS"
1178 fi
1179 for desiredlang in $desiredlanguages; do
1180 # Use the presentlang catalog if desiredlang is
1181 # a. equal to presentlang, or
1182 # b. a variant of presentlang (because in this case,
1183 # presentlang can be used as a fallback for messages
1184 # which are not translated in the desiredlang catalog).
1185 case "$desiredlang" in
1186 "$presentlang"*) useit=yes;;
1187 esac
1188 done
1189 if test $useit = yes; then
1190 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
1191 fi
1192 done
1193 LINGUAS=$NEW_LINGUAS
1194 AC_MSG_RESULT($LINGUAS)
1195 fi
1196
1197 dnl Construct list of names of catalog files to be constructed.
1198 if test -n "$LINGUAS"; then
1199 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
1200 fi
1201 fi
1202
1203 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
1204 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
1205 dnl Try to locate is.
1206 MKINSTALLDIRS=
1207 if test -n "$ac_aux_dir"; then
1208 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
1209 fi
1210 if test -z "$MKINSTALLDIRS"; then
1211 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1212 fi
1213 AC_SUBST(MKINSTALLDIRS)
1214
1215 dnl Generate list of files to be processed by xgettext which will
1216 dnl be included in po/Makefile.
1217 test -d po || mkdir po
1218 if test "x$srcdir" != "x."; then
1219 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
1220 posrcprefix="$srcdir/"
1221 else
1222 posrcprefix="../$srcdir/"
1223 fi
1224 else
1225 posrcprefix="../"
1226 fi
1227 rm -f po/POTFILES
1228 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
1229 < $srcdir/po/POTFILES.in > po/POTFILES
1230 ])
1231
1232# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
1233# -------------------------------
1234# Define VARIABLE to the location where catalog files will
1235# be installed by po/Makefile.
1236glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
1237[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
1238glib_save_prefix="$prefix"
1239glib_save_exec_prefix="$exec_prefix"
1240test "x$prefix" = xNONE && prefix=$ac_default_prefix
1241test "x$exec_prefix" = xNONE && exec_prefix=$prefix
1242if test "x$CATOBJEXT" = "x.mo" ; then
1243 localedir=`eval echo "${libdir}/locale"`
1244else
1245 localedir=`eval echo "${datadir}/locale"`
1246fi
1247prefix="$glib_save_prefix"
1248exec_prefix="$glib_save_exec_prefix"
1249AC_DEFINE_UNQUOTED($1, "$localedir",
1250 [Define the location where the catalogs will be installed])
1251])
1252
1253dnl
1254dnl Now the definitions that aclocal will find
1255dnl
1256ifdef(glib_configure_in,[],[
1257AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
1258AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
1259])dnl
1260
1261# Configure paths for GLIB
1262# Owen Taylor 1997-2001
1263
1264dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
1265dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or
1266dnl gthread is specified in MODULES, pass to pkg-config
1267dnl
1268AC_DEFUN([AM_PATH_GLIB_2_0],
1269[dnl
1270dnl Get the cflags and libraries from pkg-config
1271dnl
1272AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
1273 , enable_glibtest=yes)
1274
1275 pkg_config_args=glib-2.0
1276 for module in . $4
1277 do
1278 case "$module" in
1279 gmodule)
1280 pkg_config_args="$pkg_config_args gmodule-2.0"
1281 ;;
1282 gmodule-no-export)
1283 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
1284 ;;
1285 gobject)
1286 pkg_config_args="$pkg_config_args gobject-2.0"
1287 ;;
1288 gthread)
1289 pkg_config_args="$pkg_config_args gthread-2.0"
1290 ;;
1291 esac
1292 done
1293
1294 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
1295
1296 no_glib=""
1297
1298 if test x$PKG_CONFIG != xno ; then
1299 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
1300 :
1301 else
1302 echo *** pkg-config too old; version 0.7 or better required.
1303 no_glib=yes
1304 PKG_CONFIG=no
1305 fi
1306 else
1307 no_glib=yes
1308 fi
1309
1310 min_glib_version=ifelse([$1], ,2.0.0,$1)
1311 AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
1312
1313 if test x$PKG_CONFIG != xno ; then
1314 ## don't try to run the test against uninstalled libtool libs
1315 if $PKG_CONFIG --uninstalled $pkg_config_args; then
1316 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
1317 enable_glibtest=no
1318 fi
1319
1320 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
1321 :
1322 else
1323 no_glib=yes
1324 fi
1325 fi
1326
1327 if test x"$no_glib" = x ; then
1328 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
1329 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
1330 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
1331
1332 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
1333 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
1334 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
1335 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1336 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
1337 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1338 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
1339 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1340 if test "x$enable_glibtest" = "xyes" ; then
1341 ac_save_CFLAGS="$CFLAGS"
1342 ac_save_LIBS="$LIBS"
1343 CFLAGS="$CFLAGS $GLIB_CFLAGS"
1344 LIBS="$GLIB_LIBS $LIBS"
1345dnl
1346dnl Now check if the installed GLIB is sufficiently new. (Also sanity
1347dnl checks the results of pkg-config to some extent)
1348dnl
1349 rm -f conf.glibtest
1350 AC_TRY_RUN([
1351#include <glib.h>
1352#include <stdio.h>
1353#include <stdlib.h>
1354
1355int
1356main ()
1357{
1358 int major, minor, micro;
1359 char *tmp_version;
1360
1361 system ("touch conf.glibtest");
1362
1363 /* HP/UX 9 (%@#!) writes to sscanf strings */
1364 tmp_version = g_strdup("$min_glib_version");
1365 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1366 printf("%s, bad version string\n", "$min_glib_version");
1367 exit(1);
1368 }
1369
1370 if ((glib_major_version != $glib_config_major_version) ||
1371 (glib_minor_version != $glib_config_minor_version) ||
1372 (glib_micro_version != $glib_config_micro_version))
1373 {
1374 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
1375 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
1376 glib_major_version, glib_minor_version, glib_micro_version);
1377 printf ("*** was found! If pkg-config was correct, then it is best\n");
1378 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
1379 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
1380 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
1381 printf("*** required on your system.\n");
1382 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
1383 printf("*** to point to the correct configuration files\n");
1384 }
1385 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
1386 (glib_minor_version != GLIB_MINOR_VERSION) ||
1387 (glib_micro_version != GLIB_MICRO_VERSION))
1388 {
1389 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
1390 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
1391 printf("*** library (version %d.%d.%d)\n",
1392 glib_major_version, glib_minor_version, glib_micro_version);
1393 }
1394 else
1395 {
1396 if ((glib_major_version > major) ||
1397 ((glib_major_version == major) && (glib_minor_version > minor)) ||
1398 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
1399 {
1400 return 0;
1401 }
1402 else
1403 {
1404 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
1405 glib_major_version, glib_minor_version, glib_micro_version);
1406 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
1407 major, minor, micro);
1408 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
1409 printf("***\n");
1410 printf("*** If you have already installed a sufficiently new version, this error\n");
1411 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1412 printf("*** being found. The easiest way to fix this is to remove the old version\n");
1413 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
1414 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1415 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
1416 printf("*** so that the correct libraries are found at run-time))\n");
1417 }
1418 }
1419 return 1;
1420}
1421],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1422 CFLAGS="$ac_save_CFLAGS"
1423 LIBS="$ac_save_LIBS"
1424 fi
1425 fi
1426 if test "x$no_glib" = x ; then
1427 AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
1428 ifelse([$2], , :, [$2])
1429 else
1430 AC_MSG_RESULT(no)
1431 if test "$PKG_CONFIG" = "no" ; then
1432 echo "*** A new enough version of pkg-config was not found."
1433 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
1434 else
1435 if test -f conf.glibtest ; then
1436 :
1437 else
1438 echo "*** Could not run GLIB test program, checking why..."
1439 ac_save_CFLAGS="$CFLAGS"
1440 ac_save_LIBS="$LIBS"
1441 CFLAGS="$CFLAGS $GLIB_CFLAGS"
1442 LIBS="$LIBS $GLIB_LIBS"
1443 AC_TRY_LINK([
1444#include <glib.h>
1445#include <stdio.h>
1446], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
1447 [ echo "*** The test program compiled, but did not run. This usually means"
1448 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
1449 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
1450 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
1451 echo "*** to the installed location Also, make sure you have run ldconfig if that"
1452 echo "*** is required on your system"
1453 echo "***"
1454 echo "*** If you have an old version installed, it is best to remove it, although"
1455 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
1456 [ echo "*** The test program failed to compile or link. See the file config.log for the"
1457 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
1458 CFLAGS="$ac_save_CFLAGS"
1459 LIBS="$ac_save_LIBS"
1460 fi
1461 fi
1462 GLIB_CFLAGS=""
1463 GLIB_LIBS=""
1464 GLIB_GENMARSHAL=""
1465 GOBJECT_QUERY=""
1466 GLIB_MKENUMS=""
1467 ifelse([$3], , :, [$3])
1468 fi
1469 AC_SUBST(GLIB_CFLAGS)
1470 AC_SUBST(GLIB_LIBS)
1471 AC_SUBST(GLIB_GENMARSHAL)
1472 AC_SUBST(GOBJECT_QUERY)
1473 AC_SUBST(GLIB_MKENUMS)
1474 rm -f conf.glibtest
1475])
1476
1477# Configure paths for GTK+
1478# Owen Taylor 1997-2001
1479
1480dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
1481dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
1482dnl pass to pkg-config
1483dnl
1484AC_DEFUN([AM_PATH_GTK_2_0],
1485[dnl
1486dnl Get the cflags and libraries from pkg-config
1487dnl
1488AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
1489 , enable_gtktest=yes)
1490
1491 pkg_config_args=gtk+-2.0
1492 for module in . $4
1493 do
1494 case "$module" in
1495 gthread)
1496 pkg_config_args="$pkg_config_args gthread-2.0"
1497 ;;
1498 esac
1499 done
1500
1501 no_gtk=""
1502
1503 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
1504
1505 if test x$PKG_CONFIG != xno ; then
1506 if pkg-config --atleast-pkgconfig-version 0.7 ; then
1507 :
1508 else
1509 echo "*** pkg-config too old; version 0.7 or better required."
1510 no_gtk=yes
1511 PKG_CONFIG=no
1512 fi
1513 else
1514 no_gtk=yes
1515 fi
1516
1517 min_gtk_version=ifelse([$1], ,2.0.0,$1)
1518 AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
1519
1520 if test x$PKG_CONFIG != xno ; then
1521 ## don't try to run the test against uninstalled libtool libs
1522 if $PKG_CONFIG --uninstalled $pkg_config_args; then
1523 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
1524 enable_gtktest=no
1525 fi
1526
1527 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
1528 :
1529 else
1530 no_gtk=yes
1531 fi
1532 fi
1533
1534 if test x"$no_gtk" = x ; then
1535 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
1536 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
1537 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1538 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1539 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1540 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1541 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1542 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1543 if test "x$enable_gtktest" = "xyes" ; then
1544 ac_save_CFLAGS="$CFLAGS"
1545 ac_save_LIBS="$LIBS"
1546 CFLAGS="$CFLAGS $GTK_CFLAGS"
1547 LIBS="$GTK_LIBS $LIBS"
1548dnl
1549dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
1550dnl checks the results of pkg-config to some extent)
1551dnl
1552 rm -f conf.gtktest
1553 AC_TRY_RUN([
1554#include <gtk/gtk.h>
1555#include <stdio.h>
1556#include <stdlib.h>
1557
1558int
1559main ()
1560{
1561 int major, minor, micro;
1562 char *tmp_version;
1563
1564 system ("touch conf.gtktest");
1565
1566 /* HP/UX 9 (%@#!) writes to sscanf strings */
1567 tmp_version = g_strdup("$min_gtk_version");
1568 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1569 printf("%s, bad version string\n", "$min_gtk_version");
1570 exit(1);
1571 }
1572
1573 if ((gtk_major_version != $gtk_config_major_version) ||
1574 (gtk_minor_version != $gtk_config_minor_version) ||
1575 (gtk_micro_version != $gtk_config_micro_version))
1576 {
1577 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1578 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
1579 gtk_major_version, gtk_minor_version, gtk_micro_version);
1580 printf ("*** was found! If pkg-config was correct, then it is best\n");
1581 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
1582 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
1583 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
1584 printf("*** required on your system.\n");
1585 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
1586 printf("*** to point to the correct configuration files\n");
1587 }
1588 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
1589 (gtk_minor_version != GTK_MINOR_VERSION) ||
1590 (gtk_micro_version != GTK_MICRO_VERSION))
1591 {
1592 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
1593 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
1594 printf("*** library (version %d.%d.%d)\n",
1595 gtk_major_version, gtk_minor_version, gtk_micro_version);
1596 }
1597 else
1598 {
1599 if ((gtk_major_version > major) ||
1600 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
1601 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
1602 {
1603 return 0;
1604 }
1605 else
1606 {
1607 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
1608 gtk_major_version, gtk_minor_version, gtk_micro_version);
1609 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
1610 major, minor, micro);
1611 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
1612 printf("***\n");
1613 printf("*** If you have already installed a sufficiently new version, this error\n");
1614 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1615 printf("*** being found. The easiest way to fix this is to remove the old version\n");
1616 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
1617 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1618 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
1619 printf("*** so that the correct libraries are found at run-time))\n");
1620 }
1621 }
1622 return 1;
1623}
1624],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1625 CFLAGS="$ac_save_CFLAGS"
1626 LIBS="$ac_save_LIBS"
1627 fi
1628 fi
1629 if test "x$no_gtk" = x ; then
1630 AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
1631 ifelse([$2], , :, [$2])
1632 else
1633 AC_MSG_RESULT(no)
1634 if test "$PKG_CONFIG" = "no" ; then
1635 echo "*** A new enough version of pkg-config was not found."
1636 echo "*** See http://pkgconfig.sourceforge.net"
1637 else
1638 if test -f conf.gtktest ; then
1639 :
1640 else
1641 echo "*** Could not run GTK+ test program, checking why..."
1642 ac_save_CFLAGS="$CFLAGS"
1643 ac_save_LIBS="$LIBS"
1644 CFLAGS="$CFLAGS $GTK_CFLAGS"
1645 LIBS="$LIBS $GTK_LIBS"
1646 AC_TRY_LINK([
1647#include <gtk/gtk.h>
1648#include <stdio.h>
1649], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
1650 [ echo "*** The test program compiled, but did not run. This usually means"
1651 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
1652 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
1653 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
1654 echo "*** to the installed location Also, make sure you have run ldconfig if that"
1655 echo "*** is required on your system"
1656 echo "***"
1657 echo "*** If you have an old version installed, it is best to remove it, although"
1658 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
1659 [ echo "*** The test program failed to compile or link. See the file config.log for the"
1660 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
1661 CFLAGS="$ac_save_CFLAGS"
1662 LIBS="$ac_save_LIBS"
1663 fi
1664 fi
1665 GTK_CFLAGS=""
1666 GTK_LIBS=""
1667 ifelse([$3], , :, [$3])
1668 fi
1669 AC_SUBST(GTK_CFLAGS)
1670 AC_SUBST(GTK_LIBS)
1671 rm -f conf.gtktest
1672])
1673
1674# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1675#
1676# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1677#
1678# This program is free software; you can redistribute it and/or modify
1679# it under the terms of the GNU General Public License as published by
1680# the Free Software Foundation; either version 2 of the License, or
1681# (at your option) any later version.
1682#
1683# This program is distributed in the hope that it will be useful, but
1684# WITHOUT ANY WARRANTY; without even the implied warranty of
1685# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1686# General Public License for more details.
1687#
1688# You should have received a copy of the GNU General Public License
1689# along with this program; if not, write to the Free Software
1690# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1691#
1692# As a special exception to the GNU General Public License, if you
1693# distribute this file as part of a program that contains a
1694# configuration script generated by Autoconf, you may include it under
1695# the same distribution terms that you use for the rest of that program.
1696
1697# PKG_PROG_PKG_CONFIG([MIN-VERSION])
1698# ----------------------------------
1699AC_DEFUN([PKG_PROG_PKG_CONFIG],
1700[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1701m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1702AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
1703if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1704 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1705fi
1706if test -n "$PKG_CONFIG"; then
1707 _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
1708 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1709 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1710 AC_MSG_RESULT([yes])
1711 else
1712 AC_MSG_RESULT([no])
1713 PKG_CONFIG=""
1714 fi
1715
1716fi[]dnl
1717])# PKG_PROG_PKG_CONFIG
1718
1719# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1720#
1721# Check to see whether a particular set of modules exists. Similar
1722# to PKG_CHECK_MODULES(), but does not set variables or print errors.
1723#
1724#
1725# Similar to PKG_CHECK_MODULES, make sure that the first instance of
1726# this or PKG_CHECK_MODULES is called, or make sure to call
1727# PKG_CHECK_EXISTS manually
1728# --------------------------------------------------------------
1729AC_DEFUN([PKG_CHECK_EXISTS],
1730[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1731if test -n "$PKG_CONFIG" && \
1732 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1733 m4_ifval([$2], [$2], [:])
1734m4_ifvaln([$3], [else
1735 $3])dnl
1736fi])
1737
1738
1739# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1740# ---------------------------------------------
1741m4_define([_PKG_CONFIG],
1742[if test -n "$PKG_CONFIG"; then
1743 PKG_CHECK_EXISTS([$3],
1744 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1745 [pkg_failed=yes])
1746else
1747 pkg_failed=untried
1748fi[]dnl
1749])# _PKG_CONFIG
1750
1751# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1752# [ACTION-IF-NOT-FOUND])
1753#
1754#
1755# Note that if there is a possibility the first call to
1756# PKG_CHECK_MODULES might not happen, you should be sure to include an
1757# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1758#
1759#
1760# --------------------------------------------------------------
1761AC_DEFUN([PKG_CHECK_MODULES],
1762[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1763AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1764AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1765
1766pkg_failed=no
1767AC_MSG_CHECKING([for $1])
1768
1769_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1770_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1771
1772if test $pkg_failed = yes; then
1773 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
1774 # Put the nasty error message in config.log where it belongs
1775 echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
1776
1777 ifelse([$4], , [AC_MSG_ERROR(dnl
1778[Package requirements ($2) were not met.
1779Consider adjusting the PKG_CONFIG_PATH environment variable if you
1780installed software in a non-standard prefix.
1781
1782Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
1783to avoid the need to call pkg-config. See the pkg-config man page for
1784more details.])],
1785 [$4])
1786elif test $pkg_failed = untried; then
1787 ifelse([$4], , [AC_MSG_FAILURE(dnl
1788[The pkg-config script could not be found or is too old. Make sure it
1789is in your PATH or set the PKG_CONFIG environment variable to the full
1790path to pkg-config.
1791
1792Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
1793to avoid the need to call pkg-config. See the pkg-config man page for
1794more details.
1795
1796To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
1797 [$4])
1798else
1799 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1800 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1801 AC_MSG_RESULT([yes])
1802 ifelse([$3], , :, [$3])
1803fi[]dnl
1804])# PKG_CHECK_MODULES
1805
1806# Configure paths for GtkGLExt
1807# Naofumi Yasufuku
1808#
1809# Shamelessly stolen from gtk-2.0.m4
1810# Configure paths for GTK+
1811# Owen Taylor 1997-2001
1812
1813dnl AM_PATH_GTKGLEXT_1_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1814dnl Test for GtkGLExt, and define GTKGLEXT_CFLAGS and GTKGLEXT_LIBS.
1815dnl
1816AC_DEFUN([AM_PATH_GTKGLEXT_1_0],
1817[ no_gtkglext=""
1818 GTKGLEXT_CFLAGS=""
1819 GTKGLEXT_LIBS=""
1820
1821 # GtkGLExt pkg-config module
1822 gtkglext_module=gtkglext-1.0
1823
1824 # minimum GtkGLExt version
1825 gtkglext_min_version=ifelse([$1], ,1.0.0,$1)
1826
1827 # minimum pkg-config version
1828 pkgconfig_min_version=0.7
1829
1830AC_ARG_ENABLE(gtkglext-test,
1831[ --disable-gtkglext-test do not try to compile and run a test GtkGLExt program],
1832, enable_gtkglext_test=yes)
1833
1834dnl
1835dnl Get the cflags and libraries from pkg-config
1836dnl
1837 pkg_config_modules=$gtkglext_module
1838
1839 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
1840
1841 if test x$PKG_CONFIG != xno ; then
1842 if pkg-config --atleast-pkgconfig-version $pkgconfig_min_version ; then
1843 :
1844 else
1845 echo ""
1846 echo "*** pkg-config too old; version $pkgconfig_min_version or better required."
1847 no_gtkglext=yes
1848 PKG_CONFIG=no
1849 fi
1850 else
1851 no_gtkglext=yes
1852 fi
1853
1854 AC_MSG_CHECKING(for GtkGLExt - version >= $gtkglext_min_version)
1855
1856 if test x$PKG_CONFIG != xno ; then
1857 ## don't try to run the test against uninstalled libtool libs
1858 if $PKG_CONFIG --uninstalled $pkg_config_modules; then
1859 echo ""
1860 echo "Will use uninstalled version of GtkGLExt found in PKG_CONFIG_PATH"
1861 enable_gtkglext_test=no
1862 fi
1863
1864 if $PKG_CONFIG --atleast-version $gtkglext_min_version $pkg_config_modules; then
1865 :
1866 else
1867 echo ""
1868 echo "*** pkg-config cannot find $gtkglext_module >= $gtkglext_min_version"
1869 echo "*** Set the environment variable PKG_CONFIG_PATH to point to the correct"
1870 echo "*** configuration files."
1871 no_gtkglext=yes
1872 enable_gtkglext_test=no
1873 fi
1874 fi
1875
1876 if test x"$no_gtkglext" = x ; then
1877 GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_modules`
1878 GTKGLEXT_LIBS=`$PKG_CONFIG --libs $pkg_config_modules`
1879 gtkglext_config_major_version=`$PKG_CONFIG --modversion $gtkglext_module | \
1880 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1881 gtkglext_config_minor_version=`$PKG_CONFIG --modversion $gtkglext_module | \
1882 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1883 gtkglext_config_micro_version=`$PKG_CONFIG --modversion $gtkglext_module | \
1884 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1885 if test "x$enable_gtkglext_test" = "xyes" ; then
1886 ac_save_CFLAGS="$CFLAGS"
1887 ac_save_LIBS="$LIBS"
1888 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
1889 LIBS="$GTKGLEXT_LIBS $LIBS"
1890dnl
1891dnl Now check if the installed GtkGLExt is sufficiently new. (Also sanity
1892dnl checks the results of pkg-config to some extent)
1893dnl
1894 rm -f conf.gtkgltest
1895 AC_TRY_RUN([
1896#include <gtk/gtk.h>
1897#include <gtk/gtkgl.h>
1898#include <stdio.h>
1899#include <stdlib.h>
1900
1901int
1902main ()
1903{
1904 int major, minor, micro;
1905 char *tmp_version;
1906
1907 system ("touch conf.gtkgltest");
1908
1909 /* HP/UX 9 (%@#!) writes to sscanf strings */
1910 tmp_version = g_strdup ("$gtkglext_min_version");
1911 if (sscanf (tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3)
1912 {
1913 printf ("%s, bad version string\n", "$gtkglext_min_version");
1914 exit (1);
1915 }
1916
1917 if ((gtkglext_major_version != $gtkglext_config_major_version) ||
1918 (gtkglext_minor_version != $gtkglext_config_minor_version) ||
1919 (gtkglext_micro_version != $gtkglext_config_micro_version))
1920 {
1921 printf ("\n*** 'pkg-config --modversion $gtkglext_module' returned %d.%d.%d, but GtkGLExt\n",
1922 $gtkglext_config_major_version, $gtkglext_config_minor_version, $gtkglext_config_micro_version);
1923 printf ("*** library %d.%d.%d was found!\n",
1924 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
1925 printf ("***\n");
1926 printf ("*** If pkg-config was correct, then it is best to remove the old version\n");
1927 printf ("*** of GtkGLExt. You may also be able to fix the error by modifying your\n");
1928 printf ("*** LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf.\n");
1929 printf ("*** Make sure you have run ldconfig if that is required on your system.\n");
1930 printf ("***\n");
1931 printf ("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
1932 printf ("*** to point to the correct configuration files.\n");
1933 }
1934 else if ((gtkglext_major_version != GTKGLEXT_MAJOR_VERSION) ||
1935 (gtkglext_minor_version != GTKGLEXT_MINOR_VERSION) ||
1936 (gtkglext_micro_version != GTKGLEXT_MICRO_VERSION))
1937 {
1938 printf ("\n*** GtkGLExt header files (version %d.%d.%d) do not match library (version %d.%d.%d).\n",
1939 GTKGLEXT_MAJOR_VERSION, GTKGLEXT_MINOR_VERSION, GTKGLEXT_MICRO_VERSION,
1940 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
1941 }
1942 else
1943 {
1944 if ((gtkglext_major_version > major) ||
1945 ((gtkglext_major_version == major) && (gtkglext_minor_version > minor)) ||
1946 ((gtkglext_major_version == major) && (gtkglext_minor_version == minor) && (gtkglext_micro_version >= micro)))
1947 {
1948 return 0;
1949 }
1950 else
1951 {
1952 printf ("\n*** An old version of GtkGLExt library (%d.%d.%d) was found.\n",
1953 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
1954 printf ("*** You need a version of GtkGLExt newer than %d.%d.%d. The latest version of\n",
1955 major, minor, micro);
1956 printf ("*** GtkGLExt is always available from http://gtkglext.sourceforge.net/.\n");
1957 printf ("***\n");
1958 printf ("*** If you have already installed a sufficiently new version, this error\n");
1959 printf ("*** probably means that the wrong copy of the pkg-config shell script is\n");
1960 printf ("*** being found. The easiest way to fix this is to remove the old version\n");
1961 printf ("*** of GtkGLExt, but you can also set the PKG_CONFIG environment to point\n");
1962 printf ("*** to the correct copy of pkg-config. (In this case, you will have to\n");
1963 printf ("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
1964 printf ("*** so that the correct libraries are found at run-time)\n");
1965 }
1966 }
1967 return 1;
1968}
1969],, no_gtkglext=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1970 CFLAGS="$ac_save_CFLAGS"
1971 LIBS="$ac_save_LIBS"
1972 fi
1973 fi
1974 if test "x$no_gtkglext" = x ; then
1975 AC_MSG_RESULT(yes (version $gtkglext_config_major_version.$gtkglext_config_minor_version.$gtkglext_config_micro_version))
1976 ifelse([$2], , :, [$2])
1977 else
1978 AC_MSG_RESULT(no)
1979 if test "$PKG_CONFIG" = "no" ; then
1980 echo "*** A new enough version of pkg-config was not found."
1981 echo "*** See http://www.freedesktop.org/software/pkgconfig/."
1982 elif test "x$enable_gtkglext_test" = "xyes" ; then
1983 if test -f conf.gtkgltest ; then
1984 :
1985 else
1986 echo "*** Could not run GtkGLExt test program, checking why..."
1987 ac_save_CFLAGS="$CFLAGS"
1988 ac_save_LIBS="$LIBS"
1989 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
1990 LIBS="$LIBS $GTKGLEXT_LIBS"
1991 AC_TRY_LINK([
1992#include <gtk/gtk.h>
1993#include <gtk/gtkgl.h>
1994#include <stdio.h>
1995], [ return ((gtkglext_major_version) || (gtkglext_minor_version) || (gtkglext_micro_version)); ],
1996 [ echo "*** The test program compiled, but did not run. This usually means"
1997 echo "*** that the run-time linker is not finding GtkGLExt or finding the wrong"
1998 echo "*** version of GtkGLExt. If it is not finding GtkGLExt, you'll need to set your"
1999 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2000 echo "*** to the installed location Also, make sure you have run ldconfig if that"
2001 echo "*** is required on your system"
2002 echo "***"
2003 echo "*** If you have an old version installed, it is best to remove it, although"
2004 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
2005 [ echo "*** The test program failed to compile or link. See the file config.log for the"
2006 echo "*** exact error that occured. This usually means GtkGLExt is incorrectly installed."])
2007 CFLAGS="$ac_save_CFLAGS"
2008 LIBS="$ac_save_LIBS"
2009 fi
2010 fi
2011 GTKGLEXT_CFLAGS=""
2012 GTKGLEXT_LIBS=""
2013 ifelse([$3], , :, [$3])
2014 fi
2015 AC_SUBST(GTKGLEXT_CFLAGS)
2016 AC_SUBST(GTKGLEXT_LIBS)
2017 rm -f conf.gtkgltest
2018])
2019
2020dnl AC_GTKGLEXT_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]])
2021dnl Checks whether GtkGLExt supports multihead.
2022dnl
2023AC_DEFUN([AC_GTKGLEXT_SUPPORTS_MULTIHEAD],
2024[ AC_CACHE_CHECK([whether GtkGLExt supports multihead],
2025 [ac_cv_gtkglext_supports_multihead],
2026 [AC_TRY_LINK([#include <gdk/gdkglquery.h>],
2027 [gdk_gl_query_extension_for_display(gdk_display_get_default());],
2028 [ac_cv_gtkglext_supports_multihead=yes],
2029 [ac_cv_gtkglext_supports_multihead=no])])
2030 if test "x$ac_cv_gtkglext_supports_multihead" = "xyes" ; then
2031 ifelse([$1], , :, [$1])
2032 else
2033 ifelse([$2], , :, [$2])
2034 fi
2035])
2036
2037dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
2038dnl
2039dnl This macro _AC_DEFINEs VARNAME to the expansion of the DIR
2040dnl variable, taking care of fixing up ${prefix} and such.
2041dnl
2042dnl Note that the 3 argument form is only supported with autoconf 2.13 and
2043dnl later (i.e. only where _AC_DEFINE supports 3 arguments).
2044dnl
2045dnl Examples:
2046dnl
2047dnl AC_DEFINE_DIR(DATADIR, datadir)
2048dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
2049dnl
2050dnl @version $Id: acinclude.m4 25 2006-04-22 17:24:27Z mmmaddd $
2051dnl @author Guido Draheim <guidod@gmx.de>, original by Alexandre Oliva
2052
2053AC_DEFUN([AC_DEFINE_DIR], [
2054 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2055 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2056 ac_define_dir=`eval echo [$]$2`
2057 ac_define_dir=`eval echo [$]ac_define_dir`
2058 ifelse($3, ,
2059 AC_DEFINE_UNQUOTED($1, "$ac_define_dir"),
2060 AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3))
2061])
2062
2063
2064
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/compile b/src/others/mimesh/g3dviewer-0.2.99.4/compile
new file mode 100755
index 0000000..ac07cc5
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/compile
@@ -0,0 +1,107 @@
1#! /bin/sh
2
3# Wrapper for compilers which do not understand `-c -o'.
4
5# Copyright 1999, 2000 Free Software Foundation, Inc.
6# Written by Tom Tromey <tromey@cygnus.com>.
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, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
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# Usage:
28# compile PROGRAM [ARGS]...
29# `-o FOO.o' is removed from the args passed to the actual compile.
30
31# Usage statement added by Billy Biggs <vektor@dumbterm.net>.
32if [ -z $1 ]; then
33 echo "Wrapper for compilers which do not understand '-c -o'."
34 echo "usage: compile PROGRAM [ARGS]..."
35 echo "'-o FOO.o' is removed from the args passed to the actual compile."
36 exit 1
37fi
38
39prog=$1
40shift
41
42ofile=
43cfile=
44args=
45while test $# -gt 0; do
46 case "$1" in
47 -o)
48 # configure might choose to run compile as `compile cc -o foo foo.c'.
49 # So we do something ugly here.
50 ofile=$2
51 shift
52 case "$ofile" in
53 *.o | *.obj)
54 ;;
55 *)
56 args="$args -o $ofile"
57 ofile=
58 ;;
59 esac
60 ;;
61 *.c)
62 cfile=$1
63 args="$args $1"
64 ;;
65 *)
66 args="$args $1"
67 ;;
68 esac
69 shift
70done
71
72if test -z "$ofile" || test -z "$cfile"; then
73 # If no `-o' option was seen then we might have been invoked from a
74 # pattern rule where we don't need one. That is ok -- this is a
75 # normal compilation that the losing compiler can handle. If no
76 # `.c' file was seen then we are probably linking. That is also
77 # ok.
78 exec "$prog" $args
79fi
80
81# Name of file we expect compiler to create.
82cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
83
84# Create the lock directory.
85# Note: use `[/.-]' here to ensure that we don't use the same name
86# that we are using for the .o file. Also, base the name on the expected
87# object file name, since that is what matters with a parallel build.
88lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
89while true; do
90 if mkdir $lockdir > /dev/null 2>&1; then
91 break
92 fi
93 sleep 1
94done
95# FIXME: race condition here if user kills between mkdir and trap.
96trap "rmdir $lockdir; exit 1" 1 2 15
97
98# Run the compile.
99"$prog" $args
100status=$?
101
102if test -f "$cofile"; then
103 mv "$cofile" "$ofile"
104fi
105
106rmdir $lockdir
107exit $status
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/config.guess b/src/others/mimesh/g3dviewer-0.2.99.4/config.guess
new file mode 100755
index 0000000..ad5281e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/config.guess
@@ -0,0 +1,1466 @@
1#! /bin/sh
2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
6timestamp='2005-08-03'
7
8# This file is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful, but
14# WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16# 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, write to the Free Software
20# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
21# 02110-1301, USA.
22#
23# As a special exception to the GNU General Public License, if you
24# distribute this file as part of a program that contains a
25# configuration script generated by Autoconf, you may include it under
26# the same distribution terms that you use for the rest of that program.
27
28
29# Originally written by Per Bothner <per@bothner.com>.
30# Please send patches to <config-patches@gnu.org>. Submit a context
31# diff and a properly formatted ChangeLog entry.
32#
33# This script attempts to guess a canonical system name similar to
34# config.sub. If it succeeds, it prints the system name on stdout, and
35# exits with 0. Otherwise, it exits with 1.
36#
37# The plan is that this can be called by configure scripts if you
38# don't specify an explicit build system type.
39
40me=`echo "$0" | sed -e 's,.*/,,'`
41
42usage="\
43Usage: $0 [OPTION]
44
45Output the configuration name of the system \`$me' is run on.
46
47Operation modes:
48 -h, --help print this help, then exit
49 -t, --time-stamp print date of last modification, then exit
50 -v, --version print version number, then exit
51
52Report bugs and patches to <config-patches@gnu.org>."
53
54version="\
55GNU config.guess ($timestamp)
56
57Originally written by Per Bothner.
58Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
59Free Software Foundation, Inc.
60
61This is free software; see the source for copying conditions. There is NO
62warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
63
64help="
65Try \`$me --help' for more information."
66
67# Parse command line
68while test $# -gt 0 ; do
69 case $1 in
70 --time-stamp | --time* | -t )
71 echo "$timestamp" ; exit ;;
72 --version | -v )
73 echo "$version" ; exit ;;
74 --help | --h* | -h )
75 echo "$usage"; exit ;;
76 -- ) # Stop option processing
77 shift; break ;;
78 - ) # Use stdin as input.
79 break ;;
80 -* )
81 echo "$me: invalid option $1$help" >&2
82 exit 1 ;;
83 * )
84 break ;;
85 esac
86done
87
88if test $# != 0; then
89 echo "$me: too many arguments$help" >&2
90 exit 1
91fi
92
93trap 'exit 1' 1 2 15
94
95# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
96# compiler to aid in system detection is discouraged as it requires
97# temporary files to be created and, as you can see below, it is a
98# headache to deal with in a portable fashion.
99
100# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
101# use `HOST_CC' if defined, but it is deprecated.
102
103# Portable tmp directory creation inspired by the Autoconf team.
104
105set_cc_for_build='
106trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
107trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
108: ${TMPDIR=/tmp} ;
109 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
110 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
111 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
112 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
113dummy=$tmp/dummy ;
114tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
115case $CC_FOR_BUILD,$HOST_CC,$CC in
116 ,,) echo "int x;" > $dummy.c ;
117 for c in cc gcc c89 c99 ; do
118 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
119 CC_FOR_BUILD="$c"; break ;
120 fi ;
121 done ;
122 if test x"$CC_FOR_BUILD" = x ; then
123 CC_FOR_BUILD=no_compiler_found ;
124 fi
125 ;;
126 ,,*) CC_FOR_BUILD=$CC ;;
127 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
128esac ; set_cc_for_build= ;'
129
130# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
131# (ghazi@noc.rutgers.edu 1994-08-24)
132if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
133 PATH=$PATH:/.attbin ; export PATH
134fi
135
136UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
137UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
138UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
139UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
140
141# Note: order is significant - the case branches are not exclusive.
142
143case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
144 *:NetBSD:*:*)
145 # NetBSD (nbsd) targets should (where applicable) match one or
146 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
147 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
148 # switched to ELF, *-*-netbsd* would select the old
149 # object file format. This provides both forward
150 # compatibility and a consistent mechanism for selecting the
151 # object file format.
152 #
153 # Note: NetBSD doesn't particularly care about the vendor
154 # portion of the name. We always set it to "unknown".
155 sysctl="sysctl -n hw.machine_arch"
156 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
157 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
158 case "${UNAME_MACHINE_ARCH}" in
159 armeb) machine=armeb-unknown ;;
160 arm*) machine=arm-unknown ;;
161 sh3el) machine=shl-unknown ;;
162 sh3eb) machine=sh-unknown ;;
163 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
164 esac
165 # The Operating System including object format, if it has switched
166 # to ELF recently, or will in the future.
167 case "${UNAME_MACHINE_ARCH}" in
168 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
169 eval $set_cc_for_build
170 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
171 | grep __ELF__ >/dev/null
172 then
173 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
174 # Return netbsd for either. FIX?
175 os=netbsd
176 else
177 os=netbsdelf
178 fi
179 ;;
180 *)
181 os=netbsd
182 ;;
183 esac
184 # The OS release
185 # Debian GNU/NetBSD machines have a different userland, and
186 # thus, need a distinct triplet. However, they do not need
187 # kernel version information, so it can be replaced with a
188 # suitable tag, in the style of linux-gnu.
189 case "${UNAME_VERSION}" in
190 Debian*)
191 release='-gnu'
192 ;;
193 *)
194 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
195 ;;
196 esac
197 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
198 # contains redundant information, the shorter form:
199 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
200 echo "${machine}-${os}${release}"
201 exit ;;
202 *:OpenBSD:*:*)
203 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
204 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
205 exit ;;
206 *:ekkoBSD:*:*)
207 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
208 exit ;;
209 macppc:MirBSD:*:*)
210 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
211 exit ;;
212 *:MirBSD:*:*)
213 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
214 exit ;;
215 alpha:OSF1:*:*)
216 case $UNAME_RELEASE in
217 *4.0)
218 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
219 ;;
220 *5.*)
221 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
222 ;;
223 esac
224 # According to Compaq, /usr/sbin/psrinfo has been available on
225 # OSF/1 and Tru64 systems produced since 1995. I hope that
226 # covers most systems running today. This code pipes the CPU
227 # types through head -n 1, so we only detect the type of CPU 0.
228 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
229 case "$ALPHA_CPU_TYPE" in
230 "EV4 (21064)")
231 UNAME_MACHINE="alpha" ;;
232 "EV4.5 (21064)")
233 UNAME_MACHINE="alpha" ;;
234 "LCA4 (21066/21068)")
235 UNAME_MACHINE="alpha" ;;
236 "EV5 (21164)")
237 UNAME_MACHINE="alphaev5" ;;
238 "EV5.6 (21164A)")
239 UNAME_MACHINE="alphaev56" ;;
240 "EV5.6 (21164PC)")
241 UNAME_MACHINE="alphapca56" ;;
242 "EV5.7 (21164PC)")
243 UNAME_MACHINE="alphapca57" ;;
244 "EV6 (21264)")
245 UNAME_MACHINE="alphaev6" ;;
246 "EV6.7 (21264A)")
247 UNAME_MACHINE="alphaev67" ;;
248 "EV6.8CB (21264C)")
249 UNAME_MACHINE="alphaev68" ;;
250 "EV6.8AL (21264B)")
251 UNAME_MACHINE="alphaev68" ;;
252 "EV6.8CX (21264D)")
253 UNAME_MACHINE="alphaev68" ;;
254 "EV6.9A (21264/EV69A)")
255 UNAME_MACHINE="alphaev69" ;;
256 "EV7 (21364)")
257 UNAME_MACHINE="alphaev7" ;;
258 "EV7.9 (21364A)")
259 UNAME_MACHINE="alphaev79" ;;
260 esac
261 # A Pn.n version is a patched version.
262 # A Vn.n version is a released version.
263 # A Tn.n version is a released field test version.
264 # A Xn.n version is an unreleased experimental baselevel.
265 # 1.2 uses "1.2" for uname -r.
266 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
267 exit ;;
268 Alpha\ *:Windows_NT*:*)
269 # How do we know it's Interix rather than the generic POSIX subsystem?
270 # Should we change UNAME_MACHINE based on the output of uname instead
271 # of the specific Alpha model?
272 echo alpha-pc-interix
273 exit ;;
274 21064:Windows_NT:50:3)
275 echo alpha-dec-winnt3.5
276 exit ;;
277 Amiga*:UNIX_System_V:4.0:*)
278 echo m68k-unknown-sysv4
279 exit ;;
280 *:[Aa]miga[Oo][Ss]:*:*)
281 echo ${UNAME_MACHINE}-unknown-amigaos
282 exit ;;
283 *:[Mm]orph[Oo][Ss]:*:*)
284 echo ${UNAME_MACHINE}-unknown-morphos
285 exit ;;
286 *:OS/390:*:*)
287 echo i370-ibm-openedition
288 exit ;;
289 *:z/VM:*:*)
290 echo s390-ibm-zvmoe
291 exit ;;
292 *:OS400:*:*)
293 echo powerpc-ibm-os400
294 exit ;;
295 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
296 echo arm-acorn-riscix${UNAME_RELEASE}
297 exit ;;
298 arm:riscos:*:*|arm:RISCOS:*:*)
299 echo arm-unknown-riscos
300 exit ;;
301 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
302 echo hppa1.1-hitachi-hiuxmpp
303 exit ;;
304 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
305 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
306 if test "`(/bin/universe) 2>/dev/null`" = att ; then
307 echo pyramid-pyramid-sysv3
308 else
309 echo pyramid-pyramid-bsd
310 fi
311 exit ;;
312 NILE*:*:*:dcosx)
313 echo pyramid-pyramid-svr4
314 exit ;;
315 DRS?6000:unix:4.0:6*)
316 echo sparc-icl-nx6
317 exit ;;
318 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
319 case `/usr/bin/uname -p` in
320 sparc) echo sparc-icl-nx7; exit ;;
321 esac ;;
322 sun4H:SunOS:5.*:*)
323 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
324 exit ;;
325 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
326 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
327 exit ;;
328 i86pc:SunOS:5.*:*)
329 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
330 exit ;;
331 sun4*:SunOS:6*:*)
332 # According to config.sub, this is the proper way to canonicalize
333 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
334 # it's likely to be more like Solaris than SunOS4.
335 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
336 exit ;;
337 sun4*:SunOS:*:*)
338 case "`/usr/bin/arch -k`" in
339 Series*|S4*)
340 UNAME_RELEASE=`uname -v`
341 ;;
342 esac
343 # Japanese Language versions have a version number like `4.1.3-JL'.
344 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
345 exit ;;
346 sun3*:SunOS:*:*)
347 echo m68k-sun-sunos${UNAME_RELEASE}
348 exit ;;
349 sun*:*:4.2BSD:*)
350 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
351 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
352 case "`/bin/arch`" in
353 sun3)
354 echo m68k-sun-sunos${UNAME_RELEASE}
355 ;;
356 sun4)
357 echo sparc-sun-sunos${UNAME_RELEASE}
358 ;;
359 esac
360 exit ;;
361 aushp:SunOS:*:*)
362 echo sparc-auspex-sunos${UNAME_RELEASE}
363 exit ;;
364 # The situation for MiNT is a little confusing. The machine name
365 # can be virtually everything (everything which is not
366 # "atarist" or "atariste" at least should have a processor
367 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
368 # to the lowercase version "mint" (or "freemint"). Finally
369 # the system name "TOS" denotes a system which is actually not
370 # MiNT. But MiNT is downward compatible to TOS, so this should
371 # be no problem.
372 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
373 echo m68k-atari-mint${UNAME_RELEASE}
374 exit ;;
375 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
376 echo m68k-atari-mint${UNAME_RELEASE}
377 exit ;;
378 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
379 echo m68k-atari-mint${UNAME_RELEASE}
380 exit ;;
381 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
382 echo m68k-milan-mint${UNAME_RELEASE}
383 exit ;;
384 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
385 echo m68k-hades-mint${UNAME_RELEASE}
386 exit ;;
387 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
388 echo m68k-unknown-mint${UNAME_RELEASE}
389 exit ;;
390 m68k:machten:*:*)
391 echo m68k-apple-machten${UNAME_RELEASE}
392 exit ;;
393 powerpc:machten:*:*)
394 echo powerpc-apple-machten${UNAME_RELEASE}
395 exit ;;
396 RISC*:Mach:*:*)
397 echo mips-dec-mach_bsd4.3
398 exit ;;
399 RISC*:ULTRIX:*:*)
400 echo mips-dec-ultrix${UNAME_RELEASE}
401 exit ;;
402 VAX*:ULTRIX*:*:*)
403 echo vax-dec-ultrix${UNAME_RELEASE}
404 exit ;;
405 2020:CLIX:*:* | 2430:CLIX:*:*)
406 echo clipper-intergraph-clix${UNAME_RELEASE}
407 exit ;;
408 mips:*:*:UMIPS | mips:*:*:RISCos)
409 eval $set_cc_for_build
410 sed 's/^ //' << EOF >$dummy.c
411#ifdef __cplusplus
412#include <stdio.h> /* for printf() prototype */
413 int main (int argc, char *argv[]) {
414#else
415 int main (argc, argv) int argc; char *argv[]; {
416#endif
417 #if defined (host_mips) && defined (MIPSEB)
418 #if defined (SYSTYPE_SYSV)
419 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
420 #endif
421 #if defined (SYSTYPE_SVR4)
422 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
423 #endif
424 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
425 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
426 #endif
427 #endif
428 exit (-1);
429 }
430EOF
431 $CC_FOR_BUILD -o $dummy $dummy.c &&
432 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
433 SYSTEM_NAME=`$dummy $dummyarg` &&
434 { echo "$SYSTEM_NAME"; exit; }
435 echo mips-mips-riscos${UNAME_RELEASE}
436 exit ;;
437 Motorola:PowerMAX_OS:*:*)
438 echo powerpc-motorola-powermax
439 exit ;;
440 Motorola:*:4.3:PL8-*)
441 echo powerpc-harris-powermax
442 exit ;;
443 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
444 echo powerpc-harris-powermax
445 exit ;;
446 Night_Hawk:Power_UNIX:*:*)
447 echo powerpc-harris-powerunix
448 exit ;;
449 m88k:CX/UX:7*:*)
450 echo m88k-harris-cxux7
451 exit ;;
452 m88k:*:4*:R4*)
453 echo m88k-motorola-sysv4
454 exit ;;
455 m88k:*:3*:R3*)
456 echo m88k-motorola-sysv3
457 exit ;;
458 AViiON:dgux:*:*)
459 # DG/UX returns AViiON for all architectures
460 UNAME_PROCESSOR=`/usr/bin/uname -p`
461 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
462 then
463 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
464 [ ${TARGET_BINARY_INTERFACE}x = x ]
465 then
466 echo m88k-dg-dgux${UNAME_RELEASE}
467 else
468 echo m88k-dg-dguxbcs${UNAME_RELEASE}
469 fi
470 else
471 echo i586-dg-dgux${UNAME_RELEASE}
472 fi
473 exit ;;
474 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
475 echo m88k-dolphin-sysv3
476 exit ;;
477 M88*:*:R3*:*)
478 # Delta 88k system running SVR3
479 echo m88k-motorola-sysv3
480 exit ;;
481 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
482 echo m88k-tektronix-sysv3
483 exit ;;
484 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
485 echo m68k-tektronix-bsd
486 exit ;;
487 *:IRIX*:*:*)
488 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
489 exit ;;
490 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
491 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
492 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
493 i*86:AIX:*:*)
494 echo i386-ibm-aix
495 exit ;;
496 ia64:AIX:*:*)
497 if [ -x /usr/bin/oslevel ] ; then
498 IBM_REV=`/usr/bin/oslevel`
499 else
500 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
501 fi
502 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
503 exit ;;
504 *:AIX:2:3)
505 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
506 eval $set_cc_for_build
507 sed 's/^ //' << EOF >$dummy.c
508 #include <sys/systemcfg.h>
509
510 main()
511 {
512 if (!__power_pc())
513 exit(1);
514 puts("powerpc-ibm-aix3.2.5");
515 exit(0);
516 }
517EOF
518 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
519 then
520 echo "$SYSTEM_NAME"
521 else
522 echo rs6000-ibm-aix3.2.5
523 fi
524 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
525 echo rs6000-ibm-aix3.2.4
526 else
527 echo rs6000-ibm-aix3.2
528 fi
529 exit ;;
530 *:AIX:*:[45])
531 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
532 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
533 IBM_ARCH=rs6000
534 else
535 IBM_ARCH=powerpc
536 fi
537 if [ -x /usr/bin/oslevel ] ; then
538 IBM_REV=`/usr/bin/oslevel`
539 else
540 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
541 fi
542 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
543 exit ;;
544 *:AIX:*:*)
545 echo rs6000-ibm-aix
546 exit ;;
547 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
548 echo romp-ibm-bsd4.4
549 exit ;;
550 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
551 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
552 exit ;; # report: romp-ibm BSD 4.3
553 *:BOSX:*:*)
554 echo rs6000-bull-bosx
555 exit ;;
556 DPX/2?00:B.O.S.:*:*)
557 echo m68k-bull-sysv3
558 exit ;;
559 9000/[34]??:4.3bsd:1.*:*)
560 echo m68k-hp-bsd
561 exit ;;
562 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
563 echo m68k-hp-bsd4.4
564 exit ;;
565 9000/[34678]??:HP-UX:*:*)
566 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
567 case "${UNAME_MACHINE}" in
568 9000/31? ) HP_ARCH=m68000 ;;
569 9000/[34]?? ) HP_ARCH=m68k ;;
570 9000/[678][0-9][0-9])
571 if [ -x /usr/bin/getconf ]; then
572 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
573 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
574 case "${sc_cpu_version}" in
575 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
576 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
577 532) # CPU_PA_RISC2_0
578 case "${sc_kernel_bits}" in
579 32) HP_ARCH="hppa2.0n" ;;
580 64) HP_ARCH="hppa2.0w" ;;
581 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
582 esac ;;
583 esac
584 fi
585 if [ "${HP_ARCH}" = "" ]; then
586 eval $set_cc_for_build
587 sed 's/^ //' << EOF >$dummy.c
588
589 #define _HPUX_SOURCE
590 #include <stdlib.h>
591 #include <unistd.h>
592
593 int main ()
594 {
595 #if defined(_SC_KERNEL_BITS)
596 long bits = sysconf(_SC_KERNEL_BITS);
597 #endif
598 long cpu = sysconf (_SC_CPU_VERSION);
599
600 switch (cpu)
601 {
602 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
603 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
604 case CPU_PA_RISC2_0:
605 #if defined(_SC_KERNEL_BITS)
606 switch (bits)
607 {
608 case 64: puts ("hppa2.0w"); break;
609 case 32: puts ("hppa2.0n"); break;
610 default: puts ("hppa2.0"); break;
611 } break;
612 #else /* !defined(_SC_KERNEL_BITS) */
613 puts ("hppa2.0"); break;
614 #endif
615 default: puts ("hppa1.0"); break;
616 }
617 exit (0);
618 }
619EOF
620 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
621 test -z "$HP_ARCH" && HP_ARCH=hppa
622 fi ;;
623 esac
624 if [ ${HP_ARCH} = "hppa2.0w" ]
625 then
626 eval $set_cc_for_build
627
628 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
629 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
630 # generating 64-bit code. GNU and HP use different nomenclature:
631 #
632 # $ CC_FOR_BUILD=cc ./config.guess
633 # => hppa2.0w-hp-hpux11.23
634 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
635 # => hppa64-hp-hpux11.23
636
637 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
638 grep __LP64__ >/dev/null
639 then
640 HP_ARCH="hppa2.0w"
641 else
642 HP_ARCH="hppa64"
643 fi
644 fi
645 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
646 exit ;;
647 ia64:HP-UX:*:*)
648 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
649 echo ia64-hp-hpux${HPUX_REV}
650 exit ;;
651 3050*:HI-UX:*:*)
652 eval $set_cc_for_build
653 sed 's/^ //' << EOF >$dummy.c
654 #include <unistd.h>
655 int
656 main ()
657 {
658 long cpu = sysconf (_SC_CPU_VERSION);
659 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
660 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
661 results, however. */
662 if (CPU_IS_PA_RISC (cpu))
663 {
664 switch (cpu)
665 {
666 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
667 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
668 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
669 default: puts ("hppa-hitachi-hiuxwe2"); break;
670 }
671 }
672 else if (CPU_IS_HP_MC68K (cpu))
673 puts ("m68k-hitachi-hiuxwe2");
674 else puts ("unknown-hitachi-hiuxwe2");
675 exit (0);
676 }
677EOF
678 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
679 { echo "$SYSTEM_NAME"; exit; }
680 echo unknown-hitachi-hiuxwe2
681 exit ;;
682 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
683 echo hppa1.1-hp-bsd
684 exit ;;
685 9000/8??:4.3bsd:*:*)
686 echo hppa1.0-hp-bsd
687 exit ;;
688 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
689 echo hppa1.0-hp-mpeix
690 exit ;;
691 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
692 echo hppa1.1-hp-osf
693 exit ;;
694 hp8??:OSF1:*:*)
695 echo hppa1.0-hp-osf
696 exit ;;
697 i*86:OSF1:*:*)
698 if [ -x /usr/sbin/sysversion ] ; then
699 echo ${UNAME_MACHINE}-unknown-osf1mk
700 else
701 echo ${UNAME_MACHINE}-unknown-osf1
702 fi
703 exit ;;
704 parisc*:Lites*:*:*)
705 echo hppa1.1-hp-lites
706 exit ;;
707 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
708 echo c1-convex-bsd
709 exit ;;
710 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
711 if getsysinfo -f scalar_acc
712 then echo c32-convex-bsd
713 else echo c2-convex-bsd
714 fi
715 exit ;;
716 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
717 echo c34-convex-bsd
718 exit ;;
719 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
720 echo c38-convex-bsd
721 exit ;;
722 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
723 echo c4-convex-bsd
724 exit ;;
725 CRAY*Y-MP:*:*:*)
726 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
727 exit ;;
728 CRAY*[A-Z]90:*:*:*)
729 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
730 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
731 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
732 -e 's/\.[^.]*$/.X/'
733 exit ;;
734 CRAY*TS:*:*:*)
735 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
736 exit ;;
737 CRAY*T3E:*:*:*)
738 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
739 exit ;;
740 CRAY*SV1:*:*:*)
741 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
742 exit ;;
743 *:UNICOS/mp:*:*)
744 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
745 exit ;;
746 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
747 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
748 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
749 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
750 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
751 exit ;;
752 5000:UNIX_System_V:4.*:*)
753 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
754 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
755 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
756 exit ;;
757 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
758 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
759 exit ;;
760 sparc*:BSD/OS:*:*)
761 echo sparc-unknown-bsdi${UNAME_RELEASE}
762 exit ;;
763 *:BSD/OS:*:*)
764 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
765 exit ;;
766 *:FreeBSD:*:*)
767 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
768 exit ;;
769 i*:CYGWIN*:*)
770 echo ${UNAME_MACHINE}-pc-cygwin
771 exit ;;
772 i*:MINGW*:*)
773 echo ${UNAME_MACHINE}-pc-mingw32
774 exit ;;
775 i*:windows32*:*)
776 # uname -m includes "-pc" on this system.
777 echo ${UNAME_MACHINE}-mingw32
778 exit ;;
779 i*:PW*:*)
780 echo ${UNAME_MACHINE}-pc-pw32
781 exit ;;
782 x86:Interix*:[34]*)
783 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
784 exit ;;
785 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
786 echo i${UNAME_MACHINE}-pc-mks
787 exit ;;
788 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
789 # How do we know it's Interix rather than the generic POSIX subsystem?
790 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
791 # UNAME_MACHINE based on the output of uname instead of i386?
792 echo i586-pc-interix
793 exit ;;
794 i*:UWIN*:*)
795 echo ${UNAME_MACHINE}-pc-uwin
796 exit ;;
797 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
798 echo x86_64-unknown-cygwin
799 exit ;;
800 p*:CYGWIN*:*)
801 echo powerpcle-unknown-cygwin
802 exit ;;
803 prep*:SunOS:5.*:*)
804 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
805 exit ;;
806 *:GNU:*:*)
807 # the GNU system
808 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
809 exit ;;
810 *:GNU/*:*:*)
811 # other systems with GNU libc and userland
812 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
813 exit ;;
814 i*86:Minix:*:*)
815 echo ${UNAME_MACHINE}-pc-minix
816 exit ;;
817 arm*:Linux:*:*)
818 echo ${UNAME_MACHINE}-unknown-linux-gnu
819 exit ;;
820 cris:Linux:*:*)
821 echo cris-axis-linux-gnu
822 exit ;;
823 crisv32:Linux:*:*)
824 echo crisv32-axis-linux-gnu
825 exit ;;
826 frv:Linux:*:*)
827 echo frv-unknown-linux-gnu
828 exit ;;
829 ia64:Linux:*:*)
830 echo ${UNAME_MACHINE}-unknown-linux-gnu
831 exit ;;
832 m32r*:Linux:*:*)
833 echo ${UNAME_MACHINE}-unknown-linux-gnu
834 exit ;;
835 m68*:Linux:*:*)
836 echo ${UNAME_MACHINE}-unknown-linux-gnu
837 exit ;;
838 mips:Linux:*:*)
839 eval $set_cc_for_build
840 sed 's/^ //' << EOF >$dummy.c
841 #undef CPU
842 #undef mips
843 #undef mipsel
844 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
845 CPU=mipsel
846 #else
847 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
848 CPU=mips
849 #else
850 CPU=
851 #endif
852 #endif
853EOF
854 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
855 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
856 ;;
857 mips64:Linux:*:*)
858 eval $set_cc_for_build
859 sed 's/^ //' << EOF >$dummy.c
860 #undef CPU
861 #undef mips64
862 #undef mips64el
863 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
864 CPU=mips64el
865 #else
866 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
867 CPU=mips64
868 #else
869 CPU=
870 #endif
871 #endif
872EOF
873 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
874 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
875 ;;
876 or32:Linux:*:*)
877 echo or32-unknown-linux-gnu
878 exit ;;
879 ppc:Linux:*:*)
880 echo powerpc-unknown-linux-gnu
881 exit ;;
882 ppc64:Linux:*:*)
883 echo powerpc64-unknown-linux-gnu
884 exit ;;
885 alpha:Linux:*:*)
886 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
887 EV5) UNAME_MACHINE=alphaev5 ;;
888 EV56) UNAME_MACHINE=alphaev56 ;;
889 PCA56) UNAME_MACHINE=alphapca56 ;;
890 PCA57) UNAME_MACHINE=alphapca56 ;;
891 EV6) UNAME_MACHINE=alphaev6 ;;
892 EV67) UNAME_MACHINE=alphaev67 ;;
893 EV68*) UNAME_MACHINE=alphaev68 ;;
894 esac
895 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
896 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
897 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
898 exit ;;
899 parisc:Linux:*:* | hppa:Linux:*:*)
900 # Look for CPU level
901 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
902 PA7*) echo hppa1.1-unknown-linux-gnu ;;
903 PA8*) echo hppa2.0-unknown-linux-gnu ;;
904 *) echo hppa-unknown-linux-gnu ;;
905 esac
906 exit ;;
907 parisc64:Linux:*:* | hppa64:Linux:*:*)
908 echo hppa64-unknown-linux-gnu
909 exit ;;
910 s390:Linux:*:* | s390x:Linux:*:*)
911 echo ${UNAME_MACHINE}-ibm-linux
912 exit ;;
913 sh64*:Linux:*:*)
914 echo ${UNAME_MACHINE}-unknown-linux-gnu
915 exit ;;
916 sh*:Linux:*:*)
917 echo ${UNAME_MACHINE}-unknown-linux-gnu
918 exit ;;
919 sparc:Linux:*:* | sparc64:Linux:*:*)
920 echo ${UNAME_MACHINE}-unknown-linux-gnu
921 exit ;;
922 x86_64:Linux:*:*)
923 echo x86_64-unknown-linux-gnu
924 exit ;;
925 i*86:Linux:*:*)
926 # The BFD linker knows what the default object file format is, so
927 # first see if it will tell us. cd to the root directory to prevent
928 # problems with other programs or directories called `ld' in the path.
929 # Set LC_ALL=C to ensure ld outputs messages in English.
930 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
931 | sed -ne '/supported targets:/!d
932 s/[ ][ ]*/ /g
933 s/.*supported targets: *//
934 s/ .*//
935 p'`
936 case "$ld_supported_targets" in
937 elf32-i386)
938 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
939 ;;
940 a.out-i386-linux)
941 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
942 exit ;;
943 coff-i386)
944 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
945 exit ;;
946 "")
947 # Either a pre-BFD a.out linker (linux-gnuoldld) or
948 # one that does not give us useful --help.
949 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
950 exit ;;
951 esac
952 # Determine whether the default compiler is a.out or elf
953 eval $set_cc_for_build
954 sed 's/^ //' << EOF >$dummy.c
955 #include <features.h>
956 #ifdef __ELF__
957 # ifdef __GLIBC__
958 # if __GLIBC__ >= 2
959 LIBC=gnu
960 # else
961 LIBC=gnulibc1
962 # endif
963 # else
964 LIBC=gnulibc1
965 # endif
966 #else
967 #ifdef __INTEL_COMPILER
968 LIBC=gnu
969 #else
970 LIBC=gnuaout
971 #endif
972 #endif
973 #ifdef __dietlibc__
974 LIBC=dietlibc
975 #endif
976EOF
977 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
978 test x"${LIBC}" != x && {
979 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
980 exit
981 }
982 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
983 ;;
984 i*86:DYNIX/ptx:4*:*)
985 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
986 # earlier versions are messed up and put the nodename in both
987 # sysname and nodename.
988 echo i386-sequent-sysv4
989 exit ;;
990 i*86:UNIX_SV:4.2MP:2.*)
991 # Unixware is an offshoot of SVR4, but it has its own version
992 # number series starting with 2...
993 # I am not positive that other SVR4 systems won't match this,
994 # I just have to hope. -- rms.
995 # Use sysv4.2uw... so that sysv4* matches it.
996 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
997 exit ;;
998 i*86:OS/2:*:*)
999 # If we were able to find `uname', then EMX Unix compatibility
1000 # is probably installed.
1001 echo ${UNAME_MACHINE}-pc-os2-emx
1002 exit ;;
1003 i*86:XTS-300:*:STOP)
1004 echo ${UNAME_MACHINE}-unknown-stop
1005 exit ;;
1006 i*86:atheos:*:*)
1007 echo ${UNAME_MACHINE}-unknown-atheos
1008 exit ;;
1009 i*86:syllable:*:*)
1010 echo ${UNAME_MACHINE}-pc-syllable
1011 exit ;;
1012 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1013 echo i386-unknown-lynxos${UNAME_RELEASE}
1014 exit ;;
1015 i*86:*DOS:*:*)
1016 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1017 exit ;;
1018 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1019 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1020 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1021 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1022 else
1023 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1024 fi
1025 exit ;;
1026 i*86:*:5:[678]*)
1027 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1028 case `/bin/uname -X | grep "^Machine"` in
1029 *486*) UNAME_MACHINE=i486 ;;
1030 *Pentium) UNAME_MACHINE=i586 ;;
1031 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1032 esac
1033 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1034 exit ;;
1035 i*86:*:3.2:*)
1036 if test -f /usr/options/cb.name; then
1037 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1038 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1039 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1040 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1041 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1042 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1043 && UNAME_MACHINE=i586
1044 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1045 && UNAME_MACHINE=i686
1046 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1047 && UNAME_MACHINE=i686
1048 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1049 else
1050 echo ${UNAME_MACHINE}-pc-sysv32
1051 fi
1052 exit ;;
1053 pc:*:*:*)
1054 # Left here for compatibility:
1055 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1056 # the processor, so we play safe by assuming i386.
1057 echo i386-pc-msdosdjgpp
1058 exit ;;
1059 Intel:Mach:3*:*)
1060 echo i386-pc-mach3
1061 exit ;;
1062 paragon:*:*:*)
1063 echo i860-intel-osf1
1064 exit ;;
1065 i860:*:4.*:*) # i860-SVR4
1066 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1067 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1068 else # Add other i860-SVR4 vendors below as they are discovered.
1069 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1070 fi
1071 exit ;;
1072 mini*:CTIX:SYS*5:*)
1073 # "miniframe"
1074 echo m68010-convergent-sysv
1075 exit ;;
1076 mc68k:UNIX:SYSTEM5:3.51m)
1077 echo m68k-convergent-sysv
1078 exit ;;
1079 M680?0:D-NIX:5.3:*)
1080 echo m68k-diab-dnix
1081 exit ;;
1082 M68*:*:R3V[5678]*:*)
1083 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1084 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1085 OS_REL=''
1086 test -r /etc/.relid \
1087 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1088 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1089 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1090 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1091 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1092 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1093 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1094 && { echo i486-ncr-sysv4; exit; } ;;
1095 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1096 echo m68k-unknown-lynxos${UNAME_RELEASE}
1097 exit ;;
1098 mc68030:UNIX_System_V:4.*:*)
1099 echo m68k-atari-sysv4
1100 exit ;;
1101 TSUNAMI:LynxOS:2.*:*)
1102 echo sparc-unknown-lynxos${UNAME_RELEASE}
1103 exit ;;
1104 rs6000:LynxOS:2.*:*)
1105 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1106 exit ;;
1107 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1108 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1109 exit ;;
1110 SM[BE]S:UNIX_SV:*:*)
1111 echo mips-dde-sysv${UNAME_RELEASE}
1112 exit ;;
1113 RM*:ReliantUNIX-*:*:*)
1114 echo mips-sni-sysv4
1115 exit ;;
1116 RM*:SINIX-*:*:*)
1117 echo mips-sni-sysv4
1118 exit ;;
1119 *:SINIX-*:*:*)
1120 if uname -p 2>/dev/null >/dev/null ; then
1121 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1122 echo ${UNAME_MACHINE}-sni-sysv4
1123 else
1124 echo ns32k-sni-sysv
1125 fi
1126 exit ;;
1127 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1128 # says <Richard.M.Bartel@ccMail.Census.GOV>
1129 echo i586-unisys-sysv4
1130 exit ;;
1131 *:UNIX_System_V:4*:FTX*)
1132 # From Gerald Hewes <hewes@openmarket.com>.
1133 # How about differentiating between stratus architectures? -djm
1134 echo hppa1.1-stratus-sysv4
1135 exit ;;
1136 *:*:*:FTX*)
1137 # From seanf@swdc.stratus.com.
1138 echo i860-stratus-sysv4
1139 exit ;;
1140 i*86:VOS:*:*)
1141 # From Paul.Green@stratus.com.
1142 echo ${UNAME_MACHINE}-stratus-vos
1143 exit ;;
1144 *:VOS:*:*)
1145 # From Paul.Green@stratus.com.
1146 echo hppa1.1-stratus-vos
1147 exit ;;
1148 mc68*:A/UX:*:*)
1149 echo m68k-apple-aux${UNAME_RELEASE}
1150 exit ;;
1151 news*:NEWS-OS:6*:*)
1152 echo mips-sony-newsos6
1153 exit ;;
1154 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1155 if [ -d /usr/nec ]; then
1156 echo mips-nec-sysv${UNAME_RELEASE}
1157 else
1158 echo mips-unknown-sysv${UNAME_RELEASE}
1159 fi
1160 exit ;;
1161 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1162 echo powerpc-be-beos
1163 exit ;;
1164 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1165 echo powerpc-apple-beos
1166 exit ;;
1167 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1168 echo i586-pc-beos
1169 exit ;;
1170 SX-4:SUPER-UX:*:*)
1171 echo sx4-nec-superux${UNAME_RELEASE}
1172 exit ;;
1173 SX-5:SUPER-UX:*:*)
1174 echo sx5-nec-superux${UNAME_RELEASE}
1175 exit ;;
1176 SX-6:SUPER-UX:*:*)
1177 echo sx6-nec-superux${UNAME_RELEASE}
1178 exit ;;
1179 Power*:Rhapsody:*:*)
1180 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1181 exit ;;
1182 *:Rhapsody:*:*)
1183 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1184 exit ;;
1185 *:Darwin:*:*)
1186 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1187 case $UNAME_PROCESSOR in
1188 *86) UNAME_PROCESSOR=i686 ;;
1189 unknown) UNAME_PROCESSOR=powerpc ;;
1190 esac
1191 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1192 exit ;;
1193 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1194 UNAME_PROCESSOR=`uname -p`
1195 if test "$UNAME_PROCESSOR" = "x86"; then
1196 UNAME_PROCESSOR=i386
1197 UNAME_MACHINE=pc
1198 fi
1199 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1200 exit ;;
1201 *:QNX:*:4*)
1202 echo i386-pc-qnx
1203 exit ;;
1204 NSE-?:NONSTOP_KERNEL:*:*)
1205 echo nse-tandem-nsk${UNAME_RELEASE}
1206 exit ;;
1207 NSR-?:NONSTOP_KERNEL:*:*)
1208 echo nsr-tandem-nsk${UNAME_RELEASE}
1209 exit ;;
1210 *:NonStop-UX:*:*)
1211 echo mips-compaq-nonstopux
1212 exit ;;
1213 BS2000:POSIX*:*:*)
1214 echo bs2000-siemens-sysv
1215 exit ;;
1216 DS/*:UNIX_System_V:*:*)
1217 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1218 exit ;;
1219 *:Plan9:*:*)
1220 # "uname -m" is not consistent, so use $cputype instead. 386
1221 # is converted to i386 for consistency with other x86
1222 # operating systems.
1223 if test "$cputype" = "386"; then
1224 UNAME_MACHINE=i386
1225 else
1226 UNAME_MACHINE="$cputype"
1227 fi
1228 echo ${UNAME_MACHINE}-unknown-plan9
1229 exit ;;
1230 *:TOPS-10:*:*)
1231 echo pdp10-unknown-tops10
1232 exit ;;
1233 *:TENEX:*:*)
1234 echo pdp10-unknown-tenex
1235 exit ;;
1236 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1237 echo pdp10-dec-tops20
1238 exit ;;
1239 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1240 echo pdp10-xkl-tops20
1241 exit ;;
1242 *:TOPS-20:*:*)
1243 echo pdp10-unknown-tops20
1244 exit ;;
1245 *:ITS:*:*)
1246 echo pdp10-unknown-its
1247 exit ;;
1248 SEI:*:*:SEIUX)
1249 echo mips-sei-seiux${UNAME_RELEASE}
1250 exit ;;
1251 *:DragonFly:*:*)
1252 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1253 exit ;;
1254 *:*VMS:*:*)
1255 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1256 case "${UNAME_MACHINE}" in
1257 A*) echo alpha-dec-vms ; exit ;;
1258 I*) echo ia64-dec-vms ; exit ;;
1259 V*) echo vax-dec-vms ; exit ;;
1260 esac ;;
1261 *:XENIX:*:SysV)
1262 echo i386-pc-xenix
1263 exit ;;
1264 i*86:skyos:*:*)
1265 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1266 exit ;;
1267esac
1268
1269#echo '(No uname command or uname output not recognized.)' 1>&2
1270#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1271
1272eval $set_cc_for_build
1273cat >$dummy.c <<EOF
1274#ifdef _SEQUENT_
1275# include <sys/types.h>
1276# include <sys/utsname.h>
1277#endif
1278main ()
1279{
1280#if defined (sony)
1281#if defined (MIPSEB)
1282 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1283 I don't know.... */
1284 printf ("mips-sony-bsd\n"); exit (0);
1285#else
1286#include <sys/param.h>
1287 printf ("m68k-sony-newsos%s\n",
1288#ifdef NEWSOS4
1289 "4"
1290#else
1291 ""
1292#endif
1293 ); exit (0);
1294#endif
1295#endif
1296
1297#if defined (__arm) && defined (__acorn) && defined (__unix)
1298 printf ("arm-acorn-riscix\n"); exit (0);
1299#endif
1300
1301#if defined (hp300) && !defined (hpux)
1302 printf ("m68k-hp-bsd\n"); exit (0);
1303#endif
1304
1305#if defined (NeXT)
1306#if !defined (__ARCHITECTURE__)
1307#define __ARCHITECTURE__ "m68k"
1308#endif
1309 int version;
1310 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1311 if (version < 4)
1312 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1313 else
1314 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1315 exit (0);
1316#endif
1317
1318#if defined (MULTIMAX) || defined (n16)
1319#if defined (UMAXV)
1320 printf ("ns32k-encore-sysv\n"); exit (0);
1321#else
1322#if defined (CMU)
1323 printf ("ns32k-encore-mach\n"); exit (0);
1324#else
1325 printf ("ns32k-encore-bsd\n"); exit (0);
1326#endif
1327#endif
1328#endif
1329
1330#if defined (__386BSD__)
1331 printf ("i386-pc-bsd\n"); exit (0);
1332#endif
1333
1334#if defined (sequent)
1335#if defined (i386)
1336 printf ("i386-sequent-dynix\n"); exit (0);
1337#endif
1338#if defined (ns32000)
1339 printf ("ns32k-sequent-dynix\n"); exit (0);
1340#endif
1341#endif
1342
1343#if defined (_SEQUENT_)
1344 struct utsname un;
1345
1346 uname(&un);
1347
1348 if (strncmp(un.version, "V2", 2) == 0) {
1349 printf ("i386-sequent-ptx2\n"); exit (0);
1350 }
1351 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1352 printf ("i386-sequent-ptx1\n"); exit (0);
1353 }
1354 printf ("i386-sequent-ptx\n"); exit (0);
1355
1356#endif
1357
1358#if defined (vax)
1359# if !defined (ultrix)
1360# include <sys/param.h>
1361# if defined (BSD)
1362# if BSD == 43
1363 printf ("vax-dec-bsd4.3\n"); exit (0);
1364# else
1365# if BSD == 199006
1366 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1367# else
1368 printf ("vax-dec-bsd\n"); exit (0);
1369# endif
1370# endif
1371# else
1372 printf ("vax-dec-bsd\n"); exit (0);
1373# endif
1374# else
1375 printf ("vax-dec-ultrix\n"); exit (0);
1376# endif
1377#endif
1378
1379#if defined (alliant) && defined (i860)
1380 printf ("i860-alliant-bsd\n"); exit (0);
1381#endif
1382
1383 exit (1);
1384}
1385EOF
1386
1387$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1388 { echo "$SYSTEM_NAME"; exit; }
1389
1390# Apollos put the system type in the environment.
1391
1392test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1393
1394# Convex versions that predate uname can use getsysinfo(1)
1395
1396if [ -x /usr/convex/getsysinfo ]
1397then
1398 case `getsysinfo -f cpu_type` in
1399 c1*)
1400 echo c1-convex-bsd
1401 exit ;;
1402 c2*)
1403 if getsysinfo -f scalar_acc
1404 then echo c32-convex-bsd
1405 else echo c2-convex-bsd
1406 fi
1407 exit ;;
1408 c34*)
1409 echo c34-convex-bsd
1410 exit ;;
1411 c38*)
1412 echo c38-convex-bsd
1413 exit ;;
1414 c4*)
1415 echo c4-convex-bsd
1416 exit ;;
1417 esac
1418fi
1419
1420cat >&2 <<EOF
1421$0: unable to guess system type
1422
1423This script, last modified $timestamp, has failed to recognize
1424the operating system you are using. It is advised that you
1425download the most up to date version of the config scripts from
1426
1427 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1428and
1429 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1430
1431If the version you run ($0) is already up to date, please
1432send the following data and any information you think might be
1433pertinent to <config-patches@gnu.org> in order to provide the needed
1434information to handle your system.
1435
1436config.guess timestamp = $timestamp
1437
1438uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439uname -r = `(uname -r) 2>/dev/null || echo unknown`
1440uname -s = `(uname -s) 2>/dev/null || echo unknown`
1441uname -v = `(uname -v) 2>/dev/null || echo unknown`
1442
1443/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1444/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1445
1446hostinfo = `(hostinfo) 2>/dev/null`
1447/bin/universe = `(/bin/universe) 2>/dev/null`
1448/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1449/bin/arch = `(/bin/arch) 2>/dev/null`
1450/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1451/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1452
1453UNAME_MACHINE = ${UNAME_MACHINE}
1454UNAME_RELEASE = ${UNAME_RELEASE}
1455UNAME_SYSTEM = ${UNAME_SYSTEM}
1456UNAME_VERSION = ${UNAME_VERSION}
1457EOF
1458
1459exit 1
1460
1461# Local variables:
1462# eval: (add-hook 'write-file-hooks 'time-stamp)
1463# time-stamp-start: "timestamp='"
1464# time-stamp-format: "%:y-%02m-%02d"
1465# time-stamp-end: "'"
1466# End:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/config.h b/src/others/mimesh/g3dviewer-0.2.99.4/config.h
new file mode 100644
index 0000000..d0d348e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/config.h
@@ -0,0 +1,83 @@
1/* config.h. Generated from config.h.in by configure. */
2/* config.h.in. Generated from configure.in by autoheader. */
3
4/* Data directory */
5#define DATA_DIR "/usr/local/share/g3dviewer"
6
7/* always defined to indicate that i18n is enabled */
8#define ENABLE_NLS 1
9
10/* Define to 1 if you have the `bind_textdomain_codeset' function. */
11#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12
13/* Define to 1 if you have the `dcgettext' function. */
14#define HAVE_DCGETTEXT 1
15
16/* Define to 1 if you have the <dirent.h> header file. */
17#define HAVE_DIRENT_H 1
18
19/* Define if the GNU gettext() function is already present or preinstalled. */
20#define HAVE_GETTEXT 1
21
22/* Define to 1 if you have the <GL/glu.h> header file. */
23#define HAVE_GL_GLU_H 1
24
25/* Define to 1 if you have the <GL/gl.h> header file. */
26#define HAVE_GL_GL_H 1
27
28/* Define to 1 if you have the <inttypes.h> header file. */
29#define HAVE_INTTYPES_H 1
30
31/* Define if your <locale.h> file defines LC_MESSAGES. */
32#define HAVE_LC_MESSAGES 1
33
34/* Define to 1 if you have the <locale.h> header file. */
35#define HAVE_LOCALE_H 1
36
37/* Define to 1 if you have the <memory.h> header file. */
38#define HAVE_MEMORY_H 1
39
40/* snprintf */
41#define HAVE_SNPRINTF 1
42
43/* Define to 1 if you have the <stdint.h> header file. */
44#define HAVE_STDINT_H 1
45
46/* Define to 1 if you have the <stdlib.h> header file. */
47#define HAVE_STDLIB_H 1
48
49/* Define to 1 if you have the <strings.h> header file. */
50#define HAVE_STRINGS_H 1
51
52/* Define to 1 if you have the <string.h> header file. */
53#define HAVE_STRING_H 1
54
55/* Define to 1 if you have the <sys/stat.h> header file. */
56#define HAVE_SYS_STAT_H 1
57
58/* Define to 1 if you have the <sys/types.h> header file. */
59#define HAVE_SYS_TYPES_H 1
60
61/* Define to 1 if you have the <unistd.h> header file. */
62#define HAVE_UNISTD_H 1
63
64/* Define to the address where bug reports for this package should be sent. */
65#define PACKAGE_BUGREPORT ""
66
67/* Define to the full name of this package. */
68#define PACKAGE_NAME ""
69
70/* Define to the full name and version of this package. */
71#define PACKAGE_STRING ""
72
73/* Define to the one symbol short name of this package. */
74#define PACKAGE_TARNAME ""
75
76/* Define to the version of this package. */
77#define PACKAGE_VERSION ""
78
79/* Define to 1 if you have the ANSI C header files. */
80#define STDC_HEADERS 1
81
82/* Define to 1 if the X Window System is missing or not being used. */
83/* #undef X_DISPLAY_MISSING */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/config.h.in b/src/others/mimesh/g3dviewer-0.2.99.4/config.h.in
new file mode 100644
index 0000000..13e91cb
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/config.h.in
@@ -0,0 +1,82 @@
1/* config.h.in. Generated from configure.in by autoheader. */
2
3/* Data directory */
4#undef DATA_DIR
5
6/* always defined to indicate that i18n is enabled */
7#undef ENABLE_NLS
8
9/* Define to 1 if you have the `bind_textdomain_codeset' function. */
10#undef HAVE_BIND_TEXTDOMAIN_CODESET
11
12/* Define to 1 if you have the `dcgettext' function. */
13#undef HAVE_DCGETTEXT
14
15/* Define to 1 if you have the <dirent.h> header file. */
16#undef HAVE_DIRENT_H
17
18/* Define if the GNU gettext() function is already present or preinstalled. */
19#undef HAVE_GETTEXT
20
21/* Define to 1 if you have the <GL/glu.h> header file. */
22#undef HAVE_GL_GLU_H
23
24/* Define to 1 if you have the <GL/gl.h> header file. */
25#undef HAVE_GL_GL_H
26
27/* Define to 1 if you have the <inttypes.h> header file. */
28#undef HAVE_INTTYPES_H
29
30/* Define if your <locale.h> file defines LC_MESSAGES. */
31#undef HAVE_LC_MESSAGES
32
33/* Define to 1 if you have the <locale.h> header file. */
34#undef HAVE_LOCALE_H
35
36/* Define to 1 if you have the <memory.h> header file. */
37#undef HAVE_MEMORY_H
38
39/* snprintf */
40#undef HAVE_SNPRINTF
41
42/* Define to 1 if you have the <stdint.h> header file. */
43#undef HAVE_STDINT_H
44
45/* Define to 1 if you have the <stdlib.h> header file. */
46#undef HAVE_STDLIB_H
47
48/* Define to 1 if you have the <strings.h> header file. */
49#undef HAVE_STRINGS_H
50
51/* Define to 1 if you have the <string.h> header file. */
52#undef HAVE_STRING_H
53
54/* Define to 1 if you have the <sys/stat.h> header file. */
55#undef HAVE_SYS_STAT_H
56
57/* Define to 1 if you have the <sys/types.h> header file. */
58#undef HAVE_SYS_TYPES_H
59
60/* Define to 1 if you have the <unistd.h> header file. */
61#undef HAVE_UNISTD_H
62
63/* Define to the address where bug reports for this package should be sent. */
64#undef PACKAGE_BUGREPORT
65
66/* Define to the full name of this package. */
67#undef PACKAGE_NAME
68
69/* Define to the full name and version of this package. */
70#undef PACKAGE_STRING
71
72/* Define to the one symbol short name of this package. */
73#undef PACKAGE_TARNAME
74
75/* Define to the version of this package. */
76#undef PACKAGE_VERSION
77
78/* Define to 1 if you have the ANSI C header files. */
79#undef STDC_HEADERS
80
81/* Define to 1 if the X Window System is missing or not being used. */
82#undef X_DISPLAY_MISSING
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/config.sub b/src/others/mimesh/g3dviewer-0.2.99.4/config.sub
new file mode 100755
index 0000000..1c366df
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/config.sub
@@ -0,0 +1,1579 @@
1#! /bin/sh
2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
6timestamp='2005-07-08'
7
8# This file is (in principle) common to ALL GNU software.
9# The presence of a machine in this file suggests that SOME GNU software
10# can handle that machine. It does not imply ALL GNU software can.
11#
12# This file is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25# 02110-1301, USA.
26#
27# As a special exception to the GNU General Public License, if you
28# distribute this file as part of a program that contains a
29# configuration script generated by Autoconf, you may include it under
30# the same distribution terms that you use for the rest of that program.
31
32
33# Please send patches to <config-patches@gnu.org>. Submit a context
34# diff and a properly formatted ChangeLog entry.
35#
36# Configuration subroutine to validate and canonicalize a configuration type.
37# Supply the specified configuration type as an argument.
38# If it is invalid, we print an error message on stderr and exit with code 1.
39# Otherwise, we print the canonical config type on stdout and succeed.
40
41# This file is supposed to be the same for all GNU packages
42# and recognize all the CPU types, system types and aliases
43# that are meaningful with *any* GNU software.
44# Each package is responsible for reporting which valid configurations
45# it does not support. The user should be able to distinguish
46# a failure to support a valid configuration from a meaningless
47# configuration.
48
49# The goal of this file is to map all the various variations of a given
50# machine specification into a single specification in the form:
51# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
52# or in some cases, the newer four-part form:
53# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
54# It is wrong to echo any other type of specification.
55
56me=`echo "$0" | sed -e 's,.*/,,'`
57
58usage="\
59Usage: $0 [OPTION] CPU-MFR-OPSYS
60 $0 [OPTION] ALIAS
61
62Canonicalize a configuration name.
63
64Operation modes:
65 -h, --help print this help, then exit
66 -t, --time-stamp print date of last modification, then exit
67 -v, --version print version number, then exit
68
69Report bugs and patches to <config-patches@gnu.org>."
70
71version="\
72GNU config.sub ($timestamp)
73
74Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75Free Software Foundation, Inc.
76
77This is free software; see the source for copying conditions. There is NO
78warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
79
80help="
81Try \`$me --help' for more information."
82
83# Parse command line
84while test $# -gt 0 ; do
85 case $1 in
86 --time-stamp | --time* | -t )
87 echo "$timestamp" ; exit ;;
88 --version | -v )
89 echo "$version" ; exit ;;
90 --help | --h* | -h )
91 echo "$usage"; exit ;;
92 -- ) # Stop option processing
93 shift; break ;;
94 - ) # Use stdin as input.
95 break ;;
96 -* )
97 echo "$me: invalid option $1$help"
98 exit 1 ;;
99
100 *local*)
101 # First pass through any local machine types.
102 echo $1
103 exit ;;
104
105 * )
106 break ;;
107 esac
108done
109
110case $# in
111 0) echo "$me: missing argument$help" >&2
112 exit 1;;
113 1) ;;
114 *) echo "$me: too many arguments$help" >&2
115 exit 1;;
116esac
117
118# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
119# Here we must recognize all the valid KERNEL-OS combinations.
120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121case $maybe_os in
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
123 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
124 os=-$maybe_os
125 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126 ;;
127 *)
128 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
129 if [ $basic_machine != $1 ]
130 then os=`echo $1 | sed 's/.*-/-/'`
131 else os=; fi
132 ;;
133esac
134
135### Let's recognize common machines as not being operating systems so
136### that things like config.sub decstation-3100 work. We also
137### recognize some manufacturers as not being operating systems, so we
138### can provide default operating systems below.
139case $os in
140 -sun*os*)
141 # Prevent following clause from handling this invalid input.
142 ;;
143 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
144 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
145 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
146 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
147 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
148 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
149 -apple | -axis | -knuth | -cray)
150 os=
151 basic_machine=$1
152 ;;
153 -sim | -cisco | -oki | -wec | -winbond)
154 os=
155 basic_machine=$1
156 ;;
157 -scout)
158 ;;
159 -wrs)
160 os=-vxworks
161 basic_machine=$1
162 ;;
163 -chorusos*)
164 os=-chorusos
165 basic_machine=$1
166 ;;
167 -chorusrdb)
168 os=-chorusrdb
169 basic_machine=$1
170 ;;
171 -hiux*)
172 os=-hiuxwe2
173 ;;
174 -sco5)
175 os=-sco3.2v5
176 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
177 ;;
178 -sco4)
179 os=-sco3.2v4
180 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
181 ;;
182 -sco3.2.[4-9]*)
183 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
184 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185 ;;
186 -sco3.2v[4-9]*)
187 # Don't forget version if it is 3.2v4 or newer.
188 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189 ;;
190 -sco*)
191 os=-sco3.2v2
192 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -udk*)
195 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
196 ;;
197 -isc)
198 os=-isc2.2
199 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
200 ;;
201 -clix*)
202 basic_machine=clipper-intergraph
203 ;;
204 -isc*)
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -lynx*)
208 os=-lynxos
209 ;;
210 -ptx*)
211 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
212 ;;
213 -windowsnt*)
214 os=`echo $os | sed -e 's/windowsnt/winnt/'`
215 ;;
216 -psos*)
217 os=-psos
218 ;;
219 -mint | -mint[0-9]*)
220 basic_machine=m68k-atari
221 os=-mint
222 ;;
223esac
224
225# Decode aliases for certain CPU-COMPANY combinations.
226case $basic_machine in
227 # Recognize the basic CPU types without company name.
228 # Some are omitted here because they have special meanings below.
229 1750a | 580 \
230 | a29k \
231 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
232 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233 | am33_2.0 \
234 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
235 | bfin \
236 | c4x | clipper \
237 | d10v | d30v | dlx | dsp16xx \
238 | fr30 | frv \
239 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
240 | i370 | i860 | i960 | ia64 \
241 | ip2k | iq2000 \
242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
243 | mips | mipsbe | mipseb | mipsel | mipsle \
244 | mips16 \
245 | mips64 | mips64el \
246 | mips64vr | mips64vrel \
247 | mips64orion | mips64orionel \
248 | mips64vr4100 | mips64vr4100el \
249 | mips64vr4300 | mips64vr4300el \
250 | mips64vr5000 | mips64vr5000el \
251 | mips64vr5900 | mips64vr5900el \
252 | mipsisa32 | mipsisa32el \
253 | mipsisa32r2 | mipsisa32r2el \
254 | mipsisa64 | mipsisa64el \
255 | mipsisa64r2 | mipsisa64r2el \
256 | mipsisa64sb1 | mipsisa64sb1el \
257 | mipsisa64sr71k | mipsisa64sr71kel \
258 | mipstx39 | mipstx39el \
259 | mn10200 | mn10300 \
260 | ms1 \
261 | msp430 \
262 | ns16k | ns32k \
263 | or32 \
264 | pdp10 | pdp11 | pj | pjl \
265 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
266 | pyramid \
267 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
268 | sh64 | sh64le \
269 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270 | sparcv8 | sparcv9 | sparcv9b \
271 | strongarm \
272 | tahoe | thumb | tic4x | tic80 | tron \
273 | v850 | v850e \
274 | we32k \
275 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
276 | z8k)
277 basic_machine=$basic_machine-unknown
278 ;;
279 m32c)
280 basic_machine=$basic_machine-unknown
281 ;;
282 m6811 | m68hc11 | m6812 | m68hc12)
283 # Motorola 68HC11/12.
284 basic_machine=$basic_machine-unknown
285 os=-none
286 ;;
287 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
288 ;;
289
290 # We use `pc' rather than `unknown'
291 # because (1) that's what they normally are, and
292 # (2) the word "unknown" tends to confuse beginning users.
293 i*86 | x86_64)
294 basic_machine=$basic_machine-pc
295 ;;
296 # Object if more than one company name word.
297 *-*-*)
298 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
299 exit 1
300 ;;
301 # Recognize the basic CPU types with company name.
302 580-* \
303 | a29k-* \
304 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
305 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
306 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
307 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
308 | avr-* \
309 | bfin-* | bs2000-* \
310 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
311 | clipper-* | craynv-* | cydra-* \
312 | d10v-* | d30v-* | dlx-* \
313 | elxsi-* \
314 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
315 | h8300-* | h8500-* \
316 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
317 | i*86-* | i860-* | i960-* | ia64-* \
318 | ip2k-* | iq2000-* \
319 | m32r-* | m32rle-* \
320 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
321 | m88110-* | m88k-* | maxq-* | mcore-* \
322 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
323 | mips16-* \
324 | mips64-* | mips64el-* \
325 | mips64vr-* | mips64vrel-* \
326 | mips64orion-* | mips64orionel-* \
327 | mips64vr4100-* | mips64vr4100el-* \
328 | mips64vr4300-* | mips64vr4300el-* \
329 | mips64vr5000-* | mips64vr5000el-* \
330 | mips64vr5900-* | mips64vr5900el-* \
331 | mipsisa32-* | mipsisa32el-* \
332 | mipsisa32r2-* | mipsisa32r2el-* \
333 | mipsisa64-* | mipsisa64el-* \
334 | mipsisa64r2-* | mipsisa64r2el-* \
335 | mipsisa64sb1-* | mipsisa64sb1el-* \
336 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337 | mipstx39-* | mipstx39el-* \
338 | mmix-* \
339 | ms1-* \
340 | msp430-* \
341 | none-* | np1-* | ns16k-* | ns32k-* \
342 | orion-* \
343 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
344 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
345 | pyramid-* \
346 | romp-* | rs6000-* \
347 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
348 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
349 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
350 | sparclite-* \
351 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
352 | tahoe-* | thumb-* \
353 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
354 | tron-* \
355 | v850-* | v850e-* | vax-* \
356 | we32k-* \
357 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
358 | xstormy16-* | xtensa-* \
359 | ymp-* \
360 | z8k-*)
361 ;;
362 m32c-*)
363 ;;
364 # Recognize the various machine names and aliases which stand
365 # for a CPU type and a company and sometimes even an OS.
366 386bsd)
367 basic_machine=i386-unknown
368 os=-bsd
369 ;;
370 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
371 basic_machine=m68000-att
372 ;;
373 3b*)
374 basic_machine=we32k-att
375 ;;
376 a29khif)
377 basic_machine=a29k-amd
378 os=-udi
379 ;;
380 abacus)
381 basic_machine=abacus-unknown
382 ;;
383 adobe68k)
384 basic_machine=m68010-adobe
385 os=-scout
386 ;;
387 alliant | fx80)
388 basic_machine=fx80-alliant
389 ;;
390 altos | altos3068)
391 basic_machine=m68k-altos
392 ;;
393 am29k)
394 basic_machine=a29k-none
395 os=-bsd
396 ;;
397 amd64)
398 basic_machine=x86_64-pc
399 ;;
400 amd64-*)
401 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
402 ;;
403 amdahl)
404 basic_machine=580-amdahl
405 os=-sysv
406 ;;
407 amiga | amiga-*)
408 basic_machine=m68k-unknown
409 ;;
410 amigaos | amigados)
411 basic_machine=m68k-unknown
412 os=-amigaos
413 ;;
414 amigaunix | amix)
415 basic_machine=m68k-unknown
416 os=-sysv4
417 ;;
418 apollo68)
419 basic_machine=m68k-apollo
420 os=-sysv
421 ;;
422 apollo68bsd)
423 basic_machine=m68k-apollo
424 os=-bsd
425 ;;
426 aux)
427 basic_machine=m68k-apple
428 os=-aux
429 ;;
430 balance)
431 basic_machine=ns32k-sequent
432 os=-dynix
433 ;;
434 c90)
435 basic_machine=c90-cray
436 os=-unicos
437 ;;
438 convex-c1)
439 basic_machine=c1-convex
440 os=-bsd
441 ;;
442 convex-c2)
443 basic_machine=c2-convex
444 os=-bsd
445 ;;
446 convex-c32)
447 basic_machine=c32-convex
448 os=-bsd
449 ;;
450 convex-c34)
451 basic_machine=c34-convex
452 os=-bsd
453 ;;
454 convex-c38)
455 basic_machine=c38-convex
456 os=-bsd
457 ;;
458 cray | j90)
459 basic_machine=j90-cray
460 os=-unicos
461 ;;
462 craynv)
463 basic_machine=craynv-cray
464 os=-unicosmp
465 ;;
466 cr16c)
467 basic_machine=cr16c-unknown
468 os=-elf
469 ;;
470 crds | unos)
471 basic_machine=m68k-crds
472 ;;
473 crisv32 | crisv32-* | etraxfs*)
474 basic_machine=crisv32-axis
475 ;;
476 cris | cris-* | etrax*)
477 basic_machine=cris-axis
478 ;;
479 crx)
480 basic_machine=crx-unknown
481 os=-elf
482 ;;
483 da30 | da30-*)
484 basic_machine=m68k-da30
485 ;;
486 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
487 basic_machine=mips-dec
488 ;;
489 decsystem10* | dec10*)
490 basic_machine=pdp10-dec
491 os=-tops10
492 ;;
493 decsystem20* | dec20*)
494 basic_machine=pdp10-dec
495 os=-tops20
496 ;;
497 delta | 3300 | motorola-3300 | motorola-delta \
498 | 3300-motorola | delta-motorola)
499 basic_machine=m68k-motorola
500 ;;
501 delta88)
502 basic_machine=m88k-motorola
503 os=-sysv3
504 ;;
505 djgpp)
506 basic_machine=i586-pc
507 os=-msdosdjgpp
508 ;;
509 dpx20 | dpx20-*)
510 basic_machine=rs6000-bull
511 os=-bosx
512 ;;
513 dpx2* | dpx2*-bull)
514 basic_machine=m68k-bull
515 os=-sysv3
516 ;;
517 ebmon29k)
518 basic_machine=a29k-amd
519 os=-ebmon
520 ;;
521 elxsi)
522 basic_machine=elxsi-elxsi
523 os=-bsd
524 ;;
525 encore | umax | mmax)
526 basic_machine=ns32k-encore
527 ;;
528 es1800 | OSE68k | ose68k | ose | OSE)
529 basic_machine=m68k-ericsson
530 os=-ose
531 ;;
532 fx2800)
533 basic_machine=i860-alliant
534 ;;
535 genix)
536 basic_machine=ns32k-ns
537 ;;
538 gmicro)
539 basic_machine=tron-gmicro
540 os=-sysv
541 ;;
542 go32)
543 basic_machine=i386-pc
544 os=-go32
545 ;;
546 h3050r* | hiux*)
547 basic_machine=hppa1.1-hitachi
548 os=-hiuxwe2
549 ;;
550 h8300hms)
551 basic_machine=h8300-hitachi
552 os=-hms
553 ;;
554 h8300xray)
555 basic_machine=h8300-hitachi
556 os=-xray
557 ;;
558 h8500hms)
559 basic_machine=h8500-hitachi
560 os=-hms
561 ;;
562 harris)
563 basic_machine=m88k-harris
564 os=-sysv3
565 ;;
566 hp300-*)
567 basic_machine=m68k-hp
568 ;;
569 hp300bsd)
570 basic_machine=m68k-hp
571 os=-bsd
572 ;;
573 hp300hpux)
574 basic_machine=m68k-hp
575 os=-hpux
576 ;;
577 hp3k9[0-9][0-9] | hp9[0-9][0-9])
578 basic_machine=hppa1.0-hp
579 ;;
580 hp9k2[0-9][0-9] | hp9k31[0-9])
581 basic_machine=m68000-hp
582 ;;
583 hp9k3[2-9][0-9])
584 basic_machine=m68k-hp
585 ;;
586 hp9k6[0-9][0-9] | hp6[0-9][0-9])
587 basic_machine=hppa1.0-hp
588 ;;
589 hp9k7[0-79][0-9] | hp7[0-79][0-9])
590 basic_machine=hppa1.1-hp
591 ;;
592 hp9k78[0-9] | hp78[0-9])
593 # FIXME: really hppa2.0-hp
594 basic_machine=hppa1.1-hp
595 ;;
596 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
597 # FIXME: really hppa2.0-hp
598 basic_machine=hppa1.1-hp
599 ;;
600 hp9k8[0-9][13679] | hp8[0-9][13679])
601 basic_machine=hppa1.1-hp
602 ;;
603 hp9k8[0-9][0-9] | hp8[0-9][0-9])
604 basic_machine=hppa1.0-hp
605 ;;
606 hppa-next)
607 os=-nextstep3
608 ;;
609 hppaosf)
610 basic_machine=hppa1.1-hp
611 os=-osf
612 ;;
613 hppro)
614 basic_machine=hppa1.1-hp
615 os=-proelf
616 ;;
617 i370-ibm* | ibm*)
618 basic_machine=i370-ibm
619 ;;
620# I'm not sure what "Sysv32" means. Should this be sysv3.2?
621 i*86v32)
622 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
623 os=-sysv32
624 ;;
625 i*86v4*)
626 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
627 os=-sysv4
628 ;;
629 i*86v)
630 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
631 os=-sysv
632 ;;
633 i*86sol2)
634 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
635 os=-solaris2
636 ;;
637 i386mach)
638 basic_machine=i386-mach
639 os=-mach
640 ;;
641 i386-vsta | vsta)
642 basic_machine=i386-unknown
643 os=-vsta
644 ;;
645 iris | iris4d)
646 basic_machine=mips-sgi
647 case $os in
648 -irix*)
649 ;;
650 *)
651 os=-irix4
652 ;;
653 esac
654 ;;
655 isi68 | isi)
656 basic_machine=m68k-isi
657 os=-sysv
658 ;;
659 m88k-omron*)
660 basic_machine=m88k-omron
661 ;;
662 magnum | m3230)
663 basic_machine=mips-mips
664 os=-sysv
665 ;;
666 merlin)
667 basic_machine=ns32k-utek
668 os=-sysv
669 ;;
670 mingw32)
671 basic_machine=i386-pc
672 os=-mingw32
673 ;;
674 miniframe)
675 basic_machine=m68000-convergent
676 ;;
677 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
678 basic_machine=m68k-atari
679 os=-mint
680 ;;
681 mips3*-*)
682 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
683 ;;
684 mips3*)
685 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
686 ;;
687 monitor)
688 basic_machine=m68k-rom68k
689 os=-coff
690 ;;
691 morphos)
692 basic_machine=powerpc-unknown
693 os=-morphos
694 ;;
695 msdos)
696 basic_machine=i386-pc
697 os=-msdos
698 ;;
699 mvs)
700 basic_machine=i370-ibm
701 os=-mvs
702 ;;
703 ncr3000)
704 basic_machine=i486-ncr
705 os=-sysv4
706 ;;
707 netbsd386)
708 basic_machine=i386-unknown
709 os=-netbsd
710 ;;
711 netwinder)
712 basic_machine=armv4l-rebel
713 os=-linux
714 ;;
715 news | news700 | news800 | news900)
716 basic_machine=m68k-sony
717 os=-newsos
718 ;;
719 news1000)
720 basic_machine=m68030-sony
721 os=-newsos
722 ;;
723 news-3600 | risc-news)
724 basic_machine=mips-sony
725 os=-newsos
726 ;;
727 necv70)
728 basic_machine=v70-nec
729 os=-sysv
730 ;;
731 next | m*-next )
732 basic_machine=m68k-next
733 case $os in
734 -nextstep* )
735 ;;
736 -ns2*)
737 os=-nextstep2
738 ;;
739 *)
740 os=-nextstep3
741 ;;
742 esac
743 ;;
744 nh3000)
745 basic_machine=m68k-harris
746 os=-cxux
747 ;;
748 nh[45]000)
749 basic_machine=m88k-harris
750 os=-cxux
751 ;;
752 nindy960)
753 basic_machine=i960-intel
754 os=-nindy
755 ;;
756 mon960)
757 basic_machine=i960-intel
758 os=-mon960
759 ;;
760 nonstopux)
761 basic_machine=mips-compaq
762 os=-nonstopux
763 ;;
764 np1)
765 basic_machine=np1-gould
766 ;;
767 nsr-tandem)
768 basic_machine=nsr-tandem
769 ;;
770 op50n-* | op60c-*)
771 basic_machine=hppa1.1-oki
772 os=-proelf
773 ;;
774 openrisc | openrisc-*)
775 basic_machine=or32-unknown
776 ;;
777 os400)
778 basic_machine=powerpc-ibm
779 os=-os400
780 ;;
781 OSE68000 | ose68000)
782 basic_machine=m68000-ericsson
783 os=-ose
784 ;;
785 os68k)
786 basic_machine=m68k-none
787 os=-os68k
788 ;;
789 pa-hitachi)
790 basic_machine=hppa1.1-hitachi
791 os=-hiuxwe2
792 ;;
793 paragon)
794 basic_machine=i860-intel
795 os=-osf
796 ;;
797 pbd)
798 basic_machine=sparc-tti
799 ;;
800 pbb)
801 basic_machine=m68k-tti
802 ;;
803 pc532 | pc532-*)
804 basic_machine=ns32k-pc532
805 ;;
806 pentium | p5 | k5 | k6 | nexgen | viac3)
807 basic_machine=i586-pc
808 ;;
809 pentiumpro | p6 | 6x86 | athlon | athlon_*)
810 basic_machine=i686-pc
811 ;;
812 pentiumii | pentium2 | pentiumiii | pentium3)
813 basic_machine=i686-pc
814 ;;
815 pentium4)
816 basic_machine=i786-pc
817 ;;
818 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
819 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
820 ;;
821 pentiumpro-* | p6-* | 6x86-* | athlon-*)
822 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
823 ;;
824 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
825 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
826 ;;
827 pentium4-*)
828 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
829 ;;
830 pn)
831 basic_machine=pn-gould
832 ;;
833 power) basic_machine=power-ibm
834 ;;
835 ppc) basic_machine=powerpc-unknown
836 ;;
837 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
838 ;;
839 ppcle | powerpclittle | ppc-le | powerpc-little)
840 basic_machine=powerpcle-unknown
841 ;;
842 ppcle-* | powerpclittle-*)
843 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
844 ;;
845 ppc64) basic_machine=powerpc64-unknown
846 ;;
847 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
848 ;;
849 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
850 basic_machine=powerpc64le-unknown
851 ;;
852 ppc64le-* | powerpc64little-*)
853 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
854 ;;
855 ps2)
856 basic_machine=i386-ibm
857 ;;
858 pw32)
859 basic_machine=i586-unknown
860 os=-pw32
861 ;;
862 rom68k)
863 basic_machine=m68k-rom68k
864 os=-coff
865 ;;
866 rm[46]00)
867 basic_machine=mips-siemens
868 ;;
869 rtpc | rtpc-*)
870 basic_machine=romp-ibm
871 ;;
872 s390 | s390-*)
873 basic_machine=s390-ibm
874 ;;
875 s390x | s390x-*)
876 basic_machine=s390x-ibm
877 ;;
878 sa29200)
879 basic_machine=a29k-amd
880 os=-udi
881 ;;
882 sb1)
883 basic_machine=mipsisa64sb1-unknown
884 ;;
885 sb1el)
886 basic_machine=mipsisa64sb1el-unknown
887 ;;
888 sei)
889 basic_machine=mips-sei
890 os=-seiux
891 ;;
892 sequent)
893 basic_machine=i386-sequent
894 ;;
895 sh)
896 basic_machine=sh-hitachi
897 os=-hms
898 ;;
899 sh64)
900 basic_machine=sh64-unknown
901 ;;
902 sparclite-wrs | simso-wrs)
903 basic_machine=sparclite-wrs
904 os=-vxworks
905 ;;
906 sps7)
907 basic_machine=m68k-bull
908 os=-sysv2
909 ;;
910 spur)
911 basic_machine=spur-unknown
912 ;;
913 st2000)
914 basic_machine=m68k-tandem
915 ;;
916 stratus)
917 basic_machine=i860-stratus
918 os=-sysv4
919 ;;
920 sun2)
921 basic_machine=m68000-sun
922 ;;
923 sun2os3)
924 basic_machine=m68000-sun
925 os=-sunos3
926 ;;
927 sun2os4)
928 basic_machine=m68000-sun
929 os=-sunos4
930 ;;
931 sun3os3)
932 basic_machine=m68k-sun
933 os=-sunos3
934 ;;
935 sun3os4)
936 basic_machine=m68k-sun
937 os=-sunos4
938 ;;
939 sun4os3)
940 basic_machine=sparc-sun
941 os=-sunos3
942 ;;
943 sun4os4)
944 basic_machine=sparc-sun
945 os=-sunos4
946 ;;
947 sun4sol2)
948 basic_machine=sparc-sun
949 os=-solaris2
950 ;;
951 sun3 | sun3-*)
952 basic_machine=m68k-sun
953 ;;
954 sun4)
955 basic_machine=sparc-sun
956 ;;
957 sun386 | sun386i | roadrunner)
958 basic_machine=i386-sun
959 ;;
960 sv1)
961 basic_machine=sv1-cray
962 os=-unicos
963 ;;
964 symmetry)
965 basic_machine=i386-sequent
966 os=-dynix
967 ;;
968 t3e)
969 basic_machine=alphaev5-cray
970 os=-unicos
971 ;;
972 t90)
973 basic_machine=t90-cray
974 os=-unicos
975 ;;
976 tic54x | c54x*)
977 basic_machine=tic54x-unknown
978 os=-coff
979 ;;
980 tic55x | c55x*)
981 basic_machine=tic55x-unknown
982 os=-coff
983 ;;
984 tic6x | c6x*)
985 basic_machine=tic6x-unknown
986 os=-coff
987 ;;
988 tx39)
989 basic_machine=mipstx39-unknown
990 ;;
991 tx39el)
992 basic_machine=mipstx39el-unknown
993 ;;
994 toad1)
995 basic_machine=pdp10-xkl
996 os=-tops20
997 ;;
998 tower | tower-32)
999 basic_machine=m68k-ncr
1000 ;;
1001 tpf)
1002 basic_machine=s390x-ibm
1003 os=-tpf
1004 ;;
1005 udi29k)
1006 basic_machine=a29k-amd
1007 os=-udi
1008 ;;
1009 ultra3)
1010 basic_machine=a29k-nyu
1011 os=-sym1
1012 ;;
1013 v810 | necv810)
1014 basic_machine=v810-nec
1015 os=-none
1016 ;;
1017 vaxv)
1018 basic_machine=vax-dec
1019 os=-sysv
1020 ;;
1021 vms)
1022 basic_machine=vax-dec
1023 os=-vms
1024 ;;
1025 vpp*|vx|vx-*)
1026 basic_machine=f301-fujitsu
1027 ;;
1028 vxworks960)
1029 basic_machine=i960-wrs
1030 os=-vxworks
1031 ;;
1032 vxworks68)
1033 basic_machine=m68k-wrs
1034 os=-vxworks
1035 ;;
1036 vxworks29k)
1037 basic_machine=a29k-wrs
1038 os=-vxworks
1039 ;;
1040 w65*)
1041 basic_machine=w65-wdc
1042 os=-none
1043 ;;
1044 w89k-*)
1045 basic_machine=hppa1.1-winbond
1046 os=-proelf
1047 ;;
1048 xbox)
1049 basic_machine=i686-pc
1050 os=-mingw32
1051 ;;
1052 xps | xps100)
1053 basic_machine=xps100-honeywell
1054 ;;
1055 ymp)
1056 basic_machine=ymp-cray
1057 os=-unicos
1058 ;;
1059 z8k-*-coff)
1060 basic_machine=z8k-unknown
1061 os=-sim
1062 ;;
1063 none)
1064 basic_machine=none-none
1065 os=-none
1066 ;;
1067
1068# Here we handle the default manufacturer of certain CPU types. It is in
1069# some cases the only manufacturer, in others, it is the most popular.
1070 w89k)
1071 basic_machine=hppa1.1-winbond
1072 ;;
1073 op50n)
1074 basic_machine=hppa1.1-oki
1075 ;;
1076 op60c)
1077 basic_machine=hppa1.1-oki
1078 ;;
1079 romp)
1080 basic_machine=romp-ibm
1081 ;;
1082 mmix)
1083 basic_machine=mmix-knuth
1084 ;;
1085 rs6000)
1086 basic_machine=rs6000-ibm
1087 ;;
1088 vax)
1089 basic_machine=vax-dec
1090 ;;
1091 pdp10)
1092 # there are many clones, so DEC is not a safe bet
1093 basic_machine=pdp10-unknown
1094 ;;
1095 pdp11)
1096 basic_machine=pdp11-dec
1097 ;;
1098 we32k)
1099 basic_machine=we32k-att
1100 ;;
1101 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1102 basic_machine=sh-unknown
1103 ;;
1104 sparc | sparcv8 | sparcv9 | sparcv9b)
1105 basic_machine=sparc-sun
1106 ;;
1107 cydra)
1108 basic_machine=cydra-cydrome
1109 ;;
1110 orion)
1111 basic_machine=orion-highlevel
1112 ;;
1113 orion105)
1114 basic_machine=clipper-highlevel
1115 ;;
1116 mac | mpw | mac-mpw)
1117 basic_machine=m68k-apple
1118 ;;
1119 pmac | pmac-mpw)
1120 basic_machine=powerpc-apple
1121 ;;
1122 *-unknown)
1123 # Make sure to match an already-canonicalized machine name.
1124 ;;
1125 *)
1126 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1127 exit 1
1128 ;;
1129esac
1130
1131# Here we canonicalize certain aliases for manufacturers.
1132case $basic_machine in
1133 *-digital*)
1134 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1135 ;;
1136 *-commodore*)
1137 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1138 ;;
1139 *)
1140 ;;
1141esac
1142
1143# Decode manufacturer-specific aliases for certain operating systems.
1144
1145if [ x"$os" != x"" ]
1146then
1147case $os in
1148 # First match some system type aliases
1149 # that might get confused with valid system types.
1150 # -solaris* is a basic system type, with this one exception.
1151 -solaris1 | -solaris1.*)
1152 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1153 ;;
1154 -solaris)
1155 os=-solaris2
1156 ;;
1157 -svr4*)
1158 os=-sysv4
1159 ;;
1160 -unixware*)
1161 os=-sysv4.2uw
1162 ;;
1163 -gnu/linux*)
1164 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1165 ;;
1166 # First accept the basic system types.
1167 # The portable systems comes first.
1168 # Each alternative MUST END IN A *, to match a version number.
1169 # -sysv* is not here because it comes later, after sysvr4.
1170 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1171 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1172 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1173 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1174 | -aos* \
1175 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1178 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182 | -chorusos* | -chorusrdb* \
1183 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1185 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191 | -skyos* | -haiku*)
1192 # Remember, each alternative MUST END IN *, to match a version number.
1193 ;;
1194 -qnx*)
1195 case $basic_machine in
1196 x86-* | i*86-*)
1197 ;;
1198 *)
1199 os=-nto$os
1200 ;;
1201 esac
1202 ;;
1203 -nto-qnx*)
1204 ;;
1205 -nto*)
1206 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1207 ;;
1208 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1209 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1210 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1211 ;;
1212 -mac*)
1213 os=`echo $os | sed -e 's|mac|macos|'`
1214 ;;
1215 -linux-dietlibc)
1216 os=-linux-dietlibc
1217 ;;
1218 -linux*)
1219 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1220 ;;
1221 -sunos5*)
1222 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1223 ;;
1224 -sunos6*)
1225 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1226 ;;
1227 -opened*)
1228 os=-openedition
1229 ;;
1230 -os400*)
1231 os=-os400
1232 ;;
1233 -wince*)
1234 os=-wince
1235 ;;
1236 -osfrose*)
1237 os=-osfrose
1238 ;;
1239 -osf*)
1240 os=-osf
1241 ;;
1242 -utek*)
1243 os=-bsd
1244 ;;
1245 -dynix*)
1246 os=-bsd
1247 ;;
1248 -acis*)
1249 os=-aos
1250 ;;
1251 -atheos*)
1252 os=-atheos
1253 ;;
1254 -syllable*)
1255 os=-syllable
1256 ;;
1257 -386bsd)
1258 os=-bsd
1259 ;;
1260 -ctix* | -uts*)
1261 os=-sysv
1262 ;;
1263 -nova*)
1264 os=-rtmk-nova
1265 ;;
1266 -ns2 )
1267 os=-nextstep2
1268 ;;
1269 -nsk*)
1270 os=-nsk
1271 ;;
1272 # Preserve the version number of sinix5.
1273 -sinix5.*)
1274 os=`echo $os | sed -e 's|sinix|sysv|'`
1275 ;;
1276 -sinix*)
1277 os=-sysv4
1278 ;;
1279 -tpf*)
1280 os=-tpf
1281 ;;
1282 -triton*)
1283 os=-sysv3
1284 ;;
1285 -oss*)
1286 os=-sysv3
1287 ;;
1288 -svr4)
1289 os=-sysv4
1290 ;;
1291 -svr3)
1292 os=-sysv3
1293 ;;
1294 -sysvr4)
1295 os=-sysv4
1296 ;;
1297 # This must come after -sysvr4.
1298 -sysv*)
1299 ;;
1300 -ose*)
1301 os=-ose
1302 ;;
1303 -es1800*)
1304 os=-ose
1305 ;;
1306 -xenix)
1307 os=-xenix
1308 ;;
1309 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1310 os=-mint
1311 ;;
1312 -aros*)
1313 os=-aros
1314 ;;
1315 -kaos*)
1316 os=-kaos
1317 ;;
1318 -zvmoe)
1319 os=-zvmoe
1320 ;;
1321 -none)
1322 ;;
1323 *)
1324 # Get rid of the `-' at the beginning of $os.
1325 os=`echo $os | sed 's/[^-]*-//'`
1326 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1327 exit 1
1328 ;;
1329esac
1330else
1331
1332# Here we handle the default operating systems that come with various machines.
1333# The value should be what the vendor currently ships out the door with their
1334# machine or put another way, the most popular os provided with the machine.
1335
1336# Note that if you're going to try to match "-MANUFACTURER" here (say,
1337# "-sun"), then you have to tell the case statement up towards the top
1338# that MANUFACTURER isn't an operating system. Otherwise, code above
1339# will signal an error saying that MANUFACTURER isn't an operating
1340# system, and we'll never get to this point.
1341
1342case $basic_machine in
1343 *-acorn)
1344 os=-riscix1.2
1345 ;;
1346 arm*-rebel)
1347 os=-linux
1348 ;;
1349 arm*-semi)
1350 os=-aout
1351 ;;
1352 c4x-* | tic4x-*)
1353 os=-coff
1354 ;;
1355 # This must come before the *-dec entry.
1356 pdp10-*)
1357 os=-tops20
1358 ;;
1359 pdp11-*)
1360 os=-none
1361 ;;
1362 *-dec | vax-*)
1363 os=-ultrix4.2
1364 ;;
1365 m68*-apollo)
1366 os=-domain
1367 ;;
1368 i386-sun)
1369 os=-sunos4.0.2
1370 ;;
1371 m68000-sun)
1372 os=-sunos3
1373 # This also exists in the configure program, but was not the
1374 # default.
1375 # os=-sunos4
1376 ;;
1377 m68*-cisco)
1378 os=-aout
1379 ;;
1380 mips*-cisco)
1381 os=-elf
1382 ;;
1383 mips*-*)
1384 os=-elf
1385 ;;
1386 or32-*)
1387 os=-coff
1388 ;;
1389 *-tti) # must be before sparc entry or we get the wrong os.
1390 os=-sysv3
1391 ;;
1392 sparc-* | *-sun)
1393 os=-sunos4.1.1
1394 ;;
1395 *-be)
1396 os=-beos
1397 ;;
1398 *-haiku)
1399 os=-haiku
1400 ;;
1401 *-ibm)
1402 os=-aix
1403 ;;
1404 *-knuth)
1405 os=-mmixware
1406 ;;
1407 *-wec)
1408 os=-proelf
1409 ;;
1410 *-winbond)
1411 os=-proelf
1412 ;;
1413 *-oki)
1414 os=-proelf
1415 ;;
1416 *-hp)
1417 os=-hpux
1418 ;;
1419 *-hitachi)
1420 os=-hiux
1421 ;;
1422 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1423 os=-sysv
1424 ;;
1425 *-cbm)
1426 os=-amigaos
1427 ;;
1428 *-dg)
1429 os=-dgux
1430 ;;
1431 *-dolphin)
1432 os=-sysv3
1433 ;;
1434 m68k-ccur)
1435 os=-rtu
1436 ;;
1437 m88k-omron*)
1438 os=-luna
1439 ;;
1440 *-next )
1441 os=-nextstep
1442 ;;
1443 *-sequent)
1444 os=-ptx
1445 ;;
1446 *-crds)
1447 os=-unos
1448 ;;
1449 *-ns)
1450 os=-genix
1451 ;;
1452 i370-*)
1453 os=-mvs
1454 ;;
1455 *-next)
1456 os=-nextstep3
1457 ;;
1458 *-gould)
1459 os=-sysv
1460 ;;
1461 *-highlevel)
1462 os=-bsd
1463 ;;
1464 *-encore)
1465 os=-bsd
1466 ;;
1467 *-sgi)
1468 os=-irix
1469 ;;
1470 *-siemens)
1471 os=-sysv4
1472 ;;
1473 *-masscomp)
1474 os=-rtu
1475 ;;
1476 f30[01]-fujitsu | f700-fujitsu)
1477 os=-uxpv
1478 ;;
1479 *-rom68k)
1480 os=-coff
1481 ;;
1482 *-*bug)
1483 os=-coff
1484 ;;
1485 *-apple)
1486 os=-macos
1487 ;;
1488 *-atari*)
1489 os=-mint
1490 ;;
1491 *)
1492 os=-none
1493 ;;
1494esac
1495fi
1496
1497# Here we handle the case where we know the os, and the CPU type, but not the
1498# manufacturer. We pick the logical manufacturer.
1499vendor=unknown
1500case $basic_machine in
1501 *-unknown)
1502 case $os in
1503 -riscix*)
1504 vendor=acorn
1505 ;;
1506 -sunos*)
1507 vendor=sun
1508 ;;
1509 -aix*)
1510 vendor=ibm
1511 ;;
1512 -beos*)
1513 vendor=be
1514 ;;
1515 -hpux*)
1516 vendor=hp
1517 ;;
1518 -mpeix*)
1519 vendor=hp
1520 ;;
1521 -hiux*)
1522 vendor=hitachi
1523 ;;
1524 -unos*)
1525 vendor=crds
1526 ;;
1527 -dgux*)
1528 vendor=dg
1529 ;;
1530 -luna*)
1531 vendor=omron
1532 ;;
1533 -genix*)
1534 vendor=ns
1535 ;;
1536 -mvs* | -opened*)
1537 vendor=ibm
1538 ;;
1539 -os400*)
1540 vendor=ibm
1541 ;;
1542 -ptx*)
1543 vendor=sequent
1544 ;;
1545 -tpf*)
1546 vendor=ibm
1547 ;;
1548 -vxsim* | -vxworks* | -windiss*)
1549 vendor=wrs
1550 ;;
1551 -aux*)
1552 vendor=apple
1553 ;;
1554 -hms*)
1555 vendor=hitachi
1556 ;;
1557 -mpw* | -macos*)
1558 vendor=apple
1559 ;;
1560 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1561 vendor=atari
1562 ;;
1563 -vos*)
1564 vendor=stratus
1565 ;;
1566 esac
1567 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1568 ;;
1569esac
1570
1571echo $basic_machine$os
1572exit
1573
1574# Local variables:
1575# eval: (add-hook 'write-file-hooks 'time-stamp)
1576# time-stamp-start: "timestamp='"
1577# time-stamp-format: "%:y-%02m-%02d"
1578# time-stamp-end: "'"
1579# End:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/configure b/src/others/mimesh/g3dviewer-0.2.99.4/configure
new file mode 100755
index 0000000..dd249c2
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/configure
@@ -0,0 +1,10636 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.60a.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21else
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23fi
24BIN_SH=xpg4; export BIN_SH # for Tru64
25DUALCASE=1; export DUALCASE # for MKS sh
26
27
28# PATH needs CR
29# Avoid depending upon Character Ranges.
30as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33as_cr_digits='0123456789'
34as_cr_alnum=$as_cr_Letters$as_cr_digits
35
36# The user is always right.
37if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
45 fi
46 rm -f conf$$.sh
47fi
48
49# Support unset when possible.
50if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52else
53 as_unset=false
54fi
55
56
57# IFS
58# We need space, tab and new line, in precisely that order. Quoting is
59# there to prevent editors from complaining about space-tab.
60# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61# splitting by setting IFS to empty value.)
62as_nl='
63'
64IFS=" "" $as_nl"
65
66# Find who we are. Look in the path if we contain no directory separator.
67case $0 in
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70for as_dir in $PATH
71do
72 IFS=$as_save_IFS
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75done
76IFS=$as_save_IFS
77
78 ;;
79esac
80# We did not find ourselves, most probably we were run as `sh COMMAND'
81# in which case we are not to be found in the path.
82if test "x$as_myself" = x; then
83 as_myself=$0
84fi
85if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87 { (exit 1); exit 1; }
88fi
89
90# Work around bugs in pre-3.0 UWIN ksh.
91for as_var in ENV MAIL MAILPATH
92do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93done
94PS1='$ '
95PS2='> '
96PS4='+ '
97
98# NLS nuisances.
99for as_var in \
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102 LC_TELEPHONE LC_TIME
103do
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
106 else
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108 fi
109done
110
111# Required to use basename.
112if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
114 as_expr=expr
115else
116 as_expr=false
117fi
118
119if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120 as_basename=basename
121else
122 as_basename=false
123fi
124
125
126# Name of the executable.
127as_me=`$as_basename -- "$0" ||
128$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131echo X/"$0" |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
133 s//\1/
134 q
135 }
136 /^X\/\(\/\/\)$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\).*/{
141 s//\1/
142 q
143 }
144 s/.*/./; q'`
145
146# CDPATH.
147$as_unset CDPATH
148
149
150if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
152 as_have_required=yes
153else
154 as_have_required=no
155fi
156
157 if test $as_have_required = yes && (eval ":
158(as_func_return () {
159 (exit \$1)
160}
161as_func_success () {
162 as_func_return 0
163}
164as_func_failure () {
165 as_func_return 1
166}
167as_func_ret_success () {
168 return 0
169}
170as_func_ret_failure () {
171 return 1
172}
173
174exitcode=0
175if as_func_success; then
176 :
177else
178 exitcode=1
179 echo as_func_success failed.
180fi
181
182if as_func_failure; then
183 exitcode=1
184 echo as_func_failure succeeded.
185fi
186
187if as_func_ret_success; then
188 :
189else
190 exitcode=1
191 echo as_func_ret_success failed.
192fi
193
194if as_func_ret_failure; then
195 exitcode=1
196 echo as_func_ret_failure succeeded.
197fi
198
199if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200 :
201else
202 exitcode=1
203 echo positional parameters were not saved.
204fi
205
206test \$exitcode = 0) || { (exit 1); exit 1; }
207
208(
209 as_lineno_1=\$LINENO
210 as_lineno_2=\$LINENO
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213") 2> /dev/null; then
214 :
215else
216 as_candidate_shells=
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 case $as_dir in
223 /*)
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226 done;;
227 esac
228done
229IFS=$as_save_IFS
230
231
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236# Be Bourne compatible
237if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238 emulate sh
239 NULLCMD=:
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
243 setopt NO_GLOB_SUBST
244else
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246fi
247BIN_SH=xpg4; export BIN_SH # for Tru64
248DUALCASE=1; export DUALCASE # for MKS sh
249
250:
251_ASEOF
252}; then
253 CONFIG_SHELL=$as_shell
254 as_have_required=yes
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256# Be Bourne compatible
257if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258 emulate sh
259 NULLCMD=:
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
263 setopt NO_GLOB_SUBST
264else
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266fi
267BIN_SH=xpg4; export BIN_SH # for Tru64
268DUALCASE=1; export DUALCASE # for MKS sh
269
270:
271(as_func_return () {
272 (exit $1)
273}
274as_func_success () {
275 as_func_return 0
276}
277as_func_failure () {
278 as_func_return 1
279}
280as_func_ret_success () {
281 return 0
282}
283as_func_ret_failure () {
284 return 1
285}
286
287exitcode=0
288if as_func_success; then
289 :
290else
291 exitcode=1
292 echo as_func_success failed.
293fi
294
295if as_func_failure; then
296 exitcode=1
297 echo as_func_failure succeeded.
298fi
299
300if as_func_ret_success; then
301 :
302else
303 exitcode=1
304 echo as_func_ret_success failed.
305fi
306
307if as_func_ret_failure; then
308 exitcode=1
309 echo as_func_ret_failure succeeded.
310fi
311
312if ( set x; as_func_ret_success y && test x = "$1" ); then
313 :
314else
315 exitcode=1
316 echo positional parameters were not saved.
317fi
318
319test $exitcode = 0) || { (exit 1); exit 1; }
320
321(
322 as_lineno_1=$LINENO
323 as_lineno_2=$LINENO
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326
327_ASEOF
328}; then
329 break
330fi
331
332fi
333
334 done
335
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339 done
340 export CONFIG_SHELL
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342fi
343
344
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
351fi
352
353
354fi
355
356fi
357
358
359
360(eval "as_func_return () {
361 (exit \$1)
362}
363as_func_success () {
364 as_func_return 0
365}
366as_func_failure () {
367 as_func_return 1
368}
369as_func_ret_success () {
370 return 0
371}
372as_func_ret_failure () {
373 return 1
374}
375
376exitcode=0
377if as_func_success; then
378 :
379else
380 exitcode=1
381 echo as_func_success failed.
382fi
383
384if as_func_failure; then
385 exitcode=1
386 echo as_func_failure succeeded.
387fi
388
389if as_func_ret_success; then
390 :
391else
392 exitcode=1
393 echo as_func_ret_success failed.
394fi
395
396if as_func_ret_failure; then
397 exitcode=1
398 echo as_func_ret_failure succeeded.
399fi
400
401if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402 :
403else
404 exitcode=1
405 echo positional parameters were not saved.
406fi
407
408test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
412 echo message
413}
414
415
416
417 as_lineno_1=$LINENO
418 as_lineno_2=$LINENO
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
421
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
428 # case at line end.
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
450
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
457}
458
459
460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462else
463 as_dirname=false
464fi
465
466ECHO_C= ECHO_N= ECHO_T=
467case `echo -n x` in
468-n*)
469 case `echo 'x\c'` in
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
471 *) ECHO_C='\c';;
472 esac;;
473*)
474 ECHO_N='-n';;
475esac
476
477if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
479 as_expr=expr
480else
481 as_expr=false
482fi
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487else
488 rm -f conf$$.dir
489 mkdir conf$$.dir
490fi
491echo >conf$$.file
492if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502else
503 as_ln_s='cp -p'
504fi
505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506rmdir conf$$.dir 2>/dev/null
507
508if mkdir -p . 2>/dev/null; then
509 as_mkdir_p=:
510else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
513fi
514
515# Find out whether ``test -x'' works. Don't use a zero-byte file, as
516# systems may use methods other than mode bits to determine executability.
517cat >conf$$.file <<_ASEOF
518#! /bin/sh
519exit 0
520_ASEOF
521chmod +x conf$$.file
522if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
524else
525 as_executable_p=:
526fi
527rm -f conf$$.file
528
529# Sed expression to map a string onto a valid CPP name.
530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
532# Sed expression to map a string onto a valid variable name.
533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536
537exec 7<&0 </dev/null 6>&1
538
539# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555SHELL=${CONFIG_SHELL-/bin/sh}
556
557# Identity of this package.
558PACKAGE_NAME=
559PACKAGE_TARNAME=
560PACKAGE_VERSION=
561PACKAGE_STRING=
562PACKAGE_BUGREPORT=
563
564ac_unique_file="configure.in"
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#ifdef HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#ifdef HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#ifdef STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# ifdef HAVE_STDLIB_H
579# include <stdlib.h>
580# endif
581#endif
582#ifdef HAVE_STRING_H
583# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584# include <memory.h>
585# endif
586# include <string.h>
587#endif
588#ifdef HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#ifdef HAVE_INTTYPES_H
592# include <inttypes.h>
593#endif
594#ifdef HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#ifdef HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
601ac_subst_vars='SHELL
602PATH_SEPARATOR
603PACKAGE_NAME
604PACKAGE_TARNAME
605PACKAGE_VERSION
606PACKAGE_STRING
607PACKAGE_BUGREPORT
608exec_prefix
609prefix
610program_transform_name
611bindir
612sbindir
613libexecdir
614datarootdir
615datadir
616sysconfdir
617sharedstatedir
618localstatedir
619includedir
620oldincludedir
621docdir
622infodir
623htmldir
624dvidir
625pdfdir
626psdir
627libdir
628localedir
629mandir
630DEFS
631ECHO_C
632ECHO_N
633ECHO_T
634LIBS
635build_alias
636host_alias
637target_alias
638INSTALL_PROGRAM
639INSTALL_SCRIPT
640INSTALL_DATA
641CYGPATH_W
642PACKAGE
643VERSION
644ACLOCAL
645AUTOCONF
646AUTOMAKE
647AUTOHEADER
648MAKEINFO
649AMTAR
650install_sh
651STRIP
652INSTALL_STRIP_PROGRAM
653AWK
654SET_MAKE
655am__leading_dot
656CC
657CFLAGS
658LDFLAGS
659CPPFLAGS
660ac_ct_CC
661EXEEXT
662OBJEXT
663DEPDIR
664am__include
665am__quote
666AMDEP_TRUE
667AMDEP_FALSE
668AMDEPBACKSLASH
669CCDEPMODE
670am__fastdepCC_TRUE
671am__fastdepCC_FALSE
672CPP
673GREP
674EGREP
675USE_NLS
676MSGFMT
677GMSGFMT
678XGETTEXT
679CATALOGS
680CATOBJEXT
681DATADIRNAME
682GMOFILES
683INSTOBJEXT
684INTLLIBS
685PO_IN_DATADIR_TRUE
686PO_IN_DATADIR_FALSE
687POFILES
688POSUB
689MKINSTALLDIRS
690GETTEXT_PACKAGE
691PKG_CONFIG
692GLIB_CFLAGS
693GLIB_LIBS
694GLIB_GENMARSHAL
695GOBJECT_QUERY
696GLIB_MKENUMS
697GTK_CFLAGS
698GTK_LIBS
699LIBGLADE_CFLAGS
700LIBGLADE_LIBS
701GTKGLEXT_CFLAGS
702GTKGLEXT_LIBS
703LIBG3D_CFLAGS
704LIBG3D_LIBS
705XMKMF
706X_CFLAGS
707X_PRE_LIBS
708X_LIBS
709X_EXTRA_LIBS
710GL_LIBS
711DEBUG
712DBG_CFLAGS
713LIBOBJS
714LTLIBOBJS'
715ac_subst_files=''
716 ac_precious_vars='build_alias
717host_alias
718target_alias
719CC
720CFLAGS
721LDFLAGS
722CPPFLAGS
723CPP
724PKG_CONFIG
725LIBGLADE_CFLAGS
726LIBGLADE_LIBS
727LIBG3D_CFLAGS
728LIBG3D_LIBS
729XMKMF'
730
731
732# Initialize some variables set by options.
733ac_init_help=
734ac_init_version=false
735# The variables have the same names as the options, with
736# dashes changed to underlines.
737cache_file=/dev/null
738exec_prefix=NONE
739no_create=
740no_recursion=
741prefix=NONE
742program_prefix=NONE
743program_suffix=NONE
744program_transform_name=s,x,x,
745silent=
746site=
747srcdir=
748verbose=
749x_includes=NONE
750x_libraries=NONE
751
752# Installation directory options.
753# These are left unexpanded so users can "make install exec_prefix=/foo"
754# and all the variables that are supposed to be based on exec_prefix
755# by default will actually change.
756# Use braces instead of parens because sh, perl, etc. also accept them.
757# (The list follows the same order as the GNU Coding Standards.)
758bindir='${exec_prefix}/bin'
759sbindir='${exec_prefix}/sbin'
760libexecdir='${exec_prefix}/libexec'
761datarootdir='${prefix}/share'
762datadir='${datarootdir}'
763sysconfdir='${prefix}/etc'
764sharedstatedir='${prefix}/com'
765localstatedir='${prefix}/var'
766includedir='${prefix}/include'
767oldincludedir='/usr/include'
768docdir='${datarootdir}/doc/${PACKAGE}'
769infodir='${datarootdir}/info'
770htmldir='${docdir}'
771dvidir='${docdir}'
772pdfdir='${docdir}'
773psdir='${docdir}'
774libdir='${exec_prefix}/lib'
775localedir='${datarootdir}/locale'
776mandir='${datarootdir}/man'
777
778ac_prev=
779ac_dashdash=
780for ac_option
781do
782 # If the previous option needs an argument, assign it.
783 if test -n "$ac_prev"; then
784 eval $ac_prev=\$ac_option
785 ac_prev=
786 continue
787 fi
788
789 case $ac_option in
790 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791 *) ac_optarg=yes ;;
792 esac
793
794 # Accept the important Cygnus configure options, so we can diagnose typos.
795
796 case $ac_dashdash$ac_option in
797 --)
798 ac_dashdash=yes ;;
799
800 -bindir | --bindir | --bindi | --bind | --bin | --bi)
801 ac_prev=bindir ;;
802 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
803 bindir=$ac_optarg ;;
804
805 -build | --build | --buil | --bui | --bu)
806 ac_prev=build_alias ;;
807 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
808 build_alias=$ac_optarg ;;
809
810 -cache-file | --cache-file | --cache-fil | --cache-fi \
811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
812 ac_prev=cache_file ;;
813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
815 cache_file=$ac_optarg ;;
816
817 --config-cache | -C)
818 cache_file=config.cache ;;
819
820 -datadir | --datadir | --datadi | --datad)
821 ac_prev=datadir ;;
822 -datadir=* | --datadir=* | --datadi=* | --datad=*)
823 datadir=$ac_optarg ;;
824
825 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
826 | --dataroo | --dataro | --datar)
827 ac_prev=datarootdir ;;
828 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
829 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
830 datarootdir=$ac_optarg ;;
831
832 -disable-* | --disable-*)
833 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
836 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
837 { (exit 1); exit 1; }; }
838 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
839 eval enable_$ac_feature=no ;;
840
841 -docdir | --docdir | --docdi | --doc | --do)
842 ac_prev=docdir ;;
843 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
844 docdir=$ac_optarg ;;
845
846 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
847 ac_prev=dvidir ;;
848 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
849 dvidir=$ac_optarg ;;
850
851 -enable-* | --enable-*)
852 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
855 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
856 { (exit 1); exit 1; }; }
857 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
858 eval enable_$ac_feature=\$ac_optarg ;;
859
860 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
861 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
862 | --exec | --exe | --ex)
863 ac_prev=exec_prefix ;;
864 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
865 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
866 | --exec=* | --exe=* | --ex=*)
867 exec_prefix=$ac_optarg ;;
868
869 -gas | --gas | --ga | --g)
870 # Obsolete; use --with-gas.
871 with_gas=yes ;;
872
873 -help | --help | --hel | --he | -h)
874 ac_init_help=long ;;
875 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
876 ac_init_help=recursive ;;
877 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
878 ac_init_help=short ;;
879
880 -host | --host | --hos | --ho)
881 ac_prev=host_alias ;;
882 -host=* | --host=* | --hos=* | --ho=*)
883 host_alias=$ac_optarg ;;
884
885 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886 ac_prev=htmldir ;;
887 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888 | --ht=*)
889 htmldir=$ac_optarg ;;
890
891 -includedir | --includedir | --includedi | --included | --include \
892 | --includ | --inclu | --incl | --inc)
893 ac_prev=includedir ;;
894 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
895 | --includ=* | --inclu=* | --incl=* | --inc=*)
896 includedir=$ac_optarg ;;
897
898 -infodir | --infodir | --infodi | --infod | --info | --inf)
899 ac_prev=infodir ;;
900 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
901 infodir=$ac_optarg ;;
902
903 -libdir | --libdir | --libdi | --libd)
904 ac_prev=libdir ;;
905 -libdir=* | --libdir=* | --libdi=* | --libd=*)
906 libdir=$ac_optarg ;;
907
908 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
909 | --libexe | --libex | --libe)
910 ac_prev=libexecdir ;;
911 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
912 | --libexe=* | --libex=* | --libe=*)
913 libexecdir=$ac_optarg ;;
914
915 -localedir | --localedir | --localedi | --localed | --locale)
916 ac_prev=localedir ;;
917 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
918 localedir=$ac_optarg ;;
919
920 -localstatedir | --localstatedir | --localstatedi | --localstated \
921 | --localstate | --localstat | --localsta | --localst | --locals)
922 ac_prev=localstatedir ;;
923 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
924 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
925 localstatedir=$ac_optarg ;;
926
927 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928 ac_prev=mandir ;;
929 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
930 mandir=$ac_optarg ;;
931
932 -nfp | --nfp | --nf)
933 # Obsolete; use --without-fp.
934 with_fp=no ;;
935
936 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
937 | --no-cr | --no-c | -n)
938 no_create=yes ;;
939
940 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
941 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
942 no_recursion=yes ;;
943
944 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
945 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
946 | --oldin | --oldi | --old | --ol | --o)
947 ac_prev=oldincludedir ;;
948 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
949 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
950 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
951 oldincludedir=$ac_optarg ;;
952
953 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954 ac_prev=prefix ;;
955 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
956 prefix=$ac_optarg ;;
957
958 -program-prefix | --program-prefix | --program-prefi | --program-pref \
959 | --program-pre | --program-pr | --program-p)
960 ac_prev=program_prefix ;;
961 -program-prefix=* | --program-prefix=* | --program-prefi=* \
962 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
963 program_prefix=$ac_optarg ;;
964
965 -program-suffix | --program-suffix | --program-suffi | --program-suff \
966 | --program-suf | --program-su | --program-s)
967 ac_prev=program_suffix ;;
968 -program-suffix=* | --program-suffix=* | --program-suffi=* \
969 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
970 program_suffix=$ac_optarg ;;
971
972 -program-transform-name | --program-transform-name \
973 | --program-transform-nam | --program-transform-na \
974 | --program-transform-n | --program-transform- \
975 | --program-transform | --program-transfor \
976 | --program-transfo | --program-transf \
977 | --program-trans | --program-tran \
978 | --progr-tra | --program-tr | --program-t)
979 ac_prev=program_transform_name ;;
980 -program-transform-name=* | --program-transform-name=* \
981 | --program-transform-nam=* | --program-transform-na=* \
982 | --program-transform-n=* | --program-transform-=* \
983 | --program-transform=* | --program-transfor=* \
984 | --program-transfo=* | --program-transf=* \
985 | --program-trans=* | --program-tran=* \
986 | --progr-tra=* | --program-tr=* | --program-t=*)
987 program_transform_name=$ac_optarg ;;
988
989 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990 ac_prev=pdfdir ;;
991 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
992 pdfdir=$ac_optarg ;;
993
994 -psdir | --psdir | --psdi | --psd | --ps)
995 ac_prev=psdir ;;
996 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
997 psdir=$ac_optarg ;;
998
999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000 | -silent | --silent | --silen | --sile | --sil)
1001 silent=yes ;;
1002
1003 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 ac_prev=sbindir ;;
1005 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 | --sbi=* | --sb=*)
1007 sbindir=$ac_optarg ;;
1008
1009 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1010 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1011 | --sharedst | --shareds | --shared | --share | --shar \
1012 | --sha | --sh)
1013 ac_prev=sharedstatedir ;;
1014 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1015 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1016 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 | --sha=* | --sh=*)
1018 sharedstatedir=$ac_optarg ;;
1019
1020 -site | --site | --sit)
1021 ac_prev=site ;;
1022 -site=* | --site=* | --sit=*)
1023 site=$ac_optarg ;;
1024
1025 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 ac_prev=srcdir ;;
1027 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1028 srcdir=$ac_optarg ;;
1029
1030 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1031 | --syscon | --sysco | --sysc | --sys | --sy)
1032 ac_prev=sysconfdir ;;
1033 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1034 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1035 sysconfdir=$ac_optarg ;;
1036
1037 -target | --target | --targe | --targ | --tar | --ta | --t)
1038 ac_prev=target_alias ;;
1039 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1040 target_alias=$ac_optarg ;;
1041
1042 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1043 verbose=yes ;;
1044
1045 -version | --version | --versio | --versi | --vers | -V)
1046 ac_init_version=: ;;
1047
1048 -with-* | --with-*)
1049 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1052 { echo "$as_me: error: invalid package name: $ac_package" >&2
1053 { (exit 1); exit 1; }; }
1054 ac_package=`echo $ac_package| sed 's/-/_/g'`
1055 eval with_$ac_package=\$ac_optarg ;;
1056
1057 -without-* | --without-*)
1058 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1061 { echo "$as_me: error: invalid package name: $ac_package" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_package=`echo $ac_package | sed 's/-/_/g'`
1064 eval with_$ac_package=no ;;
1065
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1069
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1076
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1083
1084 -*) { echo "$as_me: error: unrecognized option: $ac_option
1085Try \`$0 --help' for more information." >&2
1086 { (exit 1); exit 1; }; }
1087 ;;
1088
1089 *=*)
1090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1093 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1094 { (exit 1); exit 1; }; }
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1097
1098 *)
1099 # FIXME: should be removed in autoconf 3.0.
1100 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 ;;
1105
1106 esac
1107done
1108
1109if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 { echo "$as_me: error: missing argument to $ac_option" >&2
1112 { (exit 1); exit 1; }; }
1113fi
1114
1115# Be sure to have absolute directory names.
1116for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1117 datadir sysconfdir sharedstatedir localstatedir includedir \
1118 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1119 libdir localedir mandir
1120do
1121 eval ac_val=\$$ac_var
1122 case $ac_val in
1123 [\\/$]* | ?:[\\/]* ) continue;;
1124 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1125 esac
1126 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1127 { (exit 1); exit 1; }; }
1128done
1129
1130# There might be people who depend on the old broken behavior: `$host'
1131# used to hold the argument of --host etc.
1132# FIXME: To remove some day.
1133build=$build_alias
1134host=$host_alias
1135target=$target_alias
1136
1137# FIXME: To remove some day.
1138if test "x$host_alias" != x; then
1139 if test "x$build_alias" = x; then
1140 cross_compiling=maybe
1141 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1142 If a cross compiler is detected then cross compile mode will be used." >&2
1143 elif test "x$build_alias" != "x$host_alias"; then
1144 cross_compiling=yes
1145 fi
1146fi
1147
1148ac_tool_prefix=
1149test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150
1151test "$silent" = yes && exec 6>/dev/null
1152
1153
1154ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155ac_ls_di=`ls -di .` &&
1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 { echo "$as_me: error: Working directory cannot be determined" >&2
1158 { (exit 1); exit 1; }; }
1159test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1160 { echo "$as_me: error: pwd does not report name of working directory" >&2
1161 { (exit 1); exit 1; }; }
1162
1163
1164# Find the source files, if location was not specified.
1165if test -z "$srcdir"; then
1166 ac_srcdir_defaulted=yes
1167 # Try the directory containing this script, then the parent directory.
1168 ac_confdir=`$as_dirname -- "$0" ||
1169$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1170 X"$0" : 'X\(//\)[^/]' \| \
1171 X"$0" : 'X\(//\)$' \| \
1172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1173echo X"$0" |
1174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1175 s//\1/
1176 q
1177 }
1178 /^X\(\/\/\)[^/].*/{
1179 s//\1/
1180 q
1181 }
1182 /^X\(\/\/\)$/{
1183 s//\1/
1184 q
1185 }
1186 /^X\(\/\).*/{
1187 s//\1/
1188 q
1189 }
1190 s/.*/./; q'`
1191 srcdir=$ac_confdir
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 srcdir=..
1194 fi
1195else
1196 ac_srcdir_defaulted=no
1197fi
1198if test ! -r "$srcdir/$ac_unique_file"; then
1199 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1200 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1201 { (exit 1); exit 1; }; }
1202fi
1203ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1204ac_abs_confdir=`(
1205 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1206 { (exit 1); exit 1; }; }
1207 pwd)`
1208# When building in place, set srcdir=.
1209if test "$ac_abs_confdir" = "$ac_pwd"; then
1210 srcdir=.
1211fi
1212# Remove unnecessary trailing slashes from srcdir.
1213# Double slashes in file names in object file debugging info
1214# mess up M-x gdb in Emacs.
1215case $srcdir in
1216*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217esac
1218for ac_var in $ac_precious_vars; do
1219 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1220 eval ac_env_${ac_var}_value=\$${ac_var}
1221 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1222 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1223done
1224
1225#
1226# Report the --help message.
1227#
1228if test "$ac_init_help" = "long"; then
1229 # Omit some internal or obsolete options to make the list less imposing.
1230 # This message is too long to be a string in the A/UX 3.1 sh.
1231 cat <<_ACEOF
1232\`configure' configures this package to adapt to many kinds of systems.
1233
1234Usage: $0 [OPTION]... [VAR=VALUE]...
1235
1236To assign environment variables (e.g., CC, CFLAGS...), specify them as
1237VAR=VALUE. See below for descriptions of some of the useful variables.
1238
1239Defaults for the options are specified in brackets.
1240
1241Configuration:
1242 -h, --help display this help and exit
1243 --help=short display options specific to this package
1244 --help=recursive display the short help of all the included packages
1245 -V, --version display version information and exit
1246 -q, --quiet, --silent do not print \`checking...' messages
1247 --cache-file=FILE cache test results in FILE [disabled]
1248 -C, --config-cache alias for \`--cache-file=config.cache'
1249 -n, --no-create do not create output files
1250 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251
1252Installation directories:
1253 --prefix=PREFIX install architecture-independent files in PREFIX
1254 [$ac_default_prefix]
1255 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1256 [PREFIX]
1257
1258By default, \`make install' will install all the files in
1259\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1260an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1261for instance \`--prefix=\$HOME'.
1262
1263For better control, use the options below.
1264
1265Fine tuning of the installation directories:
1266 --bindir=DIR user executables [EPREFIX/bin]
1267 --sbindir=DIR system admin executables [EPREFIX/sbin]
1268 --libexecdir=DIR program executables [EPREFIX/libexec]
1269 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1270 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1271 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1272 --libdir=DIR object code libraries [EPREFIX/lib]
1273 --includedir=DIR C header files [PREFIX/include]
1274 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1275 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1276 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1277 --infodir=DIR info documentation [DATAROOTDIR/info]
1278 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1279 --mandir=DIR man documentation [DATAROOTDIR/man]
1280 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1281 --htmldir=DIR html documentation [DOCDIR]
1282 --dvidir=DIR dvi documentation [DOCDIR]
1283 --pdfdir=DIR pdf documentation [DOCDIR]
1284 --psdir=DIR ps documentation [DOCDIR]
1285_ACEOF
1286
1287 cat <<\_ACEOF
1288
1289Program names:
1290 --program-prefix=PREFIX prepend PREFIX to installed program names
1291 --program-suffix=SUFFIX append SUFFIX to installed program names
1292 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1293
1294X features:
1295 --x-includes=DIR X include files are in DIR
1296 --x-libraries=DIR X library files are in DIR
1297_ACEOF
1298fi
1299
1300if test -n "$ac_init_help"; then
1301
1302 cat <<\_ACEOF
1303
1304Optional Features:
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1307 --disable-dependency-tracking Speeds up one-time builds
1308 --enable-dependency-tracking Do not reject slow dependency extractors
1309 --disable-glibtest do not try to compile and run a test GLIB program
1310 --disable-gtktest do not try to compile and run a test GTK+ program
1311 --disable-gtkglext-test do not try to compile and run a test GtkGLExt program
1312 --enable-debug[=LVL] enable debug level LVL or 1 (default is 0)
1313
1314Optional Packages:
1315 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1316 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1317 --with-x use the X Window System
1318
1319Some influential environment variables:
1320 CC C compiler command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1323 nonstandard directory <lib dir>
1324 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1325 you have headers in a nonstandard directory <include dir>
1326 CPP C preprocessor
1327 PKG_CONFIG path to pkg-config utility
1328 LIBGLADE_CFLAGS
1329 C compiler flags for LIBGLADE, overriding pkg-config
1330 LIBGLADE_LIBS
1331 linker flags for LIBGLADE, overriding pkg-config
1332 LIBG3D_CFLAGS
1333 C compiler flags for LIBG3D, overriding pkg-config
1334 LIBG3D_LIBS linker flags for LIBG3D, overriding pkg-config
1335 XMKMF Path to xmkmf, Makefile generator for X Window System
1336
1337Use these variables to override the choices made by `configure' or to help
1338it to find libraries and programs with nonstandard names/locations.
1339
1340_ACEOF
1341ac_status=$?
1342fi
1343
1344if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" || continue
1348 ac_builddir=.
1349
1350case "$ac_dir" in
1351.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352*)
1353 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1354 # A ".." for each directory in $ac_dir_suffix.
1355 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1356 case $ac_top_builddir_sub in
1357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1359 esac ;;
1360esac
1361ac_abs_top_builddir=$ac_pwd
1362ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363# for backward compatibility:
1364ac_top_builddir=$ac_top_build_prefix
1365
1366case $srcdir in
1367 .) # We are building in place.
1368 ac_srcdir=.
1369 ac_top_srcdir=$ac_top_builddir_sub
1370 ac_abs_top_srcdir=$ac_pwd ;;
1371 [\\/]* | ?:[\\/]* ) # Absolute name.
1372 ac_srcdir=$srcdir$ac_dir_suffix;
1373 ac_top_srcdir=$srcdir
1374 ac_abs_top_srcdir=$srcdir ;;
1375 *) # Relative name.
1376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1377 ac_top_srcdir=$ac_top_build_prefix$srcdir
1378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1379esac
1380ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381
1382 cd "$ac_dir" || { ac_status=$?; continue; }
1383 # Check for guested configure.
1384 if test -f "$ac_srcdir/configure.gnu"; then
1385 echo &&
1386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1387 elif test -f "$ac_srcdir/configure"; then
1388 echo &&
1389 $SHELL "$ac_srcdir/configure" --help=recursive
1390 else
1391 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392 fi || ac_status=$?
1393 cd "$ac_pwd" || { ac_status=$?; break; }
1394 done
1395fi
1396
1397test -n "$ac_init_help" && exit $ac_status
1398if $ac_init_version; then
1399 cat <<\_ACEOF
1400configure
1401generated by GNU Autoconf 2.60a
1402
1403Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14042002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1405This configure script is free software; the Free Software Foundation
1406gives unlimited permission to copy, distribute and modify it.
1407_ACEOF
1408 exit
1409fi
1410cat >config.log <<_ACEOF
1411This file contains any messages produced by compilers while
1412running configure, to aid debugging if configure makes a mistake.
1413
1414It was created by $as_me, which was
1415generated by GNU Autoconf 2.60a. Invocation command line was
1416
1417 $ $0 $@
1418
1419_ACEOF
1420exec 5>>config.log
1421{
1422cat <<_ASUNAME
1423## --------- ##
1424## Platform. ##
1425## --------- ##
1426
1427hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1428uname -m = `(uname -m) 2>/dev/null || echo unknown`
1429uname -r = `(uname -r) 2>/dev/null || echo unknown`
1430uname -s = `(uname -s) 2>/dev/null || echo unknown`
1431uname -v = `(uname -v) 2>/dev/null || echo unknown`
1432
1433/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1434/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1435
1436/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1437/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1438/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1439/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1440/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1441/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1442/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1443
1444_ASUNAME
1445
1446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447for as_dir in $PATH
1448do
1449 IFS=$as_save_IFS
1450 test -z "$as_dir" && as_dir=.
1451 echo "PATH: $as_dir"
1452done
1453IFS=$as_save_IFS
1454
1455} >&5
1456
1457cat >&5 <<_ACEOF
1458
1459
1460## ----------- ##
1461## Core tests. ##
1462## ----------- ##
1463
1464_ACEOF
1465
1466
1467# Keep a trace of the command line.
1468# Strip out --no-create and --no-recursion so they do not pile up.
1469# Strip out --silent because we don't want to record it for future runs.
1470# Also quote any args containing shell meta-characters.
1471# Make two passes to allow for proper duplicate-argument suppression.
1472ac_configure_args=
1473ac_configure_args0=
1474ac_configure_args1=
1475ac_must_keep_next=false
1476for ac_pass in 1 2
1477do
1478 for ac_arg
1479 do
1480 case $ac_arg in
1481 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1483 | -silent | --silent | --silen | --sile | --sil)
1484 continue ;;
1485 *\'*)
1486 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 esac
1488 case $ac_pass in
1489 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1490 2)
1491 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1492 if test $ac_must_keep_next = true; then
1493 ac_must_keep_next=false # Got value, back to normal.
1494 else
1495 case $ac_arg in
1496 *=* | --config-cache | -C | -disable-* | --disable-* \
1497 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1498 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1499 | -with-* | --with-* | -without-* | --without-* | --x)
1500 case "$ac_configure_args0 " in
1501 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1502 esac
1503 ;;
1504 -* ) ac_must_keep_next=true ;;
1505 esac
1506 fi
1507 ac_configure_args="$ac_configure_args '$ac_arg'"
1508 ;;
1509 esac
1510 done
1511done
1512$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1513$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1514
1515# When interrupted or exit'd, cleanup temporary files, and complete
1516# config.log. We remove comments because anyway the quotes in there
1517# would cause problems or look ugly.
1518# WARNING: Use '\'' to represent an apostrophe within the trap.
1519# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1520trap 'exit_status=$?
1521 # Save into config.log some information that might help in debugging.
1522 {
1523 echo
1524
1525 cat <<\_ASBOX
1526## ---------------- ##
1527## Cache variables. ##
1528## ---------------- ##
1529_ASBOX
1530 echo
1531 # The following way of writing the cache mishandles newlines in values,
1532(
1533 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1534 eval ac_val=\$$ac_var
1535 case $ac_val in #(
1536 *${as_nl}*)
1537 case $ac_var in #(
1538 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1539echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1540 esac
1541 case $ac_var in #(
1542 _ | IFS | as_nl) ;; #(
1543 *) $as_unset $ac_var ;;
1544 esac ;;
1545 esac
1546 done
1547 (set) 2>&1 |
1548 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1549 *${as_nl}ac_space=\ *)
1550 sed -n \
1551 "s/'\''/'\''\\\\'\'''\''/g;
1552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1553 ;; #(
1554 *)
1555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1556 ;;
1557 esac |
1558 sort
1559)
1560 echo
1561
1562 cat <<\_ASBOX
1563## ----------------- ##
1564## Output variables. ##
1565## ----------------- ##
1566_ASBOX
1567 echo
1568 for ac_var in $ac_subst_vars
1569 do
1570 eval ac_val=\$$ac_var
1571 case $ac_val in
1572 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1573 esac
1574 echo "$ac_var='\''$ac_val'\''"
1575 done | sort
1576 echo
1577
1578 if test -n "$ac_subst_files"; then
1579 cat <<\_ASBOX
1580## ------------------- ##
1581## File substitutions. ##
1582## ------------------- ##
1583_ASBOX
1584 echo
1585 for ac_var in $ac_subst_files
1586 do
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 echo "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1594 fi
1595
1596 if test -s confdefs.h; then
1597 cat <<\_ASBOX
1598## ----------- ##
1599## confdefs.h. ##
1600## ----------- ##
1601_ASBOX
1602 echo
1603 cat confdefs.h
1604 echo
1605 fi
1606 test "$ac_signal" != 0 &&
1607 echo "$as_me: caught signal $ac_signal"
1608 echo "$as_me: exit $exit_status"
1609 } >&5
1610 rm -f core *.core core.conftest.* &&
1611 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1612 exit $exit_status
1613' 0
1614for ac_signal in 1 2 13 15; do
1615 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1616done
1617ac_signal=0
1618
1619# confdefs.h avoids OS command line length limits that DEFS can exceed.
1620rm -f -r conftest* confdefs.h
1621
1622# Predefined preprocessor variables.
1623
1624cat >>confdefs.h <<_ACEOF
1625#define PACKAGE_NAME "$PACKAGE_NAME"
1626_ACEOF
1627
1628
1629cat >>confdefs.h <<_ACEOF
1630#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1631_ACEOF
1632
1633
1634cat >>confdefs.h <<_ACEOF
1635#define PACKAGE_VERSION "$PACKAGE_VERSION"
1636_ACEOF
1637
1638
1639cat >>confdefs.h <<_ACEOF
1640#define PACKAGE_STRING "$PACKAGE_STRING"
1641_ACEOF
1642
1643
1644cat >>confdefs.h <<_ACEOF
1645#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1646_ACEOF
1647
1648
1649# Let the site file select an alternate cache file if it wants to.
1650# Prefer explicitly selected file to automatically selected ones.
1651if test -n "$CONFIG_SITE"; then
1652 set x "$CONFIG_SITE"
1653elif test "x$prefix" != xNONE; then
1654 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1655else
1656 set x "$ac_default_prefix/share/config.site" \
1657 "$ac_default_prefix/etc/config.site"
1658fi
1659shift
1660for ac_site_file
1661do
1662 if test -r "$ac_site_file"; then
1663 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1664echo "$as_me: loading site script $ac_site_file" >&6;}
1665 sed 's/^/| /' "$ac_site_file" >&5
1666 . "$ac_site_file"
1667 fi
1668done
1669
1670if test -r "$cache_file"; then
1671 # Some versions of bash will fail to source /dev/null (special
1672 # files actually), so we avoid doing that.
1673 if test -f "$cache_file"; then
1674 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1675echo "$as_me: loading cache $cache_file" >&6;}
1676 case $cache_file in
1677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1678 *) . "./$cache_file";;
1679 esac
1680 fi
1681else
1682 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1683echo "$as_me: creating cache $cache_file" >&6;}
1684 >$cache_file
1685fi
1686
1687# Check that the precious variables saved in the cache have kept the same
1688# value.
1689ac_cache_corrupted=false
1690for ac_var in $ac_precious_vars; do
1691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1692 eval ac_new_set=\$ac_env_${ac_var}_set
1693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1694 eval ac_new_val=\$ac_env_${ac_var}_value
1695 case $ac_old_set,$ac_new_set in
1696 set,)
1697 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1698echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1700 ,set)
1701 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1702echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1704 ,);;
1705 *)
1706 if test "x$ac_old_val" != "x$ac_new_val"; then
1707 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1708echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1709 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1710echo "$as_me: former value: $ac_old_val" >&2;}
1711 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1712echo "$as_me: current value: $ac_new_val" >&2;}
1713 ac_cache_corrupted=:
1714 fi;;
1715 esac
1716 # Pass precious variables to config.status.
1717 if test "$ac_new_set" = set; then
1718 case $ac_new_val in
1719 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 *) ac_arg=$ac_var=$ac_new_val ;;
1721 esac
1722 case " $ac_configure_args " in
1723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1724 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1725 esac
1726 fi
1727done
1728if $ac_cache_corrupted; then
1729 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1734fi
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752ac_ext=c
1753ac_cpp='$CPP $CPPFLAGS'
1754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757
1758
1759
1760VERSION=0.2.99.4
1761PACKAGE=g3dviewer
1762
1763ac_config_headers="$ac_config_headers config.h"
1764
1765
1766am__api_version="1.7"
1767ac_aux_dir=
1768for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1769 if test -f "$ac_dir/install-sh"; then
1770 ac_aux_dir=$ac_dir
1771 ac_install_sh="$ac_aux_dir/install-sh -c"
1772 break
1773 elif test -f "$ac_dir/install.sh"; then
1774 ac_aux_dir=$ac_dir
1775 ac_install_sh="$ac_aux_dir/install.sh -c"
1776 break
1777 elif test -f "$ac_dir/shtool"; then
1778 ac_aux_dir=$ac_dir
1779 ac_install_sh="$ac_aux_dir/shtool install -c"
1780 break
1781 fi
1782done
1783if test -z "$ac_aux_dir"; then
1784 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1785echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1786 { (exit 1); exit 1; }; }
1787fi
1788
1789# These three variables are undocumented and unsupported,
1790# and are intended to be withdrawn in a future Autoconf release.
1791# They can cause serious problems if a builder's source tree is in a directory
1792# whose full name contains unusual characters.
1793ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1794ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1795ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1796
1797
1798# Find a good install program. We prefer a C program (faster),
1799# so one script is as good as another. But avoid the broken or
1800# incompatible versions:
1801# SysV /etc/install, /usr/sbin/install
1802# SunOS /usr/etc/install
1803# IRIX /sbin/install
1804# AIX /bin/install
1805# AmigaOS /C/install, which installs bootblocks on floppy discs
1806# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1807# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1808# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1809# OS/2's system install, which has a completely different semantic
1810# ./install, which can be erroneously created by make from ./install.sh.
1811{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1812echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1813if test -z "$INSTALL"; then
1814if test "${ac_cv_path_install+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1816else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818for as_dir in $PATH
1819do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 # Account for people who put trailing slashes in PATH elements.
1823case $as_dir/ in
1824 ./ | .// | /cC/* | \
1825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1826 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1827 /usr/ucb/* ) ;;
1828 *)
1829 # OSF1 and SCO ODT 3.0 have their own names for install.
1830 # Don't use installbsd from OSF since it installs stuff as root
1831 # by default.
1832 for ac_prog in ginstall scoinst install; do
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1835 if test $ac_prog = install &&
1836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1837 # AIX install. It has an incompatible calling convention.
1838 :
1839 elif test $ac_prog = install &&
1840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1841 # program-specific install script used by HP pwplus--don't use.
1842 :
1843 else
1844 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1845 break 3
1846 fi
1847 fi
1848 done
1849 done
1850 ;;
1851esac
1852done
1853IFS=$as_save_IFS
1854
1855
1856fi
1857 if test "${ac_cv_path_install+set}" = set; then
1858 INSTALL=$ac_cv_path_install
1859 else
1860 # As a last resort, use the slow shell script. Don't cache a
1861 # value for INSTALL within a source directory, because that will
1862 # break other packages using the cache if that directory is
1863 # removed, or if the value is a relative name.
1864 INSTALL=$ac_install_sh
1865 fi
1866fi
1867{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1868echo "${ECHO_T}$INSTALL" >&6; }
1869
1870# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1871# It thinks the first close brace ends the variable substitution.
1872test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1873
1874test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1875
1876test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1877
1878{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1879echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1880# Just in case
1881sleep 1
1882echo timestamp > conftest.file
1883# Do `set' in a subshell so we don't clobber the current shell's
1884# arguments. Must try -L first in case configure is actually a
1885# symlink; some systems play weird games with the mod time of symlinks
1886# (eg FreeBSD returns the mod time of the symlink's containing
1887# directory).
1888if (
1889 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1890 if test "$*" = "X"; then
1891 # -L didn't work.
1892 set X `ls -t $srcdir/configure conftest.file`
1893 fi
1894 rm -f conftest.file
1895 if test "$*" != "X $srcdir/configure conftest.file" \
1896 && test "$*" != "X conftest.file $srcdir/configure"; then
1897
1898 # If neither matched, then we have a broken ls. This can happen
1899 # if, for instance, CONFIG_SHELL is bash and it inherits a
1900 # broken ls alias from the environment. This has actually
1901 # happened. Such a system could not be considered "sane".
1902 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1903alias in your environment" >&5
1904echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1905alias in your environment" >&2;}
1906 { (exit 1); exit 1; }; }
1907 fi
1908
1909 test "$2" = conftest.file
1910 )
1911then
1912 # Ok.
1913 :
1914else
1915 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1916Check your system clock" >&5
1917echo "$as_me: error: newly created file is older than distributed files!
1918Check your system clock" >&2;}
1919 { (exit 1); exit 1; }; }
1920fi
1921{ echo "$as_me:$LINENO: result: yes" >&5
1922echo "${ECHO_T}yes" >&6; }
1923test "$program_prefix" != NONE &&
1924 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1925# Use a double $ so make ignores it.
1926test "$program_suffix" != NONE &&
1927 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1928# Double any \ or $. echo might interpret backslashes.
1929# By default was `s,x,x', remove it if useless.
1930cat <<\_ACEOF >conftest.sed
1931s/[\\$]/&&/g;s/;s,x,x,$//
1932_ACEOF
1933program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1934rm -f conftest.sed
1935
1936
1937# expand $ac_aux_dir to an absolute path
1938am_aux_dir=`cd $ac_aux_dir && pwd`
1939
1940test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1941# Use eval to expand $SHELL
1942if eval "$MISSING --run true"; then
1943 am_missing_run="$MISSING --run "
1944else
1945 am_missing_run=
1946 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1947echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1948fi
1949
1950for ac_prog in gawk mawk nawk awk
1951do
1952 # Extract the first word of "$ac_prog", so it can be a program name with args.
1953set dummy $ac_prog; ac_word=$2
1954{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1955echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1956if test "${ac_cv_prog_AWK+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1958else
1959 if test -n "$AWK"; then
1960 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1961else
1962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963for as_dir in $PATH
1964do
1965 IFS=$as_save_IFS
1966 test -z "$as_dir" && as_dir=.
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1969 ac_cv_prog_AWK="$ac_prog"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 break 2
1972 fi
1973done
1974done
1975IFS=$as_save_IFS
1976
1977fi
1978fi
1979AWK=$ac_cv_prog_AWK
1980if test -n "$AWK"; then
1981 { echo "$as_me:$LINENO: result: $AWK" >&5
1982echo "${ECHO_T}$AWK" >&6; }
1983else
1984 { echo "$as_me:$LINENO: result: no" >&5
1985echo "${ECHO_T}no" >&6; }
1986fi
1987
1988
1989 test -n "$AWK" && break
1990done
1991
1992{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997else
1998 cat >conftest.make <<\_ACEOF
1999SHELL = /bin/sh
2000all:
2001 @echo '@@@%%%=$(MAKE)=@@@%%%'
2002_ACEOF
2003# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004case `${MAKE-make} -f conftest.make 2>/dev/null` in
2005 *@@@%%%=?*=@@@%%%*)
2006 eval ac_cv_prog_make_${ac_make}_set=yes;;
2007 *)
2008 eval ac_cv_prog_make_${ac_make}_set=no;;
2009esac
2010rm -f conftest.make
2011fi
2012if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014echo "${ECHO_T}yes" >&6; }
2015 SET_MAKE=
2016else
2017 { echo "$as_me:$LINENO: result: no" >&5
2018echo "${ECHO_T}no" >&6; }
2019 SET_MAKE="MAKE=${MAKE-make}"
2020fi
2021
2022rm -rf .tst 2>/dev/null
2023mkdir .tst 2>/dev/null
2024if test -d .tst; then
2025 am__leading_dot=.
2026else
2027 am__leading_dot=_
2028fi
2029rmdir .tst 2>/dev/null
2030
2031 # test to see if srcdir already configured
2032if test "`cd $srcdir && pwd`" != "`pwd`" &&
2033 test -f $srcdir/config.status; then
2034 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2035echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2036 { (exit 1); exit 1; }; }
2037fi
2038
2039# test whether we have cygpath
2040if test -z "$CYGPATH_W"; then
2041 if (cygpath --version) >/dev/null 2>/dev/null; then
2042 CYGPATH_W='cygpath -w'
2043 else
2044 CYGPATH_W=echo
2045 fi
2046fi
2047
2048
2049# Define the identity of the package.
2050 PACKAGE=$PACKAGE
2051 VERSION=$VERSION
2052
2053
2054# Some tools Automake needs.
2055
2056ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2057
2058
2059AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2060
2061
2062AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2063
2064
2065AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2066
2067
2068MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2069
2070
2071AMTAR=${AMTAR-"${am_missing_run}tar"}
2072
2073install_sh=${install_sh-"$am_aux_dir/install-sh"}
2074
2075# Installed binaries are usually stripped using `strip' when the user
2076# run `make install-strip'. However `strip' might not be the right
2077# tool to use in cross-compilation environments, therefore Automake
2078# will honor the `STRIP' environment variable to overrule this program.
2079if test "$cross_compiling" != no; then
2080 if test -n "$ac_tool_prefix"; then
2081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2082set dummy ${ac_tool_prefix}strip; ac_word=$2
2083{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2084echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2085if test "${ac_cv_prog_STRIP+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2087else
2088 if test -n "$STRIP"; then
2089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2090else
2091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092for as_dir in $PATH
2093do
2094 IFS=$as_save_IFS
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 break 2
2101 fi
2102done
2103done
2104IFS=$as_save_IFS
2105
2106fi
2107fi
2108STRIP=$ac_cv_prog_STRIP
2109if test -n "$STRIP"; then
2110 { echo "$as_me:$LINENO: result: $STRIP" >&5
2111echo "${ECHO_T}$STRIP" >&6; }
2112else
2113 { echo "$as_me:$LINENO: result: no" >&5
2114echo "${ECHO_T}no" >&6; }
2115fi
2116
2117
2118fi
2119if test -z "$ac_cv_prog_STRIP"; then
2120 ac_ct_STRIP=$STRIP
2121 # Extract the first word of "strip", so it can be a program name with args.
2122set dummy strip; ac_word=$2
2123{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2125if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2127else
2128 if test -n "$ac_ct_STRIP"; then
2129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2130else
2131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132for as_dir in $PATH
2133do
2134 IFS=$as_save_IFS
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_ac_ct_STRIP="strip"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2141 fi
2142done
2143done
2144IFS=$as_save_IFS
2145
2146fi
2147fi
2148ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2149if test -n "$ac_ct_STRIP"; then
2150 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2151echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2152else
2153 { echo "$as_me:$LINENO: result: no" >&5
2154echo "${ECHO_T}no" >&6; }
2155fi
2156
2157 if test "x$ac_ct_STRIP" = x; then
2158 STRIP=":"
2159 else
2160 case $cross_compiling:$ac_tool_warned in
2161yes:)
2162{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2163whose name does not start with the host triplet. If you think this
2164configuration is useful to you, please write to autoconf@gnu.org." >&5
2165echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2166whose name does not start with the host triplet. If you think this
2167configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2168ac_tool_warned=yes ;;
2169esac
2170 STRIP=$ac_ct_STRIP
2171 fi
2172else
2173 STRIP="$ac_cv_prog_STRIP"
2174fi
2175
2176fi
2177INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2178
2179# We need awk for the "check" target. The system "awk" is bad on
2180# some platforms.
2181
2182
2183
2184
2185
2186ac_ext=c
2187ac_cpp='$CPP $CPPFLAGS'
2188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190ac_compiler_gnu=$ac_cv_c_compiler_gnu
2191if test -n "$ac_tool_prefix"; then
2192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2193set dummy ${ac_tool_prefix}gcc; ac_word=$2
2194{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2195echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196if test "${ac_cv_prog_CC+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2198else
2199 if test -n "$CC"; then
2200 ac_cv_prog_CC="$CC" # Let the user override the test.
2201else
2202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203for as_dir in $PATH
2204do
2205 IFS=$as_save_IFS
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 break 2
2212 fi
2213done
2214done
2215IFS=$as_save_IFS
2216
2217fi
2218fi
2219CC=$ac_cv_prog_CC
2220if test -n "$CC"; then
2221 { echo "$as_me:$LINENO: result: $CC" >&5
2222echo "${ECHO_T}$CC" >&6; }
2223else
2224 { echo "$as_me:$LINENO: result: no" >&5
2225echo "${ECHO_T}no" >&6; }
2226fi
2227
2228
2229fi
2230if test -z "$ac_cv_prog_CC"; then
2231 ac_ct_CC=$CC
2232 # Extract the first word of "gcc", so it can be a program name with args.
2233set dummy gcc; ac_word=$2
2234{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2235echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238else
2239 if test -n "$ac_ct_CC"; then
2240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2241else
2242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243for as_dir in $PATH
2244do
2245 IFS=$as_save_IFS
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2249 ac_cv_prog_ac_ct_CC="gcc"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 break 2
2252 fi
2253done
2254done
2255IFS=$as_save_IFS
2256
2257fi
2258fi
2259ac_ct_CC=$ac_cv_prog_ac_ct_CC
2260if test -n "$ac_ct_CC"; then
2261 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2262echo "${ECHO_T}$ac_ct_CC" >&6; }
2263else
2264 { echo "$as_me:$LINENO: result: no" >&5
2265echo "${ECHO_T}no" >&6; }
2266fi
2267
2268 if test "x$ac_ct_CC" = x; then
2269 CC=""
2270 else
2271 case $cross_compiling:$ac_tool_warned in
2272yes:)
2273{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2274whose name does not start with the host triplet. If you think this
2275configuration is useful to you, please write to autoconf@gnu.org." >&5
2276echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2277whose name does not start with the host triplet. If you think this
2278configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2279ac_tool_warned=yes ;;
2280esac
2281 CC=$ac_ct_CC
2282 fi
2283else
2284 CC="$ac_cv_prog_CC"
2285fi
2286
2287if test -z "$CC"; then
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2290set dummy ${ac_tool_prefix}cc; ac_word=$2
2291{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2292echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293if test "${ac_cv_prog_CC+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2295else
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2298else
2299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300for as_dir in $PATH
2301do
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC="${ac_tool_prefix}cc"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2309 fi
2310done
2311done
2312IFS=$as_save_IFS
2313
2314fi
2315fi
2316CC=$ac_cv_prog_CC
2317if test -n "$CC"; then
2318 { echo "$as_me:$LINENO: result: $CC" >&5
2319echo "${ECHO_T}$CC" >&6; }
2320else
2321 { echo "$as_me:$LINENO: result: no" >&5
2322echo "${ECHO_T}no" >&6; }
2323fi
2324
2325
2326 fi
2327fi
2328if test -z "$CC"; then
2329 # Extract the first word of "cc", so it can be a program name with args.
2330set dummy cc; ac_word=$2
2331{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2332echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333if test "${ac_cv_prog_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2335else
2336 if test -n "$CC"; then
2337 ac_cv_prog_CC="$CC" # Let the user override the test.
2338else
2339 ac_prog_rejected=no
2340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341for as_dir in $PATH
2342do
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2348 ac_prog_rejected=yes
2349 continue
2350 fi
2351 ac_cv_prog_CC="cc"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 break 2
2354 fi
2355done
2356done
2357IFS=$as_save_IFS
2358
2359if test $ac_prog_rejected = yes; then
2360 # We found a bogon in the path, so make sure we never use it.
2361 set dummy $ac_cv_prog_CC
2362 shift
2363 if test $# != 0; then
2364 # We chose a different compiler from the bogus one.
2365 # However, it has the same basename, so the bogon will be chosen
2366 # first if we set CC to just the basename; use the full file name.
2367 shift
2368 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2369 fi
2370fi
2371fi
2372fi
2373CC=$ac_cv_prog_CC
2374if test -n "$CC"; then
2375 { echo "$as_me:$LINENO: result: $CC" >&5
2376echo "${ECHO_T}$CC" >&6; }
2377else
2378 { echo "$as_me:$LINENO: result: no" >&5
2379echo "${ECHO_T}no" >&6; }
2380fi
2381
2382
2383fi
2384if test -z "$CC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 for ac_prog in cl.exe
2387 do
2388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2389set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2390{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2391echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2392if test "${ac_cv_prog_CC+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2394else
2395 if test -n "$CC"; then
2396 ac_cv_prog_CC="$CC" # Let the user override the test.
2397else
2398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399for as_dir in $PATH
2400do
2401 IFS=$as_save_IFS
2402 test -z "$as_dir" && as_dir=.
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2405 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 break 2
2408 fi
2409done
2410done
2411IFS=$as_save_IFS
2412
2413fi
2414fi
2415CC=$ac_cv_prog_CC
2416if test -n "$CC"; then
2417 { echo "$as_me:$LINENO: result: $CC" >&5
2418echo "${ECHO_T}$CC" >&6; }
2419else
2420 { echo "$as_me:$LINENO: result: no" >&5
2421echo "${ECHO_T}no" >&6; }
2422fi
2423
2424
2425 test -n "$CC" && break
2426 done
2427fi
2428if test -z "$CC"; then
2429 ac_ct_CC=$CC
2430 for ac_prog in cl.exe
2431do
2432 # Extract the first word of "$ac_prog", so it can be a program name with args.
2433set dummy $ac_prog; ac_word=$2
2434{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2435echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438else
2439 if test -n "$ac_ct_CC"; then
2440 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2441else
2442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443for as_dir in $PATH
2444do
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_prog_ac_ct_CC="$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2452 fi
2453done
2454done
2455IFS=$as_save_IFS
2456
2457fi
2458fi
2459ac_ct_CC=$ac_cv_prog_ac_ct_CC
2460if test -n "$ac_ct_CC"; then
2461 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2462echo "${ECHO_T}$ac_ct_CC" >&6; }
2463else
2464 { echo "$as_me:$LINENO: result: no" >&5
2465echo "${ECHO_T}no" >&6; }
2466fi
2467
2468
2469 test -n "$ac_ct_CC" && break
2470done
2471
2472 if test "x$ac_ct_CC" = x; then
2473 CC=""
2474 else
2475 case $cross_compiling:$ac_tool_warned in
2476yes:)
2477{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2478whose name does not start with the host triplet. If you think this
2479configuration is useful to you, please write to autoconf@gnu.org." >&5
2480echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2481whose name does not start with the host triplet. If you think this
2482configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2483ac_tool_warned=yes ;;
2484esac
2485 CC=$ac_ct_CC
2486 fi
2487fi
2488
2489fi
2490
2491
2492test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2493See \`config.log' for more details." >&5
2494echo "$as_me: error: no acceptable C compiler found in \$PATH
2495See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2497
2498# Provide some information about the compiler.
2499echo "$as_me:$LINENO: checking for C compiler version" >&5
2500ac_compiler=`set X $ac_compile; echo $2`
2501{ (ac_try="$ac_compiler --version >&5"
2502case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505esac
2506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_compiler --version >&5") 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }
2511{ (ac_try="$ac_compiler -v >&5"
2512case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515esac
2516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2517 (eval "$ac_compiler -v >&5") 2>&5
2518 ac_status=$?
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }
2521{ (ac_try="$ac_compiler -V >&5"
2522case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525esac
2526eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2527 (eval "$ac_compiler -V >&5") 2>&5
2528 ac_status=$?
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }
2531
2532cat >conftest.$ac_ext <<_ACEOF
2533/* confdefs.h. */
2534_ACEOF
2535cat confdefs.h >>conftest.$ac_ext
2536cat >>conftest.$ac_ext <<_ACEOF
2537/* end confdefs.h. */
2538
2539int
2540main ()
2541{
2542
2543 ;
2544 return 0;
2545}
2546_ACEOF
2547ac_clean_files_save=$ac_clean_files
2548ac_clean_files="$ac_clean_files a.out a.exe b.out"
2549# Try to create an executable without -o first, disregard a.out.
2550# It will help us diagnose broken compilers, and finding out an intuition
2551# of exeext.
2552{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2553echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2554ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2555#
2556# List of possible output files, starting from the most likely.
2557# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2558# only as a last resort. b.out is created by i960 compilers.
2559ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2560#
2561# The IRIX 6 linker writes into existing files which may not be
2562# executable, retaining their permissions. Remove them first so a
2563# subsequent execution test works.
2564ac_rmfiles=
2565for ac_file in $ac_files
2566do
2567 case $ac_file in
2568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2569 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2570 esac
2571done
2572rm -f $ac_rmfiles
2573
2574if { (ac_try="$ac_link_default"
2575case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2578esac
2579eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580 (eval "$ac_link_default") 2>&5
2581 ac_status=$?
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; then
2584 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2585# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2586# in a Makefile. We should not override ac_cv_exeext if it was cached,
2587# so that the user can short-circuit this test for compilers unknown to
2588# Autoconf.
2589for ac_file in $ac_files ''
2590do
2591 test -f "$ac_file" || continue
2592 case $ac_file in
2593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2594 ;;
2595 [ab].out )
2596 # We found the default executable, but exeext='' is most
2597 # certainly right.
2598 break;;
2599 *.* )
2600 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2601 then :; else
2602 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2603 fi
2604 # We set ac_cv_exeext here because the later test for it is not
2605 # safe: cross compilers may not add the suffix if given an `-o'
2606 # argument, so we may need to know it at that point already.
2607 # Even if this section looks crufty: it has the advantage of
2608 # actually working.
2609 break;;
2610 * )
2611 break;;
2612 esac
2613done
2614test "$ac_cv_exeext" = no && ac_cv_exeext=
2615
2616else
2617 ac_file=''
2618fi
2619
2620{ echo "$as_me:$LINENO: result: $ac_file" >&5
2621echo "${ECHO_T}$ac_file" >&6; }
2622if test -z "$ac_file"; then
2623 echo "$as_me: failed program was:" >&5
2624sed 's/^/| /' conftest.$ac_ext >&5
2625
2626{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2627See \`config.log' for more details." >&5
2628echo "$as_me: error: C compiler cannot create executables
2629See \`config.log' for more details." >&2;}
2630 { (exit 77); exit 77; }; }
2631fi
2632
2633ac_exeext=$ac_cv_exeext
2634
2635# Check that the compiler produces executables we can run. If not, either
2636# the compiler is broken, or we cross compile.
2637{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2638echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2639# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2640# If not cross compiling, check that we can run a simple program.
2641if test "$cross_compiling" != yes; then
2642 if { ac_try='./$ac_file'
2643 { (case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646esac
2647eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_try") 2>&5
2649 ac_status=$?
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 cross_compiling=no
2653 else
2654 if test "$cross_compiling" = maybe; then
2655 cross_compiling=yes
2656 else
2657 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2658If you meant to cross compile, use \`--host'.
2659See \`config.log' for more details." >&5
2660echo "$as_me: error: cannot run C compiled programs.
2661If you meant to cross compile, use \`--host'.
2662See \`config.log' for more details." >&2;}
2663 { (exit 1); exit 1; }; }
2664 fi
2665 fi
2666fi
2667{ echo "$as_me:$LINENO: result: yes" >&5
2668echo "${ECHO_T}yes" >&6; }
2669
2670rm -f a.out a.exe conftest$ac_cv_exeext b.out
2671ac_clean_files=$ac_clean_files_save
2672# Check that the compiler produces executables we can run. If not, either
2673# the compiler is broken, or we cross compile.
2674{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2675echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2676{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2677echo "${ECHO_T}$cross_compiling" >&6; }
2678
2679{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2680echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2681if { (ac_try="$ac_link"
2682case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685esac
2686eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2687 (eval "$ac_link") 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2692# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2693# work properly (i.e., refer to `conftest.exe'), while it won't with
2694# `rm'.
2695for ac_file in conftest.exe conftest conftest.*; do
2696 test -f "$ac_file" || continue
2697 case $ac_file in
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2699 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2700 break;;
2701 * ) break;;
2702 esac
2703done
2704else
2705 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2706See \`config.log' for more details." >&5
2707echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2708See \`config.log' for more details." >&2;}
2709 { (exit 1); exit 1; }; }
2710fi
2711
2712rm -f conftest$ac_cv_exeext
2713{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2714echo "${ECHO_T}$ac_cv_exeext" >&6; }
2715
2716rm -f conftest.$ac_ext
2717EXEEXT=$ac_cv_exeext
2718ac_exeext=$EXEEXT
2719{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2720echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2721if test "${ac_cv_objext+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2723else
2724 cat >conftest.$ac_ext <<_ACEOF
2725/* confdefs.h. */
2726_ACEOF
2727cat confdefs.h >>conftest.$ac_ext
2728cat >>conftest.$ac_ext <<_ACEOF
2729/* end confdefs.h. */
2730
2731int
2732main ()
2733{
2734
2735 ;
2736 return 0;
2737}
2738_ACEOF
2739rm -f conftest.o conftest.obj
2740if { (ac_try="$ac_compile"
2741case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744esac
2745eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_compile") 2>&5
2747 ac_status=$?
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; then
2750 for ac_file in conftest.o conftest.obj conftest.*; do
2751 test -f "$ac_file" || continue;
2752 case $ac_file in
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2755 break;;
2756 esac
2757done
2758else
2759 echo "$as_me: failed program was:" >&5
2760sed 's/^/| /' conftest.$ac_ext >&5
2761
2762{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2763See \`config.log' for more details." >&5
2764echo "$as_me: error: cannot compute suffix of object files: cannot compile
2765See \`config.log' for more details." >&2;}
2766 { (exit 1); exit 1; }; }
2767fi
2768
2769rm -f conftest.$ac_cv_objext conftest.$ac_ext
2770fi
2771{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2772echo "${ECHO_T}$ac_cv_objext" >&6; }
2773OBJEXT=$ac_cv_objext
2774ac_objext=$OBJEXT
2775{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2776echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2777if test "${ac_cv_c_compiler_gnu+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2779else
2780 cat >conftest.$ac_ext <<_ACEOF
2781/* confdefs.h. */
2782_ACEOF
2783cat confdefs.h >>conftest.$ac_ext
2784cat >>conftest.$ac_ext <<_ACEOF
2785/* end confdefs.h. */
2786
2787int
2788main ()
2789{
2790#ifndef __GNUC__
2791 choke me
2792#endif
2793
2794 ;
2795 return 0;
2796}
2797_ACEOF
2798rm -f conftest.$ac_objext
2799if { (ac_try="$ac_compile"
2800case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803esac
2804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_compile") 2>conftest.er1
2806 ac_status=$?
2807 grep -v '^ *+' conftest.er1 >conftest.err
2808 rm -f conftest.er1
2809 cat conftest.err >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); } &&
2812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2813 { (case "(($ac_try" in
2814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2815 *) ac_try_echo=$ac_try;;
2816esac
2817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2818 (eval "$ac_try") 2>&5
2819 ac_status=$?
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; } &&
2822 { ac_try='test -s conftest.$ac_objext'
2823 { (case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2826esac
2827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_try") 2>&5
2829 ac_status=$?
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2832 ac_compiler_gnu=yes
2833else
2834 echo "$as_me: failed program was:" >&5
2835sed 's/^/| /' conftest.$ac_ext >&5
2836
2837 ac_compiler_gnu=no
2838fi
2839
2840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841ac_cv_c_compiler_gnu=$ac_compiler_gnu
2842
2843fi
2844{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2845echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2846GCC=`test $ac_compiler_gnu = yes && echo yes`
2847ac_test_CFLAGS=${CFLAGS+set}
2848ac_save_CFLAGS=$CFLAGS
2849{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2850echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2851if test "${ac_cv_prog_cc_g+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853else
2854 ac_save_c_werror_flag=$ac_c_werror_flag
2855 ac_c_werror_flag=yes
2856 ac_cv_prog_cc_g=no
2857 CFLAGS="-g"
2858 cat >conftest.$ac_ext <<_ACEOF
2859/* confdefs.h. */
2860_ACEOF
2861cat confdefs.h >>conftest.$ac_ext
2862cat >>conftest.$ac_ext <<_ACEOF
2863/* end confdefs.h. */
2864
2865int
2866main ()
2867{
2868
2869 ;
2870 return 0;
2871}
2872_ACEOF
2873rm -f conftest.$ac_objext
2874if { (ac_try="$ac_compile"
2875case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878esac
2879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_compile") 2>conftest.er1
2881 ac_status=$?
2882 grep -v '^ *+' conftest.er1 >conftest.err
2883 rm -f conftest.er1
2884 cat conftest.err >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } &&
2887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2888 { (case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891esac
2892eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_try") 2>&5
2894 ac_status=$?
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try='test -s conftest.$ac_objext'
2898 { (case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901esac
2902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_try") 2>&5
2904 ac_status=$?
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2907 ac_cv_prog_cc_g=yes
2908else
2909 echo "$as_me: failed program was:" >&5
2910sed 's/^/| /' conftest.$ac_ext >&5
2911
2912 CFLAGS=""
2913 cat >conftest.$ac_ext <<_ACEOF
2914/* confdefs.h. */
2915_ACEOF
2916cat confdefs.h >>conftest.$ac_ext
2917cat >>conftest.$ac_ext <<_ACEOF
2918/* end confdefs.h. */
2919
2920int
2921main ()
2922{
2923
2924 ;
2925 return 0;
2926}
2927_ACEOF
2928rm -f conftest.$ac_objext
2929if { (ac_try="$ac_compile"
2930case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933esac
2934eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2936 ac_status=$?
2937 grep -v '^ *+' conftest.er1 >conftest.err
2938 rm -f conftest.er1
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } &&
2942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2943 { (case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946esac
2947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_try") 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956esac
2957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_try") 2>&5
2959 ac_status=$?
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 :
2963else
2964 echo "$as_me: failed program was:" >&5
2965sed 's/^/| /' conftest.$ac_ext >&5
2966
2967 ac_c_werror_flag=$ac_save_c_werror_flag
2968 CFLAGS="-g"
2969 cat >conftest.$ac_ext <<_ACEOF
2970/* confdefs.h. */
2971_ACEOF
2972cat confdefs.h >>conftest.$ac_ext
2973cat >>conftest.$ac_ext <<_ACEOF
2974/* end confdefs.h. */
2975
2976int
2977main ()
2978{
2979
2980 ;
2981 return 0;
2982}
2983_ACEOF
2984rm -f conftest.$ac_objext
2985if { (ac_try="$ac_compile"
2986case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2989esac
2990eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>conftest.er1
2992 ac_status=$?
2993 grep -v '^ *+' conftest.er1 >conftest.err
2994 rm -f conftest.er1
2995 cat conftest.err >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } &&
2998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2999 { (case "(($ac_try" in
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3002esac
3003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3004 (eval "$ac_try") 2>&5
3005 ac_status=$?
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; } &&
3008 { ac_try='test -s conftest.$ac_objext'
3009 { (case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012esac
3013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_try") 2>&5
3015 ac_status=$?
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; }; then
3018 ac_cv_prog_cc_g=yes
3019else
3020 echo "$as_me: failed program was:" >&5
3021sed 's/^/| /' conftest.$ac_ext >&5
3022
3023
3024fi
3025
3026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027fi
3028
3029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030fi
3031
3032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 ac_c_werror_flag=$ac_save_c_werror_flag
3034fi
3035{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3036echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3037if test "$ac_test_CFLAGS" = set; then
3038 CFLAGS=$ac_save_CFLAGS
3039elif test $ac_cv_prog_cc_g = yes; then
3040 if test "$GCC" = yes; then
3041 CFLAGS="-g -O2"
3042 else
3043 CFLAGS="-g"
3044 fi
3045else
3046 if test "$GCC" = yes; then
3047 CFLAGS="-O2"
3048 else
3049 CFLAGS=
3050 fi
3051fi
3052{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3053echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3054if test "${ac_cv_prog_cc_c89+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056else
3057 ac_cv_prog_cc_c89=no
3058ac_save_CC=$CC
3059cat >conftest.$ac_ext <<_ACEOF
3060/* confdefs.h. */
3061_ACEOF
3062cat confdefs.h >>conftest.$ac_ext
3063cat >>conftest.$ac_ext <<_ACEOF
3064/* end confdefs.h. */
3065#include <stdarg.h>
3066#include <stdio.h>
3067#include <sys/types.h>
3068#include <sys/stat.h>
3069/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3070struct buf { int x; };
3071FILE * (*rcsopen) (struct buf *, struct stat *, int);
3072static char *e (p, i)
3073 char **p;
3074 int i;
3075{
3076 return p[i];
3077}
3078static char *f (char * (*g) (char **, int), char **p, ...)
3079{
3080 char *s;
3081 va_list v;
3082 va_start (v,p);
3083 s = g (p, va_arg (v,int));
3084 va_end (v);
3085 return s;
3086}
3087
3088/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3089 function prototypes and stuff, but not '\xHH' hex character constants.
3090 These don't provoke an error unfortunately, instead are silently treated
3091 as 'x'. The following induces an error, until -std is added to get
3092 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3093 array size at least. It's necessary to write '\x00'==0 to get something
3094 that's true only with -std. */
3095int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3096
3097/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3098 inside strings and character constants. */
3099#define FOO(x) 'x'
3100int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3101
3102int test (int i, double x);
3103struct s1 {int (*f) (int a);};
3104struct s2 {int (*f) (double a);};
3105int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3106int argc;
3107char **argv;
3108int
3109main ()
3110{
3111return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3112 ;
3113 return 0;
3114}
3115_ACEOF
3116for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3117 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3118do
3119 CC="$ac_save_CC $ac_arg"
3120 rm -f conftest.$ac_objext
3121if { (ac_try="$ac_compile"
3122case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125esac
3126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3127 (eval "$ac_compile") 2>conftest.er1
3128 ac_status=$?
3129 grep -v '^ *+' conftest.er1 >conftest.err
3130 rm -f conftest.er1
3131 cat conftest.err >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } &&
3134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3135 { (case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138esac
3139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_try") 2>&5
3141 ac_status=$?
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; } &&
3144 { ac_try='test -s conftest.$ac_objext'
3145 { (case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148esac
3149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_try") 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_cv_prog_cc_c89=$ac_arg
3155else
3156 echo "$as_me: failed program was:" >&5
3157sed 's/^/| /' conftest.$ac_ext >&5
3158
3159
3160fi
3161
3162rm -f core conftest.err conftest.$ac_objext
3163 test "x$ac_cv_prog_cc_c89" != "xno" && break
3164done
3165rm -f conftest.$ac_ext
3166CC=$ac_save_CC
3167
3168fi
3169# AC_CACHE_VAL
3170case "x$ac_cv_prog_cc_c89" in
3171 x)
3172 { echo "$as_me:$LINENO: result: none needed" >&5
3173echo "${ECHO_T}none needed" >&6; } ;;
3174 xno)
3175 { echo "$as_me:$LINENO: result: unsupported" >&5
3176echo "${ECHO_T}unsupported" >&6; } ;;
3177 *)
3178 CC="$CC $ac_cv_prog_cc_c89"
3179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3180echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3181esac
3182
3183
3184ac_ext=c
3185ac_cpp='$CPP $CPPFLAGS'
3186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189DEPDIR="${am__leading_dot}deps"
3190
3191ac_config_commands="$ac_config_commands depfiles"
3192
3193
3194am_make=${MAKE-make}
3195cat > confinc << 'END'
3196am__doit:
3197 @echo done
3198.PHONY: am__doit
3199END
3200# If we don't find an include directive, just comment out the code.
3201{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3202echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3203am__include="#"
3204am__quote=
3205_am_result=none
3206# First try GNU make style include.
3207echo "include confinc" > confmf
3208# We grep out `Entering directory' and `Leaving directory'
3209# messages which can occur if `w' ends up in MAKEFLAGS.
3210# In particular we don't look at `^make:' because GNU make might
3211# be invoked under some other name (usually "gmake"), in which
3212# case it prints its new name instead of `make'.
3213if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3214 am__include=include
3215 am__quote=
3216 _am_result=GNU
3217fi
3218# Now try BSD make style include.
3219if test "$am__include" = "#"; then
3220 echo '.include "confinc"' > confmf
3221 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3222 am__include=.include
3223 am__quote="\""
3224 _am_result=BSD
3225 fi
3226fi
3227
3228
3229{ echo "$as_me:$LINENO: result: $_am_result" >&5
3230echo "${ECHO_T}$_am_result" >&6; }
3231rm -f confinc confmf
3232
3233# Check whether --enable-dependency-tracking was given.
3234if test "${enable_dependency_tracking+set}" = set; then
3235 enableval=$enable_dependency_tracking;
3236fi
3237
3238if test "x$enable_dependency_tracking" != xno; then
3239 am_depcomp="$ac_aux_dir/depcomp"
3240 AMDEPBACKSLASH='\'
3241fi
3242
3243
3244if test "x$enable_dependency_tracking" != xno; then
3245 AMDEP_TRUE=
3246 AMDEP_FALSE='#'
3247else
3248 AMDEP_TRUE='#'
3249 AMDEP_FALSE=
3250fi
3251
3252
3253
3254
3255depcc="$CC" am_compiler_list=
3256
3257{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3258echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3259if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3261else
3262 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3263 # We make a subdir and do the tests there. Otherwise we can end up
3264 # making bogus files that we don't know about and never remove. For
3265 # instance it was reported that on HP-UX the gcc test will end up
3266 # making a dummy file named `D' -- because `-MD' means `put the output
3267 # in D'.
3268 mkdir conftest.dir
3269 # Copy depcomp to subdir because otherwise we won't find it if we're
3270 # using a relative directory.
3271 cp "$am_depcomp" conftest.dir
3272 cd conftest.dir
3273 # We will build objects and dependencies in a subdirectory because
3274 # it helps to detect inapplicable dependency modes. For instance
3275 # both Tru64's cc and ICC support -MD to output dependencies as a
3276 # side effect of compilation, but ICC will put the dependencies in
3277 # the current directory while Tru64 will put them in the object
3278 # directory.
3279 mkdir sub
3280
3281 am_cv_CC_dependencies_compiler_type=none
3282 if test "$am_compiler_list" = ""; then
3283 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3284 fi
3285 for depmode in $am_compiler_list; do
3286 # Setup a source with many dependencies, because some compilers
3287 # like to wrap large dependency lists on column 80 (with \), and
3288 # we should not choose a depcomp mode which is confused by this.
3289 #
3290 # We need to recreate these files for each test, as the compiler may
3291 # overwrite some of them when testing with obscure command lines.
3292 # This happens at least with the AIX C compiler.
3293 : > sub/conftest.c
3294 for i in 1 2 3 4 5 6; do
3295 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3296 : > sub/conftst$i.h
3297 done
3298 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3299
3300 case $depmode in
3301 nosideeffect)
3302 # after this tag, mechanisms are not by side-effect, so they'll
3303 # only be used when explicitly requested
3304 if test "x$enable_dependency_tracking" = xyes; then
3305 continue
3306 else
3307 break
3308 fi
3309 ;;
3310 none) break ;;
3311 esac
3312 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3313 # mode. It turns out that the SunPro C++ compiler does not properly
3314 # handle `-M -o', and we need to detect this.
3315 if depmode=$depmode \
3316 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3317 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3318 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3319 >/dev/null 2>conftest.err &&
3320 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3321 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3322 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3323 # icc doesn't choke on unknown options, it will just issue warnings
3324 # (even with -Werror). So we grep stderr for any message
3325 # that says an option was ignored.
3326 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3327 am_cv_CC_dependencies_compiler_type=$depmode
3328 break
3329 fi
3330 fi
3331 done
3332
3333 cd ..
3334 rm -rf conftest.dir
3335else
3336 am_cv_CC_dependencies_compiler_type=none
3337fi
3338
3339fi
3340{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3341echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3342CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3343
3344
3345
3346if
3347 test "x$enable_dependency_tracking" != xno \
3348 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3349 am__fastdepCC_TRUE=
3350 am__fastdepCC_FALSE='#'
3351else
3352 am__fastdepCC_TRUE='#'
3353 am__fastdepCC_FALSE=
3354fi
3355
3356
3357
3358ALL_LINGUAS="de"
3359
3360ac_ext=c
3361ac_cpp='$CPP $CPPFLAGS'
3362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364ac_compiler_gnu=$ac_cv_c_compiler_gnu
3365{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3366echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3367# On Suns, sometimes $CPP names a directory.
3368if test -n "$CPP" && test -d "$CPP"; then
3369 CPP=
3370fi
3371if test -z "$CPP"; then
3372 if test "${ac_cv_prog_CPP+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3374else
3375 # Double quotes because CPP needs to be expanded
3376 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3377 do
3378 ac_preproc_ok=false
3379for ac_c_preproc_warn_flag in '' yes
3380do
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat >conftest.$ac_ext <<_ACEOF
3388/* confdefs.h. */
3389_ACEOF
3390cat confdefs.h >>conftest.$ac_ext
3391cat >>conftest.$ac_ext <<_ACEOF
3392/* end confdefs.h. */
3393#ifdef __STDC__
3394# include <limits.h>
3395#else
3396# include <assert.h>
3397#endif
3398 Syntax error
3399_ACEOF
3400if { (ac_try="$ac_cpp conftest.$ac_ext"
3401case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3404esac
3405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3407 ac_status=$?
3408 grep -v '^ *+' conftest.er1 >conftest.err
3409 rm -f conftest.er1
3410 cat conftest.err >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } >/dev/null; then
3413 if test -s conftest.err; then
3414 ac_cpp_err=$ac_c_preproc_warn_flag
3415 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3416 else
3417 ac_cpp_err=
3418 fi
3419else
3420 ac_cpp_err=yes
3421fi
3422if test -z "$ac_cpp_err"; then
3423 :
3424else
3425 echo "$as_me: failed program was:" >&5
3426sed 's/^/| /' conftest.$ac_ext >&5
3427
3428 # Broken: fails on valid input.
3429continue
3430fi
3431
3432rm -f conftest.err conftest.$ac_ext
3433
3434 # OK, works on sane cases. Now check whether nonexistent headers
3435 # can be detected and how.
3436 cat >conftest.$ac_ext <<_ACEOF
3437/* confdefs.h. */
3438_ACEOF
3439cat confdefs.h >>conftest.$ac_ext
3440cat >>conftest.$ac_ext <<_ACEOF
3441/* end confdefs.h. */
3442#include <ac_nonexistent.h>
3443_ACEOF
3444if { (ac_try="$ac_cpp conftest.$ac_ext"
3445case "(($ac_try" in
3446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3448esac
3449eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3451 ac_status=$?
3452 grep -v '^ *+' conftest.er1 >conftest.err
3453 rm -f conftest.er1
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } >/dev/null; then
3457 if test -s conftest.err; then
3458 ac_cpp_err=$ac_c_preproc_warn_flag
3459 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3460 else
3461 ac_cpp_err=
3462 fi
3463else
3464 ac_cpp_err=yes
3465fi
3466if test -z "$ac_cpp_err"; then
3467 # Broken: success on invalid input.
3468continue
3469else
3470 echo "$as_me: failed program was:" >&5
3471sed 's/^/| /' conftest.$ac_ext >&5
3472
3473 # Passes both tests.
3474ac_preproc_ok=:
3475break
3476fi
3477
3478rm -f conftest.err conftest.$ac_ext
3479
3480done
3481# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3482rm -f conftest.err conftest.$ac_ext
3483if $ac_preproc_ok; then
3484 break
3485fi
3486
3487 done
3488 ac_cv_prog_CPP=$CPP
3489
3490fi
3491 CPP=$ac_cv_prog_CPP
3492else
3493 ac_cv_prog_CPP=$CPP
3494fi
3495{ echo "$as_me:$LINENO: result: $CPP" >&5
3496echo "${ECHO_T}$CPP" >&6; }
3497ac_preproc_ok=false
3498for ac_c_preproc_warn_flag in '' yes
3499do
3500 # Use a header file that comes with gcc, so configuring glibc
3501 # with a fresh cross-compiler works.
3502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3503 # <limits.h> exists even on freestanding compilers.
3504 # On the NeXT, cc -E runs the code through the compiler's parser,
3505 # not just through cpp. "Syntax error" is here to catch this case.
3506 cat >conftest.$ac_ext <<_ACEOF
3507/* confdefs.h. */
3508_ACEOF
3509cat confdefs.h >>conftest.$ac_ext
3510cat >>conftest.$ac_ext <<_ACEOF
3511/* end confdefs.h. */
3512#ifdef __STDC__
3513# include <limits.h>
3514#else
3515# include <assert.h>
3516#endif
3517 Syntax error
3518_ACEOF
3519if { (ac_try="$ac_cpp conftest.$ac_ext"
3520case "(($ac_try" in
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3523esac
3524eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3526 ac_status=$?
3527 grep -v '^ *+' conftest.er1 >conftest.err
3528 rm -f conftest.er1
3529 cat conftest.err >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } >/dev/null; then
3532 if test -s conftest.err; then
3533 ac_cpp_err=$ac_c_preproc_warn_flag
3534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3535 else
3536 ac_cpp_err=
3537 fi
3538else
3539 ac_cpp_err=yes
3540fi
3541if test -z "$ac_cpp_err"; then
3542 :
3543else
3544 echo "$as_me: failed program was:" >&5
3545sed 's/^/| /' conftest.$ac_ext >&5
3546
3547 # Broken: fails on valid input.
3548continue
3549fi
3550
3551rm -f conftest.err conftest.$ac_ext
3552
3553 # OK, works on sane cases. Now check whether nonexistent headers
3554 # can be detected and how.
3555 cat >conftest.$ac_ext <<_ACEOF
3556/* confdefs.h. */
3557_ACEOF
3558cat confdefs.h >>conftest.$ac_ext
3559cat >>conftest.$ac_ext <<_ACEOF
3560/* end confdefs.h. */
3561#include <ac_nonexistent.h>
3562_ACEOF
3563if { (ac_try="$ac_cpp conftest.$ac_ext"
3564case "(($ac_try" in
3565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3566 *) ac_try_echo=$ac_try;;
3567esac
3568eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3570 ac_status=$?
3571 grep -v '^ *+' conftest.er1 >conftest.err
3572 rm -f conftest.er1
3573 cat conftest.err >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } >/dev/null; then
3576 if test -s conftest.err; then
3577 ac_cpp_err=$ac_c_preproc_warn_flag
3578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3579 else
3580 ac_cpp_err=
3581 fi
3582else
3583 ac_cpp_err=yes
3584fi
3585if test -z "$ac_cpp_err"; then
3586 # Broken: success on invalid input.
3587continue
3588else
3589 echo "$as_me: failed program was:" >&5
3590sed 's/^/| /' conftest.$ac_ext >&5
3591
3592 # Passes both tests.
3593ac_preproc_ok=:
3594break
3595fi
3596
3597rm -f conftest.err conftest.$ac_ext
3598
3599done
3600# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3601rm -f conftest.err conftest.$ac_ext
3602if $ac_preproc_ok; then
3603 :
3604else
3605 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3606See \`config.log' for more details." >&5
3607echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3608See \`config.log' for more details." >&2;}
3609 { (exit 1); exit 1; }; }
3610fi
3611
3612ac_ext=c
3613ac_cpp='$CPP $CPPFLAGS'
3614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616ac_compiler_gnu=$ac_cv_c_compiler_gnu
3617
3618
3619{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3620echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3621if test "${ac_cv_path_GREP+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3623else
3624 # Extract the first word of "grep ggrep" to use in msg output
3625if test -z "$GREP"; then
3626set dummy grep ggrep; ac_prog_name=$2
3627if test "${ac_cv_path_GREP+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3629else
3630 ac_path_GREP_found=false
3631# Loop through the user's path and test for each of PROGNAME-LIST
3632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3634do
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_prog in grep ggrep; do
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3640 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3641 # Check for GNU ac_path_GREP and select it if it is found.
3642 # Check for GNU $ac_path_GREP
3643case `"$ac_path_GREP" --version 2>&1` in
3644*GNU*)
3645 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3646*)
3647 ac_count=0
3648 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3649 while :
3650 do
3651 cat "conftest.in" "conftest.in" >"conftest.tmp"
3652 mv "conftest.tmp" "conftest.in"
3653 cp "conftest.in" "conftest.nl"
3654 echo 'GREP' >> "conftest.nl"
3655 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3656 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3657 ac_count=`expr $ac_count + 1`
3658 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3659 # Best one so far, save it but keep looking for a better one
3660 ac_cv_path_GREP="$ac_path_GREP"
3661 ac_path_GREP_max=$ac_count
3662 fi
3663 # 10*(2^10) chars as input seems more than enough
3664 test $ac_count -gt 10 && break
3665 done
3666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3667esac
3668
3669
3670 $ac_path_GREP_found && break 3
3671 done
3672done
3673
3674done
3675IFS=$as_save_IFS
3676
3677
3678fi
3679
3680GREP="$ac_cv_path_GREP"
3681if test -z "$GREP"; then
3682 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3683echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3684 { (exit 1); exit 1; }; }
3685fi
3686
3687else
3688 ac_cv_path_GREP=$GREP
3689fi
3690
3691
3692fi
3693{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3694echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3695 GREP="$ac_cv_path_GREP"
3696
3697
3698{ echo "$as_me:$LINENO: checking for egrep" >&5
3699echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3700if test "${ac_cv_path_EGREP+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702else
3703 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3704 then ac_cv_path_EGREP="$GREP -E"
3705 else
3706 # Extract the first word of "egrep" to use in msg output
3707if test -z "$EGREP"; then
3708set dummy egrep; ac_prog_name=$2
3709if test "${ac_cv_path_EGREP+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3711else
3712 ac_path_EGREP_found=false
3713# Loop through the user's path and test for each of PROGNAME-LIST
3714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3716do
3717 IFS=$as_save_IFS
3718 test -z "$as_dir" && as_dir=.
3719 for ac_prog in egrep; do
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3722 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3723 # Check for GNU ac_path_EGREP and select it if it is found.
3724 # Check for GNU $ac_path_EGREP
3725case `"$ac_path_EGREP" --version 2>&1` in
3726*GNU*)
3727 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3728*)
3729 ac_count=0
3730 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3731 while :
3732 do
3733 cat "conftest.in" "conftest.in" >"conftest.tmp"
3734 mv "conftest.tmp" "conftest.in"
3735 cp "conftest.in" "conftest.nl"
3736 echo 'EGREP' >> "conftest.nl"
3737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3739 ac_count=`expr $ac_count + 1`
3740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3741 # Best one so far, save it but keep looking for a better one
3742 ac_cv_path_EGREP="$ac_path_EGREP"
3743 ac_path_EGREP_max=$ac_count
3744 fi
3745 # 10*(2^10) chars as input seems more than enough
3746 test $ac_count -gt 10 && break
3747 done
3748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3749esac
3750
3751
3752 $ac_path_EGREP_found && break 3
3753 done
3754done
3755
3756done
3757IFS=$as_save_IFS
3758
3759
3760fi
3761
3762EGREP="$ac_cv_path_EGREP"
3763if test -z "$EGREP"; then
3764 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3765echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3766 { (exit 1); exit 1; }; }
3767fi
3768
3769else
3770 ac_cv_path_EGREP=$EGREP
3771fi
3772
3773
3774 fi
3775fi
3776{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3777echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3778 EGREP="$ac_cv_path_EGREP"
3779
3780
3781{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3782echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3783if test "${ac_cv_header_stdc+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3785else
3786 cat >conftest.$ac_ext <<_ACEOF
3787/* confdefs.h. */
3788_ACEOF
3789cat confdefs.h >>conftest.$ac_ext
3790cat >>conftest.$ac_ext <<_ACEOF
3791/* end confdefs.h. */
3792#include <stdlib.h>
3793#include <stdarg.h>
3794#include <string.h>
3795#include <float.h>
3796
3797int
3798main ()
3799{
3800
3801 ;
3802 return 0;
3803}
3804_ACEOF
3805rm -f conftest.$ac_objext
3806if { (ac_try="$ac_compile"
3807case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810esac
3811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_compile") 2>conftest.er1
3813 ac_status=$?
3814 grep -v '^ *+' conftest.er1 >conftest.err
3815 rm -f conftest.er1
3816 cat conftest.err >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3820 { (case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3823esac
3824eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_try") 2>&5
3826 ac_status=$?
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; } &&
3829 { ac_try='test -s conftest.$ac_objext'
3830 { (case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3833esac
3834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_try") 2>&5
3836 ac_status=$?
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 ac_cv_header_stdc=yes
3840else
3841 echo "$as_me: failed program was:" >&5
3842sed 's/^/| /' conftest.$ac_ext >&5
3843
3844 ac_cv_header_stdc=no
3845fi
3846
3847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848
3849if test $ac_cv_header_stdc = yes; then
3850 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3851 cat >conftest.$ac_ext <<_ACEOF
3852/* confdefs.h. */
3853_ACEOF
3854cat confdefs.h >>conftest.$ac_ext
3855cat >>conftest.$ac_ext <<_ACEOF
3856/* end confdefs.h. */
3857#include <string.h>
3858
3859_ACEOF
3860if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3861 $EGREP "memchr" >/dev/null 2>&1; then
3862 :
3863else
3864 ac_cv_header_stdc=no
3865fi
3866rm -f conftest*
3867
3868fi
3869
3870if test $ac_cv_header_stdc = yes; then
3871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3872 cat >conftest.$ac_ext <<_ACEOF
3873/* confdefs.h. */
3874_ACEOF
3875cat confdefs.h >>conftest.$ac_ext
3876cat >>conftest.$ac_ext <<_ACEOF
3877/* end confdefs.h. */
3878#include <stdlib.h>
3879
3880_ACEOF
3881if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3882 $EGREP "free" >/dev/null 2>&1; then
3883 :
3884else
3885 ac_cv_header_stdc=no
3886fi
3887rm -f conftest*
3888
3889fi
3890
3891if test $ac_cv_header_stdc = yes; then
3892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3893 if test "$cross_compiling" = yes; then
3894 :
3895else
3896 cat >conftest.$ac_ext <<_ACEOF
3897/* confdefs.h. */
3898_ACEOF
3899cat confdefs.h >>conftest.$ac_ext
3900cat >>conftest.$ac_ext <<_ACEOF
3901/* end confdefs.h. */
3902#include <ctype.h>
3903#include <stdlib.h>
3904#if ((' ' & 0x0FF) == 0x020)
3905# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3906# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3907#else
3908# define ISLOWER(c) \
3909 (('a' <= (c) && (c) <= 'i') \
3910 || ('j' <= (c) && (c) <= 'r') \
3911 || ('s' <= (c) && (c) <= 'z'))
3912# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3913#endif
3914
3915#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3916int
3917main ()
3918{
3919 int i;
3920 for (i = 0; i < 256; i++)
3921 if (XOR (islower (i), ISLOWER (i))
3922 || toupper (i) != TOUPPER (i))
3923 return 2;
3924 return 0;
3925}
3926_ACEOF
3927rm -f conftest$ac_exeext
3928if { (ac_try="$ac_link"
3929case "(($ac_try" in
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3932esac
3933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3934 (eval "$ac_link") 2>&5
3935 ac_status=$?
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3938 { (case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941esac
3942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3943 (eval "$ac_try") 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 :
3948else
3949 echo "$as_me: program exited with status $ac_status" >&5
3950echo "$as_me: failed program was:" >&5
3951sed 's/^/| /' conftest.$ac_ext >&5
3952
3953( exit $ac_status )
3954ac_cv_header_stdc=no
3955fi
3956rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3957fi
3958
3959
3960fi
3961fi
3962{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3963echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3964if test $ac_cv_header_stdc = yes; then
3965
3966cat >>confdefs.h <<\_ACEOF
3967#define STDC_HEADERS 1
3968_ACEOF
3969
3970fi
3971
3972# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3983 inttypes.h stdint.h unistd.h
3984do
3985as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3986{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3987echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3988if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3990else
3991 cat >conftest.$ac_ext <<_ACEOF
3992/* confdefs.h. */
3993_ACEOF
3994cat confdefs.h >>conftest.$ac_ext
3995cat >>conftest.$ac_ext <<_ACEOF
3996/* end confdefs.h. */
3997$ac_includes_default
3998
3999#include <$ac_header>
4000_ACEOF
4001rm -f conftest.$ac_objext
4002if { (ac_try="$ac_compile"
4003case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006esac
4007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_compile") 2>conftest.er1
4009 ac_status=$?
4010 grep -v '^ *+' conftest.er1 >conftest.err
4011 rm -f conftest.er1
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } &&
4015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4016 { (case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019esac
4020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_try") 2>&5
4022 ac_status=$?
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; } &&
4025 { ac_try='test -s conftest.$ac_objext'
4026 { (case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029esac
4030eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_try") 2>&5
4032 ac_status=$?
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; }; then
4035 eval "$as_ac_Header=yes"
4036else
4037 echo "$as_me: failed program was:" >&5
4038sed 's/^/| /' conftest.$ac_ext >&5
4039
4040 eval "$as_ac_Header=no"
4041fi
4042
4043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4044fi
4045ac_res=`eval echo '${'$as_ac_Header'}'`
4046 { echo "$as_me:$LINENO: result: $ac_res" >&5
4047echo "${ECHO_T}$ac_res" >&6; }
4048if test `eval echo '${'$as_ac_Header'}'` = yes; then
4049 cat >>confdefs.h <<_ACEOF
4050#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4051_ACEOF
4052
4053fi
4054
4055done
4056
4057
4058
4059
4060for ac_header in locale.h
4061do
4062as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4063if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4065echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4066if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068fi
4069ac_res=`eval echo '${'$as_ac_Header'}'`
4070 { echo "$as_me:$LINENO: result: $ac_res" >&5
4071echo "${ECHO_T}$ac_res" >&6; }
4072else
4073 # Is the header compilable?
4074{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4075echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4076cat >conftest.$ac_ext <<_ACEOF
4077/* confdefs.h. */
4078_ACEOF
4079cat confdefs.h >>conftest.$ac_ext
4080cat >>conftest.$ac_ext <<_ACEOF
4081/* end confdefs.h. */
4082$ac_includes_default
4083#include <$ac_header>
4084_ACEOF
4085rm -f conftest.$ac_objext
4086if { (ac_try="$ac_compile"
4087case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090esac
4091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_compile") 2>conftest.er1
4093 ac_status=$?
4094 grep -v '^ *+' conftest.er1 >conftest.err
4095 rm -f conftest.er1
4096 cat conftest.err >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4100 { (case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103esac
4104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4105 (eval "$ac_try") 2>&5
4106 ac_status=$?
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try='test -s conftest.$ac_objext'
4110 { (case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4113esac
4114eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4115 (eval "$ac_try") 2>&5
4116 ac_status=$?
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then
4119 ac_header_compiler=yes
4120else
4121 echo "$as_me: failed program was:" >&5
4122sed 's/^/| /' conftest.$ac_ext >&5
4123
4124 ac_header_compiler=no
4125fi
4126
4127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4128{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4129echo "${ECHO_T}$ac_header_compiler" >&6; }
4130
4131# Is the header present?
4132{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4133echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4134cat >conftest.$ac_ext <<_ACEOF
4135/* confdefs.h. */
4136_ACEOF
4137cat confdefs.h >>conftest.$ac_ext
4138cat >>conftest.$ac_ext <<_ACEOF
4139/* end confdefs.h. */
4140#include <$ac_header>
4141_ACEOF
4142if { (ac_try="$ac_cpp conftest.$ac_ext"
4143case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146esac
4147eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4149 ac_status=$?
4150 grep -v '^ *+' conftest.er1 >conftest.err
4151 rm -f conftest.er1
4152 cat conftest.err >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } >/dev/null; then
4155 if test -s conftest.err; then
4156 ac_cpp_err=$ac_c_preproc_warn_flag
4157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4158 else
4159 ac_cpp_err=
4160 fi
4161else
4162 ac_cpp_err=yes
4163fi
4164if test -z "$ac_cpp_err"; then
4165 ac_header_preproc=yes
4166else
4167 echo "$as_me: failed program was:" >&5
4168sed 's/^/| /' conftest.$ac_ext >&5
4169
4170 ac_header_preproc=no
4171fi
4172
4173rm -f conftest.err conftest.$ac_ext
4174{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4175echo "${ECHO_T}$ac_header_preproc" >&6; }
4176
4177# So? What about this header?
4178case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4179 yes:no: )
4180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4181echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4183echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4184 ac_header_preproc=yes
4185 ;;
4186 no:yes:* )
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4188echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4190echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4192echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4194echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4196echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4198echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4199
4200 ;;
4201esac
4202{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4203echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4204if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4206else
4207 eval "$as_ac_Header=\$ac_header_preproc"
4208fi
4209ac_res=`eval echo '${'$as_ac_Header'}'`
4210 { echo "$as_me:$LINENO: result: $ac_res" >&5
4211echo "${ECHO_T}$ac_res" >&6; }
4212
4213fi
4214if test `eval echo '${'$as_ac_Header'}'` = yes; then
4215 cat >>confdefs.h <<_ACEOF
4216#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4217_ACEOF
4218
4219fi
4220
4221done
4222
4223 if test $ac_cv_header_locale_h = yes; then
4224 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4225echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
4226if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4228else
4229 cat >conftest.$ac_ext <<_ACEOF
4230/* confdefs.h. */
4231_ACEOF
4232cat confdefs.h >>conftest.$ac_ext
4233cat >>conftest.$ac_ext <<_ACEOF
4234/* end confdefs.h. */
4235#include <locale.h>
4236int
4237main ()
4238{
4239return LC_MESSAGES
4240 ;
4241 return 0;
4242}
4243_ACEOF
4244rm -f conftest.$ac_objext conftest$ac_exeext
4245if { (ac_try="$ac_link"
4246case "(($ac_try" in
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4249esac
4250eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4251 (eval "$ac_link") 2>conftest.er1
4252 ac_status=$?
4253 grep -v '^ *+' conftest.er1 >conftest.err
4254 rm -f conftest.er1
4255 cat conftest.err >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } &&
4258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4259 { (case "(($ac_try" in
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4262esac
4263eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4264 (eval "$ac_try") 2>&5
4265 ac_status=$?
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; } &&
4268 { ac_try='test -s conftest$ac_exeext'
4269 { (case "(($ac_try" in
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4272esac
4273eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 (eval "$ac_try") 2>&5
4275 ac_status=$?
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 am_cv_val_LC_MESSAGES=yes
4279else
4280 echo "$as_me: failed program was:" >&5
4281sed 's/^/| /' conftest.$ac_ext >&5
4282
4283 am_cv_val_LC_MESSAGES=no
4284fi
4285
4286rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4287 conftest$ac_exeext conftest.$ac_ext
4288fi
4289{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4290echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
4291 if test $am_cv_val_LC_MESSAGES = yes; then
4292
4293cat >>confdefs.h <<\_ACEOF
4294#define HAVE_LC_MESSAGES 1
4295_ACEOF
4296
4297 fi
4298 fi
4299 USE_NLS=yes
4300
4301
4302 gt_cv_have_gettext=no
4303
4304 CATOBJEXT=NONE
4305 XGETTEXT=:
4306 INTLLIBS=
4307
4308 if test "${ac_cv_header_libintl_h+set}" = set; then
4309 { echo "$as_me:$LINENO: checking for libintl.h" >&5
4310echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4311if test "${ac_cv_header_libintl_h+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4313fi
4314{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4315echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4316else
4317 # Is the header compilable?
4318{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
4319echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
4320cat >conftest.$ac_ext <<_ACEOF
4321/* confdefs.h. */
4322_ACEOF
4323cat confdefs.h >>conftest.$ac_ext
4324cat >>conftest.$ac_ext <<_ACEOF
4325/* end confdefs.h. */
4326$ac_includes_default
4327#include <libintl.h>
4328_ACEOF
4329rm -f conftest.$ac_objext
4330if { (ac_try="$ac_compile"
4331case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334esac
4335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336 (eval "$ac_compile") 2>conftest.er1
4337 ac_status=$?
4338 grep -v '^ *+' conftest.er1 >conftest.err
4339 rm -f conftest.er1
4340 cat conftest.err >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } &&
4343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4344 { (case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347esac
4348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4349 (eval "$ac_try") 2>&5
4350 ac_status=$?
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; } &&
4353 { ac_try='test -s conftest.$ac_objext'
4354 { (case "(($ac_try" in
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4357esac
4358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_try") 2>&5
4360 ac_status=$?
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_header_compiler=yes
4364else
4365 echo "$as_me: failed program was:" >&5
4366sed 's/^/| /' conftest.$ac_ext >&5
4367
4368 ac_header_compiler=no
4369fi
4370
4371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4373echo "${ECHO_T}$ac_header_compiler" >&6; }
4374
4375# Is the header present?
4376{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
4377echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
4378cat >conftest.$ac_ext <<_ACEOF
4379/* confdefs.h. */
4380_ACEOF
4381cat confdefs.h >>conftest.$ac_ext
4382cat >>conftest.$ac_ext <<_ACEOF
4383/* end confdefs.h. */
4384#include <libintl.h>
4385_ACEOF
4386if { (ac_try="$ac_cpp conftest.$ac_ext"
4387case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390esac
4391eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4393 ac_status=$?
4394 grep -v '^ *+' conftest.er1 >conftest.err
4395 rm -f conftest.er1
4396 cat conftest.err >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } >/dev/null; then
4399 if test -s conftest.err; then
4400 ac_cpp_err=$ac_c_preproc_warn_flag
4401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4402 else
4403 ac_cpp_err=
4404 fi
4405else
4406 ac_cpp_err=yes
4407fi
4408if test -z "$ac_cpp_err"; then
4409 ac_header_preproc=yes
4410else
4411 echo "$as_me: failed program was:" >&5
4412sed 's/^/| /' conftest.$ac_ext >&5
4413
4414 ac_header_preproc=no
4415fi
4416
4417rm -f conftest.err conftest.$ac_ext
4418{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4419echo "${ECHO_T}$ac_header_preproc" >&6; }
4420
4421# So? What about this header?
4422case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4423 yes:no: )
4424 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4425echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4426 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4427echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4428 ac_header_preproc=yes
4429 ;;
4430 no:yes:* )
4431 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4432echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4433 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4434echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4435 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4436echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4437 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4438echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4439 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4440echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4442echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4443
4444 ;;
4445esac
4446{ echo "$as_me:$LINENO: checking for libintl.h" >&5
4447echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4448if test "${ac_cv_header_libintl_h+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4450else
4451 ac_cv_header_libintl_h=$ac_header_preproc
4452fi
4453{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4454echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4455
4456fi
4457if test $ac_cv_header_libintl_h = yes; then
4458 gt_cv_func_dgettext_libintl="no"
4459 libintl_extra_libs=""
4460
4461 #
4462 # First check in libc
4463 #
4464 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4465echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
4466if test "${gt_cv_func_ngettext_libc+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4468else
4469 cat >conftest.$ac_ext <<_ACEOF
4470/* confdefs.h. */
4471_ACEOF
4472cat confdefs.h >>conftest.$ac_ext
4473cat >>conftest.$ac_ext <<_ACEOF
4474/* end confdefs.h. */
4475
4476#include <libintl.h>
4477
4478int
4479main ()
4480{
4481return !ngettext ("","", 1)
4482 ;
4483 return 0;
4484}
4485_ACEOF
4486rm -f conftest.$ac_objext conftest$ac_exeext
4487if { (ac_try="$ac_link"
4488case "(($ac_try" in
4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4491esac
4492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_link") 2>conftest.er1
4494 ac_status=$?
4495 grep -v '^ *+' conftest.er1 >conftest.err
4496 rm -f conftest.er1
4497 cat conftest.err >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4501 { (case "(($ac_try" in
4502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4504esac
4505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4506 (eval "$ac_try") 2>&5
4507 ac_status=$?
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest$ac_exeext'
4511 { (case "(($ac_try" in
4512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4514esac
4515eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4516 (eval "$ac_try") 2>&5
4517 ac_status=$?
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 gt_cv_func_ngettext_libc=yes
4521else
4522 echo "$as_me: failed program was:" >&5
4523sed 's/^/| /' conftest.$ac_ext >&5
4524
4525 gt_cv_func_ngettext_libc=no
4526fi
4527
4528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4529 conftest$ac_exeext conftest.$ac_ext
4530
4531fi
4532{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4533echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
4534
4535 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4536 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4537echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
4538if test "${gt_cv_func_dgettext_libc+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4540else
4541 cat >conftest.$ac_ext <<_ACEOF
4542/* confdefs.h. */
4543_ACEOF
4544cat confdefs.h >>conftest.$ac_ext
4545cat >>conftest.$ac_ext <<_ACEOF
4546/* end confdefs.h. */
4547
4548#include <libintl.h>
4549
4550int
4551main ()
4552{
4553return !dgettext ("","")
4554 ;
4555 return 0;
4556}
4557_ACEOF
4558rm -f conftest.$ac_objext conftest$ac_exeext
4559if { (ac_try="$ac_link"
4560case "(($ac_try" in
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4563esac
4564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4566 ac_status=$?
4567 grep -v '^ *+' conftest.er1 >conftest.err
4568 rm -f conftest.er1
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4576esac
4577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4586esac
4587eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4589 ac_status=$?
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 gt_cv_func_dgettext_libc=yes
4593else
4594 echo "$as_me: failed program was:" >&5
4595sed 's/^/| /' conftest.$ac_ext >&5
4596
4597 gt_cv_func_dgettext_libc=no
4598fi
4599
4600rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602
4603fi
4604{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4605echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
4606 fi
4607
4608 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4609
4610for ac_func in bind_textdomain_codeset
4611do
4612as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4613{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4614echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4615if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617else
4618 cat >conftest.$ac_ext <<_ACEOF
4619/* confdefs.h. */
4620_ACEOF
4621cat confdefs.h >>conftest.$ac_ext
4622cat >>conftest.$ac_ext <<_ACEOF
4623/* end confdefs.h. */
4624/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626#define $ac_func innocuous_$ac_func
4627
4628/* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char $ac_func (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4632
4633#ifdef __STDC__
4634# include <limits.h>
4635#else
4636# include <assert.h>
4637#endif
4638
4639#undef $ac_func
4640
4641/* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644#ifdef __cplusplus
4645extern "C"
4646#endif
4647char $ac_func ();
4648/* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651#if defined __stub_$ac_func || defined __stub___$ac_func
4652choke me
4653#endif
4654
4655int
4656main ()
4657{
4658return $ac_func ();
4659 ;
4660 return 0;
4661}
4662_ACEOF
4663rm -f conftest.$ac_objext conftest$ac_exeext
4664if { (ac_try="$ac_link"
4665case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668esac
4669eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } &&
4677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4678 { (case "(($ac_try" in
4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4680 *) ac_try_echo=$ac_try;;
4681esac
4682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4683 (eval "$ac_try") 2>&5
4684 ac_status=$?
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try='test -s conftest$ac_exeext'
4688 { (case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691esac
4692eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693 (eval "$ac_try") 2>&5
4694 ac_status=$?
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then
4697 eval "$as_ac_var=yes"
4698else
4699 echo "$as_me: failed program was:" >&5
4700sed 's/^/| /' conftest.$ac_ext >&5
4701
4702 eval "$as_ac_var=no"
4703fi
4704
4705rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4706 conftest$ac_exeext conftest.$ac_ext
4707fi
4708ac_res=`eval echo '${'$as_ac_var'}'`
4709 { echo "$as_me:$LINENO: result: $ac_res" >&5
4710echo "${ECHO_T}$ac_res" >&6; }
4711if test `eval echo '${'$as_ac_var'}'` = yes; then
4712 cat >>confdefs.h <<_ACEOF
4713#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4714_ACEOF
4715
4716fi
4717done
4718
4719 fi
4720
4721 #
4722 # If we don't have everything we want, check in libintl
4723 #
4724 if test "$gt_cv_func_dgettext_libc" != "yes" \
4725 || test "$gt_cv_func_ngettext_libc" != "yes" \
4726 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4727
4728 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4729echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
4730if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4732else
4733 ac_check_lib_save_LIBS=$LIBS
4734LIBS="-lintl $LIBS"
4735cat >conftest.$ac_ext <<_ACEOF
4736/* confdefs.h. */
4737_ACEOF
4738cat confdefs.h >>conftest.$ac_ext
4739cat >>conftest.$ac_ext <<_ACEOF
4740/* end confdefs.h. */
4741
4742/* Override any GCC internal prototype to avoid an error.
4743 Use char because int might match the return type of a GCC
4744 builtin and then its argument prototype would still apply. */
4745#ifdef __cplusplus
4746extern "C"
4747#endif
4748char bindtextdomain ();
4749int
4750main ()
4751{
4752return bindtextdomain ();
4753 ;
4754 return 0;
4755}
4756_ACEOF
4757rm -f conftest.$ac_objext conftest$ac_exeext
4758if { (ac_try="$ac_link"
4759case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762esac
4763eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_link") 2>conftest.er1
4765 ac_status=$?
4766 grep -v '^ *+' conftest.er1 >conftest.err
4767 rm -f conftest.er1
4768 cat conftest.err >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4772 { (case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775esac
4776eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4777 (eval "$ac_try") 2>&5
4778 ac_status=$?
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try='test -s conftest$ac_exeext'
4782 { (case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785esac
4786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_try") 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4791 ac_cv_lib_intl_bindtextdomain=yes
4792else
4793 echo "$as_me: failed program was:" >&5
4794sed 's/^/| /' conftest.$ac_ext >&5
4795
4796 ac_cv_lib_intl_bindtextdomain=no
4797fi
4798
4799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4800 conftest$ac_exeext conftest.$ac_ext
4801LIBS=$ac_check_lib_save_LIBS
4802fi
4803{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4804echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
4805if test $ac_cv_lib_intl_bindtextdomain = yes; then
4806 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4807echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
4808if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4810else
4811 ac_check_lib_save_LIBS=$LIBS
4812LIBS="-lintl $LIBS"
4813cat >conftest.$ac_ext <<_ACEOF
4814/* confdefs.h. */
4815_ACEOF
4816cat confdefs.h >>conftest.$ac_ext
4817cat >>conftest.$ac_ext <<_ACEOF
4818/* end confdefs.h. */
4819
4820/* Override any GCC internal prototype to avoid an error.
4821 Use char because int might match the return type of a GCC
4822 builtin and then its argument prototype would still apply. */
4823#ifdef __cplusplus
4824extern "C"
4825#endif
4826char ngettext ();
4827int
4828main ()
4829{
4830return ngettext ();
4831 ;
4832 return 0;
4833}
4834_ACEOF
4835rm -f conftest.$ac_objext conftest$ac_exeext
4836if { (ac_try="$ac_link"
4837case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840esac
4841eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4843 ac_status=$?
4844 grep -v '^ *+' conftest.er1 >conftest.err
4845 rm -f conftest.er1
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } &&
4849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4850 { (case "(($ac_try" in
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4853esac
4854eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4855 (eval "$ac_try") 2>&5
4856 ac_status=$?
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; } &&
4859 { ac_try='test -s conftest$ac_exeext'
4860 { (case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863esac
4864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4865 (eval "$ac_try") 2>&5
4866 ac_status=$?
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; }; then
4869 ac_cv_lib_intl_ngettext=yes
4870else
4871 echo "$as_me: failed program was:" >&5
4872sed 's/^/| /' conftest.$ac_ext >&5
4873
4874 ac_cv_lib_intl_ngettext=no
4875fi
4876
4877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4878 conftest$ac_exeext conftest.$ac_ext
4879LIBS=$ac_check_lib_save_LIBS
4880fi
4881{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4882echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
4883if test $ac_cv_lib_intl_ngettext = yes; then
4884 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
4885echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
4886if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4888else
4889 ac_check_lib_save_LIBS=$LIBS
4890LIBS="-lintl $LIBS"
4891cat >conftest.$ac_ext <<_ACEOF
4892/* confdefs.h. */
4893_ACEOF
4894cat confdefs.h >>conftest.$ac_ext
4895cat >>conftest.$ac_ext <<_ACEOF
4896/* end confdefs.h. */
4897
4898/* Override any GCC internal prototype to avoid an error.
4899 Use char because int might match the return type of a GCC
4900 builtin and then its argument prototype would still apply. */
4901#ifdef __cplusplus
4902extern "C"
4903#endif
4904char dgettext ();
4905int
4906main ()
4907{
4908return dgettext ();
4909 ;
4910 return 0;
4911}
4912_ACEOF
4913rm -f conftest.$ac_objext conftest$ac_exeext
4914if { (ac_try="$ac_link"
4915case "(($ac_try" in
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4918esac
4919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4920 (eval "$ac_link") 2>conftest.er1
4921 ac_status=$?
4922 grep -v '^ *+' conftest.er1 >conftest.err
4923 rm -f conftest.er1
4924 cat conftest.err >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4928 { (case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4931esac
4932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_try") 2>&5
4934 ac_status=$?
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest$ac_exeext'
4938 { (case "(($ac_try" in
4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4941esac
4942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943 (eval "$ac_try") 2>&5
4944 ac_status=$?
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; }; then
4947 ac_cv_lib_intl_dgettext=yes
4948else
4949 echo "$as_me: failed program was:" >&5
4950sed 's/^/| /' conftest.$ac_ext >&5
4951
4952 ac_cv_lib_intl_dgettext=no
4953fi
4954
4955rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4956 conftest$ac_exeext conftest.$ac_ext
4957LIBS=$ac_check_lib_save_LIBS
4958fi
4959{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
4960echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
4961if test $ac_cv_lib_intl_dgettext = yes; then
4962 gt_cv_func_dgettext_libintl=yes
4963fi
4964
4965fi
4966
4967fi
4968
4969
4970 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4971 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
4972echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
4973 { echo "$as_me:$LINENO: result: " >&5
4974echo "${ECHO_T}" >&6; }
4975 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4976echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
4977if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4979else
4980 ac_check_lib_save_LIBS=$LIBS
4981LIBS="-lintl -liconv $LIBS"
4982cat >conftest.$ac_ext <<_ACEOF
4983/* confdefs.h. */
4984_ACEOF
4985cat confdefs.h >>conftest.$ac_ext
4986cat >>conftest.$ac_ext <<_ACEOF
4987/* end confdefs.h. */
4988
4989/* Override any GCC internal prototype to avoid an error.
4990 Use char because int might match the return type of a GCC
4991 builtin and then its argument prototype would still apply. */
4992#ifdef __cplusplus
4993extern "C"
4994#endif
4995char ngettext ();
4996int
4997main ()
4998{
4999return ngettext ();
5000 ;
5001 return 0;
5002}
5003_ACEOF
5004rm -f conftest.$ac_objext conftest$ac_exeext
5005if { (ac_try="$ac_link"
5006case "(($ac_try" in
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5009esac
5010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_link") 2>conftest.er1
5012 ac_status=$?
5013 grep -v '^ *+' conftest.er1 >conftest.err
5014 rm -f conftest.er1
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5019 { (case "(($ac_try" in
5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5022esac
5023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024 (eval "$ac_try") 2>&5
5025 ac_status=$?
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try='test -s conftest$ac_exeext'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5032esac
5033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5035 ac_status=$?
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 ac_cv_lib_intl_ngettext=yes
5039else
5040 echo "$as_me: failed program was:" >&5
5041sed 's/^/| /' conftest.$ac_ext >&5
5042
5043 ac_cv_lib_intl_ngettext=no
5044fi
5045
5046rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5047 conftest$ac_exeext conftest.$ac_ext
5048LIBS=$ac_check_lib_save_LIBS
5049fi
5050{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5051echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5052if test $ac_cv_lib_intl_ngettext = yes; then
5053 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5054echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5055if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5057else
5058 ac_check_lib_save_LIBS=$LIBS
5059LIBS="-lintl -liconv $LIBS"
5060cat >conftest.$ac_ext <<_ACEOF
5061/* confdefs.h. */
5062_ACEOF
5063cat confdefs.h >>conftest.$ac_ext
5064cat >>conftest.$ac_ext <<_ACEOF
5065/* end confdefs.h. */
5066
5067/* Override any GCC internal prototype to avoid an error.
5068 Use char because int might match the return type of a GCC
5069 builtin and then its argument prototype would still apply. */
5070#ifdef __cplusplus
5071extern "C"
5072#endif
5073char dcgettext ();
5074int
5075main ()
5076{
5077return dcgettext ();
5078 ;
5079 return 0;
5080}
5081_ACEOF
5082rm -f conftest.$ac_objext conftest$ac_exeext
5083if { (ac_try="$ac_link"
5084case "(($ac_try" in
5085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5087esac
5088eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5089 (eval "$ac_link") 2>conftest.er1
5090 ac_status=$?
5091 grep -v '^ *+' conftest.er1 >conftest.err
5092 rm -f conftest.er1
5093 cat conftest.err >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } &&
5096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5097 { (case "(($ac_try" in
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5100esac
5101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102 (eval "$ac_try") 2>&5
5103 ac_status=$?
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; } &&
5106 { ac_try='test -s conftest$ac_exeext'
5107 { (case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5110esac
5111eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_lib_intl_dcgettext=yes
5117else
5118 echo "$as_me: failed program was:" >&5
5119sed 's/^/| /' conftest.$ac_ext >&5
5120
5121 ac_cv_lib_intl_dcgettext=no
5122fi
5123
5124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5125 conftest$ac_exeext conftest.$ac_ext
5126LIBS=$ac_check_lib_save_LIBS
5127fi
5128{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5129echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5130if test $ac_cv_lib_intl_dcgettext = yes; then
5131 gt_cv_func_dgettext_libintl=yes
5132 libintl_extra_libs=-liconv
5133else
5134 :
5135fi
5136
5137else
5138 :
5139fi
5140
5141 fi
5142
5143 #
5144 # If we found libintl, then check in it for bind_textdomain_codeset();
5145 # we'll prefer libc if neither have bind_textdomain_codeset(),
5146 # and both have dgettext and ngettext
5147 #
5148 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5149 glib_save_LIBS="$LIBS"
5150 LIBS="$LIBS -lintl $libintl_extra_libs"
5151 unset ac_cv_func_bind_textdomain_codeset
5152
5153for ac_func in bind_textdomain_codeset
5154do
5155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5156{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5158if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5160else
5161 cat >conftest.$ac_ext <<_ACEOF
5162/* confdefs.h. */
5163_ACEOF
5164cat confdefs.h >>conftest.$ac_ext
5165cat >>conftest.$ac_ext <<_ACEOF
5166/* end confdefs.h. */
5167/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5169#define $ac_func innocuous_$ac_func
5170
5171/* System header to define __stub macros and hopefully few prototypes,
5172 which can conflict with char $ac_func (); below.
5173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5174 <limits.h> exists even on freestanding compilers. */
5175
5176#ifdef __STDC__
5177# include <limits.h>
5178#else
5179# include <assert.h>
5180#endif
5181
5182#undef $ac_func
5183
5184/* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5187#ifdef __cplusplus
5188extern "C"
5189#endif
5190char $ac_func ();
5191/* The GNU C library defines this for functions which it implements
5192 to always fail with ENOSYS. Some functions are actually named
5193 something starting with __ and the normal name is an alias. */
5194#if defined __stub_$ac_func || defined __stub___$ac_func
5195choke me
5196#endif
5197
5198int
5199main ()
5200{
5201return $ac_func ();
5202 ;
5203 return 0;
5204}
5205_ACEOF
5206rm -f conftest.$ac_objext conftest$ac_exeext
5207if { (ac_try="$ac_link"
5208case "(($ac_try" in
5209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5211esac
5212eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_link") 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } &&
5220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224esac
5225eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5227 ac_status=$?
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; } &&
5230 { ac_try='test -s conftest$ac_exeext'
5231 { (case "(($ac_try" in
5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233 *) ac_try_echo=$ac_try;;
5234esac
5235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5236 (eval "$ac_try") 2>&5
5237 ac_status=$?
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
5240 eval "$as_ac_var=yes"
5241else
5242 echo "$as_me: failed program was:" >&5
5243sed 's/^/| /' conftest.$ac_ext >&5
5244
5245 eval "$as_ac_var=no"
5246fi
5247
5248rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5249 conftest$ac_exeext conftest.$ac_ext
5250fi
5251ac_res=`eval echo '${'$as_ac_var'}'`
5252 { echo "$as_me:$LINENO: result: $ac_res" >&5
5253echo "${ECHO_T}$ac_res" >&6; }
5254if test `eval echo '${'$as_ac_var'}'` = yes; then
5255 cat >>confdefs.h <<_ACEOF
5256#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5257_ACEOF
5258
5259fi
5260done
5261
5262 LIBS="$glib_save_LIBS"
5263
5264 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5265 gt_cv_func_dgettext_libc=no
5266 else
5267 if test "$gt_cv_func_dgettext_libc" = "yes" \
5268 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5269 gt_cv_func_dgettext_libintl=no
5270 fi
5271 fi
5272 fi
5273 fi
5274
5275 if test "$gt_cv_func_dgettext_libc" = "yes" \
5276 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5277 gt_cv_have_gettext=yes
5278 fi
5279
5280 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5281 INTLLIBS="-lintl $libintl_extra_libs"
5282 fi
5283
5284 if test "$gt_cv_have_gettext" = "yes"; then
5285
5286cat >>confdefs.h <<\_ACEOF
5287#define HAVE_GETTEXT 1
5288_ACEOF
5289
5290 # Extract the first word of "msgfmt", so it can be a program name with args.
5291set dummy msgfmt; ac_word=$2
5292{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5294if test "${ac_cv_path_MSGFMT+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5296else
5297 case "$MSGFMT" in
5298 /*)
5299 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5300 ;;
5301 *)
5302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5303 for ac_dir in $PATH; do
5304 test -z "$ac_dir" && ac_dir=.
5305 if test -f $ac_dir/$ac_word; then
5306 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5307 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5308 break
5309 fi
5310 fi
5311 done
5312 IFS="$ac_save_ifs"
5313 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5314 ;;
5315esac
5316fi
5317MSGFMT="$ac_cv_path_MSGFMT"
5318if test "$MSGFMT" != "no"; then
5319 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
5320echo "${ECHO_T}$MSGFMT" >&6; }
5321else
5322 { echo "$as_me:$LINENO: result: no" >&5
5323echo "${ECHO_T}no" >&6; }
5324fi
5325 if test "$MSGFMT" != "no"; then
5326 glib_save_LIBS="$LIBS"
5327 LIBS="$LIBS $INTLLIBS"
5328
5329for ac_func in dcgettext
5330do
5331as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5332{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5333echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5334if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5336else
5337 cat >conftest.$ac_ext <<_ACEOF
5338/* confdefs.h. */
5339_ACEOF
5340cat confdefs.h >>conftest.$ac_ext
5341cat >>conftest.$ac_ext <<_ACEOF
5342/* end confdefs.h. */
5343/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5345#define $ac_func innocuous_$ac_func
5346
5347/* System header to define __stub macros and hopefully few prototypes,
5348 which can conflict with char $ac_func (); below.
5349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5350 <limits.h> exists even on freestanding compilers. */
5351
5352#ifdef __STDC__
5353# include <limits.h>
5354#else
5355# include <assert.h>
5356#endif
5357
5358#undef $ac_func
5359
5360/* Override any GCC internal prototype to avoid an error.
5361 Use char because int might match the return type of a GCC
5362 builtin and then its argument prototype would still apply. */
5363#ifdef __cplusplus
5364extern "C"
5365#endif
5366char $ac_func ();
5367/* The GNU C library defines this for functions which it implements
5368 to always fail with ENOSYS. Some functions are actually named
5369 something starting with __ and the normal name is an alias. */
5370#if defined __stub_$ac_func || defined __stub___$ac_func
5371choke me
5372#endif
5373
5374int
5375main ()
5376{
5377return $ac_func ();
5378 ;
5379 return 0;
5380}
5381_ACEOF
5382rm -f conftest.$ac_objext conftest$ac_exeext
5383if { (ac_try="$ac_link"
5384case "(($ac_try" in
5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5386 *) ac_try_echo=$ac_try;;
5387esac
5388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5389 (eval "$ac_link") 2>conftest.er1
5390 ac_status=$?
5391 grep -v '^ *+' conftest.er1 >conftest.err
5392 rm -f conftest.er1
5393 cat conftest.err >&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } &&
5396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5397 { (case "(($ac_try" in
5398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399 *) ac_try_echo=$ac_try;;
5400esac
5401eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5402 (eval "$ac_try") 2>&5
5403 ac_status=$?
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; } &&
5406 { ac_try='test -s conftest$ac_exeext'
5407 { (case "(($ac_try" in
5408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5410esac
5411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_try") 2>&5
5413 ac_status=$?
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }; }; then
5416 eval "$as_ac_var=yes"
5417else
5418 echo "$as_me: failed program was:" >&5
5419sed 's/^/| /' conftest.$ac_ext >&5
5420
5421 eval "$as_ac_var=no"
5422fi
5423
5424rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5425 conftest$ac_exeext conftest.$ac_ext
5426fi
5427ac_res=`eval echo '${'$as_ac_var'}'`
5428 { echo "$as_me:$LINENO: result: $ac_res" >&5
5429echo "${ECHO_T}$ac_res" >&6; }
5430if test `eval echo '${'$as_ac_var'}'` = yes; then
5431 cat >>confdefs.h <<_ACEOF
5432#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5433_ACEOF
5434
5435fi
5436done
5437
5438 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5439set dummy gmsgfmt; ac_word=$2
5440{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5441echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5442if test "${ac_cv_path_GMSGFMT+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5444else
5445 case $GMSGFMT in
5446 [\\/]* | ?:[\\/]*)
5447 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5448 ;;
5449 *)
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451for as_dir in $PATH
5452do
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5460 fi
5461done
5462done
5463IFS=$as_save_IFS
5464
5465 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5466 ;;
5467esac
5468fi
5469GMSGFMT=$ac_cv_path_GMSGFMT
5470if test -n "$GMSGFMT"; then
5471 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5472echo "${ECHO_T}$GMSGFMT" >&6; }
5473else
5474 { echo "$as_me:$LINENO: result: no" >&5
5475echo "${ECHO_T}no" >&6; }
5476fi
5477
5478
5479 # Extract the first word of "xgettext", so it can be a program name with args.
5480set dummy xgettext; ac_word=$2
5481{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5483if test "${ac_cv_path_XGETTEXT+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5485else
5486 case "$XGETTEXT" in
5487 /*)
5488 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5489 ;;
5490 *)
5491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5492 for ac_dir in $PATH; do
5493 test -z "$ac_dir" && ac_dir=.
5494 if test -f $ac_dir/$ac_word; then
5495 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5496 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5497 break
5498 fi
5499 fi
5500 done
5501 IFS="$ac_save_ifs"
5502 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5503 ;;
5504esac
5505fi
5506XGETTEXT="$ac_cv_path_XGETTEXT"
5507if test "$XGETTEXT" != ":"; then
5508 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5509echo "${ECHO_T}$XGETTEXT" >&6; }
5510else
5511 { echo "$as_me:$LINENO: result: no" >&5
5512echo "${ECHO_T}no" >&6; }
5513fi
5514
5515 cat >conftest.$ac_ext <<_ACEOF
5516/* confdefs.h. */
5517_ACEOF
5518cat confdefs.h >>conftest.$ac_ext
5519cat >>conftest.$ac_ext <<_ACEOF
5520/* end confdefs.h. */
5521
5522int
5523main ()
5524{
5525extern int _nl_msg_cat_cntr;
5526 return _nl_msg_cat_cntr
5527 ;
5528 return 0;
5529}
5530_ACEOF
5531rm -f conftest.$ac_objext conftest$ac_exeext
5532if { (ac_try="$ac_link"
5533case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536esac
5537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_link") 2>conftest.er1
5539 ac_status=$?
5540 grep -v '^ *+' conftest.er1 >conftest.err
5541 rm -f conftest.er1
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548 *) ac_try_echo=$ac_try;;
5549esac
5550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try='test -s conftest$ac_exeext'
5556 { (case "(($ac_try" in
5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5559esac
5560eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_try") 2>&5
5562 ac_status=$?
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 CATOBJEXT=.gmo
5566 DATADIRNAME=share
5567else
5568 echo "$as_me: failed program was:" >&5
5569sed 's/^/| /' conftest.$ac_ext >&5
5570
5571 case $host in
5572 *-*-solaris*)
5573 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5574echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
5575if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5577else
5578 cat >conftest.$ac_ext <<_ACEOF
5579/* confdefs.h. */
5580_ACEOF
5581cat confdefs.h >>conftest.$ac_ext
5582cat >>conftest.$ac_ext <<_ACEOF
5583/* end confdefs.h. */
5584/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5586#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5587
5588/* System header to define __stub macros and hopefully few prototypes,
5589 which can conflict with char bind_textdomain_codeset (); below.
5590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5591 <limits.h> exists even on freestanding compilers. */
5592
5593#ifdef __STDC__
5594# include <limits.h>
5595#else
5596# include <assert.h>
5597#endif
5598
5599#undef bind_textdomain_codeset
5600
5601/* Override any GCC internal prototype to avoid an error.
5602 Use char because int might match the return type of a GCC
5603 builtin and then its argument prototype would still apply. */
5604#ifdef __cplusplus
5605extern "C"
5606#endif
5607char bind_textdomain_codeset ();
5608/* The GNU C library defines this for functions which it implements
5609 to always fail with ENOSYS. Some functions are actually named
5610 something starting with __ and the normal name is an alias. */
5611#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5612choke me
5613#endif
5614
5615int
5616main ()
5617{
5618return bind_textdomain_codeset ();
5619 ;
5620 return 0;
5621}
5622_ACEOF
5623rm -f conftest.$ac_objext conftest$ac_exeext
5624if { (ac_try="$ac_link"
5625case "(($ac_try" in
5626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5627 *) ac_try_echo=$ac_try;;
5628esac
5629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5630 (eval "$ac_link") 2>conftest.er1
5631 ac_status=$?
5632 grep -v '^ *+' conftest.er1 >conftest.err
5633 rm -f conftest.er1
5634 cat conftest.err >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } &&
5637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5638 { (case "(($ac_try" in
5639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5640 *) ac_try_echo=$ac_try;;
5641esac
5642eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5643 (eval "$ac_try") 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest$ac_exeext'
5648 { (case "(($ac_try" in
5649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5650 *) ac_try_echo=$ac_try;;
5651esac
5652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5653 (eval "$ac_try") 2>&5
5654 ac_status=$?
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; }; then
5657 ac_cv_func_bind_textdomain_codeset=yes
5658else
5659 echo "$as_me: failed program was:" >&5
5660sed 's/^/| /' conftest.$ac_ext >&5
5661
5662 ac_cv_func_bind_textdomain_codeset=no
5663fi
5664
5665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5666 conftest$ac_exeext conftest.$ac_ext
5667fi
5668{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5669echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
5670if test $ac_cv_func_bind_textdomain_codeset = yes; then
5671 CATOBJEXT=.gmo
5672 DATADIRNAME=share
5673else
5674 CATOBJEXT=.mo
5675 DATADIRNAME=lib
5676fi
5677
5678 ;;
5679 *)
5680 CATOBJEXT=.mo
5681 DATADIRNAME=lib
5682 ;;
5683 esac
5684fi
5685
5686rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5687 conftest$ac_exeext conftest.$ac_ext
5688 LIBS="$glib_save_LIBS"
5689 INSTOBJEXT=.mo
5690 else
5691 gt_cv_have_gettext=no
5692 fi
5693 fi
5694
5695fi
5696
5697
5698
5699 if test "$gt_cv_have_gettext" = "yes" ; then
5700
5701cat >>confdefs.h <<\_ACEOF
5702#define ENABLE_NLS 1
5703_ACEOF
5704
5705 fi
5706
5707 if test "$XGETTEXT" != ":"; then
5708 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5709 : ;
5710 else
5711 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5712echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
5713 XGETTEXT=":"
5714 fi
5715 fi
5716
5717 # We need to process the po/ directory.
5718 POSUB=po
5719
5720 ac_config_commands="$ac_config_commands default-1"
5721
5722
5723 for lang in $ALL_LINGUAS; do
5724 GMOFILES="$GMOFILES $lang.gmo"
5725 POFILES="$POFILES $lang.po"
5726 done
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740 if test "$gt_cv_have_gettext" = "yes"; then
5741 if test "x$ALL_LINGUAS" = "x"; then
5742 LINGUAS=
5743 else
5744 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5745echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
5746 NEW_LINGUAS=
5747 for presentlang in $ALL_LINGUAS; do
5748 useit=no
5749 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5750 desiredlanguages="$LINGUAS"
5751 else
5752 desiredlanguages="$ALL_LINGUAS"
5753 fi
5754 for desiredlang in $desiredlanguages; do
5755 # Use the presentlang catalog if desiredlang is
5756 # a. equal to presentlang, or
5757 # b. a variant of presentlang (because in this case,
5758 # presentlang can be used as a fallback for messages
5759 # which are not translated in the desiredlang catalog).
5760 case "$desiredlang" in
5761 "$presentlang"*) useit=yes;;
5762 esac
5763 done
5764 if test $useit = yes; then
5765 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5766 fi
5767 done
5768 LINGUAS=$NEW_LINGUAS
5769 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
5770echo "${ECHO_T}$LINGUAS" >&6; }
5771 fi
5772
5773 if test -n "$LINGUAS"; then
5774 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5775 fi
5776 fi
5777
5778 MKINSTALLDIRS=
5779 if test -n "$ac_aux_dir"; then
5780 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5781 fi
5782 if test -z "$MKINSTALLDIRS"; then
5783 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5784 fi
5785
5786
5787 test -d po || mkdir po
5788 if test "x$srcdir" != "x."; then
5789 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5790 posrcprefix="$srcdir/"
5791 else
5792 posrcprefix="../$srcdir/"
5793 fi
5794 else
5795 posrcprefix="../"
5796 fi
5797 rm -f po/POTFILES
5798 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5799 < $srcdir/po/POTFILES.in > po/POTFILES
5800
5801
5802GETTEXT_PACKAGE=$PACKAGE
5803
5804
5805# glib 2.0
5806# Check whether --enable-glibtest was given.
5807if test "${enable_glibtest+set}" = set; then
5808 enableval=$enable_glibtest;
5809else
5810 enable_glibtest=yes
5811fi
5812
5813
5814 pkg_config_args=glib-2.0
5815 for module in .
5816 do
5817 case "$module" in
5818 gmodule)
5819 pkg_config_args="$pkg_config_args gmodule-2.0"
5820 ;;
5821 gmodule-no-export)
5822 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
5823 ;;
5824 gobject)
5825 pkg_config_args="$pkg_config_args gobject-2.0"
5826 ;;
5827 gthread)
5828 pkg_config_args="$pkg_config_args gthread-2.0"
5829 ;;
5830 esac
5831 done
5832
5833 # Extract the first word of "pkg-config", so it can be a program name with args.
5834set dummy pkg-config; ac_word=$2
5835{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5839else
5840 case $PKG_CONFIG in
5841 [\\/]* | ?:[\\/]*)
5842 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5843 ;;
5844 *)
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846for as_dir in $PATH
5847do
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5855 fi
5856done
5857done
5858IFS=$as_save_IFS
5859
5860 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5861 ;;
5862esac
5863fi
5864PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5865if test -n "$PKG_CONFIG"; then
5866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5867echo "${ECHO_T}$PKG_CONFIG" >&6; }
5868else
5869 { echo "$as_me:$LINENO: result: no" >&5
5870echo "${ECHO_T}no" >&6; }
5871fi
5872
5873
5874
5875 no_glib=""
5876
5877 if test x$PKG_CONFIG != xno ; then
5878 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
5879 :
5880 else
5881 echo *** pkg-config too old; version 0.7 or better required.
5882 no_glib=yes
5883 PKG_CONFIG=no
5884 fi
5885 else
5886 no_glib=yes
5887 fi
5888
5889 min_glib_version=2.4.0
5890 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
5891echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
5892
5893 if test x$PKG_CONFIG != xno ; then
5894 ## don't try to run the test against uninstalled libtool libs
5895 if $PKG_CONFIG --uninstalled $pkg_config_args; then
5896 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
5897 enable_glibtest=no
5898 fi
5899
5900 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
5901 :
5902 else
5903 no_glib=yes
5904 fi
5905 fi
5906
5907 if test x"$no_glib" = x ; then
5908 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
5909 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
5910 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
5911
5912 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
5913 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
5914 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
5915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5916 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
5917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5918 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
5919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5920 if test "x$enable_glibtest" = "xyes" ; then
5921 ac_save_CFLAGS="$CFLAGS"
5922 ac_save_LIBS="$LIBS"
5923 CFLAGS="$CFLAGS $GLIB_CFLAGS"
5924 LIBS="$GLIB_LIBS $LIBS"
5925 rm -f conf.glibtest
5926 if test "$cross_compiling" = yes; then
5927 echo $ac_n "cross compiling; assumed OK... $ac_c"
5928else
5929 cat >conftest.$ac_ext <<_ACEOF
5930/* confdefs.h. */
5931_ACEOF
5932cat confdefs.h >>conftest.$ac_ext
5933cat >>conftest.$ac_ext <<_ACEOF
5934/* end confdefs.h. */
5935
5936#include <glib.h>
5937#include <stdio.h>
5938#include <stdlib.h>
5939
5940int
5941main ()
5942{
5943 int major, minor, micro;
5944 char *tmp_version;
5945
5946 system ("touch conf.glibtest");
5947
5948 /* HP/UX 9 (%@#!) writes to sscanf strings */
5949 tmp_version = g_strdup("$min_glib_version");
5950 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
5951 printf("%s, bad version string\n", "$min_glib_version");
5952 exit(1);
5953 }
5954
5955 if ((glib_major_version != $glib_config_major_version) ||
5956 (glib_minor_version != $glib_config_minor_version) ||
5957 (glib_micro_version != $glib_config_micro_version))
5958 {
5959 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
5960 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
5961 glib_major_version, glib_minor_version, glib_micro_version);
5962 printf ("*** was found! If pkg-config was correct, then it is best\n");
5963 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
5964 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
5965 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
5966 printf("*** required on your system.\n");
5967 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
5968 printf("*** to point to the correct configuration files\n");
5969 }
5970 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
5971 (glib_minor_version != GLIB_MINOR_VERSION) ||
5972 (glib_micro_version != GLIB_MICRO_VERSION))
5973 {
5974 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
5975 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
5976 printf("*** library (version %d.%d.%d)\n",
5977 glib_major_version, glib_minor_version, glib_micro_version);
5978 }
5979 else
5980 {
5981 if ((glib_major_version > major) ||
5982 ((glib_major_version == major) && (glib_minor_version > minor)) ||
5983 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
5984 {
5985 return 0;
5986 }
5987 else
5988 {
5989 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
5990 glib_major_version, glib_minor_version, glib_micro_version);
5991 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
5992 major, minor, micro);
5993 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
5994 printf("***\n");
5995 printf("*** If you have already installed a sufficiently new version, this error\n");
5996 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
5997 printf("*** being found. The easiest way to fix this is to remove the old version\n");
5998 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
5999 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6000 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6001 printf("*** so that the correct libraries are found at run-time))\n");
6002 }
6003 }
6004 return 1;
6005}
6006
6007_ACEOF
6008rm -f conftest$ac_exeext
6009if { (ac_try="$ac_link"
6010case "(($ac_try" in
6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6012 *) ac_try_echo=$ac_try;;
6013esac
6014eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_link") 2>&5
6016 ac_status=$?
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6019 { (case "(($ac_try" in
6020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6021 *) ac_try_echo=$ac_try;;
6022esac
6023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6024 (eval "$ac_try") 2>&5
6025 ac_status=$?
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; }; then
6028 :
6029else
6030 echo "$as_me: program exited with status $ac_status" >&5
6031echo "$as_me: failed program was:" >&5
6032sed 's/^/| /' conftest.$ac_ext >&5
6033
6034( exit $ac_status )
6035no_glib=yes
6036fi
6037rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6038fi
6039
6040
6041 CFLAGS="$ac_save_CFLAGS"
6042 LIBS="$ac_save_LIBS"
6043 fi
6044 fi
6045 if test "x$no_glib" = x ; then
6046 { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
6047echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
6048 :
6049 else
6050 { echo "$as_me:$LINENO: result: no" >&5
6051echo "${ECHO_T}no" >&6; }
6052 if test "$PKG_CONFIG" = "no" ; then
6053 echo "*** A new enough version of pkg-config was not found."
6054 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
6055 else
6056 if test -f conf.glibtest ; then
6057 :
6058 else
6059 echo "*** Could not run GLIB test program, checking why..."
6060 ac_save_CFLAGS="$CFLAGS"
6061 ac_save_LIBS="$LIBS"
6062 CFLAGS="$CFLAGS $GLIB_CFLAGS"
6063 LIBS="$LIBS $GLIB_LIBS"
6064 cat >conftest.$ac_ext <<_ACEOF
6065/* confdefs.h. */
6066_ACEOF
6067cat confdefs.h >>conftest.$ac_ext
6068cat >>conftest.$ac_ext <<_ACEOF
6069/* end confdefs.h. */
6070
6071#include <glib.h>
6072#include <stdio.h>
6073
6074int
6075main ()
6076{
6077 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
6078 ;
6079 return 0;
6080}
6081_ACEOF
6082rm -f conftest.$ac_objext conftest$ac_exeext
6083if { (ac_try="$ac_link"
6084case "(($ac_try" in
6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 *) ac_try_echo=$ac_try;;
6087esac
6088eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_link") 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6097 { (case "(($ac_try" in
6098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;;
6100esac
6101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_try") 2>&5
6103 ac_status=$?
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try='test -s conftest$ac_exeext'
6107 { (case "(($ac_try" in
6108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6109 *) ac_try_echo=$ac_try;;
6110esac
6111eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6112 (eval "$ac_try") 2>&5
6113 ac_status=$?
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 echo "*** The test program compiled, but did not run. This usually means"
6117 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
6118 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
6119 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6120 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6121 echo "*** is required on your system"
6122 echo "***"
6123 echo "*** If you have an old version installed, it is best to remove it, although"
6124 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6125else
6126 echo "$as_me: failed program was:" >&5
6127sed 's/^/| /' conftest.$ac_ext >&5
6128
6129 echo "*** The test program failed to compile or link. See the file config.log for the"
6130 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
6131fi
6132
6133rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6134 conftest$ac_exeext conftest.$ac_ext
6135 CFLAGS="$ac_save_CFLAGS"
6136 LIBS="$ac_save_LIBS"
6137 fi
6138 fi
6139 GLIB_CFLAGS=""
6140 GLIB_LIBS=""
6141 GLIB_GENMARSHAL=""
6142 GOBJECT_QUERY=""
6143 GLIB_MKENUMS=""
6144 { { echo "$as_me:$LINENO: error: GLib >= 2.4.0 is required" >&5
6145echo "$as_me: error: GLib >= 2.4.0 is required" >&2;}
6146 { (exit 1); exit 1; }; }
6147 fi
6148
6149
6150
6151
6152
6153 rm -f conf.glibtest
6154
6155
6156# gtk+ 2.0
6157# Check whether --enable-gtktest was given.
6158if test "${enable_gtktest+set}" = set; then
6159 enableval=$enable_gtktest;
6160else
6161 enable_gtktest=yes
6162fi
6163
6164
6165 pkg_config_args=gtk+-2.0
6166 for module in .
6167 do
6168 case "$module" in
6169 gthread)
6170 pkg_config_args="$pkg_config_args gthread-2.0"
6171 ;;
6172 esac
6173 done
6174
6175 no_gtk=""
6176
6177 # Extract the first word of "pkg-config", so it can be a program name with args.
6178set dummy pkg-config; ac_word=$2
6179{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6180echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6181if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6183else
6184 case $PKG_CONFIG in
6185 [\\/]* | ?:[\\/]*)
6186 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6187 ;;
6188 *)
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190for as_dir in $PATH
6191do
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6196 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 break 2
6199 fi
6200done
6201done
6202IFS=$as_save_IFS
6203
6204 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6205 ;;
6206esac
6207fi
6208PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6209if test -n "$PKG_CONFIG"; then
6210 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6211echo "${ECHO_T}$PKG_CONFIG" >&6; }
6212else
6213 { echo "$as_me:$LINENO: result: no" >&5
6214echo "${ECHO_T}no" >&6; }
6215fi
6216
6217
6218
6219 if test x$PKG_CONFIG != xno ; then
6220 if pkg-config --atleast-pkgconfig-version 0.7 ; then
6221 :
6222 else
6223 echo "*** pkg-config too old; version 0.7 or better required."
6224 no_gtk=yes
6225 PKG_CONFIG=no
6226 fi
6227 else
6228 no_gtk=yes
6229 fi
6230
6231 min_gtk_version=2.4.0
6232 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
6233echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
6234
6235 if test x$PKG_CONFIG != xno ; then
6236 ## don't try to run the test against uninstalled libtool libs
6237 if $PKG_CONFIG --uninstalled $pkg_config_args; then
6238 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
6239 enable_gtktest=no
6240 fi
6241
6242 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
6243 :
6244 else
6245 no_gtk=yes
6246 fi
6247 fi
6248
6249 if test x"$no_gtk" = x ; then
6250 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
6251 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
6252 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
6253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6254 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
6255 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6256 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
6257 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6258 if test "x$enable_gtktest" = "xyes" ; then
6259 ac_save_CFLAGS="$CFLAGS"
6260 ac_save_LIBS="$LIBS"
6261 CFLAGS="$CFLAGS $GTK_CFLAGS"
6262 LIBS="$GTK_LIBS $LIBS"
6263 rm -f conf.gtktest
6264 if test "$cross_compiling" = yes; then
6265 echo $ac_n "cross compiling; assumed OK... $ac_c"
6266else
6267 cat >conftest.$ac_ext <<_ACEOF
6268/* confdefs.h. */
6269_ACEOF
6270cat confdefs.h >>conftest.$ac_ext
6271cat >>conftest.$ac_ext <<_ACEOF
6272/* end confdefs.h. */
6273
6274#include <gtk/gtk.h>
6275#include <stdio.h>
6276#include <stdlib.h>
6277
6278int
6279main ()
6280{
6281 int major, minor, micro;
6282 char *tmp_version;
6283
6284 system ("touch conf.gtktest");
6285
6286 /* HP/UX 9 (%@#!) writes to sscanf strings */
6287 tmp_version = g_strdup("$min_gtk_version");
6288 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
6289 printf("%s, bad version string\n", "$min_gtk_version");
6290 exit(1);
6291 }
6292
6293 if ((gtk_major_version != $gtk_config_major_version) ||
6294 (gtk_minor_version != $gtk_config_minor_version) ||
6295 (gtk_micro_version != $gtk_config_micro_version))
6296 {
6297 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6298 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6299 gtk_major_version, gtk_minor_version, gtk_micro_version);
6300 printf ("*** was found! If pkg-config was correct, then it is best\n");
6301 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6302 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6303 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6304 printf("*** required on your system.\n");
6305 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6306 printf("*** to point to the correct configuration files\n");
6307 }
6308 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6309 (gtk_minor_version != GTK_MINOR_VERSION) ||
6310 (gtk_micro_version != GTK_MICRO_VERSION))
6311 {
6312 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6313 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6314 printf("*** library (version %d.%d.%d)\n",
6315 gtk_major_version, gtk_minor_version, gtk_micro_version);
6316 }
6317 else
6318 {
6319 if ((gtk_major_version > major) ||
6320 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6321 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6322 {
6323 return 0;
6324 }
6325 else
6326 {
6327 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6328 gtk_major_version, gtk_minor_version, gtk_micro_version);
6329 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6330 major, minor, micro);
6331 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6332 printf("***\n");
6333 printf("*** If you have already installed a sufficiently new version, this error\n");
6334 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
6335 printf("*** being found. The easiest way to fix this is to remove the old version\n");
6336 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
6337 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6338 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6339 printf("*** so that the correct libraries are found at run-time))\n");
6340 }
6341 }
6342 return 1;
6343}
6344
6345_ACEOF
6346rm -f conftest$ac_exeext
6347if { (ac_try="$ac_link"
6348case "(($ac_try" in
6349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6350 *) ac_try_echo=$ac_try;;
6351esac
6352eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6353 (eval "$ac_link") 2>&5
6354 ac_status=$?
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6357 { (case "(($ac_try" in
6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6359 *) ac_try_echo=$ac_try;;
6360esac
6361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6362 (eval "$ac_try") 2>&5
6363 ac_status=$?
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; }; then
6366 :
6367else
6368 echo "$as_me: program exited with status $ac_status" >&5
6369echo "$as_me: failed program was:" >&5
6370sed 's/^/| /' conftest.$ac_ext >&5
6371
6372( exit $ac_status )
6373no_gtk=yes
6374fi
6375rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6376fi
6377
6378
6379 CFLAGS="$ac_save_CFLAGS"
6380 LIBS="$ac_save_LIBS"
6381 fi
6382 fi
6383 if test "x$no_gtk" = x ; then
6384 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6385echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
6386 :
6387 else
6388 { echo "$as_me:$LINENO: result: no" >&5
6389echo "${ECHO_T}no" >&6; }
6390 if test "$PKG_CONFIG" = "no" ; then
6391 echo "*** A new enough version of pkg-config was not found."
6392 echo "*** See http://pkgconfig.sourceforge.net"
6393 else
6394 if test -f conf.gtktest ; then
6395 :
6396 else
6397 echo "*** Could not run GTK+ test program, checking why..."
6398 ac_save_CFLAGS="$CFLAGS"
6399 ac_save_LIBS="$LIBS"
6400 CFLAGS="$CFLAGS $GTK_CFLAGS"
6401 LIBS="$LIBS $GTK_LIBS"
6402 cat >conftest.$ac_ext <<_ACEOF
6403/* confdefs.h. */
6404_ACEOF
6405cat confdefs.h >>conftest.$ac_ext
6406cat >>conftest.$ac_ext <<_ACEOF
6407/* end confdefs.h. */
6408
6409#include <gtk/gtk.h>
6410#include <stdio.h>
6411
6412int
6413main ()
6414{
6415 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6416 ;
6417 return 0;
6418}
6419_ACEOF
6420rm -f conftest.$ac_objext conftest$ac_exeext
6421if { (ac_try="$ac_link"
6422case "(($ac_try" in
6423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424 *) ac_try_echo=$ac_try;;
6425esac
6426eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6427 (eval "$ac_link") 2>conftest.er1
6428 ac_status=$?
6429 grep -v '^ *+' conftest.er1 >conftest.err
6430 rm -f conftest.er1
6431 cat conftest.err >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } &&
6434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6435 { (case "(($ac_try" in
6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6438esac
6439eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_try") 2>&5
6441 ac_status=$?
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; } &&
6444 { ac_try='test -s conftest$ac_exeext'
6445 { (case "(($ac_try" in
6446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6448esac
6449eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450 (eval "$ac_try") 2>&5
6451 ac_status=$?
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 echo "*** The test program compiled, but did not run. This usually means"
6455 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
6456 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
6457 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6458 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6459 echo "*** is required on your system"
6460 echo "***"
6461 echo "*** If you have an old version installed, it is best to remove it, although"
6462 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6463else
6464 echo "$as_me: failed program was:" >&5
6465sed 's/^/| /' conftest.$ac_ext >&5
6466
6467 echo "*** The test program failed to compile or link. See the file config.log for the"
6468 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
6469fi
6470
6471rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6472 conftest$ac_exeext conftest.$ac_ext
6473 CFLAGS="$ac_save_CFLAGS"
6474 LIBS="$ac_save_LIBS"
6475 fi
6476 fi
6477 GTK_CFLAGS=""
6478 GTK_LIBS=""
6479 { { echo "$as_me:$LINENO: error: GTK+ >= 2.4.0 is required" >&5
6480echo "$as_me: error: GTK+ >= 2.4.0 is required" >&2;}
6481 { (exit 1); exit 1; }; }
6482 fi
6483
6484
6485 rm -f conf.gtktest
6486
6487
6488# libglade 2.0
6489
6490
6491if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6492 if test -n "$ac_tool_prefix"; then
6493 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6494set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6495{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6496echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6497if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6499else
6500 case $PKG_CONFIG in
6501 [\\/]* | ?:[\\/]*)
6502 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6503 ;;
6504 *)
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506for as_dir in $PATH
6507do
6508 IFS=$as_save_IFS
6509 test -z "$as_dir" && as_dir=.
6510 for ac_exec_ext in '' $ac_executable_extensions; do
6511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6512 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 break 2
6515 fi
6516done
6517done
6518IFS=$as_save_IFS
6519
6520 ;;
6521esac
6522fi
6523PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6524if test -n "$PKG_CONFIG"; then
6525 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6526echo "${ECHO_T}$PKG_CONFIG" >&6; }
6527else
6528 { echo "$as_me:$LINENO: result: no" >&5
6529echo "${ECHO_T}no" >&6; }
6530fi
6531
6532
6533fi
6534if test -z "$ac_cv_path_PKG_CONFIG"; then
6535 ac_pt_PKG_CONFIG=$PKG_CONFIG
6536 # Extract the first word of "pkg-config", so it can be a program name with args.
6537set dummy pkg-config; ac_word=$2
6538{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6539echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6540if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6542else
6543 case $ac_pt_PKG_CONFIG in
6544 [\\/]* | ?:[\\/]*)
6545 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6546 ;;
6547 *)
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549for as_dir in $PATH
6550do
6551 IFS=$as_save_IFS
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 break 2
6558 fi
6559done
6560done
6561IFS=$as_save_IFS
6562
6563 ;;
6564esac
6565fi
6566ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6567if test -n "$ac_pt_PKG_CONFIG"; then
6568 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6569echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6570else
6571 { echo "$as_me:$LINENO: result: no" >&5
6572echo "${ECHO_T}no" >&6; }
6573fi
6574
6575 if test "x$ac_pt_PKG_CONFIG" = x; then
6576 PKG_CONFIG=""
6577 else
6578 case $cross_compiling:$ac_tool_warned in
6579yes:)
6580{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6581whose name does not start with the host triplet. If you think this
6582configuration is useful to you, please write to autoconf@gnu.org." >&5
6583echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6584whose name does not start with the host triplet. If you think this
6585configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6586ac_tool_warned=yes ;;
6587esac
6588 PKG_CONFIG=$ac_pt_PKG_CONFIG
6589 fi
6590else
6591 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6592fi
6593
6594fi
6595if test -n "$PKG_CONFIG"; then
6596 _pkg_min_version=0.9.0
6597 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6598echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6599 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6600 { echo "$as_me:$LINENO: result: yes" >&5
6601echo "${ECHO_T}yes" >&6; }
6602 else
6603 { echo "$as_me:$LINENO: result: no" >&5
6604echo "${ECHO_T}no" >&6; }
6605 PKG_CONFIG=""
6606 fi
6607
6608fi
6609
6610pkg_failed=no
6611{ echo "$as_me:$LINENO: checking for LIBGLADE" >&5
6612echo $ECHO_N "checking for LIBGLADE... $ECHO_C" >&6; }
6613
6614if test -n "$PKG_CONFIG"; then
6615 if test -n "$PKG_CONFIG" && \
6616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.4.0\"") >&5
6617 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.4.0") 2>&5
6618 ac_status=$?
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; then
6621 pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.4.0" 2>/dev/null`
6622else
6623 pkg_failed=yes
6624fi
6625else
6626 pkg_failed=untried
6627fi
6628if test -n "$PKG_CONFIG"; then
6629 if test -n "$PKG_CONFIG" && \
6630 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.4.0\"") >&5
6631 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.4.0") 2>&5
6632 ac_status=$?
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; then
6635 pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.4.0" 2>/dev/null`
6636else
6637 pkg_failed=yes
6638fi
6639else
6640 pkg_failed=untried
6641fi
6642
6643if test $pkg_failed = yes; then
6644 LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= 2.4.0"`
6645 # Put the nasty error message in config.log where it belongs
6646 echo "$LIBGLADE_PKG_ERRORS" 1>&5
6647
6648 { { echo "$as_me:$LINENO: error: libglade >= 2.4.0 is required" >&5
6649echo "$as_me: error: libglade >= 2.4.0 is required" >&2;}
6650 { (exit 1); exit 1; }; }
6651elif test $pkg_failed = untried; then
6652 { { echo "$as_me:$LINENO: error: libglade >= 2.4.0 is required" >&5
6653echo "$as_me: error: libglade >= 2.4.0 is required" >&2;}
6654 { (exit 1); exit 1; }; }
6655else
6656 LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS
6657 LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS
6658 { echo "$as_me:$LINENO: result: yes" >&5
6659echo "${ECHO_T}yes" >&6; }
6660 :
6661fi
6662
6663# gtkglext
6664 no_gtkglext=""
6665 GTKGLEXT_CFLAGS=""
6666 GTKGLEXT_LIBS=""
6667
6668 # GtkGLExt pkg-config module
6669 gtkglext_module=gtkglext-1.0
6670
6671 # minimum GtkGLExt version
6672 gtkglext_min_version=1.0.0
6673
6674 # minimum pkg-config version
6675 pkgconfig_min_version=0.7
6676
6677# Check whether --enable-gtkglext-test was given.
6678if test "${enable_gtkglext_test+set}" = set; then
6679 enableval=$enable_gtkglext_test;
6680else
6681 enable_gtkglext_test=yes
6682fi
6683
6684
6685 pkg_config_modules=$gtkglext_module
6686
6687 # Extract the first word of "pkg-config", so it can be a program name with args.
6688set dummy pkg-config; ac_word=$2
6689{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6690echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6691if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6693else
6694 case $PKG_CONFIG in
6695 [\\/]* | ?:[\\/]*)
6696 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6697 ;;
6698 *)
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700for as_dir in $PATH
6701do
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6706 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6709 fi
6710done
6711done
6712IFS=$as_save_IFS
6713
6714 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6715 ;;
6716esac
6717fi
6718PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6719if test -n "$PKG_CONFIG"; then
6720 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6721echo "${ECHO_T}$PKG_CONFIG" >&6; }
6722else
6723 { echo "$as_me:$LINENO: result: no" >&5
6724echo "${ECHO_T}no" >&6; }
6725fi
6726
6727
6728
6729 if test x$PKG_CONFIG != xno ; then
6730 if pkg-config --atleast-pkgconfig-version $pkgconfig_min_version ; then
6731 :
6732 else
6733 echo ""
6734 echo "*** pkg-config too old; version $pkgconfig_min_version or better required."
6735 no_gtkglext=yes
6736 PKG_CONFIG=no
6737 fi
6738 else
6739 no_gtkglext=yes
6740 fi
6741
6742 { echo "$as_me:$LINENO: checking for GtkGLExt - version >= $gtkglext_min_version" >&5
6743echo $ECHO_N "checking for GtkGLExt - version >= $gtkglext_min_version... $ECHO_C" >&6; }
6744
6745 if test x$PKG_CONFIG != xno ; then
6746 ## don't try to run the test against uninstalled libtool libs
6747 if $PKG_CONFIG --uninstalled $pkg_config_modules; then
6748 echo ""
6749 echo "Will use uninstalled version of GtkGLExt found in PKG_CONFIG_PATH"
6750 enable_gtkglext_test=no
6751 fi
6752
6753 if $PKG_CONFIG --atleast-version $gtkglext_min_version $pkg_config_modules; then
6754 :
6755 else
6756 echo ""
6757 echo "*** pkg-config cannot find $gtkglext_module >= $gtkglext_min_version"
6758 echo "*** Set the environment variable PKG_CONFIG_PATH to point to the correct"
6759 echo "*** configuration files."
6760 no_gtkglext=yes
6761 enable_gtkglext_test=no
6762 fi
6763 fi
6764
6765 if test x"$no_gtkglext" = x ; then
6766 GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_modules`
6767 GTKGLEXT_LIBS=`$PKG_CONFIG --libs $pkg_config_modules`
6768 gtkglext_config_major_version=`$PKG_CONFIG --modversion $gtkglext_module | \
6769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6770 gtkglext_config_minor_version=`$PKG_CONFIG --modversion $gtkglext_module | \
6771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6772 gtkglext_config_micro_version=`$PKG_CONFIG --modversion $gtkglext_module | \
6773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6774 if test "x$enable_gtkglext_test" = "xyes" ; then
6775 ac_save_CFLAGS="$CFLAGS"
6776 ac_save_LIBS="$LIBS"
6777 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
6778 LIBS="$GTKGLEXT_LIBS $LIBS"
6779 rm -f conf.gtkgltest
6780 if test "$cross_compiling" = yes; then
6781 echo $ac_n "cross compiling; assumed OK... $ac_c"
6782else
6783 cat >conftest.$ac_ext <<_ACEOF
6784/* confdefs.h. */
6785_ACEOF
6786cat confdefs.h >>conftest.$ac_ext
6787cat >>conftest.$ac_ext <<_ACEOF
6788/* end confdefs.h. */
6789
6790#include <gtk/gtk.h>
6791#include <gtk/gtkgl.h>
6792#include <stdio.h>
6793#include <stdlib.h>
6794
6795int
6796main ()
6797{
6798 int major, minor, micro;
6799 char *tmp_version;
6800
6801 system ("touch conf.gtkgltest");
6802
6803 /* HP/UX 9 (%@#!) writes to sscanf strings */
6804 tmp_version = g_strdup ("$gtkglext_min_version");
6805 if (sscanf (tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3)
6806 {
6807 printf ("%s, bad version string\n", "$gtkglext_min_version");
6808 exit (1);
6809 }
6810
6811 if ((gtkglext_major_version != $gtkglext_config_major_version) ||
6812 (gtkglext_minor_version != $gtkglext_config_minor_version) ||
6813 (gtkglext_micro_version != $gtkglext_config_micro_version))
6814 {
6815 printf ("\n*** 'pkg-config --modversion $gtkglext_module' returned %d.%d.%d, but GtkGLExt\n",
6816 $gtkglext_config_major_version, $gtkglext_config_minor_version, $gtkglext_config_micro_version);
6817 printf ("*** library %d.%d.%d was found!\n",
6818 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
6819 printf ("***\n");
6820 printf ("*** If pkg-config was correct, then it is best to remove the old version\n");
6821 printf ("*** of GtkGLExt. You may also be able to fix the error by modifying your\n");
6822 printf ("*** LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf.\n");
6823 printf ("*** Make sure you have run ldconfig if that is required on your system.\n");
6824 printf ("***\n");
6825 printf ("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6826 printf ("*** to point to the correct configuration files.\n");
6827 }
6828 else if ((gtkglext_major_version != GTKGLEXT_MAJOR_VERSION) ||
6829 (gtkglext_minor_version != GTKGLEXT_MINOR_VERSION) ||
6830 (gtkglext_micro_version != GTKGLEXT_MICRO_VERSION))
6831 {
6832 printf ("\n*** GtkGLExt header files (version %d.%d.%d) do not match library (version %d.%d.%d).\n",
6833 GTKGLEXT_MAJOR_VERSION, GTKGLEXT_MINOR_VERSION, GTKGLEXT_MICRO_VERSION,
6834 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
6835 }
6836 else
6837 {
6838 if ((gtkglext_major_version > major) ||
6839 ((gtkglext_major_version == major) && (gtkglext_minor_version > minor)) ||
6840 ((gtkglext_major_version == major) && (gtkglext_minor_version == minor) && (gtkglext_micro_version >= micro)))
6841 {
6842 return 0;
6843 }
6844 else
6845 {
6846 printf ("\n*** An old version of GtkGLExt library (%d.%d.%d) was found.\n",
6847 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
6848 printf ("*** You need a version of GtkGLExt newer than %d.%d.%d. The latest version of\n",
6849 major, minor, micro);
6850 printf ("*** GtkGLExt is always available from http://gtkglext.sourceforge.net/.\n");
6851 printf ("***\n");
6852 printf ("*** If you have already installed a sufficiently new version, this error\n");
6853 printf ("*** probably means that the wrong copy of the pkg-config shell script is\n");
6854 printf ("*** being found. The easiest way to fix this is to remove the old version\n");
6855 printf ("*** of GtkGLExt, but you can also set the PKG_CONFIG environment to point\n");
6856 printf ("*** to the correct copy of pkg-config. (In this case, you will have to\n");
6857 printf ("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6858 printf ("*** so that the correct libraries are found at run-time)\n");
6859 }
6860 }
6861 return 1;
6862}
6863
6864_ACEOF
6865rm -f conftest$ac_exeext
6866if { (ac_try="$ac_link"
6867case "(($ac_try" in
6868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6869 *) ac_try_echo=$ac_try;;
6870esac
6871eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6872 (eval "$ac_link") 2>&5
6873 ac_status=$?
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6876 { (case "(($ac_try" in
6877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6878 *) ac_try_echo=$ac_try;;
6879esac
6880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6881 (eval "$ac_try") 2>&5
6882 ac_status=$?
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; }; then
6885 :
6886else
6887 echo "$as_me: program exited with status $ac_status" >&5
6888echo "$as_me: failed program was:" >&5
6889sed 's/^/| /' conftest.$ac_ext >&5
6890
6891( exit $ac_status )
6892no_gtkglext=yes
6893fi
6894rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6895fi
6896
6897
6898 CFLAGS="$ac_save_CFLAGS"
6899 LIBS="$ac_save_LIBS"
6900 fi
6901 fi
6902 if test "x$no_gtkglext" = x ; then
6903 { echo "$as_me:$LINENO: result: yes (version $gtkglext_config_major_version.$gtkglext_config_minor_version.$gtkglext_config_micro_version)" >&5
6904echo "${ECHO_T}yes (version $gtkglext_config_major_version.$gtkglext_config_minor_version.$gtkglext_config_micro_version)" >&6; }
6905 :
6906 else
6907 { echo "$as_me:$LINENO: result: no" >&5
6908echo "${ECHO_T}no" >&6; }
6909 if test "$PKG_CONFIG" = "no" ; then
6910 echo "*** A new enough version of pkg-config was not found."
6911 echo "*** See http://www.freedesktop.org/software/pkgconfig/."
6912 elif test "x$enable_gtkglext_test" = "xyes" ; then
6913 if test -f conf.gtkgltest ; then
6914 :
6915 else
6916 echo "*** Could not run GtkGLExt test program, checking why..."
6917 ac_save_CFLAGS="$CFLAGS"
6918 ac_save_LIBS="$LIBS"
6919 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
6920 LIBS="$LIBS $GTKGLEXT_LIBS"
6921 cat >conftest.$ac_ext <<_ACEOF
6922/* confdefs.h. */
6923_ACEOF
6924cat confdefs.h >>conftest.$ac_ext
6925cat >>conftest.$ac_ext <<_ACEOF
6926/* end confdefs.h. */
6927
6928#include <gtk/gtk.h>
6929#include <gtk/gtkgl.h>
6930#include <stdio.h>
6931
6932int
6933main ()
6934{
6935 return ((gtkglext_major_version) || (gtkglext_minor_version) || (gtkglext_micro_version));
6936 ;
6937 return 0;
6938}
6939_ACEOF
6940rm -f conftest.$ac_objext conftest$ac_exeext
6941if { (ac_try="$ac_link"
6942case "(($ac_try" in
6943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6944 *) ac_try_echo=$ac_try;;
6945esac
6946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6947 (eval "$ac_link") 2>conftest.er1
6948 ac_status=$?
6949 grep -v '^ *+' conftest.er1 >conftest.err
6950 rm -f conftest.er1
6951 cat conftest.err >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6955 { (case "(($ac_try" in
6956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6957 *) ac_try_echo=$ac_try;;
6958esac
6959eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6960 (eval "$ac_try") 2>&5
6961 ac_status=$?
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; } &&
6964 { ac_try='test -s conftest$ac_exeext'
6965 { (case "(($ac_try" in
6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6967 *) ac_try_echo=$ac_try;;
6968esac
6969eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6970 (eval "$ac_try") 2>&5
6971 ac_status=$?
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; }; then
6974 echo "*** The test program compiled, but did not run. This usually means"
6975 echo "*** that the run-time linker is not finding GtkGLExt or finding the wrong"
6976 echo "*** version of GtkGLExt. If it is not finding GtkGLExt, you'll need to set your"
6977 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6978 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6979 echo "*** is required on your system"
6980 echo "***"
6981 echo "*** If you have an old version installed, it is best to remove it, although"
6982 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6983else
6984 echo "$as_me: failed program was:" >&5
6985sed 's/^/| /' conftest.$ac_ext >&5
6986
6987 echo "*** The test program failed to compile or link. See the file config.log for the"
6988 echo "*** exact error that occured. This usually means GtkGLExt is incorrectly installed."
6989fi
6990
6991rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6992 conftest$ac_exeext conftest.$ac_ext
6993 CFLAGS="$ac_save_CFLAGS"
6994 LIBS="$ac_save_LIBS"
6995 fi
6996 fi
6997 GTKGLEXT_CFLAGS=""
6998 GTKGLEXT_LIBS=""
6999 { { echo "$as_me:$LINENO: error: GtkGlExt >= 1.0.0 is required" >&5
7000echo "$as_me: error: GtkGlExt >= 1.0.0 is required" >&2;}
7001 { (exit 1); exit 1; }; }
7002 fi
7003
7004
7005 rm -f conf.gtkgltest
7006
7007
7008# libg3d
7009
7010pkg_failed=no
7011{ echo "$as_me:$LINENO: checking for LIBG3D" >&5
7012echo $ECHO_N "checking for LIBG3D... $ECHO_C" >&6; }
7013
7014if test -n "$PKG_CONFIG"; then
7015 if test -n "$PKG_CONFIG" && \
7016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libg3d >= 0.0.5\"") >&5
7017 ($PKG_CONFIG --exists --print-errors "libg3d >= 0.0.5") 2>&5
7018 ac_status=$?
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); }; then
7021 pkg_cv_LIBG3D_CFLAGS=`$PKG_CONFIG --cflags "libg3d >= 0.0.5" 2>/dev/null`
7022else
7023 pkg_failed=yes
7024fi
7025else
7026 pkg_failed=untried
7027fi
7028if test -n "$PKG_CONFIG"; then
7029 if test -n "$PKG_CONFIG" && \
7030 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libg3d >= 0.0.5\"") >&5
7031 ($PKG_CONFIG --exists --print-errors "libg3d >= 0.0.5") 2>&5
7032 ac_status=$?
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; then
7035 pkg_cv_LIBG3D_LIBS=`$PKG_CONFIG --libs "libg3d >= 0.0.5" 2>/dev/null`
7036else
7037 pkg_failed=yes
7038fi
7039else
7040 pkg_failed=untried
7041fi
7042
7043if test $pkg_failed = yes; then
7044 LIBG3D_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libg3d >= 0.0.5"`
7045 # Put the nasty error message in config.log where it belongs
7046 echo "$LIBG3D_PKG_ERRORS" 1>&5
7047
7048 { { echo "$as_me:$LINENO: error: libg3d >= 0.0.5 is required" >&5
7049echo "$as_me: error: libg3d >= 0.0.5 is required" >&2;}
7050 { (exit 1); exit 1; }; }
7051elif test $pkg_failed = untried; then
7052 { { echo "$as_me:$LINENO: error: libg3d >= 0.0.5 is required" >&5
7053echo "$as_me: error: libg3d >= 0.0.5 is required" >&2;}
7054 { (exit 1); exit 1; }; }
7055else
7056 LIBG3D_CFLAGS=$pkg_cv_LIBG3D_CFLAGS
7057 LIBG3D_LIBS=$pkg_cv_LIBG3D_LIBS
7058 { echo "$as_me:$LINENO: result: yes" >&5
7059echo "${ECHO_T}yes" >&6; }
7060 :
7061fi
7062
7063# Check OpenGL stuff
7064{ echo "$as_me:$LINENO: checking for X" >&5
7065echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7066
7067
7068# Check whether --with-x was given.
7069if test "${with_x+set}" = set; then
7070 withval=$with_x;
7071fi
7072
7073# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7074if test "x$with_x" = xno; then
7075 # The user explicitly disabled X.
7076 have_x=disabled
7077else
7078 case $x_includes,$x_libraries in #(
7079 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
7080echo "$as_me: error: Cannot use X directory names containing '" >&2;}
7081 { (exit 1); exit 1; }; };; #(
7082 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084else
7085 # One or both of the vars are not set, and there is no cached value.
7086ac_x_includes=no ac_x_libraries=no
7087rm -f -r conftest.dir
7088if mkdir conftest.dir; then
7089 cd conftest.dir
7090 cat >Imakefile <<'_ACEOF'
7091incroot:
7092 @echo incroot='${INCROOT}'
7093usrlibdir:
7094 @echo usrlibdir='${USRLIBDIR}'
7095libdir:
7096 @echo libdir='${LIBDIR}'
7097_ACEOF
7098 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7100 for ac_var in incroot usrlibdir libdir; do
7101 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7102 done
7103 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7104 for ac_extension in a so sl; do
7105 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7106 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7107 ac_im_usrlibdir=$ac_im_libdir; break
7108 fi
7109 done
7110 # Screen out bogus values from the imake configuration. They are
7111 # bogus both because they are the default anyway, and because
7112 # using them would break gcc on systems where it needs fixed includes.
7113 case $ac_im_incroot in
7114 /usr/include) ac_x_includes= ;;
7115 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7116 esac
7117 case $ac_im_usrlibdir in
7118 /usr/lib | /lib) ;;
7119 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7120 esac
7121 fi
7122 cd ..
7123 rm -f -r conftest.dir
7124fi
7125
7126# Standard set of common directories for X headers.
7127# Check X11 before X11Rn because it is often a symlink to the current release.
7128ac_x_header_dirs='
7129/usr/X11/include
7130/usr/X11R6/include
7131/usr/X11R5/include
7132/usr/X11R4/include
7133
7134/usr/include/X11
7135/usr/include/X11R6
7136/usr/include/X11R5
7137/usr/include/X11R4
7138
7139/usr/local/X11/include
7140/usr/local/X11R6/include
7141/usr/local/X11R5/include
7142/usr/local/X11R4/include
7143
7144/usr/local/include/X11
7145/usr/local/include/X11R6
7146/usr/local/include/X11R5
7147/usr/local/include/X11R4
7148
7149/usr/X386/include
7150/usr/x386/include
7151/usr/XFree86/include/X11
7152
7153/usr/include
7154/usr/local/include
7155/usr/unsupported/include
7156/usr/athena/include
7157/usr/local/x11r5/include
7158/usr/lpp/Xamples/include
7159
7160/usr/openwin/include
7161/usr/openwin/share/include'
7162
7163if test "$ac_x_includes" = no; then
7164 # Guess where to find include files, by looking for Xlib.h.
7165 # First, try using that file with no special directory specified.
7166 cat >conftest.$ac_ext <<_ACEOF
7167/* confdefs.h. */
7168_ACEOF
7169cat confdefs.h >>conftest.$ac_ext
7170cat >>conftest.$ac_ext <<_ACEOF
7171/* end confdefs.h. */
7172#include <X11/Xlib.h>
7173_ACEOF
7174if { (ac_try="$ac_cpp conftest.$ac_ext"
7175case "(($ac_try" in
7176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7177 *) ac_try_echo=$ac_try;;
7178esac
7179eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } >/dev/null; then
7187 if test -s conftest.err; then
7188 ac_cpp_err=$ac_c_preproc_warn_flag
7189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7190 else
7191 ac_cpp_err=
7192 fi
7193else
7194 ac_cpp_err=yes
7195fi
7196if test -z "$ac_cpp_err"; then
7197 # We can compile using X headers with no special include directory.
7198ac_x_includes=
7199else
7200 echo "$as_me: failed program was:" >&5
7201sed 's/^/| /' conftest.$ac_ext >&5
7202
7203 for ac_dir in $ac_x_header_dirs; do
7204 if test -r "$ac_dir/X11/Xlib.h"; then
7205 ac_x_includes=$ac_dir
7206 break
7207 fi
7208done
7209fi
7210
7211rm -f conftest.err conftest.$ac_ext
7212fi # $ac_x_includes = no
7213
7214if test "$ac_x_libraries" = no; then
7215 # Check for the libraries.
7216 # See if we find them without any special options.
7217 # Don't add to $LIBS permanently.
7218 ac_save_LIBS=$LIBS
7219 LIBS="-lX11 $LIBS"
7220 cat >conftest.$ac_ext <<_ACEOF
7221/* confdefs.h. */
7222_ACEOF
7223cat confdefs.h >>conftest.$ac_ext
7224cat >>conftest.$ac_ext <<_ACEOF
7225/* end confdefs.h. */
7226#include <X11/Xlib.h>
7227int
7228main ()
7229{
7230XrmInitialize ()
7231 ;
7232 return 0;
7233}
7234_ACEOF
7235rm -f conftest.$ac_objext conftest$ac_exeext
7236if { (ac_try="$ac_link"
7237case "(($ac_try" in
7238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7239 *) ac_try_echo=$ac_try;;
7240esac
7241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7242 (eval "$ac_link") 2>conftest.er1
7243 ac_status=$?
7244 grep -v '^ *+' conftest.er1 >conftest.err
7245 rm -f conftest.er1
7246 cat conftest.err >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); } &&
7249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7250 { (case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253esac
7254eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_try") 2>&5
7256 ac_status=$?
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; } &&
7259 { ac_try='test -s conftest$ac_exeext'
7260 { (case "(($ac_try" in
7261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7263esac
7264eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265 (eval "$ac_try") 2>&5
7266 ac_status=$?
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; }; then
7269 LIBS=$ac_save_LIBS
7270# We can link X programs with no special library path.
7271ac_x_libraries=
7272else
7273 echo "$as_me: failed program was:" >&5
7274sed 's/^/| /' conftest.$ac_ext >&5
7275
7276 LIBS=$ac_save_LIBS
7277for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7278do
7279 # Don't even attempt the hair of trying to link an X program!
7280 for ac_extension in a so sl; do
7281 if test -r "$ac_dir/libX11.$ac_extension"; then
7282 ac_x_libraries=$ac_dir
7283 break 2
7284 fi
7285 done
7286done
7287fi
7288
7289rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7290 conftest$ac_exeext conftest.$ac_ext
7291fi # $ac_x_libraries = no
7292
7293case $ac_x_includes,$ac_x_libraries in #(
7294 no,* | *,no | *\'*)
7295 # Didn't find X, or a directory has "'" in its name.
7296 ac_cv_have_x="have_x=no";; #(
7297 *)
7298 # Record where we found X for the cache.
7299 ac_cv_have_x="have_x=yes\
7300 ac_x_includes='$ac_x_includes'\
7301 ac_x_libraries='$ac_x_libraries'"
7302esac
7303fi
7304;; #(
7305 *) have_x=yes;;
7306 esac
7307 eval "$ac_cv_have_x"
7308fi # $with_x != no
7309
7310if test "$have_x" != yes; then
7311 { echo "$as_me:$LINENO: result: $have_x" >&5
7312echo "${ECHO_T}$have_x" >&6; }
7313 no_x=yes
7314else
7315 # If each of the values was on the command line, it overrides each guess.
7316 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7317 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7318 # Update the cache value to reflect the command line values.
7319 ac_cv_have_x="have_x=yes\
7320 ac_x_includes='$x_includes'\
7321 ac_x_libraries='$x_libraries'"
7322 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7323echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
7324fi
7325
7326if test "$no_x" = yes; then
7327 # Not all programs may use this symbol, but it does not hurt to define it.
7328
7329cat >>confdefs.h <<\_ACEOF
7330#define X_DISPLAY_MISSING 1
7331_ACEOF
7332
7333 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7334else
7335 if test -n "$x_includes"; then
7336 X_CFLAGS="$X_CFLAGS -I$x_includes"
7337 fi
7338
7339 # It would also be nice to do this for all -L options, not just this one.
7340 if test -n "$x_libraries"; then
7341 X_LIBS="$X_LIBS -L$x_libraries"
7342 # For Solaris; some versions of Sun CC require a space after -R and
7343 # others require no space. Words are not sufficient . . . .
7344 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7345echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
7346 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7347 ac_xsave_c_werror_flag=$ac_c_werror_flag
7348 ac_c_werror_flag=yes
7349 cat >conftest.$ac_ext <<_ACEOF
7350/* confdefs.h. */
7351_ACEOF
7352cat confdefs.h >>conftest.$ac_ext
7353cat >>conftest.$ac_ext <<_ACEOF
7354/* end confdefs.h. */
7355
7356int
7357main ()
7358{
7359
7360 ;
7361 return 0;
7362}
7363_ACEOF
7364rm -f conftest.$ac_objext conftest$ac_exeext
7365if { (ac_try="$ac_link"
7366case "(($ac_try" in
7367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7368 *) ac_try_echo=$ac_try;;
7369esac
7370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7371 (eval "$ac_link") 2>conftest.er1
7372 ac_status=$?
7373 grep -v '^ *+' conftest.er1 >conftest.err
7374 rm -f conftest.er1
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7379 { (case "(($ac_try" in
7380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7381 *) ac_try_echo=$ac_try;;
7382esac
7383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7384 (eval "$ac_try") 2>&5
7385 ac_status=$?
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); }; } &&
7388 { ac_try='test -s conftest$ac_exeext'
7389 { (case "(($ac_try" in
7390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7391 *) ac_try_echo=$ac_try;;
7392esac
7393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7394 (eval "$ac_try") 2>&5
7395 ac_status=$?
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7398 { echo "$as_me:$LINENO: result: no" >&5
7399echo "${ECHO_T}no" >&6; }
7400 X_LIBS="$X_LIBS -R$x_libraries"
7401else
7402 echo "$as_me: failed program was:" >&5
7403sed 's/^/| /' conftest.$ac_ext >&5
7404
7405 LIBS="$ac_xsave_LIBS -R $x_libraries"
7406 cat >conftest.$ac_ext <<_ACEOF
7407/* confdefs.h. */
7408_ACEOF
7409cat confdefs.h >>conftest.$ac_ext
7410cat >>conftest.$ac_ext <<_ACEOF
7411/* end confdefs.h. */
7412
7413int
7414main ()
7415{
7416
7417 ;
7418 return 0;
7419}
7420_ACEOF
7421rm -f conftest.$ac_objext conftest$ac_exeext
7422if { (ac_try="$ac_link"
7423case "(($ac_try" in
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7426esac
7427eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_link") 2>conftest.er1
7429 ac_status=$?
7430 grep -v '^ *+' conftest.er1 >conftest.err
7431 rm -f conftest.er1
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } &&
7435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7436 { (case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439esac
7440eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_try") 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest$ac_exeext'
7446 { (case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7449esac
7450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 { echo "$as_me:$LINENO: result: yes" >&5
7456echo "${ECHO_T}yes" >&6; }
7457 X_LIBS="$X_LIBS -R $x_libraries"
7458else
7459 echo "$as_me: failed program was:" >&5
7460sed 's/^/| /' conftest.$ac_ext >&5
7461
7462 { echo "$as_me:$LINENO: result: neither works" >&5
7463echo "${ECHO_T}neither works" >&6; }
7464fi
7465
7466rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7467 conftest$ac_exeext conftest.$ac_ext
7468fi
7469
7470rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7471 conftest$ac_exeext conftest.$ac_ext
7472 ac_c_werror_flag=$ac_xsave_c_werror_flag
7473 LIBS=$ac_xsave_LIBS
7474 fi
7475
7476 # Check for system-dependent libraries X programs must link with.
7477 # Do this before checking for the system-independent R6 libraries
7478 # (-lICE), since we may need -lsocket or whatever for X linking.
7479
7480 if test "$ISC" = yes; then
7481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7482 else
7483 # Martyn Johnson says this is needed for Ultrix, if the X
7484 # libraries were built with DECnet support. And Karl Berry says
7485 # the Alpha needs dnet_stub (dnet does not exist).
7486 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7487 cat >conftest.$ac_ext <<_ACEOF
7488/* confdefs.h. */
7489_ACEOF
7490cat confdefs.h >>conftest.$ac_ext
7491cat >>conftest.$ac_ext <<_ACEOF
7492/* end confdefs.h. */
7493
7494/* Override any GCC internal prototype to avoid an error.
7495 Use char because int might match the return type of a GCC
7496 builtin and then its argument prototype would still apply. */
7497#ifdef __cplusplus
7498extern "C"
7499#endif
7500char XOpenDisplay ();
7501int
7502main ()
7503{
7504return XOpenDisplay ();
7505 ;
7506 return 0;
7507}
7508_ACEOF
7509rm -f conftest.$ac_objext conftest$ac_exeext
7510if { (ac_try="$ac_link"
7511case "(($ac_try" in
7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7513 *) ac_try_echo=$ac_try;;
7514esac
7515eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7516 (eval "$ac_link") 2>conftest.er1
7517 ac_status=$?
7518 grep -v '^ *+' conftest.er1 >conftest.err
7519 rm -f conftest.er1
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7524 { (case "(($ac_try" in
7525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7527esac
7528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_try") 2>&5
7530 ac_status=$?
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; } &&
7533 { ac_try='test -s conftest$ac_exeext'
7534 { (case "(($ac_try" in
7535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7536 *) ac_try_echo=$ac_try;;
7537esac
7538eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7539 (eval "$ac_try") 2>&5
7540 ac_status=$?
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; }; then
7543 :
7544else
7545 echo "$as_me: failed program was:" >&5
7546sed 's/^/| /' conftest.$ac_ext >&5
7547
7548 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7549echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
7550if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7552else
7553 ac_check_lib_save_LIBS=$LIBS
7554LIBS="-ldnet $LIBS"
7555cat >conftest.$ac_ext <<_ACEOF
7556/* confdefs.h. */
7557_ACEOF
7558cat confdefs.h >>conftest.$ac_ext
7559cat >>conftest.$ac_ext <<_ACEOF
7560/* end confdefs.h. */
7561
7562/* Override any GCC internal prototype to avoid an error.
7563 Use char because int might match the return type of a GCC
7564 builtin and then its argument prototype would still apply. */
7565#ifdef __cplusplus
7566extern "C"
7567#endif
7568char dnet_ntoa ();
7569int
7570main ()
7571{
7572return dnet_ntoa ();
7573 ;
7574 return 0;
7575}
7576_ACEOF
7577rm -f conftest.$ac_objext conftest$ac_exeext
7578if { (ac_try="$ac_link"
7579case "(($ac_try" in
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7582esac
7583eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_link") 2>conftest.er1
7585 ac_status=$?
7586 grep -v '^ *+' conftest.er1 >conftest.err
7587 rm -f conftest.er1
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } &&
7591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7592 { (case "(($ac_try" in
7593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7594 *) ac_try_echo=$ac_try;;
7595esac
7596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7597 (eval "$ac_try") 2>&5
7598 ac_status=$?
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); }; } &&
7601 { ac_try='test -s conftest$ac_exeext'
7602 { (case "(($ac_try" in
7603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7604 *) ac_try_echo=$ac_try;;
7605esac
7606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7607 (eval "$ac_try") 2>&5
7608 ac_status=$?
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; }; then
7611 ac_cv_lib_dnet_dnet_ntoa=yes
7612else
7613 echo "$as_me: failed program was:" >&5
7614sed 's/^/| /' conftest.$ac_ext >&5
7615
7616 ac_cv_lib_dnet_dnet_ntoa=no
7617fi
7618
7619rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7620 conftest$ac_exeext conftest.$ac_ext
7621LIBS=$ac_check_lib_save_LIBS
7622fi
7623{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7624echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7625if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7626 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7627fi
7628
7629 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7630 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7631echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
7632if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7634else
7635 ac_check_lib_save_LIBS=$LIBS
7636LIBS="-ldnet_stub $LIBS"
7637cat >conftest.$ac_ext <<_ACEOF
7638/* confdefs.h. */
7639_ACEOF
7640cat confdefs.h >>conftest.$ac_ext
7641cat >>conftest.$ac_ext <<_ACEOF
7642/* end confdefs.h. */
7643
7644/* Override any GCC internal prototype to avoid an error.
7645 Use char because int might match the return type of a GCC
7646 builtin and then its argument prototype would still apply. */
7647#ifdef __cplusplus
7648extern "C"
7649#endif
7650char dnet_ntoa ();
7651int
7652main ()
7653{
7654return dnet_ntoa ();
7655 ;
7656 return 0;
7657}
7658_ACEOF
7659rm -f conftest.$ac_objext conftest$ac_exeext
7660if { (ac_try="$ac_link"
7661case "(($ac_try" in
7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7663 *) ac_try_echo=$ac_try;;
7664esac
7665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7666 (eval "$ac_link") 2>conftest.er1
7667 ac_status=$?
7668 grep -v '^ *+' conftest.er1 >conftest.err
7669 rm -f conftest.er1
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } &&
7673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7674 { (case "(($ac_try" in
7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676 *) ac_try_echo=$ac_try;;
7677esac
7678eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679 (eval "$ac_try") 2>&5
7680 ac_status=$?
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest$ac_exeext'
7684 { (case "(($ac_try" in
7685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7686 *) ac_try_echo=$ac_try;;
7687esac
7688eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7689 (eval "$ac_try") 2>&5
7690 ac_status=$?
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7694else
7695 echo "$as_me: failed program was:" >&5
7696sed 's/^/| /' conftest.$ac_ext >&5
7697
7698 ac_cv_lib_dnet_stub_dnet_ntoa=no
7699fi
7700
7701rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7702 conftest$ac_exeext conftest.$ac_ext
7703LIBS=$ac_check_lib_save_LIBS
7704fi
7705{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7706echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7707if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7708 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7709fi
7710
7711 fi
7712fi
7713
7714rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7715 conftest$ac_exeext conftest.$ac_ext
7716 LIBS="$ac_xsave_LIBS"
7717
7718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7719 # to get the SysV transport functions.
7720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7721 # needs -lnsl.
7722 # The nsl library prevents programs from opening the X display
7723 # on Irix 5.2, according to T.E. Dickey.
7724 # The functions gethostbyname, getservbyname, and inet_addr are
7725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7726 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
7727echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
7728if test "${ac_cv_func_gethostbyname+set}" = set; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6
7730else
7731 cat >conftest.$ac_ext <<_ACEOF
7732/* confdefs.h. */
7733_ACEOF
7734cat confdefs.h >>conftest.$ac_ext
7735cat >>conftest.$ac_ext <<_ACEOF
7736/* end confdefs.h. */
7737/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7739#define gethostbyname innocuous_gethostbyname
7740
7741/* System header to define __stub macros and hopefully few prototypes,
7742 which can conflict with char gethostbyname (); below.
7743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7744 <limits.h> exists even on freestanding compilers. */
7745
7746#ifdef __STDC__
7747# include <limits.h>
7748#else
7749# include <assert.h>
7750#endif
7751
7752#undef gethostbyname
7753
7754/* Override any GCC internal prototype to avoid an error.
7755 Use char because int might match the return type of a GCC
7756 builtin and then its argument prototype would still apply. */
7757#ifdef __cplusplus
7758extern "C"
7759#endif
7760char gethostbyname ();
7761/* The GNU C library defines this for functions which it implements
7762 to always fail with ENOSYS. Some functions are actually named
7763 something starting with __ and the normal name is an alias. */
7764#if defined __stub_gethostbyname || defined __stub___gethostbyname
7765choke me
7766#endif
7767
7768int
7769main ()
7770{
7771return gethostbyname ();
7772 ;
7773 return 0;
7774}
7775_ACEOF
7776rm -f conftest.$ac_objext conftest$ac_exeext
7777if { (ac_try="$ac_link"
7778case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7781esac
7782eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_link") 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } &&
7790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7791 { (case "(($ac_try" in
7792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 *) ac_try_echo=$ac_try;;
7794esac
7795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 (eval "$ac_try") 2>&5
7797 ac_status=$?
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); }; } &&
7800 { ac_try='test -s conftest$ac_exeext'
7801 { (case "(($ac_try" in
7802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7803 *) ac_try_echo=$ac_try;;
7804esac
7805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_try") 2>&5
7807 ac_status=$?
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); }; }; then
7810 ac_cv_func_gethostbyname=yes
7811else
7812 echo "$as_me: failed program was:" >&5
7813sed 's/^/| /' conftest.$ac_ext >&5
7814
7815 ac_cv_func_gethostbyname=no
7816fi
7817
7818rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7819 conftest$ac_exeext conftest.$ac_ext
7820fi
7821{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7822echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
7823
7824 if test $ac_cv_func_gethostbyname = no; then
7825 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7826echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7827if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7829else
7830 ac_check_lib_save_LIBS=$LIBS
7831LIBS="-lnsl $LIBS"
7832cat >conftest.$ac_ext <<_ACEOF
7833/* confdefs.h. */
7834_ACEOF
7835cat confdefs.h >>conftest.$ac_ext
7836cat >>conftest.$ac_ext <<_ACEOF
7837/* end confdefs.h. */
7838
7839/* Override any GCC internal prototype to avoid an error.
7840 Use char because int might match the return type of a GCC
7841 builtin and then its argument prototype would still apply. */
7842#ifdef __cplusplus
7843extern "C"
7844#endif
7845char gethostbyname ();
7846int
7847main ()
7848{
7849return gethostbyname ();
7850 ;
7851 return 0;
7852}
7853_ACEOF
7854rm -f conftest.$ac_objext conftest$ac_exeext
7855if { (ac_try="$ac_link"
7856case "(($ac_try" in
7857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7858 *) ac_try_echo=$ac_try;;
7859esac
7860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_link") 2>conftest.er1
7862 ac_status=$?
7863 grep -v '^ *+' conftest.er1 >conftest.err
7864 rm -f conftest.er1
7865 cat conftest.err >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } &&
7868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7869 { (case "(($ac_try" in
7870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7871 *) ac_try_echo=$ac_try;;
7872esac
7873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7874 (eval "$ac_try") 2>&5
7875 ac_status=$?
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; } &&
7878 { ac_try='test -s conftest$ac_exeext'
7879 { (case "(($ac_try" in
7880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7881 *) ac_try_echo=$ac_try;;
7882esac
7883eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7884 (eval "$ac_try") 2>&5
7885 ac_status=$?
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); }; }; then
7888 ac_cv_lib_nsl_gethostbyname=yes
7889else
7890 echo "$as_me: failed program was:" >&5
7891sed 's/^/| /' conftest.$ac_ext >&5
7892
7893 ac_cv_lib_nsl_gethostbyname=no
7894fi
7895
7896rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7897 conftest$ac_exeext conftest.$ac_ext
7898LIBS=$ac_check_lib_save_LIBS
7899fi
7900{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7901echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7902if test $ac_cv_lib_nsl_gethostbyname = yes; then
7903 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7904fi
7905
7906 if test $ac_cv_lib_nsl_gethostbyname = no; then
7907 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7908echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
7909if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7911else
7912 ac_check_lib_save_LIBS=$LIBS
7913LIBS="-lbsd $LIBS"
7914cat >conftest.$ac_ext <<_ACEOF
7915/* confdefs.h. */
7916_ACEOF
7917cat confdefs.h >>conftest.$ac_ext
7918cat >>conftest.$ac_ext <<_ACEOF
7919/* end confdefs.h. */
7920
7921/* Override any GCC internal prototype to avoid an error.
7922 Use char because int might match the return type of a GCC
7923 builtin and then its argument prototype would still apply. */
7924#ifdef __cplusplus
7925extern "C"
7926#endif
7927char gethostbyname ();
7928int
7929main ()
7930{
7931return gethostbyname ();
7932 ;
7933 return 0;
7934}
7935_ACEOF
7936rm -f conftest.$ac_objext conftest$ac_exeext
7937if { (ac_try="$ac_link"
7938case "(($ac_try" in
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7941esac
7942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7943 (eval "$ac_link") 2>conftest.er1
7944 ac_status=$?
7945 grep -v '^ *+' conftest.er1 >conftest.err
7946 rm -f conftest.er1
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7951 { (case "(($ac_try" in
7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7953 *) ac_try_echo=$ac_try;;
7954esac
7955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_try") 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; } &&
7960 { ac_try='test -s conftest$ac_exeext'
7961 { (case "(($ac_try" in
7962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7963 *) ac_try_echo=$ac_try;;
7964esac
7965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7966 (eval "$ac_try") 2>&5
7967 ac_status=$?
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 ac_cv_lib_bsd_gethostbyname=yes
7971else
7972 echo "$as_me: failed program was:" >&5
7973sed 's/^/| /' conftest.$ac_ext >&5
7974
7975 ac_cv_lib_bsd_gethostbyname=no
7976fi
7977
7978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7979 conftest$ac_exeext conftest.$ac_ext
7980LIBS=$ac_check_lib_save_LIBS
7981fi
7982{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7983echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
7984if test $ac_cv_lib_bsd_gethostbyname = yes; then
7985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7986fi
7987
7988 fi
7989 fi
7990
7991 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7992 # socket/setsockopt and other routines are undefined under SCO ODT
7993 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7994 # on later versions), says Simon Leinen: it contains gethostby*
7995 # variants that don't use the name server (or something). -lsocket
7996 # must be given before -lnsl if both are needed. We assume that
7997 # if connect needs -lnsl, so does gethostbyname.
7998 { echo "$as_me:$LINENO: checking for connect" >&5
7999echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
8000if test "${ac_cv_func_connect+set}" = set; then
8001 echo $ECHO_N "(cached) $ECHO_C" >&6
8002else
8003 cat >conftest.$ac_ext <<_ACEOF
8004/* confdefs.h. */
8005_ACEOF
8006cat confdefs.h >>conftest.$ac_ext
8007cat >>conftest.$ac_ext <<_ACEOF
8008/* end confdefs.h. */
8009/* Define connect to an innocuous variant, in case <limits.h> declares connect.
8010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8011#define connect innocuous_connect
8012
8013/* System header to define __stub macros and hopefully few prototypes,
8014 which can conflict with char connect (); below.
8015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8016 <limits.h> exists even on freestanding compilers. */
8017
8018#ifdef __STDC__
8019# include <limits.h>
8020#else
8021# include <assert.h>
8022#endif
8023
8024#undef connect
8025
8026/* Override any GCC internal prototype to avoid an error.
8027 Use char because int might match the return type of a GCC
8028 builtin and then its argument prototype would still apply. */
8029#ifdef __cplusplus
8030extern "C"
8031#endif
8032char connect ();
8033/* The GNU C library defines this for functions which it implements
8034 to always fail with ENOSYS. Some functions are actually named
8035 something starting with __ and the normal name is an alias. */
8036#if defined __stub_connect || defined __stub___connect
8037choke me
8038#endif
8039
8040int
8041main ()
8042{
8043return connect ();
8044 ;
8045 return 0;
8046}
8047_ACEOF
8048rm -f conftest.$ac_objext conftest$ac_exeext
8049if { (ac_try="$ac_link"
8050case "(($ac_try" in
8051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8052 *) ac_try_echo=$ac_try;;
8053esac
8054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055 (eval "$ac_link") 2>conftest.er1
8056 ac_status=$?
8057 grep -v '^ *+' conftest.er1 >conftest.err
8058 rm -f conftest.er1
8059 cat conftest.err >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); } &&
8062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8063 { (case "(($ac_try" in
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8066esac
8067eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_try") 2>&5
8069 ac_status=$?
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); }; } &&
8072 { ac_try='test -s conftest$ac_exeext'
8073 { (case "(($ac_try" in
8074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075 *) ac_try_echo=$ac_try;;
8076esac
8077eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8078 (eval "$ac_try") 2>&5
8079 ac_status=$?
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; }; then
8082 ac_cv_func_connect=yes
8083else
8084 echo "$as_me: failed program was:" >&5
8085sed 's/^/| /' conftest.$ac_ext >&5
8086
8087 ac_cv_func_connect=no
8088fi
8089
8090rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8091 conftest$ac_exeext conftest.$ac_ext
8092fi
8093{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8094echo "${ECHO_T}$ac_cv_func_connect" >&6; }
8095
8096 if test $ac_cv_func_connect = no; then
8097 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8098echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
8099if test "${ac_cv_lib_socket_connect+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8101else
8102 ac_check_lib_save_LIBS=$LIBS
8103LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8104cat >conftest.$ac_ext <<_ACEOF
8105/* confdefs.h. */
8106_ACEOF
8107cat confdefs.h >>conftest.$ac_ext
8108cat >>conftest.$ac_ext <<_ACEOF
8109/* end confdefs.h. */
8110
8111/* Override any GCC internal prototype to avoid an error.
8112 Use char because int might match the return type of a GCC
8113 builtin and then its argument prototype would still apply. */
8114#ifdef __cplusplus
8115extern "C"
8116#endif
8117char connect ();
8118int
8119main ()
8120{
8121return connect ();
8122 ;
8123 return 0;
8124}
8125_ACEOF
8126rm -f conftest.$ac_objext conftest$ac_exeext
8127if { (ac_try="$ac_link"
8128case "(($ac_try" in
8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 *) ac_try_echo=$ac_try;;
8131esac
8132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8133 (eval "$ac_link") 2>conftest.er1
8134 ac_status=$?
8135 grep -v '^ *+' conftest.er1 >conftest.err
8136 rm -f conftest.er1
8137 cat conftest.err >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } &&
8140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8141 { (case "(($ac_try" in
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8144esac
8145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_try") 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try='test -s conftest$ac_exeext'
8151 { (case "(($ac_try" in
8152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8153 *) ac_try_echo=$ac_try;;
8154esac
8155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8156 (eval "$ac_try") 2>&5
8157 ac_status=$?
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; }; then
8160 ac_cv_lib_socket_connect=yes
8161else
8162 echo "$as_me: failed program was:" >&5
8163sed 's/^/| /' conftest.$ac_ext >&5
8164
8165 ac_cv_lib_socket_connect=no
8166fi
8167
8168rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8169 conftest$ac_exeext conftest.$ac_ext
8170LIBS=$ac_check_lib_save_LIBS
8171fi
8172{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8173echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
8174if test $ac_cv_lib_socket_connect = yes; then
8175 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8176fi
8177
8178 fi
8179
8180 # Guillermo Gomez says -lposix is necessary on A/UX.
8181 { echo "$as_me:$LINENO: checking for remove" >&5
8182echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
8183if test "${ac_cv_func_remove+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6
8185else
8186 cat >conftest.$ac_ext <<_ACEOF
8187/* confdefs.h. */
8188_ACEOF
8189cat confdefs.h >>conftest.$ac_ext
8190cat >>conftest.$ac_ext <<_ACEOF
8191/* end confdefs.h. */
8192/* Define remove to an innocuous variant, in case <limits.h> declares remove.
8193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8194#define remove innocuous_remove
8195
8196/* System header to define __stub macros and hopefully few prototypes,
8197 which can conflict with char remove (); below.
8198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8199 <limits.h> exists even on freestanding compilers. */
8200
8201#ifdef __STDC__
8202# include <limits.h>
8203#else
8204# include <assert.h>
8205#endif
8206
8207#undef remove
8208
8209/* Override any GCC internal prototype to avoid an error.
8210 Use char because int might match the return type of a GCC
8211 builtin and then its argument prototype would still apply. */
8212#ifdef __cplusplus
8213extern "C"
8214#endif
8215char remove ();
8216/* The GNU C library defines this for functions which it implements
8217 to always fail with ENOSYS. Some functions are actually named
8218 something starting with __ and the normal name is an alias. */
8219#if defined __stub_remove || defined __stub___remove
8220choke me
8221#endif
8222
8223int
8224main ()
8225{
8226return remove ();
8227 ;
8228 return 0;
8229}
8230_ACEOF
8231rm -f conftest.$ac_objext conftest$ac_exeext
8232if { (ac_try="$ac_link"
8233case "(($ac_try" in
8234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8235 *) ac_try_echo=$ac_try;;
8236esac
8237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8238 (eval "$ac_link") 2>conftest.er1
8239 ac_status=$?
8240 grep -v '^ *+' conftest.er1 >conftest.err
8241 rm -f conftest.er1
8242 cat conftest.err >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } &&
8245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8246 { (case "(($ac_try" in
8247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8248 *) ac_try_echo=$ac_try;;
8249esac
8250eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8251 (eval "$ac_try") 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; } &&
8255 { ac_try='test -s conftest$ac_exeext'
8256 { (case "(($ac_try" in
8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8259esac
8260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_try") 2>&5
8262 ac_status=$?
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); }; }; then
8265 ac_cv_func_remove=yes
8266else
8267 echo "$as_me: failed program was:" >&5
8268sed 's/^/| /' conftest.$ac_ext >&5
8269
8270 ac_cv_func_remove=no
8271fi
8272
8273rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8274 conftest$ac_exeext conftest.$ac_ext
8275fi
8276{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8277echo "${ECHO_T}$ac_cv_func_remove" >&6; }
8278
8279 if test $ac_cv_func_remove = no; then
8280 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8281echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
8282if test "${ac_cv_lib_posix_remove+set}" = set; then
8283 echo $ECHO_N "(cached) $ECHO_C" >&6
8284else
8285 ac_check_lib_save_LIBS=$LIBS
8286LIBS="-lposix $LIBS"
8287cat >conftest.$ac_ext <<_ACEOF
8288/* confdefs.h. */
8289_ACEOF
8290cat confdefs.h >>conftest.$ac_ext
8291cat >>conftest.$ac_ext <<_ACEOF
8292/* end confdefs.h. */
8293
8294/* Override any GCC internal prototype to avoid an error.
8295 Use char because int might match the return type of a GCC
8296 builtin and then its argument prototype would still apply. */
8297#ifdef __cplusplus
8298extern "C"
8299#endif
8300char remove ();
8301int
8302main ()
8303{
8304return remove ();
8305 ;
8306 return 0;
8307}
8308_ACEOF
8309rm -f conftest.$ac_objext conftest$ac_exeext
8310if { (ac_try="$ac_link"
8311case "(($ac_try" in
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 *) ac_try_echo=$ac_try;;
8314esac
8315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316 (eval "$ac_link") 2>conftest.er1
8317 ac_status=$?
8318 grep -v '^ *+' conftest.er1 >conftest.err
8319 rm -f conftest.er1
8320 cat conftest.err >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } &&
8323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8324 { (case "(($ac_try" in
8325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8326 *) ac_try_echo=$ac_try;;
8327esac
8328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8329 (eval "$ac_try") 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } &&
8333 { ac_try='test -s conftest$ac_exeext'
8334 { (case "(($ac_try" in
8335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336 *) ac_try_echo=$ac_try;;
8337esac
8338eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339 (eval "$ac_try") 2>&5
8340 ac_status=$?
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; }; then
8343 ac_cv_lib_posix_remove=yes
8344else
8345 echo "$as_me: failed program was:" >&5
8346sed 's/^/| /' conftest.$ac_ext >&5
8347
8348 ac_cv_lib_posix_remove=no
8349fi
8350
8351rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8352 conftest$ac_exeext conftest.$ac_ext
8353LIBS=$ac_check_lib_save_LIBS
8354fi
8355{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8356echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
8357if test $ac_cv_lib_posix_remove = yes; then
8358 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8359fi
8360
8361 fi
8362
8363 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8364 { echo "$as_me:$LINENO: checking for shmat" >&5
8365echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
8366if test "${ac_cv_func_shmat+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8368else
8369 cat >conftest.$ac_ext <<_ACEOF
8370/* confdefs.h. */
8371_ACEOF
8372cat confdefs.h >>conftest.$ac_ext
8373cat >>conftest.$ac_ext <<_ACEOF
8374/* end confdefs.h. */
8375/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8377#define shmat innocuous_shmat
8378
8379/* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char shmat (); below.
8381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8382 <limits.h> exists even on freestanding compilers. */
8383
8384#ifdef __STDC__
8385# include <limits.h>
8386#else
8387# include <assert.h>
8388#endif
8389
8390#undef shmat
8391
8392/* Override any GCC internal prototype to avoid an error.
8393 Use char because int might match the return type of a GCC
8394 builtin and then its argument prototype would still apply. */
8395#ifdef __cplusplus
8396extern "C"
8397#endif
8398char shmat ();
8399/* The GNU C library defines this for functions which it implements
8400 to always fail with ENOSYS. Some functions are actually named
8401 something starting with __ and the normal name is an alias. */
8402#if defined __stub_shmat || defined __stub___shmat
8403choke me
8404#endif
8405
8406int
8407main ()
8408{
8409return shmat ();
8410 ;
8411 return 0;
8412}
8413_ACEOF
8414rm -f conftest.$ac_objext conftest$ac_exeext
8415if { (ac_try="$ac_link"
8416case "(($ac_try" in
8417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8418 *) ac_try_echo=$ac_try;;
8419esac
8420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8421 (eval "$ac_link") 2>conftest.er1
8422 ac_status=$?
8423 grep -v '^ *+' conftest.er1 >conftest.err
8424 rm -f conftest.er1
8425 cat conftest.err >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8429 { (case "(($ac_try" in
8430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8432esac
8433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8434 (eval "$ac_try") 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; } &&
8438 { ac_try='test -s conftest$ac_exeext'
8439 { (case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;;
8442esac
8443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 (eval "$ac_try") 2>&5
8445 ac_status=$?
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; }; then
8448 ac_cv_func_shmat=yes
8449else
8450 echo "$as_me: failed program was:" >&5
8451sed 's/^/| /' conftest.$ac_ext >&5
8452
8453 ac_cv_func_shmat=no
8454fi
8455
8456rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8457 conftest$ac_exeext conftest.$ac_ext
8458fi
8459{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8460echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
8461
8462 if test $ac_cv_func_shmat = no; then
8463 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8464echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
8465if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8467else
8468 ac_check_lib_save_LIBS=$LIBS
8469LIBS="-lipc $LIBS"
8470cat >conftest.$ac_ext <<_ACEOF
8471/* confdefs.h. */
8472_ACEOF
8473cat confdefs.h >>conftest.$ac_ext
8474cat >>conftest.$ac_ext <<_ACEOF
8475/* end confdefs.h. */
8476
8477/* Override any GCC internal prototype to avoid an error.
8478 Use char because int might match the return type of a GCC
8479 builtin and then its argument prototype would still apply. */
8480#ifdef __cplusplus
8481extern "C"
8482#endif
8483char shmat ();
8484int
8485main ()
8486{
8487return shmat ();
8488 ;
8489 return 0;
8490}
8491_ACEOF
8492rm -f conftest.$ac_objext conftest$ac_exeext
8493if { (ac_try="$ac_link"
8494case "(($ac_try" in
8495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8496 *) ac_try_echo=$ac_try;;
8497esac
8498eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8499 (eval "$ac_link") 2>conftest.er1
8500 ac_status=$?
8501 grep -v '^ *+' conftest.er1 >conftest.err
8502 rm -f conftest.er1
8503 cat conftest.err >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } &&
8506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8507 { (case "(($ac_try" in
8508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8509 *) ac_try_echo=$ac_try;;
8510esac
8511eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8512 (eval "$ac_try") 2>&5
8513 ac_status=$?
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; } &&
8516 { ac_try='test -s conftest$ac_exeext'
8517 { (case "(($ac_try" in
8518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8519 *) ac_try_echo=$ac_try;;
8520esac
8521eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8522 (eval "$ac_try") 2>&5
8523 ac_status=$?
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; }; then
8526 ac_cv_lib_ipc_shmat=yes
8527else
8528 echo "$as_me: failed program was:" >&5
8529sed 's/^/| /' conftest.$ac_ext >&5
8530
8531 ac_cv_lib_ipc_shmat=no
8532fi
8533
8534rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8535 conftest$ac_exeext conftest.$ac_ext
8536LIBS=$ac_check_lib_save_LIBS
8537fi
8538{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8539echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
8540if test $ac_cv_lib_ipc_shmat = yes; then
8541 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8542fi
8543
8544 fi
8545 fi
8546
8547 # Check for libraries that X11R6 Xt/Xaw programs need.
8548 ac_save_LDFLAGS=$LDFLAGS
8549 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8550 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8551 # check for ICE first), but we must link in the order -lSM -lICE or
8552 # we get undefined symbols. So assume we have SM if we have ICE.
8553 # These have to be linked with before -lX11, unlike the other
8554 # libraries we check for below, so use a different variable.
8555 # John Interrante, Karl Berry
8556 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8557echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
8558if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8560else
8561 ac_check_lib_save_LIBS=$LIBS
8562LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8563cat >conftest.$ac_ext <<_ACEOF
8564/* confdefs.h. */
8565_ACEOF
8566cat confdefs.h >>conftest.$ac_ext
8567cat >>conftest.$ac_ext <<_ACEOF
8568/* end confdefs.h. */
8569
8570/* Override any GCC internal prototype to avoid an error.
8571 Use char because int might match the return type of a GCC
8572 builtin and then its argument prototype would still apply. */
8573#ifdef __cplusplus
8574extern "C"
8575#endif
8576char IceConnectionNumber ();
8577int
8578main ()
8579{
8580return IceConnectionNumber ();
8581 ;
8582 return 0;
8583}
8584_ACEOF
8585rm -f conftest.$ac_objext conftest$ac_exeext
8586if { (ac_try="$ac_link"
8587case "(($ac_try" in
8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8589 *) ac_try_echo=$ac_try;;
8590esac
8591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8592 (eval "$ac_link") 2>conftest.er1
8593 ac_status=$?
8594 grep -v '^ *+' conftest.er1 >conftest.err
8595 rm -f conftest.er1
8596 cat conftest.err >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } &&
8599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8600 { (case "(($ac_try" in
8601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8602 *) ac_try_echo=$ac_try;;
8603esac
8604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8605 (eval "$ac_try") 2>&5
8606 ac_status=$?
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); }; } &&
8609 { ac_try='test -s conftest$ac_exeext'
8610 { (case "(($ac_try" in
8611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612 *) ac_try_echo=$ac_try;;
8613esac
8614eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 (eval "$ac_try") 2>&5
8616 ac_status=$?
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; }; then
8619 ac_cv_lib_ICE_IceConnectionNumber=yes
8620else
8621 echo "$as_me: failed program was:" >&5
8622sed 's/^/| /' conftest.$ac_ext >&5
8623
8624 ac_cv_lib_ICE_IceConnectionNumber=no
8625fi
8626
8627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8628 conftest$ac_exeext conftest.$ac_ext
8629LIBS=$ac_check_lib_save_LIBS
8630fi
8631{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8632echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8633if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8634 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8635fi
8636
8637 LDFLAGS=$ac_save_LDFLAGS
8638
8639fi
8640
8641
8642ac_save_CPPFLAGS="$CPPFLAGS"
8643CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8644
8645ac_save_LIBS="$LIBS"
8646LIBS="$LIBS $X_LIBS"
8647
8648
8649
8650for ac_header in GL/gl.h GL/glu.h
8651do
8652as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8653{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8654echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8655if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8657else
8658 cat >conftest.$ac_ext <<_ACEOF
8659/* confdefs.h. */
8660_ACEOF
8661cat confdefs.h >>conftest.$ac_ext
8662cat >>conftest.$ac_ext <<_ACEOF
8663/* end confdefs.h. */
8664#include <GL/gl.h>
8665
8666#include <$ac_header>
8667_ACEOF
8668rm -f conftest.$ac_objext
8669if { (ac_try="$ac_compile"
8670case "(($ac_try" in
8671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8672 *) ac_try_echo=$ac_try;;
8673esac
8674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8675 (eval "$ac_compile") 2>conftest.er1
8676 ac_status=$?
8677 grep -v '^ *+' conftest.er1 >conftest.err
8678 rm -f conftest.er1
8679 cat conftest.err >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } &&
8682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8683 { (case "(($ac_try" in
8684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8685 *) ac_try_echo=$ac_try;;
8686esac
8687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8688 (eval "$ac_try") 2>&5
8689 ac_status=$?
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try='test -s conftest.$ac_objext'
8693 { (case "(($ac_try" in
8694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8695 *) ac_try_echo=$ac_try;;
8696esac
8697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8698 (eval "$ac_try") 2>&5
8699 ac_status=$?
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); }; }; then
8702 eval "$as_ac_Header=yes"
8703else
8704 echo "$as_me: failed program was:" >&5
8705sed 's/^/| /' conftest.$ac_ext >&5
8706
8707 eval "$as_ac_Header=no"
8708fi
8709
8710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8711fi
8712ac_res=`eval echo '${'$as_ac_Header'}'`
8713 { echo "$as_me:$LINENO: result: $ac_res" >&5
8714echo "${ECHO_T}$ac_res" >&6; }
8715if test `eval echo '${'$as_ac_Header'}'` = yes; then
8716 cat >>confdefs.h <<_ACEOF
8717#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8718_ACEOF
8719
8720else
8721 { { echo "$as_me:$LINENO: error: some OpenGL headers missing" >&5
8722echo "$as_me: error: some OpenGL headers missing" >&2;}
8723 { (exit 1); exit 1; }; }
8724fi
8725
8726done
8727
8728
8729{ echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
8730echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
8731if test "${ac_cv_lib_GL_glBegin+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8733else
8734 ac_check_lib_save_LIBS=$LIBS
8735LIBS="-lGL $LIBS"
8736cat >conftest.$ac_ext <<_ACEOF
8737/* confdefs.h. */
8738_ACEOF
8739cat confdefs.h >>conftest.$ac_ext
8740cat >>conftest.$ac_ext <<_ACEOF
8741/* end confdefs.h. */
8742
8743/* Override any GCC internal prototype to avoid an error.
8744 Use char because int might match the return type of a GCC
8745 builtin and then its argument prototype would still apply. */
8746#ifdef __cplusplus
8747extern "C"
8748#endif
8749char glBegin ();
8750int
8751main ()
8752{
8753return glBegin ();
8754 ;
8755 return 0;
8756}
8757_ACEOF
8758rm -f conftest.$ac_objext conftest$ac_exeext
8759if { (ac_try="$ac_link"
8760case "(($ac_try" in
8761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8762 *) ac_try_echo=$ac_try;;
8763esac
8764eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8765 (eval "$ac_link") 2>conftest.er1
8766 ac_status=$?
8767 grep -v '^ *+' conftest.er1 >conftest.err
8768 rm -f conftest.er1
8769 cat conftest.err >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } &&
8772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8773 { (case "(($ac_try" in
8774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8775 *) ac_try_echo=$ac_try;;
8776esac
8777eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8778 (eval "$ac_try") 2>&5
8779 ac_status=$?
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; } &&
8782 { ac_try='test -s conftest$ac_exeext'
8783 { (case "(($ac_try" in
8784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8785 *) ac_try_echo=$ac_try;;
8786esac
8787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8788 (eval "$ac_try") 2>&5
8789 ac_status=$?
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); }; }; then
8792 ac_cv_lib_GL_glBegin=yes
8793else
8794 echo "$as_me: failed program was:" >&5
8795sed 's/^/| /' conftest.$ac_ext >&5
8796
8797 ac_cv_lib_GL_glBegin=no
8798fi
8799
8800rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8801 conftest$ac_exeext conftest.$ac_ext
8802LIBS=$ac_check_lib_save_LIBS
8803fi
8804{ echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
8805echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
8806if test $ac_cv_lib_GL_glBegin = yes; then
8807 have_gl=yes
8808else
8809 have_gl=no
8810fi
8811
8812{ echo "$as_me:$LINENO: checking for gluPerspective in -lGLU" >&5
8813echo $ECHO_N "checking for gluPerspective in -lGLU... $ECHO_C" >&6; }
8814if test "${ac_cv_lib_GLU_gluPerspective+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8816else
8817 ac_check_lib_save_LIBS=$LIBS
8818LIBS="-lGLU -lGL $GTK_LIBS $LIBS"
8819cat >conftest.$ac_ext <<_ACEOF
8820/* confdefs.h. */
8821_ACEOF
8822cat confdefs.h >>conftest.$ac_ext
8823cat >>conftest.$ac_ext <<_ACEOF
8824/* end confdefs.h. */
8825
8826/* Override any GCC internal prototype to avoid an error.
8827 Use char because int might match the return type of a GCC
8828 builtin and then its argument prototype would still apply. */
8829#ifdef __cplusplus
8830extern "C"
8831#endif
8832char gluPerspective ();
8833int
8834main ()
8835{
8836return gluPerspective ();
8837 ;
8838 return 0;
8839}
8840_ACEOF
8841rm -f conftest.$ac_objext conftest$ac_exeext
8842if { (ac_try="$ac_link"
8843case "(($ac_try" in
8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8845 *) ac_try_echo=$ac_try;;
8846esac
8847eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8848 (eval "$ac_link") 2>conftest.er1
8849 ac_status=$?
8850 grep -v '^ *+' conftest.er1 >conftest.err
8851 rm -f conftest.er1
8852 cat conftest.err >&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } &&
8855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8856 { (case "(($ac_try" in
8857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858 *) ac_try_echo=$ac_try;;
8859esac
8860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861 (eval "$ac_try") 2>&5
8862 ac_status=$?
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; } &&
8865 { ac_try='test -s conftest$ac_exeext'
8866 { (case "(($ac_try" in
8867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8868 *) ac_try_echo=$ac_try;;
8869esac
8870eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8871 (eval "$ac_try") 2>&5
8872 ac_status=$?
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8875 ac_cv_lib_GLU_gluPerspective=yes
8876else
8877 echo "$as_me: failed program was:" >&5
8878sed 's/^/| /' conftest.$ac_ext >&5
8879
8880 ac_cv_lib_GLU_gluPerspective=no
8881fi
8882
8883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8884 conftest$ac_exeext conftest.$ac_ext
8885LIBS=$ac_check_lib_save_LIBS
8886fi
8887{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluPerspective" >&5
8888echo "${ECHO_T}$ac_cv_lib_GLU_gluPerspective" >&6; }
8889if test $ac_cv_lib_GLU_gluPerspective = yes; then
8890 have_glu=yes
8891else
8892 have_glu=no
8893fi
8894
8895if test $have_gl = no || test $have_glu = no; then
8896 { { echo "$as_me:$LINENO: error: libgl or libglu missing" >&5
8897echo "$as_me: error: libgl or libglu missing" >&2;}
8898 { (exit 1); exit 1; }; }
8899else
8900 GL_LIBS="-lGL -lGLU $GTK_LIBS"
8901
8902fi
8903
8904# Check some UNIX headers
8905
8906
8907
8908for ac_header in dirent.h sys/stat.h unistd.h
8909do
8910as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8911{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8912echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8913if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8915else
8916 cat >conftest.$ac_ext <<_ACEOF
8917/* confdefs.h. */
8918_ACEOF
8919cat confdefs.h >>conftest.$ac_ext
8920cat >>conftest.$ac_ext <<_ACEOF
8921/* end confdefs.h. */
8922#include <sys/types.h>
8923
8924#include <$ac_header>
8925_ACEOF
8926rm -f conftest.$ac_objext
8927if { (ac_try="$ac_compile"
8928case "(($ac_try" in
8929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8930 *) ac_try_echo=$ac_try;;
8931esac
8932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8933 (eval "$ac_compile") 2>conftest.er1
8934 ac_status=$?
8935 grep -v '^ *+' conftest.er1 >conftest.err
8936 rm -f conftest.er1
8937 cat conftest.err >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8941 { (case "(($ac_try" in
8942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8943 *) ac_try_echo=$ac_try;;
8944esac
8945eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8946 (eval "$ac_try") 2>&5
8947 ac_status=$?
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; } &&
8950 { ac_try='test -s conftest.$ac_objext'
8951 { (case "(($ac_try" in
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8954esac
8955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_try") 2>&5
8957 ac_status=$?
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 eval "$as_ac_Header=yes"
8961else
8962 echo "$as_me: failed program was:" >&5
8963sed 's/^/| /' conftest.$ac_ext >&5
8964
8965 eval "$as_ac_Header=no"
8966fi
8967
8968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8969fi
8970ac_res=`eval echo '${'$as_ac_Header'}'`
8971 { echo "$as_me:$LINENO: result: $ac_res" >&5
8972echo "${ECHO_T}$ac_res" >&6; }
8973if test `eval echo '${'$as_ac_Header'}'` = yes; then
8974 cat >>confdefs.h <<_ACEOF
8975#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8976_ACEOF
8977
8978else
8979 { { echo "$as_me:$LINENO: error: missing header file" >&5
8980echo "$as_me: error: missing header file" >&2;}
8981 { (exit 1); exit 1; }; }
8982fi
8983
8984done
8985
8986
8987# Look for snprintf (optional)
8988{ echo "$as_me:$LINENO: checking for snprintf" >&5
8989echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
8990if test "${ac_cv_func_snprintf+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8992else
8993 cat >conftest.$ac_ext <<_ACEOF
8994/* confdefs.h. */
8995_ACEOF
8996cat confdefs.h >>conftest.$ac_ext
8997cat >>conftest.$ac_ext <<_ACEOF
8998/* end confdefs.h. */
8999/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
9000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9001#define snprintf innocuous_snprintf
9002
9003/* System header to define __stub macros and hopefully few prototypes,
9004 which can conflict with char snprintf (); below.
9005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9006 <limits.h> exists even on freestanding compilers. */
9007
9008#ifdef __STDC__
9009# include <limits.h>
9010#else
9011# include <assert.h>
9012#endif
9013
9014#undef snprintf
9015
9016/* Override any GCC internal prototype to avoid an error.
9017 Use char because int might match the return type of a GCC
9018 builtin and then its argument prototype would still apply. */
9019#ifdef __cplusplus
9020extern "C"
9021#endif
9022char snprintf ();
9023/* The GNU C library defines this for functions which it implements
9024 to always fail with ENOSYS. Some functions are actually named
9025 something starting with __ and the normal name is an alias. */
9026#if defined __stub_snprintf || defined __stub___snprintf
9027choke me
9028#endif
9029
9030int
9031main ()
9032{
9033return snprintf ();
9034 ;
9035 return 0;
9036}
9037_ACEOF
9038rm -f conftest.$ac_objext conftest$ac_exeext
9039if { (ac_try="$ac_link"
9040case "(($ac_try" in
9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9043esac
9044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_link") 2>conftest.er1
9046 ac_status=$?
9047 grep -v '^ *+' conftest.er1 >conftest.err
9048 rm -f conftest.er1
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } &&
9052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9053 { (case "(($ac_try" in
9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9056esac
9057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_try") 2>&5
9059 ac_status=$?
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; } &&
9062 { ac_try='test -s conftest$ac_exeext'
9063 { (case "(($ac_try" in
9064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065 *) ac_try_echo=$ac_try;;
9066esac
9067eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9069 ac_status=$?
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; }; then
9072 ac_cv_func_snprintf=yes
9073else
9074 echo "$as_me: failed program was:" >&5
9075sed 's/^/| /' conftest.$ac_ext >&5
9076
9077 ac_cv_func_snprintf=no
9078fi
9079
9080rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9081 conftest$ac_exeext conftest.$ac_ext
9082fi
9083{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
9084echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
9085if test $ac_cv_func_snprintf = yes; then
9086
9087cat >>confdefs.h <<\_ACEOF
9088#define HAVE_SNPRINTF 1
9089_ACEOF
9090
9091fi
9092
9093
9094# Look for fstat (required)
9095{ echo "$as_me:$LINENO: checking for fstat" >&5
9096echo $ECHO_N "checking for fstat... $ECHO_C" >&6; }
9097if test "${ac_cv_func_fstat+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9099else
9100 cat >conftest.$ac_ext <<_ACEOF
9101/* confdefs.h. */
9102_ACEOF
9103cat confdefs.h >>conftest.$ac_ext
9104cat >>conftest.$ac_ext <<_ACEOF
9105/* end confdefs.h. */
9106/* Define fstat to an innocuous variant, in case <limits.h> declares fstat.
9107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9108#define fstat innocuous_fstat
9109
9110/* System header to define __stub macros and hopefully few prototypes,
9111 which can conflict with char fstat (); below.
9112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9113 <limits.h> exists even on freestanding compilers. */
9114
9115#ifdef __STDC__
9116# include <limits.h>
9117#else
9118# include <assert.h>
9119#endif
9120
9121#undef fstat
9122
9123/* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9126#ifdef __cplusplus
9127extern "C"
9128#endif
9129char fstat ();
9130/* The GNU C library defines this for functions which it implements
9131 to always fail with ENOSYS. Some functions are actually named
9132 something starting with __ and the normal name is an alias. */
9133#if defined __stub_fstat || defined __stub___fstat
9134choke me
9135#endif
9136
9137int
9138main ()
9139{
9140return fstat ();
9141 ;
9142 return 0;
9143}
9144_ACEOF
9145rm -f conftest.$ac_objext conftest$ac_exeext
9146if { (ac_try="$ac_link"
9147case "(($ac_try" in
9148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9149 *) ac_try_echo=$ac_try;;
9150esac
9151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9152 (eval "$ac_link") 2>conftest.er1
9153 ac_status=$?
9154 grep -v '^ *+' conftest.er1 >conftest.err
9155 rm -f conftest.er1
9156 cat conftest.err >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); } &&
9159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9160 { (case "(($ac_try" in
9161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9162 *) ac_try_echo=$ac_try;;
9163esac
9164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9165 (eval "$ac_try") 2>&5
9166 ac_status=$?
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; } &&
9169 { ac_try='test -s conftest$ac_exeext'
9170 { (case "(($ac_try" in
9171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9172 *) ac_try_echo=$ac_try;;
9173esac
9174eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9175 (eval "$ac_try") 2>&5
9176 ac_status=$?
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_cv_func_fstat=yes
9180else
9181 echo "$as_me: failed program was:" >&5
9182sed 's/^/| /' conftest.$ac_ext >&5
9183
9184 ac_cv_func_fstat=no
9185fi
9186
9187rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9188 conftest$ac_exeext conftest.$ac_ext
9189fi
9190{ echo "$as_me:$LINENO: result: $ac_cv_func_fstat" >&5
9191echo "${ECHO_T}$ac_cv_func_fstat" >&6; }
9192if test $ac_cv_func_fstat = yes; then
9193 have_fstat=yes
9194else
9195 have_fstat=no
9196fi
9197
9198if test $have_fstat = no; then
9199 { { echo "$as_me:$LINENO: error: fstat function not found" >&5
9200echo "$as_me: error: fstat function not found" >&2;}
9201 { (exit 1); exit 1; }; }
9202fi
9203
9204# Debug level (verbosity & optimization)
9205{ echo "$as_me:$LINENO: checking for debug level" >&5
9206echo $ECHO_N "checking for debug level... $ECHO_C" >&6; }
9207# Check whether --enable-debug was given.
9208if test "${enable_debug+set}" = set; then
9209 enableval=$enable_debug; if test "$enableval" = "yes" ; then DEBUG=1; else DEBUG=$enableval; fi
9210else
9211 DEBUG=0
9212fi
9213
9214{ echo "$as_me:$LINENO: result: $DEBUG" >&5
9215echo "${ECHO_T}$DEBUG" >&6; }
9216
9217
9218if test "$DEBUG" = "0"; then
9219 DBG_CFLAGS="-O2"
9220else
9221 DBG_CFLAGS="-g -DGLIB_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
9222fi
9223
9224
9225# Data & plugin directories
9226
9227 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
9228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9229 ac_define_dir=`eval echo $datadir/$PACKAGE`
9230 ac_define_dir=`eval echo $ac_define_dir`
9231
9232cat >>confdefs.h <<_ACEOF
9233#define DATA_DIR "$ac_define_dir"
9234_ACEOF
9235
9236
9237
9238# Create the files
9239ac_config_files="$ac_config_files Makefile m4/Makefile man/Makefile src/Makefile thumbnailer/Makefile pixmaps/Makefile glade/Makefile po/Makefile.in"
9240
9241cat >confcache <<\_ACEOF
9242# This file is a shell script that caches the results of configure
9243# tests run on this system so they can be shared between configure
9244# scripts and configure runs, see configure's option --config-cache.
9245# It is not useful on other systems. If it contains results you don't
9246# want to keep, you may remove or edit it.
9247#
9248# config.status only pays attention to the cache file if you give it
9249# the --recheck option to rerun configure.
9250#
9251# `ac_cv_env_foo' variables (set or unset) will be overridden when
9252# loading this file, other *unset* `ac_cv_foo' will be assigned the
9253# following values.
9254
9255_ACEOF
9256
9257# The following way of writing the cache mishandles newlines in values,
9258# but we know of no workaround that is simple, portable, and efficient.
9259# So, we kill variables containing newlines.
9260# Ultrix sh set writes to stderr and can't be redirected directly,
9261# and sets the high bit in the cache file unless we assign to the vars.
9262(
9263 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9264 eval ac_val=\$$ac_var
9265 case $ac_val in #(
9266 *${as_nl}*)
9267 case $ac_var in #(
9268 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9269echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9270 esac
9271 case $ac_var in #(
9272 _ | IFS | as_nl) ;; #(
9273 *) $as_unset $ac_var ;;
9274 esac ;;
9275 esac
9276 done
9277
9278 (set) 2>&1 |
9279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9280 *${as_nl}ac_space=\ *)
9281 # `set' does not quote correctly, so add quotes (double-quote
9282 # substitution turns \\\\ into \\, and sed turns \\ into \).
9283 sed -n \
9284 "s/'/'\\\\''/g;
9285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9286 ;; #(
9287 *)
9288 # `set' quotes correctly as required by POSIX, so do not add quotes.
9289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9290 ;;
9291 esac |
9292 sort
9293) |
9294 sed '
9295 /^ac_cv_env_/b end
9296 t clear
9297 :clear
9298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9299 t end
9300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9301 :end' >>confcache
9302if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9303 if test -w "$cache_file"; then
9304 test "x$cache_file" != "x/dev/null" &&
9305 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9306echo "$as_me: updating cache $cache_file" >&6;}
9307 cat confcache >$cache_file
9308 else
9309 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9310echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9311 fi
9312fi
9313rm -f confcache
9314
9315test "x$prefix" = xNONE && prefix=$ac_default_prefix
9316# Let make expand exec_prefix.
9317test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9318
9319DEFS=-DHAVE_CONFIG_H
9320
9321ac_libobjs=
9322ac_ltlibobjs=
9323for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9324 # 1. Remove the extension, and $U if already installed.
9325 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9326 ac_i=`echo "$ac_i" | sed "$ac_script"`
9327 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9328 # will be set to the directory where LIBOBJS objects are built.
9329 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9330 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9331done
9332LIBOBJS=$ac_libobjs
9333
9334LTLIBOBJS=$ac_ltlibobjs
9335
9336
9337if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9338 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9339Usually this means the macro was only invoked conditionally." >&5
9340echo "$as_me: error: conditional \"AMDEP\" was never defined.
9341Usually this means the macro was only invoked conditionally." >&2;}
9342 { (exit 1); exit 1; }; }
9343fi
9344if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9345 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9346Usually this means the macro was only invoked conditionally." >&5
9347echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9348Usually this means the macro was only invoked conditionally." >&2;}
9349 { (exit 1); exit 1; }; }
9350fi
9351
9352: ${CONFIG_STATUS=./config.status}
9353ac_clean_files_save=$ac_clean_files
9354ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9355{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9356echo "$as_me: creating $CONFIG_STATUS" >&6;}
9357cat >$CONFIG_STATUS <<_ACEOF
9358#! $SHELL
9359# Generated by $as_me.
9360# Run this file to recreate the current configuration.
9361# Compiler output produced by configure, useful for debugging
9362# configure, is in config.log if it exists.
9363
9364debug=false
9365ac_cs_recheck=false
9366ac_cs_silent=false
9367SHELL=\${CONFIG_SHELL-$SHELL}
9368_ACEOF
9369
9370cat >>$CONFIG_STATUS <<\_ACEOF
9371## --------------------- ##
9372## M4sh Initialization. ##
9373## --------------------- ##
9374
9375# Be Bourne compatible
9376if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9377 emulate sh
9378 NULLCMD=:
9379 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9380 # is contrary to our usage. Disable this feature.
9381 alias -g '${1+"$@"}'='"$@"'
9382 setopt NO_GLOB_SUBST
9383else
9384 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
9385fi
9386BIN_SH=xpg4; export BIN_SH # for Tru64
9387DUALCASE=1; export DUALCASE # for MKS sh
9388
9389
9390# PATH needs CR
9391# Avoid depending upon Character Ranges.
9392as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9393as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9394as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9395as_cr_digits='0123456789'
9396as_cr_alnum=$as_cr_Letters$as_cr_digits
9397
9398# The user is always right.
9399if test "${PATH_SEPARATOR+set}" != set; then
9400 echo "#! /bin/sh" >conf$$.sh
9401 echo "exit 0" >>conf$$.sh
9402 chmod +x conf$$.sh
9403 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9404 PATH_SEPARATOR=';'
9405 else
9406 PATH_SEPARATOR=:
9407 fi
9408 rm -f conf$$.sh
9409fi
9410
9411# Support unset when possible.
9412if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9413 as_unset=unset
9414else
9415 as_unset=false
9416fi
9417
9418
9419# IFS
9420# We need space, tab and new line, in precisely that order. Quoting is
9421# there to prevent editors from complaining about space-tab.
9422# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9423# splitting by setting IFS to empty value.)
9424as_nl='
9425'
9426IFS=" "" $as_nl"
9427
9428# Find who we are. Look in the path if we contain no directory separator.
9429case $0 in
9430 *[\\/]* ) as_myself=$0 ;;
9431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432for as_dir in $PATH
9433do
9434 IFS=$as_save_IFS
9435 test -z "$as_dir" && as_dir=.
9436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9437done
9438IFS=$as_save_IFS
9439
9440 ;;
9441esac
9442# We did not find ourselves, most probably we were run as `sh COMMAND'
9443# in which case we are not to be found in the path.
9444if test "x$as_myself" = x; then
9445 as_myself=$0
9446fi
9447if test ! -f "$as_myself"; then
9448 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9449 { (exit 1); exit 1; }
9450fi
9451
9452# Work around bugs in pre-3.0 UWIN ksh.
9453for as_var in ENV MAIL MAILPATH
9454do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9455done
9456PS1='$ '
9457PS2='> '
9458PS4='+ '
9459
9460# NLS nuisances.
9461for as_var in \
9462 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9463 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9464 LC_TELEPHONE LC_TIME
9465do
9466 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9467 eval $as_var=C; export $as_var
9468 else
9469 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9470 fi
9471done
9472
9473# Required to use basename.
9474if expr a : '\(a\)' >/dev/null 2>&1 &&
9475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9476 as_expr=expr
9477else
9478 as_expr=false
9479fi
9480
9481if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9482 as_basename=basename
9483else
9484 as_basename=false
9485fi
9486
9487
9488# Name of the executable.
9489as_me=`$as_basename -- "$0" ||
9490$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9491 X"$0" : 'X\(//\)$' \| \
9492 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9493echo X/"$0" |
9494 sed '/^.*\/\([^/][^/]*\)\/*$/{
9495 s//\1/
9496 q
9497 }
9498 /^X\/\(\/\/\)$/{
9499 s//\1/
9500 q
9501 }
9502 /^X\/\(\/\).*/{
9503 s//\1/
9504 q
9505 }
9506 s/.*/./; q'`
9507
9508# CDPATH.
9509$as_unset CDPATH
9510
9511
9512
9513 as_lineno_1=$LINENO
9514 as_lineno_2=$LINENO
9515 test "x$as_lineno_1" != "x$as_lineno_2" &&
9516 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9517
9518 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9519 # uniformly replaced by the line number. The first 'sed' inserts a
9520 # line-number line after each line using $LINENO; the second 'sed'
9521 # does the real work. The second script uses 'N' to pair each
9522 # line-number line with the line containing $LINENO, and appends
9523 # trailing '-' during substitution so that $LINENO is not a special
9524 # case at line end.
9525 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9526 # scripts with optimization help from Paolo Bonzini. Blame Lee
9527 # E. McMahon (1931-1989) for sed's syntax. :-)
9528 sed -n '
9529 p
9530 /[$]LINENO/=
9531 ' <$as_myself |
9532 sed '
9533 s/[$]LINENO.*/&-/
9534 t lineno
9535 b
9536 :lineno
9537 N
9538 :loop
9539 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9540 t loop
9541 s/-\n.*//
9542 ' >$as_me.lineno &&
9543 chmod +x "$as_me.lineno" ||
9544 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9545 { (exit 1); exit 1; }; }
9546
9547 # Don't try to exec as it changes $[0], causing all sort of problems
9548 # (the dirname of $[0] is not the place where we might find the
9549 # original and so on. Autoconf is especially sensitive to this).
9550 . "./$as_me.lineno"
9551 # Exit status is that of the last command.
9552 exit
9553}
9554
9555
9556if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9557 as_dirname=dirname
9558else
9559 as_dirname=false
9560fi
9561
9562ECHO_C= ECHO_N= ECHO_T=
9563case `echo -n x` in
9564-n*)
9565 case `echo 'x\c'` in
9566 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9567 *) ECHO_C='\c';;
9568 esac;;
9569*)
9570 ECHO_N='-n';;
9571esac
9572
9573if expr a : '\(a\)' >/dev/null 2>&1 &&
9574 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9575 as_expr=expr
9576else
9577 as_expr=false
9578fi
9579
9580rm -f conf$$ conf$$.exe conf$$.file
9581if test -d conf$$.dir; then
9582 rm -f conf$$.dir/conf$$.file
9583else
9584 rm -f conf$$.dir
9585 mkdir conf$$.dir
9586fi
9587echo >conf$$.file
9588if ln -s conf$$.file conf$$ 2>/dev/null; then
9589 as_ln_s='ln -s'
9590 # ... but there are two gotchas:
9591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9593 # In both cases, we have to default to `cp -p'.
9594 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9595 as_ln_s='cp -p'
9596elif ln conf$$.file conf$$ 2>/dev/null; then
9597 as_ln_s=ln
9598else
9599 as_ln_s='cp -p'
9600fi
9601rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9602rmdir conf$$.dir 2>/dev/null
9603
9604if mkdir -p . 2>/dev/null; then
9605 as_mkdir_p=:
9606else
9607 test -d ./-p && rmdir ./-p
9608 as_mkdir_p=false
9609fi
9610
9611# Find out whether ``test -x'' works. Don't use a zero-byte file, as
9612# systems may use methods other than mode bits to determine executability.
9613cat >conf$$.file <<_ASEOF
9614#! /bin/sh
9615exit 0
9616_ASEOF
9617chmod +x conf$$.file
9618if test -x conf$$.file >/dev/null 2>&1; then
9619 as_executable_p="test -x"
9620else
9621 as_executable_p=:
9622fi
9623rm -f conf$$.file
9624
9625# Sed expression to map a string onto a valid CPP name.
9626as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9627
9628# Sed expression to map a string onto a valid variable name.
9629as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9630
9631
9632exec 6>&1
9633
9634# Save the log message, to keep $[0] and so on meaningful, and to
9635# report actual input values of CONFIG_FILES etc. instead of their
9636# values after options handling.
9637ac_log="
9638This file was extended by $as_me, which was
9639generated by GNU Autoconf 2.60a. Invocation command line was
9640
9641 CONFIG_FILES = $CONFIG_FILES
9642 CONFIG_HEADERS = $CONFIG_HEADERS
9643 CONFIG_LINKS = $CONFIG_LINKS
9644 CONFIG_COMMANDS = $CONFIG_COMMANDS
9645 $ $0 $@
9646
9647on `(hostname || uname -n) 2>/dev/null | sed 1q`
9648"
9649
9650_ACEOF
9651
9652cat >>$CONFIG_STATUS <<_ACEOF
9653# Files that config.status was made for.
9654config_files="$ac_config_files"
9655config_headers="$ac_config_headers"
9656config_commands="$ac_config_commands"
9657
9658_ACEOF
9659
9660cat >>$CONFIG_STATUS <<\_ACEOF
9661ac_cs_usage="\
9662\`$as_me' instantiates files from templates according to the
9663current configuration.
9664
9665Usage: $0 [OPTIONS] [FILE]...
9666
9667 -h, --help print this help, then exit
9668 -V, --version print version number and configuration settings, then exit
9669 -q, --quiet do not print progress messages
9670 -d, --debug don't remove temporary files
9671 --recheck update $as_me by reconfiguring in the same conditions
9672 --file=FILE[:TEMPLATE]
9673 instantiate the configuration file FILE
9674 --header=FILE[:TEMPLATE]
9675 instantiate the configuration header FILE
9676
9677Configuration files:
9678$config_files
9679
9680Configuration headers:
9681$config_headers
9682
9683Configuration commands:
9684$config_commands
9685
9686Report bugs to <bug-autoconf@gnu.org>."
9687
9688_ACEOF
9689cat >>$CONFIG_STATUS <<_ACEOF
9690ac_cs_version="\\
9691config.status
9692configured by $0, generated by GNU Autoconf 2.60a,
9693 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9694
9695Copyright (C) 2006 Free Software Foundation, Inc.
9696This config.status script is free software; the Free Software Foundation
9697gives unlimited permission to copy, distribute and modify it."
9698
9699ac_pwd='$ac_pwd'
9700srcdir='$srcdir'
9701INSTALL='$INSTALL'
9702_ACEOF
9703
9704cat >>$CONFIG_STATUS <<\_ACEOF
9705# If no file are specified by the user, then we need to provide default
9706# value. By we need to know if files were specified by the user.
9707ac_need_defaults=:
9708while test $# != 0
9709do
9710 case $1 in
9711 --*=*)
9712 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9713 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9714 ac_shift=:
9715 ;;
9716 *)
9717 ac_option=$1
9718 ac_optarg=$2
9719 ac_shift=shift
9720 ;;
9721 esac
9722
9723 case $ac_option in
9724 # Handling of the options.
9725 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9726 ac_cs_recheck=: ;;
9727 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9728 echo "$ac_cs_version"; exit ;;
9729 --debug | --debu | --deb | --de | --d | -d )
9730 debug=: ;;
9731 --file | --fil | --fi | --f )
9732 $ac_shift
9733 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9734 ac_need_defaults=false;;
9735 --header | --heade | --head | --hea )
9736 $ac_shift
9737 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9738 ac_need_defaults=false;;
9739 --he | --h)
9740 # Conflict between --help and --header
9741 { echo "$as_me: error: ambiguous option: $1
9742Try \`$0 --help' for more information." >&2
9743 { (exit 1); exit 1; }; };;
9744 --help | --hel | -h )
9745 echo "$ac_cs_usage"; exit ;;
9746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9747 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9748 ac_cs_silent=: ;;
9749
9750 # This is an error.
9751 -*) { echo "$as_me: error: unrecognized option: $1
9752Try \`$0 --help' for more information." >&2
9753 { (exit 1); exit 1; }; } ;;
9754
9755 *) ac_config_targets="$ac_config_targets $1"
9756 ac_need_defaults=false ;;
9757
9758 esac
9759 shift
9760done
9761
9762ac_configure_extra_args=
9763
9764if $ac_cs_silent; then
9765 exec 6>/dev/null
9766 ac_configure_extra_args="$ac_configure_extra_args --silent"
9767fi
9768
9769_ACEOF
9770cat >>$CONFIG_STATUS <<_ACEOF
9771if \$ac_cs_recheck; then
9772 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9773 CONFIG_SHELL=$SHELL
9774 export CONFIG_SHELL
9775 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9776fi
9777
9778_ACEOF
9779cat >>$CONFIG_STATUS <<\_ACEOF
9780exec 5>>config.log
9781{
9782 echo
9783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9784## Running $as_me. ##
9785_ASBOX
9786 echo "$ac_log"
9787} >&5
9788
9789_ACEOF
9790cat >>$CONFIG_STATUS <<_ACEOF
9791#
9792# INIT-COMMANDS
9793#
9794AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9795
9796
9797_ACEOF
9798
9799cat >>$CONFIG_STATUS <<\_ACEOF
9800
9801# Handling of arguments.
9802for ac_config_target in $ac_config_targets
9803do
9804 case $ac_config_target in
9805 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9806 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9807 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9808 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9809 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9810 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
9811 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9812 "thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES thumbnailer/Makefile" ;;
9813 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
9814 "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
9815 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9816
9817 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9818echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9819 { (exit 1); exit 1; }; };;
9820 esac
9821done
9822
9823
9824# If the user did not use the arguments to specify the items to instantiate,
9825# then the envvar interface is used. Set only those that are not.
9826# We use the long form for the default assignment because of an extremely
9827# bizarre bug on SunOS 4.1.3.
9828if $ac_need_defaults; then
9829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9830 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9831 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9832fi
9833
9834# Have a temporary directory for convenience. Make it in the build tree
9835# simply because there is no reason against having it here, and in addition,
9836# creating and moving files from /tmp can sometimes cause problems.
9837# Hook for its removal unless debugging.
9838# Note that there is a small window in which the directory will not be cleaned:
9839# after its creation but before its name has been assigned to `$tmp'.
9840$debug ||
9841{
9842 tmp=
9843 trap 'exit_status=$?
9844 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9845' 0
9846 trap '{ (exit 1); exit 1; }' 1 2 13 15
9847}
9848# Create a (secure) tmp directory for tmp files.
9849
9850{
9851 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9852 test -n "$tmp" && test -d "$tmp"
9853} ||
9854{
9855 tmp=./conf$$-$RANDOM
9856 (umask 077 && mkdir "$tmp")
9857} ||
9858{
9859 echo "$me: cannot create a temporary directory in ." >&2
9860 { (exit 1); exit 1; }
9861}
9862
9863#
9864# Set up the sed scripts for CONFIG_FILES section.
9865#
9866
9867# No need to generate the scripts if there are no CONFIG_FILES.
9868# This happens for instance when ./config.status config.h
9869if test -n "$CONFIG_FILES"; then
9870
9871_ACEOF
9872
9873
9874
9875ac_delim='%!_!# '
9876for ac_last_try in false false false false false :; do
9877 cat >conf$$subs.sed <<_ACEOF
9878SHELL!$SHELL$ac_delim
9879PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9880PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9881PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9882PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9883PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9884PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9885exec_prefix!$exec_prefix$ac_delim
9886prefix!$prefix$ac_delim
9887program_transform_name!$program_transform_name$ac_delim
9888bindir!$bindir$ac_delim
9889sbindir!$sbindir$ac_delim
9890libexecdir!$libexecdir$ac_delim
9891datarootdir!$datarootdir$ac_delim
9892datadir!$datadir$ac_delim
9893sysconfdir!$sysconfdir$ac_delim
9894sharedstatedir!$sharedstatedir$ac_delim
9895localstatedir!$localstatedir$ac_delim
9896includedir!$includedir$ac_delim
9897oldincludedir!$oldincludedir$ac_delim
9898docdir!$docdir$ac_delim
9899infodir!$infodir$ac_delim
9900htmldir!$htmldir$ac_delim
9901dvidir!$dvidir$ac_delim
9902pdfdir!$pdfdir$ac_delim
9903psdir!$psdir$ac_delim
9904libdir!$libdir$ac_delim
9905localedir!$localedir$ac_delim
9906mandir!$mandir$ac_delim
9907DEFS!$DEFS$ac_delim
9908ECHO_C!$ECHO_C$ac_delim
9909ECHO_N!$ECHO_N$ac_delim
9910ECHO_T!$ECHO_T$ac_delim
9911LIBS!$LIBS$ac_delim
9912build_alias!$build_alias$ac_delim
9913host_alias!$host_alias$ac_delim
9914target_alias!$target_alias$ac_delim
9915INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9916INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9917INSTALL_DATA!$INSTALL_DATA$ac_delim
9918CYGPATH_W!$CYGPATH_W$ac_delim
9919PACKAGE!$PACKAGE$ac_delim
9920VERSION!$VERSION$ac_delim
9921ACLOCAL!$ACLOCAL$ac_delim
9922AUTOCONF!$AUTOCONF$ac_delim
9923AUTOMAKE!$AUTOMAKE$ac_delim
9924AUTOHEADER!$AUTOHEADER$ac_delim
9925MAKEINFO!$MAKEINFO$ac_delim
9926AMTAR!$AMTAR$ac_delim
9927install_sh!$install_sh$ac_delim
9928STRIP!$STRIP$ac_delim
9929INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9930AWK!$AWK$ac_delim
9931SET_MAKE!$SET_MAKE$ac_delim
9932am__leading_dot!$am__leading_dot$ac_delim
9933CC!$CC$ac_delim
9934CFLAGS!$CFLAGS$ac_delim
9935LDFLAGS!$LDFLAGS$ac_delim
9936CPPFLAGS!$CPPFLAGS$ac_delim
9937ac_ct_CC!$ac_ct_CC$ac_delim
9938EXEEXT!$EXEEXT$ac_delim
9939OBJEXT!$OBJEXT$ac_delim
9940DEPDIR!$DEPDIR$ac_delim
9941am__include!$am__include$ac_delim
9942am__quote!$am__quote$ac_delim
9943AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9944AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9945AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9946CCDEPMODE!$CCDEPMODE$ac_delim
9947am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9948am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9949CPP!$CPP$ac_delim
9950GREP!$GREP$ac_delim
9951EGREP!$EGREP$ac_delim
9952USE_NLS!$USE_NLS$ac_delim
9953MSGFMT!$MSGFMT$ac_delim
9954GMSGFMT!$GMSGFMT$ac_delim
9955XGETTEXT!$XGETTEXT$ac_delim
9956CATALOGS!$CATALOGS$ac_delim
9957CATOBJEXT!$CATOBJEXT$ac_delim
9958DATADIRNAME!$DATADIRNAME$ac_delim
9959GMOFILES!$GMOFILES$ac_delim
9960INSTOBJEXT!$INSTOBJEXT$ac_delim
9961INTLLIBS!$INTLLIBS$ac_delim
9962PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
9963PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
9964POFILES!$POFILES$ac_delim
9965POSUB!$POSUB$ac_delim
9966MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
9967GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
9968PKG_CONFIG!$PKG_CONFIG$ac_delim
9969GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
9970GLIB_LIBS!$GLIB_LIBS$ac_delim
9971GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
9972GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
9973GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
9974GTK_CFLAGS!$GTK_CFLAGS$ac_delim
9975_ACEOF
9976
9977 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9978 break
9979 elif $ac_last_try; then
9980 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9981echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9982 { (exit 1); exit 1; }; }
9983 else
9984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9985 fi
9986done
9987
9988ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9989if test -n "$ac_eof"; then
9990 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9991 ac_eof=`expr $ac_eof + 1`
9992fi
9993
9994cat >>$CONFIG_STATUS <<_ACEOF
9995cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9996/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9997_ACEOF
9998sed '
9999s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10000s/^/s,@/; s/!/@,|#_!!_#|/
10001:n
10002t n
10003s/'"$ac_delim"'$/,g/; t
10004s/$/\\/; p
10005N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10006' >>$CONFIG_STATUS <conf$$subs.sed
10007rm -f conf$$subs.sed
10008cat >>$CONFIG_STATUS <<_ACEOF
10009CEOF$ac_eof
10010_ACEOF
10011
10012
10013ac_delim='%!_!# '
10014for ac_last_try in false false false false false :; do
10015 cat >conf$$subs.sed <<_ACEOF
10016GTK_LIBS!$GTK_LIBS$ac_delim
10017LIBGLADE_CFLAGS!$LIBGLADE_CFLAGS$ac_delim
10018LIBGLADE_LIBS!$LIBGLADE_LIBS$ac_delim
10019GTKGLEXT_CFLAGS!$GTKGLEXT_CFLAGS$ac_delim
10020GTKGLEXT_LIBS!$GTKGLEXT_LIBS$ac_delim
10021LIBG3D_CFLAGS!$LIBG3D_CFLAGS$ac_delim
10022LIBG3D_LIBS!$LIBG3D_LIBS$ac_delim
10023XMKMF!$XMKMF$ac_delim
10024X_CFLAGS!$X_CFLAGS$ac_delim
10025X_PRE_LIBS!$X_PRE_LIBS$ac_delim
10026X_LIBS!$X_LIBS$ac_delim
10027X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
10028GL_LIBS!$GL_LIBS$ac_delim
10029DEBUG!$DEBUG$ac_delim
10030DBG_CFLAGS!$DBG_CFLAGS$ac_delim
10031LIBOBJS!$LIBOBJS$ac_delim
10032LTLIBOBJS!$LTLIBOBJS$ac_delim
10033_ACEOF
10034
10035 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
10036 break
10037 elif $ac_last_try; then
10038 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10039echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10040 { (exit 1); exit 1; }; }
10041 else
10042 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10043 fi
10044done
10045
10046ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10047if test -n "$ac_eof"; then
10048 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10049 ac_eof=`expr $ac_eof + 1`
10050fi
10051
10052cat >>$CONFIG_STATUS <<_ACEOF
10053cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10054/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10055_ACEOF
10056sed '
10057s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10058s/^/s,@/; s/!/@,|#_!!_#|/
10059:n
10060t n
10061s/'"$ac_delim"'$/,g/; t
10062s/$/\\/; p
10063N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10064' >>$CONFIG_STATUS <conf$$subs.sed
10065rm -f conf$$subs.sed
10066cat >>$CONFIG_STATUS <<_ACEOF
10067:end
10068s/|#_!!_#|//g
10069CEOF$ac_eof
10070_ACEOF
10071
10072
10073# VPATH may cause trouble with some makes, so we remove $(srcdir),
10074# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10075# trailing colons and then remove the whole line if VPATH becomes empty
10076# (actually we leave an empty line to preserve line numbers).
10077if test "x$srcdir" = x.; then
10078 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10079s/:*\$(srcdir):*/:/
10080s/:*\${srcdir}:*/:/
10081s/:*@srcdir@:*/:/
10082s/^\([^=]*=[ ]*\):*/\1/
10083s/:*$//
10084s/^[^=]*=[ ]*$//
10085}'
10086fi
10087
10088cat >>$CONFIG_STATUS <<\_ACEOF
10089fi # test -n "$CONFIG_FILES"
10090
10091
10092for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10093do
10094 case $ac_tag in
10095 :[FHLC]) ac_mode=$ac_tag; continue;;
10096 esac
10097 case $ac_mode$ac_tag in
10098 :[FHL]*:*);;
10099 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10100echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10101 { (exit 1); exit 1; }; };;
10102 :[FH]-) ac_tag=-:-;;
10103 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10104 esac
10105 ac_save_IFS=$IFS
10106 IFS=:
10107 set x $ac_tag
10108 IFS=$ac_save_IFS
10109 shift
10110 ac_file=$1
10111 shift
10112
10113 case $ac_mode in
10114 :L) ac_source=$1;;
10115 :[FH])
10116 ac_file_inputs=
10117 for ac_f
10118 do
10119 case $ac_f in
10120 -) ac_f="$tmp/stdin";;
10121 *) # Look for the file first in the build tree, then in the source tree
10122 # (if the path is not absolute). The absolute path cannot be DOS-style,
10123 # because $ac_f cannot contain `:'.
10124 test -f "$ac_f" ||
10125 case $ac_f in
10126 [\\/$]*) false;;
10127 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10128 esac ||
10129 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10130echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10131 { (exit 1); exit 1; }; };;
10132 esac
10133 ac_file_inputs="$ac_file_inputs $ac_f"
10134 done
10135
10136 # Let's still pretend it is `configure' which instantiates (i.e., don't
10137 # use $as_me), people would be surprised to read:
10138 # /* config.h. Generated by config.status. */
10139 configure_input="Generated from "`IFS=:
10140 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10141 if test x"$ac_file" != x-; then
10142 configure_input="$ac_file. $configure_input"
10143 { echo "$as_me:$LINENO: creating $ac_file" >&5
10144echo "$as_me: creating $ac_file" >&6;}
10145 fi
10146
10147 case $ac_tag in
10148 *:-:* | *:-) cat >"$tmp/stdin";;
10149 esac
10150 ;;
10151 esac
10152
10153 ac_dir=`$as_dirname -- "$ac_file" ||
10154$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10155 X"$ac_file" : 'X\(//\)[^/]' \| \
10156 X"$ac_file" : 'X\(//\)$' \| \
10157 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10158echo X"$ac_file" |
10159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10160 s//\1/
10161 q
10162 }
10163 /^X\(\/\/\)[^/].*/{
10164 s//\1/
10165 q
10166 }
10167 /^X\(\/\/\)$/{
10168 s//\1/
10169 q
10170 }
10171 /^X\(\/\).*/{
10172 s//\1/
10173 q
10174 }
10175 s/.*/./; q'`
10176 { as_dir="$ac_dir"
10177 case $as_dir in #(
10178 -*) as_dir=./$as_dir;;
10179 esac
10180 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10181 as_dirs=
10182 while :; do
10183 case $as_dir in #(
10184 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10185 *) as_qdir=$as_dir;;
10186 esac
10187 as_dirs="'$as_qdir' $as_dirs"
10188 as_dir=`$as_dirname -- "$as_dir" ||
10189$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10190 X"$as_dir" : 'X\(//\)[^/]' \| \
10191 X"$as_dir" : 'X\(//\)$' \| \
10192 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10193echo X"$as_dir" |
10194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10195 s//\1/
10196 q
10197 }
10198 /^X\(\/\/\)[^/].*/{
10199 s//\1/
10200 q
10201 }
10202 /^X\(\/\/\)$/{
10203 s//\1/
10204 q
10205 }
10206 /^X\(\/\).*/{
10207 s//\1/
10208 q
10209 }
10210 s/.*/./; q'`
10211 test -d "$as_dir" && break
10212 done
10213 test -z "$as_dirs" || eval "mkdir $as_dirs"
10214 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10215echo "$as_me: error: cannot create directory $as_dir" >&2;}
10216 { (exit 1); exit 1; }; }; }
10217 ac_builddir=.
10218
10219case "$ac_dir" in
10220.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10221*)
10222 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10223 # A ".." for each directory in $ac_dir_suffix.
10224 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10225 case $ac_top_builddir_sub in
10226 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10227 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10228 esac ;;
10229esac
10230ac_abs_top_builddir=$ac_pwd
10231ac_abs_builddir=$ac_pwd$ac_dir_suffix
10232# for backward compatibility:
10233ac_top_builddir=$ac_top_build_prefix
10234
10235case $srcdir in
10236 .) # We are building in place.
10237 ac_srcdir=.
10238 ac_top_srcdir=$ac_top_builddir_sub
10239 ac_abs_top_srcdir=$ac_pwd ;;
10240 [\\/]* | ?:[\\/]* ) # Absolute name.
10241 ac_srcdir=$srcdir$ac_dir_suffix;
10242 ac_top_srcdir=$srcdir
10243 ac_abs_top_srcdir=$srcdir ;;
10244 *) # Relative name.
10245 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10246 ac_top_srcdir=$ac_top_build_prefix$srcdir
10247 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10248esac
10249ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10250
10251
10252 case $ac_mode in
10253 :F)
10254 #
10255 # CONFIG_FILE
10256 #
10257
10258 case $INSTALL in
10259 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10260 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10261 esac
10262_ACEOF
10263
10264cat >>$CONFIG_STATUS <<\_ACEOF
10265# If the template does not know about datarootdir, expand it.
10266# FIXME: This hack should be removed a few years after 2.60.
10267ac_datarootdir_hack=; ac_datarootdir_seen=
10268
10269case `sed -n '/datarootdir/ {
10270 p
10271 q
10272}
10273/@datadir@/p
10274/@docdir@/p
10275/@infodir@/p
10276/@localedir@/p
10277/@mandir@/p
10278' $ac_file_inputs` in
10279*datarootdir*) ac_datarootdir_seen=yes;;
10280*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10281 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10282echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10283_ACEOF
10284cat >>$CONFIG_STATUS <<_ACEOF
10285 ac_datarootdir_hack='
10286 s&@datadir@&$datadir&g
10287 s&@docdir@&$docdir&g
10288 s&@infodir@&$infodir&g
10289 s&@localedir@&$localedir&g
10290 s&@mandir@&$mandir&g
10291 s&\\\${datarootdir}&$datarootdir&g' ;;
10292esac
10293_ACEOF
10294
10295# Neutralize VPATH when `$srcdir' = `.'.
10296# Shell code in configure.ac might set extrasub.
10297# FIXME: do we really want to maintain this feature?
10298cat >>$CONFIG_STATUS <<_ACEOF
10299 sed "$ac_vpsub
10300$extrasub
10301_ACEOF
10302cat >>$CONFIG_STATUS <<\_ACEOF
10303:t
10304/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10305s&@configure_input@&$configure_input&;t t
10306s&@top_builddir@&$ac_top_builddir_sub&;t t
10307s&@srcdir@&$ac_srcdir&;t t
10308s&@abs_srcdir@&$ac_abs_srcdir&;t t
10309s&@top_srcdir@&$ac_top_srcdir&;t t
10310s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10311s&@builddir@&$ac_builddir&;t t
10312s&@abs_builddir@&$ac_abs_builddir&;t t
10313s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10314s&@INSTALL@&$ac_INSTALL&;t t
10315$ac_datarootdir_hack
10316" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10317
10318test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10319 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10320 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10321 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10322which seems to be undefined. Please make sure it is defined." >&5
10323echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10324which seems to be undefined. Please make sure it is defined." >&2;}
10325
10326 rm -f "$tmp/stdin"
10327 case $ac_file in
10328 -) cat "$tmp/out"; rm -f "$tmp/out";;
10329 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10330 esac
10331 ;;
10332 :H)
10333 #
10334 # CONFIG_HEADER
10335 #
10336_ACEOF
10337
10338# Transform confdefs.h into a sed script `conftest.defines', that
10339# substitutes the proper values into config.h.in to produce config.h.
10340rm -f conftest.defines conftest.tail
10341# First, append a space to every undef/define line, to ease matching.
10342echo 's/$/ /' >conftest.defines
10343# Then, protect against being on the right side of a sed subst, or in
10344# an unquoted here document, in config.status. If some macros were
10345# called several times there might be several #defines for the same
10346# symbol, which is useless. But do not sort them, since the last
10347# AC_DEFINE must be honored.
10348ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10349# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10350# NAME is the cpp macro being defined, VALUE is the value it is being given.
10351# PARAMS is the parameter list in the macro definition--in most cases, it's
10352# just an empty string.
10353ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10354ac_dB='\\)[ (].*,\\1define\\2'
10355ac_dC=' '
10356ac_dD=' ,'
10357
10358uniq confdefs.h |
10359 sed -n '
10360 t rset
10361 :rset
10362 s/^[ ]*#[ ]*define[ ][ ]*//
10363 t ok
10364 d
10365 :ok
10366 s/[\\&,]/\\&/g
10367 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10368 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10369 ' >>conftest.defines
10370
10371# Remove the space that was appended to ease matching.
10372# Then replace #undef with comments. This is necessary, for
10373# example, in the case of _POSIX_SOURCE, which is predefined and required
10374# on some systems where configure will not decide to define it.
10375# (The regexp can be short, since the line contains either #define or #undef.)
10376echo 's/ $//
10377s,^[ #]*u.*,/* & */,' >>conftest.defines
10378
10379# Break up conftest.defines:
10380ac_max_sed_lines=50
10381
10382# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10383# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10384# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10385# et cetera.
10386ac_in='$ac_file_inputs'
10387ac_out='"$tmp/out1"'
10388ac_nxt='"$tmp/out2"'
10389
10390while :
10391do
10392 # Write a here document:
10393 cat >>$CONFIG_STATUS <<_ACEOF
10394 # First, check the format of the line:
10395 cat >"\$tmp/defines.sed" <<\\CEOF
10396/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10397/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10398b
10399:def
10400_ACEOF
10401 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10402 echo 'CEOF
10403 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10404 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10405 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10406 grep . conftest.tail >/dev/null || break
10407 rm -f conftest.defines
10408 mv conftest.tail conftest.defines
10409done
10410rm -f conftest.defines conftest.tail
10411
10412echo "ac_result=$ac_in" >>$CONFIG_STATUS
10413cat >>$CONFIG_STATUS <<\_ACEOF
10414 if test x"$ac_file" != x-; then
10415 echo "/* $configure_input */" >"$tmp/config.h"
10416 cat "$ac_result" >>"$tmp/config.h"
10417 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10418 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10419echo "$as_me: $ac_file is unchanged" >&6;}
10420 else
10421 rm -f $ac_file
10422 mv "$tmp/config.h" $ac_file
10423 fi
10424 else
10425 echo "/* $configure_input */"
10426 cat "$ac_result"
10427 fi
10428 rm -f "$tmp/out12"
10429# Compute $ac_file's index in $config_headers.
10430_am_stamp_count=1
10431for _am_header in $config_headers :; do
10432 case $_am_header in
10433 $ac_file | $ac_file:* )
10434 break ;;
10435 * )
10436 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10437 esac
10438done
10439echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10440$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10441 X$ac_file : 'X\(//\)[^/]' \| \
10442 X$ac_file : 'X\(//\)$' \| \
10443 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10444echo X$ac_file |
10445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10446 s//\1/
10447 q
10448 }
10449 /^X\(\/\/\)[^/].*/{
10450 s//\1/
10451 q
10452 }
10453 /^X\(\/\/\)$/{
10454 s//\1/
10455 q
10456 }
10457 /^X\(\/\).*/{
10458 s//\1/
10459 q
10460 }
10461 s/.*/./; q'`/stamp-h$_am_stamp_count
10462 ;;
10463
10464 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10465echo "$as_me: executing $ac_file commands" >&6;}
10466 ;;
10467 esac
10468
10469
10470 case $ac_file$ac_mode in
10471 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10472 # Strip MF so we end up with the name of the file.
10473 mf=`echo "$mf" | sed -e 's/:.*$//'`
10474 # Check whether this is an Automake generated Makefile or not.
10475 # We used to match only the files named `Makefile.in', but
10476 # some people rename them; so instead we look at the file content.
10477 # Grep'ing the first line is not enough: some people post-process
10478 # each Makefile.in and add a new line on top of each file to say so.
10479 # So let's grep whole file.
10480 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10481 dirpart=`$as_dirname -- "$mf" ||
10482$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10483 X"$mf" : 'X\(//\)[^/]' \| \
10484 X"$mf" : 'X\(//\)$' \| \
10485 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10486echo X"$mf" |
10487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10488 s//\1/
10489 q
10490 }
10491 /^X\(\/\/\)[^/].*/{
10492 s//\1/
10493 q
10494 }
10495 /^X\(\/\/\)$/{
10496 s//\1/
10497 q
10498 }
10499 /^X\(\/\).*/{
10500 s//\1/
10501 q
10502 }
10503 s/.*/./; q'`
10504 else
10505 continue
10506 fi
10507 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10508 # Extract the definition of DEP_FILES from the Makefile without
10509 # running `make'.
10510 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10511 test -z "$DEPDIR" && continue
10512 # When using ansi2knr, U may be empty or an underscore; expand it
10513 U=`sed -n -e '/^U = / s///p' < "$mf"`
10514 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10515 # We invoke sed twice because it is the simplest approach to
10516 # changing $(DEPDIR) to its actual value in the expansion.
10517 for file in `sed -n -e '
10518 /^DEP_FILES = .*\\\\$/ {
10519 s/^DEP_FILES = //
10520 :loop
10521 s/\\\\$//
10522 p
10523 n
10524 /\\\\$/ b loop
10525 p
10526 }
10527 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10528 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10529 # Make sure the directory exists.
10530 test -f "$dirpart/$file" && continue
10531 fdir=`$as_dirname -- "$file" ||
10532$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10533 X"$file" : 'X\(//\)[^/]' \| \
10534 X"$file" : 'X\(//\)$' \| \
10535 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10536echo X"$file" |
10537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10538 s//\1/
10539 q
10540 }
10541 /^X\(\/\/\)[^/].*/{
10542 s//\1/
10543 q
10544 }
10545 /^X\(\/\/\)$/{
10546 s//\1/
10547 q
10548 }
10549 /^X\(\/\).*/{
10550 s//\1/
10551 q
10552 }
10553 s/.*/./; q'`
10554 { as_dir=$dirpart/$fdir
10555 case $as_dir in #(
10556 -*) as_dir=./$as_dir;;
10557 esac
10558 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10559 as_dirs=
10560 while :; do
10561 case $as_dir in #(
10562 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10563 *) as_qdir=$as_dir;;
10564 esac
10565 as_dirs="'$as_qdir' $as_dirs"
10566 as_dir=`$as_dirname -- "$as_dir" ||
10567$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10568 X"$as_dir" : 'X\(//\)[^/]' \| \
10569 X"$as_dir" : 'X\(//\)$' \| \
10570 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10571echo X"$as_dir" |
10572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10573 s//\1/
10574 q
10575 }
10576 /^X\(\/\/\)[^/].*/{
10577 s//\1/
10578 q
10579 }
10580 /^X\(\/\/\)$/{
10581 s//\1/
10582 q
10583 }
10584 /^X\(\/\).*/{
10585 s//\1/
10586 q
10587 }
10588 s/.*/./; q'`
10589 test -d "$as_dir" && break
10590 done
10591 test -z "$as_dirs" || eval "mkdir $as_dirs"
10592 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10593echo "$as_me: error: cannot create directory $as_dir" >&2;}
10594 { (exit 1); exit 1; }; }; }
10595 # echo "creating $dirpart/$file"
10596 echo '# dummy' > "$dirpart/$file"
10597 done
10598done
10599 ;;
10600 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
10601 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
10602 esac ;;
10603
10604 esac
10605done # for ac_tag
10606
10607
10608{ (exit 0); exit 0; }
10609_ACEOF
10610chmod +x $CONFIG_STATUS
10611ac_clean_files=$ac_clean_files_save
10612
10613
10614# configure is writing to config.log, and then calls config.status.
10615# config.status does its own redirection, appending to config.log.
10616# Unfortunately, on DOS this fails, as config.log is still kept open
10617# by configure, so config.status won't be able to write to it; its
10618# output is simply discarded. So we exec the FD to /dev/null,
10619# effectively closing config.log, so it can be properly (re)opened and
10620# appended to by config.status. When coming back to configure, we
10621# need to make the FD available again.
10622if test "$no_create" != yes; then
10623 ac_cs_success=:
10624 ac_config_status_args=
10625 test "$silent" = yes &&
10626 ac_config_status_args="$ac_config_status_args --quiet"
10627 exec 5>/dev/null
10628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10629 exec 5>>config.log
10630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10631 # would make configure fail if this is the last instruction.
10632 $ac_cs_success || { (exit 1); exit 1; }
10633fi
10634
10635
10636
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/configure.in b/src/others/mimesh/g3dviewer-0.2.99.4/configure.in
new file mode 100644
index 0000000..fc69654
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/configure.in
@@ -0,0 +1,102 @@
1AC_INIT(configure.in)
2
3VERSION=0.2.99.4
4PACKAGE=g3dviewer
5
6AM_CONFIG_HEADER(config.h)
7
8AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
9AC_SUBST(VERSION)
10
11AC_PROG_CC
12
13ALL_LINGUAS="de"
14AM_GLIB_GNU_GETTEXT
15
16GETTEXT_PACKAGE=$PACKAGE
17AC_SUBST(GETTEXT_PACKAGE)
18
19# glib 2.0
20AM_PATH_GLIB_2_0(2.4.0,,AC_MSG_ERROR([GLib >= 2.4.0 is required]))
21
22# gtk+ 2.0
23AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR([GTK+ >= 2.4.0 is required]))
24
25# libglade 2.0
26PKG_CHECK_MODULES(LIBGLADE, libglade-2.0 >= 2.4.0,,
27 AC_MSG_ERROR([libglade >= 2.4.0 is required]))
28
29# gtkglext
30AM_PATH_GTKGLEXT_1_0(1.0.0,,AC_MSG_ERROR([GtkGlExt >= 1.0.0 is required]))
31
32# libg3d
33PKG_CHECK_MODULES(LIBG3D, libg3d >= 0.0.5,,
34 AC_MSG_ERROR([libg3d >= 0.0.5 is required]))
35
36# Check OpenGL stuff
37AC_PATH_XTRA
38
39ac_save_CPPFLAGS="$CPPFLAGS"
40CPPFLAGS="$CPPFLAGS $X_CFLAGS"
41
42ac_save_LIBS="$LIBS"
43LIBS="$LIBS $X_LIBS"
44
45AC_CHECK_HEADERS(GL/gl.h GL/glu.h,,
46 AC_MSG_ERROR([some OpenGL headers missing]),
47 [#include <GL/gl.h>])
48
49AC_CHECK_LIB(GL, glBegin, have_gl=yes, have_gl=no)
50AC_CHECK_LIB(GLU, gluPerspective, have_glu=yes, have_glu=no, -lGL $GTK_LIBS)
51if test $have_gl = no || test $have_glu = no; then
52 AC_MSG_ERROR([libgl or libglu missing])
53else
54 GL_LIBS="-lGL -lGLU $GTK_LIBS"
55 AC_SUBST(GL_LIBS)
56fi
57
58# Check some UNIX headers
59AC_CHECK_HEADERS(dirent.h sys/stat.h unistd.h,,
60 AC_MSG_ERROR([missing header file]),
61 [#include <sys/types.h>])
62
63# Look for snprintf (optional)
64AC_CHECK_FUNC(snprintf,[AC_DEFINE(HAVE_SNPRINTF,1,[snprintf])],,stdio.h)
65
66# Look for fstat (required)
67AC_CHECK_FUNC(fstat, have_fstat=yes, have_fstat=no, [unistd.h sys/types.h])
68if test $have_fstat = no; then
69 AC_MSG_ERROR([fstat function not found])
70fi
71
72# Debug level (verbosity & optimization)
73AC_MSG_CHECKING([for debug level])
74AC_ARG_ENABLE(debug,
75 [[ --enable-debug[=LVL] enable debug level LVL or 1 (default is 0)]],
76 [if test "$enableval" = "yes" ; then DEBUG=1; else DEBUG=$enableval; fi],
77 DEBUG=0)
78AC_MSG_RESULT($DEBUG)
79AC_SUBST(DEBUG)
80
81if test "$DEBUG" = "0"; then
82 DBG_CFLAGS="-O2"
83else
84 DBG_CFLAGS="-g -DGLIB_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
85fi
86AC_SUBST(DBG_CFLAGS)
87
88# Data & plugin directories
89AC_DEFINE_DIR(DATA_DIR, datadir/$PACKAGE, [Data directory])
90
91# Create the files
92AC_OUTPUT(Makefile
93 m4/Makefile
94 man/Makefile
95 src/Makefile
96 thumbnailer/Makefile
97 pixmaps/Makefile
98 glade/Makefile
99 po/Makefile.in
100)
101
102
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/depcomp b/src/others/mimesh/g3dviewer-0.2.99.4/depcomp
new file mode 100755
index 0000000..edb5d38
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/depcomp
@@ -0,0 +1,479 @@
1#! /bin/sh
2
3# depcomp - compile a program generating dependencies as side-effects
4# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
5
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2, or (at your option)
9# any later version.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19# 02111-1307, USA.
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
28if test -z "$depmode" || test -z "$source" || test -z "$object"; then
29 echo "depcomp: Variables source, object and depmode must be set" 1>&2
30 exit 1
31fi
32# `libtool' can also be set to `yes' or `no'.
33
34if test -z "$depfile"; then
35 base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
36 dir=`echo "$object" | sed 's,/.*$,/,'`
37 if test "$dir" = "$object"; then
38 dir=
39 fi
40 # FIXME: should be _deps on DOS.
41 depfile="$dir.deps/$base"
42fi
43
44tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
45
46rm -f "$tmpdepfile"
47
48# Some modes work just like other modes, but use different flags. We
49# parameterize here, but still list the modes in the big case below,
50# to make depend.m4 easier to write. Note that we *cannot* use a case
51# here, because this file can only contain one case statement.
52if test "$depmode" = hp; then
53 # HP compiler uses -M and no extra arg.
54 gccflag=-M
55 depmode=gcc
56fi
57
58if test "$depmode" = dashXmstdout; then
59 # This is just like dashmstdout with a different argument.
60 dashmflag=-xM
61 depmode=dashmstdout
62fi
63
64case "$depmode" in
65gcc3)
66## gcc 3 implements dependency tracking that does exactly what
67## we want. Yay! Note: for some reason libtool 1.4 doesn't like
68## it if -MD -MP comes after the -MF stuff. Hmm.
69 "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
70 stat=$?
71 if test $stat -eq 0; then :
72 else
73 rm -f "$tmpdepfile"
74 exit $stat
75 fi
76 mv "$tmpdepfile" "$depfile"
77 ;;
78
79gcc)
80## There are various ways to get dependency output from gcc. Here's
81## why we pick this rather obscure method:
82## - Don't want to use -MD because we'd like the dependencies to end
83## up in a subdir. Having to rename by hand is ugly.
84## (We might end up doing this anyway to support other compilers.)
85## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
86## -MM, not -M (despite what the docs say).
87## - Using -M directly means running the compiler twice (even worse
88## than renaming).
89 if test -z "$gccflag"; then
90 gccflag=-MD,
91 fi
92 "$@" -Wp,"$gccflag$tmpdepfile"
93 stat=$?
94 if test $stat -eq 0; then :
95 else
96 rm -f "$tmpdepfile"
97 exit $stat
98 fi
99 rm -f "$depfile"
100 echo "$object : \\" > "$depfile"
101 alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
102## The second -e expression handles DOS-style file names with drive letters.
103 sed -e 's/^[^:]*: / /' \
104 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
105## This next piece of magic avoids the `deleted header file' problem.
106## The problem is that when a header file which appears in a .P file
107## is deleted, the dependency causes make to die (because there is
108## typically no way to rebuild the header). We avoid this by adding
109## dummy dependencies for each header file. Too bad gcc doesn't do
110## this for us directly.
111 tr ' ' '
112' < "$tmpdepfile" |
113## Some versions of gcc put a space before the `:'. On the theory
114## that the space means something, we add a space to the output as
115## well.
116## Some versions of the HPUX 10.20 sed can't process this invocation
117## correctly. Breaking it into two sed invocations is a workaround.
118 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
119 rm -f "$tmpdepfile"
120 ;;
121
122hp)
123 # This case exists only to let depend.m4 do its work. It works by
124 # looking at the text of this script. This case will never be run,
125 # since it is checked for above.
126 exit 1
127 ;;
128
129sgi)
130 if test "$libtool" = yes; then
131 "$@" "-Wp,-MDupdate,$tmpdepfile"
132 else
133 "$@" -MDupdate "$tmpdepfile"
134 fi
135 stat=$?
136 if test $stat -eq 0; then :
137 else
138 rm -f "$tmpdepfile"
139 exit $stat
140 fi
141 rm -f "$depfile"
142
143 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
144 echo "$object : \\" > "$depfile"
145
146 # Clip off the initial element (the dependent). Don't try to be
147 # clever and replace this with sed code, as IRIX sed won't handle
148 # lines with more than a fixed number of characters (4096 in
149 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
150 # the IRIX cc adds comments like `#:fec' to the end of the
151 # dependency line.
152 tr ' ' '
153' < "$tmpdepfile" \
154 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
155 tr '
156' ' ' >> $depfile
157 echo >> $depfile
158
159 # The second pass generates a dummy entry for each header file.
160 tr ' ' '
161' < "$tmpdepfile" \
162 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
163 >> $depfile
164 else
165 # The sourcefile does not contain any dependencies, so just
166 # store a dummy comment line, to avoid errors with the Makefile
167 # "include basename.Plo" scheme.
168 echo "#dummy" > "$depfile"
169 fi
170 rm -f "$tmpdepfile"
171 ;;
172
173aix)
174 # The C for AIX Compiler uses -M and outputs the dependencies
175 # in a .u file. In older versions, this file always lives in the
176 # current directory. Also, the AIX compiler puts `$object:' at the
177 # start of each line; $object doesn't have directory information.
178 # Version 6 uses the directory in both cases.
179 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
180 tmpdepfile="$stripped.u"
181 if test "$libtool" = yes; then
182 "$@" -Wc,-M
183 else
184 "$@" -M
185 fi
186 stat=$?
187
188 if test -f "$tmpdepfile"; then :
189 else
190 stripped=`echo "$stripped" | sed 's,^.*/,,'`
191 tmpdepfile="$stripped.u"
192 fi
193
194 if test $stat -eq 0; then :
195 else
196 rm -f "$tmpdepfile"
197 exit $stat
198 fi
199
200 if test -f "$tmpdepfile"; then
201 outname="$stripped.o"
202 # Each line is of the form `foo.o: dependent.h'.
203 # Do two passes, one to just change these to
204 # `$object: dependent.h' and one to simply `dependent.h:'.
205 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
206 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
207 else
208 # The sourcefile does not contain any dependencies, so just
209 # store a dummy comment line, to avoid errors with the Makefile
210 # "include basename.Plo" scheme.
211 echo "#dummy" > "$depfile"
212 fi
213 rm -f "$tmpdepfile"
214 ;;
215
216icc)
217 # Intel's C compiler understands `-MD -MF file'. However on
218 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
219 # ICC 7.0 will fill foo.d with something like
220 # foo.o: sub/foo.c
221 # foo.o: sub/foo.h
222 # which is wrong. We want:
223 # sub/foo.o: sub/foo.c
224 # sub/foo.o: sub/foo.h
225 # sub/foo.c:
226 # sub/foo.h:
227 # ICC 7.1 will output
228 # foo.o: sub/foo.c sub/foo.h
229 # and will wrap long lines using \ :
230 # foo.o: sub/foo.c ... \
231 # sub/foo.h ... \
232 # ...
233
234 "$@" -MD -MF "$tmpdepfile"
235 stat=$?
236 if test $stat -eq 0; then :
237 else
238 rm -f "$tmpdepfile"
239 exit $stat
240 fi
241 rm -f "$depfile"
242 # Each line is of the form `foo.o: dependent.h',
243 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
244 # Do two passes, one to just change these to
245 # `$object: dependent.h' and one to simply `dependent.h:'.
246 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
247 # Some versions of the HPUX 10.20 sed can't process this invocation
248 # correctly. Breaking it into two sed invocations is a workaround.
249 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
250 sed -e 's/$/ :/' >> "$depfile"
251 rm -f "$tmpdepfile"
252 ;;
253
254tru64)
255 # The Tru64 compiler uses -MD to generate dependencies as a side
256 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
257 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
258 # dependencies in `foo.d' instead, so we check for that too.
259 # Subdirectories are respected.
260 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
261 test "x$dir" = "x$object" && dir=
262 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
263
264 if test "$libtool" = yes; then
265 tmpdepfile1="$dir.libs/$base.lo.d"
266 tmpdepfile2="$dir.libs/$base.d"
267 "$@" -Wc,-MD
268 else
269 tmpdepfile1="$dir$base.o.d"
270 tmpdepfile2="$dir$base.d"
271 "$@" -MD
272 fi
273
274 stat=$?
275 if test $stat -eq 0; then :
276 else
277 rm -f "$tmpdepfile1" "$tmpdepfile2"
278 exit $stat
279 fi
280
281 if test -f "$tmpdepfile1"; then
282 tmpdepfile="$tmpdepfile1"
283 else
284 tmpdepfile="$tmpdepfile2"
285 fi
286 if test -f "$tmpdepfile"; then
287 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
288 # That's a tab and a space in the [].
289 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
290 else
291 echo "#dummy" > "$depfile"
292 fi
293 rm -f "$tmpdepfile"
294 ;;
295
296#nosideeffect)
297 # This comment above is used by automake to tell side-effect
298 # dependency tracking mechanisms from slower ones.
299
300dashmstdout)
301 # Important note: in order to support this mode, a compiler *must*
302 # always write the preprocessed file to stdout, regardless of -o.
303 "$@" || exit $?
304
305 # Remove the call to Libtool.
306 if test "$libtool" = yes; then
307 while test $1 != '--mode=compile'; do
308 shift
309 done
310 shift
311 fi
312
313 # Remove `-o $object'.
314 IFS=" "
315 for arg
316 do
317 case $arg in
318 -o)
319 shift
320 ;;
321 $object)
322 shift
323 ;;
324 *)
325 set fnord "$@" "$arg"
326 shift # fnord
327 shift # $arg
328 ;;
329 esac
330 done
331
332 test -z "$dashmflag" && dashmflag=-M
333 # Require at least two characters before searching for `:'
334 # in the target name. This is to cope with DOS-style filenames:
335 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
336 "$@" $dashmflag |
337 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
338 rm -f "$depfile"
339 cat < "$tmpdepfile" > "$depfile"
340 tr ' ' '
341' < "$tmpdepfile" | \
342## Some versions of the HPUX 10.20 sed can't process this invocation
343## correctly. Breaking it into two sed invocations is a workaround.
344 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
345 rm -f "$tmpdepfile"
346 ;;
347
348dashXmstdout)
349 # This case only exists to satisfy depend.m4. It is never actually
350 # run, as this mode is specially recognized in the preamble.
351 exit 1
352 ;;
353
354makedepend)
355 "$@" || exit $?
356 # Remove any Libtool call
357 if test "$libtool" = yes; then
358 while test $1 != '--mode=compile'; do
359 shift
360 done
361 shift
362 fi
363 # X makedepend
364 shift
365 cleared=no
366 for arg in "$@"; do
367 case $cleared in
368 no)
369 set ""; shift
370 cleared=yes ;;
371 esac
372 case "$arg" in
373 -D*|-I*)
374 set fnord "$@" "$arg"; shift ;;
375 # Strip any option that makedepend may not understand. Remove
376 # the object too, otherwise makedepend will parse it as a source file.
377 -*|$object)
378 ;;
379 *)
380 set fnord "$@" "$arg"; shift ;;
381 esac
382 done
383 obj_suffix="`echo $object | sed 's/^.*\././'`"
384 touch "$tmpdepfile"
385 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
386 rm -f "$depfile"
387 cat < "$tmpdepfile" > "$depfile"
388 sed '1,2d' "$tmpdepfile" | tr ' ' '
389' | \
390## Some versions of the HPUX 10.20 sed can't process this invocation
391## correctly. Breaking it into two sed invocations is a workaround.
392 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
393 rm -f "$tmpdepfile" "$tmpdepfile".bak
394 ;;
395
396cpp)
397 # Important note: in order to support this mode, a compiler *must*
398 # always write the preprocessed file to stdout.
399 "$@" || exit $?
400
401 # Remove the call to Libtool.
402 if test "$libtool" = yes; then
403 while test $1 != '--mode=compile'; do
404 shift
405 done
406 shift
407 fi
408
409 # Remove `-o $object'.
410 IFS=" "
411 for arg
412 do
413 case $arg in
414 -o)
415 shift
416 ;;
417 $object)
418 shift
419 ;;
420 *)
421 set fnord "$@" "$arg"
422 shift # fnord
423 shift # $arg
424 ;;
425 esac
426 done
427
428 "$@" -E |
429 sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
430 sed '$ s: \\$::' > "$tmpdepfile"
431 rm -f "$depfile"
432 echo "$object : \\" > "$depfile"
433 cat < "$tmpdepfile" >> "$depfile"
434 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
435 rm -f "$tmpdepfile"
436 ;;
437
438msvisualcpp)
439 # Important note: in order to support this mode, a compiler *must*
440 # always write the preprocessed file to stdout, regardless of -o,
441 # because we must use -o when running libtool.
442 "$@" || exit $?
443 IFS=" "
444 for arg
445 do
446 case "$arg" in
447 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
448 set fnord "$@"
449 shift
450 shift
451 ;;
452 *)
453 set fnord "$@" "$arg"
454 shift
455 shift
456 ;;
457 esac
458 done
459 "$@" -E |
460 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
461 rm -f "$depfile"
462 echo "$object : \\" > "$depfile"
463 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
464 echo " " >> "$depfile"
465 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
466 rm -f "$tmpdepfile"
467 ;;
468
469none)
470 exec "$@"
471 ;;
472
473*)
474 echo "Unknown depmode $depmode" 1>&2
475 exit 1
476 ;;
477esac
478
479exit 0
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile
new file mode 100644
index 0000000..3fe3ff0
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile
@@ -0,0 +1,317 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# glade/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151ICONS = g3d32.png g3d48.png
152GLADE_FILES = g3dviewer.glade
153
154gladedir = $(pkgdatadir)/glade
155
156glade_DATA = ${GLADE_FILES} ${ICONS}
157EXTRA_DIST = ${GLADE_FILES} ${ICONS}
158subdir = glade
159ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
160mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
161CONFIG_HEADER = $(top_builddir)/config.h
162CONFIG_CLEAN_FILES =
163DIST_SOURCES =
164DATA = $(glade_DATA)
165
166DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
167all: all-am
168
169.SUFFIXES:
170$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
171 cd $(top_srcdir) && \
172 $(AUTOMAKE) --gnu glade/Makefile
173Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
175uninstall-info-am:
176gladeDATA_INSTALL = $(INSTALL_DATA)
177install-gladeDATA: $(glade_DATA)
178 @$(NORMAL_INSTALL)
179 $(mkinstalldirs) $(DESTDIR)$(gladedir)
180 @list='$(glade_DATA)'; for p in $$list; do \
181 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
182 f="`echo $$p | sed -e 's|^.*/||'`"; \
183 echo " $(gladeDATA_INSTALL) $$d$$p $(DESTDIR)$(gladedir)/$$f"; \
184 $(gladeDATA_INSTALL) $$d$$p $(DESTDIR)$(gladedir)/$$f; \
185 done
186
187uninstall-gladeDATA:
188 @$(NORMAL_UNINSTALL)
189 @list='$(glade_DATA)'; for p in $$list; do \
190 f="`echo $$p | sed -e 's|^.*/||'`"; \
191 echo " rm -f $(DESTDIR)$(gladedir)/$$f"; \
192 rm -f $(DESTDIR)$(gladedir)/$$f; \
193 done
194tags: TAGS
195TAGS:
196
197ctags: CTAGS
198CTAGS:
199
200DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201
202top_distdir = ..
203distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
204
205distdir: $(DISTFILES)
206 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
207 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
208 list='$(DISTFILES)'; for file in $$list; do \
209 case $$file in \
210 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
211 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
212 esac; \
213 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
214 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
215 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
216 dir="/$$dir"; \
217 $(mkinstalldirs) "$(distdir)$$dir"; \
218 else \
219 dir=''; \
220 fi; \
221 if test -d $$d/$$file; then \
222 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
223 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
224 fi; \
225 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
226 else \
227 test -f $(distdir)/$$file \
228 || cp -p $$d/$$file $(distdir)/$$file \
229 || exit 1; \
230 fi; \
231 done
232check-am: all-am
233check: check-am
234all-am: Makefile $(DATA)
235
236installdirs:
237 $(mkinstalldirs) $(DESTDIR)$(gladedir)
238install: install-am
239install-exec: install-exec-am
240install-data: install-data-am
241uninstall: uninstall-am
242
243install-am: all-am
244 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
245
246installcheck: installcheck-am
247install-strip:
248 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
249 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
250 `test -z '$(STRIP)' || \
251 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
252mostlyclean-generic:
253
254clean-generic:
255
256distclean-generic:
257 -rm -f $(CONFIG_CLEAN_FILES)
258
259maintainer-clean-generic:
260 @echo "This command is intended for maintainers to use"
261 @echo "it deletes files that may require special tools to rebuild."
262clean: clean-am
263
264clean-am: clean-generic mostlyclean-am
265
266distclean: distclean-am
267 -rm -f Makefile
268distclean-am: clean-am distclean-generic
269
270dvi: dvi-am
271
272dvi-am:
273
274info: info-am
275
276info-am:
277
278install-data-am: install-gladeDATA
279
280install-exec-am:
281
282install-info: install-info-am
283
284install-man:
285
286installcheck-am:
287
288maintainer-clean: maintainer-clean-am
289 -rm -f Makefile
290maintainer-clean-am: distclean-am maintainer-clean-generic
291
292mostlyclean: mostlyclean-am
293
294mostlyclean-am: mostlyclean-generic
295
296pdf: pdf-am
297
298pdf-am:
299
300ps: ps-am
301
302ps-am:
303
304uninstall-am: uninstall-gladeDATA uninstall-info-am
305
306.PHONY: all all-am check check-am clean clean-generic distclean \
307 distclean-generic distdir dvi dvi-am info info-am install \
308 install-am install-data install-data-am install-exec \
309 install-exec-am install-gladeDATA install-info install-info-am \
310 install-man install-strip installcheck installcheck-am \
311 installdirs maintainer-clean maintainer-clean-generic \
312 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
313 uninstall-am uninstall-gladeDATA uninstall-info-am
314
315# Tell versions [3.59,3.63) of GNU make to not export all variables.
316# Otherwise a system limit (for SysV at least) may be exceeded.
317.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.am
new file mode 100644
index 0000000..279dcb0
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.am
@@ -0,0 +1,7 @@
1ICONS = g3d32.png g3d48.png
2GLADE_FILES = g3dviewer.glade
3
4gladedir = $(pkgdatadir)/glade
5
6glade_DATA = ${GLADE_FILES} ${ICONS}
7EXTRA_DIST = ${GLADE_FILES} ${ICONS}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.in
new file mode 100644
index 0000000..0d8672c
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/Makefile.in
@@ -0,0 +1,317 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151ICONS = g3d32.png g3d48.png
152GLADE_FILES = g3dviewer.glade
153
154gladedir = $(pkgdatadir)/glade
155
156glade_DATA = ${GLADE_FILES} ${ICONS}
157EXTRA_DIST = ${GLADE_FILES} ${ICONS}
158subdir = glade
159ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
160mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
161CONFIG_HEADER = $(top_builddir)/config.h
162CONFIG_CLEAN_FILES =
163DIST_SOURCES =
164DATA = $(glade_DATA)
165
166DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
167all: all-am
168
169.SUFFIXES:
170$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
171 cd $(top_srcdir) && \
172 $(AUTOMAKE) --gnu glade/Makefile
173Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
175uninstall-info-am:
176gladeDATA_INSTALL = $(INSTALL_DATA)
177install-gladeDATA: $(glade_DATA)
178 @$(NORMAL_INSTALL)
179 $(mkinstalldirs) $(DESTDIR)$(gladedir)
180 @list='$(glade_DATA)'; for p in $$list; do \
181 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
182 f="`echo $$p | sed -e 's|^.*/||'`"; \
183 echo " $(gladeDATA_INSTALL) $$d$$p $(DESTDIR)$(gladedir)/$$f"; \
184 $(gladeDATA_INSTALL) $$d$$p $(DESTDIR)$(gladedir)/$$f; \
185 done
186
187uninstall-gladeDATA:
188 @$(NORMAL_UNINSTALL)
189 @list='$(glade_DATA)'; for p in $$list; do \
190 f="`echo $$p | sed -e 's|^.*/||'`"; \
191 echo " rm -f $(DESTDIR)$(gladedir)/$$f"; \
192 rm -f $(DESTDIR)$(gladedir)/$$f; \
193 done
194tags: TAGS
195TAGS:
196
197ctags: CTAGS
198CTAGS:
199
200DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201
202top_distdir = ..
203distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
204
205distdir: $(DISTFILES)
206 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
207 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
208 list='$(DISTFILES)'; for file in $$list; do \
209 case $$file in \
210 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
211 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
212 esac; \
213 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
214 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
215 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
216 dir="/$$dir"; \
217 $(mkinstalldirs) "$(distdir)$$dir"; \
218 else \
219 dir=''; \
220 fi; \
221 if test -d $$d/$$file; then \
222 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
223 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
224 fi; \
225 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
226 else \
227 test -f $(distdir)/$$file \
228 || cp -p $$d/$$file $(distdir)/$$file \
229 || exit 1; \
230 fi; \
231 done
232check-am: all-am
233check: check-am
234all-am: Makefile $(DATA)
235
236installdirs:
237 $(mkinstalldirs) $(DESTDIR)$(gladedir)
238install: install-am
239install-exec: install-exec-am
240install-data: install-data-am
241uninstall: uninstall-am
242
243install-am: all-am
244 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
245
246installcheck: installcheck-am
247install-strip:
248 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
249 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
250 `test -z '$(STRIP)' || \
251 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
252mostlyclean-generic:
253
254clean-generic:
255
256distclean-generic:
257 -rm -f $(CONFIG_CLEAN_FILES)
258
259maintainer-clean-generic:
260 @echo "This command is intended for maintainers to use"
261 @echo "it deletes files that may require special tools to rebuild."
262clean: clean-am
263
264clean-am: clean-generic mostlyclean-am
265
266distclean: distclean-am
267 -rm -f Makefile
268distclean-am: clean-am distclean-generic
269
270dvi: dvi-am
271
272dvi-am:
273
274info: info-am
275
276info-am:
277
278install-data-am: install-gladeDATA
279
280install-exec-am:
281
282install-info: install-info-am
283
284install-man:
285
286installcheck-am:
287
288maintainer-clean: maintainer-clean-am
289 -rm -f Makefile
290maintainer-clean-am: distclean-am maintainer-clean-generic
291
292mostlyclean: mostlyclean-am
293
294mostlyclean-am: mostlyclean-generic
295
296pdf: pdf-am
297
298pdf-am:
299
300ps: ps-am
301
302ps-am:
303
304uninstall-am: uninstall-gladeDATA uninstall-info-am
305
306.PHONY: all all-am check check-am clean clean-generic distclean \
307 distclean-generic distdir dvi dvi-am info info-am install \
308 install-am install-data install-data-am install-exec \
309 install-exec-am install-gladeDATA install-info install-info-am \
310 install-man install-strip installcheck installcheck-am \
311 installdirs maintainer-clean maintainer-clean-generic \
312 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
313 uninstall-am uninstall-gladeDATA uninstall-info-am
314
315# Tell versions [3.59,3.63) of GNU make to not export all variables.
316# Otherwise a system limit (for SysV at least) may be exceeded.
317.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d32.png b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d32.png
new file mode 100644
index 0000000..8d346fd
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d32.png
Binary files differ
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d48.png b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d48.png
new file mode 100644
index 0000000..79216ee
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3d48.png
Binary files differ
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3dviewer.glade b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3dviewer.glade
new file mode 100644
index 0000000..58c7fb1
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/glade/g3dviewer.glade
@@ -0,0 +1,979 @@
1<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
3
4<glade-interface>
5
6<widget class="GtkWindow" id="main_window">
7 <property name="visible">True</property>
8 <property name="title" translatable="yes">G3DViewer</property>
9 <property name="type">GTK_WINDOW_TOPLEVEL</property>
10 <property name="window_position">GTK_WIN_POS_NONE</property>
11 <property name="modal">False</property>
12 <property name="default_width">300</property>
13 <property name="default_height">400</property>
14 <property name="resizable">True</property>
15 <property name="destroy_with_parent">False</property>
16 <property name="icon_name">stock_draw-pyramid</property>
17 <property name="decorated">True</property>
18 <property name="skip_taskbar_hint">False</property>
19 <property name="skip_pager_hint">False</property>
20 <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
21 <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
22 <property name="focus_on_map">True</property>
23 <property name="urgency_hint">False</property>
24 <signal name="delete_event" handler="gtk_main_quit" last_modification_time="Sat, 21 Jan 2006 12:15:37 GMT"/>
25 <signal name="window_state_event" handler="gui_on_window_state_event" last_modification_time="Sun, 05 Nov 2006 18:34:46 GMT"/>
26
27 <child>
28 <widget class="GtkVBox" id="vbox1">
29 <property name="visible">True</property>
30 <property name="homogeneous">False</property>
31 <property name="spacing">0</property>
32
33 <child>
34 <widget class="GtkMenuBar" id="menu_main">
35 <property name="visible">True</property>
36 <property name="pack_direction">GTK_PACK_DIRECTION_LTR</property>
37 <property name="child_pack_direction">GTK_PACK_DIRECTION_LTR</property>
38
39 <child>
40 <widget class="GtkMenuItem" id="menuitem1">
41 <property name="visible">True</property>
42 <property name="label" translatable="yes">_File</property>
43 <property name="use_underline">True</property>
44
45 <child>
46 <widget class="GtkMenu" id="menuitem1_menu">
47
48 <child>
49 <widget class="GtkImageMenuItem" id="mi_file_open">
50 <property name="visible">True</property>
51 <property name="label">gtk-open</property>
52 <property name="use_stock">True</property>
53 <signal name="activate" handler="gui_on_open_cb" last_modification_time="Sat, 21 Jan 2006 09:48:18 GMT"/>
54 </widget>
55 </child>
56
57 <child>
58 <widget class="GtkImageMenuItem" id="mi_properties">
59 <property name="visible">True</property>
60 <property name="label">gtk-properties</property>
61 <property name="use_stock">True</property>
62 <signal name="activate" handler="gui_on_properties_cb" last_modification_time="Sun, 22 Jan 2006 11:56:42 GMT"/>
63 </widget>
64 </child>
65
66 <child>
67 <widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
68 <property name="visible">True</property>
69 </widget>
70 </child>
71
72 <child>
73 <widget class="GtkImageMenuItem" id="mi_screenshot">
74 <property name="visible">True</property>
75 <property name="label" translatable="yes">_Screenshot</property>
76 <property name="use_underline">True</property>
77 <signal name="activate" handler="gui_on_screenshot_cb" last_modification_time="Thu, 04 May 2006 08:28:06 GMT"/>
78
79 <child internal-child="image">
80 <widget class="GtkImage" id="image9">
81 <property name="visible">True</property>
82 <property name="stock">gtk-media-record</property>
83 <property name="icon_size">1</property>
84 <property name="xalign">0.5</property>
85 <property name="yalign">0.5</property>
86 <property name="xpad">0</property>
87 <property name="ypad">0</property>
88 </widget>
89 </child>
90 </widget>
91 </child>
92
93 <child>
94 <widget class="GtkSeparatorMenuItem" id="trennlinie5">
95 <property name="visible">True</property>
96 </widget>
97 </child>
98
99 <child>
100 <widget class="GtkImageMenuItem" id="mi_quit">
101 <property name="visible">True</property>
102 <property name="label">gtk-quit</property>
103 <property name="use_stock">True</property>
104 <signal name="activate" handler="gtk_main_quit" last_modification_time="Sun, 22 Jan 2006 11:56:54 GMT"/>
105 </widget>
106 </child>
107 </widget>
108 </child>
109 </widget>
110 </child>
111
112 <child>
113 <widget class="GtkMenuItem" id="menuitem3">
114 <property name="visible">True</property>
115 <property name="label" translatable="yes">_View</property>
116 <property name="use_underline">True</property>
117
118 <child>
119 <widget class="GtkMenu" id="menuitem3_menu">
120
121 <child>
122 <widget class="GtkCheckMenuItem" id="mi_show_menubar">
123 <property name="visible">True</property>
124 <property name="label" translatable="yes">Show _menu bar</property>
125 <property name="use_underline">True</property>
126 <property name="active">True</property>
127 <signal name="activate" handler="gui_on_show_menubar_cb" last_modification_time="Sun, 22 Jan 2006 11:54:57 GMT"/>
128 </widget>
129 </child>
130
131 <child>
132 <widget class="GtkCheckMenuItem" id="mi_show_toolbar">
133 <property name="visible">True</property>
134 <property name="label" translatable="yes">Show t_ool bar</property>
135 <property name="use_underline">True</property>
136 <property name="active">True</property>
137 <signal name="activate" handler="gui_on_show_toolbar_cb" last_modification_time="Sun, 22 Jan 2006 11:55:08 GMT"/>
138 </widget>
139 </child>
140
141 <child>
142 <widget class="GtkCheckMenuItem" id="mi_fullscreen">
143 <property name="visible">True</property>
144 <property name="label" translatable="yes">_Fullscreen</property>
145 <property name="use_underline">True</property>
146 <property name="active">False</property>
147 <signal name="activate" handler="gui_on_fullscreen_cb" last_modification_time="Sun, 05 Nov 2006 18:36:53 GMT"/>
148 <accelerator key="F11" modifiers="0" signal="activate"/>
149 </widget>
150 </child>
151
152 <child>
153 <widget class="GtkSeparatorMenuItem" id="trennlinie2">
154 <property name="visible">True</property>
155 </widget>
156 </child>
157
158 <child>
159 <widget class="GtkImageMenuItem" id="mi_zoomfit">
160 <property name="visible">True</property>
161 <property name="label">gtk-zoom-fit</property>
162 <property name="use_stock">True</property>
163 <signal name="activate" handler="gui_on_zoomfit_cb" last_modification_time="Sun, 12 Feb 2006 09:43:29 GMT"/>
164 </widget>
165 </child>
166
167 <child>
168 <widget class="GtkSeparatorMenuItem" id="trennlinie3">
169 <property name="visible">True</property>
170 </widget>
171 </child>
172
173 <child>
174 <widget class="GtkCheckMenuItem" id="mi_wireframe">
175 <property name="visible">True</property>
176 <property name="label" translatable="yes">_Wireframe</property>
177 <property name="use_underline">True</property>
178 <property name="active">False</property>
179 <signal name="activate" handler="gui_on_wireframe_cb" last_modification_time="Sun, 22 Jan 2006 11:55:21 GMT"/>
180 </widget>
181 </child>
182
183 <child>
184 <widget class="GtkCheckMenuItem" id="mi_specular">
185 <property name="visible">True</property>
186 <property name="label" translatable="yes">_Specular lighting</property>
187 <property name="use_underline">True</property>
188 <property name="active">False</property>
189 <signal name="activate" handler="gui_on_specular_cb" last_modification_time="Sun, 22 Jan 2006 11:55:32 GMT"/>
190 </widget>
191 </child>
192
193 <child>
194 <widget class="GtkCheckMenuItem" id="mi_shininess">
195 <property name="visible">True</property>
196 <property name="label" translatable="yes">S_hininess</property>
197 <property name="use_underline">True</property>
198 <property name="active">True</property>
199 <signal name="activate" handler="gui_on_shininess_cb" last_modification_time="Sun, 22 Jan 2006 11:55:44 GMT"/>
200 </widget>
201 </child>
202
203 <child>
204 <widget class="GtkCheckMenuItem" id="mi_twosided">
205 <property name="visible">True</property>
206 <property name="label" translatable="yes">T_wo-sided faces</property>
207 <property name="use_underline">True</property>
208 <property name="active">True</property>
209 <signal name="activate" handler="gui_on_twosided_cb" last_modification_time="Sun, 22 Jan 2006 11:55:57 GMT"/>
210 </widget>
211 </child>
212
213 <child>
214 <widget class="GtkCheckMenuItem" id="mi_textures">
215 <property name="visible">True</property>
216 <property name="label" translatable="yes">_Textures</property>
217 <property name="use_underline">True</property>
218 <property name="active">True</property>
219 <signal name="activate" handler="gui_on_textures_cb" last_modification_time="Sun, 22 Jan 2006 11:56:07 GMT"/>
220 </widget>
221 </child>
222
223 <child>
224 <widget class="GtkSeparatorMenuItem" id="trennlinie1">
225 <property name="visible">True</property>
226 </widget>
227 </child>
228
229 <child>
230 <widget class="GtkImageMenuItem" id="mi_bgcolor">
231 <property name="visible">True</property>
232 <property name="label" translatable="yes">_Background color</property>
233 <property name="use_underline">True</property>
234 <signal name="activate" handler="gui_on_bgcolor_cb" last_modification_time="Sun, 22 Jan 2006 11:56:27 GMT"/>
235
236 <child internal-child="image">
237 <widget class="GtkImage" id="image10">
238 <property name="visible">True</property>
239 <property name="stock">gtk-select-color</property>
240 <property name="icon_size">1</property>
241 <property name="xalign">0.5</property>
242 <property name="yalign">0.5</property>
243 <property name="xpad">0</property>
244 <property name="ypad">0</property>
245 </widget>
246 </child>
247 </widget>
248 </child>
249 </widget>
250 </child>
251 </widget>
252 </child>
253
254 <child>
255 <widget class="GtkMenuItem" id="menuitem4">
256 <property name="visible">True</property>
257 <property name="label" translatable="yes">_Help</property>
258 <property name="use_underline">True</property>
259
260 <child>
261 <widget class="GtkMenu" id="menuitem4_menu">
262
263 <child>
264 <widget class="GtkMenuItem" id="mi_info">
265 <property name="visible">True</property>
266 <property name="label" translatable="yes">_Info</property>
267 <property name="use_underline">True</property>
268 <signal name="activate" handler="gui_on_help_info_cb" last_modification_time="Sat, 22 Apr 2006 17:46:31 GMT"/>
269 </widget>
270 </child>
271 </widget>
272 </child>
273 </widget>
274 </child>
275 </widget>
276 <packing>
277 <property name="padding">0</property>
278 <property name="expand">False</property>
279 <property name="fill">False</property>
280 </packing>
281 </child>
282
283 <child>
284 <widget class="GtkToolbar" id="toolbar_main">
285 <property name="visible">True</property>
286 <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
287 <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
288 <property name="tooltips">True</property>
289 <property name="show_arrow">True</property>
290
291 <child>
292 <widget class="GtkToolButton" id="tb_file_open">
293 <property name="visible">True</property>
294 <property name="stock_id">gtk-open</property>
295 <property name="visible_horizontal">True</property>
296 <property name="visible_vertical">True</property>
297 <property name="is_important">False</property>
298 <signal name="clicked" handler="gui_on_open_cb" last_modification_time="Sat, 21 Jan 2006 09:55:47 GMT"/>
299 </widget>
300 <packing>
301 <property name="expand">False</property>
302 <property name="homogeneous">True</property>
303 </packing>
304 </child>
305
306 <child>
307 <widget class="GtkToolButton" id="tb_properties">
308 <property name="visible">True</property>
309 <property name="stock_id">gtk-properties</property>
310 <property name="visible_horizontal">True</property>
311 <property name="visible_vertical">True</property>
312 <property name="is_important">False</property>
313 <signal name="clicked" handler="gui_on_properties_cb" last_modification_time="Sat, 21 Jan 2006 09:56:34 GMT"/>
314 </widget>
315 <packing>
316 <property name="expand">False</property>
317 <property name="homogeneous">True</property>
318 </packing>
319 </child>
320
321 <child>
322 <widget class="GtkSeparatorToolItem" id="separatortoolitem1">
323 <property name="visible">True</property>
324 <property name="draw">True</property>
325 <property name="visible_horizontal">True</property>
326 <property name="visible_vertical">True</property>
327 </widget>
328 <packing>
329 <property name="expand">False</property>
330 <property name="homogeneous">False</property>
331 </packing>
332 </child>
333
334 <child>
335 <widget class="GtkToolButton" id="tb_zoomfit">
336 <property name="visible">True</property>
337 <property name="stock_id">gtk-zoom-fit</property>
338 <property name="visible_horizontal">True</property>
339 <property name="visible_vertical">True</property>
340 <property name="is_important">False</property>
341 <signal name="clicked" handler="gui_on_zoomfit_cb" last_modification_time="Sun, 12 Feb 2006 09:41:56 GMT"/>
342 </widget>
343 <packing>
344 <property name="expand">False</property>
345 <property name="homogeneous">True</property>
346 </packing>
347 </child>
348
349 <child>
350 <widget class="GtkToolButton" id="tb_screenshot">
351 <property name="visible">True</property>
352 <property name="stock_id">gtk-media-record</property>
353 <property name="visible_horizontal">True</property>
354 <property name="visible_vertical">True</property>
355 <property name="is_important">False</property>
356 <signal name="clicked" handler="gui_on_screenshot_cb" last_modification_time="Sun, 12 Feb 2006 10:52:45 GMT"/>
357 </widget>
358 <packing>
359 <property name="expand">False</property>
360 <property name="homogeneous">True</property>
361 </packing>
362 </child>
363 </widget>
364 <packing>
365 <property name="padding">0</property>
366 <property name="expand">False</property>
367 <property name="fill">False</property>
368 </packing>
369 </child>
370
371 <child>
372 <widget class="Custom" id="gtkglext1">
373 <property name="visible">True</property>
374 <property name="creation_function">gui_glade_create_glwidget</property>
375 <property name="int1">0</property>
376 <property name="int2">0</property>
377 <property name="last_modification_time">Sun, 18 Dec 2005 17:23:20 GMT</property>
378 </widget>
379 <packing>
380 <property name="padding">0</property>
381 <property name="expand">True</property>
382 <property name="fill">True</property>
383 </packing>
384 </child>
385
386 <child>
387 <widget class="GtkHBox" id="hbox1">
388 <property name="visible">True</property>
389 <property name="homogeneous">False</property>
390 <property name="spacing">0</property>
391
392 <child>
393 <widget class="GtkStatusbar" id="statusbar">
394 <property name="visible">True</property>
395 <property name="has_resize_grip">False</property>
396 </widget>
397 <packing>
398 <property name="padding">0</property>
399 <property name="expand">True</property>
400 <property name="fill">True</property>
401 </packing>
402 </child>
403
404 <child>
405 <widget class="GtkProgressBar" id="main_progressbar">
406 <property name="visible">True</property>
407 <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
408 <property name="fraction">0.5</property>
409 <property name="pulse_step">0.10000000149</property>
410 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
411 </widget>
412 <packing>
413 <property name="padding">0</property>
414 <property name="expand">False</property>
415 <property name="fill">False</property>
416 </packing>
417 </child>
418 </widget>
419 <packing>
420 <property name="padding">0</property>
421 <property name="expand">False</property>
422 <property name="fill">False</property>
423 </packing>
424 </child>
425 </widget>
426 </child>
427</widget>
428
429<widget class="GtkWindow" id="properties_window">
430 <property name="title" translatable="yes">Model Properties</property>
431 <property name="type">GTK_WINDOW_TOPLEVEL</property>
432 <property name="window_position">GTK_WIN_POS_NONE</property>
433 <property name="modal">False</property>
434 <property name="default_width">400</property>
435 <property name="default_height">300</property>
436 <property name="resizable">True</property>
437 <property name="destroy_with_parent">False</property>
438 <property name="icon_name">gtk-properties</property>
439 <property name="decorated">True</property>
440 <property name="skip_taskbar_hint">False</property>
441 <property name="skip_pager_hint">False</property>
442 <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
443 <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
444 <property name="focus_on_map">True</property>
445 <property name="urgency_hint">False</property>
446 <signal name="delete_event" handler="gtk_widget_hide" object="properties_window" last_modification_time="Sun, 22 Jan 2006 14:00:19 GMT"/>
447
448 <child>
449 <widget class="GtkVBox" id="vbox2">
450 <property name="visible">True</property>
451 <property name="homogeneous">False</property>
452 <property name="spacing">0</property>
453
454 <child>
455 <widget class="GtkNotebook" id="notebook1">
456 <property name="border_width">5</property>
457 <property name="visible">True</property>
458 <property name="can_focus">True</property>
459 <property name="show_tabs">True</property>
460 <property name="show_border">True</property>
461 <property name="tab_pos">GTK_POS_TOP</property>
462 <property name="scrollable">False</property>
463 <property name="enable_popup">False</property>
464
465 <child>
466 <widget class="GtkScrolledWindow" id="scrolledwindow1">
467 <property name="border_width">5</property>
468 <property name="visible">True</property>
469 <property name="can_focus">True</property>
470 <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
471 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
472 <property name="shadow_type">GTK_SHADOW_IN</property>
473 <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
474
475 <child>
476 <widget class="GtkTreeView" id="proptree">
477 <property name="visible">True</property>
478 <property name="can_focus">True</property>
479 <property name="headers_visible">True</property>
480 <property name="rules_hint">False</property>
481 <property name="reorderable">False</property>
482 <property name="enable_search">True</property>
483 <property name="fixed_height_mode">False</property>
484 <property name="hover_selection">False</property>
485 <property name="hover_expand">False</property>
486 </widget>
487 </child>
488 </widget>
489 <packing>
490 <property name="tab_expand">False</property>
491 <property name="tab_fill">True</property>
492 </packing>
493 </child>
494
495 <child>
496 <widget class="GtkHBox" id="hbox3">
497 <property name="visible">True</property>
498 <property name="homogeneous">False</property>
499 <property name="spacing">0</property>
500
501 <child>
502 <widget class="GtkImage" id="image2">
503 <property name="visible">True</property>
504 <property name="stock">gtk-index</property>
505 <property name="icon_size">1</property>
506 <property name="xalign">0.5</property>
507 <property name="yalign">0.5</property>
508 <property name="xpad">0</property>
509 <property name="ypad">0</property>
510 </widget>
511 <packing>
512 <property name="padding">0</property>
513 <property name="expand">True</property>
514 <property name="fill">True</property>
515 </packing>
516 </child>
517
518 <child>
519 <widget class="GtkLabel" id="label3">
520 <property name="visible">True</property>
521 <property name="label" translatable="yes">Parts</property>
522 <property name="use_underline">False</property>
523 <property name="use_markup">False</property>
524 <property name="justify">GTK_JUSTIFY_LEFT</property>
525 <property name="wrap">False</property>
526 <property name="selectable">False</property>
527 <property name="xalign">0.5</property>
528 <property name="yalign">0.5</property>
529 <property name="xpad">0</property>
530 <property name="ypad">0</property>
531 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
532 <property name="width_chars">-1</property>
533 <property name="single_line_mode">False</property>
534 <property name="angle">0</property>
535 </widget>
536 <packing>
537 <property name="padding">0</property>
538 <property name="expand">False</property>
539 <property name="fill">False</property>
540 </packing>
541 </child>
542 </widget>
543 <packing>
544 <property name="type">tab</property>
545 </packing>
546 </child>
547
548 <child>
549 <widget class="GtkVBox" id="vbox3">
550 <property name="border_width">5</property>
551 <property name="visible">True</property>
552 <property name="homogeneous">False</property>
553 <property name="spacing">0</property>
554
555 <child>
556 <widget class="GtkToolbar" id="toolbar1">
557 <property name="visible">True</property>
558 <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
559 <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
560 <property name="tooltips">True</property>
561 <property name="show_arrow">True</property>
562
563 <child>
564 <widget class="GtkToolButton" id="tb_log_clear">
565 <property name="visible">True</property>
566 <property name="stock_id">gtk-clear</property>
567 <property name="visible_horizontal">True</property>
568 <property name="visible_vertical">True</property>
569 <property name="is_important">False</property>
570 </widget>
571 <packing>
572 <property name="expand">False</property>
573 <property name="homogeneous">True</property>
574 </packing>
575 </child>
576
577 <child>
578 <widget class="GtkToolButton" id="tb_log_save">
579 <property name="visible">True</property>
580 <property name="stock_id">gtk-save-as</property>
581 <property name="visible_horizontal">True</property>
582 <property name="visible_vertical">True</property>
583 <property name="is_important">False</property>
584 </widget>
585 <packing>
586 <property name="expand">False</property>
587 <property name="homogeneous">True</property>
588 </packing>
589 </child>
590 </widget>
591 <packing>
592 <property name="padding">0</property>
593 <property name="expand">False</property>
594 <property name="fill">False</property>
595 </packing>
596 </child>
597
598 <child>
599 <widget class="GtkScrolledWindow" id="scrolledwindow2">
600 <property name="visible">True</property>
601 <property name="can_focus">True</property>
602 <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
603 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
604 <property name="shadow_type">GTK_SHADOW_IN</property>
605 <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
606
607 <child>
608 <widget class="GtkTreeView" id="logtree">
609 <property name="visible">True</property>
610 <property name="can_focus">True</property>
611 <property name="headers_visible">False</property>
612 <property name="rules_hint">False</property>
613 <property name="reorderable">False</property>
614 <property name="enable_search">True</property>
615 <property name="fixed_height_mode">False</property>
616 <property name="hover_selection">False</property>
617 <property name="hover_expand">False</property>
618 </widget>
619 </child>
620 </widget>
621 <packing>
622 <property name="padding">0</property>
623 <property name="expand">True</property>
624 <property name="fill">True</property>
625 </packing>
626 </child>
627 </widget>
628 <packing>
629 <property name="tab_expand">False</property>
630 <property name="tab_fill">True</property>
631 </packing>
632 </child>
633
634 <child>
635 <widget class="GtkHBox" id="hbox4">
636 <property name="visible">True</property>
637 <property name="homogeneous">False</property>
638 <property name="spacing">0</property>
639
640 <child>
641 <widget class="GtkImage" id="image6">
642 <property name="visible">True</property>
643 <property name="stock">gtk-info</property>
644 <property name="icon_size">4</property>
645 <property name="xalign">0.5</property>
646 <property name="yalign">0.5</property>
647 <property name="xpad">0</property>
648 <property name="ypad">0</property>
649 </widget>
650 <packing>
651 <property name="padding">0</property>
652 <property name="expand">True</property>
653 <property name="fill">True</property>
654 </packing>
655 </child>
656
657 <child>
658 <widget class="GtkLabel" id="label6">
659 <property name="visible">True</property>
660 <property name="label" translatable="yes">Protocol</property>
661 <property name="use_underline">False</property>
662 <property name="use_markup">False</property>
663 <property name="justify">GTK_JUSTIFY_LEFT</property>
664 <property name="wrap">False</property>
665 <property name="selectable">False</property>
666 <property name="xalign">0.5</property>
667 <property name="yalign">0.5</property>
668 <property name="xpad">0</property>
669 <property name="ypad">0</property>
670 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
671 <property name="width_chars">-1</property>
672 <property name="single_line_mode">False</property>
673 <property name="angle">0</property>
674 </widget>
675 <packing>
676 <property name="padding">0</property>
677 <property name="expand">False</property>
678 <property name="fill">False</property>
679 </packing>
680 </child>
681 </widget>
682 <packing>
683 <property name="type">tab</property>
684 </packing>
685 </child>
686 </widget>
687 <packing>
688 <property name="padding">0</property>
689 <property name="expand">True</property>
690 <property name="fill">True</property>
691 </packing>
692 </child>
693
694 <child>
695 <widget class="GtkHButtonBox" id="hbuttonbox1">
696 <property name="border_width">5</property>
697 <property name="visible">True</property>
698 <property name="layout_style">GTK_BUTTONBOX_END</property>
699 <property name="spacing">10</property>
700
701 <child>
702 <widget class="GtkButton" id="button1">
703 <property name="visible">True</property>
704 <property name="can_default">True</property>
705 <property name="can_focus">True</property>
706 <property name="label">gtk-close</property>
707 <property name="use_stock">True</property>
708 <property name="relief">GTK_RELIEF_NORMAL</property>
709 <property name="focus_on_click">True</property>
710 <signal name="clicked" handler="gtk_widget_hide" object="properties_window" last_modification_time="Sun, 22 Jan 2006 14:00:42 GMT"/>
711 </widget>
712 </child>
713 </widget>
714 <packing>
715 <property name="padding">0</property>
716 <property name="expand">False</property>
717 <property name="fill">True</property>
718 </packing>
719 </child>
720 </widget>
721 </child>
722</widget>
723
724<widget class="GtkDialog" id="info_dialog">
725 <property name="title" translatable="yes">About G3DViewer</property>
726 <property name="type">GTK_WINDOW_TOPLEVEL</property>
727 <property name="window_position">GTK_WIN_POS_NONE</property>
728 <property name="modal">False</property>
729 <property name="default_width">450</property>
730 <property name="default_height">250</property>
731 <property name="resizable">False</property>
732 <property name="destroy_with_parent">False</property>
733 <property name="decorated">True</property>
734 <property name="skip_taskbar_hint">False</property>
735 <property name="skip_pager_hint">False</property>
736 <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
737 <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
738 <property name="focus_on_map">True</property>
739 <property name="urgency_hint">False</property>
740 <property name="has_separator">True</property>
741 <signal name="delete_event" handler="gtk_widget_hide" object="info_dialog" last_modification_time="Tue, 31 Jan 2006 13:37:39 GMT"/>
742
743 <child internal-child="vbox">
744 <widget class="GtkVBox" id="dialog-vbox1">
745 <property name="visible">True</property>
746 <property name="homogeneous">False</property>
747 <property name="spacing">0</property>
748
749 <child internal-child="action_area">
750 <widget class="GtkHButtonBox" id="dialog-action_area1">
751 <property name="visible">True</property>
752 <property name="layout_style">GTK_BUTTONBOX_END</property>
753
754 <child>
755 <widget class="GtkButton" id="closebutton1">
756 <property name="visible">True</property>
757 <property name="can_default">True</property>
758 <property name="can_focus">True</property>
759 <property name="label">gtk-close</property>
760 <property name="use_stock">True</property>
761 <property name="relief">GTK_RELIEF_NORMAL</property>
762 <property name="focus_on_click">True</property>
763 <property name="response_id">-7</property>
764 <signal name="clicked" handler="gtk_widget_hide" object="info_dialog" last_modification_time="Tue, 31 Jan 2006 13:44:05 GMT"/>
765 </widget>
766 </child>
767 </widget>
768 <packing>
769 <property name="padding">0</property>
770 <property name="expand">False</property>
771 <property name="fill">True</property>
772 <property name="pack_type">GTK_PACK_END</property>
773 </packing>
774 </child>
775
776 <child>
777 <widget class="GtkLabel" id="label5">
778 <property name="visible">True</property>
779 <property name="label" translatable="yes">&lt;b&gt;About G3DViewer&lt;/b&gt;</property>
780 <property name="use_underline">False</property>
781 <property name="use_markup">True</property>
782 <property name="justify">GTK_JUSTIFY_LEFT</property>
783 <property name="wrap">False</property>
784 <property name="selectable">False</property>
785 <property name="xalign">0.5</property>
786 <property name="yalign">0.5</property>
787 <property name="xpad">0</property>
788 <property name="ypad">0</property>
789 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
790 <property name="width_chars">-1</property>
791 <property name="single_line_mode">False</property>
792 <property name="angle">0</property>
793 </widget>
794 <packing>
795 <property name="padding">5</property>
796 <property name="expand">False</property>
797 <property name="fill">False</property>
798 </packing>
799 </child>
800
801 <child>
802 <widget class="GtkImage" id="img_info_logo">
803 <property name="visible">True</property>
804 <property name="pixbuf">g3d48.png</property>
805 <property name="xalign">0.5</property>
806 <property name="yalign">0.5</property>
807 <property name="xpad">0</property>
808 <property name="ypad">0</property>
809 </widget>
810 <packing>
811 <property name="padding">5</property>
812 <property name="expand">False</property>
813 <property name="fill">False</property>
814 </packing>
815 </child>
816
817 <child>
818 <widget class="GtkLabel" id="label4">
819 <property name="visible">True</property>
820 <property name="can_focus">True</property>
821 <property name="label" translatable="yes">&lt;span foreground=&quot;blue&quot;&gt;http://automagically.de/?g3dviewer&lt;/span&gt;
822
823(C) 2005, 2006 Markus Dahms
824&amp;lt;mad@automagically.de&amp;gt;</property>
825 <property name="use_underline">False</property>
826 <property name="use_markup">True</property>
827 <property name="justify">GTK_JUSTIFY_CENTER</property>
828 <property name="wrap">True</property>
829 <property name="selectable">True</property>
830 <property name="xalign">0.5</property>
831 <property name="yalign">0.5</property>
832 <property name="xpad">5</property>
833 <property name="ypad">5</property>
834 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
835 <property name="width_chars">-1</property>
836 <property name="single_line_mode">False</property>
837 <property name="angle">0</property>
838 </widget>
839 <packing>
840 <property name="padding">0</property>
841 <property name="expand">False</property>
842 <property name="fill">False</property>
843 </packing>
844 </child>
845 </widget>
846 </child>
847</widget>
848
849<widget class="GtkFileChooserDialog" id="open_dialog">
850 <property name="action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
851 <property name="local_only">True</property>
852 <property name="select_multiple">False</property>
853 <property name="show_hidden">False</property>
854 <property name="do_overwrite_confirmation">False</property>
855 <property name="title" translatable="yes">Open Model</property>
856 <property name="type">GTK_WINDOW_TOPLEVEL</property>
857 <property name="window_position">GTK_WIN_POS_NONE</property>
858 <property name="modal">False</property>
859 <property name="resizable">True</property>
860 <property name="destroy_with_parent">False</property>
861 <property name="decorated">True</property>
862 <property name="skip_taskbar_hint">False</property>
863 <property name="skip_pager_hint">False</property>
864 <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
865 <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
866 <property name="focus_on_map">True</property>
867 <property name="urgency_hint">False</property>
868
869 <child internal-child="vbox">
870 <widget class="GtkVBox" id="dialog-vbox2">
871 <property name="visible">True</property>
872 <property name="homogeneous">False</property>
873 <property name="spacing">24</property>
874
875 <child internal-child="action_area">
876 <widget class="GtkHButtonBox" id="dialog-action_area2">
877 <property name="visible">True</property>
878 <property name="layout_style">GTK_BUTTONBOX_END</property>
879
880 <child>
881 <widget class="GtkButton" id="button2">
882 <property name="visible">True</property>
883 <property name="can_default">True</property>
884 <property name="can_focus">True</property>
885 <property name="label">gtk-cancel</property>
886 <property name="use_stock">True</property>
887 <property name="relief">GTK_RELIEF_NORMAL</property>
888 <property name="focus_on_click">True</property>
889 <property name="response_id">-6</property>
890 </widget>
891 </child>
892
893 <child>
894 <widget class="GtkButton" id="button3">
895 <property name="visible">True</property>
896 <property name="can_default">True</property>
897 <property name="has_default">True</property>
898 <property name="can_focus">True</property>
899 <property name="label">gtk-open</property>
900 <property name="use_stock">True</property>
901 <property name="relief">GTK_RELIEF_NORMAL</property>
902 <property name="focus_on_click">True</property>
903 <property name="response_id">-5</property>
904 </widget>
905 </child>
906 </widget>
907 <packing>
908 <property name="padding">0</property>
909 <property name="expand">False</property>
910 <property name="fill">True</property>
911 <property name="pack_type">GTK_PACK_END</property>
912 </packing>
913 </child>
914 </widget>
915 </child>
916</widget>
917
918<widget class="GtkColorSelectionDialog" id="color_dialog">
919 <property name="title" translatable="yes">Select background color</property>
920 <property name="type">GTK_WINDOW_TOPLEVEL</property>
921 <property name="window_position">GTK_WIN_POS_NONE</property>
922 <property name="modal">False</property>
923 <property name="resizable">False</property>
924 <property name="destroy_with_parent">False</property>
925 <property name="decorated">True</property>
926 <property name="skip_taskbar_hint">False</property>
927 <property name="skip_pager_hint">False</property>
928 <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
929 <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
930 <property name="focus_on_map">True</property>
931 <property name="urgency_hint">False</property>
932
933 <child internal-child="cancel_button">
934 <widget class="GtkButton" id="cancel_button1">
935 <property name="visible">True</property>
936 <property name="can_default">True</property>
937 <property name="can_focus">True</property>
938 <property name="label">gtk-cancel</property>
939 <property name="use_stock">True</property>
940 <property name="relief">GTK_RELIEF_NORMAL</property>
941 <property name="focus_on_click">True</property>
942 </widget>
943 </child>
944
945 <child internal-child="ok_button">
946 <widget class="GtkButton" id="ok_button1">
947 <property name="visible">True</property>
948 <property name="can_default">True</property>
949 <property name="can_focus">True</property>
950 <property name="label">gtk-ok</property>
951 <property name="use_stock">True</property>
952 <property name="relief">GTK_RELIEF_NORMAL</property>
953 <property name="focus_on_click">True</property>
954 </widget>
955 </child>
956
957 <child internal-child="help_button">
958 <widget class="GtkButton" id="help_button1">
959 <property name="visible">True</property>
960 <property name="can_default">True</property>
961 <property name="can_focus">True</property>
962 <property name="label">gtk-help</property>
963 <property name="use_stock">True</property>
964 <property name="relief">GTK_RELIEF_NORMAL</property>
965 <property name="focus_on_click">True</property>
966 </widget>
967 </child>
968
969 <child internal-child="color_selection">
970 <widget class="GtkColorSelection" id="cs_background">
971 <property name="visible">True</property>
972 <property name="has_opacity_control">False</property>
973 <property name="has_palette">False</property>
974 <signal name="color_changed" handler="gui_color_changed_cb" last_modification_time="Tue, 31 Jan 2006 18:39:59 GMT"/>
975 </widget>
976 </child>
977</widget>
978
979</glade-interface>
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/install-sh b/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
new file mode 100755
index 0000000..6ce63b9
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
@@ -0,0 +1,294 @@
1#!/bin/sh
2#
3# install - install a program, script, or datafile
4#
5# This originates from X11R5 (mit/util/scripts/install.sh), which was
6# later released in X11R6 (xc/config/util/install.sh) with the
7# following copyright and license.
8#
9# Copyright (C) 1994 X Consortium
10#
11# Permission is hereby granted, free of charge, to any person obtaining a copy
12# of this software and associated documentation files (the "Software"), to
13# deal in the Software without restriction, including without limitation the
14# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
15# sell copies of the Software, and to permit persons to whom the Software is
16# furnished to do so, subject to the following conditions:
17#
18# The above copyright notice and this permission notice shall be included in
19# all copies or substantial portions of the Software.
20#
21# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
26# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27#
28# Except as contained in this notice, the name of the X Consortium shall not
29# be used in advertising or otherwise to promote the sale, use or other deal-
30# ings in this Software without prior written authorization from the X Consor-
31# tium.
32#
33#
34# FSF changes to this file are in the public domain.
35#
36# Calling this script install-sh is preferred over install.sh, to prevent
37# `make' implicit rules from creating a file called install from it
38# when there is no Makefile.
39#
40# This script is compatible with the BSD install script, but was written
41# from scratch. It can only install one file at a time, a restriction
42# shared with many OS's install programs.
43
44
45# set DOITPROG to echo to test this script
46
47# Don't use :- since 4.3BSD and earlier shells don't like it.
48doit="${DOITPROG-}"
49
50
51# put in absolute paths if you don't have them in your path; or use env. vars.
52
53mvprog="${MVPROG-mv}"
54cpprog="${CPPROG-cp}"
55chmodprog="${CHMODPROG-chmod}"
56chownprog="${CHOWNPROG-chown}"
57chgrpprog="${CHGRPPROG-chgrp}"
58stripprog="${STRIPPROG-strip}"
59rmprog="${RMPROG-rm}"
60mkdirprog="${MKDIRPROG-mkdir}"
61
62transformbasename=""
63transform_arg=""
64instcmd="$mvprog"
65chmodcmd="$chmodprog 0755"
66chowncmd=""
67chgrpcmd=""
68stripcmd=""
69rmcmd="$rmprog -f"
70mvcmd="$mvprog"
71src=""
72dst=""
73dir_arg=""
74
75while [ x"$1" != x ]; do
76 case $1 in
77 -c) instcmd=$cpprog
78 shift
79 continue;;
80
81 -d) dir_arg=true
82 shift
83 continue;;
84
85 -m) chmodcmd="$chmodprog $2"
86 shift
87 shift
88 continue;;
89
90 -o) chowncmd="$chownprog $2"
91 shift
92 shift
93 continue;;
94
95 -g) chgrpcmd="$chgrpprog $2"
96 shift
97 shift
98 continue;;
99
100 -s) stripcmd=$stripprog
101 shift
102 continue;;
103
104 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
105 shift
106 continue;;
107
108 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
109 shift
110 continue;;
111
112 *) if [ x"$src" = x ]
113 then
114 src=$1
115 else
116 # this colon is to work around a 386BSD /bin/sh bug
117 :
118 dst=$1
119 fi
120 shift
121 continue;;
122 esac
123done
124
125if [ x"$src" = x ]
126then
127 echo "$0: no input file specified" >&2
128 exit 1
129else
130 :
131fi
132
133if [ x"$dir_arg" != x ]; then
134 dst=$src
135 src=""
136
137 if [ -d "$dst" ]; then
138 instcmd=:
139 chmodcmd=""
140 else
141 instcmd=$mkdirprog
142 fi
143else
144
145# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
146# might cause directories to be created, which would be especially bad
147# if $src (and thus $dsttmp) contains '*'.
148
149 if [ -f "$src" ] || [ -d "$src" ]
150 then
151 :
152 else
153 echo "$0: $src does not exist" >&2
154 exit 1
155 fi
156
157 if [ x"$dst" = x ]
158 then
159 echo "$0: no destination specified" >&2
160 exit 1
161 else
162 :
163 fi
164
165# If destination is a directory, append the input filename; if your system
166# does not like double slashes in filenames, you may need to add some logic
167
168 if [ -d "$dst" ]
169 then
170 dst=$dst/`basename "$src"`
171 else
172 :
173 fi
174fi
175
176## this sed command emulates the dirname command
177dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
178
179# Make sure that the destination directory exists.
180# this part is taken from Noah Friedman's mkinstalldirs script
181
182# Skip lots of stat calls in the usual case.
183if [ ! -d "$dstdir" ]; then
184defaultIFS='
185 '
186IFS="${IFS-$defaultIFS}"
187
188oIFS=$IFS
189# Some sh's can't handle IFS=/ for some reason.
190IFS='%'
191set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
192IFS=$oIFS
193
194pathcomp=''
195
196while [ $# -ne 0 ] ; do
197 pathcomp=$pathcomp$1
198 shift
199
200 if [ ! -d "$pathcomp" ] ;
201 then
202 $mkdirprog "$pathcomp"
203 else
204 :
205 fi
206
207 pathcomp=$pathcomp/
208done
209fi
210
211if [ x"$dir_arg" != x ]
212then
213 $doit $instcmd "$dst" &&
214
215 if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
216 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
217 if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
218 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
219else
220
221# If we're going to rename the final executable, determine the name now.
222
223 if [ x"$transformarg" = x ]
224 then
225 dstfile=`basename "$dst"`
226 else
227 dstfile=`basename "$dst" $transformbasename |
228 sed $transformarg`$transformbasename
229 fi
230
231# don't allow the sed command to completely eliminate the filename
232
233 if [ x"$dstfile" = x ]
234 then
235 dstfile=`basename "$dst"`
236 else
237 :
238 fi
239
240# Make a couple of temp file names in the proper directory.
241
242 dsttmp=$dstdir/_inst.$$_
243 rmtmp=$dstdir/_rm.$$_
244
245# Trap to clean up temp files at exit.
246
247 trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
248 trap '(exit $?); exit' 1 2 13 15
249
250# Move or copy the file name to the temp name
251
252 $doit $instcmd "$src" "$dsttmp" &&
253
254# and set any options; do chmod last to preserve setuid bits
255
256# If any of these fail, we abort the whole thing. If we want to
257# ignore errors from any of these, just make sure not to ignore
258# errors from the above "$doit $instcmd $src $dsttmp" command.
259
260 if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
261 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
262 if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
263 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
264
265# Now remove or move aside any old file at destination location. We try this
266# two ways since rm can't unlink itself on some systems and the destination
267# file might be busy for other reasons. In this case, the final cleanup
268# might fail but the new file should still install successfully.
269
270{
271 if [ -f "$dstdir/$dstfile" ]
272 then
273 $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
274 $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
275 {
276 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
277 (exit 1); exit
278 }
279 else
280 :
281 fi
282} &&
283
284# Now rename the file to the real destination.
285
286 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
287
288fi &&
289
290# The final little trick to "correctly" pass the exit status to the exit trap.
291
292{
293 (exit 0); exit
294}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile
new file mode 100644
index 0000000..3d18e74
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile
@@ -0,0 +1,295 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# m4/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151EXTRA_DIST = \
152 acinclude.m4 \
153 glib-2.0.m4 \
154 gtk-2.0.m4 \
155 gtkglext.m4
156
157subdir = m4
158ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
159mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
160CONFIG_HEADER = $(top_builddir)/config.h
161CONFIG_CLEAN_FILES =
162DIST_SOURCES =
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4
164all: all-am
165
166.SUFFIXES:
167$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && \
169 $(AUTOMAKE) --gnu m4/Makefile
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173tags: TAGS
174TAGS:
175
176ctags: CTAGS
177CTAGS:
178
179DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180
181top_distdir = ..
182distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
183
184distdir: $(DISTFILES)
185 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
186 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
187 list='$(DISTFILES)'; for file in $$list; do \
188 case $$file in \
189 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
190 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
191 esac; \
192 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
193 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
194 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
195 dir="/$$dir"; \
196 $(mkinstalldirs) "$(distdir)$$dir"; \
197 else \
198 dir=''; \
199 fi; \
200 if test -d $$d/$$file; then \
201 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
202 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
203 fi; \
204 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
205 else \
206 test -f $(distdir)/$$file \
207 || cp -p $$d/$$file $(distdir)/$$file \
208 || exit 1; \
209 fi; \
210 done
211check-am: all-am
212check: check-am
213all-am: Makefile
214
215installdirs:
216install: install-am
217install-exec: install-exec-am
218install-data: install-data-am
219uninstall: uninstall-am
220
221install-am: all-am
222 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
223
224installcheck: installcheck-am
225install-strip:
226 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
227 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
228 `test -z '$(STRIP)' || \
229 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
230mostlyclean-generic:
231
232clean-generic:
233
234distclean-generic:
235 -rm -f $(CONFIG_CLEAN_FILES)
236
237maintainer-clean-generic:
238 @echo "This command is intended for maintainers to use"
239 @echo "it deletes files that may require special tools to rebuild."
240clean: clean-am
241
242clean-am: clean-generic mostlyclean-am
243
244distclean: distclean-am
245 -rm -f Makefile
246distclean-am: clean-am distclean-generic
247
248dvi: dvi-am
249
250dvi-am:
251
252info: info-am
253
254info-am:
255
256install-data-am:
257
258install-exec-am:
259
260install-info: install-info-am
261
262install-man:
263
264installcheck-am:
265
266maintainer-clean: maintainer-clean-am
267 -rm -f Makefile
268maintainer-clean-am: distclean-am maintainer-clean-generic
269
270mostlyclean: mostlyclean-am
271
272mostlyclean-am: mostlyclean-generic
273
274pdf: pdf-am
275
276pdf-am:
277
278ps: ps-am
279
280ps-am:
281
282uninstall-am: uninstall-info-am
283
284.PHONY: all all-am check check-am clean clean-generic distclean \
285 distclean-generic distdir dvi dvi-am info info-am install \
286 install-am install-data install-data-am install-exec \
287 install-exec-am install-info install-info-am install-man \
288 install-strip installcheck installcheck-am installdirs \
289 maintainer-clean maintainer-clean-generic mostlyclean \
290 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
291 uninstall-info-am
292
293# Tell versions [3.59,3.63) of GNU make to not export all variables.
294# Otherwise a system limit (for SysV at least) may be exceeded.
295.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am
new file mode 100644
index 0000000..5f9e57d
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am
@@ -0,0 +1,5 @@
1EXTRA_DIST = \
2 acinclude.m4 \
3 glib-2.0.m4 \
4 gtk-2.0.m4 \
5 gtkglext.m4
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in
new file mode 100644
index 0000000..1170638
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in
@@ -0,0 +1,295 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151EXTRA_DIST = \
152 acinclude.m4 \
153 glib-2.0.m4 \
154 gtk-2.0.m4 \
155 gtkglext.m4
156
157subdir = m4
158ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
159mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
160CONFIG_HEADER = $(top_builddir)/config.h
161CONFIG_CLEAN_FILES =
162DIST_SOURCES =
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4
164all: all-am
165
166.SUFFIXES:
167$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && \
169 $(AUTOMAKE) --gnu m4/Makefile
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173tags: TAGS
174TAGS:
175
176ctags: CTAGS
177CTAGS:
178
179DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180
181top_distdir = ..
182distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
183
184distdir: $(DISTFILES)
185 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
186 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
187 list='$(DISTFILES)'; for file in $$list; do \
188 case $$file in \
189 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
190 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
191 esac; \
192 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
193 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
194 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
195 dir="/$$dir"; \
196 $(mkinstalldirs) "$(distdir)$$dir"; \
197 else \
198 dir=''; \
199 fi; \
200 if test -d $$d/$$file; then \
201 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
202 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
203 fi; \
204 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
205 else \
206 test -f $(distdir)/$$file \
207 || cp -p $$d/$$file $(distdir)/$$file \
208 || exit 1; \
209 fi; \
210 done
211check-am: all-am
212check: check-am
213all-am: Makefile
214
215installdirs:
216install: install-am
217install-exec: install-exec-am
218install-data: install-data-am
219uninstall: uninstall-am
220
221install-am: all-am
222 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
223
224installcheck: installcheck-am
225install-strip:
226 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
227 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
228 `test -z '$(STRIP)' || \
229 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
230mostlyclean-generic:
231
232clean-generic:
233
234distclean-generic:
235 -rm -f $(CONFIG_CLEAN_FILES)
236
237maintainer-clean-generic:
238 @echo "This command is intended for maintainers to use"
239 @echo "it deletes files that may require special tools to rebuild."
240clean: clean-am
241
242clean-am: clean-generic mostlyclean-am
243
244distclean: distclean-am
245 -rm -f Makefile
246distclean-am: clean-am distclean-generic
247
248dvi: dvi-am
249
250dvi-am:
251
252info: info-am
253
254info-am:
255
256install-data-am:
257
258install-exec-am:
259
260install-info: install-info-am
261
262install-man:
263
264installcheck-am:
265
266maintainer-clean: maintainer-clean-am
267 -rm -f Makefile
268maintainer-clean-am: distclean-am maintainer-clean-generic
269
270mostlyclean: mostlyclean-am
271
272mostlyclean-am: mostlyclean-generic
273
274pdf: pdf-am
275
276pdf-am:
277
278ps: ps-am
279
280ps-am:
281
282uninstall-am: uninstall-info-am
283
284.PHONY: all all-am check check-am clean clean-generic distclean \
285 distclean-generic distdir dvi dvi-am info info-am install \
286 install-am install-data install-data-am install-exec \
287 install-exec-am install-info install-info-am install-man \
288 install-strip installcheck installcheck-am installdirs \
289 maintainer-clean maintainer-clean-generic mostlyclean \
290 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
291 uninstall-info-am
292
293# Tell versions [3.59,3.63) of GNU make to not export all variables.
294# Otherwise a system limit (for SysV at least) may be exceeded.
295.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4
new file mode 100644
index 0000000..f17febd
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4
@@ -0,0 +1,27 @@
1dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
2dnl
3dnl This macro _AC_DEFINEs VARNAME to the expansion of the DIR
4dnl variable, taking care of fixing up ${prefix} and such.
5dnl
6dnl Note that the 3 argument form is only supported with autoconf 2.13 and
7dnl later (i.e. only where _AC_DEFINE supports 3 arguments).
8dnl
9dnl Examples:
10dnl
11dnl AC_DEFINE_DIR(DATADIR, datadir)
12dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
13dnl
14dnl @version $Id: acinclude.m4 25 2006-04-22 17:24:27Z mmmaddd $
15dnl @author Guido Draheim <guidod@gmx.de>, original by Alexandre Oliva
16
17AC_DEFUN([AC_DEFINE_DIR], [
18 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
19 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20 ac_define_dir=`eval echo [$]$2`
21 ac_define_dir=`eval echo [$]ac_define_dir`
22 ifelse($3, ,
23 AC_DEFINE_UNQUOTED($1, "$ac_define_dir"),
24 AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3))
25])
26
27
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4
new file mode 100644
index 0000000..d6413ff
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4
@@ -0,0 +1,215 @@
1# Configure paths for GLIB
2# Owen Taylor 1997-2001
3
4dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or
6dnl gthread is specified in MODULES, pass to pkg-config
7dnl
8AC_DEFUN([AM_PATH_GLIB_2_0],
9[dnl
10dnl Get the cflags and libraries from pkg-config
11dnl
12AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
13 , enable_glibtest=yes)
14
15 pkg_config_args=glib-2.0
16 for module in . $4
17 do
18 case "$module" in
19 gmodule)
20 pkg_config_args="$pkg_config_args gmodule-2.0"
21 ;;
22 gmodule-no-export)
23 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
24 ;;
25 gobject)
26 pkg_config_args="$pkg_config_args gobject-2.0"
27 ;;
28 gthread)
29 pkg_config_args="$pkg_config_args gthread-2.0"
30 ;;
31 esac
32 done
33
34 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
35
36 no_glib=""
37
38 if test x$PKG_CONFIG != xno ; then
39 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
40 :
41 else
42 echo *** pkg-config too old; version 0.7 or better required.
43 no_glib=yes
44 PKG_CONFIG=no
45 fi
46 else
47 no_glib=yes
48 fi
49
50 min_glib_version=ifelse([$1], ,2.0.0,$1)
51 AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
52
53 if test x$PKG_CONFIG != xno ; then
54 ## don't try to run the test against uninstalled libtool libs
55 if $PKG_CONFIG --uninstalled $pkg_config_args; then
56 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
57 enable_glibtest=no
58 fi
59
60 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
61 :
62 else
63 no_glib=yes
64 fi
65 fi
66
67 if test x"$no_glib" = x ; then
68 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
69 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
70 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
71
72 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
73 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
74 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
75 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
76 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
77 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
78 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
79 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
80 if test "x$enable_glibtest" = "xyes" ; then
81 ac_save_CFLAGS="$CFLAGS"
82 ac_save_LIBS="$LIBS"
83 CFLAGS="$CFLAGS $GLIB_CFLAGS"
84 LIBS="$GLIB_LIBS $LIBS"
85dnl
86dnl Now check if the installed GLIB is sufficiently new. (Also sanity
87dnl checks the results of pkg-config to some extent)
88dnl
89 rm -f conf.glibtest
90 AC_TRY_RUN([
91#include <glib.h>
92#include <stdio.h>
93#include <stdlib.h>
94
95int
96main ()
97{
98 int major, minor, micro;
99 char *tmp_version;
100
101 system ("touch conf.glibtest");
102
103 /* HP/UX 9 (%@#!) writes to sscanf strings */
104 tmp_version = g_strdup("$min_glib_version");
105 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
106 printf("%s, bad version string\n", "$min_glib_version");
107 exit(1);
108 }
109
110 if ((glib_major_version != $glib_config_major_version) ||
111 (glib_minor_version != $glib_config_minor_version) ||
112 (glib_micro_version != $glib_config_micro_version))
113 {
114 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
115 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
116 glib_major_version, glib_minor_version, glib_micro_version);
117 printf ("*** was found! If pkg-config was correct, then it is best\n");
118 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
119 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
120 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
121 printf("*** required on your system.\n");
122 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
123 printf("*** to point to the correct configuration files\n");
124 }
125 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
126 (glib_minor_version != GLIB_MINOR_VERSION) ||
127 (glib_micro_version != GLIB_MICRO_VERSION))
128 {
129 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
130 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
131 printf("*** library (version %d.%d.%d)\n",
132 glib_major_version, glib_minor_version, glib_micro_version);
133 }
134 else
135 {
136 if ((glib_major_version > major) ||
137 ((glib_major_version == major) && (glib_minor_version > minor)) ||
138 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
139 {
140 return 0;
141 }
142 else
143 {
144 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
145 glib_major_version, glib_minor_version, glib_micro_version);
146 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
147 major, minor, micro);
148 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
149 printf("***\n");
150 printf("*** If you have already installed a sufficiently new version, this error\n");
151 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
152 printf("*** being found. The easiest way to fix this is to remove the old version\n");
153 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
154 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
155 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
156 printf("*** so that the correct libraries are found at run-time))\n");
157 }
158 }
159 return 1;
160}
161],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
162 CFLAGS="$ac_save_CFLAGS"
163 LIBS="$ac_save_LIBS"
164 fi
165 fi
166 if test "x$no_glib" = x ; then
167 AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
168 ifelse([$2], , :, [$2])
169 else
170 AC_MSG_RESULT(no)
171 if test "$PKG_CONFIG" = "no" ; then
172 echo "*** A new enough version of pkg-config was not found."
173 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
174 else
175 if test -f conf.glibtest ; then
176 :
177 else
178 echo "*** Could not run GLIB test program, checking why..."
179 ac_save_CFLAGS="$CFLAGS"
180 ac_save_LIBS="$LIBS"
181 CFLAGS="$CFLAGS $GLIB_CFLAGS"
182 LIBS="$LIBS $GLIB_LIBS"
183 AC_TRY_LINK([
184#include <glib.h>
185#include <stdio.h>
186], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
187 [ echo "*** The test program compiled, but did not run. This usually means"
188 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
189 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
192 echo "*** is required on your system"
193 echo "***"
194 echo "*** If you have an old version installed, it is best to remove it, although"
195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
196 [ echo "*** The test program failed to compile or link. See the file config.log for the"
197 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
198 CFLAGS="$ac_save_CFLAGS"
199 LIBS="$ac_save_LIBS"
200 fi
201 fi
202 GLIB_CFLAGS=""
203 GLIB_LIBS=""
204 GLIB_GENMARSHAL=""
205 GOBJECT_QUERY=""
206 GLIB_MKENUMS=""
207 ifelse([$3], , :, [$3])
208 fi
209 AC_SUBST(GLIB_CFLAGS)
210 AC_SUBST(GLIB_LIBS)
211 AC_SUBST(GLIB_GENMARSHAL)
212 AC_SUBST(GOBJECT_QUERY)
213 AC_SUBST(GLIB_MKENUMS)
214 rm -f conf.glibtest
215])
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4
new file mode 100644
index 0000000..3deba01
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4
@@ -0,0 +1,196 @@
1# Configure paths for GTK+
2# Owen Taylor 1997-2001
3
4dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
6dnl pass to pkg-config
7dnl
8AC_DEFUN([AM_PATH_GTK_2_0],
9[dnl
10dnl Get the cflags and libraries from pkg-config
11dnl
12AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
13 , enable_gtktest=yes)
14
15 pkg_config_args=gtk+-2.0
16 for module in . $4
17 do
18 case "$module" in
19 gthread)
20 pkg_config_args="$pkg_config_args gthread-2.0"
21 ;;
22 esac
23 done
24
25 no_gtk=""
26
27 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
28
29 if test x$PKG_CONFIG != xno ; then
30 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31 :
32 else
33 echo "*** pkg-config too old; version 0.7 or better required."
34 no_gtk=yes
35 PKG_CONFIG=no
36 fi
37 else
38 no_gtk=yes
39 fi
40
41 min_gtk_version=ifelse([$1], ,2.0.0,$1)
42 AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
43
44 if test x$PKG_CONFIG != xno ; then
45 ## don't try to run the test against uninstalled libtool libs
46 if $PKG_CONFIG --uninstalled $pkg_config_args; then
47 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
48 enable_gtktest=no
49 fi
50
51 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
52 :
53 else
54 no_gtk=yes
55 fi
56 fi
57
58 if test x"$no_gtk" = x ; then
59 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
60 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
61 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
62 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
63 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
64 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
65 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
66 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
67 if test "x$enable_gtktest" = "xyes" ; then
68 ac_save_CFLAGS="$CFLAGS"
69 ac_save_LIBS="$LIBS"
70 CFLAGS="$CFLAGS $GTK_CFLAGS"
71 LIBS="$GTK_LIBS $LIBS"
72dnl
73dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
74dnl checks the results of pkg-config to some extent)
75dnl
76 rm -f conf.gtktest
77 AC_TRY_RUN([
78#include <gtk/gtk.h>
79#include <stdio.h>
80#include <stdlib.h>
81
82int
83main ()
84{
85 int major, minor, micro;
86 char *tmp_version;
87
88 system ("touch conf.gtktest");
89
90 /* HP/UX 9 (%@#!) writes to sscanf strings */
91 tmp_version = g_strdup("$min_gtk_version");
92 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
93 printf("%s, bad version string\n", "$min_gtk_version");
94 exit(1);
95 }
96
97 if ((gtk_major_version != $gtk_config_major_version) ||
98 (gtk_minor_version != $gtk_config_minor_version) ||
99 (gtk_micro_version != $gtk_config_micro_version))
100 {
101 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
102 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
103 gtk_major_version, gtk_minor_version, gtk_micro_version);
104 printf ("*** was found! If pkg-config was correct, then it is best\n");
105 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
106 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
107 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
108 printf("*** required on your system.\n");
109 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
110 printf("*** to point to the correct configuration files\n");
111 }
112 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
113 (gtk_minor_version != GTK_MINOR_VERSION) ||
114 (gtk_micro_version != GTK_MICRO_VERSION))
115 {
116 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
117 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
118 printf("*** library (version %d.%d.%d)\n",
119 gtk_major_version, gtk_minor_version, gtk_micro_version);
120 }
121 else
122 {
123 if ((gtk_major_version > major) ||
124 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
125 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
126 {
127 return 0;
128 }
129 else
130 {
131 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
132 gtk_major_version, gtk_minor_version, gtk_micro_version);
133 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
134 major, minor, micro);
135 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
136 printf("***\n");
137 printf("*** If you have already installed a sufficiently new version, this error\n");
138 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
139 printf("*** being found. The easiest way to fix this is to remove the old version\n");
140 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
141 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
142 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
143 printf("*** so that the correct libraries are found at run-time))\n");
144 }
145 }
146 return 1;
147}
148],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
149 CFLAGS="$ac_save_CFLAGS"
150 LIBS="$ac_save_LIBS"
151 fi
152 fi
153 if test "x$no_gtk" = x ; then
154 AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
155 ifelse([$2], , :, [$2])
156 else
157 AC_MSG_RESULT(no)
158 if test "$PKG_CONFIG" = "no" ; then
159 echo "*** A new enough version of pkg-config was not found."
160 echo "*** See http://pkgconfig.sourceforge.net"
161 else
162 if test -f conf.gtktest ; then
163 :
164 else
165 echo "*** Could not run GTK+ test program, checking why..."
166 ac_save_CFLAGS="$CFLAGS"
167 ac_save_LIBS="$LIBS"
168 CFLAGS="$CFLAGS $GTK_CFLAGS"
169 LIBS="$LIBS $GTK_LIBS"
170 AC_TRY_LINK([
171#include <gtk/gtk.h>
172#include <stdio.h>
173], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
174 [ echo "*** The test program compiled, but did not run. This usually means"
175 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
176 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
177 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
178 echo "*** to the installed location Also, make sure you have run ldconfig if that"
179 echo "*** is required on your system"
180 echo "***"
181 echo "*** If you have an old version installed, it is best to remove it, although"
182 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
183 [ echo "*** The test program failed to compile or link. See the file config.log for the"
184 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
185 CFLAGS="$ac_save_CFLAGS"
186 LIBS="$ac_save_LIBS"
187 fi
188 fi
189 GTK_CFLAGS=""
190 GTK_LIBS=""
191 ifelse([$3], , :, [$3])
192 fi
193 AC_SUBST(GTK_CFLAGS)
194 AC_SUBST(GTK_LIBS)
195 rm -f conf.gtktest
196])
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4
new file mode 100644
index 0000000..cfc49fd
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4
@@ -0,0 +1,230 @@
1# Configure paths for GtkGLExt
2# Naofumi Yasufuku
3#
4# Shamelessly stolen from gtk-2.0.m4
5# Configure paths for GTK+
6# Owen Taylor 1997-2001
7
8dnl AM_PATH_GTKGLEXT_1_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
9dnl Test for GtkGLExt, and define GTKGLEXT_CFLAGS and GTKGLEXT_LIBS.
10dnl
11AC_DEFUN([AM_PATH_GTKGLEXT_1_0],
12[ no_gtkglext=""
13 GTKGLEXT_CFLAGS=""
14 GTKGLEXT_LIBS=""
15
16 # GtkGLExt pkg-config module
17 gtkglext_module=gtkglext-1.0
18
19 # minimum GtkGLExt version
20 gtkglext_min_version=ifelse([$1], ,1.0.0,$1)
21
22 # minimum pkg-config version
23 pkgconfig_min_version=0.7
24
25AC_ARG_ENABLE(gtkglext-test,
26[ --disable-gtkglext-test do not try to compile and run a test GtkGLExt program],
27, enable_gtkglext_test=yes)
28
29dnl
30dnl Get the cflags and libraries from pkg-config
31dnl
32 pkg_config_modules=$gtkglext_module
33
34 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
35
36 if test x$PKG_CONFIG != xno ; then
37 if pkg-config --atleast-pkgconfig-version $pkgconfig_min_version ; then
38 :
39 else
40 echo ""
41 echo "*** pkg-config too old; version $pkgconfig_min_version or better required."
42 no_gtkglext=yes
43 PKG_CONFIG=no
44 fi
45 else
46 no_gtkglext=yes
47 fi
48
49 AC_MSG_CHECKING(for GtkGLExt - version >= $gtkglext_min_version)
50
51 if test x$PKG_CONFIG != xno ; then
52 ## don't try to run the test against uninstalled libtool libs
53 if $PKG_CONFIG --uninstalled $pkg_config_modules; then
54 echo ""
55 echo "Will use uninstalled version of GtkGLExt found in PKG_CONFIG_PATH"
56 enable_gtkglext_test=no
57 fi
58
59 if $PKG_CONFIG --atleast-version $gtkglext_min_version $pkg_config_modules; then
60 :
61 else
62 echo ""
63 echo "*** pkg-config cannot find $gtkglext_module >= $gtkglext_min_version"
64 echo "*** Set the environment variable PKG_CONFIG_PATH to point to the correct"
65 echo "*** configuration files."
66 no_gtkglext=yes
67 enable_gtkglext_test=no
68 fi
69 fi
70
71 if test x"$no_gtkglext" = x ; then
72 GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_modules`
73 GTKGLEXT_LIBS=`$PKG_CONFIG --libs $pkg_config_modules`
74 gtkglext_config_major_version=`$PKG_CONFIG --modversion $gtkglext_module | \
75 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
76 gtkglext_config_minor_version=`$PKG_CONFIG --modversion $gtkglext_module | \
77 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
78 gtkglext_config_micro_version=`$PKG_CONFIG --modversion $gtkglext_module | \
79 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
80 if test "x$enable_gtkglext_test" = "xyes" ; then
81 ac_save_CFLAGS="$CFLAGS"
82 ac_save_LIBS="$LIBS"
83 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
84 LIBS="$GTKGLEXT_LIBS $LIBS"
85dnl
86dnl Now check if the installed GtkGLExt is sufficiently new. (Also sanity
87dnl checks the results of pkg-config to some extent)
88dnl
89 rm -f conf.gtkgltest
90 AC_TRY_RUN([
91#include <gtk/gtk.h>
92#include <gtk/gtkgl.h>
93#include <stdio.h>
94#include <stdlib.h>
95
96int
97main ()
98{
99 int major, minor, micro;
100 char *tmp_version;
101
102 system ("touch conf.gtkgltest");
103
104 /* HP/UX 9 (%@#!) writes to sscanf strings */
105 tmp_version = g_strdup ("$gtkglext_min_version");
106 if (sscanf (tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3)
107 {
108 printf ("%s, bad version string\n", "$gtkglext_min_version");
109 exit (1);
110 }
111
112 if ((gtkglext_major_version != $gtkglext_config_major_version) ||
113 (gtkglext_minor_version != $gtkglext_config_minor_version) ||
114 (gtkglext_micro_version != $gtkglext_config_micro_version))
115 {
116 printf ("\n*** 'pkg-config --modversion $gtkglext_module' returned %d.%d.%d, but GtkGLExt\n",
117 $gtkglext_config_major_version, $gtkglext_config_minor_version, $gtkglext_config_micro_version);
118 printf ("*** library %d.%d.%d was found!\n",
119 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
120 printf ("***\n");
121 printf ("*** If pkg-config was correct, then it is best to remove the old version\n");
122 printf ("*** of GtkGLExt. You may also be able to fix the error by modifying your\n");
123 printf ("*** LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf.\n");
124 printf ("*** Make sure you have run ldconfig if that is required on your system.\n");
125 printf ("***\n");
126 printf ("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
127 printf ("*** to point to the correct configuration files.\n");
128 }
129 else if ((gtkglext_major_version != GTKGLEXT_MAJOR_VERSION) ||
130 (gtkglext_minor_version != GTKGLEXT_MINOR_VERSION) ||
131 (gtkglext_micro_version != GTKGLEXT_MICRO_VERSION))
132 {
133 printf ("\n*** GtkGLExt header files (version %d.%d.%d) do not match library (version %d.%d.%d).\n",
134 GTKGLEXT_MAJOR_VERSION, GTKGLEXT_MINOR_VERSION, GTKGLEXT_MICRO_VERSION,
135 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
136 }
137 else
138 {
139 if ((gtkglext_major_version > major) ||
140 ((gtkglext_major_version == major) && (gtkglext_minor_version > minor)) ||
141 ((gtkglext_major_version == major) && (gtkglext_minor_version == minor) && (gtkglext_micro_version >= micro)))
142 {
143 return 0;
144 }
145 else
146 {
147 printf ("\n*** An old version of GtkGLExt library (%d.%d.%d) was found.\n",
148 gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version);
149 printf ("*** You need a version of GtkGLExt newer than %d.%d.%d. The latest version of\n",
150 major, minor, micro);
151 printf ("*** GtkGLExt is always available from http://gtkglext.sourceforge.net/.\n");
152 printf ("***\n");
153 printf ("*** If you have already installed a sufficiently new version, this error\n");
154 printf ("*** probably means that the wrong copy of the pkg-config shell script is\n");
155 printf ("*** being found. The easiest way to fix this is to remove the old version\n");
156 printf ("*** of GtkGLExt, but you can also set the PKG_CONFIG environment to point\n");
157 printf ("*** to the correct copy of pkg-config. (In this case, you will have to\n");
158 printf ("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
159 printf ("*** so that the correct libraries are found at run-time)\n");
160 }
161 }
162 return 1;
163}
164],, no_gtkglext=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
165 CFLAGS="$ac_save_CFLAGS"
166 LIBS="$ac_save_LIBS"
167 fi
168 fi
169 if test "x$no_gtkglext" = x ; then
170 AC_MSG_RESULT(yes (version $gtkglext_config_major_version.$gtkglext_config_minor_version.$gtkglext_config_micro_version))
171 ifelse([$2], , :, [$2])
172 else
173 AC_MSG_RESULT(no)
174 if test "$PKG_CONFIG" = "no" ; then
175 echo "*** A new enough version of pkg-config was not found."
176 echo "*** See http://www.freedesktop.org/software/pkgconfig/."
177 elif test "x$enable_gtkglext_test" = "xyes" ; then
178 if test -f conf.gtkgltest ; then
179 :
180 else
181 echo "*** Could not run GtkGLExt test program, checking why..."
182 ac_save_CFLAGS="$CFLAGS"
183 ac_save_LIBS="$LIBS"
184 CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS"
185 LIBS="$LIBS $GTKGLEXT_LIBS"
186 AC_TRY_LINK([
187#include <gtk/gtk.h>
188#include <gtk/gtkgl.h>
189#include <stdio.h>
190], [ return ((gtkglext_major_version) || (gtkglext_minor_version) || (gtkglext_micro_version)); ],
191 [ echo "*** The test program compiled, but did not run. This usually means"
192 echo "*** that the run-time linker is not finding GtkGLExt or finding the wrong"
193 echo "*** version of GtkGLExt. If it is not finding GtkGLExt, you'll need to set your"
194 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
195 echo "*** to the installed location Also, make sure you have run ldconfig if that"
196 echo "*** is required on your system"
197 echo "***"
198 echo "*** If you have an old version installed, it is best to remove it, although"
199 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
200 [ echo "*** The test program failed to compile or link. See the file config.log for the"
201 echo "*** exact error that occured. This usually means GtkGLExt is incorrectly installed."])
202 CFLAGS="$ac_save_CFLAGS"
203 LIBS="$ac_save_LIBS"
204 fi
205 fi
206 GTKGLEXT_CFLAGS=""
207 GTKGLEXT_LIBS=""
208 ifelse([$3], , :, [$3])
209 fi
210 AC_SUBST(GTKGLEXT_CFLAGS)
211 AC_SUBST(GTKGLEXT_LIBS)
212 rm -f conf.gtkgltest
213])
214
215dnl AC_GTKGLEXT_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]])
216dnl Checks whether GtkGLExt supports multihead.
217dnl
218AC_DEFUN([AC_GTKGLEXT_SUPPORTS_MULTIHEAD],
219[ AC_CACHE_CHECK([whether GtkGLExt supports multihead],
220 [ac_cv_gtkglext_supports_multihead],
221 [AC_TRY_LINK([#include <gdk/gdkglquery.h>],
222 [gdk_gl_query_extension_for_display(gdk_display_get_default());],
223 [ac_cv_gtkglext_supports_multihead=yes],
224 [ac_cv_gtkglext_supports_multihead=no])])
225 if test "x$ac_cv_gtkglext_supports_multihead" = "xyes" ; then
226 ifelse([$1], , :, [$1])
227 else
228 ifelse([$2], , :, [$2])
229 fi
230])
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile
new file mode 100644
index 0000000..f28f0ce
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile
@@ -0,0 +1,343 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# man/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151man1dir = ${prefix}/share/man/man1
152man1_MANS = g3dviewer.1
153EXTRA_DIST = $(man1_MANS)
154subdir = man
155ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
156mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
157CONFIG_HEADER = $(top_builddir)/config.h
158CONFIG_CLEAN_FILES =
159DIST_SOURCES =
160
161NROFF = nroff
162MANS = $(man1_MANS)
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
164all: all-am
165
166.SUFFIXES:
167$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && \
169 $(AUTOMAKE) --gnu man/Makefile
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173install-man1: $(man1_MANS) $(man_MANS)
174 @$(NORMAL_INSTALL)
175 $(mkinstalldirs) $(DESTDIR)$(man1dir)
176 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
177 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
178 for i in $$l2; do \
179 case "$$i" in \
180 *.1*) list="$$list $$i" ;; \
181 esac; \
182 done; \
183 for i in $$list; do \
184 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
185 else file=$$i; fi; \
186 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
187 case "$$ext" in \
188 1*) ;; \
189 *) ext='1' ;; \
190 esac; \
191 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
192 inst=`echo $$inst | sed -e 's/^.*\///'`; \
193 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
194 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
195 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
196 done
197uninstall-man1:
198 @$(NORMAL_UNINSTALL)
199 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
200 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
201 for i in $$l2; do \
202 case "$$i" in \
203 *.1*) list="$$list $$i" ;; \
204 esac; \
205 done; \
206 for i in $$list; do \
207 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
208 case "$$ext" in \
209 1*) ;; \
210 *) ext='1' ;; \
211 esac; \
212 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
213 inst=`echo $$inst | sed -e 's/^.*\///'`; \
214 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
215 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
216 rm -f $(DESTDIR)$(man1dir)/$$inst; \
217 done
218tags: TAGS
219TAGS:
220
221ctags: CTAGS
222CTAGS:
223
224DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
225
226top_distdir = ..
227distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
228
229distdir: $(DISTFILES)
230 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
231 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
232 list='$(DISTFILES)'; for file in $$list; do \
233 case $$file in \
234 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
235 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
236 esac; \
237 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
238 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
239 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
240 dir="/$$dir"; \
241 $(mkinstalldirs) "$(distdir)$$dir"; \
242 else \
243 dir=''; \
244 fi; \
245 if test -d $$d/$$file; then \
246 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
247 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
248 fi; \
249 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
250 else \
251 test -f $(distdir)/$$file \
252 || cp -p $$d/$$file $(distdir)/$$file \
253 || exit 1; \
254 fi; \
255 done
256check-am: all-am
257check: check-am
258all-am: Makefile $(MANS)
259
260installdirs:
261 $(mkinstalldirs) $(DESTDIR)$(man1dir)
262install: install-am
263install-exec: install-exec-am
264install-data: install-data-am
265uninstall: uninstall-am
266
267install-am: all-am
268 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
269
270installcheck: installcheck-am
271install-strip:
272 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
273 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
274 `test -z '$(STRIP)' || \
275 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
276mostlyclean-generic:
277
278clean-generic:
279
280distclean-generic:
281 -rm -f $(CONFIG_CLEAN_FILES)
282
283maintainer-clean-generic:
284 @echo "This command is intended for maintainers to use"
285 @echo "it deletes files that may require special tools to rebuild."
286clean: clean-am
287
288clean-am: clean-generic mostlyclean-am
289
290distclean: distclean-am
291 -rm -f Makefile
292distclean-am: clean-am distclean-generic
293
294dvi: dvi-am
295
296dvi-am:
297
298info: info-am
299
300info-am:
301
302install-data-am: install-man
303
304install-exec-am:
305
306install-info: install-info-am
307
308install-man: install-man1
309
310installcheck-am:
311
312maintainer-clean: maintainer-clean-am
313 -rm -f Makefile
314maintainer-clean-am: distclean-am maintainer-clean-generic
315
316mostlyclean: mostlyclean-am
317
318mostlyclean-am: mostlyclean-generic
319
320pdf: pdf-am
321
322pdf-am:
323
324ps: ps-am
325
326ps-am:
327
328uninstall-am: uninstall-info-am uninstall-man
329
330uninstall-man: uninstall-man1
331
332.PHONY: all all-am check check-am clean clean-generic distclean \
333 distclean-generic distdir dvi dvi-am info info-am install \
334 install-am install-data install-data-am install-exec \
335 install-exec-am install-info install-info-am install-man \
336 install-man1 install-strip installcheck installcheck-am \
337 installdirs maintainer-clean maintainer-clean-generic \
338 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
339 uninstall-am uninstall-info-am uninstall-man uninstall-man1
340
341# Tell versions [3.59,3.63) of GNU make to not export all variables.
342# Otherwise a system limit (for SysV at least) may be exceeded.
343.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.am
new file mode 100644
index 0000000..2e16a0e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.am
@@ -0,0 +1,3 @@
1man1dir = ${prefix}/share/man/man1
2man1_MANS = g3dviewer.1
3EXTRA_DIST = $(man1_MANS)
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.in
new file mode 100644
index 0000000..7c02c3d
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/man/Makefile.in
@@ -0,0 +1,343 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151man1dir = ${prefix}/share/man/man1
152man1_MANS = g3dviewer.1
153EXTRA_DIST = $(man1_MANS)
154subdir = man
155ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
156mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
157CONFIG_HEADER = $(top_builddir)/config.h
158CONFIG_CLEAN_FILES =
159DIST_SOURCES =
160
161NROFF = nroff
162MANS = $(man1_MANS)
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
164all: all-am
165
166.SUFFIXES:
167$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && \
169 $(AUTOMAKE) --gnu man/Makefile
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173install-man1: $(man1_MANS) $(man_MANS)
174 @$(NORMAL_INSTALL)
175 $(mkinstalldirs) $(DESTDIR)$(man1dir)
176 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
177 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
178 for i in $$l2; do \
179 case "$$i" in \
180 *.1*) list="$$list $$i" ;; \
181 esac; \
182 done; \
183 for i in $$list; do \
184 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
185 else file=$$i; fi; \
186 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
187 case "$$ext" in \
188 1*) ;; \
189 *) ext='1' ;; \
190 esac; \
191 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
192 inst=`echo $$inst | sed -e 's/^.*\///'`; \
193 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
194 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
195 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
196 done
197uninstall-man1:
198 @$(NORMAL_UNINSTALL)
199 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
200 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
201 for i in $$l2; do \
202 case "$$i" in \
203 *.1*) list="$$list $$i" ;; \
204 esac; \
205 done; \
206 for i in $$list; do \
207 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
208 case "$$ext" in \
209 1*) ;; \
210 *) ext='1' ;; \
211 esac; \
212 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
213 inst=`echo $$inst | sed -e 's/^.*\///'`; \
214 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
215 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
216 rm -f $(DESTDIR)$(man1dir)/$$inst; \
217 done
218tags: TAGS
219TAGS:
220
221ctags: CTAGS
222CTAGS:
223
224DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
225
226top_distdir = ..
227distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
228
229distdir: $(DISTFILES)
230 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
231 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
232 list='$(DISTFILES)'; for file in $$list; do \
233 case $$file in \
234 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
235 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
236 esac; \
237 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
238 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
239 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
240 dir="/$$dir"; \
241 $(mkinstalldirs) "$(distdir)$$dir"; \
242 else \
243 dir=''; \
244 fi; \
245 if test -d $$d/$$file; then \
246 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
247 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
248 fi; \
249 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
250 else \
251 test -f $(distdir)/$$file \
252 || cp -p $$d/$$file $(distdir)/$$file \
253 || exit 1; \
254 fi; \
255 done
256check-am: all-am
257check: check-am
258all-am: Makefile $(MANS)
259
260installdirs:
261 $(mkinstalldirs) $(DESTDIR)$(man1dir)
262install: install-am
263install-exec: install-exec-am
264install-data: install-data-am
265uninstall: uninstall-am
266
267install-am: all-am
268 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
269
270installcheck: installcheck-am
271install-strip:
272 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
273 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
274 `test -z '$(STRIP)' || \
275 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
276mostlyclean-generic:
277
278clean-generic:
279
280distclean-generic:
281 -rm -f $(CONFIG_CLEAN_FILES)
282
283maintainer-clean-generic:
284 @echo "This command is intended for maintainers to use"
285 @echo "it deletes files that may require special tools to rebuild."
286clean: clean-am
287
288clean-am: clean-generic mostlyclean-am
289
290distclean: distclean-am
291 -rm -f Makefile
292distclean-am: clean-am distclean-generic
293
294dvi: dvi-am
295
296dvi-am:
297
298info: info-am
299
300info-am:
301
302install-data-am: install-man
303
304install-exec-am:
305
306install-info: install-info-am
307
308install-man: install-man1
309
310installcheck-am:
311
312maintainer-clean: maintainer-clean-am
313 -rm -f Makefile
314maintainer-clean-am: distclean-am maintainer-clean-generic
315
316mostlyclean: mostlyclean-am
317
318mostlyclean-am: mostlyclean-generic
319
320pdf: pdf-am
321
322pdf-am:
323
324ps: ps-am
325
326ps-am:
327
328uninstall-am: uninstall-info-am uninstall-man
329
330uninstall-man: uninstall-man1
331
332.PHONY: all all-am check check-am clean clean-generic distclean \
333 distclean-generic distdir dvi dvi-am info info-am install \
334 install-am install-data install-data-am install-exec \
335 install-exec-am install-info install-info-am install-man \
336 install-man1 install-strip installcheck installcheck-am \
337 installdirs maintainer-clean maintainer-clean-generic \
338 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
339 uninstall-am uninstall-info-am uninstall-man uninstall-man1
340
341# Tell versions [3.59,3.63) of GNU make to not export all variables.
342# Otherwise a system limit (for SysV at least) may be exceeded.
343.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/man/g3dviewer.1 b/src/others/mimesh/g3dviewer-0.2.99.4/man/g3dviewer.1
new file mode 100644
index 0000000..dfc9488
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/man/g3dviewer.1
@@ -0,0 +1,68 @@
1.\" vim:set ft=nroff:
2.TH G3DVIEWER 1 "july 22nd 2005"
3.SH NAME
4g3dviewer \- a program to display and inspect 3D models
5.SH SYNOPIS
6.B g3dviewer\fP\fI [options] [<filename>]\fP
7.SH DESCRIPTION
8After loading a valid model it should appear on the screen.
9
10Use the \fBleft mouse button\fP to rotate the model.
11
12To zoom the model use the \fBscroll wheel\fP or hold the
13\fBmiddle mouse button\fP and move the mouse up or down.
14
15The \fBright mouse button\fP opens a context menu where you can open the
16model information dialog, set some options or change the background color.
17.SH OPTIONS
18.TP
19.B \-\-help
20Show summary of options
21.SH """UNDOCUMENTED""" OPTIONS
22There are also some options which are just for development.
23.TP
24.B \-\-parse\-only
25Just parse the model and exit.
26.SH SUPPORTED FILE TYPES
27.TP
28.B .3mf, 3dmf
293D Metafiles.
30.TP
31.B .3ds, .prj
323D Studio objects.
33.TP
34.B .b3d
35unknown, but 3D Metafile format.
36.TP
37.B .cob
38Caligary TrueSpace objects.
39.TP
40.B .dxf
41AutoCAD models.
42.TP
43.B .iob
44Impulse Turbo Silver / Imagine objects.
45.TP
46.B .lw, .lwo, .lwb
47LightWave objects.
48.TP
49.B .md2
50Quake 2 models.
51.TP
52.B .nff
53Neutral File Format objects.
54.TP
55.B .obj
56Wavefront objects.
57.TP
58.B .q3o, .q3s
59Quick3D objects and scenes.
60.TP
61.B .wrl
62VRML worlds.
63.SH BUGS
64Most import plugins are incomplete. The goal is not to crash on broken
65input but it is not always reached.
66.SH AUTHOR
67g3dviewer was written by Markus Dahms <mad@automagically.de>
68
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/missing b/src/others/mimesh/g3dviewer-0.2.99.4/missing
new file mode 100755
index 0000000..fc54c64
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/missing
@@ -0,0 +1,336 @@
1#! /bin/sh
2# Common stub for a few missing GNU programs while installing.
3# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
4# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
5
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2, or (at your option)
9# any later version.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19# 02111-1307, USA.
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
26if test $# -eq 0; then
27 echo 1>&2 "Try \`$0 --help' for more information"
28 exit 1
29fi
30
31run=:
32
33# In the cases where this matters, `missing' is being run in the
34# srcdir already.
35if test -f configure.ac; then
36 configure_ac=configure.ac
37else
38 configure_ac=configure.in
39fi
40
41case "$1" in
42--run)
43 # Try to run requested program, and just exit if it succeeds.
44 run=
45 shift
46 "$@" && exit 0
47 ;;
48esac
49
50# If it does not exist, or fails to run (possibly an outdated version),
51# try to emulate it.
52case "$1" in
53
54 -h|--h|--he|--hel|--help)
55 echo "\
56$0 [OPTION]... PROGRAM [ARGUMENT]...
57
58Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
59error status if there is no known handling for PROGRAM.
60
61Options:
62 -h, --help display this help and exit
63 -v, --version output version information and exit
64 --run try to run the given command, and emulate it if it fails
65
66Supported PROGRAM values:
67 aclocal touch file \`aclocal.m4'
68 autoconf touch file \`configure'
69 autoheader touch file \`config.h.in'
70 automake touch all \`Makefile.in' files
71 bison create \`y.tab.[ch]', if possible, from existing .[ch]
72 flex create \`lex.yy.c', if possible, from existing .c
73 help2man touch the output file
74 lex create \`lex.yy.c', if possible, from existing .c
75 makeinfo touch the output file
76 tar try tar, gnutar, gtar, then tar without non-portable flags
77 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
78 ;;
79
80 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
81 echo "missing 0.4 - GNU automake"
82 ;;
83
84 -*)
85 echo 1>&2 "$0: Unknown \`$1' option"
86 echo 1>&2 "Try \`$0 --help' for more information"
87 exit 1
88 ;;
89
90 aclocal*)
91 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
92 # We have it, but it failed.
93 exit 1
94 fi
95
96 echo 1>&2 "\
97WARNING: \`$1' is missing on your system. You should only need it if
98 you modified \`acinclude.m4' or \`${configure_ac}'. You might want
99 to install the \`Automake' and \`Perl' packages. Grab them from
100 any GNU archive site."
101 touch aclocal.m4
102 ;;
103
104 autoconf)
105 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
106 # We have it, but it failed.
107 exit 1
108 fi
109
110 echo 1>&2 "\
111WARNING: \`$1' is missing on your system. You should only need it if
112 you modified \`${configure_ac}'. You might want to install the
113 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
114 archive site."
115 touch configure
116 ;;
117
118 autoheader)
119 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
120 # We have it, but it failed.
121 exit 1
122 fi
123
124 echo 1>&2 "\
125WARNING: \`$1' is missing on your system. You should only need it if
126 you modified \`acconfig.h' or \`${configure_ac}'. You might want
127 to install the \`Autoconf' and \`GNU m4' packages. Grab them
128 from any GNU archive site."
129 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
130 test -z "$files" && files="config.h"
131 touch_files=
132 for f in $files; do
133 case "$f" in
134 *:*) touch_files="$touch_files "`echo "$f" |
135 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
136 *) touch_files="$touch_files $f.in";;
137 esac
138 done
139 touch $touch_files
140 ;;
141
142 automake*)
143 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
144 # We have it, but it failed.
145 exit 1
146 fi
147
148 echo 1>&2 "\
149WARNING: \`$1' is missing on your system. You should only need it if
150 you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
151 You might want to install the \`Automake' and \`Perl' packages.
152 Grab them from any GNU archive site."
153 find . -type f -name Makefile.am -print |
154 sed 's/\.am$/.in/' |
155 while read f; do touch "$f"; done
156 ;;
157
158 autom4te)
159 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
160 # We have it, but it failed.
161 exit 1
162 fi
163
164 echo 1>&2 "\
165WARNING: \`$1' is needed, and you do not seem to have it handy on your
166 system. You might have modified some files without having the
167 proper tools for further handling them.
168 You can get \`$1' as part of \`Autoconf' from any GNU
169 archive site."
170
171 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
172 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
173 if test -f "$file"; then
174 touch $file
175 else
176 test -z "$file" || exec >$file
177 echo "#! /bin/sh"
178 echo "# Created by GNU Automake missing as a replacement of"
179 echo "# $ $@"
180 echo "exit 0"
181 chmod +x $file
182 exit 1
183 fi
184 ;;
185
186 bison|yacc)
187 echo 1>&2 "\
188WARNING: \`$1' is missing on your system. You should only need it if
189 you modified a \`.y' file. You may need the \`Bison' package
190 in order for those modifications to take effect. You can get
191 \`Bison' from any GNU archive site."
192 rm -f y.tab.c y.tab.h
193 if [ $# -ne 1 ]; then
194 eval LASTARG="\${$#}"
195 case "$LASTARG" in
196 *.y)
197 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
198 if [ -f "$SRCFILE" ]; then
199 cp "$SRCFILE" y.tab.c
200 fi
201 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
202 if [ -f "$SRCFILE" ]; then
203 cp "$SRCFILE" y.tab.h
204 fi
205 ;;
206 esac
207 fi
208 if [ ! -f y.tab.h ]; then
209 echo >y.tab.h
210 fi
211 if [ ! -f y.tab.c ]; then
212 echo 'main() { return 0; }' >y.tab.c
213 fi
214 ;;
215
216 lex|flex)
217 echo 1>&2 "\
218WARNING: \`$1' is missing on your system. You should only need it if
219 you modified a \`.l' file. You may need the \`Flex' package
220 in order for those modifications to take effect. You can get
221 \`Flex' from any GNU archive site."
222 rm -f lex.yy.c
223 if [ $# -ne 1 ]; then
224 eval LASTARG="\${$#}"
225 case "$LASTARG" in
226 *.l)
227 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
228 if [ -f "$SRCFILE" ]; then
229 cp "$SRCFILE" lex.yy.c
230 fi
231 ;;
232 esac
233 fi
234 if [ ! -f lex.yy.c ]; then
235 echo 'main() { return 0; }' >lex.yy.c
236 fi
237 ;;
238
239 help2man)
240 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
241 # We have it, but it failed.
242 exit 1
243 fi
244
245 echo 1>&2 "\
246WARNING: \`$1' is missing on your system. You should only need it if
247 you modified a dependency of a manual page. You may need the
248 \`Help2man' package in order for those modifications to take
249 effect. You can get \`Help2man' from any GNU archive site."
250
251 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
252 if test -z "$file"; then
253 file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
254 fi
255 if [ -f "$file" ]; then
256 touch $file
257 else
258 test -z "$file" || exec >$file
259 echo ".ab help2man is required to generate this page"
260 exit 1
261 fi
262 ;;
263
264 makeinfo)
265 if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
266 # We have makeinfo, but it failed.
267 exit 1
268 fi
269
270 echo 1>&2 "\
271WARNING: \`$1' is missing on your system. You should only need it if
272 you modified a \`.texi' or \`.texinfo' file, or any other file
273 indirectly affecting the aspect of the manual. The spurious
274 call might also be the consequence of using a buggy \`make' (AIX,
275 DU, IRIX). You might want to install the \`Texinfo' package or
276 the \`GNU make' package. Grab either from any GNU archive site."
277 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
278 if test -z "$file"; then
279 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
280 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
281 fi
282 touch $file
283 ;;
284
285 tar)
286 shift
287 if test -n "$run"; then
288 echo 1>&2 "ERROR: \`tar' requires --run"
289 exit 1
290 fi
291
292 # We have already tried tar in the generic part.
293 # Look for gnutar/gtar before invocation to avoid ugly error
294 # messages.
295 if (gnutar --version > /dev/null 2>&1); then
296 gnutar "$@" && exit 0
297 fi
298 if (gtar --version > /dev/null 2>&1); then
299 gtar "$@" && exit 0
300 fi
301 firstarg="$1"
302 if shift; then
303 case "$firstarg" in
304 *o*)
305 firstarg=`echo "$firstarg" | sed s/o//`
306 tar "$firstarg" "$@" && exit 0
307 ;;
308 esac
309 case "$firstarg" in
310 *h*)
311 firstarg=`echo "$firstarg" | sed s/h//`
312 tar "$firstarg" "$@" && exit 0
313 ;;
314 esac
315 fi
316
317 echo 1>&2 "\
318WARNING: I can't seem to be able to run \`tar' with the given arguments.
319 You may want to install GNU tar or Free paxutils, or check the
320 command line arguments."
321 exit 1
322 ;;
323
324 *)
325 echo 1>&2 "\
326WARNING: \`$1' is needed, and you do not seem to have it handy on your
327 system. You might have modified some files without having the
328 proper tools for further handling them. Check the \`README' file,
329 it often tells you about the needed prerequisites for installing
330 this package. You may also peek at any GNU archive site, in case
331 some other package would contain this missing \`$1' program."
332 exit 1
333 ;;
334esac
335
336exit 0
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/mkinstalldirs b/src/others/mimesh/g3dviewer-0.2.99.4/mkinstalldirs
new file mode 100755
index 0000000..d2d5f21
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/mkinstalldirs
@@ -0,0 +1,111 @@
1#! /bin/sh
2# mkinstalldirs --- make directory hierarchy
3# Author: Noah Friedman <friedman@prep.ai.mit.edu>
4# Created: 1993-05-16
5# Public domain
6
7errstatus=0
8dirmode=""
9
10usage="\
11Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
12
13# process command line arguments
14while test $# -gt 0 ; do
15 case $1 in
16 -h | --help | --h*) # -h for help
17 echo "$usage" 1>&2
18 exit 0
19 ;;
20 -m) # -m PERM arg
21 shift
22 test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
23 dirmode=$1
24 shift
25 ;;
26 --) # stop option processing
27 shift
28 break
29 ;;
30 -*) # unknown option
31 echo "$usage" 1>&2
32 exit 1
33 ;;
34 *) # first non-opt arg
35 break
36 ;;
37 esac
38done
39
40for file
41do
42 if test -d "$file"; then
43 shift
44 else
45 break
46 fi
47done
48
49case $# in
50 0) exit 0 ;;
51esac
52
53case $dirmode in
54 '')
55 if mkdir -p -- . 2>/dev/null; then
56 echo "mkdir -p -- $*"
57 exec mkdir -p -- "$@"
58 fi
59 ;;
60 *)
61 if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
62 echo "mkdir -m $dirmode -p -- $*"
63 exec mkdir -m "$dirmode" -p -- "$@"
64 fi
65 ;;
66esac
67
68for file
69do
70 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
71 shift
72
73 pathcomp=
74 for d
75 do
76 pathcomp="$pathcomp$d"
77 case $pathcomp in
78 -*) pathcomp=./$pathcomp ;;
79 esac
80
81 if test ! -d "$pathcomp"; then
82 echo "mkdir $pathcomp"
83
84 mkdir "$pathcomp" || lasterr=$?
85
86 if test ! -d "$pathcomp"; then
87 errstatus=$lasterr
88 else
89 if test ! -z "$dirmode"; then
90 echo "chmod $dirmode $pathcomp"
91 lasterr=""
92 chmod "$dirmode" "$pathcomp" || lasterr=$?
93
94 if test ! -z "$lasterr"; then
95 errstatus=$lasterr
96 fi
97 fi
98 fi
99 fi
100
101 pathcomp="$pathcomp/"
102 done
103done
104
105exit $errstatus
106
107# Local Variables:
108# mode: shell-script
109# sh-indentation: 2
110# End:
111# mkinstalldirs ends here
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile
new file mode 100644
index 0000000..bd8b7e1
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile
@@ -0,0 +1,348 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# pixmaps/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151PKGICONS = \
152 icon16_plugins.xpm \
153 icon16_model.xpm \
154 icon16_material.xpm \
155 icon16_texture.xpm \
156 icon16_property.png \
157 icon16_object.png
158
159
160ICONS =
161
162pkgpixmapdir = $(pkgdatadir)/pixmaps
163pixmapdir = $(datadir)/pixmaps
164
165pkgpixmap_DATA = ${PKGICONS}
166pixmap_DATA = ${ICONS}
167
168EXTRA_DIST = ${ICONS} ${PKGICONS}
169subdir = pixmaps
170ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
171mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
172CONFIG_HEADER = $(top_builddir)/config.h
173CONFIG_CLEAN_FILES =
174DIST_SOURCES =
175DATA = $(pixmap_DATA) $(pkgpixmap_DATA)
176
177DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
178all: all-am
179
180.SUFFIXES:
181$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
182 cd $(top_srcdir) && \
183 $(AUTOMAKE) --gnu pixmaps/Makefile
184Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
185 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
186uninstall-info-am:
187pixmapDATA_INSTALL = $(INSTALL_DATA)
188install-pixmapDATA: $(pixmap_DATA)
189 @$(NORMAL_INSTALL)
190 $(mkinstalldirs) $(DESTDIR)$(pixmapdir)
191 @list='$(pixmap_DATA)'; for p in $$list; do \
192 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
193 f="`echo $$p | sed -e 's|^.*/||'`"; \
194 echo " $(pixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pixmapdir)/$$f"; \
195 $(pixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pixmapdir)/$$f; \
196 done
197
198uninstall-pixmapDATA:
199 @$(NORMAL_UNINSTALL)
200 @list='$(pixmap_DATA)'; for p in $$list; do \
201 f="`echo $$p | sed -e 's|^.*/||'`"; \
202 echo " rm -f $(DESTDIR)$(pixmapdir)/$$f"; \
203 rm -f $(DESTDIR)$(pixmapdir)/$$f; \
204 done
205pkgpixmapDATA_INSTALL = $(INSTALL_DATA)
206install-pkgpixmapDATA: $(pkgpixmap_DATA)
207 @$(NORMAL_INSTALL)
208 $(mkinstalldirs) $(DESTDIR)$(pkgpixmapdir)
209 @list='$(pkgpixmap_DATA)'; for p in $$list; do \
210 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
211 f="`echo $$p | sed -e 's|^.*/||'`"; \
212 echo " $(pkgpixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgpixmapdir)/$$f"; \
213 $(pkgpixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgpixmapdir)/$$f; \
214 done
215
216uninstall-pkgpixmapDATA:
217 @$(NORMAL_UNINSTALL)
218 @list='$(pkgpixmap_DATA)'; for p in $$list; do \
219 f="`echo $$p | sed -e 's|^.*/||'`"; \
220 echo " rm -f $(DESTDIR)$(pkgpixmapdir)/$$f"; \
221 rm -f $(DESTDIR)$(pkgpixmapdir)/$$f; \
222 done
223tags: TAGS
224TAGS:
225
226ctags: CTAGS
227CTAGS:
228
229DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
230
231top_distdir = ..
232distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
233
234distdir: $(DISTFILES)
235 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
236 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
237 list='$(DISTFILES)'; for file in $$list; do \
238 case $$file in \
239 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
240 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
241 esac; \
242 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
243 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
244 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
245 dir="/$$dir"; \
246 $(mkinstalldirs) "$(distdir)$$dir"; \
247 else \
248 dir=''; \
249 fi; \
250 if test -d $$d/$$file; then \
251 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
252 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
253 fi; \
254 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
255 else \
256 test -f $(distdir)/$$file \
257 || cp -p $$d/$$file $(distdir)/$$file \
258 || exit 1; \
259 fi; \
260 done
261check-am: all-am
262check: check-am
263all-am: Makefile $(DATA)
264
265installdirs:
266 $(mkinstalldirs) $(DESTDIR)$(pixmapdir) $(DESTDIR)$(pkgpixmapdir)
267install: install-am
268install-exec: install-exec-am
269install-data: install-data-am
270uninstall: uninstall-am
271
272install-am: all-am
273 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
274
275installcheck: installcheck-am
276install-strip:
277 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
278 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
279 `test -z '$(STRIP)' || \
280 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
281mostlyclean-generic:
282
283clean-generic:
284
285distclean-generic:
286 -rm -f $(CONFIG_CLEAN_FILES)
287
288maintainer-clean-generic:
289 @echo "This command is intended for maintainers to use"
290 @echo "it deletes files that may require special tools to rebuild."
291clean: clean-am
292
293clean-am: clean-generic mostlyclean-am
294
295distclean: distclean-am
296 -rm -f Makefile
297distclean-am: clean-am distclean-generic
298
299dvi: dvi-am
300
301dvi-am:
302
303info: info-am
304
305info-am:
306
307install-data-am: install-pixmapDATA install-pkgpixmapDATA
308
309install-exec-am:
310
311install-info: install-info-am
312
313install-man:
314
315installcheck-am:
316
317maintainer-clean: maintainer-clean-am
318 -rm -f Makefile
319maintainer-clean-am: distclean-am maintainer-clean-generic
320
321mostlyclean: mostlyclean-am
322
323mostlyclean-am: mostlyclean-generic
324
325pdf: pdf-am
326
327pdf-am:
328
329ps: ps-am
330
331ps-am:
332
333uninstall-am: uninstall-info-am uninstall-pixmapDATA \
334 uninstall-pkgpixmapDATA
335
336.PHONY: all all-am check check-am clean clean-generic distclean \
337 distclean-generic distdir dvi dvi-am info info-am install \
338 install-am install-data install-data-am install-exec \
339 install-exec-am install-info install-info-am install-man \
340 install-pixmapDATA install-pkgpixmapDATA install-strip \
341 installcheck installcheck-am installdirs maintainer-clean \
342 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
343 pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
344 uninstall-pixmapDATA uninstall-pkgpixmapDATA
345
346# Tell versions [3.59,3.63) of GNU make to not export all variables.
347# Otherwise a system limit (for SysV at least) may be exceeded.
348.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.am
new file mode 100644
index 0000000..a9c9a1d
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.am
@@ -0,0 +1,17 @@
1PKGICONS = \
2 icon16_plugins.xpm \
3 icon16_model.xpm \
4 icon16_material.xpm \
5 icon16_texture.xpm \
6 icon16_property.png \
7 icon16_object.png
8
9ICONS =
10
11pkgpixmapdir = $(pkgdatadir)/pixmaps
12pixmapdir = $(datadir)/pixmaps
13
14pkgpixmap_DATA = ${PKGICONS}
15pixmap_DATA = ${ICONS}
16
17EXTRA_DIST = ${ICONS} ${PKGICONS}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.in
new file mode 100644
index 0000000..aa17802
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/Makefile.in
@@ -0,0 +1,348 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151PKGICONS = \
152 icon16_plugins.xpm \
153 icon16_model.xpm \
154 icon16_material.xpm \
155 icon16_texture.xpm \
156 icon16_property.png \
157 icon16_object.png
158
159
160ICONS =
161
162pkgpixmapdir = $(pkgdatadir)/pixmaps
163pixmapdir = $(datadir)/pixmaps
164
165pkgpixmap_DATA = ${PKGICONS}
166pixmap_DATA = ${ICONS}
167
168EXTRA_DIST = ${ICONS} ${PKGICONS}
169subdir = pixmaps
170ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
171mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
172CONFIG_HEADER = $(top_builddir)/config.h
173CONFIG_CLEAN_FILES =
174DIST_SOURCES =
175DATA = $(pixmap_DATA) $(pkgpixmap_DATA)
176
177DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
178all: all-am
179
180.SUFFIXES:
181$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
182 cd $(top_srcdir) && \
183 $(AUTOMAKE) --gnu pixmaps/Makefile
184Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
185 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
186uninstall-info-am:
187pixmapDATA_INSTALL = $(INSTALL_DATA)
188install-pixmapDATA: $(pixmap_DATA)
189 @$(NORMAL_INSTALL)
190 $(mkinstalldirs) $(DESTDIR)$(pixmapdir)
191 @list='$(pixmap_DATA)'; for p in $$list; do \
192 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
193 f="`echo $$p | sed -e 's|^.*/||'`"; \
194 echo " $(pixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pixmapdir)/$$f"; \
195 $(pixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pixmapdir)/$$f; \
196 done
197
198uninstall-pixmapDATA:
199 @$(NORMAL_UNINSTALL)
200 @list='$(pixmap_DATA)'; for p in $$list; do \
201 f="`echo $$p | sed -e 's|^.*/||'`"; \
202 echo " rm -f $(DESTDIR)$(pixmapdir)/$$f"; \
203 rm -f $(DESTDIR)$(pixmapdir)/$$f; \
204 done
205pkgpixmapDATA_INSTALL = $(INSTALL_DATA)
206install-pkgpixmapDATA: $(pkgpixmap_DATA)
207 @$(NORMAL_INSTALL)
208 $(mkinstalldirs) $(DESTDIR)$(pkgpixmapdir)
209 @list='$(pkgpixmap_DATA)'; for p in $$list; do \
210 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
211 f="`echo $$p | sed -e 's|^.*/||'`"; \
212 echo " $(pkgpixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgpixmapdir)/$$f"; \
213 $(pkgpixmapDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgpixmapdir)/$$f; \
214 done
215
216uninstall-pkgpixmapDATA:
217 @$(NORMAL_UNINSTALL)
218 @list='$(pkgpixmap_DATA)'; for p in $$list; do \
219 f="`echo $$p | sed -e 's|^.*/||'`"; \
220 echo " rm -f $(DESTDIR)$(pkgpixmapdir)/$$f"; \
221 rm -f $(DESTDIR)$(pkgpixmapdir)/$$f; \
222 done
223tags: TAGS
224TAGS:
225
226ctags: CTAGS
227CTAGS:
228
229DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
230
231top_distdir = ..
232distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
233
234distdir: $(DISTFILES)
235 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
236 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
237 list='$(DISTFILES)'; for file in $$list; do \
238 case $$file in \
239 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
240 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
241 esac; \
242 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
243 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
244 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
245 dir="/$$dir"; \
246 $(mkinstalldirs) "$(distdir)$$dir"; \
247 else \
248 dir=''; \
249 fi; \
250 if test -d $$d/$$file; then \
251 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
252 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
253 fi; \
254 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
255 else \
256 test -f $(distdir)/$$file \
257 || cp -p $$d/$$file $(distdir)/$$file \
258 || exit 1; \
259 fi; \
260 done
261check-am: all-am
262check: check-am
263all-am: Makefile $(DATA)
264
265installdirs:
266 $(mkinstalldirs) $(DESTDIR)$(pixmapdir) $(DESTDIR)$(pkgpixmapdir)
267install: install-am
268install-exec: install-exec-am
269install-data: install-data-am
270uninstall: uninstall-am
271
272install-am: all-am
273 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
274
275installcheck: installcheck-am
276install-strip:
277 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
278 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
279 `test -z '$(STRIP)' || \
280 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
281mostlyclean-generic:
282
283clean-generic:
284
285distclean-generic:
286 -rm -f $(CONFIG_CLEAN_FILES)
287
288maintainer-clean-generic:
289 @echo "This command is intended for maintainers to use"
290 @echo "it deletes files that may require special tools to rebuild."
291clean: clean-am
292
293clean-am: clean-generic mostlyclean-am
294
295distclean: distclean-am
296 -rm -f Makefile
297distclean-am: clean-am distclean-generic
298
299dvi: dvi-am
300
301dvi-am:
302
303info: info-am
304
305info-am:
306
307install-data-am: install-pixmapDATA install-pkgpixmapDATA
308
309install-exec-am:
310
311install-info: install-info-am
312
313install-man:
314
315installcheck-am:
316
317maintainer-clean: maintainer-clean-am
318 -rm -f Makefile
319maintainer-clean-am: distclean-am maintainer-clean-generic
320
321mostlyclean: mostlyclean-am
322
323mostlyclean-am: mostlyclean-generic
324
325pdf: pdf-am
326
327pdf-am:
328
329ps: ps-am
330
331ps-am:
332
333uninstall-am: uninstall-info-am uninstall-pixmapDATA \
334 uninstall-pkgpixmapDATA
335
336.PHONY: all all-am check check-am clean clean-generic distclean \
337 distclean-generic distdir dvi dvi-am info info-am install \
338 install-am install-data install-data-am install-exec \
339 install-exec-am install-info install-info-am install-man \
340 install-pixmapDATA install-pkgpixmapDATA install-strip \
341 installcheck installcheck-am installdirs maintainer-clean \
342 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
343 pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
344 uninstall-pixmapDATA uninstall-pkgpixmapDATA
345
346# Tell versions [3.59,3.63) of GNU make to not export all variables.
347# Otherwise a system limit (for SysV at least) may be exceeded.
348.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_material.xpm b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_material.xpm
new file mode 100644
index 0000000..4904448
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_material.xpm
@@ -0,0 +1,139 @@
1/* XPM */
2static char * icon16_material_xpm[] = {
3"16 16 120 2",
4" c None",
5". c #4A4A49",
6"+ c #867F67",
7"@ c #857D61",
8"# c #847B5E",
9"$ c #20201E",
10"% c #61686E",
11"& c #4F5962",
12"* c #4D5760",
13"= c #21262A",
14"- c #6D5956",
15"; c #804C40",
16"> c #653930",
17", c #000000",
18"' c #F0DC92",
19") c #EFD989",
20"! c #E8D284",
21"~ c #31322E",
22"{ c #7C91A3",
23"] c #526B81",
24"^ c #546F85",
25"/ c #25313B",
26"( c #C17665",
27"_ c #E14F2E",
28": c #B03D23",
29"< c #EED680",
30"[ c #E6CF7C",
31"} c #2F302B",
32"| c #667481",
33"1 c #545556",
34"2 c #293A48",
35"3 c #1D2934",
36"4 c #BF6C58",
37"5 c #DF421E",
38"6 c #AE3317",
39"7 c #817A5E",
40"8 c #E4CF83",
41"9 c #E2CB79",
42"0 c #D9C375",
43"a c #2C2E2A",
44"b c #616A73",
45"c c #C6C3C2",
46"d c #0F161B",
47"e c #1A242D",
48"f c #BA6451",
49"g c #D53E1C",
50"h c #D53F1C",
51"i c #A52F12",
52"j c #0E0D0A",
53"k c #19160E",
54"l c #18160D",
55"m c #17150D",
56"n c #050505",
57"o c #232323",
58"p c #C5BEB8",
59"q c #0C0C0C",
60"r c #020304",
61"s c #110907",
62"t c #160603",
63"u c #170703",
64"v c #120502",
65"w c #292727",
66"x c #C7BEB6",
67"y c #65625F",
68"z c #3B3B3B",
69"A c #545353",
70"B c #060505",
71"C c #2A2A2A",
72"D c #9C9A98",
73"E c #D9D1C7",
74"F c #B1A9A2",
75"G c #A29E9C",
76"H c #CCCAC8",
77"I c #625D59",
78"J c #303030",
79"K c #2E2D2D",
80"L c #C4C1BC",
81"M c #DCD1C3",
82"N c #AFA9A1",
83"O c #C8C1B9",
84"P c #D6D2CB",
85"Q c #918E89",
86"R c #363231",
87"S c #2D2B2B",
88"T c #D1CAC3",
89"U c #DACBBC",
90"V c #D5C8BA",
91"W c #DCD0C2",
92"X c #D5C9BD",
93"Y c #BCB1A7",
94"Z c #342E2B",
95"` c #272524",
96" . c #A5A09C",
97".. c #B4A99D",
98"+. c #BFB3A5",
99"@. c #BCAFA0",
100"#. c #BAAD9F",
101"$. c #827A71",
102"%. c #23201D",
103"&. c #2F2B29",
104"*. c #5D5854",
105"=. c #817970",
106"-. c #82786F",
107";. c #7A726A",
108">. c #302C2A",
109",. c #010000",
110"'. c #1A1615",
111"). c #2B2321",
112"!. c #2A2220",
113"~. c #201D1C",
114"{. c #1A1817",
115"]. c #817B7A",
116"^. c #A39C9B",
117"/. c #A39D9B",
118"(. c #ABA9A6",
119"_. c #7A7977",
120":. c #080303",
121"<. c #070403",
122"[. c #090606",
123"}. c #060504",
124" ",
125" . + @ # $ % & * = - ; ; > , ",
126" + ' ) ! ~ { ] ^ / ( _ _ : , ",
127" @ ) < [ } | 1 2 3 4 5 5 6 , ",
128" 7 8 9 0 a b c d e f g h i , ",
129" j k l m n o p q r s t u v ",
130" w x y z A B ",
131" C D E F G H I J ",
132" K L M N O P Q R ",
133" S T U V W X Y Z ",
134" ` ...+.@.#.$.%. ",
135" &.*.=.-.;.>.,. ",
136" '.).!.~.{. ",
137" ].^./.(._. ",
138" :.<.[.}., ",
139" "};
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_model.xpm b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_model.xpm
new file mode 100644
index 0000000..36038e2
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_model.xpm
@@ -0,0 +1,162 @@
1/* XPM */
2static char * icon16_model_xpm[] = {
3"16 16 143 2",
4" c None",
5". c #71655F",
6"+ c #A47967",
7"@ c #A87D69",
8"# c #826E64",
9"$ c #5A5A5A",
10"% c #363230",
11"& c #A18071",
12"* c #D69375",
13"= c #F39871",
14"- c #F49368",
15"; c #E4865D",
16"> c #B67355",
17", c #836254",
18"' c #5D5D5D",
19") c #625048",
20"! c #E09677",
21"~ c #F4AE90",
22"{ c #FAA27C",
23"] c #FCA17A",
24"^ c #F7976F",
25"/ c #EEA186",
26"( c #E05024",
27"_ c #484848",
28": c #8D897D",
29"< c #806B56",
30"[ c #C86535",
31"} c #D25B26",
32"| c #E28159",
33"1 c #F1B39C",
34"2 c #CD522D",
35"3 c #CE2F03",
36"4 c #E93600",
37"5 c #474747",
38"6 c #464645",
39"7 c #97948A",
40"8 c #B7B19D",
41"9 c #DED5B2",
42"0 c #E3D3A7",
43"a c #E2BA87",
44"b c #CF8E5B",
45"c c #D26937",
46"d c #EA8764",
47"e c #BD2E0B",
48"f c #C65646",
49"g c #CF6A62",
50"h c #4D4B57",
51"i c #555555",
52"j c #5C5A50",
53"k c #D1C8A6",
54"l c #F4F1E5",
55"m c #F7EECA",
56"n c #F5E8B9",
57"o c #F5E9BC",
58"p c #F5E2C2",
59"q c #E4B985",
60"r c #D9765C",
61"s c #B58699",
62"t c #B09CC2",
63"u c #AA9CCA",
64"v c #908BB9",
65"w c #817CA2",
66"x c #69677B",
67"y c #5D5D60",
68"z c #676250",
69"A c #EED67F",
70"B c #EDD47D",
71"C c #E7DBAE",
72"D c #F8F4E7",
73"E c #EED29E",
74"F c #D29F33",
75"G c #AC8628",
76"H c #A088B7",
77"I c #BAB2D7",
78"J c #AEA6D2",
79"K c #ACA5D2",
80"L c #ACA7D4",
81"M c #ADAACF",
82"N c #7C7AB1",
83"O c #494857",
84"P c #666150",
85"Q c #EBD177",
86"R c #F1E0B1",
87"S c #D7A32D",
88"T c #C39423",
89"U c #8B6F28",
90"V c #8078C1",
91"W c #7F76C0",
92"X c #9080B9",
93"Y c #B4ACCF",
94"Z c #8C8AB9",
95"` c #47458E",
96" . c #4F4B9C",
97".. c #484758",
98"+. c #F0DDA8",
99"@. c #D49D1C",
100"#. c #C59A30",
101"$. c #7B652A",
102"%. c #7A72BE",
103"&. c #A19CD1",
104"*. c #383689",
105"=. c #474594",
106"-. c #5651A6",
107";. c #49485A",
108">. c #ECD47D",
109",. c #F0DEAB",
110"'. c #D8A52A",
111"). c #C59E3C",
112"!. c #816C34",
113"~. c #7972BE",
114"{. c #A39ED2",
115"]. c #3F3C8D",
116"^. c #4F4C9C",
117"/. c #5E59AD",
118"(. c #4B4A5B",
119"_. c #757470",
120":. c #7E7557",
121"<. c #BBAA6B",
122"[. c #D6BF71",
123"}. c #EDDCAD",
124"|. c #CEA439",
125"1. c #B49B55",
126"2. c #554E3A",
127"3. c #7871B0",
128"4. c #7C74B9",
129"5. c #494794",
130"6. c #5752A5",
131"7. c #645EA8",
132"8. c #4E4D5D",
133"9. c #827858",
134"0. c #B4AB93",
135"a. c #8D7B4D",
136"b. c #8F8C83",
137"c. c #7E7E7E",
138"d. c #605D70",
139"e. c #736F90",
140"f. c #6B669C",
141"g. c #9D98C6",
142"h. c #4F4B91",
143"i. c #636094",
144"j. c #686682",
145"k. c #848293",
146"l. c #64627B",
147" ",
148" ",
149" . + @ # $ ",
150" % & * = - ; > , ' ",
151" ) ! ~ { ] ^ / ( _ ",
152" : < [ } | 1 2 3 4 5 ",
153"6 7 8 9 0 a b c d e f g h i ",
154"j k l m n o p q r s t u v w x y ",
155"z A B C D E F G H I J K L M N O ",
156"P A B Q R S T U V W X Y Z ` ...",
157"P A B Q +.@.#.$.V W %.&.*.=.-.;.",
158"z A >.Q ,.'.).!.V W ~.{.].^./.(.",
159"_.:.<.[.}.|.1.2.3.4.~.{.5.6.7.8.",
160" 9.0.a.b.c.d.e.f.g.h.i.j. ",
161" k.l. ",
162" "};
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_object.png b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_object.png
new file mode 100644
index 0000000..9a8bb86
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_object.png
Binary files differ
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_plugins.xpm b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_plugins.xpm
new file mode 100644
index 0000000..773ef8a
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_plugins.xpm
@@ -0,0 +1,134 @@
1/* XPM */
2static char * icon16_plugins_xpm[] = {
3"16 16 115 2",
4" c None",
5". c #98AAB5",
6"+ c #96AAB7",
7"@ c #93AEC3",
8"# c #7896B0",
9"$ c #273440",
10"% c #A2B0B8",
11"& c #AAB9C2",
12"* c #A7BECB",
13"= c #6D8496",
14"- c #849098",
15"; c #8BAAC1",
16"> c #779AB8",
17", c #7296B5",
18"' c #688AAB",
19") c #283645",
20"! c #A3BCCC",
21"~ c #89ABC2",
22"{ c #84A7BF",
23"] c #4D6478",
24"^ c #6F7578",
25"/ c #84A4BB",
26"( c #7397B5",
27"_ c #7093B3",
28": c #6A8EAE",
29"< c #2F4054",
30"[ c #B2C4D0",
31"} c #87A9C2",
32"| c #83A6BF",
33"1 c #799BB5",
34"2 c #6D8BA3",
35"3 c #87A4BA",
36"4 c #7498B6",
37"5 c #6E92B1",
38"6 c #435C76",
39"7 c #394D67",
40"8 c #253242",
41"9 c #B0BEC7",
42"0 c #88AAC2",
43"a c #7FA3BD",
44"b c #7DA0BB",
45"c c #7B9EBA",
46"d c #7599B7",
47"e c #7195B4",
48"f c #6283A3",
49"g c #121921",
50"h c #B0BAC0",
51"i c #9EB9CA",
52"j c #97B5C8",
53"k c #82A4BE",
54"l c #7DA1BC",
55"m c #7A9DB9",
56"n c #769AB7",
57"o c #6E92B2",
58"p c #6487A7",
59"q c #263241",
60"r c #576777",
61"s c #9FB2BD",
62"t c #85A9C1",
63"u c #81A4BF",
64"v c #7EA2BC",
65"w c #6F92B3",
66"x c #6B90B0",
67"y c #678BAD",
68"z c #708FAE",
69"A c #7B97B3",
70"B c #567396",
71"C c #222F3E",
72"D c #6F7579",
73"E c #7B95AA",
74"F c #516677",
75"G c #92B0C6",
76"H c #789CB8",
77"I c #7398B6",
78"J c #6C90B1",
79"K c #678CAD",
80"L c #6588AB",
81"M c #6083A8",
82"N c #5D80A6",
83"O c #527198",
84"P c #253447",
85"Q c #303335",
86"R c #ACC0CF",
87"S c #678AAA",
88"T c #4B6582",
89"U c #485F7A",
90"V c #7695B2",
91"W c #5A7CA2",
92"X c #57789F",
93"Y c #2D3F56",
94"Z c #A0B3C0",
95"` c #7295B5",
96" . c #4F6B8A",
97".. c #06080A",
98"+. c #161718",
99"@. c #8397A7",
100"#. c #5A7CA3",
101"$. c #54749A",
102"%. c #517196",
103"&. c #334863",
104"*. c #B4C0C7",
105"=. c #6D91B1",
106"-. c #688CAD",
107";. c #59799B",
108">. c #243141",
109",. c #708396",
110"'. c #334761",
111"). c #28384D",
112"!. c #202C3C",
113"~. c #0F151C",
114"{. c #89949C",
115"]. c #455D77",
116"^. c #33465B",
117"/. c #283646",
118"(. c #0E1216",
119" ",
120" ",
121" . + @ # $ ",
122" % & * = - ; > , ' ) ",
123" ! ~ { ] ^ / ( _ : < ",
124" [ } | 1 2 3 4 5 6 7 8 ",
125" 9 0 a b c d e f g ",
126" h i j k l m n , o p q r ",
127" s t u v m > , w x y z A B C ",
128" D E F G H I _ J K L M N O P ",
129" Q R 4 e S T U V N W X Y ",
130" Z ` o ...+.@.#.$.%.&. ",
131" *.=.-.;.>. ,.'.).!.~. ",
132" {.].^./.(. ",
133" ",
134" "};
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_property.png b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_property.png
new file mode 100644
index 0000000..0c8221c
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_property.png
Binary files differ
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_texture.xpm b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_texture.xpm
new file mode 100644
index 0000000..a648306
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/pixmaps/icon16_texture.xpm
@@ -0,0 +1,102 @@
1/* XPM */
2static char * icon16_texture_xpm[] = {
3"16 16 83 1",
4" c None",
5". c #000000",
6"+ c #475E3A",
7"@ c #2D5723",
8"# c #276122",
9"$ c #375427",
10"% c #475D3B",
11"& c #44672E",
12"* c #395627",
13"= c #2D5722",
14"- c #286122",
15"; c #385529",
16"> c #485D3B",
17", c #5F8B35",
18"' c #679B45",
19") c #517B37",
20"! c #44662E",
21"~ c #395527",
22"{ c #2D5823",
23"] c #276123",
24"^ c #39562A",
25"/ c #475F3C",
26"( c #49661C",
27"_ c #577C26",
28": c #5F8C35",
29"< c #679C45",
30"[ c #517937",
31"} c #385526",
32"| c #2C5822",
33"1 c #3A572C",
34"2 c #273522",
35"3 c #1D2917",
36"4 c #334719",
37"5 c #5F8C36",
38"6 c #689C45",
39"7 c #507837",
40"8 c #43652E",
41"9 c #385527",
42"0 c #423933",
43"a c #3D3D30",
44"b c #1E2A17",
45"c c #334819",
46"d c #49671C",
47"e c #577D26",
48"f c #608D36",
49"g c #507836",
50"h c #6DA553",
51"i c #618549",
52"j c #4D4F3A",
53"k c #423932",
54"l c #3C3D30",
55"m c #263521",
56"n c #1E2A16",
57"o c #344919",
58"p c #4A671D",
59"q c #587D27",
60"r c #56664E",
61"s c #648156",
62"t c #618449",
63"u c #4D4D3A",
64"v c #3D3E30",
65"w c #253421",
66"x c #1F2B17",
67"y c #276222",
68"z c #3C572D",
69"A c #495F3E",
70"B c #57674F",
71"C c #638156",
72"D c #6DA654",
73"E c #608349",
74"F c #4D4C39",
75"G c #3C3E30",
76"H c #2B5A23",
77"I c #266322",
78"J c #3C582E",
79"K c #57664F",
80"L c #648356",
81"M c #5F8248",
82"N c #4D4A39",
83"O c #3D582F",
84"P c #4A603F",
85"Q c #2B5A22",
86"R c #266323",
87" .. ",
88" .+.. ",
89" .@#$%.. ",
90" .&*=-;>.. ",
91" .,')!~{]^/.. ",
92" .(_:<[!}|#1. ",
93" .234(_56789. ",
94" .0a2bcdef'g. ",
95" .hijklmnopq. ",
96" .rshtukvwxo. ",
97".yzABCDEF0G. ",
98"..HIJAKLDMN. ",
99" ..HyOPBL. ",
100" ..QROP. ",
101" ..Q. ",
102" .. "};
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/ChangeLog b/src/others/mimesh/g3dviewer-0.2.99.4/po/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/ChangeLog
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile
new file mode 100644
index 0000000..17acd31
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile
@@ -0,0 +1,273 @@
1# Makefile for program source directory in GNU NLS utilities package.
2# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3#
4# This file file be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU Public License
6# but which still want to provide support for the GNU gettext functionality.
7# Please note that the actual code is *not* freely available.
8#
9# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
10# instead of PACKAGE and to look for po2tbl in ./ not in intl/
11#
12# - Modified by jacob berkman <jacob@ximian.com> to install
13# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
14
15GETTEXT_PACKAGE = g3dviewer
16PACKAGE = g3dviewer
17VERSION = 0.2.99.4
18
19SHELL = /bin/sh
20
21
22srcdir = .
23top_srcdir = ..
24
25
26prefix = /usr/local
27exec_prefix = ${prefix}
28datadir = ${prefix}/share
29libdir = ${exec_prefix}/lib
30localedir = $(libdir)/locale
31gnulocaledir = $(datadir)/locale
32gettextsrcdir = $(datadir)/glib-2.0/gettext/po
33subdir = po
34
35INSTALL = /usr/bin/install -c
36INSTALL_DATA = ${INSTALL} -m 644
37MKINSTALLDIRS = $(top_srcdir)/./mkinstalldirs
38
39CC = gcc
40GENCAT = @GENCAT@
41GMSGFMT = /usr/bin/msgfmt
42MSGFMT = /usr/bin/msgfmt
43XGETTEXT = /usr/bin/xgettext
44MSGMERGE = msgmerge
45
46DEFS = -DHAVE_CONFIG_H
47CFLAGS = -g -O2
48CPPFLAGS =
49
50INCLUDES = -I.. -I$(top_srcdir)/intl
51
52COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
53
54SOURCES =
55POFILES = de.po
56GMOFILES = de.gmo
57DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \
58$(POFILES) $(GMOFILES) $(SOURCES)
59
60POTFILES = \
61 ../src/gui_glade.c \
62 ../src/gui_callbacks.c \
63 ../src/gui_infowin.c \
64 ../glade/g3dviewer.glade
65
66CATALOGS = de.gmo
67CATOBJEXT = .gmo
68INSTOBJEXT = .mo
69
70.SUFFIXES:
71.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
72
73.c.o:
74 $(COMPILE) $<
75
76.po.pox:
77 $(MAKE) $(GETTEXT_PACKAGE).pot
78 $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox
79
80.po.mo:
81 $(MSGFMT) -o $@ $<
82
83.po.gmo:
84 file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
85 && rm -f $$file && $(GMSGFMT) -c -o $$file $<
86
87.po.cat:
88 sed -f ../intl/po2msg.sed < $< > $*.msg \
89 && rm -f $@ && $(GENCAT) $@ $*.msg
90
91
92all: all-yes
93
94all-yes: $(CATALOGS)
95all-no:
96
97$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
98 $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
99 --add-comments --keyword=_ --keyword=N_ \
100 --flag=g_strdup_printf:1:c-format \
101 --flag=g_string_printf:2:c-format \
102 --flag=g_string_append_printf:2:c-format \
103 --flag=g_error_new:3:c-format \
104 --flag=g_set_error:4:c-format \
105 --flag=g_markup_printf_escaped:1:c-format \
106 --flag=g_log:3:c-format \
107 --flag=g_print:1:c-format \
108 --flag=g_printerr:1:c-format \
109 --flag=g_printf:1:c-format \
110 --flag=g_fprintf:2:c-format \
111 --flag=g_sprintf:2:c-format \
112 --flag=g_snprintf:3:c-format \
113 --flag=g_scanner_error:2:c-format \
114 --flag=g_scanner_warn:2:c-format \
115 --files-from=$(srcdir)/POTFILES.in \
116 && test ! -f $(GETTEXT_PACKAGE).po \
117 || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \
118 && mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot )
119
120install: install-exec install-data
121install-exec:
122install-data: install-data-yes
123install-data-no: all
124install-data-yes: all
125 if test -r "$(MKINSTALLDIRS)"; then \
126 $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
127 else \
128 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
129 fi
130 @catalogs='$(CATALOGS)'; \
131 for cat in $$catalogs; do \
132 cat=`basename $$cat`; \
133 case "$$cat" in \
134 *.gmo) destdir=$(gnulocaledir);; \
135 *) destdir=$(localedir);; \
136 esac; \
137 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
138 dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
139 if test -r "$(MKINSTALLDIRS)"; then \
140 $(MKINSTALLDIRS) $$dir; \
141 else \
142 $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
143 fi; \
144 if test -r $$cat; then \
145 $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
146 echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
147 else \
148 $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
149 echo "installing $(srcdir)/$$cat as" \
150 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
151 fi; \
152 if test -r $$cat.m; then \
153 $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
154 echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
155 else \
156 if test -r $(srcdir)/$$cat.m ; then \
157 $(INSTALL_DATA) $(srcdir)/$$cat.m \
158 $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
159 echo "installing $(srcdir)/$$cat as" \
160 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
161 else \
162 true; \
163 fi; \
164 fi; \
165 done
166 if test "$(PACKAGE)" = "glib"; then \
167 if test -r "$(MKINSTALLDIRS)"; then \
168 $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
169 else \
170 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
171 fi; \
172 $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
173 $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
174 else \
175 : ; \
176 fi
177
178# Define this as empty until I found a useful application.
179installcheck:
180
181uninstall:
182 catalogs='$(CATALOGS)'; \
183 for cat in $$catalogs; do \
184 cat=`basename $$cat`; \
185 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
186 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
187 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
188 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
189 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
190 done
191 if test "$(PACKAGE)" = "glib"; then \
192 rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
193 fi
194
195check: all
196
197dvi info tags TAGS ID:
198
199mostlyclean:
200 rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
201 rm -fr *.o
202
203clean: mostlyclean
204
205distclean: clean
206 rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
207
208maintainer-clean: distclean
209 @echo "This command is intended for maintainers to use;"
210 @echo "it deletes files that may require special tools to rebuild."
211 rm -f $(GMOFILES)
212
213distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir)
214dist distdir: update-po $(DISTFILES)
215 dists="$(DISTFILES)"; \
216 for file in $$dists; do \
217 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
218 || cp -p $(srcdir)/$$file $(distdir); \
219 done
220
221update-po: Makefile
222 $(MAKE) $(GETTEXT_PACKAGE).pot
223 tmpdir=`pwd`; \
224 cd $(srcdir); \
225 catalogs='$(CATALOGS)'; \
226 for cat in $$catalogs; do \
227 cat=`basename $$cat`; \
228 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
229 echo "$$lang:"; \
230 if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \
231 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
232 rm -f $$tmpdir/$$lang.new.po; \
233 else \
234 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
235 :; \
236 else \
237 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
238 rm -f $$tmpdir/$$lang.new.po; \
239 exit 1; \
240 fi; \
241 fi; \
242 else \
243 echo "msgmerge for $$cat failed!"; \
244 rm -f $$tmpdir/$$lang.new.po; \
245 fi; \
246 done
247
248# POTFILES is created from POTFILES.in by stripping comments, empty lines
249# and Intltool tags (enclosed in square brackets), and appending a full
250# relative path to them
251POTFILES: POTFILES.in
252 ( if test 'x$(srcdir)' != 'x.'; then \
253 posrcprefix='$(top_srcdir)/'; \
254 else \
255 posrcprefix="../"; \
256 fi; \
257 rm -f $@-t $@ \
258 && (sed -e '/^#/d' \
259 -e "s/^\[.*\] +//" \
260 -e '/^[ ]*$$/d' \
261 -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
262 | sed -e '$$s/\\$$//') > $@-t \
263 && chmod a-w $@-t \
264 && mv $@-t $@ )
265
266Makefile: Makefile.in.in ../config.status POTFILES
267 cd .. \
268 && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
269 $(SHELL) ./config.status
270
271# Tell versions [3.59,3.63) of GNU make not to export all variables.
272# Otherwise a system limit (for SysV at least) may be exceeded.
273.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in
new file mode 100644
index 0000000..dff8371
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in
@@ -0,0 +1,269 @@
1# Makefile for program source directory in GNU NLS utilities package.
2# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3#
4# This file file be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU Public License
6# but which still want to provide support for the GNU gettext functionality.
7# Please note that the actual code is *not* freely available.
8#
9# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
10# instead of PACKAGE and to look for po2tbl in ./ not in intl/
11#
12# - Modified by jacob berkman <jacob@ximian.com> to install
13# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
14
15GETTEXT_PACKAGE = g3dviewer
16PACKAGE = g3dviewer
17VERSION = 0.2.99.4
18
19SHELL = /bin/sh
20
21
22srcdir = .
23top_srcdir = ..
24
25
26prefix = /usr/local
27exec_prefix = ${prefix}
28datadir = ${prefix}/share
29libdir = ${exec_prefix}/lib
30localedir = $(libdir)/locale
31gnulocaledir = $(datadir)/locale
32gettextsrcdir = $(datadir)/glib-2.0/gettext/po
33subdir = po
34
35INSTALL = /usr/bin/install -c
36INSTALL_DATA = ${INSTALL} -m 644
37MKINSTALLDIRS = $(top_srcdir)/./mkinstalldirs
38
39CC = gcc
40GENCAT = @GENCAT@
41GMSGFMT = /usr/bin/msgfmt
42MSGFMT = /usr/bin/msgfmt
43XGETTEXT = /usr/bin/xgettext
44MSGMERGE = msgmerge
45
46DEFS = -DHAVE_CONFIG_H
47CFLAGS = -g -O2
48CPPFLAGS =
49
50INCLUDES = -I.. -I$(top_srcdir)/intl
51
52COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
53
54SOURCES =
55POFILES = de.po
56GMOFILES = de.gmo
57DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \
58$(POFILES) $(GMOFILES) $(SOURCES)
59
60POTFILES = \
61
62CATALOGS = de.gmo
63CATOBJEXT = .gmo
64INSTOBJEXT = .mo
65
66.SUFFIXES:
67.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
68
69.c.o:
70 $(COMPILE) $<
71
72.po.pox:
73 $(MAKE) $(GETTEXT_PACKAGE).pot
74 $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox
75
76.po.mo:
77 $(MSGFMT) -o $@ $<
78
79.po.gmo:
80 file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
81 && rm -f $$file && $(GMSGFMT) -c -o $$file $<
82
83.po.cat:
84 sed -f ../intl/po2msg.sed < $< > $*.msg \
85 && rm -f $@ && $(GENCAT) $@ $*.msg
86
87
88all: all-yes
89
90all-yes: $(CATALOGS)
91all-no:
92
93$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
94 $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
95 --add-comments --keyword=_ --keyword=N_ \
96 --flag=g_strdup_printf:1:c-format \
97 --flag=g_string_printf:2:c-format \
98 --flag=g_string_append_printf:2:c-format \
99 --flag=g_error_new:3:c-format \
100 --flag=g_set_error:4:c-format \
101 --flag=g_markup_printf_escaped:1:c-format \
102 --flag=g_log:3:c-format \
103 --flag=g_print:1:c-format \
104 --flag=g_printerr:1:c-format \
105 --flag=g_printf:1:c-format \
106 --flag=g_fprintf:2:c-format \
107 --flag=g_sprintf:2:c-format \
108 --flag=g_snprintf:3:c-format \
109 --flag=g_scanner_error:2:c-format \
110 --flag=g_scanner_warn:2:c-format \
111 --files-from=$(srcdir)/POTFILES.in \
112 && test ! -f $(GETTEXT_PACKAGE).po \
113 || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \
114 && mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot )
115
116install: install-exec install-data
117install-exec:
118install-data: install-data-yes
119install-data-no: all
120install-data-yes: all
121 if test -r "$(MKINSTALLDIRS)"; then \
122 $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
123 else \
124 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
125 fi
126 @catalogs='$(CATALOGS)'; \
127 for cat in $$catalogs; do \
128 cat=`basename $$cat`; \
129 case "$$cat" in \
130 *.gmo) destdir=$(gnulocaledir);; \
131 *) destdir=$(localedir);; \
132 esac; \
133 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
134 dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
135 if test -r "$(MKINSTALLDIRS)"; then \
136 $(MKINSTALLDIRS) $$dir; \
137 else \
138 $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
139 fi; \
140 if test -r $$cat; then \
141 $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
142 echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
143 else \
144 $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
145 echo "installing $(srcdir)/$$cat as" \
146 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
147 fi; \
148 if test -r $$cat.m; then \
149 $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
150 echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
151 else \
152 if test -r $(srcdir)/$$cat.m ; then \
153 $(INSTALL_DATA) $(srcdir)/$$cat.m \
154 $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
155 echo "installing $(srcdir)/$$cat as" \
156 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
157 else \
158 true; \
159 fi; \
160 fi; \
161 done
162 if test "$(PACKAGE)" = "glib"; then \
163 if test -r "$(MKINSTALLDIRS)"; then \
164 $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
165 else \
166 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
167 fi; \
168 $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
169 $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
170 else \
171 : ; \
172 fi
173
174# Define this as empty until I found a useful application.
175installcheck:
176
177uninstall:
178 catalogs='$(CATALOGS)'; \
179 for cat in $$catalogs; do \
180 cat=`basename $$cat`; \
181 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
182 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
183 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
184 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
185 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
186 done
187 if test "$(PACKAGE)" = "glib"; then \
188 rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
189 fi
190
191check: all
192
193dvi info tags TAGS ID:
194
195mostlyclean:
196 rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
197 rm -fr *.o
198
199clean: mostlyclean
200
201distclean: clean
202 rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
203
204maintainer-clean: distclean
205 @echo "This command is intended for maintainers to use;"
206 @echo "it deletes files that may require special tools to rebuild."
207 rm -f $(GMOFILES)
208
209distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir)
210dist distdir: update-po $(DISTFILES)
211 dists="$(DISTFILES)"; \
212 for file in $$dists; do \
213 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
214 || cp -p $(srcdir)/$$file $(distdir); \
215 done
216
217update-po: Makefile
218 $(MAKE) $(GETTEXT_PACKAGE).pot
219 tmpdir=`pwd`; \
220 cd $(srcdir); \
221 catalogs='$(CATALOGS)'; \
222 for cat in $$catalogs; do \
223 cat=`basename $$cat`; \
224 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
225 echo "$$lang:"; \
226 if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \
227 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
228 rm -f $$tmpdir/$$lang.new.po; \
229 else \
230 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
231 :; \
232 else \
233 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
234 rm -f $$tmpdir/$$lang.new.po; \
235 exit 1; \
236 fi; \
237 fi; \
238 else \
239 echo "msgmerge for $$cat failed!"; \
240 rm -f $$tmpdir/$$lang.new.po; \
241 fi; \
242 done
243
244# POTFILES is created from POTFILES.in by stripping comments, empty lines
245# and Intltool tags (enclosed in square brackets), and appending a full
246# relative path to them
247POTFILES: POTFILES.in
248 ( if test 'x$(srcdir)' != 'x.'; then \
249 posrcprefix='$(top_srcdir)/'; \
250 else \
251 posrcprefix="../"; \
252 fi; \
253 rm -f $@-t $@ \
254 && (sed -e '/^#/d' \
255 -e "s/^\[.*\] +//" \
256 -e '/^[ ]*$$/d' \
257 -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
258 | sed -e '$$s/\\$$//') > $@-t \
259 && chmod a-w $@-t \
260 && mv $@-t $@ )
261
262Makefile: Makefile.in.in ../config.status POTFILES
263 cd .. \
264 && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
265 $(SHELL) ./config.status
266
267# Tell versions [3.59,3.63) of GNU make not to export all variables.
268# Otherwise a system limit (for SysV at least) may be exceeded.
269.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in.in b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in.in
new file mode 100644
index 0000000..699855c
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/Makefile.in.in
@@ -0,0 +1,269 @@
1# Makefile for program source directory in GNU NLS utilities package.
2# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3#
4# This file file be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU Public License
6# but which still want to provide support for the GNU gettext functionality.
7# Please note that the actual code is *not* freely available.
8#
9# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
10# instead of PACKAGE and to look for po2tbl in ./ not in intl/
11#
12# - Modified by jacob berkman <jacob@ximian.com> to install
13# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
14
15GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
16PACKAGE = @PACKAGE@
17VERSION = @VERSION@
18
19SHELL = /bin/sh
20@SET_MAKE@
21
22srcdir = @srcdir@
23top_srcdir = @top_srcdir@
24VPATH = @srcdir@
25
26prefix = @prefix@
27exec_prefix = @exec_prefix@
28datadir = @datadir@
29libdir = @libdir@
30localedir = $(libdir)/locale
31gnulocaledir = $(datadir)/locale
32gettextsrcdir = $(datadir)/glib-2.0/gettext/po
33subdir = po
34
35INSTALL = @INSTALL@
36INSTALL_DATA = @INSTALL_DATA@
37MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
38
39CC = @CC@
40GENCAT = @GENCAT@
41GMSGFMT = @GMSGFMT@
42MSGFMT = @MSGFMT@
43XGETTEXT = @XGETTEXT@
44MSGMERGE = msgmerge
45
46DEFS = @DEFS@
47CFLAGS = @CFLAGS@
48CPPFLAGS = @CPPFLAGS@
49
50INCLUDES = -I.. -I$(top_srcdir)/intl
51
52COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
53
54SOURCES =
55POFILES = @POFILES@
56GMOFILES = @GMOFILES@
57DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \
58$(POFILES) $(GMOFILES) $(SOURCES)
59
60POTFILES = \
61
62CATALOGS = @CATALOGS@
63CATOBJEXT = @CATOBJEXT@
64INSTOBJEXT = @INSTOBJEXT@
65
66.SUFFIXES:
67.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
68
69.c.o:
70 $(COMPILE) $<
71
72.po.pox:
73 $(MAKE) $(GETTEXT_PACKAGE).pot
74 $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox
75
76.po.mo:
77 $(MSGFMT) -o $@ $<
78
79.po.gmo:
80 file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
81 && rm -f $$file && $(GMSGFMT) -c -o $$file $<
82
83.po.cat:
84 sed -f ../intl/po2msg.sed < $< > $*.msg \
85 && rm -f $@ && $(GENCAT) $@ $*.msg
86
87
88all: all-@USE_NLS@
89
90all-yes: $(CATALOGS)
91all-no:
92
93$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
94 $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
95 --add-comments --keyword=_ --keyword=N_ \
96 --flag=g_strdup_printf:1:c-format \
97 --flag=g_string_printf:2:c-format \
98 --flag=g_string_append_printf:2:c-format \
99 --flag=g_error_new:3:c-format \
100 --flag=g_set_error:4:c-format \
101 --flag=g_markup_printf_escaped:1:c-format \
102 --flag=g_log:3:c-format \
103 --flag=g_print:1:c-format \
104 --flag=g_printerr:1:c-format \
105 --flag=g_printf:1:c-format \
106 --flag=g_fprintf:2:c-format \
107 --flag=g_sprintf:2:c-format \
108 --flag=g_snprintf:3:c-format \
109 --flag=g_scanner_error:2:c-format \
110 --flag=g_scanner_warn:2:c-format \
111 --files-from=$(srcdir)/POTFILES.in \
112 && test ! -f $(GETTEXT_PACKAGE).po \
113 || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \
114 && mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot )
115
116install: install-exec install-data
117install-exec:
118install-data: install-data-@USE_NLS@
119install-data-no: all
120install-data-yes: all
121 if test -r "$(MKINSTALLDIRS)"; then \
122 $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
123 else \
124 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
125 fi
126 @catalogs='$(CATALOGS)'; \
127 for cat in $$catalogs; do \
128 cat=`basename $$cat`; \
129 case "$$cat" in \
130 *.gmo) destdir=$(gnulocaledir);; \
131 *) destdir=$(localedir);; \
132 esac; \
133 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
134 dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
135 if test -r "$(MKINSTALLDIRS)"; then \
136 $(MKINSTALLDIRS) $$dir; \
137 else \
138 $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
139 fi; \
140 if test -r $$cat; then \
141 $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
142 echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
143 else \
144 $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
145 echo "installing $(srcdir)/$$cat as" \
146 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
147 fi; \
148 if test -r $$cat.m; then \
149 $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
150 echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
151 else \
152 if test -r $(srcdir)/$$cat.m ; then \
153 $(INSTALL_DATA) $(srcdir)/$$cat.m \
154 $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
155 echo "installing $(srcdir)/$$cat as" \
156 "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
157 else \
158 true; \
159 fi; \
160 fi; \
161 done
162 if test "$(PACKAGE)" = "glib"; then \
163 if test -r "$(MKINSTALLDIRS)"; then \
164 $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
165 else \
166 $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
167 fi; \
168 $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
169 $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
170 else \
171 : ; \
172 fi
173
174# Define this as empty until I found a useful application.
175installcheck:
176
177uninstall:
178 catalogs='$(CATALOGS)'; \
179 for cat in $$catalogs; do \
180 cat=`basename $$cat`; \
181 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
182 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
183 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
184 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
185 rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
186 done
187 if test "$(PACKAGE)" = "glib"; then \
188 rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
189 fi
190
191check: all
192
193dvi info tags TAGS ID:
194
195mostlyclean:
196 rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
197 rm -fr *.o
198
199clean: mostlyclean
200
201distclean: clean
202 rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
203
204maintainer-clean: distclean
205 @echo "This command is intended for maintainers to use;"
206 @echo "it deletes files that may require special tools to rebuild."
207 rm -f $(GMOFILES)
208
209distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir)
210dist distdir: update-po $(DISTFILES)
211 dists="$(DISTFILES)"; \
212 for file in $$dists; do \
213 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
214 || cp -p $(srcdir)/$$file $(distdir); \
215 done
216
217update-po: Makefile
218 $(MAKE) $(GETTEXT_PACKAGE).pot
219 tmpdir=`pwd`; \
220 cd $(srcdir); \
221 catalogs='$(CATALOGS)'; \
222 for cat in $$catalogs; do \
223 cat=`basename $$cat`; \
224 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
225 echo "$$lang:"; \
226 if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \
227 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
228 rm -f $$tmpdir/$$lang.new.po; \
229 else \
230 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
231 :; \
232 else \
233 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
234 rm -f $$tmpdir/$$lang.new.po; \
235 exit 1; \
236 fi; \
237 fi; \
238 else \
239 echo "msgmerge for $$cat failed!"; \
240 rm -f $$tmpdir/$$lang.new.po; \
241 fi; \
242 done
243
244# POTFILES is created from POTFILES.in by stripping comments, empty lines
245# and Intltool tags (enclosed in square brackets), and appending a full
246# relative path to them
247POTFILES: POTFILES.in
248 ( if test 'x$(srcdir)' != 'x.'; then \
249 posrcprefix='$(top_srcdir)/'; \
250 else \
251 posrcprefix="../"; \
252 fi; \
253 rm -f $@-t $@ \
254 && (sed -e '/^#/d' \
255 -e "s/^\[.*\] +//" \
256 -e '/^[ ]*$$/d' \
257 -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
258 | sed -e '$$s/\\$$//') > $@-t \
259 && chmod a-w $@-t \
260 && mv $@-t $@ )
261
262Makefile: Makefile.in.in ../config.status POTFILES
263 cd .. \
264 && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
265 $(SHELL) ./config.status
266
267# Tell versions [3.59,3.63) of GNU make not to export all variables.
268# Otherwise a system limit (for SysV at least) may be exceeded.
269.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES b/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES
new file mode 100644
index 0000000..eaf2b81
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES
@@ -0,0 +1,4 @@
1 ../src/gui_glade.c \
2 ../src/gui_callbacks.c \
3 ../src/gui_infowin.c \
4 ../glade/g3dviewer.glade
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES.in b/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES.in
new file mode 100644
index 0000000..9fc8071
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/POTFILES.in
@@ -0,0 +1,4 @@
1src/gui_glade.c
2src/gui_callbacks.c
3src/gui_infowin.c
4glade/g3dviewer.glade
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/de.gmo b/src/others/mimesh/g3dviewer-0.2.99.4/po/de.gmo
new file mode 100644
index 0000000..eefced6
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/de.gmo
Binary files differ
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/de.po b/src/others/mimesh/g3dviewer-0.2.99.4/po/de.po
new file mode 100644
index 0000000..339b8db
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/de.po
@@ -0,0 +1,149 @@
1# German translations for g3dviewer package.
2# Copyright (C) 2006 THE g3dviewer'S COPYRIGHT HOLDER
3# This file is distributed under the same license as the g3dviewer package.
4# Markus Dahms <mad@automagically.de>, 2006.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: g3dviewer 0.2.99.2\n"
9"Report-Msgid-Bugs-To: \n"
10"POT-Creation-Date: 2006-11-15 10:56+0100\n"
11"PO-Revision-Date: 2006-01-31 21:37+0100\n"
12"Last-Translator: Markus Dahms <mad@automagically.de>\n"
13"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
19#: src/gui_glade.c:67
20msgid "all files"
21msgstr "Alle Dateien"
22
23#: src/gui_infowin.c:310
24msgid "(unnamed material)"
25msgstr "(unbenanntes Material)"
26
27#: src/gui_infowin.c:331
28msgid "color"
29msgstr "Farbe"
30
31#: src/gui_infowin.c:379
32msgid "number of vertices"
33msgstr "Anzahl der Punkte"
34
35#: src/gui_infowin.c:391
36msgid "number of faces"
37msgstr "Anzahl der Flächen"
38
39#: src/gui_infowin.c:403
40msgid "number of materials"
41msgstr "Anzahl der Materialien"
42
43#: src/gui_infowin.c:430
44msgid "model"
45msgstr ""
46
47#: glade/g3dviewer.glade:8
48msgid "G3DViewer"
49msgstr "G3DViewer"
50
51#: glade/g3dviewer.glade:42
52msgid "_File"
53msgstr "_Datei"
54
55#: glade/g3dviewer.glade:75
56msgid "_Screenshot"
57msgstr ""
58
59#: glade/g3dviewer.glade:115
60msgid "_View"
61msgstr "_Ansicht"
62
63#: glade/g3dviewer.glade:124
64msgid "Show _menu bar"
65msgstr "_Menüleiste zeigen"
66
67#: glade/g3dviewer.glade:134
68msgid "Show t_ool bar"
69msgstr "_Werkzeugleiste zeigen"
70
71#: glade/g3dviewer.glade:144
72msgid "_Fullscreen"
73msgstr ""
74
75#: glade/g3dviewer.glade:176
76msgid "_Wireframe"
77msgstr "_Drahtgitter"
78
79#: glade/g3dviewer.glade:186
80msgid "_Specular lighting"
81msgstr "_Spiegelndes Licht"
82
83#: glade/g3dviewer.glade:196
84msgid "S_hininess"
85msgstr "Glanz"
86
87#: glade/g3dviewer.glade:206
88msgid "T_wo-sided faces"
89msgstr "_Beidseitige Flächen"
90
91#: glade/g3dviewer.glade:216
92msgid "_Textures"
93msgstr "_Texturen"
94
95#: glade/g3dviewer.glade:232
96msgid "_Background color"
97msgstr "Hintergrund_farbe"
98
99#: glade/g3dviewer.glade:257
100msgid "_Help"
101msgstr "_Hilfe"
102
103#: glade/g3dviewer.glade:266
104msgid "_Info"
105msgstr "_Info"
106
107#: glade/g3dviewer.glade:430
108msgid "Model Properties"
109msgstr "Modelleigenschaften"
110
111#: glade/g3dviewer.glade:521
112msgid "Parts"
113msgstr "Teile"
114
115#: glade/g3dviewer.glade:660
116msgid "Protocol"
117msgstr ""
118
119#: glade/g3dviewer.glade:725
120msgid "About G3DViewer"
121msgstr "Ãœber G3DViewer"
122
123#: glade/g3dviewer.glade:779
124#, fuzzy
125msgid "<b>About G3DViewer</b>"
126msgstr "Ãœber G3DViewer"
127
128#: glade/g3dviewer.glade:821
129#, fuzzy
130msgid ""
131"<span foreground=\"blue\">http://automagically.de/?g3dviewer</span>\n"
132"\n"
133"(C) 2005, 2006 Markus Dahms\n"
134"&lt;mad@automagically.de&gt;"
135msgstr ""
136"<b>Ãœber G3DViewer</b>\n"
137"\n"
138"<span foreground=\"blue\">http://automagically.de/?g3dviewer</span>\n"
139"\n"
140"(C) 2005, 2006 Markus Dahms\n"
141"&lt;mad@automagically.de&gt;"
142
143#: glade/g3dviewer.glade:855
144msgid "Open Model"
145msgstr "Modell öffnen"
146
147#: glade/g3dviewer.glade:919
148msgid "Select background color"
149msgstr "Hintergrundfarbe wählen"
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/po/g3dviewer.pot b/src/others/mimesh/g3dviewer-0.2.99.4/po/g3dviewer.pot
new file mode 100644
index 0000000..a545349
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/po/g3dviewer.pot
@@ -0,0 +1,141 @@
1# SOME DESCRIPTIVE TITLE.
2# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3# This file is distributed under the same license as the PACKAGE package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5#
6#, fuzzy
7msgid ""
8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2006-11-15 10:56+0100\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"
15"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=CHARSET\n"
17"Content-Transfer-Encoding: 8bit\n"
18
19#: src/gui_glade.c:67
20msgid "all files"
21msgstr ""
22
23#: src/gui_infowin.c:310
24msgid "(unnamed material)"
25msgstr ""
26
27#: src/gui_infowin.c:331
28msgid "color"
29msgstr ""
30
31#: src/gui_infowin.c:379
32msgid "number of vertices"
33msgstr ""
34
35#: src/gui_infowin.c:391
36msgid "number of faces"
37msgstr ""
38
39#: src/gui_infowin.c:403
40msgid "number of materials"
41msgstr ""
42
43#: src/gui_infowin.c:430
44msgid "model"
45msgstr ""
46
47#: glade/g3dviewer.glade:8
48msgid "G3DViewer"
49msgstr ""
50
51#: glade/g3dviewer.glade:42
52msgid "_File"
53msgstr ""
54
55#: glade/g3dviewer.glade:75
56msgid "_Screenshot"
57msgstr ""
58
59#: glade/g3dviewer.glade:115
60msgid "_View"
61msgstr ""
62
63#: glade/g3dviewer.glade:124
64msgid "Show _menu bar"
65msgstr ""
66
67#: glade/g3dviewer.glade:134
68msgid "Show t_ool bar"
69msgstr ""
70
71#: glade/g3dviewer.glade:144
72msgid "_Fullscreen"
73msgstr ""
74
75#: glade/g3dviewer.glade:176
76msgid "_Wireframe"
77msgstr ""
78
79#: glade/g3dviewer.glade:186
80msgid "_Specular lighting"
81msgstr ""
82
83#: glade/g3dviewer.glade:196
84msgid "S_hininess"
85msgstr ""
86
87#: glade/g3dviewer.glade:206
88msgid "T_wo-sided faces"
89msgstr ""
90
91#: glade/g3dviewer.glade:216
92msgid "_Textures"
93msgstr ""
94
95#: glade/g3dviewer.glade:232
96msgid "_Background color"
97msgstr ""
98
99#: glade/g3dviewer.glade:257
100msgid "_Help"
101msgstr ""
102
103#: glade/g3dviewer.glade:266
104msgid "_Info"
105msgstr ""
106
107#: glade/g3dviewer.glade:430
108msgid "Model Properties"
109msgstr ""
110
111#: glade/g3dviewer.glade:521
112msgid "Parts"
113msgstr ""
114
115#: glade/g3dviewer.glade:660
116msgid "Protocol"
117msgstr ""
118
119#: glade/g3dviewer.glade:725
120msgid "About G3DViewer"
121msgstr ""
122
123#: glade/g3dviewer.glade:779
124msgid "<b>About G3DViewer</b>"
125msgstr ""
126
127#: glade/g3dviewer.glade:821
128msgid ""
129"<span foreground=\"blue\">http://automagically.de/?g3dviewer</span>\n"
130"\n"
131"(C) 2005, 2006 Markus Dahms\n"
132"&lt;mad@automagically.de&gt;"
133msgstr ""
134
135#: glade/g3dviewer.glade:855
136msgid "Open Model"
137msgstr ""
138
139#: glade/g3dviewer.glade:919
140msgid "Select background color"
141msgstr ""
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile
new file mode 100644
index 0000000..b7650a7
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile
@@ -0,0 +1,719 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# src/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127
128datadir = ${datarootdir}
129datarootdir = ${prefix}/share
130docdir = ${datarootdir}/doc/${PACKAGE}
131dvidir = ${docdir}
132exec_prefix = ${prefix}
133host_alias =
134htmldir = ${docdir}
135includedir = ${prefix}/include
136infodir = ${datarootdir}/info
137install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
138libdir = ${exec_prefix}/lib
139libexecdir = ${exec_prefix}/libexec
140localedir = $(datadir)/locale
141localstatedir = ${prefix}/var
142mandir = ${datarootdir}/man
143oldincludedir = /usr/include
144pdfdir = ${docdir}
145prefix = /usr/local
146program_transform_name = s,x,x,
147psdir = ${docdir}
148sbindir = ${exec_prefix}/sbin
149sharedstatedir = ${prefix}/com
150sysconfdir = ${prefix}/etc
151target_alias =
152bin_PROGRAMS = g3dviewer
153
154g3dviewer_SOURCES = \
155 main.c main.h \
156 gl.c gl.h \
157 glarea.h glarea.c \
158 trackball.c trackball.h \
159 gui_glade.c gui_glade.h \
160 gui_infowin.c gui_infowin.h \
161 gui_log.c gui_log.h \
162 screenshot.c screenshot.h \
163 gui_callbacks.c \
164 texture.c texture.h \
165 model.h model.c
166
167
168g3dviewer_CFLAGS = \
169 -I$(top_srcdir) -I$(top_builddir) \
170 -Wall -ansi \
171 -DLOCALEDIR=\"$(localedir)\" \
172 -O2 \
173 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include \
174 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 \
175 \
176 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include \
177 -DDEBUG=0
178
179
180g3dviewer_LDFLAGS = \
181 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 \
182 -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -lg3d -lglib-2.0
183
184subdir = src
185ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
186mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
187CONFIG_HEADER = $(top_builddir)/config.h
188CONFIG_CLEAN_FILES =
189bin_PROGRAMS = g3dviewer$(EXEEXT)
190PROGRAMS = $(bin_PROGRAMS)
191
192am_g3dviewer_OBJECTS = g3dviewer-main.$(OBJEXT) g3dviewer-gl.$(OBJEXT) \
193 g3dviewer-glarea.$(OBJEXT) g3dviewer-trackball.$(OBJEXT) \
194 g3dviewer-gui_glade.$(OBJEXT) g3dviewer-gui_infowin.$(OBJEXT) \
195 g3dviewer-gui_log.$(OBJEXT) g3dviewer-screenshot.$(OBJEXT) \
196 g3dviewer-gui_callbacks.$(OBJEXT) g3dviewer-texture.$(OBJEXT) \
197 g3dviewer-model.$(OBJEXT)
198g3dviewer_OBJECTS = $(am_g3dviewer_OBJECTS)
199g3dviewer_LDADD = $(LDADD)
200g3dviewer_DEPENDENCIES =
201
202DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
203depcomp = $(SHELL) $(top_srcdir)/depcomp
204am__depfiles_maybe = depfiles
205DEP_FILES = ./$(DEPDIR)/g3dviewer-gl.Po \
206 ./$(DEPDIR)/g3dviewer-glarea.Po \
207 ./$(DEPDIR)/g3dviewer-gui_callbacks.Po \
208 ./$(DEPDIR)/g3dviewer-gui_glade.Po \
209 ./$(DEPDIR)/g3dviewer-gui_infowin.Po \
210 ./$(DEPDIR)/g3dviewer-gui_log.Po \
211 ./$(DEPDIR)/g3dviewer-main.Po \
212 ./$(DEPDIR)/g3dviewer-model.Po \
213 ./$(DEPDIR)/g3dviewer-screenshot.Po \
214 ./$(DEPDIR)/g3dviewer-texture.Po \
215 ./$(DEPDIR)/g3dviewer-trackball.Po
216COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
217 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
218CCLD = $(CC)
219LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
220DIST_SOURCES = $(g3dviewer_SOURCES)
221DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
222SOURCES = $(g3dviewer_SOURCES)
223
224all: all-am
225
226.SUFFIXES:
227.SUFFIXES: .c .o .obj
228$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
229 cd $(top_srcdir) && \
230 $(AUTOMAKE) --gnu src/Makefile
231Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
232 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
233binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
234install-binPROGRAMS: $(bin_PROGRAMS)
235 @$(NORMAL_INSTALL)
236 $(mkinstalldirs) $(DESTDIR)$(bindir)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
239 if test -f $$p \
240 ; then \
241 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
242 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
243 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
244 else :; fi; \
245 done
246
247uninstall-binPROGRAMS:
248 @$(NORMAL_UNINSTALL)
249 @list='$(bin_PROGRAMS)'; for p in $$list; do \
250 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
251 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
252 rm -f $(DESTDIR)$(bindir)/$$f; \
253 done
254
255clean-binPROGRAMS:
256 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
257g3dviewer$(EXEEXT): $(g3dviewer_OBJECTS) $(g3dviewer_DEPENDENCIES)
258 @rm -f g3dviewer$(EXEEXT)
259 $(LINK) $(g3dviewer_LDFLAGS) $(g3dviewer_OBJECTS) $(g3dviewer_LDADD) $(LIBS)
260
261mostlyclean-compile:
262 -rm -f *.$(OBJEXT) core *.core
263
264distclean-compile:
265 -rm -f *.tab.c
266
267include ./$(DEPDIR)/g3dviewer-gl.Po
268include ./$(DEPDIR)/g3dviewer-glarea.Po
269include ./$(DEPDIR)/g3dviewer-gui_callbacks.Po
270include ./$(DEPDIR)/g3dviewer-gui_glade.Po
271include ./$(DEPDIR)/g3dviewer-gui_infowin.Po
272include ./$(DEPDIR)/g3dviewer-gui_log.Po
273include ./$(DEPDIR)/g3dviewer-main.Po
274include ./$(DEPDIR)/g3dviewer-model.Po
275include ./$(DEPDIR)/g3dviewer-screenshot.Po
276include ./$(DEPDIR)/g3dviewer-texture.Po
277include ./$(DEPDIR)/g3dviewer-trackball.Po
278
279.c.o:
280 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
281 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
282 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
283 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
284 fi
285# source='$<' object='$@' libtool=no \
286# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
287# $(CCDEPMODE) $(depcomp) \
288# $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
289
290.c.obj:
291 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
292 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
293 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
294 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
295 fi
296# source='$<' object='$@' libtool=no \
297# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
298# $(CCDEPMODE) $(depcomp) \
299# $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
300
301g3dviewer-main.o: main.c
302 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-main.o -MD -MP -MF "$(DEPDIR)/g3dviewer-main.Tpo" \
303 -c -o g3dviewer-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c; \
304 then mv -f "$(DEPDIR)/g3dviewer-main.Tpo" "$(DEPDIR)/g3dviewer-main.Po"; \
305 else rm -f "$(DEPDIR)/g3dviewer-main.Tpo"; exit 1; \
306 fi
307# source='main.c' object='g3dviewer-main.o' libtool=no \
308# depfile='$(DEPDIR)/g3dviewer-main.Po' tmpdepfile='$(DEPDIR)/g3dviewer-main.TPo' \
309# $(CCDEPMODE) $(depcomp) \
310# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
311
312g3dviewer-main.obj: main.c
313 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-main.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-main.Tpo" \
314 -c -o g3dviewer-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`; \
315 then mv -f "$(DEPDIR)/g3dviewer-main.Tpo" "$(DEPDIR)/g3dviewer-main.Po"; \
316 else rm -f "$(DEPDIR)/g3dviewer-main.Tpo"; exit 1; \
317 fi
318# source='main.c' object='g3dviewer-main.obj' libtool=no \
319# depfile='$(DEPDIR)/g3dviewer-main.Po' tmpdepfile='$(DEPDIR)/g3dviewer-main.TPo' \
320# $(CCDEPMODE) $(depcomp) \
321# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
322
323g3dviewer-gl.o: gl.c
324 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gl.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gl.Tpo" \
325 -c -o g3dviewer-gl.o `test -f 'gl.c' || echo '$(srcdir)/'`gl.c; \
326 then mv -f "$(DEPDIR)/g3dviewer-gl.Tpo" "$(DEPDIR)/g3dviewer-gl.Po"; \
327 else rm -f "$(DEPDIR)/g3dviewer-gl.Tpo"; exit 1; \
328 fi
329# source='gl.c' object='g3dviewer-gl.o' libtool=no \
330# depfile='$(DEPDIR)/g3dviewer-gl.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gl.TPo' \
331# $(CCDEPMODE) $(depcomp) \
332# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gl.o `test -f 'gl.c' || echo '$(srcdir)/'`gl.c
333
334g3dviewer-gl.obj: gl.c
335 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gl.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gl.Tpo" \
336 -c -o g3dviewer-gl.obj `if test -f 'gl.c'; then $(CYGPATH_W) 'gl.c'; else $(CYGPATH_W) '$(srcdir)/gl.c'; fi`; \
337 then mv -f "$(DEPDIR)/g3dviewer-gl.Tpo" "$(DEPDIR)/g3dviewer-gl.Po"; \
338 else rm -f "$(DEPDIR)/g3dviewer-gl.Tpo"; exit 1; \
339 fi
340# source='gl.c' object='g3dviewer-gl.obj' libtool=no \
341# depfile='$(DEPDIR)/g3dviewer-gl.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gl.TPo' \
342# $(CCDEPMODE) $(depcomp) \
343# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gl.obj `if test -f 'gl.c'; then $(CYGPATH_W) 'gl.c'; else $(CYGPATH_W) '$(srcdir)/gl.c'; fi`
344
345g3dviewer-glarea.o: glarea.c
346 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-glarea.o -MD -MP -MF "$(DEPDIR)/g3dviewer-glarea.Tpo" \
347 -c -o g3dviewer-glarea.o `test -f 'glarea.c' || echo '$(srcdir)/'`glarea.c; \
348 then mv -f "$(DEPDIR)/g3dviewer-glarea.Tpo" "$(DEPDIR)/g3dviewer-glarea.Po"; \
349 else rm -f "$(DEPDIR)/g3dviewer-glarea.Tpo"; exit 1; \
350 fi
351# source='glarea.c' object='g3dviewer-glarea.o' libtool=no \
352# depfile='$(DEPDIR)/g3dviewer-glarea.Po' tmpdepfile='$(DEPDIR)/g3dviewer-glarea.TPo' \
353# $(CCDEPMODE) $(depcomp) \
354# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-glarea.o `test -f 'glarea.c' || echo '$(srcdir)/'`glarea.c
355
356g3dviewer-glarea.obj: glarea.c
357 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-glarea.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-glarea.Tpo" \
358 -c -o g3dviewer-glarea.obj `if test -f 'glarea.c'; then $(CYGPATH_W) 'glarea.c'; else $(CYGPATH_W) '$(srcdir)/glarea.c'; fi`; \
359 then mv -f "$(DEPDIR)/g3dviewer-glarea.Tpo" "$(DEPDIR)/g3dviewer-glarea.Po"; \
360 else rm -f "$(DEPDIR)/g3dviewer-glarea.Tpo"; exit 1; \
361 fi
362# source='glarea.c' object='g3dviewer-glarea.obj' libtool=no \
363# depfile='$(DEPDIR)/g3dviewer-glarea.Po' tmpdepfile='$(DEPDIR)/g3dviewer-glarea.TPo' \
364# $(CCDEPMODE) $(depcomp) \
365# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-glarea.obj `if test -f 'glarea.c'; then $(CYGPATH_W) 'glarea.c'; else $(CYGPATH_W) '$(srcdir)/glarea.c'; fi`
366
367g3dviewer-trackball.o: trackball.c
368 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-trackball.o -MD -MP -MF "$(DEPDIR)/g3dviewer-trackball.Tpo" \
369 -c -o g3dviewer-trackball.o `test -f 'trackball.c' || echo '$(srcdir)/'`trackball.c; \
370 then mv -f "$(DEPDIR)/g3dviewer-trackball.Tpo" "$(DEPDIR)/g3dviewer-trackball.Po"; \
371 else rm -f "$(DEPDIR)/g3dviewer-trackball.Tpo"; exit 1; \
372 fi
373# source='trackball.c' object='g3dviewer-trackball.o' libtool=no \
374# depfile='$(DEPDIR)/g3dviewer-trackball.Po' tmpdepfile='$(DEPDIR)/g3dviewer-trackball.TPo' \
375# $(CCDEPMODE) $(depcomp) \
376# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-trackball.o `test -f 'trackball.c' || echo '$(srcdir)/'`trackball.c
377
378g3dviewer-trackball.obj: trackball.c
379 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-trackball.Tpo" \
380 -c -o g3dviewer-trackball.obj `if test -f 'trackball.c'; then $(CYGPATH_W) 'trackball.c'; else $(CYGPATH_W) '$(srcdir)/trackball.c'; fi`; \
381 then mv -f "$(DEPDIR)/g3dviewer-trackball.Tpo" "$(DEPDIR)/g3dviewer-trackball.Po"; \
382 else rm -f "$(DEPDIR)/g3dviewer-trackball.Tpo"; exit 1; \
383 fi
384# source='trackball.c' object='g3dviewer-trackball.obj' libtool=no \
385# depfile='$(DEPDIR)/g3dviewer-trackball.Po' tmpdepfile='$(DEPDIR)/g3dviewer-trackball.TPo' \
386# $(CCDEPMODE) $(depcomp) \
387# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-trackball.obj `if test -f 'trackball.c'; then $(CYGPATH_W) 'trackball.c'; else $(CYGPATH_W) '$(srcdir)/trackball.c'; fi`
388
389g3dviewer-gui_glade.o: gui_glade.c
390 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_glade.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_glade.Tpo" \
391 -c -o g3dviewer-gui_glade.o `test -f 'gui_glade.c' || echo '$(srcdir)/'`gui_glade.c; \
392 then mv -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo" "$(DEPDIR)/g3dviewer-gui_glade.Po"; \
393 else rm -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo"; exit 1; \
394 fi
395# source='gui_glade.c' object='g3dviewer-gui_glade.o' libtool=no \
396# depfile='$(DEPDIR)/g3dviewer-gui_glade.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_glade.TPo' \
397# $(CCDEPMODE) $(depcomp) \
398# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_glade.o `test -f 'gui_glade.c' || echo '$(srcdir)/'`gui_glade.c
399
400g3dviewer-gui_glade.obj: gui_glade.c
401 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_glade.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_glade.Tpo" \
402 -c -o g3dviewer-gui_glade.obj `if test -f 'gui_glade.c'; then $(CYGPATH_W) 'gui_glade.c'; else $(CYGPATH_W) '$(srcdir)/gui_glade.c'; fi`; \
403 then mv -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo" "$(DEPDIR)/g3dviewer-gui_glade.Po"; \
404 else rm -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo"; exit 1; \
405 fi
406# source='gui_glade.c' object='g3dviewer-gui_glade.obj' libtool=no \
407# depfile='$(DEPDIR)/g3dviewer-gui_glade.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_glade.TPo' \
408# $(CCDEPMODE) $(depcomp) \
409# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_glade.obj `if test -f 'gui_glade.c'; then $(CYGPATH_W) 'gui_glade.c'; else $(CYGPATH_W) '$(srcdir)/gui_glade.c'; fi`
410
411g3dviewer-gui_infowin.o: gui_infowin.c
412 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_infowin.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" \
413 -c -o g3dviewer-gui_infowin.o `test -f 'gui_infowin.c' || echo '$(srcdir)/'`gui_infowin.c; \
414 then mv -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" "$(DEPDIR)/g3dviewer-gui_infowin.Po"; \
415 else rm -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo"; exit 1; \
416 fi
417# source='gui_infowin.c' object='g3dviewer-gui_infowin.o' libtool=no \
418# depfile='$(DEPDIR)/g3dviewer-gui_infowin.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_infowin.TPo' \
419# $(CCDEPMODE) $(depcomp) \
420# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_infowin.o `test -f 'gui_infowin.c' || echo '$(srcdir)/'`gui_infowin.c
421
422g3dviewer-gui_infowin.obj: gui_infowin.c
423 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_infowin.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" \
424 -c -o g3dviewer-gui_infowin.obj `if test -f 'gui_infowin.c'; then $(CYGPATH_W) 'gui_infowin.c'; else $(CYGPATH_W) '$(srcdir)/gui_infowin.c'; fi`; \
425 then mv -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" "$(DEPDIR)/g3dviewer-gui_infowin.Po"; \
426 else rm -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo"; exit 1; \
427 fi
428# source='gui_infowin.c' object='g3dviewer-gui_infowin.obj' libtool=no \
429# depfile='$(DEPDIR)/g3dviewer-gui_infowin.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_infowin.TPo' \
430# $(CCDEPMODE) $(depcomp) \
431# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_infowin.obj `if test -f 'gui_infowin.c'; then $(CYGPATH_W) 'gui_infowin.c'; else $(CYGPATH_W) '$(srcdir)/gui_infowin.c'; fi`
432
433g3dviewer-gui_log.o: gui_log.c
434 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_log.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_log.Tpo" \
435 -c -o g3dviewer-gui_log.o `test -f 'gui_log.c' || echo '$(srcdir)/'`gui_log.c; \
436 then mv -f "$(DEPDIR)/g3dviewer-gui_log.Tpo" "$(DEPDIR)/g3dviewer-gui_log.Po"; \
437 else rm -f "$(DEPDIR)/g3dviewer-gui_log.Tpo"; exit 1; \
438 fi
439# source='gui_log.c' object='g3dviewer-gui_log.o' libtool=no \
440# depfile='$(DEPDIR)/g3dviewer-gui_log.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_log.TPo' \
441# $(CCDEPMODE) $(depcomp) \
442# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_log.o `test -f 'gui_log.c' || echo '$(srcdir)/'`gui_log.c
443
444g3dviewer-gui_log.obj: gui_log.c
445 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_log.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_log.Tpo" \
446 -c -o g3dviewer-gui_log.obj `if test -f 'gui_log.c'; then $(CYGPATH_W) 'gui_log.c'; else $(CYGPATH_W) '$(srcdir)/gui_log.c'; fi`; \
447 then mv -f "$(DEPDIR)/g3dviewer-gui_log.Tpo" "$(DEPDIR)/g3dviewer-gui_log.Po"; \
448 else rm -f "$(DEPDIR)/g3dviewer-gui_log.Tpo"; exit 1; \
449 fi
450# source='gui_log.c' object='g3dviewer-gui_log.obj' libtool=no \
451# depfile='$(DEPDIR)/g3dviewer-gui_log.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_log.TPo' \
452# $(CCDEPMODE) $(depcomp) \
453# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_log.obj `if test -f 'gui_log.c'; then $(CYGPATH_W) 'gui_log.c'; else $(CYGPATH_W) '$(srcdir)/gui_log.c'; fi`
454
455g3dviewer-screenshot.o: screenshot.c
456 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3dviewer-screenshot.Tpo" \
457 -c -o g3dviewer-screenshot.o `test -f 'screenshot.c' || echo '$(srcdir)/'`screenshot.c; \
458 then mv -f "$(DEPDIR)/g3dviewer-screenshot.Tpo" "$(DEPDIR)/g3dviewer-screenshot.Po"; \
459 else rm -f "$(DEPDIR)/g3dviewer-screenshot.Tpo"; exit 1; \
460 fi
461# source='screenshot.c' object='g3dviewer-screenshot.o' libtool=no \
462# depfile='$(DEPDIR)/g3dviewer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3dviewer-screenshot.TPo' \
463# $(CCDEPMODE) $(depcomp) \
464# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-screenshot.o `test -f 'screenshot.c' || echo '$(srcdir)/'`screenshot.c
465
466g3dviewer-screenshot.obj: screenshot.c
467 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-screenshot.Tpo" \
468 -c -o g3dviewer-screenshot.obj `if test -f 'screenshot.c'; then $(CYGPATH_W) 'screenshot.c'; else $(CYGPATH_W) '$(srcdir)/screenshot.c'; fi`; \
469 then mv -f "$(DEPDIR)/g3dviewer-screenshot.Tpo" "$(DEPDIR)/g3dviewer-screenshot.Po"; \
470 else rm -f "$(DEPDIR)/g3dviewer-screenshot.Tpo"; exit 1; \
471 fi
472# source='screenshot.c' object='g3dviewer-screenshot.obj' libtool=no \
473# depfile='$(DEPDIR)/g3dviewer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3dviewer-screenshot.TPo' \
474# $(CCDEPMODE) $(depcomp) \
475# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-screenshot.obj `if test -f 'screenshot.c'; then $(CYGPATH_W) 'screenshot.c'; else $(CYGPATH_W) '$(srcdir)/screenshot.c'; fi`
476
477g3dviewer-gui_callbacks.o: gui_callbacks.c
478 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_callbacks.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" \
479 -c -o g3dviewer-gui_callbacks.o `test -f 'gui_callbacks.c' || echo '$(srcdir)/'`gui_callbacks.c; \
480 then mv -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" "$(DEPDIR)/g3dviewer-gui_callbacks.Po"; \
481 else rm -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo"; exit 1; \
482 fi
483# source='gui_callbacks.c' object='g3dviewer-gui_callbacks.o' libtool=no \
484# depfile='$(DEPDIR)/g3dviewer-gui_callbacks.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_callbacks.TPo' \
485# $(CCDEPMODE) $(depcomp) \
486# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_callbacks.o `test -f 'gui_callbacks.c' || echo '$(srcdir)/'`gui_callbacks.c
487
488g3dviewer-gui_callbacks.obj: gui_callbacks.c
489 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_callbacks.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" \
490 -c -o g3dviewer-gui_callbacks.obj `if test -f 'gui_callbacks.c'; then $(CYGPATH_W) 'gui_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/gui_callbacks.c'; fi`; \
491 then mv -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" "$(DEPDIR)/g3dviewer-gui_callbacks.Po"; \
492 else rm -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo"; exit 1; \
493 fi
494# source='gui_callbacks.c' object='g3dviewer-gui_callbacks.obj' libtool=no \
495# depfile='$(DEPDIR)/g3dviewer-gui_callbacks.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_callbacks.TPo' \
496# $(CCDEPMODE) $(depcomp) \
497# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_callbacks.obj `if test -f 'gui_callbacks.c'; then $(CYGPATH_W) 'gui_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/gui_callbacks.c'; fi`
498
499g3dviewer-texture.o: texture.c
500 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-texture.o -MD -MP -MF "$(DEPDIR)/g3dviewer-texture.Tpo" \
501 -c -o g3dviewer-texture.o `test -f 'texture.c' || echo '$(srcdir)/'`texture.c; \
502 then mv -f "$(DEPDIR)/g3dviewer-texture.Tpo" "$(DEPDIR)/g3dviewer-texture.Po"; \
503 else rm -f "$(DEPDIR)/g3dviewer-texture.Tpo"; exit 1; \
504 fi
505# source='texture.c' object='g3dviewer-texture.o' libtool=no \
506# depfile='$(DEPDIR)/g3dviewer-texture.Po' tmpdepfile='$(DEPDIR)/g3dviewer-texture.TPo' \
507# $(CCDEPMODE) $(depcomp) \
508# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-texture.o `test -f 'texture.c' || echo '$(srcdir)/'`texture.c
509
510g3dviewer-texture.obj: texture.c
511 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-texture.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-texture.Tpo" \
512 -c -o g3dviewer-texture.obj `if test -f 'texture.c'; then $(CYGPATH_W) 'texture.c'; else $(CYGPATH_W) '$(srcdir)/texture.c'; fi`; \
513 then mv -f "$(DEPDIR)/g3dviewer-texture.Tpo" "$(DEPDIR)/g3dviewer-texture.Po"; \
514 else rm -f "$(DEPDIR)/g3dviewer-texture.Tpo"; exit 1; \
515 fi
516# source='texture.c' object='g3dviewer-texture.obj' libtool=no \
517# depfile='$(DEPDIR)/g3dviewer-texture.Po' tmpdepfile='$(DEPDIR)/g3dviewer-texture.TPo' \
518# $(CCDEPMODE) $(depcomp) \
519# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-texture.obj `if test -f 'texture.c'; then $(CYGPATH_W) 'texture.c'; else $(CYGPATH_W) '$(srcdir)/texture.c'; fi`
520
521g3dviewer-model.o: model.c
522 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-model.o -MD -MP -MF "$(DEPDIR)/g3dviewer-model.Tpo" \
523 -c -o g3dviewer-model.o `test -f 'model.c' || echo '$(srcdir)/'`model.c; \
524 then mv -f "$(DEPDIR)/g3dviewer-model.Tpo" "$(DEPDIR)/g3dviewer-model.Po"; \
525 else rm -f "$(DEPDIR)/g3dviewer-model.Tpo"; exit 1; \
526 fi
527# source='model.c' object='g3dviewer-model.o' libtool=no \
528# depfile='$(DEPDIR)/g3dviewer-model.Po' tmpdepfile='$(DEPDIR)/g3dviewer-model.TPo' \
529# $(CCDEPMODE) $(depcomp) \
530# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-model.o `test -f 'model.c' || echo '$(srcdir)/'`model.c
531
532g3dviewer-model.obj: model.c
533 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-model.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-model.Tpo" \
534 -c -o g3dviewer-model.obj `if test -f 'model.c'; then $(CYGPATH_W) 'model.c'; else $(CYGPATH_W) '$(srcdir)/model.c'; fi`; \
535 then mv -f "$(DEPDIR)/g3dviewer-model.Tpo" "$(DEPDIR)/g3dviewer-model.Po"; \
536 else rm -f "$(DEPDIR)/g3dviewer-model.Tpo"; exit 1; \
537 fi
538# source='model.c' object='g3dviewer-model.obj' libtool=no \
539# depfile='$(DEPDIR)/g3dviewer-model.Po' tmpdepfile='$(DEPDIR)/g3dviewer-model.TPo' \
540# $(CCDEPMODE) $(depcomp) \
541# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-model.obj `if test -f 'model.c'; then $(CYGPATH_W) 'model.c'; else $(CYGPATH_W) '$(srcdir)/model.c'; fi`
542uninstall-info-am:
543
544ETAGS = etags
545ETAGSFLAGS =
546
547CTAGS = ctags
548CTAGSFLAGS =
549
550tags: TAGS
551
552ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
553 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
554 unique=`for i in $$list; do \
555 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
556 done | \
557 $(AWK) ' { files[$$0] = 1; } \
558 END { for (i in files) print i; }'`; \
559 mkid -fID $$unique
560
561TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
562 $(TAGS_FILES) $(LISP)
563 tags=; \
564 here=`pwd`; \
565 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
566 unique=`for i in $$list; do \
567 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
568 done | \
569 $(AWK) ' { files[$$0] = 1; } \
570 END { for (i in files) print i; }'`; \
571 test -z "$(ETAGS_ARGS)$$tags$$unique" \
572 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
573 $$tags $$unique
574
575ctags: CTAGS
576CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
577 $(TAGS_FILES) $(LISP)
578 tags=; \
579 here=`pwd`; \
580 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
581 unique=`for i in $$list; do \
582 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
583 done | \
584 $(AWK) ' { files[$$0] = 1; } \
585 END { for (i in files) print i; }'`; \
586 test -z "$(CTAGS_ARGS)$$tags$$unique" \
587 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
588 $$tags $$unique
589
590GTAGS:
591 here=`$(am__cd) $(top_builddir) && pwd` \
592 && cd $(top_srcdir) \
593 && gtags -i $(GTAGS_ARGS) $$here
594
595distclean-tags:
596 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
597DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
598
599top_distdir = ..
600distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
601
602distdir: $(DISTFILES)
603 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
604 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
605 list='$(DISTFILES)'; for file in $$list; do \
606 case $$file in \
607 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
608 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
609 esac; \
610 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
611 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
612 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
613 dir="/$$dir"; \
614 $(mkinstalldirs) "$(distdir)$$dir"; \
615 else \
616 dir=''; \
617 fi; \
618 if test -d $$d/$$file; then \
619 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
620 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
621 fi; \
622 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
623 else \
624 test -f $(distdir)/$$file \
625 || cp -p $$d/$$file $(distdir)/$$file \
626 || exit 1; \
627 fi; \
628 done
629check-am: all-am
630check: check-am
631all-am: Makefile $(PROGRAMS)
632
633installdirs:
634 $(mkinstalldirs) $(DESTDIR)$(bindir)
635install: install-am
636install-exec: install-exec-am
637install-data: install-data-am
638uninstall: uninstall-am
639
640install-am: all-am
641 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
642
643installcheck: installcheck-am
644install-strip:
645 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
646 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
647 `test -z '$(STRIP)' || \
648 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
649mostlyclean-generic:
650
651clean-generic:
652
653distclean-generic:
654 -rm -f $(CONFIG_CLEAN_FILES)
655
656maintainer-clean-generic:
657 @echo "This command is intended for maintainers to use"
658 @echo "it deletes files that may require special tools to rebuild."
659clean: clean-am
660
661clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
662
663distclean: distclean-am
664 -rm -rf ./$(DEPDIR)
665 -rm -f Makefile
666distclean-am: clean-am distclean-compile distclean-generic \
667 distclean-tags
668
669dvi: dvi-am
670
671dvi-am:
672
673info: info-am
674
675info-am:
676
677install-data-am:
678
679install-exec-am: install-binPROGRAMS
680
681install-info: install-info-am
682
683install-man:
684
685installcheck-am:
686
687maintainer-clean: maintainer-clean-am
688 -rm -rf ./$(DEPDIR)
689 -rm -f Makefile
690maintainer-clean-am: distclean-am maintainer-clean-generic
691
692mostlyclean: mostlyclean-am
693
694mostlyclean-am: mostlyclean-compile mostlyclean-generic
695
696pdf: pdf-am
697
698pdf-am:
699
700ps: ps-am
701
702ps-am:
703
704uninstall-am: uninstall-binPROGRAMS uninstall-info-am
705
706.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
707 clean-generic ctags distclean distclean-compile \
708 distclean-generic distclean-tags distdir dvi dvi-am info \
709 info-am install install-am install-binPROGRAMS install-data \
710 install-data-am install-exec install-exec-am install-info \
711 install-info-am install-man install-strip installcheck \
712 installcheck-am installdirs maintainer-clean \
713 maintainer-clean-generic mostlyclean mostlyclean-compile \
714 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
715 uninstall-am uninstall-binPROGRAMS uninstall-info-am
716
717# Tell versions [3.59,3.63) of GNU make to not export all variables.
718# Otherwise a system limit (for SysV at least) may be exceeded.
719.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.am
new file mode 100644
index 0000000..db6581f
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.am
@@ -0,0 +1,33 @@
1bin_PROGRAMS = g3dviewer
2
3datadir = @datadir@
4localedir = $(datadir)/locale
5
6g3dviewer_SOURCES = \
7 main.c main.h \
8 gl.c gl.h \
9 glarea.h glarea.c \
10 trackball.c trackball.h \
11 gui_glade.c gui_glade.h \
12 gui_infowin.c gui_infowin.h \
13 gui_log.c gui_log.h \
14 screenshot.c screenshot.h \
15 gui_callbacks.c \
16 texture.c texture.h \
17 model.h model.c
18
19g3dviewer_CFLAGS = \
20 -I$(top_srcdir) -I$(top_builddir) \
21 -Wall -ansi \
22 -DLOCALEDIR=\"$(localedir)\" \
23 @DBG_CFLAGS@ \
24 @GLIB_CFLAGS@ @GTK_CFLAGS@ @GTKGLEXT_CFLAGS@ \
25 @LIBGLADE_CFLAGS@ \
26 @X_CFLAGS@ \
27 @LIBG3D_CFLAGS@ \
28 -DDEBUG=@DEBUG@
29
30g3dviewer_LDFLAGS = \
31 @GTK_LIBS@ @LIBGLADE_LIBS@ \
32 @GTKGLEXT_LIBS@ @X_LIBS@ @GL_LIBS@ @LIBG3D_LIBS@
33
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.in
new file mode 100644
index 0000000..b623046
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/Makefile.in
@@ -0,0 +1,719 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127
128datadir = @datadir@
129datarootdir = @datarootdir@
130docdir = @docdir@
131dvidir = @dvidir@
132exec_prefix = @exec_prefix@
133host_alias = @host_alias@
134htmldir = @htmldir@
135includedir = @includedir@
136infodir = @infodir@
137install_sh = @install_sh@
138libdir = @libdir@
139libexecdir = @libexecdir@
140localedir = $(datadir)/locale
141localstatedir = @localstatedir@
142mandir = @mandir@
143oldincludedir = @oldincludedir@
144pdfdir = @pdfdir@
145prefix = @prefix@
146program_transform_name = @program_transform_name@
147psdir = @psdir@
148sbindir = @sbindir@
149sharedstatedir = @sharedstatedir@
150sysconfdir = @sysconfdir@
151target_alias = @target_alias@
152bin_PROGRAMS = g3dviewer
153
154g3dviewer_SOURCES = \
155 main.c main.h \
156 gl.c gl.h \
157 glarea.h glarea.c \
158 trackball.c trackball.h \
159 gui_glade.c gui_glade.h \
160 gui_infowin.c gui_infowin.h \
161 gui_log.c gui_log.h \
162 screenshot.c screenshot.h \
163 gui_callbacks.c \
164 texture.c texture.h \
165 model.h model.c
166
167
168g3dviewer_CFLAGS = \
169 -I$(top_srcdir) -I$(top_builddir) \
170 -Wall -ansi \
171 -DLOCALEDIR=\"$(localedir)\" \
172 @DBG_CFLAGS@ \
173 @GLIB_CFLAGS@ @GTK_CFLAGS@ @GTKGLEXT_CFLAGS@ \
174 @LIBGLADE_CFLAGS@ \
175 @X_CFLAGS@ \
176 @LIBG3D_CFLAGS@ \
177 -DDEBUG=@DEBUG@
178
179
180g3dviewer_LDFLAGS = \
181 @GTK_LIBS@ @LIBGLADE_LIBS@ \
182 @GTKGLEXT_LIBS@ @X_LIBS@ @GL_LIBS@ @LIBG3D_LIBS@
183
184subdir = src
185ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
186mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
187CONFIG_HEADER = $(top_builddir)/config.h
188CONFIG_CLEAN_FILES =
189bin_PROGRAMS = g3dviewer$(EXEEXT)
190PROGRAMS = $(bin_PROGRAMS)
191
192am_g3dviewer_OBJECTS = g3dviewer-main.$(OBJEXT) g3dviewer-gl.$(OBJEXT) \
193 g3dviewer-glarea.$(OBJEXT) g3dviewer-trackball.$(OBJEXT) \
194 g3dviewer-gui_glade.$(OBJEXT) g3dviewer-gui_infowin.$(OBJEXT) \
195 g3dviewer-gui_log.$(OBJEXT) g3dviewer-screenshot.$(OBJEXT) \
196 g3dviewer-gui_callbacks.$(OBJEXT) g3dviewer-texture.$(OBJEXT) \
197 g3dviewer-model.$(OBJEXT)
198g3dviewer_OBJECTS = $(am_g3dviewer_OBJECTS)
199g3dviewer_LDADD = $(LDADD)
200g3dviewer_DEPENDENCIES =
201
202DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
203depcomp = $(SHELL) $(top_srcdir)/depcomp
204am__depfiles_maybe = depfiles
205@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/g3dviewer-gl.Po \
206@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-glarea.Po \
207@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-gui_callbacks.Po \
208@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-gui_glade.Po \
209@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-gui_infowin.Po \
210@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-gui_log.Po \
211@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-main.Po \
212@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-model.Po \
213@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-screenshot.Po \
214@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-texture.Po \
215@AMDEP_TRUE@ ./$(DEPDIR)/g3dviewer-trackball.Po
216COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
217 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
218CCLD = $(CC)
219LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
220DIST_SOURCES = $(g3dviewer_SOURCES)
221DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
222SOURCES = $(g3dviewer_SOURCES)
223
224all: all-am
225
226.SUFFIXES:
227.SUFFIXES: .c .o .obj
228$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
229 cd $(top_srcdir) && \
230 $(AUTOMAKE) --gnu src/Makefile
231Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
232 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
233binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
234install-binPROGRAMS: $(bin_PROGRAMS)
235 @$(NORMAL_INSTALL)
236 $(mkinstalldirs) $(DESTDIR)$(bindir)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
239 if test -f $$p \
240 ; then \
241 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
242 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
243 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
244 else :; fi; \
245 done
246
247uninstall-binPROGRAMS:
248 @$(NORMAL_UNINSTALL)
249 @list='$(bin_PROGRAMS)'; for p in $$list; do \
250 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
251 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
252 rm -f $(DESTDIR)$(bindir)/$$f; \
253 done
254
255clean-binPROGRAMS:
256 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
257g3dviewer$(EXEEXT): $(g3dviewer_OBJECTS) $(g3dviewer_DEPENDENCIES)
258 @rm -f g3dviewer$(EXEEXT)
259 $(LINK) $(g3dviewer_LDFLAGS) $(g3dviewer_OBJECTS) $(g3dviewer_LDADD) $(LIBS)
260
261mostlyclean-compile:
262 -rm -f *.$(OBJEXT) core *.core
263
264distclean-compile:
265 -rm -f *.tab.c
266
267@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-gl.Po@am__quote@
268@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-glarea.Po@am__quote@
269@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-gui_callbacks.Po@am__quote@
270@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-gui_glade.Po@am__quote@
271@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-gui_infowin.Po@am__quote@
272@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-gui_log.Po@am__quote@
273@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-main.Po@am__quote@
274@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-model.Po@am__quote@
275@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-screenshot.Po@am__quote@
276@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-texture.Po@am__quote@
277@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3dviewer-trackball.Po@am__quote@
278
279.c.o:
280@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
281@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
282@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
283@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
284@am__fastdepCC_TRUE@ fi
285@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
286@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
287@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
288@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
289
290.c.obj:
291@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
292@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
293@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
294@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
295@am__fastdepCC_TRUE@ fi
296@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
297@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
298@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
299@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
300
301g3dviewer-main.o: main.c
302@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-main.o -MD -MP -MF "$(DEPDIR)/g3dviewer-main.Tpo" \
303@am__fastdepCC_TRUE@ -c -o g3dviewer-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c; \
304@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-main.Tpo" "$(DEPDIR)/g3dviewer-main.Po"; \
305@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-main.Tpo"; exit 1; \
306@am__fastdepCC_TRUE@ fi
307@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='g3dviewer-main.o' libtool=no @AMDEPBACKSLASH@
308@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-main.Po' tmpdepfile='$(DEPDIR)/g3dviewer-main.TPo' @AMDEPBACKSLASH@
309@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
310@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
311
312g3dviewer-main.obj: main.c
313@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-main.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-main.Tpo" \
314@am__fastdepCC_TRUE@ -c -o g3dviewer-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`; \
315@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-main.Tpo" "$(DEPDIR)/g3dviewer-main.Po"; \
316@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-main.Tpo"; exit 1; \
317@am__fastdepCC_TRUE@ fi
318@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='g3dviewer-main.obj' libtool=no @AMDEPBACKSLASH@
319@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-main.Po' tmpdepfile='$(DEPDIR)/g3dviewer-main.TPo' @AMDEPBACKSLASH@
320@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
321@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
322
323g3dviewer-gl.o: gl.c
324@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gl.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gl.Tpo" \
325@am__fastdepCC_TRUE@ -c -o g3dviewer-gl.o `test -f 'gl.c' || echo '$(srcdir)/'`gl.c; \
326@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gl.Tpo" "$(DEPDIR)/g3dviewer-gl.Po"; \
327@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gl.Tpo"; exit 1; \
328@am__fastdepCC_TRUE@ fi
329@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gl.c' object='g3dviewer-gl.o' libtool=no @AMDEPBACKSLASH@
330@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gl.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gl.TPo' @AMDEPBACKSLASH@
331@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
332@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gl.o `test -f 'gl.c' || echo '$(srcdir)/'`gl.c
333
334g3dviewer-gl.obj: gl.c
335@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gl.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gl.Tpo" \
336@am__fastdepCC_TRUE@ -c -o g3dviewer-gl.obj `if test -f 'gl.c'; then $(CYGPATH_W) 'gl.c'; else $(CYGPATH_W) '$(srcdir)/gl.c'; fi`; \
337@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gl.Tpo" "$(DEPDIR)/g3dviewer-gl.Po"; \
338@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gl.Tpo"; exit 1; \
339@am__fastdepCC_TRUE@ fi
340@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gl.c' object='g3dviewer-gl.obj' libtool=no @AMDEPBACKSLASH@
341@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gl.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gl.TPo' @AMDEPBACKSLASH@
342@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
343@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gl.obj `if test -f 'gl.c'; then $(CYGPATH_W) 'gl.c'; else $(CYGPATH_W) '$(srcdir)/gl.c'; fi`
344
345g3dviewer-glarea.o: glarea.c
346@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-glarea.o -MD -MP -MF "$(DEPDIR)/g3dviewer-glarea.Tpo" \
347@am__fastdepCC_TRUE@ -c -o g3dviewer-glarea.o `test -f 'glarea.c' || echo '$(srcdir)/'`glarea.c; \
348@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-glarea.Tpo" "$(DEPDIR)/g3dviewer-glarea.Po"; \
349@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-glarea.Tpo"; exit 1; \
350@am__fastdepCC_TRUE@ fi
351@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glarea.c' object='g3dviewer-glarea.o' libtool=no @AMDEPBACKSLASH@
352@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-glarea.Po' tmpdepfile='$(DEPDIR)/g3dviewer-glarea.TPo' @AMDEPBACKSLASH@
353@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
354@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-glarea.o `test -f 'glarea.c' || echo '$(srcdir)/'`glarea.c
355
356g3dviewer-glarea.obj: glarea.c
357@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-glarea.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-glarea.Tpo" \
358@am__fastdepCC_TRUE@ -c -o g3dviewer-glarea.obj `if test -f 'glarea.c'; then $(CYGPATH_W) 'glarea.c'; else $(CYGPATH_W) '$(srcdir)/glarea.c'; fi`; \
359@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-glarea.Tpo" "$(DEPDIR)/g3dviewer-glarea.Po"; \
360@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-glarea.Tpo"; exit 1; \
361@am__fastdepCC_TRUE@ fi
362@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glarea.c' object='g3dviewer-glarea.obj' libtool=no @AMDEPBACKSLASH@
363@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-glarea.Po' tmpdepfile='$(DEPDIR)/g3dviewer-glarea.TPo' @AMDEPBACKSLASH@
364@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
365@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-glarea.obj `if test -f 'glarea.c'; then $(CYGPATH_W) 'glarea.c'; else $(CYGPATH_W) '$(srcdir)/glarea.c'; fi`
366
367g3dviewer-trackball.o: trackball.c
368@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-trackball.o -MD -MP -MF "$(DEPDIR)/g3dviewer-trackball.Tpo" \
369@am__fastdepCC_TRUE@ -c -o g3dviewer-trackball.o `test -f 'trackball.c' || echo '$(srcdir)/'`trackball.c; \
370@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-trackball.Tpo" "$(DEPDIR)/g3dviewer-trackball.Po"; \
371@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-trackball.Tpo"; exit 1; \
372@am__fastdepCC_TRUE@ fi
373@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='trackball.c' object='g3dviewer-trackball.o' libtool=no @AMDEPBACKSLASH@
374@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-trackball.Po' tmpdepfile='$(DEPDIR)/g3dviewer-trackball.TPo' @AMDEPBACKSLASH@
375@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
376@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-trackball.o `test -f 'trackball.c' || echo '$(srcdir)/'`trackball.c
377
378g3dviewer-trackball.obj: trackball.c
379@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-trackball.Tpo" \
380@am__fastdepCC_TRUE@ -c -o g3dviewer-trackball.obj `if test -f 'trackball.c'; then $(CYGPATH_W) 'trackball.c'; else $(CYGPATH_W) '$(srcdir)/trackball.c'; fi`; \
381@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-trackball.Tpo" "$(DEPDIR)/g3dviewer-trackball.Po"; \
382@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-trackball.Tpo"; exit 1; \
383@am__fastdepCC_TRUE@ fi
384@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='trackball.c' object='g3dviewer-trackball.obj' libtool=no @AMDEPBACKSLASH@
385@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-trackball.Po' tmpdepfile='$(DEPDIR)/g3dviewer-trackball.TPo' @AMDEPBACKSLASH@
386@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
387@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-trackball.obj `if test -f 'trackball.c'; then $(CYGPATH_W) 'trackball.c'; else $(CYGPATH_W) '$(srcdir)/trackball.c'; fi`
388
389g3dviewer-gui_glade.o: gui_glade.c
390@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_glade.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_glade.Tpo" \
391@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_glade.o `test -f 'gui_glade.c' || echo '$(srcdir)/'`gui_glade.c; \
392@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo" "$(DEPDIR)/g3dviewer-gui_glade.Po"; \
393@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo"; exit 1; \
394@am__fastdepCC_TRUE@ fi
395@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_glade.c' object='g3dviewer-gui_glade.o' libtool=no @AMDEPBACKSLASH@
396@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_glade.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_glade.TPo' @AMDEPBACKSLASH@
397@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
398@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_glade.o `test -f 'gui_glade.c' || echo '$(srcdir)/'`gui_glade.c
399
400g3dviewer-gui_glade.obj: gui_glade.c
401@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_glade.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_glade.Tpo" \
402@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_glade.obj `if test -f 'gui_glade.c'; then $(CYGPATH_W) 'gui_glade.c'; else $(CYGPATH_W) '$(srcdir)/gui_glade.c'; fi`; \
403@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo" "$(DEPDIR)/g3dviewer-gui_glade.Po"; \
404@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_glade.Tpo"; exit 1; \
405@am__fastdepCC_TRUE@ fi
406@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_glade.c' object='g3dviewer-gui_glade.obj' libtool=no @AMDEPBACKSLASH@
407@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_glade.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_glade.TPo' @AMDEPBACKSLASH@
408@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
409@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_glade.obj `if test -f 'gui_glade.c'; then $(CYGPATH_W) 'gui_glade.c'; else $(CYGPATH_W) '$(srcdir)/gui_glade.c'; fi`
410
411g3dviewer-gui_infowin.o: gui_infowin.c
412@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_infowin.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" \
413@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_infowin.o `test -f 'gui_infowin.c' || echo '$(srcdir)/'`gui_infowin.c; \
414@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" "$(DEPDIR)/g3dviewer-gui_infowin.Po"; \
415@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo"; exit 1; \
416@am__fastdepCC_TRUE@ fi
417@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_infowin.c' object='g3dviewer-gui_infowin.o' libtool=no @AMDEPBACKSLASH@
418@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_infowin.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_infowin.TPo' @AMDEPBACKSLASH@
419@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
420@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_infowin.o `test -f 'gui_infowin.c' || echo '$(srcdir)/'`gui_infowin.c
421
422g3dviewer-gui_infowin.obj: gui_infowin.c
423@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_infowin.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" \
424@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_infowin.obj `if test -f 'gui_infowin.c'; then $(CYGPATH_W) 'gui_infowin.c'; else $(CYGPATH_W) '$(srcdir)/gui_infowin.c'; fi`; \
425@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo" "$(DEPDIR)/g3dviewer-gui_infowin.Po"; \
426@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_infowin.Tpo"; exit 1; \
427@am__fastdepCC_TRUE@ fi
428@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_infowin.c' object='g3dviewer-gui_infowin.obj' libtool=no @AMDEPBACKSLASH@
429@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_infowin.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_infowin.TPo' @AMDEPBACKSLASH@
430@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
431@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_infowin.obj `if test -f 'gui_infowin.c'; then $(CYGPATH_W) 'gui_infowin.c'; else $(CYGPATH_W) '$(srcdir)/gui_infowin.c'; fi`
432
433g3dviewer-gui_log.o: gui_log.c
434@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_log.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_log.Tpo" \
435@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_log.o `test -f 'gui_log.c' || echo '$(srcdir)/'`gui_log.c; \
436@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_log.Tpo" "$(DEPDIR)/g3dviewer-gui_log.Po"; \
437@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_log.Tpo"; exit 1; \
438@am__fastdepCC_TRUE@ fi
439@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_log.c' object='g3dviewer-gui_log.o' libtool=no @AMDEPBACKSLASH@
440@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_log.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_log.TPo' @AMDEPBACKSLASH@
441@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
442@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_log.o `test -f 'gui_log.c' || echo '$(srcdir)/'`gui_log.c
443
444g3dviewer-gui_log.obj: gui_log.c
445@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_log.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_log.Tpo" \
446@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_log.obj `if test -f 'gui_log.c'; then $(CYGPATH_W) 'gui_log.c'; else $(CYGPATH_W) '$(srcdir)/gui_log.c'; fi`; \
447@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_log.Tpo" "$(DEPDIR)/g3dviewer-gui_log.Po"; \
448@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_log.Tpo"; exit 1; \
449@am__fastdepCC_TRUE@ fi
450@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_log.c' object='g3dviewer-gui_log.obj' libtool=no @AMDEPBACKSLASH@
451@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_log.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_log.TPo' @AMDEPBACKSLASH@
452@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
453@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_log.obj `if test -f 'gui_log.c'; then $(CYGPATH_W) 'gui_log.c'; else $(CYGPATH_W) '$(srcdir)/gui_log.c'; fi`
454
455g3dviewer-screenshot.o: screenshot.c
456@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3dviewer-screenshot.Tpo" \
457@am__fastdepCC_TRUE@ -c -o g3dviewer-screenshot.o `test -f 'screenshot.c' || echo '$(srcdir)/'`screenshot.c; \
458@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-screenshot.Tpo" "$(DEPDIR)/g3dviewer-screenshot.Po"; \
459@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-screenshot.Tpo"; exit 1; \
460@am__fastdepCC_TRUE@ fi
461@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='screenshot.c' object='g3dviewer-screenshot.o' libtool=no @AMDEPBACKSLASH@
462@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3dviewer-screenshot.TPo' @AMDEPBACKSLASH@
463@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
464@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-screenshot.o `test -f 'screenshot.c' || echo '$(srcdir)/'`screenshot.c
465
466g3dviewer-screenshot.obj: screenshot.c
467@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-screenshot.Tpo" \
468@am__fastdepCC_TRUE@ -c -o g3dviewer-screenshot.obj `if test -f 'screenshot.c'; then $(CYGPATH_W) 'screenshot.c'; else $(CYGPATH_W) '$(srcdir)/screenshot.c'; fi`; \
469@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-screenshot.Tpo" "$(DEPDIR)/g3dviewer-screenshot.Po"; \
470@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-screenshot.Tpo"; exit 1; \
471@am__fastdepCC_TRUE@ fi
472@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='screenshot.c' object='g3dviewer-screenshot.obj' libtool=no @AMDEPBACKSLASH@
473@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3dviewer-screenshot.TPo' @AMDEPBACKSLASH@
474@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
475@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-screenshot.obj `if test -f 'screenshot.c'; then $(CYGPATH_W) 'screenshot.c'; else $(CYGPATH_W) '$(srcdir)/screenshot.c'; fi`
476
477g3dviewer-gui_callbacks.o: gui_callbacks.c
478@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_callbacks.o -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" \
479@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_callbacks.o `test -f 'gui_callbacks.c' || echo '$(srcdir)/'`gui_callbacks.c; \
480@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" "$(DEPDIR)/g3dviewer-gui_callbacks.Po"; \
481@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo"; exit 1; \
482@am__fastdepCC_TRUE@ fi
483@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_callbacks.c' object='g3dviewer-gui_callbacks.o' libtool=no @AMDEPBACKSLASH@
484@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_callbacks.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_callbacks.TPo' @AMDEPBACKSLASH@
485@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
486@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_callbacks.o `test -f 'gui_callbacks.c' || echo '$(srcdir)/'`gui_callbacks.c
487
488g3dviewer-gui_callbacks.obj: gui_callbacks.c
489@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-gui_callbacks.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" \
490@am__fastdepCC_TRUE@ -c -o g3dviewer-gui_callbacks.obj `if test -f 'gui_callbacks.c'; then $(CYGPATH_W) 'gui_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/gui_callbacks.c'; fi`; \
491@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo" "$(DEPDIR)/g3dviewer-gui_callbacks.Po"; \
492@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-gui_callbacks.Tpo"; exit 1; \
493@am__fastdepCC_TRUE@ fi
494@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui_callbacks.c' object='g3dviewer-gui_callbacks.obj' libtool=no @AMDEPBACKSLASH@
495@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-gui_callbacks.Po' tmpdepfile='$(DEPDIR)/g3dviewer-gui_callbacks.TPo' @AMDEPBACKSLASH@
496@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
497@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-gui_callbacks.obj `if test -f 'gui_callbacks.c'; then $(CYGPATH_W) 'gui_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/gui_callbacks.c'; fi`
498
499g3dviewer-texture.o: texture.c
500@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-texture.o -MD -MP -MF "$(DEPDIR)/g3dviewer-texture.Tpo" \
501@am__fastdepCC_TRUE@ -c -o g3dviewer-texture.o `test -f 'texture.c' || echo '$(srcdir)/'`texture.c; \
502@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-texture.Tpo" "$(DEPDIR)/g3dviewer-texture.Po"; \
503@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-texture.Tpo"; exit 1; \
504@am__fastdepCC_TRUE@ fi
505@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='texture.c' object='g3dviewer-texture.o' libtool=no @AMDEPBACKSLASH@
506@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-texture.Po' tmpdepfile='$(DEPDIR)/g3dviewer-texture.TPo' @AMDEPBACKSLASH@
507@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
508@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-texture.o `test -f 'texture.c' || echo '$(srcdir)/'`texture.c
509
510g3dviewer-texture.obj: texture.c
511@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-texture.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-texture.Tpo" \
512@am__fastdepCC_TRUE@ -c -o g3dviewer-texture.obj `if test -f 'texture.c'; then $(CYGPATH_W) 'texture.c'; else $(CYGPATH_W) '$(srcdir)/texture.c'; fi`; \
513@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-texture.Tpo" "$(DEPDIR)/g3dviewer-texture.Po"; \
514@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-texture.Tpo"; exit 1; \
515@am__fastdepCC_TRUE@ fi
516@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='texture.c' object='g3dviewer-texture.obj' libtool=no @AMDEPBACKSLASH@
517@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-texture.Po' tmpdepfile='$(DEPDIR)/g3dviewer-texture.TPo' @AMDEPBACKSLASH@
518@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
519@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-texture.obj `if test -f 'texture.c'; then $(CYGPATH_W) 'texture.c'; else $(CYGPATH_W) '$(srcdir)/texture.c'; fi`
520
521g3dviewer-model.o: model.c
522@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-model.o -MD -MP -MF "$(DEPDIR)/g3dviewer-model.Tpo" \
523@am__fastdepCC_TRUE@ -c -o g3dviewer-model.o `test -f 'model.c' || echo '$(srcdir)/'`model.c; \
524@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-model.Tpo" "$(DEPDIR)/g3dviewer-model.Po"; \
525@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-model.Tpo"; exit 1; \
526@am__fastdepCC_TRUE@ fi
527@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='model.c' object='g3dviewer-model.o' libtool=no @AMDEPBACKSLASH@
528@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-model.Po' tmpdepfile='$(DEPDIR)/g3dviewer-model.TPo' @AMDEPBACKSLASH@
529@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
530@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-model.o `test -f 'model.c' || echo '$(srcdir)/'`model.c
531
532g3dviewer-model.obj: model.c
533@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -MT g3dviewer-model.obj -MD -MP -MF "$(DEPDIR)/g3dviewer-model.Tpo" \
534@am__fastdepCC_TRUE@ -c -o g3dviewer-model.obj `if test -f 'model.c'; then $(CYGPATH_W) 'model.c'; else $(CYGPATH_W) '$(srcdir)/model.c'; fi`; \
535@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3dviewer-model.Tpo" "$(DEPDIR)/g3dviewer-model.Po"; \
536@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3dviewer-model.Tpo"; exit 1; \
537@am__fastdepCC_TRUE@ fi
538@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='model.c' object='g3dviewer-model.obj' libtool=no @AMDEPBACKSLASH@
539@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3dviewer-model.Po' tmpdepfile='$(DEPDIR)/g3dviewer-model.TPo' @AMDEPBACKSLASH@
540@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
541@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3dviewer_CFLAGS) $(CFLAGS) -c -o g3dviewer-model.obj `if test -f 'model.c'; then $(CYGPATH_W) 'model.c'; else $(CYGPATH_W) '$(srcdir)/model.c'; fi`
542uninstall-info-am:
543
544ETAGS = etags
545ETAGSFLAGS =
546
547CTAGS = ctags
548CTAGSFLAGS =
549
550tags: TAGS
551
552ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
553 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
554 unique=`for i in $$list; do \
555 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
556 done | \
557 $(AWK) ' { files[$$0] = 1; } \
558 END { for (i in files) print i; }'`; \
559 mkid -fID $$unique
560
561TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
562 $(TAGS_FILES) $(LISP)
563 tags=; \
564 here=`pwd`; \
565 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
566 unique=`for i in $$list; do \
567 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
568 done | \
569 $(AWK) ' { files[$$0] = 1; } \
570 END { for (i in files) print i; }'`; \
571 test -z "$(ETAGS_ARGS)$$tags$$unique" \
572 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
573 $$tags $$unique
574
575ctags: CTAGS
576CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
577 $(TAGS_FILES) $(LISP)
578 tags=; \
579 here=`pwd`; \
580 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
581 unique=`for i in $$list; do \
582 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
583 done | \
584 $(AWK) ' { files[$$0] = 1; } \
585 END { for (i in files) print i; }'`; \
586 test -z "$(CTAGS_ARGS)$$tags$$unique" \
587 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
588 $$tags $$unique
589
590GTAGS:
591 here=`$(am__cd) $(top_builddir) && pwd` \
592 && cd $(top_srcdir) \
593 && gtags -i $(GTAGS_ARGS) $$here
594
595distclean-tags:
596 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
597DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
598
599top_distdir = ..
600distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
601
602distdir: $(DISTFILES)
603 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
604 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
605 list='$(DISTFILES)'; for file in $$list; do \
606 case $$file in \
607 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
608 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
609 esac; \
610 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
611 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
612 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
613 dir="/$$dir"; \
614 $(mkinstalldirs) "$(distdir)$$dir"; \
615 else \
616 dir=''; \
617 fi; \
618 if test -d $$d/$$file; then \
619 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
620 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
621 fi; \
622 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
623 else \
624 test -f $(distdir)/$$file \
625 || cp -p $$d/$$file $(distdir)/$$file \
626 || exit 1; \
627 fi; \
628 done
629check-am: all-am
630check: check-am
631all-am: Makefile $(PROGRAMS)
632
633installdirs:
634 $(mkinstalldirs) $(DESTDIR)$(bindir)
635install: install-am
636install-exec: install-exec-am
637install-data: install-data-am
638uninstall: uninstall-am
639
640install-am: all-am
641 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
642
643installcheck: installcheck-am
644install-strip:
645 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
646 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
647 `test -z '$(STRIP)' || \
648 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
649mostlyclean-generic:
650
651clean-generic:
652
653distclean-generic:
654 -rm -f $(CONFIG_CLEAN_FILES)
655
656maintainer-clean-generic:
657 @echo "This command is intended for maintainers to use"
658 @echo "it deletes files that may require special tools to rebuild."
659clean: clean-am
660
661clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
662
663distclean: distclean-am
664 -rm -rf ./$(DEPDIR)
665 -rm -f Makefile
666distclean-am: clean-am distclean-compile distclean-generic \
667 distclean-tags
668
669dvi: dvi-am
670
671dvi-am:
672
673info: info-am
674
675info-am:
676
677install-data-am:
678
679install-exec-am: install-binPROGRAMS
680
681install-info: install-info-am
682
683install-man:
684
685installcheck-am:
686
687maintainer-clean: maintainer-clean-am
688 -rm -rf ./$(DEPDIR)
689 -rm -f Makefile
690maintainer-clean-am: distclean-am maintainer-clean-generic
691
692mostlyclean: mostlyclean-am
693
694mostlyclean-am: mostlyclean-compile mostlyclean-generic
695
696pdf: pdf-am
697
698pdf-am:
699
700ps: ps-am
701
702ps-am:
703
704uninstall-am: uninstall-binPROGRAMS uninstall-info-am
705
706.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
707 clean-generic ctags distclean distclean-compile \
708 distclean-generic distclean-tags distdir dvi dvi-am info \
709 info-am install install-am install-binPROGRAMS install-data \
710 install-data-am install-exec install-exec-am install-info \
711 install-info-am install-man install-strip installcheck \
712 installcheck-am installdirs maintainer-clean \
713 maintainer-clean-generic mostlyclean mostlyclean-compile \
714 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
715 uninstall-am uninstall-binPROGRAMS uninstall-info-am
716
717# Tell versions [3.59,3.63) of GNU make to not export all variables.
718# Otherwise a system limit (for SysV at least) may be exceeded.
719.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.c
new file mode 100644
index 0000000..9a8e004
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.c
@@ -0,0 +1,471 @@
1/* $Id: gl.c 61 2006-11-09 15:31:12Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#include <stdlib.h>
24#include <string.h>
25#include <math.h>
26
27#include <glib.h>
28
29#include <GL/gl.h>
30#include <GL/glu.h>
31
32#include <g3d/types.h>
33
34#if 0
35#include "main.h"
36#endif
37#include "gl.h"
38#include "trackball.h"
39
40#if DEBUG > 1
41#define TIMING
42#endif
43
44static int _initialized = 0;
45
46#ifdef TIMING
47static GTimer *timer = NULL;
48static gulong avg_msec = 0;
49#endif
50
51GLuint evil;
52
53void gl_init(void)
54{
55#if DEBUG > 1
56 g_printerr("init OpenGL\n");
57#endif
58
59 GLfloat light0_pos[4] = { -50.0, 50.0, 0.0, 0.0 };
60 GLfloat light0_col[4] = { 0.6, 0.6, 0.6, 1.0 };
61 GLfloat light1_pos[4] = { 50.0, 50.0, 0.0, 0.0 };
62 GLfloat light1_col[4] = { 0.4, 0.4, 0.4, 1.0 };
63 GLfloat ambient_lc[4] = { 0.35, 0.35, 0.35, 1.0 };
64
65#if 0
66 glEnable(GL_CULL_FACE);
67#endif
68
69 /* transparency and blending */
70#if 0
71 glAlphaFunc(GL_GREATER, 0.1);
72#endif
73 glEnable(GL_ALPHA_TEST);
74
75 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
76 glEnable(GL_BLEND);
77
78 glDepthFunc(GL_LEQUAL);
79 glEnable(GL_DEPTH_TEST);
80
81#if 0
82 glEnable(GL_LINE_SMOOTH);
83 glEnable(GL_POLYGON_SMOOTH);
84#endif
85
86#if 0
87 glDisable(GL_DITHER);
88#endif
89 glShadeModel(GL_SMOOTH);
90
91 glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
92 glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
93 glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
94
95 glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambient_lc);
96 glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 1);
97 glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);
98 glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1);
99
100 glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);
101 glLightfv(GL_LIGHT0, GL_DIFFUSE, light0_col);
102 glLightfv(GL_LIGHT1, GL_POSITION, light1_pos);
103 glLightfv(GL_LIGHT1, GL_DIFFUSE, light1_col);
104 glLightfv(GL_LIGHT1, GL_SPECULAR, light1_col);
105 glEnable(GL_LIGHT0);
106 glEnable(GL_LIGHT1);
107 glEnable(GL_LIGHTING);
108
109 /* colors and materials */
110 glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
111 glEnable(GL_COLOR_MATERIAL);
112
113 /* texture stuff */
114 glEnable(GL_TEXTURE_2D);
115
116#ifdef TIMING
117 timer = g_timer_new();
118#endif
119}
120
121void gl_set_twoside(gboolean twoside)
122{
123 glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, twoside ? 1 : 0);
124 glColorMaterial(
125 twoside ? GL_FRONT_AND_BACK : GL_FRONT,
126 GL_AMBIENT_AND_DIFFUSE);
127}
128
129void gl_set_textures(gboolean textures)
130{
131 if(textures)
132 glEnable(GL_TEXTURE_2D);
133 else
134 {
135 glBindTexture(GL_TEXTURE_2D, 0);
136 glDisable(GL_TEXTURE_2D);
137 }
138}
139
140/* GHFunc */
141void gl_load_texture(gpointer key, gpointer value, gpointer data)
142{
143 G3DImage *image = (G3DImage *)value;
144 gint32 env;
145
146#if 0
147 /* predefined - update object->_tex_images else... */
148 glGenTextures(1, &(image->gl_texid));
149#endif
150
151#if DEBUG > 0
152 g_print("gl: loading texture '%s' (%dx%dx%d) - id %d\n",
153 image->name ? image->name : "(null)",
154 image->width, image->height, image->depth,
155 image->tex_id);
156#endif
157
158 glBindTexture(GL_TEXTURE_2D, image->tex_id);
159 glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
160 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
161 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
162 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
163 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
164 GL_LINEAR_MIPMAP_NEAREST);
165
166 switch(image->tex_env)
167 {
168 case G3D_TEXENV_BLEND: env = GL_BLEND; break;
169 case G3D_TEXENV_MODULATE: env = GL_MODULATE; break;
170 case G3D_TEXENV_DECAL: env = GL_DECAL; break;
171 case G3D_TEXENV_REPLACE: env = GL_REPLACE; break;
172 default: env = GL_BLEND; break;
173 }
174 glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, env);
175
176 glTexImage2D(
177 GL_TEXTURE_2D /* target */,
178 0 /* level */,
179 GL_RGBA /* internalFormat */,
180 image->width /* width */,
181 image->height /* height */,
182 0 /* border */,
183 GL_RGBA /* format */,
184 GL_UNSIGNED_BYTE /* type */,
185 image->pixeldata /* pixels */);
186 gluBuild2DMipmaps(
187 GL_TEXTURE_2D,
188 GL_RGBA,
189 image->width,
190 image->height,
191 GL_RGBA,
192 GL_UNSIGNED_BYTE,
193 image->pixeldata);
194}
195
196void gl_update_material(gint32 glflags, G3DMaterial *material)
197{
198 GLenum facetype;
199 GLfloat normspec[4] = { 0.0, 0.0, 0.0, 1.0 };
200
201 g_return_if_fail(material != NULL);
202
203 if(glflags & G3D_FLAG_GL_ALLTWOSIDE)
204 facetype = GL_FRONT_AND_BACK;
205 else
206 facetype = GL_FRONT;
207
208 glColor4f(
209 material->r,
210 material->g,
211 material->b,
212 material->a);
213
214 return;
215
216 if(glflags & G3D_FLAG_GL_SPECULAR)
217 glMaterialfv(facetype, GL_SPECULAR, material->specular);
218 else
219 glMaterialfv(facetype, GL_SPECULAR, normspec);
220
221 if(glflags & G3D_FLAG_GL_SHININESS)
222 glMaterialf(facetype, GL_SHININESS, material->shininess * 10);
223 else
224 glMaterialf(facetype, GL_SHININESS, 0.0);
225}
226
227static void gl_draw_face(gint32 glflags, G3DObject *object, gint32 i,
228 gfloat min_a, gfloat max_a, gboolean *dont_render, gboolean *init)
229{
230 static G3DMaterial *prev_material = NULL;
231 static guint32 prev_texid = 0;
232 gint32 j;
233
234 if(*init)
235 {
236 prev_material = NULL;
237 prev_texid = 0;
238 *init = FALSE;
239 }
240
241 /* material check */
242 if(prev_material != object->_materials[i])
243 {
244 if((object->_materials[i]->a < min_a) ||
245 (object->_materials[i]->a >= max_a))
246 {
247 *dont_render = TRUE;
248 return;
249 }
250
251 *dont_render = FALSE;
252
253 glEnd();
254 gl_update_material(glflags, object->_materials[i]);
255 glBegin(GL_TRIANGLES);
256 prev_material = object->_materials[i];
257
258 prev_texid = 0;
259 }
260
261 if(*dont_render) return;
262
263 /* texture stuff */
264 if((glflags & G3D_FLAG_GL_TEXTURES) &&
265 (object->_flags[i] & G3D_FLAG_FAC_TEXMAP))
266 {
267 /* if texture has changed update to new texture */
268 if(object->_tex_images[i] != prev_texid)
269 {
270 prev_texid = object->_tex_images[i];
271 glEnd();
272 glBindTexture(GL_TEXTURE_2D, prev_texid);
273 glBegin(GL_TRIANGLES);
274#if DEBUG > 5
275 g_print("gl: binding to texture id %d\n", prev_texid);
276#endif
277 }
278 }
279
280
281 /* draw triangles */
282 for(j = 0; j < 3; j ++)
283 {
284 if((glflags & G3D_FLAG_GL_TEXTURES) &&
285 (object->_flags[i] & G3D_FLAG_FAC_TEXMAP))
286 {
287 glTexCoord2f(
288 object->_tex_coords[(i * 3 + j) * 2 + 0],
289 object->_tex_coords[(i * 3 + j) * 2 + 1]);
290#if DEBUG > 5
291 g_print("gl: setting texture coords: %f, %f\n",
292 object->_tex_coords[(i * 3 + j) * 2 + 0],
293 object->_tex_coords[(i * 3 + j) * 2 + 1]);
294#endif
295 }
296
297 glNormal3f(
298 object->_normals[(i*3+j)*3+0],
299 object->_normals[(i*3+j)*3+1],
300 object->_normals[(i*3+j)*3+2]);
301 glVertex3f(
302 object->vertex_data[object->_indices[i*3+j]*3+0],
303 object->vertex_data[object->_indices[i*3+j]*3+1],
304 object->vertex_data[object->_indices[i*3+j]*3+2]);
305
306 } /* 1 .. 3 */
307}
308
309static void gl_draw_objects(gint32 glflags, GSList *objects,
310 gfloat min_a, gfloat max_a)
311{
312 GSList *olist;
313 int i;
314 G3DObject *object;
315 gboolean dont_render;
316 gboolean init = TRUE;
317
318 olist = objects;
319 while(olist != NULL)
320 {
321 object = (G3DObject *)olist->data;
322 olist = olist->next;
323
324 dont_render = FALSE;
325
326 /* don't render invisible objects */
327 if(object->hide) continue;
328
329 g_return_if_fail(object != NULL);
330#if DEBUG > 3
331 g_printerr("name: %s {", object->name);
332#endif
333
334#if DEBUG > 2
335 g_printerr("new object\n");
336#endif
337
338 glPushMatrix();
339
340 if(object->transformation)
341 {
342 glMultMatrixf(object->transformation->matrix);
343 }
344
345 glBegin(GL_TRIANGLES);
346
347 for(i = 0; i < object->_num_faces; i ++)
348 {
349 gl_draw_face(glflags, object, i, min_a, max_a,
350 &dont_render, &init);
351 } /* all faces */
352
353 glEnd();
354
355 /* handle sub-objects */
356 gl_draw_objects(glflags, object->objects, min_a, max_a);
357
358 glPopMatrix();
359
360 } /* while olist != NULL */
361}
362
363void gl_draw(gint32 glflags, gfloat zoom, gfloat aspect, gfloat *bgcolor,
364 gfloat *quat, G3DModel *model)
365{
366 GLfloat m[4][4];
367 static gchar *previous_name = NULL;
368 static gint32 previous_glflags = -1;
369 static gint32 dlist = -1;
370 GLenum error;
371 gfloat f;
372
373 if(! _initialized)
374 {
375 gl_init();
376 _initialized = 1;
377 }
378
379 /* draw scene... */
380 glMatrixMode(GL_PROJECTION);
381 glLoadIdentity();
382 gluPerspective(zoom, aspect, 1, 100);
383 glMatrixMode(GL_MODELVIEW);
384
385 glClearColor(
386 bgcolor[0],
387 bgcolor[1],
388 bgcolor[2],
389 bgcolor[3]);
390 glClearDepth(1.0);
391 glClearIndex(0.3);
392 glClear(
393 GL_COLOR_BUFFER_BIT |
394 GL_DEPTH_BUFFER_BIT |
395 GL_ACCUM_BUFFER_BIT |
396 GL_STENCIL_BUFFER_BIT);
397
398 glLoadIdentity();
399 glTranslatef(0, 0, -30);
400 build_rotmatrix(m, quat);
401 glMultMatrixf(&m[0][0]);
402
403 /* reset texture */
404 glBindTexture (GL_TEXTURE_2D, 0);
405
406 if(model == NULL)
407 return;
408
409#ifdef TIMING
410 g_timer_start(timer);
411#endif
412
413 /* FIXME: better detection of new model */
414 if((dlist < 0) || (glflags != previous_glflags) ||
415 (previous_name == NULL) || strcmp(previous_name, model->filename))
416 {
417#if DEBUG > 0
418 g_printerr("[gl] creating new display list\n");
419#endif
420 /* create and execute display list */
421 if(dlist >= 0)
422 glDeleteLists(dlist, 1);
423 dlist = glGenLists(1);
424
425 glNewList(dlist, GL_COMPILE);
426 /* draw all objects */
427 for(f = 1.0; f >= 0.0; f -= 0.2)
428 gl_draw_objects(glflags, model->objects, f, f + 0.2);
429 glEndList();
430
431 if(previous_name) g_free(previous_name);
432 previous_name = g_strdup(model->filename);
433 previous_glflags = glflags;
434 }
435
436 /* execute display list */
437 glCallList(dlist);
438
439 error = glGetError();
440 if(error != GL_NO_ERROR)
441 g_printerr("[gl] E: %d\n", error);
442
443#ifdef TIMING /* get time to draw one frame to compare algorithms */
444 g_timer_stop(timer);
445
446 if(avg_msec == 0)
447 {
448 gulong msec;
449 gdouble sec;
450
451 sec = g_timer_elapsed(timer, &msec);
452 avg_msec = (gulong)sec * 1000000 + msec;
453 }
454 else
455 {
456 gulong msec, add;
457 gdouble sec;
458
459 sec = g_timer_elapsed(timer, &msec);
460 add = (gulong)sec * 1000000 + msec;
461 avg_msec = (avg_msec + add) / 2;
462 }
463
464 g_printerr("average time to render frame: %lu µs\n", avg_msec);
465#endif
466
467#if DEBUG > 3
468 g_printerr("gl.c: drawn...\n");
469#endif
470}
471
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h
new file mode 100644
index 0000000..82d360d
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h
@@ -0,0 +1,37 @@
1/* $Id: gl.h 41 2006-05-22 12:23:29Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _GL_H
24#define _GL_H
25
26#define G3D_FLAG_GL_SPECULAR (1L << 0)
27#define G3D_FLAG_GL_SHININESS (1L << 1)
28#define G3D_FLAG_GL_ALLTWOSIDE (1L << 2)
29#define G3D_FLAG_GL_TEXTURES (1L << 3)
30
31void gl_set_twoside(gboolean twoside);
32void gl_set_textures(gboolean textures);
33void gl_load_texture(gpointer key, gpointer value, gpointer data);
34void gl_draw(gint32 glflags, gfloat zoom, gfloat aspect, gfloat *bgcolor,
35 gfloat *quat, G3DModel *model);
36
37#endif
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.c
new file mode 100644
index 0000000..dda4275
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.c
@@ -0,0 +1,236 @@
1/* $Id: glarea.c 47 2006-05-22 17:53:38Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28
29#include <gtk/gtk.h>
30#include <gtk/gtkgl.h>
31#include <GL/gl.h>
32
33#include "main.h"
34#include "gl.h"
35#include "glarea.h"
36#include "gui_glade.h"
37#include "trackball.h"
38
39/*
40 * updates glarea widget (redraw)
41 */
42void glarea_update(GtkWidget *glarea)
43{
44 gtk_widget_queue_draw_area(glarea, 0, 0,
45 glarea->allocation.width, glarea->allocation.height);
46}
47
48/*
49 * handler for "expose" event
50 */
51gint glarea_expose(GtkWidget *widget, GdkEventExpose *event)
52{
53 GdkGLDrawable *gldrawable;
54 GdkGLContext *glcontext;
55 G3DViewer *viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget),
56 "viewer");
57
58 if(event->count > 0) return TRUE;
59
60 gldrawable = gtk_widget_get_gl_drawable(widget);
61 glcontext = gtk_widget_get_gl_context(widget);
62
63 if(!gdk_gl_drawable_gl_begin(gldrawable, glcontext)) return TRUE;
64
65 gl_draw(viewer->glflags, viewer->zoom, viewer->aspect, viewer->bgcolor,
66 viewer->quat, viewer->model);
67
68 gdk_gl_drawable_swap_buffers(gldrawable);
69 gdk_gl_drawable_gl_end(gldrawable);
70
71 return TRUE;
72}
73
74/*
75 * handler for "configure" event
76 */
77gint glarea_configure(GtkWidget *widget, GdkEventConfigure *event)
78{
79 GdkGLDrawable *gldrawable;
80 GdkGLContext *glcontext;
81 G3DViewer *viewer;
82
83 gldrawable = gtk_widget_get_gl_drawable(widget);
84 glcontext = gtk_widget_get_gl_context(widget);
85
86 if(!gdk_gl_drawable_gl_begin(gldrawable, glcontext)) return TRUE;
87
88 viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget), "viewer");
89 glViewport(0,0, widget->allocation.width, widget->allocation.height);
90 viewer->aspect = (gfloat)widget->allocation.width /
91 (gfloat)widget->allocation.height;
92#if DEBUG > 3
93 g_printerr("DEBUG: glarea_configure (%f)\n", viewer->aspect);
94#endif
95
96 gdk_gl_drawable_gl_end(gldrawable);
97
98 return TRUE;
99}
100
101/*
102 * handler for "destroy" event
103 */
104gint glarea_destroy(GtkWidget *widget)
105{
106 G3DViewer *viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget),
107 "viewer");
108 if(viewer->interface.glarea)
109 {
110 /* FIXME: */
111 }
112
113 return TRUE;
114}
115
116/*
117 * handler for "scroll" event (mouse wheel)
118 */
119gint glarea_scroll(GtkWidget *widget, GdkEventScroll *event)
120{
121 GdkRectangle area;
122 G3DViewer *viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget),
123 "viewer");
124
125#define ZOOM_BY 10
126 if(event->direction == GDK_SCROLL_DOWN) viewer->zoom += ZOOM_BY;
127 else viewer->zoom -= ZOOM_BY;
128#undef ZOOM_BY
129
130 area.x = 0;
131 area.y = 0;
132 area.width = widget->allocation.width;
133 area.height = widget->allocation.height;
134
135 if(viewer->zoom < 1) viewer->zoom = 1;
136 if(viewer->zoom > 120) viewer->zoom = 120;
137
138 glarea_update(widget);
139
140 return FALSE;
141}
142
143/*
144 * handler for "button pressed" event
145 */
146gint glarea_button_pressed(GtkWidget *widget, GdkEventButton *event)
147{
148 G3DViewer *viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget),
149 "viewer");
150
151 /* left mouse buttom: rotate object */
152 if(event->button == 1)
153 {
154 viewer->mouse.beginx = event->x;
155 viewer->mouse.beginy = event->y;
156 return TRUE;
157 }
158 /* right mouse button: pop-up menu */
159 else if(event->button == 3)
160 {
161 if(event->type == GDK_BUTTON_PRESS)
162 {
163 GtkWidget *menu =
164 (GtkWidget*)g_object_get_data(G_OBJECT(widget),
165 "menu");
166 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL,
167 event->button, event->time);
168 return TRUE;
169 }
170 }
171
172 return FALSE;
173}
174
175/*
176 * handler for "motion notify" event
177 */
178gint glarea_motion_notify(GtkWidget *widget, GdkEventMotion *event)
179{
180 gint x, y;
181 gchar *text;
182 GdkRectangle area;
183 GdkModifierType state;
184 G3DViewer *viewer = (G3DViewer*)g_object_get_data(G_OBJECT(widget),
185 "viewer");
186
187 if(event->is_hint)
188 gdk_window_get_pointer(event->window, &x, &y, &state);
189 else
190 {
191 x = event->x;
192 y = event->y;
193 state = event->state;
194 }
195
196 area.x = 0;
197 area.y = 0;
198 area.width = widget->allocation.width;
199 area.height = widget->allocation.height;
200
201 /* left button pressed */
202 if(state & GDK_BUTTON1_MASK)
203 {
204 gfloat spin_quat[4];
205 trackball(spin_quat,
206 (2.0*viewer->mouse.beginx - area.width) / area.width,
207 ( area.height - 2.0*viewer->mouse.beginy) / area.height,
208 ( 2.0*x - area.width) / area.width,
209 ( area.height - 2.0*y) / area.height);
210 add_quats(spin_quat, viewer->quat, viewer->quat);
211
212 text = g_strdup_printf("quat: %-.2f, %-.2f, %-.2f, %-.2f",
213 viewer->quat[0], viewer->quat[1],
214 viewer->quat[2], viewer->quat[3]);
215 gui_glade_status(viewer, text);
216 g_free(text);
217
218 glarea_update(widget);
219 }
220
221 /* middle mouse button */
222 if(state & GDK_BUTTON2_MASK)
223 {
224 viewer->zoom +=
225 ((y - viewer->mouse.beginy) / (gfloat)area.height) * 40;
226 if(viewer->zoom < 1) viewer->zoom = 1;
227 if(viewer->zoom > 120) viewer->zoom = 120;
228
229 glarea_update(widget);
230 }
231 viewer->mouse.beginx = x;
232 viewer->mouse.beginy = y;
233
234 return TRUE;
235}
236
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.h
new file mode 100644
index 0000000..327abc7
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/glarea.h
@@ -0,0 +1,37 @@
1/* $Id: glarea.h 25 2006-04-22 17:24:27Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _GLAREA_H
24#define _GLAREA_H
25
26#include <gtk/gtk.h>
27
28void glarea_update(GtkWidget *glarea);
29
30gint glarea_expose(GtkWidget *widget, GdkEventExpose *event);
31gint glarea_configure(GtkWidget *widget, GdkEventConfigure *event);
32gint glarea_destroy(GtkWidget *widget);
33gint glarea_scroll(GtkWidget *widget, GdkEventScroll *event);
34gint glarea_button_pressed(GtkWidget *widget, GdkEventButton *event);
35gint glarea_motion_notify(GtkWidget *widget, GdkEventMotion *event);
36
37#endif
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_callbacks.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_callbacks.c
new file mode 100644
index 0000000..dfff61f
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_callbacks.c
@@ -0,0 +1,364 @@
1/* $Id: gui_callbacks.c 58 2006-11-05 19:21:04Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28#include <string.h>
29
30#include <gtk/gtk.h>
31
32#include "main.h"
33#include "gl.h"
34#include "glarea.h"
35#include "gui_glade.h"
36#include "trackball.h"
37#include "screenshot.h"
38
39/*
40 * File->Open
41 */
42
43void gui_on_open_cb(GtkWidget *widget, gpointer user_data)
44{
45 G3DViewer *viewer;
46
47 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
48
49 gui_glade_open_dialog(viewer);
50}
51
52/*
53 * File->Properties
54 */
55
56void gui_on_properties_cb(GtkWidget *widget, gpointer user_data)
57{
58 G3DViewer *viewer;
59 GtkWidget *propwin;
60
61 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
62 g_assert(viewer);
63
64 propwin = glade_xml_get_widget(viewer->interface.xml, "properties_window");
65
66 gtk_widget_show_all(propwin);
67}
68
69/*
70 * View->Show Menubar
71 */
72
73void gui_on_show_menubar_cb(GtkWidget *widget, gpointer user_data)
74{
75 G3DViewer *viewer;
76 GtkWidget *menubar;
77
78 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
79 g_assert(viewer);
80
81 menubar = glade_xml_get_widget(viewer->interface.xml, "menu_main");
82 g_assert(menubar);
83
84 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
85 gtk_widget_show(menubar);
86 else
87 gtk_widget_hide(menubar);
88}
89
90/*
91 * View->Show Toolbar
92 */
93
94void gui_on_show_toolbar_cb(GtkWidget *widget, gpointer user_data)
95{
96 G3DViewer *viewer;
97 GtkWidget *toolbar;
98
99 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
100 g_assert(viewer);
101
102 toolbar = glade_xml_get_widget(viewer->interface.xml, "toolbar_main");
103 g_assert(toolbar);
104
105 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
106 gtk_widget_show(toolbar);
107 else
108 gtk_widget_hide(toolbar);
109}
110
111/*
112 * View->Fullscreen
113 */
114void gui_on_fullscreen_cb(GtkWidget *widget, gpointer user_data)
115{
116 G3DViewer *viewer;
117
118 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
119 g_assert(viewer);
120
121 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
122 gtk_window_fullscreen(GTK_WINDOW(viewer->interface.window));
123 else
124 gtk_window_unfullscreen(GTK_WINDOW(viewer->interface.window));
125}
126
127/*
128 * Window state event
129 */
130void gui_on_window_state_event(GtkWidget *widget, GdkEventVisibility *event,
131 gpointer user_data)
132{
133 G3DViewer *viewer;
134
135 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
136 g_assert(viewer);
137}
138
139/*
140 * View->ZoomFit
141 */
142void gui_on_zoomfit_cb(GtkWidget *widget, gpointer user_data)
143{
144 G3DViewer *viewer;
145
146 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
147 g_assert(viewer);
148
149 /* zoom */
150 viewer->zoom = 45;
151
152 /* reset trackball */
153#if 1
154 trackball(viewer->quat, 0.0, 0.0, 0.0, 0.0);
155#endif
156
157 glarea_update(viewer->interface.glarea);
158}
159
160/*
161 * View->Shininess
162 */
163
164void gui_on_shininess_cb(GtkWidget *widget, gpointer user_data)
165{
166 G3DViewer *viewer;
167
168 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
169 g_assert(viewer);
170
171 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
172 viewer->glflags |= G3D_FLAG_GL_SHININESS;
173 else
174 viewer->glflags &= ~G3D_FLAG_GL_SHININESS;
175}
176
177/*
178 * View->Two-sided Faces
179 */
180
181void gui_on_twosided_cb(GtkWidget *widget, gpointer user_data)
182{
183 G3DViewer *viewer;
184
185 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
186 g_assert(viewer);
187
188 gl_set_twoside(
189 gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)));
190}
191
192/*
193 * View->Textures
194 */
195
196void gui_on_textures_cb(GtkWidget *widget, gpointer user_data)
197{
198 G3DViewer *viewer;
199
200 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
201 g_assert(viewer);
202
203 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
204 viewer->glflags |= G3D_FLAG_GL_TEXTURES;
205 else
206 viewer->glflags &= ~G3D_FLAG_GL_TEXTURES;
207}
208
209/*
210 * View->Specular Lighting
211 */
212
213void gui_on_specular_cb(GtkWidget *widget, gpointer user_data)
214{
215 G3DViewer *viewer;
216
217 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
218 g_assert(viewer);
219
220 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
221 viewer->glflags |= G3D_FLAG_GL_SPECULAR;
222 else
223 viewer->glflags &= ~G3D_FLAG_GL_SPECULAR;
224}
225
226/*
227 * View->Wireframe
228 */
229
230void gui_on_wireframe_cb(GtkWidget *widget, gpointer user_data)
231{
232 G3DViewer *viewer;
233
234 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
235 g_assert(viewer);
236
237 if(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget)))
238 {
239 glPolygonMode(GL_FRONT, GL_LINE);
240 glPolygonMode(GL_BACK, GL_LINE);
241 }
242 else
243 {
244 glPolygonMode(GL_FRONT, GL_FILL);
245 glPolygonMode(GL_BACK, GL_FILL);
246 }
247}
248
249/*
250 * View->Background Color
251 */
252
253void gui_on_bgcolor_cb(GtkWidget *widget, gpointer user_data)
254{
255 G3DViewer *viewer;
256 GtkWidget *colorsel, *colordialog;
257 GdkColor color;
258 gint retval;
259
260 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
261 g_assert(viewer != NULL);
262
263 colorsel = glade_xml_get_widget(viewer->interface.xml, "cs_background");
264 colordialog = glade_xml_get_widget(viewer->interface.xml, "color_dialog");
265
266 /* set active background color */
267 color.red = viewer->bgcolor[0] * 0xFFFF;
268 color.green = viewer->bgcolor[1] * 0xFFFF;
269 color.blue = viewer->bgcolor[2] * 0xFFFF;
270 gtk_color_selection_set_previous_color(GTK_COLOR_SELECTION(colorsel),
271 &color);
272 gtk_color_selection_set_current_color(GTK_COLOR_SELECTION(colorsel),
273 &color);
274
275 retval = gtk_dialog_run(GTK_DIALOG(colordialog));
276 gtk_widget_hide(colordialog);
277 if(retval == GTK_RESPONSE_CANCEL)
278 {
279 gtk_color_selection_get_previous_color(GTK_COLOR_SELECTION(colorsel),
280 &color);
281 viewer->bgcolor[0] = (gdouble)color.red / 65536.0;
282 viewer->bgcolor[1] = (gdouble)color.green / 65536.0;
283 viewer->bgcolor[2] = (gdouble)color.blue / 65536.0;
284
285 glarea_update(viewer->interface.glarea);
286 }
287}
288
289/*
290 * Help->Info
291 */
292
293void gui_on_help_info_cb(GtkWidget *widget, gpointer user_data)
294{
295 G3DViewer *viewer;
296 GtkWidget *info_dialog;
297
298 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
299 g_assert(viewer != NULL);
300
301 info_dialog = glade_xml_get_widget(viewer->interface.xml, "info_dialog");
302
303 gtk_widget_show_all(info_dialog);
304}
305
306/*
307 * ColorDialog: color changed
308 */
309void gui_color_changed_cb(GtkColorSelection *colorsel,
310 gpointer user_data)
311{
312 G3DViewer *viewer;
313 GdkColor color;
314
315 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(colorsel), "viewer");
316 g_assert(viewer != NULL);
317
318 gtk_color_selection_get_current_color(colorsel, &color);
319 viewer->bgcolor[0] = (gdouble)color.red / 65536.0;
320 viewer->bgcolor[1] = (gdouble)color.green / 65536.0;
321 viewer->bgcolor[2] = (gdouble)color.blue / 65536.0;
322
323#if DEBUG > 4
324 g_printerr("D: gui_color_changed_cb: color %.2f, %.2f, %.2f\n",
325 viewer->bgcolor[0],
326 viewer->bgcolor[1],
327 viewer->bgcolor[2]);
328#endif
329
330 glarea_update(viewer->interface.glarea);
331}
332
333/*
334 * Screenshot
335 */
336void gui_on_screenshot_cb(GtkWidget *widget, gpointer user_data)
337{
338 G3DViewer *viewer;
339 gchar *filename, *basename;
340 guint32 width, height;
341
342 viewer = (G3DViewer *)g_object_get_data(G_OBJECT(widget), "viewer");
343 g_assert(viewer);
344
345 /* don't screenshot empty window */
346 if(viewer->filename == NULL)
347 return;
348
349 width = viewer->interface.glarea->allocation.width;
350 height = viewer->interface.glarea->allocation.height;
351
352 basename = g_path_get_basename(viewer->filename);
353 filename = g_strdup_printf("g3dviewer-screenshot-%s.png", basename);
354 g_free(basename);
355
356
357
358 if(screenshot_save(filename, width, height))
359 g_print("screenshot \"%s\" saved.\n", filename);
360 else
361 g_printerr("failed saving screenshot \"%s\".\n", filename);
362
363 g_free(filename);
364}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.c
new file mode 100644
index 0000000..7f7fddd
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.c
@@ -0,0 +1,404 @@
1/* $Id: gui_glade.c 58 2006-11-05 19:21:04Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28#include <string.h>
29
30#include <gtk/gtk.h>
31#include <gtk/gtkgl.h>
32#include <glade/glade-xml.h>
33
34#include <g3d/plugins.h>
35
36#include "main.h"
37#include "model.h"
38#include "glarea.h"
39
40#include "gui_glade.h"
41#include "gui_infowin.h"
42#include "gui_log.h"
43
44static void gui_glade_clone_menuitem(GtkWidget *menuitem, gpointer user_data);
45
46/*
47 * initializes libglade
48 */
49
50gboolean gui_glade_init(G3DViewer *viewer)
51{
52 return TRUE;
53}
54
55static void gui_glade_add_open_filters(G3DViewer *viewer)
56{
57 GtkWidget *opendialog;
58 GtkFileFilter *filter;
59 GSList *plugins;
60 G3DPlugin *plugin;
61 gchar *name, *exts, **ext, *glob, *tmp;
62
63 opendialog = glade_xml_get_widget(viewer->interface.xml, "open_dialog");
64
65 /* "all files" filter */
66 filter = gtk_file_filter_new();
67 gtk_file_filter_set_name(filter, _("all files"));
68 gtk_file_filter_add_pattern(filter, "*");
69 gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(opendialog), filter);
70
71 /* FIXME: evil hack? */
72 plugins = viewer->g3dcontext->plugins;
73 while(plugins)
74 {
75 plugin = (G3DPlugin *)plugins->data;
76 plugins = plugins->next;
77
78 if(plugin->type != G3D_PLUGIN_IMPORT) continue;
79
80 filter = gtk_file_filter_new();
81 exts = g_strjoinv(", ", plugin->extensions);
82 if(strlen(exts) > 30)
83 {
84 tmp = exts;
85 exts = g_strdup_printf("%.*s...", 30, tmp);
86 g_free(tmp);
87 }
88 name = g_strdup_printf("%s (%s)", plugin->name, exts);
89 gtk_file_filter_set_name(filter, name);
90 g_free(name);
91 g_free(exts);
92
93 ext = plugin->extensions;
94 while(ext && *ext)
95 {
96 glob = g_strdup_printf("*.%s", *ext);
97 gtk_file_filter_add_pattern(filter, glob);
98 g_free(glob);
99
100 ext ++;
101 }
102
103 gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(opendialog), filter);
104 }
105}
106
107/*
108 * loads interface from .glade file
109 */
110
111gboolean gui_glade_load(G3DViewer *viewer)
112{
113 GladeXML *xml;
114 GtkWidget *window, *widget, *popupmenu, *glarea, *statusbar;
115 gint i;
116 static const gchar *viewer_widgets[] = {
117 "main_window",
118 "mi_file_open",
119 "mi_properties",
120 "mi_screenshot",
121 "mi_show_menubar",
122 "mi_show_toolbar",
123 "mi_fullscreen",
124 "mi_zoomfit",
125 "mi_wireframe",
126 "mi_specular",
127 "mi_shininess",
128 "mi_textures",
129 "mi_twosided",
130 "mi_bgcolor",
131 "mi_info",
132 "tb_file_open",
133 "tb_properties",
134 "tb_zoomfit",
135 "tb_screenshot",
136 "tb_log_clear",
137 "tb_log_save",
138 "cs_background",
139 "gtkglext1",
140 NULL };
141
142 /* load main window from xml */
143 xml = glade_xml_new(DATA_DIR "/glade/g3dviewer.glade",
144 NULL, NULL);
145
146 viewer->interface.xml = xml;
147
148 glade_xml_signal_autoconnect(xml);
149 window = glade_xml_get_widget(xml, "main_window");
150
151 /* connect glarea (TODO: remove link) */
152 glarea = glade_xml_get_widget(xml, "gtkglext1");
153 viewer->interface.glarea = glarea;
154
155 /* connect viewer pointer to objects */
156 i = 0;
157 while(viewer_widgets[i] != NULL)
158 {
159 widget = glade_xml_get_widget(xml, viewer_widgets[i]);
160 if(widget)
161 {
162#if DEBUG > 1
163 g_printerr("D: viewer_widgets[%d]: %s\n", i, viewer_widgets[i]);
164#endif
165 g_object_set_data(G_OBJECT(widget), "viewer", viewer);
166 }
167 i ++;
168 }
169
170 /* initialize infowin */
171 gui_infowin_initialize(viewer, glade_xml_get_widget(xml, "proptree"));
172
173 /* connect main menu to glarea */
174 popupmenu = gtk_menu_new();
175 gtk_container_foreach(
176 GTK_CONTAINER(glade_xml_get_widget(xml, "menu_main")),
177 gui_glade_clone_menuitem,
178 popupmenu);
179 g_object_set_data(G_OBJECT(viewer->interface.glarea), "menu",
180 popupmenu);
181 gtk_widget_show_all(popupmenu);
182
183 /* get statusbar context id */
184 statusbar = glade_xml_get_widget(viewer->interface.xml, "statusbar");
185 viewer->interface.status_context_id = gtk_statusbar_get_context_id(
186 GTK_STATUSBAR(statusbar), "default");
187
188 /* update "open" dialog */
189 gui_glade_add_open_filters(viewer);
190
191 /* initialize log */
192 gui_log_initialize(viewer, glade_xml_get_widget(xml, "logtree"));
193 g_log_set_handler("LibG3D", G_LOG_LEVEL_MASK, gui_log_handler, viewer);
194
195 /* show main window */
196 viewer->interface.window = window;
197 gtk_widget_show_all(window);
198
199 /* hide progress bar */
200 gui_glade_update_progress_bar_cb(0.0, FALSE, viewer);
201
202 glarea_update(viewer->interface.glarea);
203
204 return TRUE;
205}
206
207/*
208 * custom log handler to suppress warning in gui_glade_clone_menuitem
209 */
210static void gui_glade_null_logger(const gchar *log_domain,
211 GLogLevelFlags log_level,
212 const gchar *message, gpointer unused_data)
213{
214 ; /* do nothing */
215}
216
217/*
218 * clones one main menu item and attaches it to a popup menu
219 */
220static void gui_glade_clone_menuitem(GtkWidget *menuitem, gpointer user_data)
221{
222 GtkWidget *menu, *newmi;
223 GList *children;
224 const gchar *label;
225
226 menu = (GtkWidget *)user_data;
227
228 children = gtk_container_get_children(GTK_CONTAINER(menuitem));
229 if(children)
230 {
231 label = gtk_label_get_text(GTK_LABEL(g_list_nth_data(children, 0)));
232 }
233 else return;
234
235#if DEBUG > 1
236 g_printerr("D: label: %s\n", label);
237#endif
238 newmi = gtk_menu_item_new_with_label(label);
239 gtk_menu_shell_append(GTK_MENU_SHELL(menu), newmi);
240
241 /* disable warning */
242 g_log_set_default_handler(gui_glade_null_logger, NULL);
243
244 /* this normally generates a warning:
245 * gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
246 */
247 gtk_menu_item_set_submenu(GTK_MENU_ITEM(newmi),
248 gtk_menu_item_get_submenu(GTK_MENU_ITEM(menuitem)));
249
250 /* reenable logging */
251 g_log_set_default_handler(g_log_default_handler, NULL);
252}
253
254/*
255 * show "open" dialog
256 */
257gboolean gui_glade_open_dialog(G3DViewer *viewer)
258{
259 GtkWidget *opendialog;
260 gchar *filename;
261 gint retval;
262
263 opendialog = glade_xml_get_widget(viewer->interface.xml, "open_dialog");
264
265 retval = gtk_dialog_run(GTK_DIALOG(opendialog));
266 gtk_widget_hide(opendialog);
267 if(retval == GTK_RESPONSE_OK)
268 {
269 filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(opendialog));
270
271 if(viewer->filename)
272 g_free(viewer->filename);
273 viewer->filename = filename;
274
275 retval = model_load(viewer);
276
277 glarea_update(viewer->interface.glarea);
278
279 return retval;
280 }
281
282 return FALSE;
283}
284
285/*
286 * show text in status bar
287 */
288
289gboolean gui_glade_status(G3DViewer *viewer, const gchar *text)
290{
291 GtkWidget *statusbar;
292
293 statusbar = glade_xml_get_widget(viewer->interface.xml, "statusbar");
294 gtk_statusbar_push(GTK_STATUSBAR(statusbar),
295 viewer->interface.status_context_id, text);
296
297 return TRUE;
298}
299
300/*
301 * create GL widget (called from libglade)
302 */
303GtkWidget *gui_glade_create_glwidget(void)
304{
305 GtkWidget *glarea;
306 GdkGLConfig *glconfig;
307
308 glconfig = gdk_gl_config_new_by_mode(
309 GDK_GL_MODE_RGBA | GDK_GL_MODE_DEPTH | GDK_GL_MODE_DOUBLE);
310
311 if(glconfig == NULL)
312 {
313 glconfig = gdk_gl_config_new_by_mode(
314 GDK_GL_MODE_RGBA | GDK_GL_MODE_DEPTH |
315 GDK_GL_MODE_ALPHA | GDK_GL_MODE_DOUBLE);
316 }
317
318 if(glconfig == NULL) return NULL;
319
320 glarea = gtk_drawing_area_new();
321 gtk_widget_set_gl_capability(glarea, glconfig, NULL, TRUE,
322 GDK_GL_RGBA_TYPE);
323
324 if(glarea == NULL) return NULL;
325
326 gtk_widget_set_events(glarea,
327 GDK_EXPOSURE_MASK |
328 GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
329 GDK_SCROLL_MASK |
330 GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK);
331
332 g_signal_connect(G_OBJECT(glarea), "scroll_event",
333 GTK_SIGNAL_FUNC(glarea_scroll), NULL);
334 g_signal_connect(G_OBJECT(glarea), "expose_event",
335 GTK_SIGNAL_FUNC(glarea_expose), NULL);
336 g_signal_connect(G_OBJECT(glarea), "motion_notify_event",
337 GTK_SIGNAL_FUNC(glarea_motion_notify), NULL);
338 g_signal_connect(G_OBJECT(glarea), "button_press_event",
339 GTK_SIGNAL_FUNC(glarea_button_pressed), NULL);
340 g_signal_connect(G_OBJECT(glarea), "configure_event",
341 GTK_SIGNAL_FUNC(glarea_configure), NULL);
342 g_signal_connect(G_OBJECT(glarea), "destroy_event",
343 GTK_SIGNAL_FUNC(glarea_destroy), NULL);
344
345 return glarea;
346}
347
348/*
349 * set background color callback (G3DSetBgColorFunc)
350 */
351gboolean gui_glade_set_bgcolor_cb(
352 gfloat r, gfloat g, gfloat b, gfloat a,
353 gpointer user_data)
354{
355 G3DViewer *viewer;
356
357 viewer = (G3DViewer *)user_data;
358 g_assert(viewer);
359
360 return TRUE;
361}
362
363/*
364 * update interface callback (G3DUpdateInterfaceFunc)
365 */
366gboolean gui_glade_update_interface_cb(gpointer user_data)
367{
368 while(gtk_events_pending())
369 gtk_main_iteration();
370
371 return TRUE;
372}
373
374/*
375 * update progress bar callback (G3DUpdateProgressBarFunc)
376 */
377gboolean gui_glade_update_progress_bar_cb(gfloat percentage,
378 gboolean show, gpointer user_data)
379{
380 G3DViewer *viewer;
381 GtkWidget *pbar;
382 gchar *text;
383
384 viewer = (G3DViewer *)user_data;
385 g_assert(viewer);
386
387 pbar = glade_xml_get_widget(viewer->interface.xml, "main_progressbar");
388 g_assert(pbar);
389
390 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pbar), percentage);
391
392 text = g_strdup_printf("%.1f%%", percentage * 100);
393 gtk_progress_bar_set_text(GTK_PROGRESS_BAR(pbar), text);
394 g_free(text);
395
396 if(show)
397 gtk_widget_show(pbar);
398 else
399 gtk_widget_hide(pbar);
400
401 gui_glade_update_interface_cb(user_data);
402 return TRUE;
403}
404
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.h
new file mode 100644
index 0000000..6403c98
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_glade.h
@@ -0,0 +1,41 @@
1/* $Id: gui_glade.h 47 2006-05-22 17:53:38Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _GUI_GLADE_H
24#define _GUI_GLADE_H
25
26#include "main.h"
27
28gboolean gui_glade_init(G3DViewer *viewer);
29gboolean gui_glade_load(G3DViewer *viewer);
30gboolean gui_glade_open_dialog(G3DViewer *viewer);
31gboolean gui_glade_status(G3DViewer *viewer, const gchar *text);
32
33/* callbacks */
34gboolean gui_glade_set_bgcolor_cb(
35 gfloat r, gfloat g, gfloat b, gfloat a,
36 gpointer user_data);
37gboolean gui_glade_update_interface_cb(gpointer user_data);
38gboolean gui_glade_update_progress_bar_cb(gfloat percentage,
39 gboolean show, gpointer user_data);
40
41#endif /* _GUI_GLADE_H */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.c
new file mode 100644
index 0000000..841e47c
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.c
@@ -0,0 +1,451 @@
1/* $Id: gui_infowin.c 36 2006-05-08 20:10:44Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28#include <string.h>
29
30#include <gtk/gtk.h>
31
32#include "main.h"
33#include "glarea.h"
34
35enum _columns
36{
37 COL_TYPE,
38 COL_TITLE,
39 COL_ICON,
40 COL_VALUE,
41 COL_CHECK,
42 COL_SHOWHIDE,
43 COL_POINTER,
44 N_COLUMNS
45};
46
47enum _types
48{
49 TYPE_OBJECT,
50 TYPE_MATERIAL,
51 TYPE_TEXTURE,
52 TYPE_PROPERTY,
53 TYPE_FOLDER,
54 N_TYPES
55};
56
57enum _icons
58{
59 ICON_MODEL,
60 ICON_OBJECT,
61 ICON_MATERIAL,
62 ICON_TEXTURE,
63 ICON_PROPERTY,
64 N_ICONS
65};
66
67static GtkTreeStore *gui_infowin_create_model(void);
68static gboolean gui_infowin_clean(G3DViewer *viewer);
69static gboolean gui_infowin_create_columns(GtkWidget *treeview,
70 GtkTreeModel *model, G3DViewer *viewer);
71
72gboolean gui_infowin_initialize(G3DViewer *viewer, GtkWidget *treeview)
73{
74 GtkTreeStore *treestore;
75 GtkTreeSelection *select;
76 GtkTreeIter iter;
77
78 treestore = gui_infowin_create_model();
79 gtk_tree_view_set_model(GTK_TREE_VIEW(treeview),
80 GTK_TREE_MODEL(treestore));
81 viewer->info.treestore = treestore;
82
83 if(gui_infowin_create_columns(treeview, GTK_TREE_MODEL(treestore),
84 viewer) == FALSE)
85 return FALSE;
86
87 /* selection */
88 select = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview));
89 gtk_tree_selection_set_mode(select, GTK_SELECTION_SINGLE);
90
91 /* initial nodes */
92 gtk_tree_store_append(treestore, &iter, NULL);
93
94 /* load icons */
95 viewer->interface.icons = g_new0(GdkPixbuf *, N_ICONS);
96 viewer->interface.icons[ICON_MODEL] =
97 gdk_pixbuf_new_from_file(
98 DATA_DIR "/pixmaps/icon16_model.xpm", NULL);
99 viewer->interface.icons[ICON_OBJECT] =
100 gdk_pixbuf_new_from_file(
101 DATA_DIR "/pixmaps/icon16_object.png", NULL);
102 viewer->interface.icons[ICON_MATERIAL] =
103 gdk_pixbuf_new_from_file(
104 DATA_DIR "/pixmaps/icon16_material.xpm", NULL);
105 viewer->interface.icons[ICON_TEXTURE] =
106 gdk_pixbuf_new_from_file(
107 DATA_DIR "/pixmaps/icon16_texture.xpm", NULL);
108 viewer->interface.icons[ICON_PROPERTY] =
109 gdk_pixbuf_new_from_file(
110 DATA_DIR "/pixmaps/icon16_property.png", NULL);
111
112 return TRUE;
113}
114
115void gui_infowin_cleanup(G3DViewer *viewer)
116{
117 gint32 i;
118
119 gui_infowin_clean(NULL);
120
121 /* cleanup icons */
122 for(i = 0; i < N_ICONS; i ++)
123 gdk_pixbuf_unref(viewer->interface.icons[i]);
124
125 g_free(viewer->interface.icons);
126}
127
128/****************************************************************************/
129
130static GtkTreeStore *gui_infowin_create_model(void)
131{
132 GtkTreeStore *treestore;
133
134 treestore = gtk_tree_store_new(N_COLUMNS,
135 G_TYPE_INT, /* type of node */
136 G_TYPE_STRING, /* title */
137 GDK_TYPE_PIXBUF, /* pixbuf pointer */
138 G_TYPE_STRING, /* number */
139 G_TYPE_BOOLEAN, /* show checkbox */
140 G_TYPE_BOOLEAN, /* show/hide object */
141 G_TYPE_POINTER /* custom pointer (object, etc.) */
142 );
143
144 return treestore;
145}
146
147static void gui_infowin_object_hide_cb(GtkCellRendererToggle *renderer,
148 gchar *pathstr, gpointer data)
149{
150 GtkTreePath *path;
151 GtkTreeIter iter;
152 GtkTreeModel *model;
153 gboolean toggle_item;
154 G3DViewer *viewer;
155 G3DObject *object;
156 gpointer ptr;
157
158 model = g_object_get_data(G_OBJECT(renderer), "model");
159 viewer = g_object_get_data(G_OBJECT(renderer), "viewer");
160
161 g_assert(model);
162 g_assert(viewer);
163
164 path = gtk_tree_path_new_from_string(pathstr);
165 gtk_tree_model_get_iter(model, &iter, path);
166
167 gtk_tree_model_get(model, &iter,
168 COL_SHOWHIDE, &toggle_item,
169 COL_POINTER, &ptr,
170 -1);
171 object = (G3DObject *)ptr;
172
173#if DEBUG > 3
174 g_printerr("D: gui_infowin_object_hide_cb: object=0x%p (%i)\n", object,
175 toggle_item);
176#endif
177
178 gtk_tree_path_free(path);
179
180 if(object == NULL) return;
181
182 toggle_item ^= 1;
183 object->hide = !toggle_item;
184
185 gtk_tree_store_set(GTK_TREE_STORE(model), &iter, COL_SHOWHIDE,
186 toggle_item, -1);
187
188 glarea_update(viewer->interface.glarea);
189}
190
191static gboolean gui_infowin_create_columns(GtkWidget *treeview,
192 GtkTreeModel *model, G3DViewer *viewer)
193{
194 GtkCellRenderer *renderer;
195 GtkTreeViewColumn *column;
196
197 /* visibility column */
198 renderer = gtk_cell_renderer_toggle_new();
199 g_object_set_data(G_OBJECT(renderer), "model", model);
200 g_object_set_data(G_OBJECT(renderer), "viewer", viewer);
201 g_signal_connect(G_OBJECT(renderer), "toggled",
202 G_CALLBACK(gui_infowin_object_hide_cb), NULL);
203 column = gtk_tree_view_column_new_with_attributes("Show",
204 renderer,
205 "active", COL_SHOWHIDE,
206 "visible", COL_CHECK,
207 "activatable", COL_CHECK,
208 NULL);
209 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
210
211 /* title column */
212 column = gtk_tree_view_column_new();
213
214 /* title column: icon */
215 renderer = gtk_cell_renderer_pixbuf_new();
216 gtk_tree_view_column_pack_start(column, renderer, FALSE);
217 gtk_tree_view_column_set_attributes(column, renderer,
218 "pixbuf", COL_ICON,
219 NULL);
220
221 /* title column: text */
222 renderer = gtk_cell_renderer_text_new();
223 gtk_tree_view_column_pack_start(column, renderer, TRUE);
224 gtk_tree_view_column_set_attributes(column, renderer,
225 "text", COL_TITLE,
226 NULL);
227
228 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
229 gtk_tree_view_set_expander_column(GTK_TREE_VIEW(treeview), column);
230
231 /* value column */
232 renderer = gtk_cell_renderer_text_new();
233 column = gtk_tree_view_column_new_with_attributes("Value",
234 renderer,
235 "text", COL_VALUE,
236 NULL);
237 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
238
239 gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE);
240
241 return TRUE;
242}
243
244
245static gboolean gui_infowin_remove_children(GtkTreeStore *treestore,
246 GtkTreeIter *iter_parent)
247{
248 GtkTreeIter iter_child;
249 gint n, i;
250
251 n = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(treestore),
252 iter_parent);
253 gtk_tree_model_iter_children(GTK_TREE_MODEL(treestore),
254 &iter_child, iter_parent);
255
256 for(i = 0; i < n; i ++)
257 {
258 gui_infowin_remove_children(treestore, &iter_child);
259 gtk_tree_store_remove(treestore, &iter_child);
260 }
261
262 return TRUE;
263}
264
265static gboolean gui_infowin_clean(G3DViewer *viewer)
266{
267 gui_infowin_remove_children(viewer->info.treestore, NULL);
268
269 return TRUE;
270}
271
272static gboolean add_texture(G3DViewer *viewer, GtkTreeIter *parentiter,
273 G3DImage *texture)
274{
275 GtkTreeIter iter;
276
277 if(texture)
278 {
279 gtk_tree_store_append(viewer->info.treestore, &iter, parentiter);
280 gtk_tree_store_set(viewer->info.treestore, &iter,
281 COL_TYPE, TYPE_TEXTURE,
282 COL_TITLE, texture->name,
283 COL_VALUE, "",
284 COL_CHECK, FALSE,
285 COL_ICON, viewer->interface.icons[ICON_TEXTURE],
286 -1);
287
288 return TRUE;
289 }
290
291 return FALSE;
292}
293
294static gboolean add_materials(G3DViewer *viewer, GtkTreeIter *parentiter,
295 GSList *materials)
296{
297 GSList *mlist;
298 GtkTreeIter iter1, iter2;
299 G3DMaterial *material;
300 gchar *matname, *stmp;
301
302 mlist = materials;
303 while(mlist != NULL)
304 {
305 material = (G3DMaterial *)mlist->data;
306
307 if(material->name && strlen(material->name))
308 matname = material->name;
309 else
310 matname = _("(unnamed material)");
311
312 gtk_tree_store_append(viewer->info.treestore, &iter1, parentiter);
313 gtk_tree_store_set(viewer->info.treestore, &iter1,
314 COL_TYPE, TYPE_MATERIAL,
315 COL_TITLE, matname,
316 COL_ICON, viewer->interface.icons[ICON_MATERIAL],
317 COL_VALUE, "",
318 COL_CHECK, FALSE,
319 -1);
320
321 add_texture(viewer, &iter1, material->tex_image);
322
323 /* material properties */
324 stmp = g_strdup_printf("#%02X%02X%02X",
325 (gint)(material->r * 255),
326 (gint)(material->g * 255),
327 (gint)(material->b * 255));
328 gtk_tree_store_append(viewer->info.treestore, &iter2, &iter1);
329 gtk_tree_store_set(viewer->info.treestore, &iter2,
330 COL_TYPE, TYPE_PROPERTY,
331 COL_TITLE, _("color"),
332 COL_VALUE, stmp,
333 COL_CHECK, FALSE,
334 COL_ICON, viewer->interface.icons[ICON_PROPERTY],
335 -1);
336 g_free(stmp);
337
338 /* next material */
339 mlist = mlist->next;
340 }
341
342 return TRUE;
343}
344
345static gboolean add_objects(G3DViewer *viewer, GtkTreeIter *parentiter,
346 GSList *objects)
347{
348 GtkTreeIter iter, iter2;
349 G3DObject *object;
350 gchar *stmp;
351
352 while(objects != NULL)
353 {
354 object = (G3DObject *)objects->data;
355
356 /* object node */
357 gtk_tree_store_append(viewer->info.treestore, &iter, parentiter);
358 gtk_tree_store_set(viewer->info.treestore, &iter,
359 COL_TYPE, TYPE_OBJECT,
360 COL_TITLE, object->name,
361 COL_ICON, viewer->interface.icons[ICON_OBJECT],
362 COL_VALUE, "",
363 COL_CHECK, TRUE,
364 COL_SHOWHIDE, TRUE,
365 COL_POINTER, object,
366 -1);
367
368 /* sub-objects */
369 add_objects(viewer, &iter, object->objects);
370
371 /* texture image */
372 add_texture(viewer, &iter, object->tex_image);
373
374 /* vertices */
375 stmp = g_strdup_printf("%d", object->vertex_count);
376 gtk_tree_store_append(viewer->info.treestore, &iter2, &iter);
377 gtk_tree_store_set(viewer->info.treestore, &iter2,
378 COL_TYPE, TYPE_PROPERTY,
379 COL_TITLE, _("number of vertices"),
380 COL_VALUE, stmp,
381 COL_CHECK, FALSE,
382 COL_ICON, viewer->interface.icons[ICON_PROPERTY],
383 -1);
384 g_free(stmp);
385
386 /* faces */
387 stmp = g_strdup_printf("%d", g_slist_length(object->faces));
388 gtk_tree_store_append(viewer->info.treestore, &iter2, &iter);
389 gtk_tree_store_set(viewer->info.treestore, &iter2,
390 COL_TYPE, TYPE_PROPERTY,
391 COL_TITLE, _("number of faces"),
392 COL_VALUE, stmp,
393 COL_CHECK, FALSE,
394 COL_ICON, viewer->interface.icons[ICON_PROPERTY],
395 -1);
396 g_free(stmp);
397
398 /* materials */
399 stmp = g_strdup_printf("%d", g_slist_length(object->materials));
400 gtk_tree_store_append(viewer->info.treestore, &iter2, &iter);
401 gtk_tree_store_set(viewer->info.treestore, &iter2,
402 COL_TYPE, TYPE_PROPERTY,
403 COL_TITLE, _("number of materials"),
404 COL_VALUE, stmp,
405 COL_CHECK, FALSE,
406 COL_ICON, viewer->interface.icons[ICON_PROPERTY],
407 -1);
408 g_free(stmp);
409
410 /* add object-specific materials */
411 add_materials(viewer, &iter, object->materials);
412
413 objects = objects->next;
414 }
415
416 return TRUE;
417}
418
419gboolean gui_infowin_update(G3DViewer *viewer)
420{
421 GtkTreeIter rootiter;
422 gchar *stmp, *basename;
423
424 /* clear tree */
425 gui_infowin_clean(viewer);
426
427 if(viewer->model == NULL) return FALSE;
428
429 basename = g_path_get_basename(viewer->model->filename);
430 stmp = g_strdup_printf("%s: %s", _("model"), basename);
431 gtk_tree_store_append(viewer->info.treestore, &rootiter, NULL);
432 gtk_tree_store_set(viewer->info.treestore, &rootiter,
433 COL_TYPE, TYPE_FOLDER,
434 COL_TITLE, stmp,
435 COL_VALUE, "",
436 COL_CHECK, FALSE,
437 COL_ICON, viewer->interface.icons[ICON_MODEL],
438 -1);
439 g_free(basename);
440 g_free(stmp);
441
442 if(viewer->model == NULL) return FALSE;
443
444 /* append objects */
445 add_objects(viewer, &rootiter, viewer->model->objects);
446
447 /* add global materials */
448 add_materials(viewer, &rootiter, viewer->model->materials);
449
450 return TRUE;
451}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.h
new file mode 100644
index 0000000..9d32f01
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_infowin.h
@@ -0,0 +1,33 @@
1/* $Id: gui_infowin.h 25 2006-04-22 17:24:27Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _GUI_INFOWIN_H
24#define _GUI_INFOWIN_H
25
26#include <gtk/gtk.h>
27#include <g3d/g3d.h>
28
29gboolean gui_infowin_initialize(G3DViewer *viewer, GtkWidget *treeview);
30gboolean gui_infowin_clean(G3DViewer *viewer);
31gboolean gui_infowin_update(G3DViewer *viewer);
32
33#endif /* _GUI_INFOWIN_H */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.c
new file mode 100644
index 0000000..0914b30
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.c
@@ -0,0 +1,248 @@
1/* $Id:$ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28#include <string.h>
29
30#include <gtk/gtk.h>
31
32#include "main.h"
33
34enum _columns
35{
36 COL_LOGLEVEL,
37 COL_ICON,
38 COL_MESSAGE,
39 COL_SET_BG,
40 COL_BGCOLOR,
41 COL_SET_FAMILY,
42 COL_FAMILY,
43 N_COLUMNS
44};
45
46static GtkTreeStore *gui_log_create_model(void);
47static gboolean gui_log_create_columns(GtkWidget *treeview,
48 GtkTreeModel *model, G3DViewer *viewer);
49static GtkTreeIter *gui_log_parent_iter_for_level(GtkTreeModel *model,
50 gint32 level, GtkTreeIter *parentiter);
51static gboolean gui_log_remove_children(GtkTreeStore *treestore,
52 GtkTreeIter *iter_parent);
53
54gboolean gui_log_initialize(G3DViewer *viewer, GtkWidget *treeview)
55{
56 GtkTreeStore *treestore;
57 GtkTreeSelection *select;
58
59 treestore = gui_log_create_model();
60 gtk_tree_view_set_model(GTK_TREE_VIEW(treeview),
61 GTK_TREE_MODEL(treestore));
62 viewer->info.logtreestore = treestore;
63
64 if(gui_log_create_columns(treeview, GTK_TREE_MODEL(treestore),
65 viewer) == FALSE)
66 {
67 return FALSE;
68 }
69
70 select = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview));
71 gtk_tree_selection_set_mode(select, GTK_SELECTION_SINGLE);
72
73 return TRUE;
74}
75
76void gui_log_clean(G3DViewer *viewer)
77{
78 gui_log_remove_children(viewer->info.logtreestore, NULL);
79}
80
81void gui_log_cleanup(G3DViewer *viewer)
82{
83 gui_log_clean(viewer);
84}
85
86void gui_log_handler(const gchar *log_domain, GLogLevelFlags log_level,
87 const gchar *message, gpointer user_data)
88{
89 G3DViewer *viewer;
90 GtkTreeIter iter, *parentiter;
91 gchar *stock_id, *stripped_msg;
92 gint32 level;
93 gchar *family = "Sans Serif";
94 gchar *bgcolor = "#FFFFFF";
95
96 viewer = (G3DViewer *)user_data;
97
98 switch(log_level)
99 {
100 case G_LOG_LEVEL_DEBUG:
101 stock_id = "gtk-dialog-question";
102 family = "Monospace";
103 break;
104 case G_LOG_LEVEL_INFO:
105 stock_id = "gtk-dialog-info";
106 break;
107 case G_LOG_LEVEL_MESSAGE:
108 stock_id = "gtk-info";
109 break;
110 case G_LOG_LEVEL_WARNING:
111 stock_id = "gtk-dialog-warning";
112 bgcolor = "#FF8080";
113 break;
114 default:
115 stock_id = "gtk-about";
116 break;
117 }
118
119 stripped_msg = (gchar *)message;
120 while(*stripped_msg == ' ') stripped_msg ++;
121
122 level = stripped_msg - message;
123 parentiter = gui_log_parent_iter_for_level(
124 GTK_TREE_MODEL(viewer->info.logtreestore), level, NULL);
125
126 gtk_tree_store_append(viewer->info.logtreestore, &iter, parentiter);
127 gtk_tree_store_set(viewer->info.logtreestore, &iter,
128 COL_LOGLEVEL, log_level,
129 COL_ICON, stock_id,
130 COL_MESSAGE, g_strdup(stripped_msg),
131 COL_SET_FAMILY, TRUE,
132 COL_FAMILY, family,
133 COL_SET_BG, TRUE,
134 COL_BGCOLOR, bgcolor,
135 -1);
136
137 if(parentiter) g_free(parentiter);
138
139#if 0
140 g_print("[%s] %s\n", log_domain, message);
141#endif
142}
143
144/*
145 * private stuff
146 */
147
148static GtkTreeStore *gui_log_create_model(void)
149{
150 GtkTreeStore *treestore;
151
152 treestore = gtk_tree_store_new(N_COLUMNS,
153 G_TYPE_INT, /* LOGLEVEL */
154 G_TYPE_STRING, /* ICON */
155 G_TYPE_STRING, /* MESSAGE */
156 G_TYPE_BOOLEAN, /* SET BACKGROUND */
157 G_TYPE_STRING, /* BACKGROUND COLOR */
158 G_TYPE_BOOLEAN, /* SET FAMILY */
159 G_TYPE_STRING /* FAMILY */
160 );
161
162 return treestore;
163}
164
165static gboolean gui_log_create_columns(GtkWidget *treeview,
166 GtkTreeModel *model, G3DViewer *viewer)
167{
168 GtkCellRenderer *renderer;
169 GtkTreeViewColumn *column;
170
171 column = gtk_tree_view_column_new();
172
173 /* icon */
174 renderer = gtk_cell_renderer_pixbuf_new();
175 gtk_tree_view_column_pack_start(column, renderer, FALSE);
176 gtk_tree_view_column_set_attributes(column, renderer,
177 "stock-id", COL_ICON,
178 NULL);
179
180 /* message */
181 renderer = gtk_cell_renderer_text_new();
182 gtk_tree_view_column_pack_start(column, renderer, TRUE);
183 gtk_tree_view_column_set_attributes(column, renderer,
184 "text", COL_MESSAGE,
185 "background-set", COL_SET_BG,
186 "background", COL_BGCOLOR,
187 "family-set", COL_SET_FAMILY,
188 "family", COL_FAMILY,
189 NULL);
190
191 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
192 gtk_tree_view_set_expander_column(GTK_TREE_VIEW(treeview), column);
193
194 gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE);
195
196 return TRUE;
197}
198
199static GtkTreeIter *gui_log_parent_iter_for_level(GtkTreeModel *model,
200 gint32 level, GtkTreeIter *parentiter)
201{
202 GtkTreeIter *iter, *iter2;
203
204 if(level == 0) return NULL;
205
206 if(gtk_tree_model_iter_n_children(model, parentiter) == 0)
207 return NULL;
208
209 iter = g_new0(GtkTreeIter, 1);
210
211 if(gtk_tree_model_iter_nth_child(model, iter, parentiter,
212 gtk_tree_model_iter_n_children(model, parentiter) - 1) == FALSE)
213 {
214 g_free(iter);
215 return NULL;
216 }
217
218 if(level == 1)
219 {
220 return iter;
221 }
222
223 iter2 = gui_log_parent_iter_for_level(model, level - 1, iter);
224 g_free(iter);
225
226 return iter2;
227}
228
229static gboolean gui_log_remove_children(GtkTreeStore *treestore,
230 GtkTreeIter *iter_parent)
231{
232 GtkTreeIter iter_child;
233 gint n, i;
234
235 n = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(treestore),
236 iter_parent);
237 gtk_tree_model_iter_children(GTK_TREE_MODEL(treestore),
238 &iter_child, iter_parent);
239
240 for(i = 0; i < n; i ++)
241 {
242 gui_log_remove_children(treestore, &iter_child);
243 gtk_tree_store_remove(treestore, &iter_child);
244 }
245
246 return TRUE;
247}
248
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.h
new file mode 100644
index 0000000..bb0a355
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gui_log.h
@@ -0,0 +1,36 @@
1/* $Id:$ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _GUI_LOG_H
24#define _GUI_LOG_H
25
26#include "main.h"
27
28#include <gtk/gtk.h>
29
30gboolean gui_log_initialize(G3DViewer *viewer, GtkWidget *treeview);
31void gui_log_clean(G3DViewer *viewer);
32void gui_log_cleanup(G3DViewer *viewer);
33void gui_log_handler(const gchar *log_domain, GLogLevelFlags log_level,
34 const gchar *message, gpointer user_data);
35
36#endif /* _GUI_LOG_H */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/main.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/main.c
new file mode 100644
index 0000000..b5d7e0c
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/main.c
@@ -0,0 +1,172 @@
1/* $Id: main.c 48 2006-05-25 16:30:38Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24#include <config.h>
25#endif
26
27#include <stdio.h>
28#include <stdlib.h>
29#include <string.h>
30
31#include <gtk/gtk.h>
32#include <gtk/gtkgl.h>
33
34#include <g3d/types.h>
35
36#include "main.h"
37#include "model.h"
38#include "glarea.h"
39#include "gui_glade.h"
40#include "trackball.h"
41#include "gl.h"
42
43static gboolean parse_only = FALSE;
44
45static int main_parseargs(int *argc, char ***argv, G3DViewer *viewer);
46static void main_cleanup(G3DViewer *viewer);
47
48int main(int argc, char **argv)
49{
50 G3DViewer *viewer;
51
52 /* localization stuff */
53 setlocale(LC_ALL, "");
54 bindtextdomain("g3dviewer", LOCALEDIR);
55 textdomain("g3dviewer");
56
57#if DEBUG > 3
58 /* memory debugging */
59 atexit(g_mem_profile);
60 g_mem_set_vtable(glib_mem_profiler_table);
61#endif
62
63 gtk_init(&argc, &argv);
64
65#if DEBUG > 0
66 /* gdb stack trace in case of error */
67 g_on_error_stack_trace(NULL);
68#endif
69
70 gtk_gl_init(&argc, &argv);
71
72 /* create viewer and fill with defaults
73 * TODO: move to separate function */
74 viewer = g_new0(G3DViewer, 1);
75 viewer->zoom = 45;
76 viewer->mouse.beginx = 0;
77 viewer->mouse.beginy = 0;
78 viewer->filename = NULL;
79 viewer->bgcolor[0] = 0.9;
80 viewer->bgcolor[1] = 0.8;
81 viewer->bgcolor[2] = 0.6;
82 viewer->bgcolor[3] = 1.0;
83 viewer->glflags =
84 /* G3D_FLAG_GL_SPECULAR | */
85 G3D_FLAG_GL_SHININESS |
86 G3D_FLAG_GL_ALLTWOSIDE |
87 G3D_FLAG_GL_TEXTURES;
88
89 viewer->g3dcontext = g3d_context_new();
90
91 main_parseargs(&argc, &argv, viewer);
92
93 trackball(viewer->quat, 0.0, 0.0, 0.0, 0.0);
94
95 /* the gui related stuff */
96 gui_glade_init(viewer);
97 gui_glade_load(viewer);
98
99 /* register gui callbacks */
100 g3d_context_set_set_bgcolor_func(viewer->g3dcontext,
101 gui_glade_set_bgcolor_cb, viewer);
102 g3d_context_set_update_interface_func(viewer->g3dcontext,
103 gui_glade_update_interface_cb, viewer);
104 g3d_context_set_update_progress_bar_func(viewer->g3dcontext,
105 gui_glade_update_progress_bar_cb, viewer);
106
107 /* load model or show open dialog */
108 if(viewer->filename != NULL)
109 {
110 model_load(viewer);
111 glarea_update(viewer->interface.glarea);
112 }
113 else
114 gui_glade_open_dialog(viewer);
115
116 /* for debugging reasons */
117 if(parse_only)
118 return EXIT_SUCCESS;
119
120 /* ... aaaand go! */
121 gtk_main();
122
123 /* cleaning up :-/ */
124 main_cleanup(viewer);
125
126 return EXIT_SUCCESS;
127}
128
129static void main_showhelp(void)
130{
131 printf(
132 "g3dviewer - a 3D model viewer\n"
133 "\n"
134 "usage: g3dviewer [--option ...] [<filename>]\n"
135 "where option can be:\n"
136 " --help show this help screen\n"
137 );
138 exit(1);
139}
140
141static int main_parseargs(int *argc, char ***argv, G3DViewer *viewer)
142{
143 /* program name */
144 (*argc)--;
145 (*argv)++;
146 while(*argc > 0)
147 {
148#if DEBUG > 3
149 g_printerr("arg: %s\n", **argv);
150#endif
151 if(strcmp(**argv, "--help") == 0) main_showhelp();
152 else if(strcmp(**argv, "--parse-only") == 0)
153 {
154 parse_only = TRUE;
155 }
156 else
157 {
158 viewer->filename = **argv;
159 }
160 (*argv)++;
161 (*argc)--;
162 }
163
164 return EXIT_SUCCESS;
165}
166
167static void main_cleanup(G3DViewer *viewer)
168{
169 g3d_context_free(viewer->g3dcontext);
170 if(viewer->filename != NULL) g_free(viewer->filename);
171 g_free(viewer);
172}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/main.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/main.h
new file mode 100644
index 0000000..40bc5a1
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/main.h
@@ -0,0 +1,70 @@
1/* $Id: main.h 53 2006-06-04 14:49:01Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _MAIN_H
24#define _MAIN_H
25
26#include <GL/gl.h>
27#include <glib/gi18n.h>
28#include <gtk/gtk.h>
29#include <glade/glade-xml.h>
30#include <g3d/g3d.h>
31
32typedef struct {
33 G3DContext *g3dcontext;
34 G3DModel *model;
35 gchar *filename;
36
37 /* GL stuff */
38 GLfloat quat[4];
39 GLfloat zoom;
40 GLfloat aspect;
41 GLfloat bgcolor[4];
42 guint32 glflags;
43
44 /* mouse */
45 struct {
46 gint32 beginx, beginy;
47 } mouse;
48
49 /* model information */
50 struct {
51 GtkTreeStore *treestore;
52 GtkTreeStore *logtreestore;
53 } info;
54
55 /* interface */
56 struct {
57 GladeXML *xml;
58
59 GtkWidget *window;
60 GtkWidget *infowin;
61
62 GtkWidget *glarea;
63 GdkPixbuf **icons;
64
65 guint status_context_id;
66 } interface;
67
68} G3DViewer;
69
70#endif /* _MAIN_H */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/model.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/model.c
new file mode 100644
index 0000000..560affe
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/model.c
@@ -0,0 +1,73 @@
1/* $Id: model.c 54 2006-06-05 11:33:11Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#include <g3d/g3d.h>
24
25#include "main.h"
26#include "texture.h"
27#include "gui_glade.h"
28#include "gui_infowin.h"
29#include "gui_log.h"
30
31gboolean model_load(G3DViewer *viewer)
32{
33 G3DModel *model;
34 gchar *title;
35 gboolean retval = FALSE;
36
37 /* free old model */
38 model = viewer->model;
39 viewer->model = NULL;
40 if(model)
41 g3d_model_free(model);
42
43 /* clean log */
44 gui_log_clean(viewer);
45
46 model = g3d_model_load(viewer->g3dcontext, viewer->filename);
47 if(model)
48 {
49 viewer->model = model;
50 texture_load_all_textures(viewer->model);
51 title = g_strdup_printf(_("%s successfully loaded."),
52 viewer->filename ? viewer->filename : _("unnamed model"));
53 gui_glade_status(viewer, title);
54 g_free(title);
55 retval = TRUE;
56 }
57
58#if DEBUG > 3
59 g_printerr("[model] model pointer: %p\n", model);
60#endif
61
62 /* update model information */
63 gui_infowin_update(viewer);
64
65 /* update window title */
66 title = g_strdup_printf("g3dviewer%s%s",
67 viewer->model ? " - " : "",
68 viewer->filename ? viewer->filename : "");
69 gtk_window_set_title(GTK_WINDOW(viewer->interface.window), title);
70 g_free(title);
71
72 return retval;
73}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/model.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/model.h
new file mode 100644
index 0000000..36d7a5e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/model.h
@@ -0,0 +1,30 @@
1/* $Id: model.h 25 2006-04-22 17:24:27Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _MODEL_H
24#define _MODEL_H
25
26#include "main.h"
27
28gboolean model_load(G3DViewer *viewer);
29
30#endif
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.c
new file mode 100644
index 0000000..f304666
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.c
@@ -0,0 +1,73 @@
1/* $Id: screenshot.c 41 2006-05-22 12:23:29Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <gdk-pixbuf/gdk-pixbuf.h>
28#include <GL/gl.h>
29
30static guint8 *screenshot_get_pixels(guint32 width, guint32 height)
31{
32 guint8 *pixels;
33
34 pixels = g_new(guint8, width * height * 4);
35
36 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
37
38 return pixels;
39}
40
41gboolean screenshot_save(const gchar *filename, guint32 width, guint32 height)
42{
43 guint8 *pixels;
44 GdkPixbuf *pixbuf, *flipped;
45
46 pixels = screenshot_get_pixels(width, height);
47
48 if(pixels == NULL)
49 return FALSE;
50
51 pixbuf = gdk_pixbuf_new_from_data(pixels,
52 GDK_COLORSPACE_RGB, TRUE,
53 8, width, height, width * 4,
54 NULL, NULL);
55
56 if(pixbuf == NULL)
57 return FALSE;
58
59 /* GL returns pixels starting from lower left corner */
60 flipped = gdk_pixbuf_flip(pixbuf, FALSE);
61
62 if(flipped == NULL)
63 return FALSE;
64
65 gdk_pixbuf_save(flipped, filename, "png", NULL, NULL);
66
67 g_free(pixels);
68
69 gdk_pixbuf_unref(pixbuf);
70 gdk_pixbuf_unref(flipped);
71
72 return TRUE;
73}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.h
new file mode 100644
index 0000000..c929a50
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/screenshot.h
@@ -0,0 +1,28 @@
1/* $Id: screenshot.h 41 2006-05-22 12:23:29Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _SCREENSHOT_H
24#define _SCREENSHOT_H
25
26gboolean screenshot_save(const gchar *filename, guint32 width, guint32 height);
27
28#endif /* _SCREENSHOT_H */
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.c
new file mode 100644
index 0000000..0b6dccf
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.c
@@ -0,0 +1,43 @@
1/* $Id: texture.c 42 2006-05-22 13:31:45Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifdef HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#include <stdlib.h>
28
29#include <g3d/g3d.h>
30
31#include "gl.h"
32
33int texture_load_all_textures(G3DModel *model)
34{
35 if(model == NULL) return EXIT_FAILURE;
36
37 if(model->tex_images != NULL)
38 g_hash_table_foreach(model->tex_images,
39 gl_load_texture, NULL);
40
41 return EXIT_SUCCESS;
42}
43
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.h
new file mode 100644
index 0000000..f646bbb
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/texture.h
@@ -0,0 +1,30 @@
1/* $Id: texture.h 25 2006-04-22 17:24:27Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#ifndef _TEXTURE_H
24#define _TEXTURE_H
25
26#include <g3d/g3d.h>
27
28int texture_load_all_textures(G3DModel *model);
29
30#endif
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.c b/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.c
new file mode 100644
index 0000000..f23d3db
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.c
@@ -0,0 +1,324 @@
1/*
2 * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
3 * ALL RIGHTS RESERVED
4 * Permission to use, copy, modify, and distribute this software for
5 * any purpose and without fee is hereby granted, provided that the above
6 * copyright notice appear in all copies and that both the copyright notice
7 * and this permission notice appear in supporting documentation, and that
8 * the name of Silicon Graphics, Inc. not be used in advertising
9 * or publicity pertaining to distribution of the software without specific,
10 * written prior permission.
11 *
12 * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
13 * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
14 * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
15 * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
16 * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
17 * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
18 * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
19 * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
20 * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
21 * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
22 * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
23 * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
24 *
25 * US Government Users Restricted Rights
26 * Use, duplication, or disclosure by the Government is subject to
27 * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
28 * (c)(1)(ii) of the Rights in Technical Data and Computer Software
29 * clause at DFARS 252.227-7013 and/or in similar or successor
30 * clauses in the FAR or the DOD or NASA FAR Supplement.
31 * Unpublished-- rights reserved under the copyright laws of the
32 * United States. Contractor/manufacturer is Silicon Graphics,
33 * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
34 *
35 * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
36 */
37/*
38 * Trackball code:
39 *
40 * Implementation of a virtual trackball.
41 * Implemented by Gavin Bell, lots of ideas from Thant Tessman and
42 * the August '88 issue of Siggraph's "Computer Graphics," pp. 121-129.
43 *
44 * Vector manip code:
45 *
46 * Original code from:
47 * David M. Ciemiewicz, Mark Grossman, Henry Moreton, and Paul Haeberli
48 *
49 * Much mucking with by:
50 * Gavin Bell
51 */
52#include <math.h>
53#include "trackball.h"
54
55/*
56 * This size should really be based on the distance from the center of
57 * rotation to the point on the object underneath the mouse. That
58 * point would then track the mouse as closely as possible. This is a
59 * simple example, though, so that is left as an Exercise for the
60 * Programmer.
61 */
62#define TRACKBALLSIZE (0.8)
63
64/*
65 * Local function prototypes (not defined in trackball.h)
66 */
67static float tb_project_to_sphere(float, float, float);
68static void normalize_quat(float [4]);
69
70void
71vzero(float *v)
72{
73 v[0] = 0.0;
74 v[1] = 0.0;
75 v[2] = 0.0;
76}
77
78void
79vset(float *v, float x, float y, float z)
80{
81 v[0] = x;
82 v[1] = y;
83 v[2] = z;
84}
85
86void
87vsub(const float *src1, const float *src2, float *dst)
88{
89 dst[0] = src1[0] - src2[0];
90 dst[1] = src1[1] - src2[1];
91 dst[2] = src1[2] - src2[2];
92}
93
94void
95vcopy(const float *v1, float *v2)
96{
97 register int i;
98 for (i = 0 ; i < 3 ; i++)
99 v2[i] = v1[i];
100}
101
102void
103vcross(const float *v1, const float *v2, float *cross)
104{
105 float temp[3];
106
107 temp[0] = (v1[1] * v2[2]) - (v1[2] * v2[1]);
108 temp[1] = (v1[2] * v2[0]) - (v1[0] * v2[2]);
109 temp[2] = (v1[0] * v2[1]) - (v1[1] * v2[0]);
110 vcopy(temp, cross);
111}
112
113float
114vlength(const float *v)
115{
116 return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
117}
118
119void
120vscale(float *v, float div)
121{
122 v[0] *= div;
123 v[1] *= div;
124 v[2] *= div;
125}
126
127void
128vnormal(float *v)
129{
130 vscale(v,1.0/vlength(v));
131}
132
133float
134vdot(const float *v1, const float *v2)
135{
136 return v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2];
137}
138
139void
140vadd(const float *src1, const float *src2, float *dst)
141{
142 dst[0] = src1[0] + src2[0];
143 dst[1] = src1[1] + src2[1];
144 dst[2] = src1[2] + src2[2];
145}
146
147/*
148 * Ok, simulate a track-ball. Project the points onto the virtual
149 * trackball, then figure out the axis of rotation, which is the cross
150 * product of P1 P2 and O P1 (O is the center of the ball, 0,0,0)
151 * Note: This is a deformed trackball-- is a trackball in the center,
152 * but is deformed into a hyperbolic sheet of rotation away from the
153 * center. This particular function was chosen after trying out
154 * several variations.
155 *
156 * It is assumed that the arguments to this routine are in the range
157 * (-1.0 ... 1.0)
158 */
159void
160trackball(float q[4], float p1x, float p1y, float p2x, float p2y)
161{
162 float a[3]; /* Axis of rotation */
163 float phi; /* how much to rotate about axis */
164 float p1[3], p2[3], d[3];
165 float t;
166
167 if (p1x == p2x && p1y == p2y) {
168 /* Zero rotation */
169 vzero(q);
170 q[3] = 1.0;
171 return;
172 }
173
174 /*
175 * First, figure out z-coordinates for projection of P1 and P2 to
176 * deformed sphere
177 */
178 vset(p1,p1x,p1y,tb_project_to_sphere(TRACKBALLSIZE,p1x,p1y));
179 vset(p2,p2x,p2y,tb_project_to_sphere(TRACKBALLSIZE,p2x,p2y));
180
181 /*
182 * Now, we want the cross product of P1 and P2
183 */
184 vcross(p2,p1,a);
185
186 /*
187 * Figure out how much to rotate around that axis.
188 */
189 vsub(p1,p2,d);
190 t = vlength(d) / (2.0*TRACKBALLSIZE);
191
192 /*
193 * Avoid problems with out-of-control values...
194 */
195 if (t > 1.0) t = 1.0;
196 if (t < -1.0) t = -1.0;
197 phi = 2.0 * asin(t);
198
199 axis_to_quat(a,phi,q);
200}
201
202/*
203 * Given an axis and angle, compute quaternion.
204 */
205void
206axis_to_quat(float a[3], float phi, float q[4])
207{
208 vnormal(a);
209 vcopy(a,q);
210 vscale(q,sin(phi/2.0));
211 q[3] = cos(phi/2.0);
212}
213
214/*
215 * Project an x,y pair onto a sphere of radius r OR a hyperbolic sheet
216 * if we are away from the center of the sphere.
217 */
218static float
219tb_project_to_sphere(float r, float x, float y)
220{
221 float d, t, z;
222
223 d = sqrt(x*x + y*y);
224 if (d < r * 0.70710678118654752440) { /* Inside sphere */
225 z = sqrt(r*r - d*d);
226 } else { /* On hyperbola */
227 t = r / 1.41421356237309504880;
228 z = t*t / d;
229 }
230 return z;
231}
232
233/*
234 * Given two rotations, e1 and e2, expressed as quaternion rotations,
235 * figure out the equivalent single rotation and stuff it into dest.
236 *
237 * This routine also normalizes the result every RENORMCOUNT times it is
238 * called, to keep error from creeping in.
239 *
240 * NOTE: This routine is written so that q1 or q2 may be the same
241 * as dest (or each other).
242 */
243
244#define RENORMCOUNT 97
245
246void
247add_quats(float q1[4], float q2[4], float dest[4])
248{
249 static int count=0;
250 float t1[4], t2[4], t3[4];
251 float tf[4];
252
253 vcopy(q1,t1);
254 vscale(t1,q2[3]);
255
256 vcopy(q2,t2);
257 vscale(t2,q1[3]);
258
259 vcross(q2,q1,t3);
260 vadd(t1,t2,tf);
261 vadd(t3,tf,tf);
262 tf[3] = q1[3] * q2[3] - vdot(q1,q2);
263
264 dest[0] = tf[0];
265 dest[1] = tf[1];
266 dest[2] = tf[2];
267 dest[3] = tf[3];
268
269 if (++count > RENORMCOUNT) {
270 count = 0;
271 normalize_quat(dest);
272 }
273}
274
275/*
276 * Quaternions always obey: a^2 + b^2 + c^2 + d^2 = 1.0
277 * If they don't add up to 1.0, dividing by their magnitued will
278 * renormalize them.
279 *
280 * Note: See the following for more information on quaternions:
281 *
282 * - Shoemake, K., Animating rotation with quaternion curves, Computer
283 * Graphics 19, No 3 (Proc. SIGGRAPH'85), 245-254, 1985.
284 * - Pletinckx, D., Quaternion calculus as a basic tool in computer
285 * graphics, The Visual Computer 5, 2-13, 1989.
286 */
287static void
288normalize_quat(float q[4])
289{
290 int i;
291 float mag;
292
293 mag = (q[0]*q[0] + q[1]*q[1] + q[2]*q[2] + q[3]*q[3]);
294 for (i = 0; i < 4; i++) q[i] /= mag;
295}
296
297/*
298 * Build a rotation matrix, given a quaternion rotation.
299 *
300 */
301void
302build_rotmatrix(float m[4][4], float q[4])
303{
304 m[0][0] = 1.0 - 2.0 * (q[1] * q[1] + q[2] * q[2]);
305 m[0][1] = 2.0 * (q[0] * q[1] - q[2] * q[3]);
306 m[0][2] = 2.0 * (q[2] * q[0] + q[1] * q[3]);
307 m[0][3] = 0.0;
308
309 m[1][0] = 2.0 * (q[0] * q[1] + q[2] * q[3]);
310 m[1][1]= 1.0 - 2.0 * (q[2] * q[2] + q[0] * q[0]);
311 m[1][2] = 2.0 * (q[1] * q[2] - q[0] * q[3]);
312 m[1][3] = 0.0;
313
314 m[2][0] = 2.0 * (q[2] * q[0] - q[1] * q[3]);
315 m[2][1] = 2.0 * (q[1] * q[2] + q[0] * q[3]);
316 m[2][2] = 1.0 - 2.0 * (q[1] * q[1] + q[0] * q[0]);
317 m[2][3] = 0.0;
318
319 m[3][0] = 0.0;
320 m[3][1] = 0.0;
321 m[3][2] = 0.0;
322 m[3][3] = 1.0;
323}
324
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.h
new file mode 100644
index 0000000..b676fb4
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/trackball.h
@@ -0,0 +1,78 @@
1/*
2 * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
3 * ALL RIGHTS RESERVED
4 * Permission to use, copy, modify, and distribute this software for
5 * any purpose and without fee is hereby granted, provided that the above
6 * copyright notice appear in all copies and that both the copyright notice
7 * and this permission notice appear in supporting documentation, and that
8 * the name of Silicon Graphics, Inc. not be used in advertising
9 * or publicity pertaining to distribution of the software without specific,
10 * written prior permission.
11 *
12 * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
13 * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
14 * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
15 * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
16 * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
17 * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
18 * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
19 * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
20 * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
21 * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
22 * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
23 * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
24 *
25 * US Government Users Restricted Rights
26 * Use, duplication, or disclosure by the Government is subject to
27 * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
28 * (c)(1)(ii) of the Rights in Technical Data and Computer Software
29 * clause at DFARS 252.227-7013 and/or in similar or successor
30 * clauses in the FAR or the DOD or NASA FAR Supplement.
31 * Unpublished-- rights reserved under the copyright laws of the
32 * United States. Contractor/manufacturer is Silicon Graphics,
33 * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
34 *
35 * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
36 */
37/*
38 * trackball.h
39 * A virtual trackball implementation
40 * Written by Gavin Bell for Silicon Graphics, November 1988.
41 */
42
43/*
44 * Pass the x and y coordinates of the last and current positions of
45 * the mouse, scaled so they are from (-1.0 ... 1.0).
46 *
47 * The resulting rotation is returned as a quaternion rotation in the
48 * first paramater.
49 */
50void
51trackball(float q[4], float p1x, float p1y, float p2x, float p2y);
52
53/*
54 * Given two quaternions, add them together to get a third quaternion.
55 * Adding quaternions to get a compound rotation is analagous to adding
56 * translations to get a compound translation. When incrementally
57 * adding rotations, the first argument here should be the new
58 * rotation, the second and third the total rotation (which will be
59 * over-written with the resulting new total rotation).
60 */
61void
62add_quats(float *q1, float *q2, float *dest);
63
64/*
65 * A useful function, builds a rotation matrix in Matrix based on
66 * given quaternion.
67 */
68void
69build_rotmatrix(float m[4][4], float q[4]);
70
71/*
72 * This function computes a quaternion based on an axis (defined by
73 * the given vector) and an angle about which to rotate. The angle is
74 * expressed in radians. The result is put into the third argument.
75 */
76void
77axis_to_quat(float a[3], float phi, float q[4]);
78
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile
new file mode 100644
index 0000000..53f1e61
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile
@@ -0,0 +1,581 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# thumbnailer/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151bin_PROGRAMS = g3d-thumbnailer
152
153g3d_thumbnailer_SOURCES = \
154 g3d-thumbnailer.c \
155 ../src/trackball.c \
156 ../src/gl.c \
157 ../src/texture.c \
158 ../src/screenshot.c
159
160
161g3d_thumbnailer_CFLAGS = \
162 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
163 -Wall -ansi \
164 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include \
165 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 \
166 -DDEBUG=0
167
168
169g3d_thumbnailer_LDFLAGS = \
170 -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -lg3d -lglib-2.0
171
172
173mimelocaldir = ${HOME}/.local/share/mime
174mimefiles = g3dviewer.xml
175
176EXTRA_DIST = \
177 g3dviewer.xml \
178 gen_schema.sh
179
180subdir = thumbnailer
181ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
182mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
183CONFIG_HEADER = $(top_builddir)/config.h
184CONFIG_CLEAN_FILES =
185bin_PROGRAMS = g3d-thumbnailer$(EXEEXT)
186PROGRAMS = $(bin_PROGRAMS)
187
188am_g3d_thumbnailer_OBJECTS = g3d_thumbnailer-g3d-thumbnailer.$(OBJEXT) \
189 g3d_thumbnailer-trackball.$(OBJEXT) \
190 g3d_thumbnailer-gl.$(OBJEXT) g3d_thumbnailer-texture.$(OBJEXT) \
191 g3d_thumbnailer-screenshot.$(OBJEXT)
192g3d_thumbnailer_OBJECTS = $(am_g3d_thumbnailer_OBJECTS)
193g3d_thumbnailer_LDADD = $(LDADD)
194g3d_thumbnailer_DEPENDENCIES =
195
196DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
197depcomp = $(SHELL) $(top_srcdir)/depcomp
198am__depfiles_maybe = depfiles
199DEP_FILES = ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po \
200 ./$(DEPDIR)/g3d_thumbnailer-gl.Po \
201 ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po \
202 ./$(DEPDIR)/g3d_thumbnailer-texture.Po \
203 ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
204COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
205 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
208DIST_SOURCES = $(g3d_thumbnailer_SOURCES)
209DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
210SOURCES = $(g3d_thumbnailer_SOURCES)
211
212all: all-am
213
214.SUFFIXES:
215.SUFFIXES: .c .o .obj
216$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
217 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu thumbnailer/Makefile
219Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
221binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
222install-binPROGRAMS: $(bin_PROGRAMS)
223 @$(NORMAL_INSTALL)
224 $(mkinstalldirs) $(DESTDIR)$(bindir)
225 @list='$(bin_PROGRAMS)'; for p in $$list; do \
226 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
227 if test -f $$p \
228 ; then \
229 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
230 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
231 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
232 else :; fi; \
233 done
234
235uninstall-binPROGRAMS:
236 @$(NORMAL_UNINSTALL)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
239 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
240 rm -f $(DESTDIR)$(bindir)/$$f; \
241 done
242
243clean-binPROGRAMS:
244 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
245g3d-thumbnailer$(EXEEXT): $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_DEPENDENCIES)
246 @rm -f g3d-thumbnailer$(EXEEXT)
247 $(LINK) $(g3d_thumbnailer_LDFLAGS) $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_LDADD) $(LIBS)
248
249mostlyclean-compile:
250 -rm -f *.$(OBJEXT) core *.core
251
252distclean-compile:
253 -rm -f *.tab.c
254
255include ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po
256include ./$(DEPDIR)/g3d_thumbnailer-gl.Po
257include ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po
258include ./$(DEPDIR)/g3d_thumbnailer-texture.Po
259include ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
260
261.c.o:
262 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
263 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
264 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
265 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
266 fi
267# source='$<' object='$@' libtool=no \
268# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
269# $(CCDEPMODE) $(depcomp) \
270# $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
271
272.c.obj:
273 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
274 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
275 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
276 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
277 fi
278# source='$<' object='$@' libtool=no \
279# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
280# $(CCDEPMODE) $(depcomp) \
281# $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
282
283g3d_thumbnailer-g3d-thumbnailer.o: g3d-thumbnailer.c
284 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
285 -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c; \
286 then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
287 else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
288 fi
289# source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.o' libtool=no \
290# depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' \
291# $(CCDEPMODE) $(depcomp) \
292# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c
293
294g3d_thumbnailer-g3d-thumbnailer.obj: g3d-thumbnailer.c
295 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
296 -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`; \
297 then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
298 else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
299 fi
300# source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.obj' libtool=no \
301# depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' \
302# $(CCDEPMODE) $(depcomp) \
303# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`
304
305g3d_thumbnailer-trackball.o: ../src/trackball.c
306 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
307 -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c; \
308 then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
309 else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
310 fi
311# source='../src/trackball.c' object='g3d_thumbnailer-trackball.o' libtool=no \
312# depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' \
313# $(CCDEPMODE) $(depcomp) \
314# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c
315
316g3d_thumbnailer-trackball.obj: ../src/trackball.c
317 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
318 -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`; \
319 then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
320 else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
321 fi
322# source='../src/trackball.c' object='g3d_thumbnailer-trackball.obj' libtool=no \
323# depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' \
324# $(CCDEPMODE) $(depcomp) \
325# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`
326
327g3d_thumbnailer-gl.o: ../src/gl.c
328 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
329 -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c; \
330 then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
331 else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
332 fi
333# source='../src/gl.c' object='g3d_thumbnailer-gl.o' libtool=no \
334# depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' \
335# $(CCDEPMODE) $(depcomp) \
336# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c
337
338g3d_thumbnailer-gl.obj: ../src/gl.c
339 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
340 -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`; \
341 then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
342 else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
343 fi
344# source='../src/gl.c' object='g3d_thumbnailer-gl.obj' libtool=no \
345# depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' \
346# $(CCDEPMODE) $(depcomp) \
347# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`
348
349g3d_thumbnailer-texture.o: ../src/texture.c
350 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
351 -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c; \
352 then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
353 else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
354 fi
355# source='../src/texture.c' object='g3d_thumbnailer-texture.o' libtool=no \
356# depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' \
357# $(CCDEPMODE) $(depcomp) \
358# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c
359
360g3d_thumbnailer-texture.obj: ../src/texture.c
361 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
362 -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`; \
363 then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
364 else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
365 fi
366# source='../src/texture.c' object='g3d_thumbnailer-texture.obj' libtool=no \
367# depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' \
368# $(CCDEPMODE) $(depcomp) \
369# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`
370
371g3d_thumbnailer-screenshot.o: ../src/screenshot.c
372 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
373 -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c; \
374 then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
375 else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
376 fi
377# source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.o' libtool=no \
378# depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' \
379# $(CCDEPMODE) $(depcomp) \
380# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c
381
382g3d_thumbnailer-screenshot.obj: ../src/screenshot.c
383 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
384 -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`; \
385 then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
386 else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
387 fi
388# source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.obj' libtool=no \
389# depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' \
390# $(CCDEPMODE) $(depcomp) \
391# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`
392uninstall-info-am:
393
394ETAGS = etags
395ETAGSFLAGS =
396
397CTAGS = ctags
398CTAGSFLAGS =
399
400tags: TAGS
401
402ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
403 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
404 unique=`for i in $$list; do \
405 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 done | \
407 $(AWK) ' { files[$$0] = 1; } \
408 END { for (i in files) print i; }'`; \
409 mkid -fID $$unique
410
411TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
412 $(TAGS_FILES) $(LISP)
413 tags=; \
414 here=`pwd`; \
415 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416 unique=`for i in $$list; do \
417 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 done | \
419 $(AWK) ' { files[$$0] = 1; } \
420 END { for (i in files) print i; }'`; \
421 test -z "$(ETAGS_ARGS)$$tags$$unique" \
422 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
423 $$tags $$unique
424
425ctags: CTAGS
426CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
427 $(TAGS_FILES) $(LISP)
428 tags=; \
429 here=`pwd`; \
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
436 test -z "$(CTAGS_ARGS)$$tags$$unique" \
437 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
438 $$tags $$unique
439
440GTAGS:
441 here=`$(am__cd) $(top_builddir) && pwd` \
442 && cd $(top_srcdir) \
443 && gtags -i $(GTAGS_ARGS) $$here
444
445distclean-tags:
446 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
447DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
448
449top_distdir = ..
450distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
451
452distdir: $(DISTFILES)
453 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
454 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
455 list='$(DISTFILES)'; for file in $$list; do \
456 case $$file in \
457 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
458 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
459 esac; \
460 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
461 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
462 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
463 dir="/$$dir"; \
464 $(mkinstalldirs) "$(distdir)$$dir"; \
465 else \
466 dir=''; \
467 fi; \
468 if test -d $$d/$$file; then \
469 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
470 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
471 fi; \
472 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
473 else \
474 test -f $(distdir)/$$file \
475 || cp -p $$d/$$file $(distdir)/$$file \
476 || exit 1; \
477 fi; \
478 done
479check-am: all-am
480check: check-am
481all-am: Makefile $(PROGRAMS)
482
483installdirs:
484 $(mkinstalldirs) $(DESTDIR)$(bindir)
485install: install-am
486install-exec: install-exec-am
487install-data: install-data-am
488uninstall: uninstall-am
489
490install-am: all-am
491 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
492
493installcheck: installcheck-am
494install-strip:
495 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
496 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
497 `test -z '$(STRIP)' || \
498 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
499mostlyclean-generic:
500
501clean-generic:
502
503distclean-generic:
504 -rm -f $(CONFIG_CLEAN_FILES)
505
506maintainer-clean-generic:
507 @echo "This command is intended for maintainers to use"
508 @echo "it deletes files that may require special tools to rebuild."
509clean: clean-am
510
511clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
512
513distclean: distclean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516distclean-am: clean-am distclean-compile distclean-generic \
517 distclean-tags
518
519dvi: dvi-am
520
521dvi-am:
522
523info: info-am
524
525info-am:
526
527install-data-am:
528
529install-exec-am: install-binPROGRAMS
530
531install-info: install-info-am
532
533install-man:
534
535installcheck-am:
536
537maintainer-clean: maintainer-clean-am
538 -rm -rf ./$(DEPDIR)
539 -rm -f Makefile
540maintainer-clean-am: distclean-am maintainer-clean-generic
541
542mostlyclean: mostlyclean-am
543
544mostlyclean-am: mostlyclean-compile mostlyclean-generic
545
546pdf: pdf-am
547
548pdf-am:
549
550ps: ps-am
551
552ps-am:
553
554uninstall-am: uninstall-binPROGRAMS uninstall-info-am
555
556.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
557 clean-generic ctags distclean distclean-compile \
558 distclean-generic distclean-tags distdir dvi dvi-am info \
559 info-am install install-am install-binPROGRAMS install-data \
560 install-data-am install-exec install-exec-am install-info \
561 install-info-am install-man install-strip installcheck \
562 installcheck-am installdirs maintainer-clean \
563 maintainer-clean-generic mostlyclean mostlyclean-compile \
564 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
565 uninstall-am uninstall-binPROGRAMS uninstall-info-am
566
567
568install-data-user: install-mime-user install-schema-user
569
570install-mime-user: ${mimefiles}
571 mkdir -p ${mimelocaldir}/packages
572 mkdir -p ${mimelocaldir}/applications
573 cp ${mimefiles} ${mimelocaldir}/packages
574 update-mime-database ${mimelocaldir}
575
576install-schema-user:
577 ./gen_schema.sh
578 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
579# Tell versions [3.59,3.63) of GNU make to not export all variables.
580# Otherwise a system limit (for SysV at least) may be exceeded.
581.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am
new file mode 100644
index 0000000..eb78666
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am
@@ -0,0 +1,37 @@
1bin_PROGRAMS = g3d-thumbnailer
2
3g3d_thumbnailer_SOURCES = \
4 g3d-thumbnailer.c \
5 ../src/trackball.c \
6 ../src/gl.c \
7 ../src/texture.c \
8 ../src/screenshot.c
9
10g3d_thumbnailer_CFLAGS = \
11 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
12 -Wall -ansi \
13 @X_CFLAGS@ @LIBG3D_CFLAGS@ \
14 @GTK_CFLAGS@ \
15 -DDEBUG=@DEBUG@
16
17g3d_thumbnailer_LDFLAGS = \
18 @X_LIBS@ @GL_LIBS@ @GTK_LIBS@ @LIBG3D_LIBS@
19
20mimelocaldir = ${HOME}/.local/share/mime
21mimefiles = g3dviewer.xml
22
23install-data-user: install-mime-user install-schema-user
24
25install-mime-user: ${mimefiles}
26 mkdir -p ${mimelocaldir}/packages
27 mkdir -p ${mimelocaldir}/applications
28 cp ${mimefiles} ${mimelocaldir}/packages
29 update-mime-database ${mimelocaldir}
30
31install-schema-user:
32 ./gen_schema.sh
33 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
34
35EXTRA_DIST = \
36 g3dviewer.xml \
37 gen_schema.sh
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in
new file mode 100644
index 0000000..623d2cf
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in
@@ -0,0 +1,581 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151bin_PROGRAMS = g3d-thumbnailer
152
153g3d_thumbnailer_SOURCES = \
154 g3d-thumbnailer.c \
155 ../src/trackball.c \
156 ../src/gl.c \
157 ../src/texture.c \
158 ../src/screenshot.c
159
160
161g3d_thumbnailer_CFLAGS = \
162 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
163 -Wall -ansi \
164 @X_CFLAGS@ @LIBG3D_CFLAGS@ \
165 @GTK_CFLAGS@ \
166 -DDEBUG=@DEBUG@
167
168
169g3d_thumbnailer_LDFLAGS = \
170 @X_LIBS@ @GL_LIBS@ @GTK_LIBS@ @LIBG3D_LIBS@
171
172
173mimelocaldir = ${HOME}/.local/share/mime
174mimefiles = g3dviewer.xml
175
176EXTRA_DIST = \
177 g3dviewer.xml \
178 gen_schema.sh
179
180subdir = thumbnailer
181ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
182mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
183CONFIG_HEADER = $(top_builddir)/config.h
184CONFIG_CLEAN_FILES =
185bin_PROGRAMS = g3d-thumbnailer$(EXEEXT)
186PROGRAMS = $(bin_PROGRAMS)
187
188am_g3d_thumbnailer_OBJECTS = g3d_thumbnailer-g3d-thumbnailer.$(OBJEXT) \
189 g3d_thumbnailer-trackball.$(OBJEXT) \
190 g3d_thumbnailer-gl.$(OBJEXT) g3d_thumbnailer-texture.$(OBJEXT) \
191 g3d_thumbnailer-screenshot.$(OBJEXT)
192g3d_thumbnailer_OBJECTS = $(am_g3d_thumbnailer_OBJECTS)
193g3d_thumbnailer_LDADD = $(LDADD)
194g3d_thumbnailer_DEPENDENCIES =
195
196DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
197depcomp = $(SHELL) $(top_srcdir)/depcomp
198am__depfiles_maybe = depfiles
199@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po \
200@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-gl.Po \
201@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po \
202@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-texture.Po \
203@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
204COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
205 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
208DIST_SOURCES = $(g3d_thumbnailer_SOURCES)
209DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
210SOURCES = $(g3d_thumbnailer_SOURCES)
211
212all: all-am
213
214.SUFFIXES:
215.SUFFIXES: .c .o .obj
216$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
217 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu thumbnailer/Makefile
219Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
221binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
222install-binPROGRAMS: $(bin_PROGRAMS)
223 @$(NORMAL_INSTALL)
224 $(mkinstalldirs) $(DESTDIR)$(bindir)
225 @list='$(bin_PROGRAMS)'; for p in $$list; do \
226 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
227 if test -f $$p \
228 ; then \
229 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
230 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
231 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
232 else :; fi; \
233 done
234
235uninstall-binPROGRAMS:
236 @$(NORMAL_UNINSTALL)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
239 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
240 rm -f $(DESTDIR)$(bindir)/$$f; \
241 done
242
243clean-binPROGRAMS:
244 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
245g3d-thumbnailer$(EXEEXT): $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_DEPENDENCIES)
246 @rm -f g3d-thumbnailer$(EXEEXT)
247 $(LINK) $(g3d_thumbnailer_LDFLAGS) $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_LDADD) $(LIBS)
248
249mostlyclean-compile:
250 -rm -f *.$(OBJEXT) core *.core
251
252distclean-compile:
253 -rm -f *.tab.c
254
255@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po@am__quote@
256@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-gl.Po@am__quote@
257@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-screenshot.Po@am__quote@
258@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-texture.Po@am__quote@
259@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-trackball.Po@am__quote@
260
261.c.o:
262@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
263@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
264@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
265@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
266@am__fastdepCC_TRUE@ fi
267@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
268@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
269@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
270@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
271
272.c.obj:
273@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
274@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
275@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
276@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
277@am__fastdepCC_TRUE@ fi
278@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
279@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
280@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
282
283g3d_thumbnailer-g3d-thumbnailer.o: g3d-thumbnailer.c
284@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
285@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c; \
286@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
287@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
288@am__fastdepCC_TRUE@ fi
289@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.o' libtool=no @AMDEPBACKSLASH@
290@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' @AMDEPBACKSLASH@
291@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
292@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c
293
294g3d_thumbnailer-g3d-thumbnailer.obj: g3d-thumbnailer.c
295@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
296@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`; \
297@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
298@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
299@am__fastdepCC_TRUE@ fi
300@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.obj' libtool=no @AMDEPBACKSLASH@
301@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' @AMDEPBACKSLASH@
302@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`
304
305g3d_thumbnailer-trackball.o: ../src/trackball.c
306@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
307@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c; \
308@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
309@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
310@am__fastdepCC_TRUE@ fi
311@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/trackball.c' object='g3d_thumbnailer-trackball.o' libtool=no @AMDEPBACKSLASH@
312@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' @AMDEPBACKSLASH@
313@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
314@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c
315
316g3d_thumbnailer-trackball.obj: ../src/trackball.c
317@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
318@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`; \
319@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
320@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
321@am__fastdepCC_TRUE@ fi
322@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/trackball.c' object='g3d_thumbnailer-trackball.obj' libtool=no @AMDEPBACKSLASH@
323@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' @AMDEPBACKSLASH@
324@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
325@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`
326
327g3d_thumbnailer-gl.o: ../src/gl.c
328@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
329@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c; \
330@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
331@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
332@am__fastdepCC_TRUE@ fi
333@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/gl.c' object='g3d_thumbnailer-gl.o' libtool=no @AMDEPBACKSLASH@
334@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' @AMDEPBACKSLASH@
335@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
336@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c
337
338g3d_thumbnailer-gl.obj: ../src/gl.c
339@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
340@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`; \
341@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
342@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
343@am__fastdepCC_TRUE@ fi
344@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/gl.c' object='g3d_thumbnailer-gl.obj' libtool=no @AMDEPBACKSLASH@
345@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' @AMDEPBACKSLASH@
346@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`
348
349g3d_thumbnailer-texture.o: ../src/texture.c
350@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
351@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c; \
352@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
353@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
354@am__fastdepCC_TRUE@ fi
355@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/texture.c' object='g3d_thumbnailer-texture.o' libtool=no @AMDEPBACKSLASH@
356@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' @AMDEPBACKSLASH@
357@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c
359
360g3d_thumbnailer-texture.obj: ../src/texture.c
361@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
362@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`; \
363@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
364@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
365@am__fastdepCC_TRUE@ fi
366@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/texture.c' object='g3d_thumbnailer-texture.obj' libtool=no @AMDEPBACKSLASH@
367@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' @AMDEPBACKSLASH@
368@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
369@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`
370
371g3d_thumbnailer-screenshot.o: ../src/screenshot.c
372@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
373@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c; \
374@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
375@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
376@am__fastdepCC_TRUE@ fi
377@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.o' libtool=no @AMDEPBACKSLASH@
378@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' @AMDEPBACKSLASH@
379@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
380@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c
381
382g3d_thumbnailer-screenshot.obj: ../src/screenshot.c
383@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
384@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`; \
385@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
386@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
387@am__fastdepCC_TRUE@ fi
388@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.obj' libtool=no @AMDEPBACKSLASH@
389@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' @AMDEPBACKSLASH@
390@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
391@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`
392uninstall-info-am:
393
394ETAGS = etags
395ETAGSFLAGS =
396
397CTAGS = ctags
398CTAGSFLAGS =
399
400tags: TAGS
401
402ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
403 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
404 unique=`for i in $$list; do \
405 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 done | \
407 $(AWK) ' { files[$$0] = 1; } \
408 END { for (i in files) print i; }'`; \
409 mkid -fID $$unique
410
411TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
412 $(TAGS_FILES) $(LISP)
413 tags=; \
414 here=`pwd`; \
415 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416 unique=`for i in $$list; do \
417 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 done | \
419 $(AWK) ' { files[$$0] = 1; } \
420 END { for (i in files) print i; }'`; \
421 test -z "$(ETAGS_ARGS)$$tags$$unique" \
422 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
423 $$tags $$unique
424
425ctags: CTAGS
426CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
427 $(TAGS_FILES) $(LISP)
428 tags=; \
429 here=`pwd`; \
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
436 test -z "$(CTAGS_ARGS)$$tags$$unique" \
437 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
438 $$tags $$unique
439
440GTAGS:
441 here=`$(am__cd) $(top_builddir) && pwd` \
442 && cd $(top_srcdir) \
443 && gtags -i $(GTAGS_ARGS) $$here
444
445distclean-tags:
446 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
447DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
448
449top_distdir = ..
450distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
451
452distdir: $(DISTFILES)
453 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
454 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
455 list='$(DISTFILES)'; for file in $$list; do \
456 case $$file in \
457 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
458 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
459 esac; \
460 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
461 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
462 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
463 dir="/$$dir"; \
464 $(mkinstalldirs) "$(distdir)$$dir"; \
465 else \
466 dir=''; \
467 fi; \
468 if test -d $$d/$$file; then \
469 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
470 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
471 fi; \
472 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
473 else \
474 test -f $(distdir)/$$file \
475 || cp -p $$d/$$file $(distdir)/$$file \
476 || exit 1; \
477 fi; \
478 done
479check-am: all-am
480check: check-am
481all-am: Makefile $(PROGRAMS)
482
483installdirs:
484 $(mkinstalldirs) $(DESTDIR)$(bindir)
485install: install-am
486install-exec: install-exec-am
487install-data: install-data-am
488uninstall: uninstall-am
489
490install-am: all-am
491 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
492
493installcheck: installcheck-am
494install-strip:
495 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
496 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
497 `test -z '$(STRIP)' || \
498 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
499mostlyclean-generic:
500
501clean-generic:
502
503distclean-generic:
504 -rm -f $(CONFIG_CLEAN_FILES)
505
506maintainer-clean-generic:
507 @echo "This command is intended for maintainers to use"
508 @echo "it deletes files that may require special tools to rebuild."
509clean: clean-am
510
511clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
512
513distclean: distclean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516distclean-am: clean-am distclean-compile distclean-generic \
517 distclean-tags
518
519dvi: dvi-am
520
521dvi-am:
522
523info: info-am
524
525info-am:
526
527install-data-am:
528
529install-exec-am: install-binPROGRAMS
530
531install-info: install-info-am
532
533install-man:
534
535installcheck-am:
536
537maintainer-clean: maintainer-clean-am
538 -rm -rf ./$(DEPDIR)
539 -rm -f Makefile
540maintainer-clean-am: distclean-am maintainer-clean-generic
541
542mostlyclean: mostlyclean-am
543
544mostlyclean-am: mostlyclean-compile mostlyclean-generic
545
546pdf: pdf-am
547
548pdf-am:
549
550ps: ps-am
551
552ps-am:
553
554uninstall-am: uninstall-binPROGRAMS uninstall-info-am
555
556.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
557 clean-generic ctags distclean distclean-compile \
558 distclean-generic distclean-tags distdir dvi dvi-am info \
559 info-am install install-am install-binPROGRAMS install-data \
560 install-data-am install-exec install-exec-am install-info \
561 install-info-am install-man install-strip installcheck \
562 installcheck-am installdirs maintainer-clean \
563 maintainer-clean-generic mostlyclean mostlyclean-compile \
564 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
565 uninstall-am uninstall-binPROGRAMS uninstall-info-am
566
567
568install-data-user: install-mime-user install-schema-user
569
570install-mime-user: ${mimefiles}
571 mkdir -p ${mimelocaldir}/packages
572 mkdir -p ${mimelocaldir}/applications
573 cp ${mimefiles} ${mimelocaldir}/packages
574 update-mime-database ${mimelocaldir}
575
576install-schema-user:
577 ./gen_schema.sh
578 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
579# Tell versions [3.59,3.63) of GNU make to not export all variables.
580# Otherwise a system limit (for SysV at least) may be exceeded.
581.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c
new file mode 100644
index 0000000..92acd0b
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c
@@ -0,0 +1,164 @@
1/* $Id: g3d-thumbnailer.c 61 2006-11-09 15:31:12Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
11 (at your option) 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, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#include <stdio.h>
24#include <stdlib.h>
25
26#include <X11/Xlib.h>
27#include <GL/glx.h>
28
29#include <gtk/gtk.h>
30#include <glib.h>
31#include <g3d/g3d.h>
32
33#include "gl.h"
34#include "trackball.h"
35#include "screenshot.h"
36#include "texture.h"
37
38static gboolean setup_gl(guint32 width, guint32 height)
39{
40 Display *display;
41 XVisualInfo *visinfo;
42 Pixmap pixmap;
43 GLXPixmap glxpixmap;
44 GLXContext glxctx;
45 char *dpyname;
46 int attrlist_dbl[] = {
47 GLX_RGBA,
48 GLX_DOUBLEBUFFER,
49 GLX_RED_SIZE, 1,
50 GLX_GREEN_SIZE, 1,
51 GLX_BLUE_SIZE, 1,
52 None};
53 int attrlist_sng[] = {
54 GLX_RGBA,
55 GLX_RED_SIZE, 1,
56 GLX_GREEN_SIZE, 1,
57 GLX_BLUE_SIZE, 1,
58 None};
59
60 dpyname = getenv("DISPLAY");
61
62 display = XOpenDisplay(dpyname);
63 if(display == NULL)
64 {
65 g_printerr("ERROR: could not open display '%s'\n",
66 dpyname ? dpyname : "(null)");
67 return FALSE;
68 }
69
70 visinfo = glXChooseVisual(display, DefaultScreen(display), attrlist_sng);
71 if(visinfo == NULL)
72 {
73 /* try with double buffering */
74 visinfo = glXChooseVisual(display, DefaultScreen(display),
75 attrlist_dbl);
76 if(visinfo == NULL)
77 {
78 g_printerr("ERROR: could not get a supported visual\n");
79 return FALSE;
80 }
81 }
82
83 glxctx = glXCreateContext(display, visinfo, 0, GL_FALSE);
84 if(glxctx == NULL)
85 {
86 g_printerr("ERROR: could not create GLX context\n");
87 return FALSE;
88 }
89
90 pixmap = XCreatePixmap(display, RootWindow(display, visinfo->screen),
91 width, height, visinfo->depth);
92 if(pixmap <= 0)
93 {
94 g_printerr("ERROR: could not create pixmap\n");
95 return FALSE;
96 }
97
98 glxpixmap = glXCreateGLXPixmap(display, visinfo, pixmap);
99 if(glxpixmap <= 0)
100 {
101 g_printerr("ERROR: could not create GLX pixmap\n");
102 return FALSE;
103 }
104
105 glXMakeCurrent(display, glxpixmap, glxctx);
106
107 return TRUE;
108}
109
110int main(int argc, char *argv[])
111{
112 G3DContext *context;
113 G3DModel *model;
114 gfloat bgcolor[4] = { 1.0, 1.0, 1.0, 0.0 };
115 gfloat quat[4] = { 0.10, -0.31, -0.87, 0.38 };
116 guint32 width = 128;
117 guint32 height = 128;
118
119 gtk_init(&argc, &argv);
120
121 setup_gl(width, height);
122
123 if(argc < 3)
124 {
125 g_print("usage: %s <input file: model> <output file: image> "
126 "[<width in px>]\n",
127 argv[0]);
128 return EXIT_FAILURE;
129 }
130
131 if(argc > 3)
132 {
133 /* size */
134 width = atoi(argv[3]);
135 /* height = width / 4 * 3; */
136 height = width;
137 }
138
139 context = g3d_context_new();
140 model = g3d_model_load(context, argv[1]);
141
142 if(model)
143 {
144 texture_load_all_textures(model);
145
146 gl_draw(
147 G3D_FLAG_GL_SHININESS | G3D_FLAG_GL_ALLTWOSIDE |
148 G3D_FLAG_GL_TEXTURES,
149 45 /* zoom */,
150 (gfloat)width / (gfloat)height,
151 bgcolor,
152 quat,
153 model);
154
155 glXWaitGL();
156
157 if(screenshot_save(argv[2], width, height))
158 {
159 return EXIT_SUCCESS;
160 }
161 }
162
163 return EXIT_FAILURE;
164}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml
new file mode 100644
index 0000000..7de902e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml
@@ -0,0 +1,91 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3
4 <mime-type type="image/x-3ds">
5 <comment xml:lang="en">3D Studio model</comment>
6 <glob pattern="*.3ds" />
7 <glob pattern="*.asc" />
8 <glob pattern="*.prj" />
9 </mime-type>
10
11 <mime-type type="image/x-3dmf">
12 <comment xml:lang="en">3D Metafile</comment>
13 <glob pattern="*.3dmf" />
14 <glob pattern="*.3mf" />
15 <glob pattern="*.b3d" />
16 </mime-type>
17
18 <mime-type type="image/x-ac3d">
19 <comment xml:lang="en">AC3D model</comment>
20 <glob pattern="*.ac" />
21 <glob pattern="*.acc" />
22 </mime-type>
23
24 <mime-type type="image/x-cob">
25 <comment xml:lang="en">TrueSpace model</comment>
26 <glob pattern="*.cob" />
27 </mime-type>
28
29 <mime-type type="image/x-dxf">
30 <comment xml:lang="en">DXF 3D model</comment>
31 <comment xml:lang="de">DXF-3D-Modell</comment>
32 <glob pattern="*.dxf" />
33 </mime-type>
34
35 <mime-type type="image/x-iob">
36 <comment xml:lang="en">IOB 3D model</comment>
37 <glob pattern="*.iob" />
38 </mime-type>
39
40 <mime-type type="image/x-vdrift">
41 <comment xml:lang="en">VDrift 3D model</comment>
42 <glob pattern="*.joe" />
43 <glob pattern="*.car" />
44 </mime-type>
45
46 <mime-type type="image/x-lcd">
47 <comment xml:lang="en">LCD 3D model</comment>
48 <glob pattern="*.lcd" />
49 </mime-type>
50
51 <mime-type type="image/x-lwo">
52 <comment xml:lang="en">LWO 3D model</comment>
53 <glob pattern="*.lw" />
54 <glob pattern="*.lwb" />
55 <glob pattern="*.lwo" />
56 </mime-type>
57
58 <mime-type type="image/x-md2">
59 <comment xml:lang="en">Quake 2 model</comment>
60 <glob pattern="*.md2" />
61 </mime-type>
62
63 <mime-type type="image/x-md3">
64 <comment xml:lang="en">Quake 3 model</comment>
65 <glob pattern="*.md3" />
66 <glob pattern="*.mdc" />
67 </mime-type>
68
69 <mime-type type="image/x-nff">
70 <comment xml:lang="en">Neutral File Format model</comment>
71 <glob pattern="*.nff" />
72 </mime-type>
73
74 <mime-type type="image/x-obj">
75 <comment xml:lang="en">OBJ 3D model</comment>
76 <glob pattern="*.obj" />
77 </mime-type>
78
79 <mime-type type="image/x-q3d">
80 <comment xml:lang="en">Quick3D model</comment>
81 <glob pattern="*.q3o" />
82 <glob pattern="*.q3s" />
83 </mime-type>
84
85 <mime-type type="image/x-vrml">
86 <comment xml:lang="en">VRML scene</comment>
87 <glob pattern="*.vrml" />
88 <glob pattern="*.wrl" />
89 </mime-type>
90
91</mime-info>
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh
new file mode 100755
index 0000000..9ef6c24
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh
@@ -0,0 +1,81 @@
1#!/bin/sh
2
3# $Id: gen_schema.sh 59 2006-11-06 09:49:56Z mmmaddd $
4
5# G3DViewer - 3D object viewer
6#
7# Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
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 of the License, or
12# (at your option) 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, write to the Free Software
21# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
23schemafile=g3d-thumbnailer.schema
24
25> $schemafile
26
27add_schema () {
28cat >> $schemafile <<EOD
29<schema>
30 <key>/schemas/desktop/gnome/thumbnailers/$1/enable</key>
31 <applyto>/desktop/gnome/thumbnailers/$1/enable</applyto>
32 <owner>g3dviewer</owner>
33 <type>bool</type>
34 <default>true</default>
35 <locale name="C">
36 <short>Enable thumbnailing of $2 models</short>
37 <long>Boolean options available, true enables thumbnailing and false disables the creation of new thumbnails</long>
38 </locale>
39</schema>
40
41<schema>
42 <key>/schemas/desktop/gnome/thumbnailers/$1/command</key>
43 <applyto>/desktop/gnome/thumbnailers/$1/command</applyto>
44 <owner>g3dviewer</owner>
45 <type>string</type>
46 <default>g3d-thumbnailer %i %o %s</default>
47 <locale name="C">
48 <short>Thumbnail command for $2 models</short>
49 <long>Valid command plus arguments for the $2 document thumbnailer. See nautilus thumbnailer documentation for more information.</long>
50 </locale>
51</schema>
52
53EOD
54}
55
56cat >> $schemafile <<EOD
57<gconfschemafile>
58 <schemalist>
59EOD
60
61add_schema "image@x-3dmf" "3DMF"
62add_schema "image@x-3ds" "3DS"
63add_schema "image@x-ac3d" "AC3D"
64add_schema "image@x-cob" "COB"
65add_schema "image@x-dxf" "DXF"
66add_schema "image@x-iob" "IOB"
67add_schema "image@x-vdrift" "VDrift"
68add_schema "image@x-lcd" "LCD"
69add_schema "image@x-lwo" "LWO"
70#add_schema "image@x-lws" "LWS"
71add_schema "image@x-md2" "MD2"
72add_schema "image@x-md3" "MD3"
73add_schema "image@x-nff" "NFF"
74add_schema "image@x-obj" "OBJ"
75add_schema "image@x-q3d" "Q3D"
76add_schema "image@x-vrml" "VRML"
77
78cat >> $schemafile <<EOD
79 </schemalist>
80</gconfschemafile>
81EOD