Codebase list gom / 6e57b1e
Update upstream source from tag 'upstream/0.30.3' Update to upstream version '0.30.3' with Debian dir 3ca97e5e691e2bfb81e69546f66a71b5b50a8f19 Stephan Sürken 3 years ago
36 changed file(s) with 7010 addition(s) and 7396 deletion(s). Raw diff Collapse all Expand all
0 The gom package is Copyright (c) 1996-2008 Stephan Alexander Sürken
0 The gom package is Copyright (c) 1996-2009 Stephan Sürken
11 <absurd@olurdix.de> [GPL].
22
33 The X gomii of the gom package is also Copyright (c) Hannu Savolainen
+292
-627
COPYING less more
0 GNU GENERAL PUBLIC LICENSE
1 Version 3, 29 June 2007
2
3 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
45 Everyone is permitted to copy and distribute verbatim copies
56 of this license document, but changing it is not allowed.
67
7 Preamble
8
9 The GNU General Public License is a free, copyleft license for
10 software and other kinds of works.
11
12 The licenses for most software and other practical works are designed
13 to take away your freedom to share and change the works. By contrast,
14 the GNU General Public License is intended to guarantee your freedom to
15 share and change all versions of a program--to make sure it remains free
16 software for all its users. We, the Free Software Foundation, use the
17 GNU General Public License for most of our software; it applies also to
18 any other work released this way by its authors. You can apply it to
8 Preamble
9
10 The licenses for most software are designed to take away your
11 freedom to share and change it. By contrast, the GNU General Public
12 License is intended to guarantee your freedom to share and change free
13 software--to make sure the software is free for all its users. This
14 General Public License applies to most of the Free Software
15 Foundation's software and to any other program whose authors commit to
16 using it. (Some other Free Software Foundation software is covered by
17 the GNU Lesser General Public License instead.) You can apply it to
1918 your programs, too.
2019
2120 When we speak of free software, we are referring to freedom, not
2221 price. Our General Public Licenses are designed to make sure that you
2322 have the freedom to distribute copies of free software (and charge for
24 them if you wish), that you receive source code or can get it if you
25 want it, that you can change the software or use pieces of it in new
26 free programs, and that you know you can do these things.
27
28 To protect your rights, we need to prevent others from denying you
29 these rights or asking you to surrender the rights. Therefore, you have
30 certain responsibilities if you distribute copies of the software, or if
31 you modify it: responsibilities to respect the freedom of others.
23 this service if you wish), that you receive source code or can get it
24 if you want it, that you can change the software or use pieces of it
25 in new free programs; and that you know you can do these things.
26
27 To protect your rights, we need to make restrictions that forbid
28 anyone to deny you these rights or to ask you to surrender the rights.
29 These restrictions translate to certain responsibilities for you if you
30 distribute copies of the software, or if you modify it.
3231
3332 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must pass on to the recipients the same
35 freedoms that you received. You must make sure that they, too, receive
36 or can get the source code. And you must show them these terms so they
37 know their rights.
38
39 Developers that use the GNU GPL protect your rights with two steps:
40 (1) assert copyright on the software, and (2) offer you this License
41 giving you legal permission to copy, distribute and/or modify it.
42
43 For the developers' and authors' protection, the GPL clearly explains
44 that there is no warranty for this free software. For both users' and
45 authors' sake, the GPL requires that modified versions be marked as
46 changed, so that their problems will not be attributed erroneously to
47 authors of previous versions.
48
49 Some devices are designed to deny users access to install or run
50 modified versions of the software inside them, although the manufacturer
51 can do so. This is fundamentally incompatible with the aim of
52 protecting users' freedom to change the software. The systematic
53 pattern of such abuse occurs in the area of products for individuals to
54 use, which is precisely where it is most unacceptable. Therefore, we
55 have designed this version of the GPL to prohibit the practice for those
56 products. If such problems arise substantially in other domains, we
57 stand ready to extend this provision to those domains in future versions
58 of the GPL, as needed to protect the freedom of users.
59
60 Finally, every program is threatened constantly by software patents.
61 States should not allow patents to restrict development and use of
62 software on general-purpose computers, but in those that do, we wish to
63 avoid the special danger that patents applied to a free program could
64 make it effectively proprietary. To prevent this, the GPL assures that
65 patents cannot be used to render the program non-free.
33 gratis or for a fee, you must give the recipients all the rights that
34 you have. You must make sure that they, too, receive or can get the
35 source code. And you must show them these terms so they know their
36 rights.
37
38 We protect your rights with two steps: (1) copyright the software, and
39 (2) offer you this license which gives you legal permission to copy,
40 distribute and/or modify the software.
41
42 Also, for each author's protection and ours, we want to make certain
43 that everyone understands that there is no warranty for this free
44 software. If the software is modified by someone else and passed on, we
45 want its recipients to know that what they have is not the original, so
46 that any problems introduced by others will not reflect on the original
47 authors' reputations.
48
49 Finally, any free program is threatened constantly by software
50 patents. We wish to avoid the danger that redistributors of a free
51 program will individually obtain patent licenses, in effect making the
52 program proprietary. To prevent this, we have made it clear that any
53 patent must be licensed for everyone's free use or not licensed at all.
6654
6755 The precise terms and conditions for copying, distribution and
6856 modification follow.
6957
70 TERMS AND CONDITIONS
71
72 0. Definitions.
73
74 "This License" refers to version 3 of the GNU General Public License.
75
76 "Copyright" also means copyright-like laws that apply to other kinds of
77 works, such as semiconductor masks.
78
79 "The Program" refers to any copyrightable work licensed under this
80 License. Each licensee is addressed as "you". "Licensees" and
81 "recipients" may be individuals or organizations.
82
83 To "modify" a work means to copy from or adapt all or part of the work
84 in a fashion requiring copyright permission, other than the making of an
85 exact copy. The resulting work is called a "modified version" of the
86 earlier work or a work "based on" the earlier work.
87
88 A "covered work" means either the unmodified Program or a work based
89 on the Program.
90
91 To "propagate" a work means to do anything with it that, without
92 permission, would make you directly or secondarily liable for
93 infringement under applicable copyright law, except executing it on a
94 computer or modifying a private copy. Propagation includes copying,
95 distribution (with or without modification), making available to the
96 public, and in some countries other activities as well.
97
98 To "convey" a work means any kind of propagation that enables other
99 parties to make or receive copies. Mere interaction with a user through
100 a computer network, with no transfer of a copy, is not conveying.
101
102 An interactive user interface displays "Appropriate Legal Notices"
103 to the extent that it includes a convenient and prominently visible
104 feature that (1) displays an appropriate copyright notice, and (2)
105 tells the user that there is no warranty for the work (except to the
106 extent that warranties are provided), that licensees may convey the
107 work under this License, and how to view a copy of this License. If
108 the interface presents a list of user commands or options, such as a
109 menu, a prominent item in the list meets this criterion.
110
111 1. Source Code.
112
113 The "source code" for a work means the preferred form of the work
114 for making modifications to it. "Object code" means any non-source
115 form of a work.
116
117 A "Standard Interface" means an interface that either is an official
118 standard defined by a recognized standards body, or, in the case of
119 interfaces specified for a particular programming language, one that
120 is widely used among developers working in that language.
121
122 The "System Libraries" of an executable work include anything, other
123 than the work as a whole, that (a) is included in the normal form of
124 packaging a Major Component, but which is not part of that Major
125 Component, and (b) serves only to enable use of the work with that
126 Major Component, or to implement a Standard Interface for which an
127 implementation is available to the public in source code form. A
128 "Major Component", in this context, means a major essential component
129 (kernel, window system, and so on) of the specific operating system
130 (if any) on which the executable work runs, or a compiler used to
131 produce the work, or an object code interpreter used to run it.
132
133 The "Corresponding Source" for a work in object code form means all
134 the source code needed to generate, install, and (for an executable
135 work) run the object code and to modify the work, including scripts to
136 control those activities. However, it does not include the work's
137 System Libraries, or general-purpose tools or generally available free
138 programs which are used unmodified in performing those activities but
139 which are not part of the work. For example, Corresponding Source
140 includes interface definition files associated with source files for
141 the work, and the source code for shared libraries and dynamically
142 linked subprograms that the work is specifically designed to require,
143 such as by intimate data communication or control flow between those
144 subprograms and other parts of the work.
145
146 The Corresponding Source need not include anything that users
147 can regenerate automatically from other parts of the Corresponding
148 Source.
149
150 The Corresponding Source for a work in source code form is that
151 same work.
152
153 2. Basic Permissions.
154
155 All rights granted under this License are granted for the term of
156 copyright on the Program, and are irrevocable provided the stated
157 conditions are met. This License explicitly affirms your unlimited
158 permission to run the unmodified Program. The output from running a
159 covered work is covered by this License only if the output, given its
160 content, constitutes a covered work. This License acknowledges your
161 rights of fair use or other equivalent, as provided by copyright law.
162
163 You may make, run and propagate covered works that you do not
164 convey, without conditions so long as your license otherwise remains
165 in force. You may convey covered works to others for the sole purpose
166 of having them make modifications exclusively for you, or provide you
167 with facilities for running those works, provided that you comply with
168 the terms of this License in conveying all material for which you do
169 not control copyright. Those thus making or running the covered works
170 for you must do so exclusively on your behalf, under your direction
171 and control, on terms that prohibit them from making any copies of
172 your copyrighted material outside their relationship with you.
173
174 Conveying under any other circumstances is permitted solely under
175 the conditions stated below. Sublicensing is not allowed; section 10
176 makes it unnecessary.
177
178 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
179
180 No covered work shall be deemed part of an effective technological
181 measure under any applicable law fulfilling obligations under article
182 11 of the WIPO copyright treaty adopted on 20 December 1996, or
183 similar laws prohibiting or restricting circumvention of such
184 measures.
185
186 When you convey a covered work, you waive any legal power to forbid
187 circumvention of technological measures to the extent such circumvention
188 is effected by exercising rights under this License with respect to
189 the covered work, and you disclaim any intention to limit operation or
190 modification of the work as a means of enforcing, against the work's
191 users, your or third parties' legal rights to forbid circumvention of
192 technological measures.
193
194 4. Conveying Verbatim Copies.
195
196 You may convey verbatim copies of the Program's source code as you
197 receive it, in any medium, provided that you conspicuously and
198 appropriately publish on each copy an appropriate copyright notice;
199 keep intact all notices stating that this License and any
200 non-permissive terms added in accord with section 7 apply to the code;
201 keep intact all notices of the absence of any warranty; and give all
202 recipients a copy of this License along with the Program.
203
204 You may charge any price or no price for each copy that you convey,
205 and you may offer support or warranty protection for a fee.
206
207 5. Conveying Modified Source Versions.
208
209 You may convey a work based on the Program, or the modifications to
210 produce it from the Program, in the form of source code under the
211 terms of section 4, provided that you also meet all of these conditions:
212
213 a) The work must carry prominent notices stating that you modified
214 it, and giving a relevant date.
215
216 b) The work must carry prominent notices stating that it is
217 released under this License and any conditions added under section
218 7. This requirement modifies the requirement in section 4 to
219 "keep intact all notices".
220
221 c) You must license the entire work, as a whole, under this
222 License to anyone who comes into possession of a copy. This
223 License will therefore apply, along with any applicable section 7
224 additional terms, to the whole of the work, and all its parts,
225 regardless of how they are packaged. This License gives no
226 permission to license the work in any other way, but it does not
227 invalidate such permission if you have separately received it.
228
229 d) If the work has interactive user interfaces, each must display
230 Appropriate Legal Notices; however, if the Program has interactive
231 interfaces that do not display Appropriate Legal Notices, your
232 work need not make them do so.
233
234 A compilation of a covered work with other separate and independent
235 works, which are not by their nature extensions of the covered work,
236 and which are not combined with it such as to form a larger program,
237 in or on a volume of a storage or distribution medium, is called an
238 "aggregate" if the compilation and its resulting copyright are not
239 used to limit the access or legal rights of the compilation's users
240 beyond what the individual works permit. Inclusion of a covered work
241 in an aggregate does not cause this License to apply to the other
242 parts of the aggregate.
243
244 6. Conveying Non-Source Forms.
245
246 You may convey a covered work in object code form under the terms
247 of sections 4 and 5, provided that you also convey the
248 machine-readable Corresponding Source under the terms of this License,
249 in one of these ways:
250
251 a) Convey the object code in, or embodied in, a physical product
252 (including a physical distribution medium), accompanied by the
253 Corresponding Source fixed on a durable physical medium
254 customarily used for software interchange.
255
256 b) Convey the object code in, or embodied in, a physical product
257 (including a physical distribution medium), accompanied by a
258 written offer, valid for at least three years and valid for as
259 long as you offer spare parts or customer support for that product
260 model, to give anyone who possesses the object code either (1) a
261 copy of the Corresponding Source for all the software in the
262 product that is covered by this License, on a durable physical
263 medium customarily used for software interchange, for a price no
264 more than your reasonable cost of physically performing this
265 conveying of source, or (2) access to copy the
266 Corresponding Source from a network server at no charge.
267
268 c) Convey individual copies of the object code with a copy of the
269 written offer to provide the Corresponding Source. This
270 alternative is allowed only occasionally and noncommercially, and
271 only if you received the object code with such an offer, in accord
272 with subsection 6b.
273
274 d) Convey the object code by offering access from a designated
275 place (gratis or for a charge), and offer equivalent access to the
276 Corresponding Source in the same way through the same place at no
277 further charge. You need not require recipients to copy the
278 Corresponding Source along with the object code. If the place to
279 copy the object code is a network server, the Corresponding Source
280 may be on a different server (operated by you or a third party)
281 that supports equivalent copying facilities, provided you maintain
282 clear directions next to the object code saying where to find the
283 Corresponding Source. Regardless of what server hosts the
284 Corresponding Source, you remain obligated to ensure that it is
285 available for as long as needed to satisfy these requirements.
286
287 e) Convey the object code using peer-to-peer transmission, provided
288 you inform other peers where the object code and Corresponding
289 Source of the work are being offered to the general public at no
290 charge under subsection 6d.
291
292 A separable portion of the object code, whose source code is excluded
293 from the Corresponding Source as a System Library, need not be
294 included in conveying the object code work.
295
296 A "User Product" is either (1) a "consumer product", which means any
297 tangible personal property which is normally used for personal, family,
298 or household purposes, or (2) anything designed or sold for incorporation
299 into a dwelling. In determining whether a product is a consumer product,
300 doubtful cases shall be resolved in favor of coverage. For a particular
301 product received by a particular user, "normally used" refers to a
302 typical or common use of that class of product, regardless of the status
303 of the particular user or of the way in which the particular user
304 actually uses, or expects or is expected to use, the product. A product
305 is a consumer product regardless of whether the product has substantial
306 commercial, industrial or non-consumer uses, unless such uses represent
307 the only significant mode of use of the product.
308
309 "Installation Information" for a User Product means any methods,
310 procedures, authorization keys, or other information required to install
311 and execute modified versions of a covered work in that User Product from
312 a modified version of its Corresponding Source. The information must
313 suffice to ensure that the continued functioning of the modified object
314 code is in no case prevented or interfered with solely because
315 modification has been made.
316
317 If you convey an object code work under this section in, or with, or
318 specifically for use in, a User Product, and the conveying occurs as
319 part of a transaction in which the right of possession and use of the
320 User Product is transferred to the recipient in perpetuity or for a
321 fixed term (regardless of how the transaction is characterized), the
322 Corresponding Source conveyed under this section must be accompanied
323 by the Installation Information. But this requirement does not apply
324 if neither you nor any third party retains the ability to install
325 modified object code on the User Product (for example, the work has
326 been installed in ROM).
327
328 The requirement to provide Installation Information does not include a
329 requirement to continue to provide support service, warranty, or updates
330 for a work that has been modified or installed by the recipient, or for
331 the User Product in which it has been modified or installed. Access to a
332 network may be denied when the modification itself materially and
333 adversely affects the operation of the network or violates the rules and
334 protocols for communication across the network.
335
336 Corresponding Source conveyed, and Installation Information provided,
337 in accord with this section must be in a format that is publicly
338 documented (and with an implementation available to the public in
339 source code form), and must require no special password or key for
340 unpacking, reading or copying.
341
342 7. Additional Terms.
343
344 "Additional permissions" are terms that supplement the terms of this
345 License by making exceptions from one or more of its conditions.
346 Additional permissions that are applicable to the entire Program shall
347 be treated as though they were included in this License, to the extent
348 that they are valid under applicable law. If additional permissions
349 apply only to part of the Program, that part may be used separately
350 under those permissions, but the entire Program remains governed by
351 this License without regard to the additional permissions.
352
353 When you convey a copy of a covered work, you may at your option
354 remove any additional permissions from that copy, or from any part of
355 it. (Additional permissions may be written to require their own
356 removal in certain cases when you modify the work.) You may place
357 additional permissions on material, added by you to a covered work,
358 for which you have or can give appropriate copyright permission.
359
360 Notwithstanding any other provision of this License, for material you
361 add to a covered work, you may (if authorized by the copyright holders of
362 that material) supplement the terms of this License with terms:
363
364 a) Disclaiming warranty or limiting liability differently from the
365 terms of sections 15 and 16 of this License; or
366
367 b) Requiring preservation of specified reasonable legal notices or
368 author attributions in that material or in the Appropriate Legal
369 Notices displayed by works containing it; or
370
371 c) Prohibiting misrepresentation of the origin of that material, or
372 requiring that modified versions of such material be marked in
373 reasonable ways as different from the original version; or
374
375 d) Limiting the use for publicity purposes of names of licensors or
376 authors of the material; or
377
378 e) Declining to grant rights under trademark law for use of some
379 trade names, trademarks, or service marks; or
380
381 f) Requiring indemnification of licensors and authors of that
382 material by anyone who conveys the material (or modified versions of
383 it) with contractual assumptions of liability to the recipient, for
384 any liability that these contractual assumptions directly impose on
385 those licensors and authors.
386
387 All other non-permissive additional terms are considered "further
388 restrictions" within the meaning of section 10. If the Program as you
389 received it, or any part of it, contains a notice stating that it is
390 governed by this License along with a term that is a further
391 restriction, you may remove that term. If a license document contains
392 a further restriction but permits relicensing or conveying under this
393 License, you may add to a covered work material governed by the terms
394 of that license document, provided that the further restriction does
395 not survive such relicensing or conveying.
396
397 If you add terms to a covered work in accord with this section, you
398 must place, in the relevant source files, a statement of the
399 additional terms that apply to those files, or a notice indicating
400 where to find the applicable terms.
401
402 Additional terms, permissive or non-permissive, may be stated in the
403 form of a separately written license, or stated as exceptions;
404 the above requirements apply either way.
405
406 8. Termination.
407
408 You may not propagate or modify a covered work except as expressly
409 provided under this License. Any attempt otherwise to propagate or
410 modify it is void, and will automatically terminate your rights under
411 this License (including any patent licenses granted under the third
412 paragraph of section 11).
413
414 However, if you cease all violation of this License, then your
415 license from a particular copyright holder is reinstated (a)
416 provisionally, unless and until the copyright holder explicitly and
417 finally terminates your license, and (b) permanently, if the copyright
418 holder fails to notify you of the violation by some reasonable means
419 prior to 60 days after the cessation.
420
421 Moreover, your license from a particular copyright holder is
422 reinstated permanently if the copyright holder notifies you of the
423 violation by some reasonable means, this is the first time you have
424 received notice of violation of this License (for any work) from that
425 copyright holder, and you cure the violation prior to 30 days after
426 your receipt of the notice.
427
428 Termination of your rights under this section does not terminate the
429 licenses of parties who have received copies or rights from you under
430 this License. If your rights have been terminated and not permanently
431 reinstated, you do not qualify to receive new licenses for the same
432 material under section 10.
433
434 9. Acceptance Not Required for Having Copies.
435
436 You are not required to accept this License in order to receive or
437 run a copy of the Program. Ancillary propagation of a covered work
438 occurring solely as a consequence of using peer-to-peer transmission
439 to receive a copy likewise does not require acceptance. However,
440 nothing other than this License grants you permission to propagate or
441 modify any covered work. These actions infringe copyright if you do
442 not accept this License. Therefore, by modifying or propagating a
443 covered work, you indicate your acceptance of this License to do so.
444
445 10. Automatic Licensing of Downstream Recipients.
446
447 Each time you convey a covered work, the recipient automatically
448 receives a license from the original licensors, to run, modify and
449 propagate that work, subject to this License. You are not responsible
450 for enforcing compliance by third parties with this License.
451
452 An "entity transaction" is a transaction transferring control of an
453 organization, or substantially all assets of one, or subdividing an
454 organization, or merging organizations. If propagation of a covered
455 work results from an entity transaction, each party to that
456 transaction who receives a copy of the work also receives whatever
457 licenses to the work the party's predecessor in interest had or could
458 give under the previous paragraph, plus a right to possession of the
459 Corresponding Source of the work from the predecessor in interest, if
460 the predecessor has it or can get it with reasonable efforts.
461
462 You may not impose any further restrictions on the exercise of the
463 rights granted or affirmed under this License. For example, you may
464 not impose a license fee, royalty, or other charge for exercise of
465 rights granted under this License, and you may not initiate litigation
466 (including a cross-claim or counterclaim in a lawsuit) alleging that
467 any patent claim is infringed by making, using, selling, offering for
468 sale, or importing the Program or any portion of it.
469
470 11. Patents.
471
472 A "contributor" is a copyright holder who authorizes use under this
473 License of the Program or a work on which the Program is based. The
474 work thus licensed is called the contributor's "contributor version".
475
476 A contributor's "essential patent claims" are all patent claims
477 owned or controlled by the contributor, whether already acquired or
478 hereafter acquired, that would be infringed by some manner, permitted
479 by this License, of making, using, or selling its contributor version,
480 but do not include claims that would be infringed only as a
481 consequence of further modification of the contributor version. For
482 purposes of this definition, "control" includes the right to grant
483 patent sublicenses in a manner consistent with the requirements of
58 GNU GENERAL PUBLIC LICENSE
59 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
60
61 0. This License applies to any program or other work which contains
62 a notice placed by the copyright holder saying it may be distributed
63 under the terms of this General Public License. The "Program", below,
64 refers to any such program or work, and a "work based on the Program"
65 means either the Program or any derivative work under copyright law:
66 that is to say, a work containing the Program or a portion of it,
67 either verbatim or with modifications and/or translated into another
68 language. (Hereinafter, translation is included without limitation in
69 the term "modification".) Each licensee is addressed as "you".
70
71 Activities other than copying, distribution and modification are not
72 covered by this License; they are outside its scope. The act of
73 running the Program is not restricted, and the output from the Program
74 is covered only if its contents constitute a work based on the
75 Program (independent of having been made by running the Program).
76 Whether that is true depends on what the Program does.
77
78 1. You may copy and distribute verbatim copies of the Program's
79 source code as you receive it, in any medium, provided that you
80 conspicuously and appropriately publish on each copy an appropriate
81 copyright notice and disclaimer of warranty; keep intact all the
82 notices that refer to this License and to the absence of any warranty;
83 and give any other recipients of the Program a copy of this License
84 along with the Program.
85
86 You may charge a fee for the physical act of transferring a copy, and
87 you may at your option offer warranty protection in exchange for a fee.
88
89 2. You may modify your copy or copies of the Program or any portion
90 of it, thus forming a work based on the Program, and copy and
91 distribute such modifications or work under the terms of Section 1
92 above, provided that you also meet all of these conditions:
93
94 a) You must cause the modified files to carry prominent notices
95 stating that you changed the files and the date of any change.
96
97 b) You must cause any work that you distribute or publish, that in
98 whole or in part contains or is derived from the Program or any
99 part thereof, to be licensed as a whole at no charge to all third
100 parties under the terms of this License.
101
102 c) If the modified program normally reads commands interactively
103 when run, you must cause it, when started running for such
104 interactive use in the most ordinary way, to print or display an
105 announcement including an appropriate copyright notice and a
106 notice that there is no warranty (or else, saying that you provide
107 a warranty) and that users may redistribute the program under
108 these conditions, and telling the user how to view a copy of this
109 License. (Exception: if the Program itself is interactive but
110 does not normally print such an announcement, your work based on
111 the Program is not required to print an announcement.)
112
113 These requirements apply to the modified work as a whole. If
114 identifiable sections of that work are not derived from the Program,
115 and can be reasonably considered independent and separate works in
116 themselves, then this License, and its terms, do not apply to those
117 sections when you distribute them as separate works. But when you
118 distribute the same sections as part of a whole which is a work based
119 on the Program, the distribution of the whole must be on the terms of
120 this License, whose permissions for other licensees extend to the
121 entire whole, and thus to each and every part regardless of who wrote it.
122
123 Thus, it is not the intent of this section to claim rights or contest
124 your rights to work written entirely by you; rather, the intent is to
125 exercise the right to control the distribution of derivative or
126 collective works based on the Program.
127
128 In addition, mere aggregation of another work not based on the Program
129 with the Program (or with a work based on the Program) on a volume of
130 a storage or distribution medium does not bring the other work under
131 the scope of this License.
132
133 3. You may copy and distribute the Program (or a work based on it,
134 under Section 2) in object code or executable form under the terms of
135 Sections 1 and 2 above provided that you also do one of the following:
136
137 a) Accompany it with the complete corresponding machine-readable
138 source code, which must be distributed under the terms of Sections
139 1 and 2 above on a medium customarily used for software interchange; or,
140
141 b) Accompany it with a written offer, valid for at least three
142 years, to give any third party, for a charge no more than your
143 cost of physically performing source distribution, a complete
144 machine-readable copy of the corresponding source code, to be
145 distributed under the terms of Sections 1 and 2 above on a medium
146 customarily used for software interchange; or,
147
148 c) Accompany it with the information you received as to the offer
149 to distribute corresponding source code. (This alternative is
150 allowed only for noncommercial distribution and only if you
151 received the program in object code or executable form with such
152 an offer, in accord with Subsection b above.)
153
154 The source code for a work means the preferred form of the work for
155 making modifications to it. For an executable work, complete source
156 code means all the source code for all modules it contains, plus any
157 associated interface definition files, plus the scripts used to
158 control compilation and installation of the executable. However, as a
159 special exception, the source code distributed need not include
160 anything that is normally distributed (in either source or binary
161 form) with the major components (compiler, kernel, and so on) of the
162 operating system on which the executable runs, unless that component
163 itself accompanies the executable.
164
165 If distribution of executable or object code is made by offering
166 access to copy from a designated place, then offering equivalent
167 access to copy the source code from the same place counts as
168 distribution of the source code, even though third parties are not
169 compelled to copy the source along with the object code.
170
171 4. You may not copy, modify, sublicense, or distribute the Program
172 except as expressly provided under this License. Any attempt
173 otherwise to copy, modify, sublicense or distribute the Program is
174 void, and will automatically terminate your rights under this License.
175 However, parties who have received copies, or rights, from you under
176 this License will not have their licenses terminated so long as such
177 parties remain in full compliance.
178
179 5. You are not required to accept this License, since you have not
180 signed it. However, nothing else grants you permission to modify or
181 distribute the Program or its derivative works. These actions are
182 prohibited by law if you do not accept this License. Therefore, by
183 modifying or distributing the Program (or any work based on the
184 Program), you indicate your acceptance of this License to do so, and
185 all its terms and conditions for copying, distributing or modifying
186 the Program or works based on it.
187
188 6. Each time you redistribute the Program (or any work based on the
189 Program), the recipient automatically receives a license from the
190 original licensor to copy, distribute or modify the Program subject to
191 these terms and conditions. You may not impose any further
192 restrictions on the recipients' exercise of the rights granted herein.
193 You are not responsible for enforcing compliance by third parties to
484194 this License.
485195
486 Each contributor grants you a non-exclusive, worldwide, royalty-free
487 patent license under the contributor's essential patent claims, to
488 make, use, sell, offer for sale, import and otherwise run, modify and
489 propagate the contents of its contributor version.
490
491 In the following three paragraphs, a "patent license" is any express
492 agreement or commitment, however denominated, not to enforce a patent
493 (such as an express permission to practice a patent or covenant not to
494 sue for patent infringement). To "grant" such a patent license to a
495 party means to make such an agreement or commitment not to enforce a
496 patent against the party.
497
498 If you convey a covered work, knowingly relying on a patent license,
499 and the Corresponding Source of the work is not available for anyone
500 to copy, free of charge and under the terms of this License, through a
501 publicly available network server or other readily accessible means,
502 then you must either (1) cause the Corresponding Source to be so
503 available, or (2) arrange to deprive yourself of the benefit of the
504 patent license for this particular work, or (3) arrange, in a manner
505 consistent with the requirements of this License, to extend the patent
506 license to downstream recipients. "Knowingly relying" means you have
507 actual knowledge that, but for the patent license, your conveying the
508 covered work in a country, or your recipient's use of the covered work
509 in a country, would infringe one or more identifiable patents in that
510 country that you have reason to believe are valid.
511
512 If, pursuant to or in connection with a single transaction or
513 arrangement, you convey, or propagate by procuring conveyance of, a
514 covered work, and grant a patent license to some of the parties
515 receiving the covered work authorizing them to use, propagate, modify
516 or convey a specific copy of the covered work, then the patent license
517 you grant is automatically extended to all recipients of the covered
518 work and works based on it.
519
520 A patent license is "discriminatory" if it does not include within
521 the scope of its coverage, prohibits the exercise of, or is
522 conditioned on the non-exercise of one or more of the rights that are
523 specifically granted under this License. You may not convey a covered
524 work if you are a party to an arrangement with a third party that is
525 in the business of distributing software, under which you make payment
526 to the third party based on the extent of your activity of conveying
527 the work, and under which the third party grants, to any of the
528 parties who would receive the covered work from you, a discriminatory
529 patent license (a) in connection with copies of the covered work
530 conveyed by you (or copies made from those copies), or (b) primarily
531 for and in connection with specific products or compilations that
532 contain the covered work, unless you entered into that arrangement,
533 or that patent license was granted, prior to 28 March 2007.
534
535 Nothing in this License shall be construed as excluding or limiting
536 any implied license or other defenses to infringement that may
537 otherwise be available to you under applicable patent law.
538
539 12. No Surrender of Others' Freedom.
540
541 If conditions are imposed on you (whether by court order, agreement or
196 7. If, as a consequence of a court judgment or allegation of patent
197 infringement or for any other reason (not limited to patent issues),
198 conditions are imposed on you (whether by court order, agreement or
542199 otherwise) that contradict the conditions of this License, they do not
543 excuse you from the conditions of this License. If you cannot convey a
544 covered work so as to satisfy simultaneously your obligations under this
545 License and any other pertinent obligations, then as a consequence you may
546 not convey it at all. For example, if you agree to terms that obligate you
547 to collect a royalty for further conveying from those to whom you convey
548 the Program, the only way you could satisfy both those terms and this
549 License would be to refrain entirely from conveying the Program.
550
551 13. Use with the GNU Affero General Public License.
552
553 Notwithstanding any other provision of this License, you have
554 permission to link or combine any covered work with a work licensed
555 under version 3 of the GNU Affero General Public License into a single
556 combined work, and to convey the resulting work. The terms of this
557 License will continue to apply to the part which is the covered work,
558 but the special requirements of the GNU Affero General Public License,
559 section 13, concerning interaction through a network will apply to the
560 combination as such.
561
562 14. Revised Versions of this License.
563
564 The Free Software Foundation may publish revised and/or new versions of
565 the GNU General Public License from time to time. Such new versions will
200 excuse you from the conditions of this License. If you cannot
201 distribute so as to satisfy simultaneously your obligations under this
202 License and any other pertinent obligations, then as a consequence you
203 may not distribute the Program at all. For example, if a patent
204 license would not permit royalty-free redistribution of the Program by
205 all those who receive copies directly or indirectly through you, then
206 the only way you could satisfy both it and this License would be to
207 refrain entirely from distribution of the Program.
208
209 If any portion of this section is held invalid or unenforceable under
210 any particular circumstance, the balance of the section is intended to
211 apply and the section as a whole is intended to apply in other
212 circumstances.
213
214 It is not the purpose of this section to induce you to infringe any
215 patents or other property right claims or to contest validity of any
216 such claims; this section has the sole purpose of protecting the
217 integrity of the free software distribution system, which is
218 implemented by public license practices. Many people have made
219 generous contributions to the wide range of software distributed
220 through that system in reliance on consistent application of that
221 system; it is up to the author/donor to decide if he or she is willing
222 to distribute software through any other system and a licensee cannot
223 impose that choice.
224
225 This section is intended to make thoroughly clear what is believed to
226 be a consequence of the rest of this License.
227
228 8. If the distribution and/or use of the Program is restricted in
229 certain countries either by patents or by copyrighted interfaces, the
230 original copyright holder who places the Program under this License
231 may add an explicit geographical distribution limitation excluding
232 those countries, so that distribution is permitted only in or among
233 countries not thus excluded. In such case, this License incorporates
234 the limitation as if written in the body of this License.
235
236 9. The Free Software Foundation may publish revised and/or new versions
237 of the General Public License from time to time. Such new versions will
566238 be similar in spirit to the present version, but may differ in detail to
567239 address new problems or concerns.
568240
569 Each version is given a distinguishing version number. If the
570 Program specifies that a certain numbered version of the GNU General
571 Public License "or any later version" applies to it, you have the
572 option of following the terms and conditions either of that numbered
573 version or of any later version published by the Free Software
574 Foundation. If the Program does not specify a version number of the
575 GNU General Public License, you may choose any version ever published
576 by the Free Software Foundation.
577
578 If the Program specifies that a proxy can decide which future
579 versions of the GNU General Public License can be used, that proxy's
580 public statement of acceptance of a version permanently authorizes you
581 to choose that version for the Program.
582
583 Later license versions may give you additional or different
584 permissions. However, no additional obligations are imposed on any
585 author or copyright holder as a result of your choosing to follow a
586 later version.
587
588 15. Disclaimer of Warranty.
589
590 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
591 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
592 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
593 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
594 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
595 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
596 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
597 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
598
599 16. Limitation of Liability.
600
601 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
602 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
603 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
604 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
605 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
606 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
607 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
608 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
609 SUCH DAMAGES.
610
611 17. Interpretation of Sections 15 and 16.
612
613 If the disclaimer of warranty and limitation of liability provided
614 above cannot be given local legal effect according to their terms,
615 reviewing courts shall apply local law that most closely approximates
616 an absolute waiver of all civil liability in connection with the
617 Program, unless a warranty or assumption of liability accompanies a
618 copy of the Program in return for a fee.
619
620 END OF TERMS AND CONDITIONS
621
622 How to Apply These Terms to Your New Programs
241 Each version is given a distinguishing version number. If the Program
242 specifies a version number of this License which applies to it and "any
243 later version", you have the option of following the terms and conditions
244 either of that version or of any later version published by the Free
245 Software Foundation. If the Program does not specify a version number of
246 this License, you may choose any version ever published by the Free Software
247 Foundation.
248
249 10. If you wish to incorporate parts of the Program into other free
250 programs whose distribution conditions are different, write to the author
251 to ask for permission. For software which is copyrighted by the Free
252 Software Foundation, write to the Free Software Foundation; we sometimes
253 make exceptions for this. Our decision will be guided by the two goals
254 of preserving the free status of all derivatives of our free software and
255 of promoting the sharing and reuse of software generally.
256
257 NO WARRANTY
258
259 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
260 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
261 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
262 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
263 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
264 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
265 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
266 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
267 REPAIR OR CORRECTION.
268
269 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
270 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
271 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
272 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
273 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
274 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
275 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
276 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
277 POSSIBILITY OF SUCH DAMAGES.
278
279 END OF TERMS AND CONDITIONS
280
281 How to Apply These Terms to Your New Programs
623282
624283 If you develop a new program, and you want it to be of the greatest
625284 possible use to the public, the best way to achieve this is to make it
627286
628287 To do so, attach the following notices to the program. It is safest
629288 to attach them to the start of each source file to most effectively
630 state the exclusion of warranty; and each file should have at least
289 convey the exclusion of warranty; and each file should have at least
631290 the "copyright" line and a pointer to where the full notice is found.
632291
633292 <one line to give the program's name and a brief idea of what it does.>
634293 Copyright (C) <year> <name of author>
635294
636 This program is free software: you can redistribute it and/or modify
295 This program is free software; you can redistribute it and/or modify
637296 it under the terms of the GNU General Public License as published by
638 the Free Software Foundation, either version 3 of the License, or
297 the Free Software Foundation; either version 2 of the License, or
639298 (at your option) any later version.
640299
641300 This program is distributed in the hope that it will be useful,
643302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
644303 GNU General Public License for more details.
645304
646 You should have received a copy of the GNU General Public License
647 along with this program. If not, see <http://www.gnu.org/licenses/>.
305 You should have received a copy of the GNU General Public License along
306 with this program; if not, write to the Free Software Foundation, Inc.,
307 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
648308
649309 Also add information on how to contact you by electronic and paper mail.
650310
651 If the program does terminal interaction, make it output a short
652 notice like this when it starts in an interactive mode:
653
654 <program> Copyright (C) <year> <name of author>
655 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
311 If the program is interactive, make it output a short notice like this
312 when it starts in an interactive mode:
313
314 Gnomovision version 69, Copyright (C) year name of author
315 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
656316 This is free software, and you are welcome to redistribute it
657317 under certain conditions; type `show c' for details.
658318
659319 The hypothetical commands `show w' and `show c' should show the appropriate
660 parts of the General Public License. Of course, your program's commands
661 might be different; for a GUI interface, you would use an "about box".
662
663 You should also get your employer (if you work as a programmer) or school,
664 if any, to sign a "copyright disclaimer" for the program, if necessary.
665 For more information on this, and how to apply and follow the GNU GPL, see
666 <http://www.gnu.org/licenses/>.
667
668 The GNU General Public License does not permit incorporating your program
669 into proprietary programs. If your program is a subroutine library, you
670 may consider it more useful to permit linking proprietary applications with
671 the library. If this is what you want to do, use the GNU Lesser General
672 Public License instead of this License. But first, please read
673 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
320 parts of the General Public License. Of course, the commands you use may
321 be called something other than `show w' and `show c'; they could even be
322 mouse-clicks or menu items--whatever suits your program.
323
324 You should also get your employer (if you work as a programmer) or your
325 school, if any, to sign a "copyright disclaimer" for the program, if
326 necessary. Here is a sample; alter the names:
327
328 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
329 `Gnomovision' (which makes passes at compilers) written by James Hacker.
330
331 <signature of Ty Coon>, 1 April 1989
332 Ty Coon, President of Vice
333
334 This General Public License does not permit incorporating your program into
335 proprietary programs. If your program is a subroutine library, you may
336 consider it more useful to permit linking proprietary applications with the
337 library. If this is what you want to do, use the GNU Lesser General
338 Public License instead of this License.
0 0.30.0 from 0.29.103:
1
2 Bugfixes:
3
4 - Command line parsing for powerpc (and maybe other archs).
5 - soundcard.h patch for BSD (Trevor Johnson <trevor@jpj.net>)
6
7 User interface:
8
9 - "--pure" was buggy; removed. Superseded by "--print-channel-volume".
10 - new "print-*" style options to get various status information for,
11 e.g., shell scripts. See gom -h.
12
13 Internal changes:
14
15 - Numerous C Style cleanups, will pass gcc-3.3 ISO C checking with
16 "-pedantic" now (except one external xview header).
17 - Update for automake-1.8/autoconf-2.59.
18 - Updating all copyright/author references to correct addresses.
19
20 0.29.103 from 0.29.102:
21
22 Wishes
23 =======
24
25 o +gomconfig.8, gomconfig now gets installed to sbin
26 o promoted standard configuration example to "default configuration for
27 convenience"; suitable to work "out of the box" for most standard
28 installations.
29
30 Bugs
31 =====
32 o Fixes bug that would silently skip channel changes to channel 0 if
33 given as string (i.e., -cvol).
34
35 0.29.102 from 0.29.99:
36
37 Bugs
38 =====
39 o Changed wrong version references 0.29.99.1 to 0.29.99 in 'NEWS'.
40 o gomconfig: "--help"-output fixed.
41 o gomconfig: now checking for confdir before editing conf files.
42
43 Items
44 ======
45 o gomconfig: Added '--purge' option to gomconfig (again ;).
46 o gomconfig: Addes hackyish scan for obsolete conf files
47 o distribution: added confdir examples.
48
49 0.29.99 from 0.29.10:
50
51 I. Semantics
52
53 * Stricter rules for relative filename expanding:
54 - load: 1st try user, 2nd system file
55 - save: only user file
56 - config files named <gomconfdir>/conf.[default_mixer|gom|initialize]; all optional
57 - setting files named <gomconfdir>/<mixer-device>.<name>
58 * New config file: <gomconfdir>/conf.default_mixer (restricted to -d)
59 * New config file name: <gomconfdir>/conf.gom (restricted to -v, -q, -F, -U)
60 * New action: --initialize: reads <gomconfdir>/conf.initialize (unrestricted)
61 * New action: --ignore-config
62 * Special handling if -d is 1st arg deleted.
63 * Add && update gomconfig
64 * Update manual
65
66 II. Bugs
67
68 * bug due to false use of snprintf removed (led to false short opts and
69 help display errors)
70 * files can now be opened inside option files (used to crash ;)
71
72 III. Fixes
73
74 * -v == --verbose: with no argument this now increases the verbosity level by one.
75 * -v, -q, -Y, -h, -H, -V, -w as first arguments will now be accessed before the
76 automatic config. files are loaded (until any other argument comes across). Thusly,
77 one can set the verbosity level before loading the conf to see (else supressed) output...
78 * Last refresh time is now correctly updated in terminal gomii.
79 * For absolute filenames, a starting '~' is now expanded to $HOME.
80 * Removed strange "check modus" when called with no args.
81 * man:+bug: "last rec. src. err"
82
83 IV. Compilation (was automake/autoconf):
84
85 * New directory structure (+ src/), revised automake/autoconf config:
86 - terminal gomii binary support now mandatory, x gomii support optionally
87 (X gomii is orphaned && bound to go away when tcl/tk replacement is ready)
88 - dumb soft link solution for gom_driver.c replaced
89 - ./configure will now error-exit for (at least some) considered-fatal errors.
90 - pathes for X are now evaluated (if needed).
91
92 0.29.10 from 0.29.9:
93
94 * Release 0.29.10 (1997 Sep 23)
95 * Bug#1: Now including errno.h (error (errno undeclared) showed up first with libc6-dev (?!))
96 * Bug#2: Can't overwrite config file via "-Sgomrc" any more
97 * config/settings files:
98 - "free form" style file: any short-style command line options can be given
99 on any line starting with '-', everything else are comments, no file-ids no more
100 - For the moment one option _must_ be given in one word (-d/dev/mixer instead of -d /dev/mixer)
101 (due to the parse alg., else it can't distinguish options without arg); as for that, gom
102 unfortunately can't load pre 0.29.10 files.
103 - now system config + user config
104 - "last rec. src" error is solved by saving the settings in the right order (rather
105 than internally)
106 - Action added: --extract-settings,-x (extract mixer settings as command line options)
107 - Action added: --read-stdin,-I (read arguments like any "free form" file from stdin)
108 - Action added: no args: perform configuration test
109 - Action removed: --write-config, -W: please treat the conf file as free-form, to-be-edited-by-hand
110 file from now on.
111 * already opened mixer won't be loaded again.
112 * minor changes, man page
113
114 0.29.9 from 0.29.8:
115 * Release 0.29.9 (1997 Aug 23)
116 * if --device is 1st arg, gom's startup has a "special" behaviour (see man page)
117 * minor changes in the program & man page
118
119 0.29.8 from 0.29.7:
120 * Release 0.29.8 (1997 Jul 31)
121 * Bug#1: "c", "C" in terminal gomii didn't work correctly
122 * Bug#2: "gom --unsnapshot": last recording source "bug" removed
123 * Bug#3: loading settings would lead to "undefined" current channel and volume channel;
124 they are now correctly restored after loading.
125 * Action added: -R, --record-single
126 * Action added: -H, --help-verbose
127
128 0.29.7 from 0.24b:
129 * Release 0.29.7 (1997 Jun 28)
130 Too many changes -- no point in listing them. Please read the new man page.
131
132 0.24b from 0.23
133
134 * Release 0.24b (1997 May 28)
135 overall:
136 * adjustable real-time auto refreshing for all gomiis
137 * default settings file is now $HOME/.gom/default (was $HOME/.gom/gomrc);
138 * $HOME/.gom/gomrc is now gom's configuration file; will be loaded at
139 startup, can be saved via -w (now only fade duration and refresh delay)
140 * fading now uses usleep (and is now really usable...)
141 * undocumented minor changes
142 command line interface:
143 * you can now increase/decrease volume settings (e.g. gom -l +20)
144 * + option -u for setting auto refreshing time
145 t-gomii:
146 * Removed bug: now updates correctly on mute all/lock all/get/save etc...
147 * added all senseful command-line conforming keystrokes
148 * better help
149
150 0.23 from 0.22
151
152 * Release 0.23 (1997 Apr 29)
153 overall:
154 * you can now load/save settings using the "./local_file" syntax (i.e. it is no longer
155 being expanded to "~/.gomrc/./local_file", which one might consider a bug)
156 * Changed informational text's pretexts (I think it looks a little bit better now;).
157 porting:
158 * minor changes to configure.in
159
160 0.22 from 0.20
161
162 * Release 0.22 (1997 Mar 24)
163 porting:
164 * used to include string.h & strings.h; now only string.h ...
165 * improved ./configure script (see the notes it produces)
166 program overall:
167 * Changed command line option: -q (quiet) to -d (dumb).
168 Thus I can use the more common "q" (Quit) for gomiis without hurting command
169 line options resemblance. -q is still supported.
170 * gom -h will no look nicer on a 80 cols terminal ;)
171 * experimental fading
172 * removed some redundancies from gom_oss.c
173 * "Dumb mode off" will now be shown ;).
174 X gomii:
175 * the titles on the top are now actually centered (in V <= 0.11 they were
176 pseudo centered, in V 0.20 I dropped pseudo-centering)
177 * auto-calculates to show 3 times more channels vertically than horizontally
178 (before I had a fixed 6 channels to display horiz.)
179 * "update" now recalculates windows size
180 * slightly different outfit (see terminal gomii)
181 terminal gomii:
182 * can now handle smaller terminals (via multi pages); neglects to start if terminal
183 hasn't minimal size (ca. 35 cols x 7 lines); warns if the help wouldn't be
184 dislayed corectly (but start up normally).
185 * "update" now hears on C-l, too, and handles changes in the terminal size (e.g.
186 changed size of a xterm)
187 * f (flip volume) is now j (jump volume)
188 * slightly different outfit
189 others:
190 * man page now includes the gom www home page address...
191 * all not here reported changes
192
193 0.20 from 0.11
194
195 * Release 0.20 (1997 Mar 14)
196 ** gnuized (automake/autoconf)
197 * preferred gomii (when gom is called with no args) is now autoselected, testing
198 the existence of the DISPLAY env variable.
199 * the autocreated mixer device special file now accepts any amount of digits at the
200 end of the program name
201 * improved error messages on /dev/mixer* open error
202 * other minor changes
203 * improved man page (now even spell-checked)
204
205 0.11 from 0.10
206
207 * Release 0.11 (1997 Jan 29)
208 * better Makefile
209 * added man page
210 * minor program changes
211
212 0.10 from 0.04
213
214 * Release 0.10 (Some day in December 1996)
215 * (most) known bugs removed
216 * all planned features added
217
218 0.04 (initial)
219
220 * Release 0.04 (Some day in late 1996 (but not in December))
221 * (first "released" version)
0 2021-02-07 Stephan Sürken <absurd@olurdix.de>
1
2 [ui-auto-release run]: News for 0.30.3.
3
4 configure.ac: Prepare 0.30.3.
5
6 Add .ui-auto.conf (convenience).
7
8 AUTHORS: Fix char encoding to UTF-8.
9
10 .gitignore: Add .gitignore.
11
12 gom_info.h: Add patch for GCC 10 from Debian 0.30.2-9.1 (thx Sudip Mukherjee).
13
14 2009-09-30 Stephan Sürken <absurd@olurdix.de>
15
16 build: Install examples to datadir/doc/gom/examples
17
18 Makefile.am: Just add examples subdir via EXTRA_DIST (removing dist-hook)
19
20 Update version to 0.30.3~snapshot for devel
21
22 Makefile.am: Install README NEWS AUTHORS ChangeLog COPYING to datadir/doc/gom
23
24 auromake: Depend on min vers 1.9
25
26 2009-09-28 Stephan Sürken <absurd@olurdix.de>
27
28 Update char enc for all files to UTF-8, and renice author name
29
30 2009-09-25 Stephan Sürken <absurd@olurdix.de>
31
32 Add COPYING (=GPL-2) file to avoid automake choose one
33
34 2008-05-11 Stephan Sürken <absurd@debian.org>
35
36 ognore tarballs and sigs.
37
38 - Meta: Initial relase after move to svn.
39
40 Bump version up to 0.30.2.
41
42 fix svn ignores.
43
44 Fix up documentation and download URL.
45
46 2006-06-16 Stephan Sürken <absurd@debian.org>
47
48 prep 0.30.1.
49
50 Add little fix from Petr Salinger <Petr.Salinger@t-systems.cz> for GNU/kFreeBSD.
51
52 2004-05-31 Stephan Sürken <absurd@debian.org>
53
54 Last changes for 0.30.0.
55
56 - SET_MAKE setup removed. - release and upload targets removed.
57
58 Update to ibiblio (and others)
59
60 2004-05-30 Stephan Sürken <absurd@debian.org>
61
62 Make configure.ac much simpler.
63
64 Support for GOM_C/CPPFLAGS
65
66 - Including gom.h before ifdef - Some fixes agains -pedantic errors.
67
68 ignoring config.cache.
69
70 2004-05-27 Stephan Sürken <absurd@debian.org>
71
72 automake 1.6 compat.
73
74 Add min version.
75
76 deps,,
77
78 two typos fixed.
79
80 stamp..
81
82 lsm rm: force and verboise.
83
84 - Fixing copyright && copyright per file notices. - Fixing all old addresses. - Various autotool/automake fixes and updates.
85
86 Ignore *.lsm.
87
88 adding auto_bootstrap.
89
90 Skipping pre-0.30 changelog.
91
92 Pre 0.30.0 changelog.
93
94 adding cvsignore
95
96 - configure.ac update, replacing configure.in. - Using autoheader.
97
98 auto_bootstrap to replace cvs_checkout_update.
99
100 Using autoheader: - Global include of config.h
101
102 2004-05-26 Stephan Sürken <absurd@debian.org>
103
104 Fixes to let it compile with -pedantic (ISO C).
105
106 Numerous format and style uodates.
107
108 Adding cvsignore.
109
110 action must be int (using char can cause problems on certain archs (e.g. powerpc).
111
112 tabs->spaces, format fixes.
113
114 Some changes in gom_getopt.
115
116 Use a/A as short options for refresh-interval/fade-out-duration.
117
118 Use a/A as short options for refresh-interval/fade-out-duration.
119
120 - spaces->tabs - delete trailing whitespace.
121
122 2001-06-13 Stephan Sürken <absurd@debian.org>
123
124 o Corrected man pages syntax. Compare Debian Bug #97051.
125
126 2001-06-11 Stephan Sürken <absurd@debian.org>
127
128 o Corrcted Email/Web addresses.
129
130 2000-02-08 Stephan Sürken <absurd@debian.org>
131
132 Added new items. Changes.
133
134 2000-01-30 Stephan Sürken <absurd@debian.org>
135
136 Don't know what I have chaged here ;).
137
138 Noted terminal interface bug. Added main release goals for 0.99.0.
139
140 1999-11-09 Stephan Sürken <absurd@debian.org>
141
142 Added first version of gom logo to cvs tree.
143
144 Made the (hopefully soon obsolete) X interface compatible with new driver.h.
145
146 1999-11-07 Stephan Sürken <absurd@debian.org>
147
148 Added first (unusable) version of gom-gnome.
149
150 Replaced last "obsolete" constant from soundcard.h...
151
152 Channel names are now displayed as labels...
153
154 Added --print-channel-lock option.
155
156 Added --print-channel-label option.
157
158 Driver: Removed name support for channel volumes. They are now _only_ numbers. Driver: Added channel name label support.
159
160 1999-11-05 Stephan Sürken <absurd@debian.org>
161
162 Changes to new print-* option names.
163
164 Added (yet another) -print-option: --print-channel-recsrc. Using 1-0.dd
165
166 1999-11-04 Stephan Sürken <absurd@debian.org>
167
168 Removed aclocal.m4, added aclocal to create aclocal.m4 in cvs_checkout_update.
169
170 Added --print-* options for use with a front end to gom.
171
172 1999-10-29 Stephan Sürken <absurd@debian.org>
173
174 Removed irritating files from default configuration.
175
176 Applied patch to find soundcard.h on *BSD systems.
177
178 1999-10-24 Stephan Sürken <absurd@debian.org>
179
180 Added small auto[make|conf] program to be called after fresh cvs checkout.
181
182 Added "release" target, added "DATE_CURRENT" for LSM.
183
184 Added LSM to package, new abstract.
185
186 1999-10-23 Stephan Sürken <absurd@debian.org>
187
188 Removing non-source files...
189
190 Final changes for 0.29.103.
191
192 New default settings / configuration files...
193
194 Fixed strange bug that would avoid changing the channel #0 via name (i.e., -cvol).
195
196 Removing standard...
197
198 Added gomconfig.8. Minor changes to gom.1 and Makefile to reflect this.
199
200 Added gomconfig.8, gomconfig now goes to sbin/gomconfig.
201
202 1999-08-30 Stephan Sürken <absurd@debian.org>
203
204 Todo changes.
205
206 1999-08-28 Stephan Sürken <absurd@debian.org>
207
208 Changed TODO list.
209
210 1999-08-27 Stephan Sürken <absurd@debian.org>
211
212 Minor updates to gom.1; several changes to gomconfig (see ChangeLog).
213
214 New in release 0.29.102.
215
216 Several changes for release 0.29.102.
217
218 1999-08-10 Stephan Sürken <absurd@debian.org>
219
220 Some format changes in gom.1.in (.br, .sh in man2html!).
221
222 1999-07-21 Stephan Sürken <absurd@debian.org>
223
224 Even more TODO changes...
225
226 Added some todo items.
227
228 1999-06-25 Stephan Sürken <absurd@debian.org>
229
230 Added some TODO items while making gom_0.29.99-1.deb.
231
232 1999-06-23 Stephan Sürken <absurd@debian.org>
233
234 Added TODO item.
235
236 1999-06-22 Stephan Sürken <absurd@debian.org>
237
238 Initial revision
+271
-140
INSTALL less more
00 Installation Instructions
11 *************************
22
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4 2006, 2007 Free Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
3 Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
4 Foundation, Inc.
5
6 Copying and distribution of this file, with or without modification,
7 are permitted in any medium without royalty provided the copyright
8 notice and this notice are preserved. This file is offered as-is,
9 without warranty of any kind.
810
911 Basic Installation
1012 ==================
1113
12 Briefly, the shell commands `./configure; make; make install' should
13 configure, build, and install this package. The following
14 more-detailed instructions are generic; see the `README' file for
15 instructions specific to this package.
16
17 The `configure' shell script attempts to guess correct values for
14 Briefly, the shell command './configure && make && make install'
15 should configure, build, and install this package. The following
16 more-detailed instructions are generic; see the 'README' file for
17 instructions specific to this package. Some packages provide this
18 'INSTALL' file but do not implement all of the features documented
19 below. The lack of an optional feature in a given package is not
20 necessarily a bug. More recommendations for GNU packages can be found
21 in *note Makefile Conventions: (standards)Makefile Conventions.
22
23 The 'configure' shell script attempts to guess correct values for
1824 various system-dependent variables used during compilation. It uses
19 those values to create a `Makefile' in each directory of the package.
20 It may also create one or more `.h' files containing system-dependent
21 definitions. Finally, it creates a shell script `config.status' that
25 those values to create a 'Makefile' in each directory of the package.
26 It may also create one or more '.h' files containing system-dependent
27 definitions. Finally, it creates a shell script 'config.status' that
2228 you can run in the future to recreate the current configuration, and a
23 file `config.log' containing compiler output (useful mainly for
24 debugging `configure').
25
26 It can also use an optional file (typically called `config.cache'
27 and enabled with `--cache-file=config.cache' or simply `-C') that saves
28 the results of its tests to speed up reconfiguring. Caching is
29 disabled by default to prevent problems with accidental use of stale
30 cache files.
29 file 'config.log' containing compiler output (useful mainly for
30 debugging 'configure').
31
32 It can also use an optional file (typically called 'config.cache' and
33 enabled with '--cache-file=config.cache' or simply '-C') that saves the
34 results of its tests to speed up reconfiguring. Caching is disabled by
35 default to prevent problems with accidental use of stale cache files.
3136
3237 If you need to do unusual things to compile the package, please try
33 to figure out how `configure' could check whether to do them, and mail
34 diffs or instructions to the address given in the `README' so they can
38 to figure out how 'configure' could check whether to do them, and mail
39 diffs or instructions to the address given in the 'README' so they can
3540 be considered for the next release. If you are using the cache, and at
36 some point `config.cache' contains results you don't want to keep, you
41 some point 'config.cache' contains results you don't want to keep, you
3742 may remove or edit it.
3843
39 The file `configure.ac' (or `configure.in') is used to create
40 `configure' by a program called `autoconf'. You need `configure.ac' if
41 you want to change it or regenerate `configure' using a newer version
42 of `autoconf'.
43
44 The simplest way to compile this package is:
45
46 1. `cd' to the directory containing the package's source code and type
47 `./configure' to configure the package for your system.
48
49 Running `configure' might take a while. While running, it prints
44 The file 'configure.ac' (or 'configure.in') is used to create
45 'configure' by a program called 'autoconf'. You need 'configure.ac' if
46 you want to change it or regenerate 'configure' using a newer version of
47 'autoconf'.
48
49 The simplest way to compile this package is:
50
51 1. 'cd' to the directory containing the package's source code and type
52 './configure' to configure the package for your system.
53
54 Running 'configure' might take a while. While running, it prints
5055 some messages telling which features it is checking for.
5156
52 2. Type `make' to compile the package.
53
54 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
56
57 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
61 source code directory by typing `make clean'. To also remove the
62 files that `configure' created (so you can compile the package for
63 a different kind of computer), type `make distclean'. There is
64 also a `make maintainer-clean' target, but that is intended mainly
57 2. Type 'make' to compile the package.
58
59 3. Optionally, type 'make check' to run any self-tests that come with
60 the package, generally using the just-built uninstalled binaries.
61
62 4. Type 'make install' to install the programs and any data files and
63 documentation. When installing into a prefix owned by root, it is
64 recommended that the package be configured and built as a regular
65 user, and only the 'make install' phase executed with root
66 privileges.
67
68 5. Optionally, type 'make installcheck' to repeat any self-tests, but
69 this time using the binaries in their final installed location.
70 This target does not install anything. Running this target as a
71 regular user, particularly if the prior 'make install' required
72 root privileges, verifies that the installation completed
73 correctly.
74
75 6. You can remove the program binaries and object files from the
76 source code directory by typing 'make clean'. To also remove the
77 files that 'configure' created (so you can compile the package for
78 a different kind of computer), type 'make distclean'. There is
79 also a 'make maintainer-clean' target, but that is intended mainly
6580 for the package's developers. If you use it, you may have to get
6681 all sorts of other programs in order to regenerate files that came
6782 with the distribution.
6883
69 6. Often, you can also type `make uninstall' to remove the installed
70 files again.
84 7. Often, you can also type 'make uninstall' to remove the installed
85 files again. In practice, not all packages have tested that
86 uninstallation works correctly, even though it is required by the
87 GNU Coding Standards.
88
89 8. Some packages, particularly those that use Automake, provide 'make
90 distcheck', which can by used by developers to test that all other
91 targets like 'make install' and 'make uninstall' work correctly.
92 This target is generally not run by end users.
7193
7294 Compilers and Options
7395 =====================
7496
75 Some systems require unusual options for compilation or linking that the
76 `configure' script does not know about. Run `./configure --help' for
77 details on some of the pertinent environment variables.
78
79 You can give `configure' initial values for configuration parameters
80 by setting variables in the command line or in the environment. Here
81 is an example:
97 Some systems require unusual options for compilation or linking that
98 the 'configure' script does not know about. Run './configure --help'
99 for details on some of the pertinent environment variables.
100
101 You can give 'configure' initial values for configuration parameters
102 by setting variables in the command line or in the environment. Here is
103 an example:
82104
83105 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
84106
87109 Compiling For Multiple Architectures
88110 ====================================
89111
90 You can compile the package for more than one kind of computer at the
112 You can compile the package for more than one kind of computer at the
91113 same time, by placing the object files for each architecture in their
92 own directory. To do this, you can use GNU `make'. `cd' to the
114 own directory. To do this, you can use GNU 'make'. 'cd' to the
93115 directory where you want the object files and executables to go and run
94 the `configure' script. `configure' automatically checks for the
95 source code in the directory that `configure' is in and in `..'.
96
97 With a non-GNU `make', it is safer to compile the package for one
116 the 'configure' script. 'configure' automatically checks for the source
117 code in the directory that 'configure' is in and in '..'. This is known
118 as a "VPATH" build.
119
120 With a non-GNU 'make', it is safer to compile the package for one
98121 architecture at a time in the source code directory. After you have
99 installed the package for one architecture, use `make distclean' before
122 installed the package for one architecture, use 'make distclean' before
100123 reconfiguring for another architecture.
124
125 On MacOS X 10.5 and later systems, you can create libraries and
126 executables that work on multiple system types--known as "fat" or
127 "universal" binaries--by specifying multiple '-arch' options to the
128 compiler but only a single '-arch' option to the preprocessor. Like
129 this:
130
131 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
132 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
133 CPP="gcc -E" CXXCPP="g++ -E"
134
135 This is not guaranteed to produce working output in all cases, you
136 may have to build one architecture at a time and combine the results
137 using the 'lipo' tool if you have problems.
101138
102139 Installation Names
103140 ==================
104141
105 By default, `make install' installs the package's commands under
106 `/usr/local/bin', include files under `/usr/local/include', etc. You
107 can specify an installation prefix other than `/usr/local' by giving
108 `configure' the option `--prefix=PREFIX'.
142 By default, 'make install' installs the package's commands under
143 '/usr/local/bin', include files under '/usr/local/include', etc. You
144 can specify an installation prefix other than '/usr/local' by giving
145 'configure' the option '--prefix=PREFIX', where PREFIX must be an
146 absolute file name.
109147
110148 You can specify separate installation prefixes for
111149 architecture-specific files and architecture-independent files. If you
112 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
150 pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
113151 PREFIX as the prefix for installing programs and libraries.
114152 Documentation and other data files still use the regular prefix.
115153
116154 In addition, if you use an unusual directory layout you can give
117 options like `--bindir=DIR' to specify different values for particular
118 kinds of files. Run `configure --help' for a list of the directories
119 you can set and what kinds of files go in them.
120
121 If the package supports it, you can cause programs to be installed
122 with an extra prefix or suffix on their names by giving `configure' the
123 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
155 options like '--bindir=DIR' to specify different values for particular
156 kinds of files. Run 'configure --help' for a list of the directories
157 you can set and what kinds of files go in them. In general, the default
158 for these options is expressed in terms of '${prefix}', so that
159 specifying just '--prefix' will affect all of the other directory
160 specifications that were not explicitly provided.
161
162 The most portable way to affect installation locations is to pass the
163 correct locations to 'configure'; however, many packages provide one or
164 both of the following shortcuts of passing variable assignments to the
165 'make install' command line to change installation locations without
166 having to reconfigure or recompile.
167
168 The first method involves providing an override variable for each
169 affected directory. For example, 'make install
170 prefix=/alternate/directory' will choose an alternate location for all
171 directory configuration variables that were expressed in terms of
172 '${prefix}'. Any directories that were specified during 'configure',
173 but not in terms of '${prefix}', must each be overridden at install time
174 for the entire installation to be relocated. The approach of makefile
175 variable overrides for each directory variable is required by the GNU
176 Coding Standards, and ideally causes no recompilation. However, some
177 platforms have known limitations with the semantics of shared libraries
178 that end up requiring recompilation when using this method, particularly
179 noticeable in packages that use GNU Libtool.
180
181 The second method involves providing the 'DESTDIR' variable. For
182 example, 'make install DESTDIR=/alternate/directory' will prepend
183 '/alternate/directory' before all installation names. The approach of
184 'DESTDIR' overrides is not required by the GNU Coding Standards, and
185 does not work on platforms that have drive letters. On the other hand,
186 it does better at avoiding recompilation issues, and works well even
187 when some directory options were not specified in terms of '${prefix}'
188 at 'configure' time.
124189
125190 Optional Features
126191 =================
127192
128 Some packages pay attention to `--enable-FEATURE' options to
129 `configure', where FEATURE indicates an optional part of the package.
130 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131 is something like `gnu-as' or `x' (for the X Window System). The
132 `README' should mention any `--enable-' and `--with-' options that the
193 If the package supports it, you can cause programs to be installed
194 with an extra prefix or suffix on their names by giving 'configure' the
195 option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
196
197 Some packages pay attention to '--enable-FEATURE' options to
198 'configure', where FEATURE indicates an optional part of the package.
199 They may also pay attention to '--with-PACKAGE' options, where PACKAGE
200 is something like 'gnu-as' or 'x' (for the X Window System). The
201 'README' should mention any '--enable-' and '--with-' options that the
133202 package recognizes.
134203
135 For packages that use the X Window System, `configure' can usually
204 For packages that use the X Window System, 'configure' can usually
136205 find the X include and library files automatically, but if it doesn't,
137 you can use the `configure' options `--x-includes=DIR' and
138 `--x-libraries=DIR' to specify their locations.
206 you can use the 'configure' options '--x-includes=DIR' and
207 '--x-libraries=DIR' to specify their locations.
208
209 Some packages offer the ability to configure how verbose the
210 execution of 'make' will be. For these packages, running './configure
211 --enable-silent-rules' sets the default to minimal output, which can be
212 overridden with 'make V=1'; while running './configure
213 --disable-silent-rules' sets the default to verbose, which can be
214 overridden with 'make V=0'.
215
216 Particular systems
217 ==================
218
219 On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
220 is not installed, it is recommended to use the following options in
221 order to use an ANSI C compiler:
222
223 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
224
225 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
226
227 HP-UX 'make' updates targets which have the same time stamps as their
228 prerequisites, which makes it generally unusable when shipped generated
229 files such as 'configure' are involved. Use GNU 'make' instead.
230
231 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
232 parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
233 workaround. If GNU CC is not installed, it is therefore recommended to
234 try
235
236 ./configure CC="cc"
237
238 and if that doesn't work, try
239
240 ./configure CC="cc -nodtk"
241
242 On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
243 directory contains several dysfunctional programs; working variants of
244 these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
245 in your 'PATH', put it _after_ '/usr/bin'.
246
247 On Haiku, software installed for all users goes in '/boot/common',
248 not '/usr/local'. It is recommended to use the following options:
249
250 ./configure --prefix=/boot/common
139251
140252 Specifying the System Type
141253 ==========================
142254
143 There may be some features `configure' cannot figure out automatically,
144 but needs to determine by the type of machine the package will run on.
145 Usually, assuming the package is built to be run on the _same_
146 architectures, `configure' can figure that out, but if it prints a
147 message saying it cannot guess the machine type, give it the
148 `--build=TYPE' option. TYPE can either be a short name for the system
149 type, such as `sun4', or a canonical name which has the form:
255 There may be some features 'configure' cannot figure out
256 automatically, but needs to determine by the type of machine the package
257 will run on. Usually, assuming the package is built to be run on the
258 _same_ architectures, 'configure' can figure that out, but if it prints
259 a message saying it cannot guess the machine type, give it the
260 '--build=TYPE' option. TYPE can either be a short name for the system
261 type, such as 'sun4', or a canonical name which has the form:
150262
151263 CPU-COMPANY-SYSTEM
152264
153265 where SYSTEM can have one of these forms:
154266
155 OS KERNEL-OS
156
157 See the file `config.sub' for the possible values of each field. If
158 `config.sub' isn't included in this package, then this package doesn't
267 OS
268 KERNEL-OS
269
270 See the file 'config.sub' for the possible values of each field. If
271 'config.sub' isn't included in this package, then this package doesn't
159272 need to know the machine type.
160273
161274 If you are _building_ compiler tools for cross-compiling, you should
162 use the option `--target=TYPE' to select the type of system they will
275 use the option '--target=TYPE' to select the type of system they will
163276 produce code for.
164277
165278 If you want to _use_ a cross compiler, that generates code for a
166279 platform different from the build platform, you should specify the
167280 "host" platform (i.e., that on which the generated programs will
168 eventually be run) with `--host=TYPE'.
281 eventually be run) with '--host=TYPE'.
169282
170283 Sharing Defaults
171284 ================
172285
173 If you want to set default values for `configure' scripts to share, you
174 can create a site shell script called `config.site' that gives default
175 values for variables like `CC', `cache_file', and `prefix'.
176 `configure' looks for `PREFIX/share/config.site' if it exists, then
177 `PREFIX/etc/config.site' if it exists. Or, you can set the
178 `CONFIG_SITE' environment variable to the location of the site script.
179 A warning: not all `configure' scripts look for a site script.
286 If you want to set default values for 'configure' scripts to share,
287 you can create a site shell script called 'config.site' that gives
288 default values for variables like 'CC', 'cache_file', and 'prefix'.
289 'configure' looks for 'PREFIX/share/config.site' if it exists, then
290 'PREFIX/etc/config.site' if it exists. Or, you can set the
291 'CONFIG_SITE' environment variable to the location of the site script.
292 A warning: not all 'configure' scripts look for a site script.
180293
181294 Defining Variables
182295 ==================
183296
184 Variables not defined in a site shell script can be set in the
185 environment passed to `configure'. However, some packages may run
297 Variables not defined in a site shell script can be set in the
298 environment passed to 'configure'. However, some packages may run
186299 configure again during the build, and the customized values of these
187300 variables may be lost. In order to avoid this problem, you should set
188 them in the `configure' command line, using `VAR=value'. For example:
301 them in the 'configure' command line, using 'VAR=value'. For example:
189302
190303 ./configure CC=/usr/local2/bin/gcc
191304
192 causes the specified `gcc' to be used as the C compiler (unless it is
305 causes the specified 'gcc' to be used as the C compiler (unless it is
193306 overridden in the site shell script).
194307
195 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
196 an Autoconf bug. Until the bug is fixed you can use this workaround:
197
198 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
199
200 `configure' Invocation
308 Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
309 Autoconf limitation. Until the limitation is lifted, you can use this
310 workaround:
311
312 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
313
314 'configure' Invocation
201315 ======================
202316
203 `configure' recognizes the following options to control how it operates.
204
205 `--help'
206 `-h'
207 Print a summary of the options to `configure', and exit.
208
209 `--version'
210 `-V'
211 Print the version of Autoconf used to generate the `configure'
317 'configure' recognizes the following options to control how it
318 operates.
319
320 '--help'
321 '-h'
322 Print a summary of all of the options to 'configure', and exit.
323
324 '--help=short'
325 '--help=recursive'
326 Print a summary of the options unique to this package's
327 'configure', and exit. The 'short' variant lists options used only
328 in the top level, while the 'recursive' variant lists options also
329 present in any nested packages.
330
331 '--version'
332 '-V'
333 Print the version of Autoconf used to generate the 'configure'
212334 script, and exit.
213335
214 `--cache-file=FILE'
336 '--cache-file=FILE'
215337 Enable the cache: use and save the results of the tests in FILE,
216 traditionally `config.cache'. FILE defaults to `/dev/null' to
338 traditionally 'config.cache'. FILE defaults to '/dev/null' to
217339 disable caching.
218340
219 `--config-cache'
220 `-C'
221 Alias for `--cache-file=config.cache'.
222
223 `--quiet'
224 `--silent'
225 `-q'
341 '--config-cache'
342 '-C'
343 Alias for '--cache-file=config.cache'.
344
345 '--quiet'
346 '--silent'
347 '-q'
226348 Do not print messages saying which checks are being made. To
227 suppress all normal output, redirect it to `/dev/null' (any error
349 suppress all normal output, redirect it to '/dev/null' (any error
228350 messages will still be shown).
229351
230 `--srcdir=DIR'
352 '--srcdir=DIR'
231353 Look for the package's source code in directory DIR. Usually
232 `configure' can determine that directory automatically.
233
234 `configure' also accepts some other, not widely useful, options. Run
235 `configure --help' for more details.
236
354 'configure' can determine that directory automatically.
355
356 '--prefix=DIR'
357 Use DIR as the installation prefix. *note Installation Names:: for
358 more details, including other options available for fine-tuning the
359 installation locations.
360
361 '--no-create'
362 '-n'
363 Run the configure checks, but stop before creating any output
364 files.
365
366 'configure' also accepts some other, not widely useful, options. Run
367 'configure --help' for more details.
88 well maintained and will eventually be removed when a proper alternative
99 is available.
1010 Keywords: mixer, audio, console, sound, oss, open sound system
11 Author: Stephan Suerken <absurd@olurdix.de>
12 Maintained-by: Stephan Suerken <absurd@olurdix.de>
11 Author: Stephan Sürken <absurd@olurdix.de>
12 Maintained-by: Stephan Sürken <absurd@olurdix.de>
1313 Platforms: Unix with OSS (e.g., Linux+OSS or Linux+ALSA+OSS-Compat)
1414 Primary-site: http://software.installiert.net
1515 gom-@VERSION@.tar.gz
0 AUTOMAKE_OPTIONS = 1.6
0 AUTOMAKE_OPTIONS = 1.9
11
22 SUBDIRS = src
33
4 EXTRA_DIST = auto_bootstrap
4 EXTRA_DIST = auto_bootstrap examples
55
6 #
7 # Add examples subdir via dist-hook
8 #
9 # Note: Copying whole dir, then deleting CVS dirs. Not good (tm), but works...
10 dist-hook:
11 cp -a $(srcdir)/examples $(distdir)/examples
12 -find $(distdir)/examples -type d -name '.svn' -exec rm -rf {} \;
6 docdir = $(datadir)/doc/$(PACKAGE)
7 doc_DATA = README NEWS AUTHORS ChangeLog COPYING
8
9 install-data-local:
10 $(MKDIR_P) $(DESTDIR)/$(docdir)
11 cp -a $(srcdir)/examples/ $(DESTDIR)/$(docdir)
12
13 uninstall-local:
14 chmod -R +w $(DESTDIR)/$(docdir)/examples
15 rm -rf $(DESTDIR)/$(docdir)/examples
0 # Makefile.in generated by automake 1.10.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
4
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
77 # with or without modifications, as long as this notice is preserved.
1212 # PARTICULAR PURPOSE.
1313
1414 @SET_MAKE@
15
1516 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1672 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
1774 pkglibdir = $(libdir)/@PACKAGE@
18 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
1976 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2077 install_sh_DATA = $(install_sh) -c -m 644
2178 install_sh_PROGRAM = $(install_sh) -c
2986 PRE_UNINSTALL = :
3087 POST_UNINSTALL = :
3188 subdir = .
32 DIST_COMMON = README $(am__configure_deps) $(srcdir)/LSM.in \
33 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
34 $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
35 ChangeLog INSTALL NEWS depcomp install-sh missing
3689 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3790 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
3891 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
3992 $(ACLOCAL_M4)
93 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
94 $(am__configure_deps) $(am__DIST_COMMON)
4095 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
4196 configure.lineno config.status.lineno
4297 mkinstalldirs = $(install_sh) -d
4398 CONFIG_HEADER = config.h
4499 CONFIG_CLEAN_FILES = gom-${VERSION}.lsm
100 CONFIG_CLEAN_VPATH_FILES =
101 AM_V_P = $(am__v_P_@AM_V@)
102 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
103 am__v_P_0 = false
104 am__v_P_1 = :
105 AM_V_GEN = $(am__v_GEN_@AM_V@)
106 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
107 am__v_GEN_0 = @echo " GEN " $@;
108 am__v_GEN_1 =
109 AM_V_at = $(am__v_at_@AM_V@)
110 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
111 am__v_at_0 = @
112 am__v_at_1 =
45113 SOURCES =
46114 DIST_SOURCES =
47 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
48 html-recursive info-recursive install-data-recursive \
49 install-dvi-recursive install-exec-recursive \
50 install-html-recursive install-info-recursive \
51 install-pdf-recursive install-ps-recursive install-recursive \
52 installcheck-recursive installdirs-recursive pdf-recursive \
53 ps-recursive uninstall-recursive
115 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
116 ctags-recursive dvi-recursive html-recursive info-recursive \
117 install-data-recursive install-dvi-recursive \
118 install-exec-recursive install-html-recursive \
119 install-info-recursive install-pdf-recursive \
120 install-ps-recursive install-recursive installcheck-recursive \
121 installdirs-recursive pdf-recursive ps-recursive \
122 tags-recursive uninstall-recursive
123 am__can_run_installinfo = \
124 case $$AM_UPDATE_INFO_DIR in \
125 n|no|NO) false;; \
126 *) (install-info --version) >/dev/null 2>&1;; \
127 esac
128 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
129 am__vpath_adj = case $$p in \
130 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
131 *) f=$$p;; \
132 esac;
133 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
134 am__install_max = 40
135 am__nobase_strip_setup = \
136 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
137 am__nobase_strip = \
138 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
139 am__nobase_list = $(am__nobase_strip_setup); \
140 for p in $$list; do echo "$$p $$p"; done | \
141 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
142 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
143 if (++n[$$2] == $(am__install_max)) \
144 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
145 END { for (dir in files) print dir, files[dir] }'
146 am__base_list = \
147 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
148 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
149 am__uninstall_files_from_dir = { \
150 test -z "$$files" \
151 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
152 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
153 $(am__cd) "$$dir" && rm -f $$files; }; \
154 }
155 am__installdirs = "$(DESTDIR)$(docdir)"
156 DATA = $(doc_DATA)
54157 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
55158 distclean-recursive maintainer-clean-recursive
159 am__recursive_targets = \
160 $(RECURSIVE_TARGETS) \
161 $(RECURSIVE_CLEAN_TARGETS) \
162 $(am__extra_recursive_targets)
163 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
164 cscope distdir distdir-am dist dist-all distcheck
165 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
166 config.h.in
167 # Read a list of newline-separated strings from the standard input,
168 # and print each of them once, without duplicates. Input order is
169 # *not* preserved.
170 am__uniquify_input = $(AWK) '\
171 BEGIN { nonempty = 0; } \
172 { items[$$0] = 1; nonempty = 1; } \
173 END { if (nonempty) { for (i in items) print i; }; } \
174 '
175 # Make sure the list of sources is unique. This is necessary because,
176 # e.g., the same source file might be shared among _SOURCES variables
177 # for different programs/libraries.
178 am__define_uniq_tagged_files = \
179 list='$(am__tagged_files)'; \
180 unique=`for i in $$list; do \
181 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
182 done | $(am__uniquify_input)`
56183 ETAGS = etags
57184 CTAGS = ctags
185 CSCOPE = cscope
58186 DIST_SUBDIRS = $(SUBDIRS)
187 am__DIST_COMMON = $(srcdir)/LSM.in $(srcdir)/Makefile.in \
188 $(srcdir)/config.h.in AUTHORS COPYING ChangeLog INSTALL NEWS \
189 README compile install-sh missing
59190 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
60191 distdir = $(PACKAGE)-$(VERSION)
61192 top_distdir = $(distdir)
62193 am__remove_distdir = \
63 { test ! -d $(distdir) \
64 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
65 && rm -fr $(distdir); }; }
194 if test -d "$(distdir)"; then \
195 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
196 && rm -rf "$(distdir)" \
197 || { sleep 5 && rm -rf "$(distdir)"; }; \
198 else :; fi
199 am__post_remove_distdir = $(am__remove_distdir)
200 am__relativize = \
201 dir0=`pwd`; \
202 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
203 sed_rest='s,^[^/]*/*,,'; \
204 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
205 sed_butlast='s,/*[^/]*$$,,'; \
206 while test -n "$$dir1"; do \
207 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
208 if test "$$first" != "."; then \
209 if test "$$first" = ".."; then \
210 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
211 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
212 else \
213 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
214 if test "$$first2" = "$$first"; then \
215 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
216 else \
217 dir2="../$$dir2"; \
218 fi; \
219 dir0="$$dir0"/"$$first"; \
220 fi; \
221 fi; \
222 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
223 done; \
224 reldir="$$dir2"
66225 DIST_ARCHIVES = $(distdir).tar.gz
67226 GZIP_ENV = --best
227 DIST_TARGETS = dist-gzip
228 # Exists only to be overridden by the user if desired.
229 AM_DISTCHECK_DVI_TARGET = dvi
68230 distuninstallcheck_listfiles = find . -type f -print
231 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
232 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
69233 distcleancheck_listfiles = find . -type f -print
70234 ACLOCAL = @ACLOCAL@
71235 AMTAR = @AMTAR@
236 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
72237 AUTOCONF = @AUTOCONF@
73238 AUTOHEADER = @AUTOHEADER@
74239 AUTOMAKE = @AUTOMAKE@
112277 PACKAGE_NAME = @PACKAGE_NAME@
113278 PACKAGE_STRING = @PACKAGE_STRING@
114279 PACKAGE_TARNAME = @PACKAGE_TARNAME@
280 PACKAGE_URL = @PACKAGE_URL@
115281 PACKAGE_VERSION = @PACKAGE_VERSION@
116282 PATH_SEPARATOR = @PATH_SEPARATOR@
117283 SET_MAKE = @SET_MAKE@
138304 builddir = @builddir@
139305 datadir = @datadir@
140306 datarootdir = @datarootdir@
141 docdir = @docdir@
307 docdir = $(datadir)/doc/$(PACKAGE)
142308 dvidir = @dvidir@
143309 exec_prefix = @exec_prefix@
144310 host_alias = @host_alias@
157323 prefix = @prefix@
158324 program_transform_name = @program_transform_name@
159325 psdir = @psdir@
326 runstatedir = @runstatedir@
160327 sbindir = @sbindir@
161328 sharedstatedir = @sharedstatedir@
162329 srcdir = @srcdir@
163330 sysconfdir = @sysconfdir@
164331 target_alias = @target_alias@
332 top_build_prefix = @top_build_prefix@
165333 top_builddir = @top_builddir@
166334 top_srcdir = @top_srcdir@
167 AUTOMAKE_OPTIONS = 1.6
335 AUTOMAKE_OPTIONS = 1.9
168336 SUBDIRS = src
169 EXTRA_DIST = auto_bootstrap
337 EXTRA_DIST = auto_bootstrap examples
338 doc_DATA = README NEWS AUTHORS ChangeLog COPYING
170339 all: config.h
171340 $(MAKE) $(AM_MAKEFLAGS) all-recursive
172341
173342 .SUFFIXES:
174 am--refresh:
343 am--refresh: Makefile
175344 @:
176345 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
177346 @for dep in $?; do \
178347 case '$(am__configure_deps)' in \
179348 *$$dep*) \
180 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
181 cd $(srcdir) && $(AUTOMAKE) --gnu \
349 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
350 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
182351 && exit 0; \
183352 exit 1;; \
184353 esac; \
185354 done; \
186 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
187 cd $(top_srcdir) && \
188 $(AUTOMAKE) --gnu Makefile
189 .PRECIOUS: Makefile
355 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
356 $(am__cd) $(top_srcdir) && \
357 $(AUTOMAKE) --gnu Makefile
190358 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
191359 @case '$?' in \
192360 *config.status*) \
193361 echo ' $(SHELL) ./config.status'; \
194362 $(SHELL) ./config.status;; \
195363 *) \
196 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
197 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
364 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
365 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
198366 esac;
199367
200368 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
201369 $(SHELL) ./config.status --recheck
202370
203371 $(top_srcdir)/configure: $(am__configure_deps)
204 cd $(srcdir) && $(AUTOCONF)
372 $(am__cd) $(srcdir) && $(AUTOCONF)
205373 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
206 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
374 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
375 $(am__aclocal_m4_deps):
207376
208377 config.h: stamp-h1
209 @if test ! -f $@; then \
210 rm -f stamp-h1; \
211 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
212 else :; fi
378 @test -f $@ || rm -f stamp-h1
379 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
213380
214381 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
215382 @rm -f stamp-h1
216383 cd $(top_builddir) && $(SHELL) ./config.status config.h
217384 $(srcdir)/config.h.in: $(am__configure_deps)
218 cd $(top_srcdir) && $(AUTOHEADER)
385 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
219386 rm -f stamp-h1
220387 touch $@
221388
223390 -rm -f config.h stamp-h1
224391 gom-${VERSION}.lsm: $(top_builddir)/config.status $(srcdir)/LSM.in
225392 cd $(top_builddir) && $(SHELL) ./config.status $@
393 install-docDATA: $(doc_DATA)
394 @$(NORMAL_INSTALL)
395 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
396 if test -n "$$list"; then \
397 echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
398 $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
399 fi; \
400 for p in $$list; do \
401 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
402 echo "$$d$$p"; \
403 done | $(am__base_list) | \
404 while read files; do \
405 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
406 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
407 done
408
409 uninstall-docDATA:
410 @$(NORMAL_UNINSTALL)
411 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
412 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
413 dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
226414
227415 # This directory's subdirectories are mostly independent; you can cd
228 # into them and run `make' without going through this Makefile.
229 # To change the values of `make' variables: instead of editing Makefiles,
230 # (1) if the variable is set in `config.status', edit `config.status'
231 # (which will cause the Makefiles to be regenerated when you run `make');
232 # (2) otherwise, pass the desired values on the `make' command line.
233 $(RECURSIVE_TARGETS):
234 @failcom='exit 1'; \
235 for f in x $$MAKEFLAGS; do \
236 case $$f in \
237 *=* | --[!k]*);; \
238 *k*) failcom='fail=yes';; \
239 esac; \
240 done; \
416 # into them and run 'make' without going through this Makefile.
417 # To change the values of 'make' variables: instead of editing Makefiles,
418 # (1) if the variable is set in 'config.status', edit 'config.status'
419 # (which will cause the Makefiles to be regenerated when you run 'make');
420 # (2) otherwise, pass the desired values on the 'make' command line.
421 $(am__recursive_targets):
422 @fail=; \
423 if $(am__make_keepgoing); then \
424 failcom='fail=yes'; \
425 else \
426 failcom='exit 1'; \
427 fi; \
241428 dot_seen=no; \
242429 target=`echo $@ | sed s/-recursive//`; \
243 list='$(SUBDIRS)'; for subdir in $$list; do \
430 case "$@" in \
431 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
432 *) list='$(SUBDIRS)' ;; \
433 esac; \
434 for subdir in $$list; do \
244435 echo "Making $$target in $$subdir"; \
245436 if test "$$subdir" = "."; then \
246437 dot_seen=yes; \
248439 else \
249440 local_target="$$target"; \
250441 fi; \
251 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
442 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
252443 || eval $$failcom; \
253444 done; \
254445 if test "$$dot_seen" = "no"; then \
255446 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
256447 fi; test -z "$$fail"
257448
258 $(RECURSIVE_CLEAN_TARGETS):
259 @failcom='exit 1'; \
260 for f in x $$MAKEFLAGS; do \
261 case $$f in \
262 *=* | --[!k]*);; \
263 *k*) failcom='fail=yes';; \
264 esac; \
265 done; \
266 dot_seen=no; \
267 case "$@" in \
268 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
269 *) list='$(SUBDIRS)' ;; \
270 esac; \
271 rev=''; for subdir in $$list; do \
272 if test "$$subdir" = "."; then :; else \
273 rev="$$subdir $$rev"; \
274 fi; \
275 done; \
276 rev="$$rev ."; \
277 target=`echo $@ | sed s/-recursive//`; \
278 for subdir in $$rev; do \
279 echo "Making $$target in $$subdir"; \
280 if test "$$subdir" = "."; then \
281 local_target="$$target-am"; \
282 else \
283 local_target="$$target"; \
284 fi; \
285 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
286 || eval $$failcom; \
287 done && test -z "$$fail"
288 tags-recursive:
289 list='$(SUBDIRS)'; for subdir in $$list; do \
290 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
291 done
292 ctags-recursive:
293 list='$(SUBDIRS)'; for subdir in $$list; do \
294 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
295 done
296
297 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
298 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
299 unique=`for i in $$list; do \
300 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
301 done | \
302 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
303 END { if (nonempty) { for (i in files) print i; }; }'`; \
304 mkid -fID $$unique
305 tags: TAGS
306
307 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
308 $(TAGS_FILES) $(LISP)
309 tags=; \
449 ID: $(am__tagged_files)
450 $(am__define_uniq_tagged_files); mkid -fID $$unique
451 tags: tags-recursive
452 TAGS: tags
453
454 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
455 set x; \
310456 here=`pwd`; \
311457 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
312458 include_option=--etags-include; \
318464 list='$(SUBDIRS)'; for subdir in $$list; do \
319465 if test "$$subdir" = .; then :; else \
320466 test ! -f $$subdir/TAGS || \
321 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
467 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
322468 fi; \
323469 done; \
324 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
325 unique=`for i in $$list; do \
326 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 done | \
328 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
329 END { if (nonempty) { for (i in files) print i; }; }'`; \
330 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
470 $(am__define_uniq_tagged_files); \
471 shift; \
472 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
331473 test -n "$$unique" || unique=$$empty_fix; \
332 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
333 $$tags $$unique; \
474 if test $$# -gt 0; then \
475 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
476 "$$@" $$unique; \
477 else \
478 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
479 $$unique; \
480 fi; \
334481 fi
335 ctags: CTAGS
336 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
337 $(TAGS_FILES) $(LISP)
338 tags=; \
339 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
340 unique=`for i in $$list; do \
341 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
342 done | \
343 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
344 END { if (nonempty) { for (i in files) print i; }; }'`; \
345 test -z "$(CTAGS_ARGS)$$tags$$unique" \
482 ctags: ctags-recursive
483
484 CTAGS: ctags
485 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
486 $(am__define_uniq_tagged_files); \
487 test -z "$(CTAGS_ARGS)$$unique" \
346488 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
347 $$tags $$unique
489 $$unique
348490
349491 GTAGS:
350492 here=`$(am__cd) $(top_builddir) && pwd` \
351 && cd $(top_srcdir) \
352 && gtags -i $(GTAGS_ARGS) $$here
493 && $(am__cd) $(top_srcdir) \
494 && gtags -i $(GTAGS_ARGS) "$$here"
495 cscope: cscope.files
496 test ! -s cscope.files \
497 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
498 clean-cscope:
499 -rm -f cscope.files
500 cscope.files: clean-cscope cscopelist
501 cscopelist: cscopelist-recursive
502
503 cscopelist-am: $(am__tagged_files)
504 list='$(am__tagged_files)'; \
505 case "$(srcdir)" in \
506 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
507 *) sdir=$(subdir)/$(srcdir) ;; \
508 esac; \
509 for i in $$list; do \
510 if test -f "$$i"; then \
511 echo "$(subdir)/$$i"; \
512 else \
513 echo "$$sdir/$$i"; \
514 fi; \
515 done >> $(top_builddir)/cscope.files
353516
354517 distclean-tags:
355518 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
356
357 distdir: $(DISTFILES)
519 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
520
521 distdir: $(BUILT_SOURCES)
522 $(MAKE) $(AM_MAKEFLAGS) distdir-am
523
524 distdir-am: $(DISTFILES)
358525 $(am__remove_distdir)
359 test -d $(distdir) || mkdir $(distdir)
526 test -d "$(distdir)" || mkdir "$(distdir)"
360527 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
361528 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
362529 list='$(DISTFILES)'; \
372539 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
373540 if test -d $$d/$$file; then \
374541 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
542 if test -d "$(distdir)/$$file"; then \
543 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
544 fi; \
375545 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
376 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
546 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
547 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
377548 fi; \
378 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
549 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
379550 else \
380 test -f $(distdir)/$$file \
381 || cp -p $$d/$$file $(distdir)/$$file \
551 test -f "$(distdir)/$$file" \
552 || cp -p $$d/$$file "$(distdir)/$$file" \
382553 || exit 1; \
383554 fi; \
384555 done
385 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
556 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
386557 if test "$$subdir" = .; then :; else \
387 test -d "$(distdir)/$$subdir" \
388 || $(MKDIR_P) "$(distdir)/$$subdir" \
389 || exit 1; \
390 distdir=`$(am__cd) $(distdir) && pwd`; \
391 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
392 (cd $$subdir && \
558 $(am__make_dryrun) \
559 || test -d "$(distdir)/$$subdir" \
560 || $(MKDIR_P) "$(distdir)/$$subdir" \
561 || exit 1; \
562 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
563 $(am__relativize); \
564 new_distdir=$$reldir; \
565 dir1=$$subdir; dir2="$(top_distdir)"; \
566 $(am__relativize); \
567 new_top_distdir=$$reldir; \
568 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
569 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
570 ($(am__cd) $$subdir && \
393571 $(MAKE) $(AM_MAKEFLAGS) \
394 top_distdir="$$top_distdir" \
395 distdir="$$distdir/$$subdir" \
572 top_distdir="$$new_top_distdir" \
573 distdir="$$new_distdir" \
396574 am__remove_distdir=: \
397575 am__skip_length_check=: \
576 am__skip_mode_fix=: \
398577 distdir) \
399578 || exit 1; \
400579 fi; \
401580 done
402 $(MAKE) $(AM_MAKEFLAGS) \
403 top_distdir="$(top_distdir)" distdir="$(distdir)" \
404 dist-hook
405 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
581 -test -n "$(am__skip_mode_fix)" \
582 || find "$(distdir)" -type d ! -perm -755 \
583 -exec chmod u+rwx,go+rx {} \; -o \
406584 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
407585 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
408586 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
409 || chmod -R a+r $(distdir)
587 || chmod -R a+r "$(distdir)"
410588 dist-gzip: distdir
411 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
412 $(am__remove_distdir)
589 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
590 $(am__post_remove_distdir)
413591
414592 dist-bzip2: distdir
415 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
416 $(am__remove_distdir)
417
418 dist-lzma: distdir
419 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
420 $(am__remove_distdir)
593 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
594 $(am__post_remove_distdir)
595
596 dist-lzip: distdir
597 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
598 $(am__post_remove_distdir)
599
600 dist-xz: distdir
601 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
602 $(am__post_remove_distdir)
603
604 dist-zstd: distdir
605 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
606 $(am__post_remove_distdir)
421607
422608 dist-tarZ: distdir
609 @echo WARNING: "Support for distribution archives compressed with" \
610 "legacy program 'compress' is deprecated." >&2
611 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
423612 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
424 $(am__remove_distdir)
613 $(am__post_remove_distdir)
425614
426615 dist-shar: distdir
427 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
428 $(am__remove_distdir)
616 @echo WARNING: "Support for shar distribution archives is" \
617 "deprecated." >&2
618 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
619 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
620 $(am__post_remove_distdir)
429621
430622 dist-zip: distdir
431623 -rm -f $(distdir).zip
432624 zip -rq $(distdir).zip $(distdir)
433 $(am__remove_distdir)
434
435 dist dist-all: distdir
436 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
437 $(am__remove_distdir)
625 $(am__post_remove_distdir)
626
627 dist dist-all:
628 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
629 $(am__post_remove_distdir)
438630
439631 # This target untars the dist file and tries a VPATH configuration. Then
440632 # it guarantees that the distribution is self-contained by making another
442634 distcheck: dist
443635 case '$(DIST_ARCHIVES)' in \
444636 *.tar.gz*) \
445 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
637 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
446638 *.tar.bz2*) \
447 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
448 *.tar.lzma*) \
449 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
639 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
640 *.tar.lz*) \
641 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
642 *.tar.xz*) \
643 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
450644 *.tar.Z*) \
451645 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
452646 *.shar.gz*) \
453 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
647 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
454648 *.zip*) \
455649 unzip $(distdir).zip ;;\
650 *.tar.zst*) \
651 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
456652 esac
457 chmod -R a-w $(distdir); chmod a+w $(distdir)
458 mkdir $(distdir)/_build
459 mkdir $(distdir)/_inst
653 chmod -R a-w $(distdir)
654 chmod u+w $(distdir)
655 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
460656 chmod a-w $(distdir)
657 test -d $(distdir)/_build || exit 0; \
461658 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
462659 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
463 && cd $(distdir)/_build \
464 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
660 && am__cwd=`pwd` \
661 && $(am__cd) $(distdir)/_build/sub \
662 && ../../configure \
663 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
465664 $(DISTCHECK_CONFIGURE_FLAGS) \
665 --srcdir=../.. --prefix="$$dc_install_base" \
466666 && $(MAKE) $(AM_MAKEFLAGS) \
467 && $(MAKE) $(AM_MAKEFLAGS) dvi \
667 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
468668 && $(MAKE) $(AM_MAKEFLAGS) check \
469669 && $(MAKE) $(AM_MAKEFLAGS) install \
470670 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
482682 && rm -rf "$$dc_destdir" \
483683 && $(MAKE) $(AM_MAKEFLAGS) dist \
484684 && rm -rf $(DIST_ARCHIVES) \
485 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
486 $(am__remove_distdir)
685 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
686 && cd "$$am__cwd" \
687 || exit 1
688 $(am__post_remove_distdir)
487689 @(echo "$(distdir) archives ready for distribution: "; \
488690 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
489691 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
490692 distuninstallcheck:
491 @cd $(distuninstallcheck_dir) \
492 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
693 @test -n '$(distuninstallcheck_dir)' || { \
694 echo 'ERROR: trying to run $@ with an empty' \
695 '$$(distuninstallcheck_dir)' >&2; \
696 exit 1; \
697 }; \
698 $(am__cd) '$(distuninstallcheck_dir)' || { \
699 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
700 exit 1; \
701 }; \
702 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
493703 || { echo "ERROR: files left after uninstall:" ; \
494704 if test -n "$(DESTDIR)"; then \
495705 echo " (check DESTDIR support)"; \
507717 exit 1; } >&2
508718 check-am: all-am
509719 check: check-recursive
510 all-am: Makefile config.h
720 all-am: Makefile $(DATA) config.h
511721 installdirs: installdirs-recursive
512722 installdirs-am:
723 for dir in "$(DESTDIR)$(docdir)"; do \
724 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
725 done
513726 install: install-recursive
514727 install-exec: install-exec-recursive
515728 install-data: install-data-recursive
520733
521734 installcheck: installcheck-recursive
522735 install-strip:
523 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
524 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
525 `test -z '$(STRIP)' || \
526 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
736 if test -z '$(STRIP)'; then \
737 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
738 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
739 install; \
740 else \
741 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
742 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
743 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
744 fi
527745 mostlyclean-generic:
528746
529747 clean-generic:
530748
531749 distclean-generic:
532750 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
751 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
533752
534753 maintainer-clean-generic:
535754 @echo "This command is intended for maintainers to use"
549768
550769 html: html-recursive
551770
771 html-am:
772
552773 info: info-recursive
553774
554775 info-am:
555776
556 install-data-am:
777 install-data-am: install-data-local install-docDATA
557778
558779 install-dvi: install-dvi-recursive
559780
781 install-dvi-am:
782
560783 install-exec-am:
561784
562785 install-html: install-html-recursive
563786
787 install-html-am:
788
564789 install-info: install-info-recursive
565790
791 install-info-am:
792
566793 install-man:
567794
568795 install-pdf: install-pdf-recursive
569796
797 install-pdf-am:
798
570799 install-ps: install-ps-recursive
800
801 install-ps-am:
571802
572803 installcheck-am:
573804
589820
590821 ps-am:
591822
592 uninstall-am:
593
594 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
595 install-strip
596
597 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
598 all all-am am--refresh check check-am clean clean-generic \
599 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
600 dist-hook dist-lzma dist-shar dist-tarZ dist-zip distcheck \
601 distclean distclean-generic distclean-hdr distclean-tags \
602 distcleancheck distdir distuninstallcheck dvi dvi-am html \
603 html-am info info-am install install-am install-data \
604 install-data-am install-dvi install-dvi-am install-exec \
823 uninstall-am: uninstall-docDATA uninstall-local
824
825 .MAKE: $(am__recursive_targets) all install-am install-strip
826
827 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
828 am--refresh check check-am clean clean-cscope clean-generic \
829 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
830 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
831 dist-zstd distcheck distclean distclean-generic distclean-hdr \
832 distclean-tags distcleancheck distdir distuninstallcheck dvi \
833 dvi-am html html-am info info-am install install-am \
834 install-data install-data-am install-data-local \
835 install-docDATA install-dvi install-dvi-am install-exec \
605836 install-exec-am install-html install-html-am install-info \
606837 install-info-am install-man install-pdf install-pdf-am \
607838 install-ps install-ps-am install-strip installcheck \
608839 installcheck-am installdirs installdirs-am maintainer-clean \
609840 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
610 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
611
612
613 #
614 # Add examples subdir via dist-hook
615 #
616 # Note: Copying whole dir, then deleting CVS dirs. Not good (tm), but works...
617 dist-hook:
618 cp -a $(srcdir)/examples $(distdir)/examples
619 -find $(distdir)/examples -type d -name '.svn' -exec rm -rf {} \;
841 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
842 uninstall-docDATA uninstall-local
843
844 .PRECIOUS: Makefile
845
846
847 install-data-local:
848 $(MKDIR_P) $(DESTDIR)/$(docdir)
849 cp -a $(srcdir)/examples/ $(DESTDIR)/$(docdir)
850
851 uninstall-local:
852 chmod -R +w $(DESTDIR)/$(docdir)/examples
853 rm -rf $(DESTDIR)/$(docdir)/examples
854
620855 # Tell versions [3.59,3.63) of GNU make to not export all variables.
621856 # Otherwise a system limit (for SysV at least) may be exceeded.
622857 .NOEXPORT:
0 Summaries of important changes how gom is used or behaves.
1 See ChangeLog for more details.
2
3 ================================================================
4 gom-0.30.3 (stable) (Sun, 07 Feb 2021 21:39:29 +0100):
5
6 Patched stable release.
7
8 Changes since :
9
10 Fix for GCC 10 (thx Sudip Mukherjee) && minor maintenance.
11 ----------------------------------------------------------------
012 See file "ChangeLog" for a more detailed list of changes.
113
214 * Release 0.30.2 (2008 May 11)
2828 - NEWS : list of prominent changes between releases of gom
2929 - ChangeLog: detailed list of changes between releases of gom
3030
31 Copyright (c) 1996-2008 Stephan Sürken <absurd@olurdix.de> [GPL].
31 Copyright (c) 1996-2009 Stephan Sürken <absurd@olurdix.de> [GPL].
3232
3333 (THIS RELEASE OF) GOM MAY ONLY BE DISTRIBUTED, COPIED OR MODIFIED
3434 UNDER THE TERMS OF THE LICENSE FOUND IN THE FILE NAMED "COPYING"
0 # generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.3 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
3
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1314 m4_ifndef([AC_AUTOCONF_VERSION],
1415 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(AC_AUTOCONF_VERSION, [2.61],,
16 [m4_warning([this file was generated for autoconf 2.61.
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
1718 You have another version of autoconf. It may work, but is not guaranteed to.
1819 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
2223 #
2324 # This file is free software; the Free Software Foundation
2425 # gives unlimited permission to copy and/or distribute it,
3031 # generated from the m4 files accompanying Automake X.Y.
3132 # (This private macro should not be called outside this file.)
3233 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.10'
34 [am__api_version='1.16'
3435 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3536 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.10.1], [],
37 m4_if([$1], [1.16.3], [],
3738 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3839 ])
3940
4748 # AM_SET_CURRENT_AUTOMAKE_VERSION
4849 # -------------------------------
4950 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5152 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.10.1])dnl
53 [AM_AUTOMAKE_VERSION([1.16.3])dnl
5354 m4_ifndef([AC_AUTOCONF_VERSION],
5455 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5657
5758 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5859
59 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
6061 #
6162 # This file is free software; the Free Software Foundation
6263 # gives unlimited permission to copy and/or distribute it,
6364 # with or without modifications, as long as this notice is preserved.
6465
6566 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
66 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
67 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
67 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
68 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
6869 #
6970 # Of course, Automake must honor this variable whenever it calls a
7071 # tool from the auxiliary directory. The problem is that $srcdir (and
8384 #
8485 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
8586 # are both prefixed by $srcdir. In an in-source build this is usually
86 # harmless because $srcdir is `.', but things will broke when you
87 # harmless because $srcdir is '.', but things will broke when you
8788 # start a VPATH build or use an absolute $srcdir.
8889 #
8990 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
101102 # configured tree to be moved without reconfiguration.
102103
103104 AC_DEFUN([AM_AUX_DIR_EXPAND],
104 [dnl Rely on autoconf to set up CDPATH properly.
105 AC_PREREQ([2.50])dnl
106 # expand $ac_aux_dir to an absolute path
107 am_aux_dir=`cd $ac_aux_dir && pwd`
105 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
106 # Expand $ac_aux_dir to an absolute path.
107 am_aux_dir=`cd "$ac_aux_dir" && pwd`
108108 ])
109109
110110 # AM_CONDITIONAL -*- Autoconf -*-
111111
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113 # Free Software Foundation, Inc.
114 #
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
118
119 # serial 8
112 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
113 #
114 # This file is free software; the Free Software Foundation
115 # gives unlimited permission to copy and/or distribute it,
116 # with or without modifications, as long as this notice is preserved.
120117
121118 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122119 # -------------------------------------
123120 # Define a conditional.
124121 AC_DEFUN([AM_CONDITIONAL],
125 [AC_PREREQ(2.52)dnl
126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
122 [AC_PREREQ([2.52])dnl
123 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
124 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
128125 AC_SUBST([$1_TRUE])dnl
129126 AC_SUBST([$1_FALSE])dnl
130127 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131128 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
129 m4_define([_AM_COND_VALUE_$1], [$2])dnl
132130 if $2; then
133131 $1_TRUE=
134132 $1_FALSE='#'
142140 Usually this means the macro was only invoked conditionally.]])
143141 fi])])
144142
145 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
146 # Free Software Foundation, Inc.
147 #
148 # This file is free software; the Free Software Foundation
149 # gives unlimited permission to copy and/or distribute it,
150 # with or without modifications, as long as this notice is preserved.
151
152 # serial 9
153
154 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
143 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
144 #
145 # This file is free software; the Free Software Foundation
146 # gives unlimited permission to copy and/or distribute it,
147 # with or without modifications, as long as this notice is preserved.
148
149
150 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
155151 # written in clear, in which case automake, when reading aclocal.m4,
156152 # will think it sees a *use*, and therefore will trigger all it's
157153 # C support machinery. Also note that it means that autoscan, seeing
161157 # _AM_DEPENDENCIES(NAME)
162158 # ----------------------
163159 # See how the compiler implements dependency checking.
164 # NAME is "CC", "CXX", "GCJ", or "OBJC".
160 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
165161 # We try a few techniques and use that to set a single cache variable.
166162 #
167163 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
174170 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
175171 AC_REQUIRE([AM_DEP_TRACK])dnl
176172
177 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
178 [$1], CXX, [depcc="$CXX" am_compiler_list=],
179 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
180 [$1], UPC, [depcc="$UPC" am_compiler_list=],
181 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
182 [depcc="$$1" am_compiler_list=])
173 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
174 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
175 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
177 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
178 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
179 [depcc="$$1" am_compiler_list=])
183180
184181 AC_CACHE_CHECK([dependency style of $depcc],
185182 [am_cv_$1_dependencies_compiler_type],
187184 # We make a subdir and do the tests there. Otherwise we can end up
188185 # making bogus files that we don't know about and never remove. For
189186 # instance it was reported that on HP-UX the gcc test will end up
190 # making a dummy file named `D' -- because `-MD' means `put the output
191 # in D'.
187 # making a dummy file named 'D' -- because '-MD' means "put the output
188 # in D".
189 rm -rf conftest.dir
192190 mkdir conftest.dir
193191 # Copy depcomp to subdir because otherwise we won't find it if we're
194192 # using a relative directory.
206204 if test "$am_compiler_list" = ""; then
207205 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
208206 fi
207 am__universal=false
208 m4_case([$1], [CC],
209 [case " $depcc " in #(
210 *\ -arch\ *\ -arch\ *) am__universal=true ;;
211 esac],
212 [CXX],
213 [case " $depcc " in #(
214 *\ -arch\ *\ -arch\ *) am__universal=true ;;
215 esac])
216
209217 for depmode in $am_compiler_list; do
210218 # Setup a source with many dependencies, because some compilers
211219 # like to wrap large dependency lists on column 80 (with \), and
217225 : > sub/conftest.c
218226 for i in 1 2 3 4 5 6; do
219227 echo '#include "conftst'$i'.h"' >> sub/conftest.c
220 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
221 # Solaris 8's {/usr,}/bin/sh.
222 touch sub/conftst$i.h
228 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
229 # Solaris 10 /bin/sh.
230 echo '/* dummy */' > sub/conftst$i.h
223231 done
224232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
225233
234 # We check with '-c' and '-o' for the sake of the "dashmstdout"
235 # mode. It turns out that the SunPro C++ compiler does not properly
236 # handle '-M -o', and we need to detect this. Also, some Intel
237 # versions had trouble with output in subdirs.
238 am__obj=sub/conftest.${OBJEXT-o}
239 am__minus_obj="-o $am__obj"
226240 case $depmode in
241 gcc)
242 # This depmode causes a compiler race in universal mode.
243 test "$am__universal" = false || continue
244 ;;
227245 nosideeffect)
228 # after this tag, mechanisms are not by side-effect, so they'll
229 # only be used when explicitly requested
246 # After this tag, mechanisms are not by side-effect, so they'll
247 # only be used when explicitly requested.
230248 if test "x$enable_dependency_tracking" = xyes; then
231249 continue
232250 else
233251 break
234252 fi
235253 ;;
254 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
255 # This compiler won't grok '-c -o', but also, the minuso test has
256 # not run yet. These depmodes are late enough in the game, and
257 # so weak that their functioning should not be impacted.
258 am__obj=conftest.${OBJEXT-o}
259 am__minus_obj=
260 ;;
236261 none) break ;;
237262 esac
238 # We check with `-c' and `-o' for the sake of the "dashmstdout"
239 # mode. It turns out that the SunPro C++ compiler does not properly
240 # handle `-M -o', and we need to detect this.
241263 if depmode=$depmode \
242 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
264 source=sub/conftest.c object=$am__obj \
243265 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
244 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
266 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
245267 >/dev/null 2>conftest.err &&
246268 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
247269 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
248 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
270 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
249271 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
250272 # icc doesn't choke on unknown options, it will just issue warnings
251273 # or remarks (even with -Werror). So we grep stderr for any message
278300 # AM_SET_DEPDIR
279301 # -------------
280302 # Choose a directory name for dependency files.
281 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
303 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
282304 AC_DEFUN([AM_SET_DEPDIR],
283305 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
284306 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
288310 # AM_DEP_TRACK
289311 # ------------
290312 AC_DEFUN([AM_DEP_TRACK],
291 [AC_ARG_ENABLE(dependency-tracking,
292 [ --disable-dependency-tracking speeds up one-time build
293 --enable-dependency-tracking do not reject slow dependency extractors])
313 [AC_ARG_ENABLE([dependency-tracking], [dnl
314 AS_HELP_STRING(
315 [--enable-dependency-tracking],
316 [do not reject slow dependency extractors])
317 AS_HELP_STRING(
318 [--disable-dependency-tracking],
319 [speeds up one-time build])])
294320 if test "x$enable_dependency_tracking" != xno; then
295321 am_depcomp="$ac_aux_dir/depcomp"
296322 AMDEPBACKSLASH='\'
323 am__nodep='_no'
297324 fi
298325 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
299326 AC_SUBST([AMDEPBACKSLASH])dnl
300327 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
328 AC_SUBST([am__nodep])dnl
329 _AM_SUBST_NOTMAKE([am__nodep])dnl
301330 ])
302331
303332 # Generate code to set up dependency tracking. -*- Autoconf -*-
304333
305 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
306 # Free Software Foundation, Inc.
307 #
308 # This file is free software; the Free Software Foundation
309 # gives unlimited permission to copy and/or distribute it,
310 # with or without modifications, as long as this notice is preserved.
311
312 #serial 3
334 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
313339
314340 # _AM_OUTPUT_DEPENDENCY_COMMANDS
315341 # ------------------------------
316342 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
317 [for mf in $CONFIG_FILES; do
318 # Strip MF so we end up with the name of the file.
319 mf=`echo "$mf" | sed -e 's/:.*$//'`
320 # Check whether this is an Automake generated Makefile or not.
321 # We used to match only the files named `Makefile.in', but
322 # some people rename them; so instead we look at the file content.
323 # Grep'ing the first line is not enough: some people post-process
324 # each Makefile.in and add a new line on top of each file to say so.
325 # Grep'ing the whole file is not good either: AIX grep has a line
326 # limit of 2048, but all sed's we know have understand at least 4000.
327 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
328 dirpart=`AS_DIRNAME("$mf")`
329 else
330 continue
343 [{
344 # Older Autoconf quotes --file arguments for eval, but not when files
345 # are listed without --file. Let's play safe and only enable the eval
346 # if we detect the quoting.
347 # TODO: see whether this extra hack can be removed once we start
348 # requiring Autoconf 2.70 or later.
349 AS_CASE([$CONFIG_FILES],
350 [*\'*], [eval set x "$CONFIG_FILES"],
351 [*], [set x $CONFIG_FILES])
352 shift
353 # Used to flag and report bootstrapping failures.
354 am_rc=0
355 for am_mf
356 do
357 # Strip MF so we end up with the name of the file.
358 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
359 # Check whether this is an Automake generated Makefile which includes
360 # dependency-tracking related rules and includes.
361 # Grep'ing the whole file directly is not great: AIX grep has a line
362 # limit of 2048, but all sed's we know have understand at least 4000.
363 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
364 || continue
365 am_dirpart=`AS_DIRNAME(["$am_mf"])`
366 am_filepart=`AS_BASENAME(["$am_mf"])`
367 AM_RUN_LOG([cd "$am_dirpart" \
368 && sed -e '/# am--include-marker/d' "$am_filepart" \
369 | $MAKE -f - am--depfiles]) || am_rc=$?
370 done
371 if test $am_rc -ne 0; then
372 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
373 for automatic dependency tracking. If GNU make was not used, consider
374 re-running the configure script with MAKE="gmake" (or whatever is
375 necessary). You can also try re-running configure with the
376 '--disable-dependency-tracking' option to at least be able to build
377 the package (albeit without support for automatic dependency tracking).])
331378 fi
332 # Extract the definition of DEPDIR, am__include, and am__quote
333 # from the Makefile without running `make'.
334 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
335 test -z "$DEPDIR" && continue
336 am__include=`sed -n 's/^am__include = //p' < "$mf"`
337 test -z "am__include" && continue
338 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
339 # When using ansi2knr, U may be empty or an underscore; expand it
340 U=`sed -n 's/^U = //p' < "$mf"`
341 # Find all dependency output files, they are included files with
342 # $(DEPDIR) in their names. We invoke sed twice because it is the
343 # simplest approach to changing $(DEPDIR) to its actual value in the
344 # expansion.
345 for file in `sed -n "
346 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
347 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
348 # Make sure the directory exists.
349 test -f "$dirpart/$file" && continue
350 fdir=`AS_DIRNAME(["$file"])`
351 AS_MKDIR_P([$dirpart/$fdir])
352 # echo "creating $dirpart/$file"
353 echo '# dummy' > "$dirpart/$file"
354 done
355 done
379 AS_UNSET([am_dirpart])
380 AS_UNSET([am_filepart])
381 AS_UNSET([am_mf])
382 AS_UNSET([am_rc])
383 rm -f conftest-deps.mk
384 }
356385 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
357386
358387
360389 # -----------------------------
361390 # This macro should only be invoked once -- use via AC_REQUIRE.
362391 #
363 # This code is only required when automatic dependency tracking
364 # is enabled. FIXME. This creates each `.P' file that we will
365 # need in order to bootstrap the dependency handling code.
392 # This code is only required when automatic dependency tracking is enabled.
393 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
394 # order to bootstrap the dependency handling code.
366395 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
367396 [AC_CONFIG_COMMANDS([depfiles],
368397 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
369 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
370 ])
371
372 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
373 # Free Software Foundation, Inc.
374 #
375 # This file is free software; the Free Software Foundation
376 # gives unlimited permission to copy and/or distribute it,
377 # with or without modifications, as long as this notice is preserved.
378
379 # serial 8
380
381 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
382 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
398 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
383399
384400 # Do all the work for Automake. -*- Autoconf -*-
385401
386 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
387 # 2005, 2006, 2008 Free Software Foundation, Inc.
388 #
389 # This file is free software; the Free Software Foundation
390 # gives unlimited permission to copy and/or distribute it,
391 # with or without modifications, as long as this notice is preserved.
392
393 # serial 13
402 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
403 #
404 # This file is free software; the Free Software Foundation
405 # gives unlimited permission to copy and/or distribute it,
406 # with or without modifications, as long as this notice is preserved.
394407
395408 # This macro actually does too much. Some checks are only needed if
396409 # your package does certain things. But this isn't really a big deal.
410
411 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
412 m4_define([AC_PROG_CC],
413 m4_defn([AC_PROG_CC])
414 [_AM_PROG_CC_C_O
415 ])
397416
398417 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
399418 # AM_INIT_AUTOMAKE([OPTIONS])
407426 # arguments mandatory, and then we can depend on a new Autoconf
408427 # release and drop the old call support.
409428 AC_DEFUN([AM_INIT_AUTOMAKE],
410 [AC_PREREQ([2.60])dnl
429 [AC_PREREQ([2.65])dnl
411430 dnl Autoconf wants to disallow AM_ names. We explicitly allow
412431 dnl the ones we care about.
413432 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
436455 # Define the identity of the package.
437456 dnl Distinguish between old-style and new-style calls.
438457 m4_ifval([$2],
439 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
458 [AC_DIAGNOSE([obsolete],
459 [$0: two- and three-arguments forms are deprecated.])
460 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
440461 AC_SUBST([PACKAGE], [$1])dnl
441462 AC_SUBST([VERSION], [$2])],
442463 [_AM_SET_OPTIONS([$1])dnl
443464 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
444 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
465 m4_if(
466 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
467 [ok:ok],,
445468 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
446469 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
447470 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
448471
449472 _AM_IF_OPTION([no-define],,
450 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
451 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
473 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
474 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
452475
453476 # Some tools Automake needs.
454477 AC_REQUIRE([AM_SANITY_CHECK])dnl
455478 AC_REQUIRE([AC_ARG_PROGRAM])dnl
456 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
457 AM_MISSING_PROG(AUTOCONF, autoconf)
458 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
459 AM_MISSING_PROG(AUTOHEADER, autoheader)
460 AM_MISSING_PROG(MAKEINFO, makeinfo)
461 AM_PROG_INSTALL_SH
462 AM_PROG_INSTALL_STRIP
463 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
464 # We need awk for the "check" target. The system "awk" is bad on
465 # some platforms.
479 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
480 AM_MISSING_PROG([AUTOCONF], [autoconf])
481 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
482 AM_MISSING_PROG([AUTOHEADER], [autoheader])
483 AM_MISSING_PROG([MAKEINFO], [makeinfo])
484 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
485 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
486 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
487 # For better backward compatibility. To be removed once Automake 1.9.x
488 # dies out for good. For more background, see:
489 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
490 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
491 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
492 # We need awk for the "check" target (and possibly the TAP driver). The
493 # system "awk" is bad on some platforms.
466494 AC_REQUIRE([AC_PROG_AWK])dnl
467495 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
468496 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
469497 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
470 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
471 [_AM_PROG_TAR([v7])])])
498 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
499 [_AM_PROG_TAR([v7])])])
472500 _AM_IF_OPTION([no-dependencies],,
473501 [AC_PROVIDE_IFELSE([AC_PROG_CC],
474 [_AM_DEPENDENCIES(CC)],
475 [define([AC_PROG_CC],
476 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
502 [_AM_DEPENDENCIES([CC])],
503 [m4_define([AC_PROG_CC],
504 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
477505 AC_PROVIDE_IFELSE([AC_PROG_CXX],
478 [_AM_DEPENDENCIES(CXX)],
479 [define([AC_PROG_CXX],
480 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
506 [_AM_DEPENDENCIES([CXX])],
507 [m4_define([AC_PROG_CXX],
508 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
481509 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
482 [_AM_DEPENDENCIES(OBJC)],
483 [define([AC_PROG_OBJC],
484 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
485 ])
486 ])
487
510 [_AM_DEPENDENCIES([OBJC])],
511 [m4_define([AC_PROG_OBJC],
512 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
513 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
514 [_AM_DEPENDENCIES([OBJCXX])],
515 [m4_define([AC_PROG_OBJCXX],
516 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
517 ])
518 AC_REQUIRE([AM_SILENT_RULES])dnl
519 dnl The testsuite driver may need to know about EXEEXT, so add the
520 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
521 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
522 AC_CONFIG_COMMANDS_PRE(dnl
523 [m4_provide_if([_AM_COMPILER_EXEEXT],
524 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
525
526 # POSIX will say in a future version that running "rm -f" with no argument
527 # is OK; and we want to be able to make that assumption in our Makefile
528 # recipes. So use an aggressive probe to check that the usage we want is
529 # actually supported "in the wild" to an acceptable degree.
530 # See automake bug#10828.
531 # To make any issue more visible, cause the running configure to be aborted
532 # by default if the 'rm' program in use doesn't match our expectations; the
533 # user can still override this though.
534 if rm -f && rm -fr && rm -rf; then : OK; else
535 cat >&2 <<'END'
536 Oops!
537
538 Your 'rm' program seems unable to run without file operands specified
539 on the command line, even when the '-f' option is present. This is contrary
540 to the behaviour of most rm programs out there, and not conforming with
541 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
542
543 Please tell bug-automake@gnu.org about your system, including the value
544 of your $PATH and any error possibly output before this message. This
545 can help us improve future automake versions.
546
547 END
548 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
549 echo 'Configuration will proceed anyway, since you have set the' >&2
550 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
551 echo >&2
552 else
553 cat >&2 <<'END'
554 Aborting the configuration process, to ensure you take notice of the issue.
555
556 You can download and install GNU coreutils to get an 'rm' implementation
557 that behaves properly: <https://www.gnu.org/software/coreutils/>.
558
559 If you want to complete the configuration process using your problematic
560 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
561 to "yes", and re-run configure.
562
563 END
564 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
565 fi
566 fi
567 dnl The trailing newline in this macro's definition is deliberate, for
568 dnl backward compatibility and to allow trailing 'dnl'-style comments
569 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
570 ])
571
572 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
573 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
574 dnl mangled by Autoconf and run in a shell conditional statement.
575 m4_define([_AC_COMPILER_EXEEXT],
576 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
488577
489578 # When config.status generates a header, we must update the stamp-h file.
490579 # This file resides in the same directory as the config header
507596 done
508597 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
509598
510 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
599 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
511600 #
512601 # This file is free software; the Free Software Foundation
513602 # gives unlimited permission to copy and/or distribute it,
518607 # Define $install_sh.
519608 AC_DEFUN([AM_PROG_INSTALL_SH],
520609 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
521 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
522 AC_SUBST(install_sh)])
523
524 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
525 #
526 # This file is free software; the Free Software Foundation
527 # gives unlimited permission to copy and/or distribute it,
528 # with or without modifications, as long as this notice is preserved.
529
530 # serial 2
610 if test x"${install_sh+set}" != xset; then
611 case $am_aux_dir in
612 *\ * | *\ *)
613 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
614 *)
615 install_sh="\${SHELL} $am_aux_dir/install-sh"
616 esac
617 fi
618 AC_SUBST([install_sh])])
619
620 # Copyright (C) 2003-2020 Free Software Foundation, Inc.
621 #
622 # This file is free software; the Free Software Foundation
623 # gives unlimited permission to copy and/or distribute it,
624 # with or without modifications, as long as this notice is preserved.
531625
532626 # Check whether the underlying file-system supports filenames
533627 # with a leading dot. For instance MS-DOS doesn't.
544638
545639 # Check to see how 'make' treats includes. -*- Autoconf -*-
546640
547 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
548 #
549 # This file is free software; the Free Software Foundation
550 # gives unlimited permission to copy and/or distribute it,
551 # with or without modifications, as long as this notice is preserved.
552
553 # serial 3
641 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
642 #
643 # This file is free software; the Free Software Foundation
644 # gives unlimited permission to copy and/or distribute it,
645 # with or without modifications, as long as this notice is preserved.
554646
555647 # AM_MAKE_INCLUDE()
556648 # -----------------
557 # Check to see how make treats includes.
649 # Check whether make has an 'include' directive that can support all
650 # the idioms we need for our automatic dependency tracking code.
558651 AC_DEFUN([AM_MAKE_INCLUDE],
559 [am_make=${MAKE-make}
560 cat > confinc << 'END'
652 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
653 cat > confinc.mk << 'END'
561654 am__doit:
562 @echo done
655 @echo this is the am__doit target >confinc.out
563656 .PHONY: am__doit
564657 END
565 # If we don't find an include directive, just comment out the code.
566 AC_MSG_CHECKING([for style of include used by $am_make])
567658 am__include="#"
568659 am__quote=
569 _am_result=none
570 # First try GNU make style include.
571 echo "include confinc" > confmf
572 # We grep out `Entering directory' and `Leaving directory'
573 # messages which can occur if `w' ends up in MAKEFLAGS.
574 # In particular we don't look at `^make:' because GNU make might
575 # be invoked under some other name (usually "gmake"), in which
576 # case it prints its new name instead of `make'.
577 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
578 am__include=include
579 am__quote=
580 _am_result=GNU
581 fi
582 # Now try BSD make style include.
583 if test "$am__include" = "#"; then
584 echo '.include "confinc"' > confmf
585 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
586 am__include=.include
587 am__quote="\""
588 _am_result=BSD
589 fi
590 fi
591 AC_SUBST([am__include])
592 AC_SUBST([am__quote])
593 AC_MSG_RESULT([$_am_result])
594 rm -f confinc confmf
595 ])
660 # BSD make does it like this.
661 echo '.include "confinc.mk" # ignored' > confmf.BSD
662 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
663 echo 'include confinc.mk # ignored' > confmf.GNU
664 _am_result=no
665 for s in GNU BSD; do
666 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
667 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
668 ['0:this is the am__doit target'],
669 [AS_CASE([$s],
670 [BSD], [am__include='.include' am__quote='"'],
671 [am__include='include' am__quote=''])])
672 if test "$am__include" != "#"; then
673 _am_result="yes ($s style)"
674 break
675 fi
676 done
677 rm -f confinc.* confmf.*
678 AC_MSG_RESULT([${_am_result}])
679 AC_SUBST([am__include])])
680 AC_SUBST([am__quote])])
596681
597682 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
598683
599 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
600 # Free Software Foundation, Inc.
601 #
602 # This file is free software; the Free Software Foundation
603 # gives unlimited permission to copy and/or distribute it,
604 # with or without modifications, as long as this notice is preserved.
605
606 # serial 5
684 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
685 #
686 # This file is free software; the Free Software Foundation
687 # gives unlimited permission to copy and/or distribute it,
688 # with or without modifications, as long as this notice is preserved.
607689
608690 # AM_MISSING_PROG(NAME, PROGRAM)
609691 # ------------------------------
612694 $1=${$1-"${am_missing_run}$2"}
613695 AC_SUBST($1)])
614696
615
616697 # AM_MISSING_HAS_RUN
617698 # ------------------
618 # Define MISSING if not defined so far and test if it supports --run.
619 # If it does, set am_missing_run to use it, otherwise, to nothing.
699 # Define MISSING if not defined so far and test if it is modern enough.
700 # If it is, set am_missing_run to use it, otherwise, to nothing.
620701 AC_DEFUN([AM_MISSING_HAS_RUN],
621702 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
622703 AC_REQUIRE_AUX_FILE([missing])dnl
623 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
704 if test x"${MISSING+set}" != xset; then
705 MISSING="\${SHELL} '$am_aux_dir/missing'"
706 fi
624707 # Use eval to expand $SHELL
625 if eval "$MISSING --run true"; then
626 am_missing_run="$MISSING --run "
708 if eval "$MISSING --is-lightweight"; then
709 am_missing_run="$MISSING "
627710 else
628711 am_missing_run=
629 AC_MSG_WARN([`missing' script is too old or missing])
630 fi
631 ])
632
633 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
634 #
635 # This file is free software; the Free Software Foundation
636 # gives unlimited permission to copy and/or distribute it,
637 # with or without modifications, as long as this notice is preserved.
638
639 # AM_PROG_MKDIR_P
640 # ---------------
641 # Check for `mkdir -p'.
642 AC_DEFUN([AM_PROG_MKDIR_P],
643 [AC_PREREQ([2.60])dnl
644 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
645 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
646 dnl while keeping a definition of mkdir_p for backward compatibility.
647 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
648 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
649 dnl Makefile.ins that do not define MKDIR_P, so we do our own
650 dnl adjustment using top_builddir (which is defined more often than
651 dnl MKDIR_P).
652 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
653 case $mkdir_p in
654 [[\\/$]]* | ?:[[\\/]]*) ;;
655 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
656 esac
657 ])
712 AC_MSG_WARN(['missing' script is too old or missing])
713 fi
714 ])
715
716 # -*- Autoconf -*-
717 # Obsolete and "removed" macros, that must however still report explicit
718 # error messages when used, to smooth transition.
719 #
720 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
721 #
722 # This file is free software; the Free Software Foundation
723 # gives unlimited permission to copy and/or distribute it,
724 # with or without modifications, as long as this notice is preserved.
725
726 AC_DEFUN([AM_CONFIG_HEADER],
727 [AC_DIAGNOSE([obsolete],
728 ['$0': this macro is obsolete.
729 You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
730 AC_CONFIG_HEADERS($@)])
731
732 AC_DEFUN([AM_PROG_CC_STDC],
733 [AC_PROG_CC
734 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
735 AC_DIAGNOSE([obsolete],
736 ['$0': this macro is obsolete.
737 You should simply use the 'AC][_PROG_CC' macro instead.
738 Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
739 but upon 'ac_cv_prog_cc_stdc'.])])
740
741 AC_DEFUN([AM_C_PROTOTYPES],
742 [AC_FATAL([automatic de-ANSI-fication support has been removed])])
743 AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
658744
659745 # Helper functions for option handling. -*- Autoconf -*-
660746
661 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
662 #
663 # This file is free software; the Free Software Foundation
664 # gives unlimited permission to copy and/or distribute it,
665 # with or without modifications, as long as this notice is preserved.
666
667 # serial 3
747 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
748 #
749 # This file is free software; the Free Software Foundation
750 # gives unlimited permission to copy and/or distribute it,
751 # with or without modifications, as long as this notice is preserved.
668752
669753 # _AM_MANGLE_OPTION(NAME)
670754 # -----------------------
672756 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
673757
674758 # _AM_SET_OPTION(NAME)
675 # ------------------------------
759 # --------------------
676760 # Set option NAME. Presently that only means defining a flag for this option.
677761 AC_DEFUN([_AM_SET_OPTION],
678 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
762 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
679763
680764 # _AM_SET_OPTIONS(OPTIONS)
681 # ----------------------------------
765 # ------------------------
682766 # OPTIONS is a space-separated list of Automake options.
683767 AC_DEFUN([_AM_SET_OPTIONS],
684 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
768 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
685769
686770 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
687771 # -------------------------------------------
689773 AC_DEFUN([_AM_IF_OPTION],
690774 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
691775
776 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
777 #
778 # This file is free software; the Free Software Foundation
779 # gives unlimited permission to copy and/or distribute it,
780 # with or without modifications, as long as this notice is preserved.
781
782 # _AM_PROG_CC_C_O
783 # ---------------
784 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
785 # to automatically call this.
786 AC_DEFUN([_AM_PROG_CC_C_O],
787 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
788 AC_REQUIRE_AUX_FILE([compile])dnl
789 AC_LANG_PUSH([C])dnl
790 AC_CACHE_CHECK(
791 [whether $CC understands -c and -o together],
792 [am_cv_prog_cc_c_o],
793 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
794 # Make sure it works both with $CC and with simple cc.
795 # Following AC_PROG_CC_C_O, we do the test twice because some
796 # compilers refuse to overwrite an existing .o file with -o,
797 # though they will create one.
798 am_cv_prog_cc_c_o=yes
799 for am_i in 1 2; do
800 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
801 && test -f conftest2.$ac_objext; then
802 : OK
803 else
804 am_cv_prog_cc_c_o=no
805 break
806 fi
807 done
808 rm -f core conftest*
809 unset am_i])
810 if test "$am_cv_prog_cc_c_o" != yes; then
811 # Losing compiler, so override with the script.
812 # FIXME: It is wrong to rewrite CC.
813 # But if we don't then we get into trouble of one sort or another.
814 # A longer-term fix would be to have automake use am__CC in this case,
815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
816 CC="$am_aux_dir/compile $CC"
817 fi
818 AC_LANG_POP([C])])
819
820 # For backward compatibility.
821 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
822
823 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
824 #
825 # This file is free software; the Free Software Foundation
826 # gives unlimited permission to copy and/or distribute it,
827 # with or without modifications, as long as this notice is preserved.
828
829 # AM_RUN_LOG(COMMAND)
830 # -------------------
831 # Run COMMAND, save the exit status in ac_status, and log it.
832 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
833 AC_DEFUN([AM_RUN_LOG],
834 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
835 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
836 ac_status=$?
837 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
838 (exit $ac_status); }])
839
692840 # Check to make sure that the build environment is sane. -*- Autoconf -*-
693841
694 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
695 # Free Software Foundation, Inc.
696 #
697 # This file is free software; the Free Software Foundation
698 # gives unlimited permission to copy and/or distribute it,
699 # with or without modifications, as long as this notice is preserved.
700
701 # serial 4
842 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
843 #
844 # This file is free software; the Free Software Foundation
845 # gives unlimited permission to copy and/or distribute it,
846 # with or without modifications, as long as this notice is preserved.
702847
703848 # AM_SANITY_CHECK
704849 # ---------------
705850 AC_DEFUN([AM_SANITY_CHECK],
706851 [AC_MSG_CHECKING([whether build environment is sane])
707 # Just in case
708 sleep 1
709 echo timestamp > conftest.file
710 # Do `set' in a subshell so we don't clobber the current shell's
852 # Reject unsafe characters in $srcdir or the absolute working directory
853 # name. Accept space and tab only in the latter.
854 am_lf='
855 '
856 case `pwd` in
857 *[[\\\"\#\$\&\'\`$am_lf]]*)
858 AC_MSG_ERROR([unsafe absolute working directory name]);;
859 esac
860 case $srcdir in
861 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
862 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
863 esac
864
865 # Do 'set' in a subshell so we don't clobber the current shell's
711866 # arguments. Must try -L first in case configure is actually a
712867 # symlink; some systems play weird games with the mod time of symlinks
713868 # (eg FreeBSD returns the mod time of the symlink's containing
714869 # directory).
715870 if (
716 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
717 if test "$[*]" = "X"; then
718 # -L didn't work.
719 set X `ls -t $srcdir/configure conftest.file`
720 fi
721 rm -f conftest.file
722 if test "$[*]" != "X $srcdir/configure conftest.file" \
723 && test "$[*]" != "X conftest.file $srcdir/configure"; then
724
725 # If neither matched, then we have a broken ls. This can happen
726 # if, for instance, CONFIG_SHELL is bash and it inherits a
727 # broken ls alias from the environment. This has actually
728 # happened. Such a system could not be considered "sane".
729 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
730 alias in your environment])
731 fi
732
871 am_has_slept=no
872 for am_try in 1 2; do
873 echo "timestamp, slept: $am_has_slept" > conftest.file
874 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
875 if test "$[*]" = "X"; then
876 # -L didn't work.
877 set X `ls -t "$srcdir/configure" conftest.file`
878 fi
879 if test "$[*]" != "X $srcdir/configure conftest.file" \
880 && test "$[*]" != "X conftest.file $srcdir/configure"; then
881
882 # If neither matched, then we have a broken ls. This can happen
883 # if, for instance, CONFIG_SHELL is bash and it inherits a
884 # broken ls alias from the environment. This has actually
885 # happened. Such a system could not be considered "sane".
886 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
887 alias in your environment])
888 fi
889 if test "$[2]" = conftest.file || test $am_try -eq 2; then
890 break
891 fi
892 # Just in case.
893 sleep 1
894 am_has_slept=yes
895 done
733896 test "$[2]" = conftest.file
734897 )
735898 then
739902 AC_MSG_ERROR([newly created file is older than distributed files!
740903 Check your system clock])
741904 fi
742 AC_MSG_RESULT(yes)])
743
744 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
905 AC_MSG_RESULT([yes])
906 # If we didn't sleep, we still need to ensure time stamps of config.status and
907 # generated files are strictly newer.
908 am_sleep_pid=
909 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
910 ( sleep 1 ) &
911 am_sleep_pid=$!
912 fi
913 AC_CONFIG_COMMANDS_PRE(
914 [AC_MSG_CHECKING([that generated files are newer than configure])
915 if test -n "$am_sleep_pid"; then
916 # Hide warnings about reused PIDs.
917 wait $am_sleep_pid 2>/dev/null
918 fi
919 AC_MSG_RESULT([done])])
920 rm -f conftest.file
921 ])
922
923 # Copyright (C) 2009-2020 Free Software Foundation, Inc.
924 #
925 # This file is free software; the Free Software Foundation
926 # gives unlimited permission to copy and/or distribute it,
927 # with or without modifications, as long as this notice is preserved.
928
929 # AM_SILENT_RULES([DEFAULT])
930 # --------------------------
931 # Enable less verbose build rules; with the default set to DEFAULT
932 # ("yes" being less verbose, "no" or empty being verbose).
933 AC_DEFUN([AM_SILENT_RULES],
934 [AC_ARG_ENABLE([silent-rules], [dnl
935 AS_HELP_STRING(
936 [--enable-silent-rules],
937 [less verbose build output (undo: "make V=1")])
938 AS_HELP_STRING(
939 [--disable-silent-rules],
940 [verbose build output (undo: "make V=0")])dnl
941 ])
942 case $enable_silent_rules in @%:@ (((
943 yes) AM_DEFAULT_VERBOSITY=0;;
944 no) AM_DEFAULT_VERBOSITY=1;;
945 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
946 esac
947 dnl
948 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
949 dnl do not support nested variable expansions.
950 dnl See automake bug#9928 and bug#10237.
951 am_make=${MAKE-make}
952 AC_CACHE_CHECK([whether $am_make supports nested variables],
953 [am_cv_make_support_nested_variables],
954 [if AS_ECHO([['TRUE=$(BAR$(V))
955 BAR0=false
956 BAR1=true
957 V=1
958 am__doit:
959 @$(TRUE)
960 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
961 am_cv_make_support_nested_variables=yes
962 else
963 am_cv_make_support_nested_variables=no
964 fi])
965 if test $am_cv_make_support_nested_variables = yes; then
966 dnl Using '$V' instead of '$(V)' breaks IRIX make.
967 AM_V='$(V)'
968 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
969 else
970 AM_V=$AM_DEFAULT_VERBOSITY
971 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
972 fi
973 AC_SUBST([AM_V])dnl
974 AM_SUBST_NOTMAKE([AM_V])dnl
975 AC_SUBST([AM_DEFAULT_V])dnl
976 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
977 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
978 AM_BACKSLASH='\'
979 AC_SUBST([AM_BACKSLASH])dnl
980 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
981 ])
982
983 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
745984 #
746985 # This file is free software; the Free Software Foundation
747986 # gives unlimited permission to copy and/or distribute it,
749988
750989 # AM_PROG_INSTALL_STRIP
751990 # ---------------------
752 # One issue with vendor `install' (even GNU) is that you can't
991 # One issue with vendor 'install' (even GNU) is that you can't
753992 # specify the program used to strip binaries. This is especially
754993 # annoying in cross-compiling environments, where the build's strip
755994 # is unlikely to handle the host's binaries.
756995 # Fortunately install-sh will honor a STRIPPROG variable, so we
757 # always use install-sh in `make install-strip', and initialize
996 # always use install-sh in "make install-strip", and initialize
758997 # STRIPPROG with the value of the STRIP variable (set by the user).
759998 AC_DEFUN([AM_PROG_INSTALL_STRIP],
760999 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
761 # Installed binaries are usually stripped using `strip' when the user
762 # run `make install-strip'. However `strip' might not be the right
1000 # Installed binaries are usually stripped using 'strip' when the user
1001 # run "make install-strip". However 'strip' might not be the right
7631002 # tool to use in cross-compilation environments, therefore Automake
764 # will honor the `STRIP' environment variable to overrule this program.
765 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1003 # will honor the 'STRIP' environment variable to overrule this program.
1004 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
7661005 if test "$cross_compiling" != no; then
7671006 AC_CHECK_TOOL([STRIP], [strip], :)
7681007 fi
7691008 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7701009 AC_SUBST([INSTALL_STRIP_PROGRAM])])
7711010
772 # Copyright (C) 2006 Free Software Foundation, Inc.
1011 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
7731012 #
7741013 # This file is free software; the Free Software Foundation
7751014 # gives unlimited permission to copy and/or distribute it,
7811020 # This macro is traced by Automake.
7821021 AC_DEFUN([_AM_SUBST_NOTMAKE])
7831022
1023 # AM_SUBST_NOTMAKE(VARIABLE)
1024 # --------------------------
1025 # Public sister of _AM_SUBST_NOTMAKE.
1026 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1027
7841028 # Check how to create a tarball. -*- Autoconf -*-
7851029
786 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
787 #
788 # This file is free software; the Free Software Foundation
789 # gives unlimited permission to copy and/or distribute it,
790 # with or without modifications, as long as this notice is preserved.
791
792 # serial 2
1030 # Copyright (C) 2004-2020 Free Software Foundation, Inc.
1031 #
1032 # This file is free software; the Free Software Foundation
1033 # gives unlimited permission to copy and/or distribute it,
1034 # with or without modifications, as long as this notice is preserved.
7931035
7941036 # _AM_PROG_TAR(FORMAT)
7951037 # --------------------
7961038 # Check how to create a tarball in format FORMAT.
797 # FORMAT should be one of `v7', `ustar', or `pax'.
1039 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
7981040 #
7991041 # Substitute a variable $(am__tar) that is a command
8001042 # writing to stdout a FORMAT-tarball containing the directory
8041046 # Substitute a variable $(am__untar) that extract such
8051047 # a tarball read from stdin.
8061048 # $(am__untar) < result.tar
1049 #
8071050 AC_DEFUN([_AM_PROG_TAR],
808 [# Always define AMTAR for backward compatibility.
809 AM_MISSING_PROG([AMTAR], [tar])
1051 [# Always define AMTAR for backward compatibility. Yes, it's still used
1052 # in the wild :-( We should find a proper way to deprecate it ...
1053 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1054
1055 # We'll loop over all known methods to create a tar archive until one works.
1056 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1057
8101058 m4_if([$1], [v7],
811 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
812 [m4_case([$1], [ustar],, [pax],,
813 [m4_fatal([Unknown tar format])])
814 AC_MSG_CHECKING([how to create a $1 tar archive])
815 # Loop over all known methods to create a tar archive until one works.
816 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
817 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
818 # Do not fold the above two line into one, because Tru64 sh and
819 # Solaris sh will not grok spaces in the rhs of `-'.
820 for _am_tool in $_am_tools
821 do
822 case $_am_tool in
823 gnutar)
824 for _am_tar in tar gnutar gtar;
825 do
826 AM_RUN_LOG([$_am_tar --version]) && break
827 done
828 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
829 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
830 am__untar="$_am_tar -xf -"
831 ;;
832 plaintar)
833 # Must skip GNU tar: if it does not support --format= it doesn't create
834 # ustar tarball either.
835 (tar --version) >/dev/null 2>&1 && continue
836 am__tar='tar chf - "$$tardir"'
837 am__tar_='tar chf - "$tardir"'
838 am__untar='tar xf -'
839 ;;
840 pax)
841 am__tar='pax -L -x $1 -w "$$tardir"'
842 am__tar_='pax -L -x $1 -w "$tardir"'
843 am__untar='pax -r'
844 ;;
845 cpio)
846 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
847 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
848 am__untar='cpio -i -H $1 -d'
849 ;;
850 none)
851 am__tar=false
852 am__tar_=false
853 am__untar=false
854 ;;
855 esac
856
857 # If the value was cached, stop now. We just wanted to have am__tar
858 # and am__untar set.
859 test -n "${am_cv_prog_tar_$1}" && break
860
861 # tar/untar a dummy directory, and stop if the command works
1059 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1060
1061 [m4_case([$1],
1062 [ustar],
1063 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1064 # There is notably a 21 bits limit for the UID and the GID. In fact,
1065 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1066 # and bug#13588).
1067 am_max_uid=2097151 # 2^21 - 1
1068 am_max_gid=$am_max_uid
1069 # The $UID and $GID variables are not portable, so we need to resort
1070 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1071 # below are definitely unexpected, so allow the users to see them
1072 # (that is, avoid stderr redirection).
1073 am_uid=`id -u || echo unknown`
1074 am_gid=`id -g || echo unknown`
1075 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1076 if test $am_uid -le $am_max_uid; then
1077 AC_MSG_RESULT([yes])
1078 else
1079 AC_MSG_RESULT([no])
1080 _am_tools=none
1081 fi
1082 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1083 if test $am_gid -le $am_max_gid; then
1084 AC_MSG_RESULT([yes])
1085 else
1086 AC_MSG_RESULT([no])
1087 _am_tools=none
1088 fi],
1089
1090 [pax],
1091 [],
1092
1093 [m4_fatal([Unknown tar format])])
1094
1095 AC_MSG_CHECKING([how to create a $1 tar archive])
1096
1097 # Go ahead even if we have the value already cached. We do so because we
1098 # need to set the values for the 'am__tar' and 'am__untar' variables.
1099 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1100
1101 for _am_tool in $_am_tools; do
1102 case $_am_tool in
1103 gnutar)
1104 for _am_tar in tar gnutar gtar; do
1105 AM_RUN_LOG([$_am_tar --version]) && break
1106 done
1107 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1108 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1109 am__untar="$_am_tar -xf -"
1110 ;;
1111 plaintar)
1112 # Must skip GNU tar: if it does not support --format= it doesn't create
1113 # ustar tarball either.
1114 (tar --version) >/dev/null 2>&1 && continue
1115 am__tar='tar chf - "$$tardir"'
1116 am__tar_='tar chf - "$tardir"'
1117 am__untar='tar xf -'
1118 ;;
1119 pax)
1120 am__tar='pax -L -x $1 -w "$$tardir"'
1121 am__tar_='pax -L -x $1 -w "$tardir"'
1122 am__untar='pax -r'
1123 ;;
1124 cpio)
1125 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1126 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1127 am__untar='cpio -i -H $1 -d'
1128 ;;
1129 none)
1130 am__tar=false
1131 am__tar_=false
1132 am__untar=false
1133 ;;
1134 esac
1135
1136 # If the value was cached, stop now. We just wanted to have am__tar
1137 # and am__untar set.
1138 test -n "${am_cv_prog_tar_$1}" && break
1139
1140 # tar/untar a dummy directory, and stop if the command works.
1141 rm -rf conftest.dir
1142 mkdir conftest.dir
1143 echo GrepMe > conftest.dir/file
1144 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1145 rm -rf conftest.dir
1146 if test -s conftest.tar; then
1147 AM_RUN_LOG([$am__untar <conftest.tar])
1148 AM_RUN_LOG([cat conftest.dir/file])
1149 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1150 fi
1151 done
8621152 rm -rf conftest.dir
863 mkdir conftest.dir
864 echo GrepMe > conftest.dir/file
865 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
866 rm -rf conftest.dir
867 if test -s conftest.tar; then
868 AM_RUN_LOG([$am__untar <conftest.tar])
869 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
870 fi
871 done
872 rm -rf conftest.dir
873
874 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
875 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1153
1154 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1155 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1156
8761157 AC_SUBST([am__tar])
8771158 AC_SUBST([am__untar])
8781159 ]) # _AM_PROG_TAR
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2020 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, see <https://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # This file is maintained in Automake, please report
27 # bugs to <bug-automake@gnu.org> or send patches to
28 # <automake-patches@gnu.org>.
29
30 nl='
31 '
32
33 # We need space, tab and new line, in precisely that order. Quoting is
34 # there to prevent tools from complaining about whitespace usage.
35 IFS=" "" $nl"
36
37 file_conv=
38
39 # func_file_conv build_file lazy
40 # Convert a $build file to $host form and store it in $file
41 # Currently only supports Windows hosts. If the determined conversion
42 # type is listed in (the comma separated) LAZY, no conversion will
43 # take place.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN* | MSYS*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv/,$2, in
64 *,$file_conv,*)
65 ;;
66 mingw/*)
67 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
68 ;;
69 cygwin/* | msys/*)
70 file=`cygpath -m "$file" || echo "$file"`
71 ;;
72 wine/*)
73 file=`winepath -w "$file" || echo "$file"`
74 ;;
75 esac
76 ;;
77 esac
78 }
79
80 # func_cl_dashL linkdir
81 # Make cl look for libraries in LINKDIR
82 func_cl_dashL ()
83 {
84 func_file_conv "$1"
85 if test -z "$lib_path"; then
86 lib_path=$file
87 else
88 lib_path="$lib_path;$file"
89 fi
90 linker_opts="$linker_opts -LIBPATH:$file"
91 }
92
93 # func_cl_dashl library
94 # Do a library search-path lookup for cl
95 func_cl_dashl ()
96 {
97 lib=$1
98 found=no
99 save_IFS=$IFS
100 IFS=';'
101 for dir in $lib_path $LIB
102 do
103 IFS=$save_IFS
104 if $shared && test -f "$dir/$lib.dll.lib"; then
105 found=yes
106 lib=$dir/$lib.dll.lib
107 break
108 fi
109 if test -f "$dir/$lib.lib"; then
110 found=yes
111 lib=$dir/$lib.lib
112 break
113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
119 done
120 IFS=$save_IFS
121
122 if test "$found" != yes; then
123 lib=$lib.lib
124 fi
125 }
126
127 # func_cl_wrapper cl arg...
128 # Adjust compile command to suit cl
129 func_cl_wrapper ()
130 {
131 # Assume a capable shell
132 lib_path=
133 shared=:
134 linker_opts=
135 for arg
136 do
137 if test -n "$eat"; then
138 eat=
139 else
140 case $1 in
141 -o)
142 # configure might choose to run compile as 'compile cc -o foo foo.c'.
143 eat=1
144 case $2 in
145 *.o | *.[oO][bB][jJ])
146 func_file_conv "$2"
147 set x "$@" -Fo"$file"
148 shift
149 ;;
150 *)
151 func_file_conv "$2"
152 set x "$@" -Fe"$file"
153 shift
154 ;;
155 esac
156 ;;
157 -I)
158 eat=1
159 func_file_conv "$2" mingw
160 set x "$@" -I"$file"
161 shift
162 ;;
163 -I*)
164 func_file_conv "${1#-I}" mingw
165 set x "$@" -I"$file"
166 shift
167 ;;
168 -l)
169 eat=1
170 func_cl_dashl "$2"
171 set x "$@" "$lib"
172 shift
173 ;;
174 -l*)
175 func_cl_dashl "${1#-l}"
176 set x "$@" "$lib"
177 shift
178 ;;
179 -L)
180 eat=1
181 func_cl_dashL "$2"
182 ;;
183 -L*)
184 func_cl_dashL "${1#-L}"
185 ;;
186 -static)
187 shared=false
188 ;;
189 -Wl,*)
190 arg=${1#-Wl,}
191 save_ifs="$IFS"; IFS=','
192 for flag in $arg; do
193 IFS="$save_ifs"
194 linker_opts="$linker_opts $flag"
195 done
196 IFS="$save_ifs"
197 ;;
198 -Xlinker)
199 eat=1
200 linker_opts="$linker_opts $2"
201 ;;
202 -*)
203 set x "$@" "$1"
204 shift
205 ;;
206 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
207 func_file_conv "$1"
208 set x "$@" -Tp"$file"
209 shift
210 ;;
211 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
212 func_file_conv "$1" mingw
213 set x "$@" "$file"
214 shift
215 ;;
216 *)
217 set x "$@" "$1"
218 shift
219 ;;
220 esac
221 fi
222 shift
223 done
224 if test -n "$linker_opts"; then
225 linker_opts="-link$linker_opts"
226 fi
227 exec "$@" $linker_opts
228 exit 1
229 }
230
231 eat=
232
233 case $1 in
234 '')
235 echo "$0: No command. Try '$0 --help' for more information." 1>&2
236 exit 1;
237 ;;
238 -h | --h*)
239 cat <<\EOF
240 Usage: compile [--help] [--version] PROGRAM [ARGS]
241
242 Wrapper for compilers which do not understand '-c -o'.
243 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
244 arguments, and rename the output as expected.
245
246 If you are trying to build a whole package this is not the
247 right script to run: please start by reading the file 'INSTALL'.
248
249 Report bugs to <bug-automake@gnu.org>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261 esac
262
263 ofile=
264 cfile=
265
266 for arg
267 do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298 done
299
300 if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307 fi
308
309 # Name of file we expect compiler to create.
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312 # Create the lock directory.
313 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
314 # that we are using for the .o file. Also, base the name on the expected
315 # object file name, since that is what matters with a parallel build.
316 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317 while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322 done
323 # FIXME: race condition here if user kills between mkdir and trap.
324 trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326 # Run the compile.
327 "$@"
328 ret=$?
329
330 if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332 elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334 fi
335
336 rmdir "$lockdir"
337 exit $ret
338
339 # Local Variables:
340 # mode: shell-script
341 # sh-indentation: 2
342 # eval: (add-hook 'before-save-hook 'time-stamp)
343 # time-stamp-start: "scriptversion="
344 # time-stamp-format: "%:y-%02m-%02d.%02H"
345 # time-stamp-time-zone: "UTC0"
346 # time-stamp-end: "; # UTC"
347 # End:
110110 /* Define to the one symbol short name of this package. */
111111 #undef PACKAGE_TARNAME
112112
113 /* Define to the home page for this package. */
114 #undef PACKAGE_URL
115
113116 /* Define to the version of this package. */
114117 #undef PACKAGE_VERSION
115118
+3462
-4844
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61 for gom 0.30.2.
2 # Generated by GNU Autoconf 2.69 for gom 0.30.3.
33 #
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 #
7 #
68 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
1113
1214 # Be more Bourne compatible
1315 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1517 emulate sh
1618 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1820 # is contrary to our usage. Disable this feature.
1921 alias -g '${1+"$@"}'='"$@"'
2022 setopt NO_GLOB_SUBST
2123 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
2429 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
3870
3971 # The user is always right.
4072 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
5778 fi
5879
5980
6283 # there to prevent editors from complaining about space-tab.
6384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6485 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6786 IFS=" "" $as_nl"
6887
6988 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
89 as_myself=
90 case $0 in #((
7191 *[\\/]* ) as_myself=$0 ;;
7292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7494 do
7595 IFS=$as_save_IFS
7696 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
7999 IFS=$as_save_IFS
80100
81101 ;;
86106 as_myself=$0
87107 fi
88108 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
96120 done
97121 PS1='$ '
98122 PS2='> '
99123 PS4='+ '
100124
101125 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in # ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in #(
169 *posix*) :
170 set -o posix ;; #(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
106210 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
109265 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
111270 fi
112 done
113
114 # Required to use basename.
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
115418 if expr a : '\(a\)' >/dev/null 2>&1 &&
116419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117420 as_expr=expr
125428 as_basename=false
126429 fi
127430
128
129 # Name of the executable.
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
130437 as_me=`$as_basename -- "$0" ||
131438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132439 X"$0" : 'X\(//\)$' \| \
133440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
441 $as_echo X/"$0" |
135442 sed '/^.*\/\([^/][^/]*\)\/*$/{
136443 s//\1/
137444 q
146453 }
147454 s/.*/./; q'`
148455
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$as_shell" 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
327 as_lineno_1=$LINENO
328 as_lineno_2=$LINENO
329 test "x$as_lineno_1" != "x$as_lineno_2" &&
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
426
427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 # uniformly replaced by the line number. The first 'sed' inserts a
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437469 sed -n '
438470 p
439471 /[$]LINENO/=
450482 s/-\n.*//
451483 ' >$as_me.lineno &&
452484 chmod +x "$as_me.lineno" ||
453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
454 { (exit 1); exit 1; }; }
455
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
456491 # Don't try to exec as it changes $[0], causing all sort of problems
457492 # (the dirname of $[0] is not the place where we might find the
458493 # original and so on. Autoconf is especially sensitive to this).
461496 exit
462497 }
463498
464
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471499 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
500 case `echo -n x` in #(((((
473501 -n*)
474 case `echo 'x\c'` in
502 case `echo 'xy\c'` in
475503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
477507 esac;;
478508 *)
479509 ECHO_N='-n';;
480510 esac
481511
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 as_expr=expr
485 else
486 as_expr=false
487 fi
488
489512 rm -f conf$$ conf$$.exe conf$$.file
490513 if test -d conf$$.dir; then
491514 rm -f conf$$.dir/conf$$.file
492515 else
493516 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
496 echo >conf$$.file
497 if ln -s conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
504 as_ln_s='cp -p'
505 elif ln conf$$.file conf$$ 2>/dev/null; then
506 as_ln_s=ln
507 else
508 as_ln_s='cp -p'
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
509535 fi
510536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511537 rmdir conf$$.dir 2>/dev/null
512538
513539 if mkdir -p . 2>/dev/null; then
514 as_mkdir_p=:
540 as_mkdir_p='mkdir -p "$as_dir"'
515541 else
516542 test -d ./-p && rmdir ./-p
517543 as_mkdir_p=false
518544 fi
519545
520 if test -x / >/dev/null 2>&1; then
521 as_test_x='test -x'
522 else
523 if ls -dL / >/dev/null 2>&1; then
524 as_ls_L_option=L
525 else
526 as_ls_L_option=
527 fi
528 as_test_x='
529 eval sh -c '\''
530 if test -d "$1"; then
531 test -d "$1/.";
532 else
533 case $1 in
534 -*)set "./$1";;
535 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
537 ???[sx]*):;;*)false;;esac;fi
538 '\'' sh
539 '
540 fi
541 as_executable_p=$as_test_x
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
542548
543549 # Sed expression to map a string onto a valid CPP name.
544550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548554
549555
550
551 exec 7<&0 </dev/null 6>&1
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
552558
553559 # Name of the host.
554 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555561 # so uname gets run too.
556562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557563
566572 subdirs=
567573 MFLAGS=
568574 MAKEFLAGS=
569 SHELL=${CONFIG_SHELL-/bin/sh}
570575
571576 # Identity of this package.
572577 PACKAGE_NAME='gom'
573578 PACKAGE_TARNAME='gom'
574 PACKAGE_VERSION='0.30.2'
575 PACKAGE_STRING='gom 0.30.2'
579 PACKAGE_VERSION='0.30.3'
580 PACKAGE_STRING='gom 0.30.3'
576581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
577583
578584 ac_unique_file="src/gom.c"
579585 # Factoring default headers for most tests.
612618 # include <unistd.h>
613619 #endif"
614620
615 ac_subst_vars='SHELL
621 ac_subst_vars='am__EXEEXT_FALSE
622 am__EXEEXT_TRUE
623 LTLIBOBJS
624 LIBOBJS
625 GOM_SOUND_DRIVER_ID
626 GOM_CPPFLAGS
627 GOM_CFLAGS
628 EGREP
629 GREP
630 X_EXTRA_LIBS
631 X_LIBS
632 X_PRE_LIBS
633 X_CFLAGS
634 CPP
635 XMKMF
636 LN_S
637 am__fastdepCC_FALSE
638 am__fastdepCC_TRUE
639 CCDEPMODE
640 am__nodep
641 AMDEPBACKSLASH
642 AMDEP_FALSE
643 AMDEP_TRUE
644 am__include
645 DEPDIR
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
652 CC
653 GOM_COPYRIGHT
654 GOM_TITLE
655 DATE_CURRENT
656 DATE
657 AM_BACKSLASH
658 AM_DEFAULT_VERBOSITY
659 AM_DEFAULT_V
660 AM_V
661 am__untar
662 am__tar
663 AMTAR
664 am__leading_dot
665 SET_MAKE
666 AWK
667 mkdir_p
668 MKDIR_P
669 INSTALL_STRIP_PROGRAM
670 STRIP
671 install_sh
672 MAKEINFO
673 AUTOHEADER
674 AUTOMAKE
675 AUTOCONF
676 ACLOCAL
677 VERSION
678 PACKAGE
679 CYGPATH_W
680 am__isrc
681 INSTALL_DATA
682 INSTALL_SCRIPT
683 INSTALL_PROGRAM
684 target_alias
685 host_alias
686 build_alias
687 LIBS
688 ECHO_T
689 ECHO_N
690 ECHO_C
691 DEFS
692 mandir
693 localedir
694 libdir
695 psdir
696 pdfdir
697 dvidir
698 htmldir
699 infodir
700 docdir
701 oldincludedir
702 includedir
703 runstatedir
704 localstatedir
705 sharedstatedir
706 sysconfdir
707 datadir
708 datarootdir
709 libexecdir
710 sbindir
711 bindir
712 program_transform_name
713 prefix
714 exec_prefix
715 PACKAGE_URL
716 PACKAGE_BUGREPORT
717 PACKAGE_STRING
718 PACKAGE_VERSION
719 PACKAGE_TARNAME
720 PACKAGE_NAME
616721 PATH_SEPARATOR
617 PACKAGE_NAME
618 PACKAGE_TARNAME
619 PACKAGE_VERSION
620 PACKAGE_STRING
621 PACKAGE_BUGREPORT
622 exec_prefix
623 prefix
624 program_transform_name
625 bindir
626 sbindir
627 libexecdir
628 datarootdir
629 datadir
630 sysconfdir
631 sharedstatedir
632 localstatedir
633 includedir
634 oldincludedir
635 docdir
636 infodir
637 htmldir
638 dvidir
639 pdfdir
640 psdir
641 libdir
642 localedir
643 mandir
644 DEFS
645 ECHO_C
646 ECHO_N
647 ECHO_T
648 LIBS
649 build_alias
650 host_alias
651 target_alias
652 INSTALL_PROGRAM
653 INSTALL_SCRIPT
654 INSTALL_DATA
655 am__isrc
656 CYGPATH_W
657 PACKAGE
658 VERSION
659 ACLOCAL
660 AUTOCONF
661 AUTOMAKE
662 AUTOHEADER
663 MAKEINFO
664 install_sh
665 STRIP
666 INSTALL_STRIP_PROGRAM
667 mkdir_p
668 AWK
669 SET_MAKE
670 am__leading_dot
671 AMTAR
672 am__tar
673 am__untar
674 DATE
675 DATE_CURRENT
676 GOM_TITLE
677 GOM_COPYRIGHT
678 CC
679 CFLAGS
680 LDFLAGS
681 CPPFLAGS
682 ac_ct_CC
683 EXEEXT
684 OBJEXT
685 DEPDIR
686 am__include
687 am__quote
688 AMDEP_TRUE
689 AMDEP_FALSE
690 AMDEPBACKSLASH
691 CCDEPMODE
692 am__fastdepCC_TRUE
693 am__fastdepCC_FALSE
694 LN_S
695 XMKMF
696 CPP
697 X_CFLAGS
698 X_PRE_LIBS
699 X_LIBS
700 X_EXTRA_LIBS
701 GREP
702 EGREP
703 GOM_CFLAGS
704 GOM_CPPFLAGS
705 GOM_SOUND_DRIVER_ID
706 LIBOBJS
707 LTLIBOBJS'
722 SHELL
723 am__quote'
708724 ac_subst_files=''
725 ac_user_opts='
726 enable_option_checking
727 enable_silent_rules
728 enable_dependency_tracking
729 enable_x_gomii
730 with_x
731 '
709732 ac_precious_vars='build_alias
710733 host_alias
711734 target_alias
721744 # Initialize some variables set by options.
722745 ac_init_help=
723746 ac_init_version=false
747 ac_unrecognized_opts=
748 ac_unrecognized_sep=
724749 # The variables have the same names as the options, with
725750 # dashes changed to underlines.
726751 cache_file=/dev/null
752777 sysconfdir='${prefix}/etc'
753778 sharedstatedir='${prefix}/com'
754779 localstatedir='${prefix}/var'
780 runstatedir='${localstatedir}/run'
755781 includedir='${prefix}/include'
756782 oldincludedir='/usr/include'
757783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776802 fi
777803
778804 case $ac_option in
779 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 *) ac_optarg=yes ;;
805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 *=) ac_optarg= ;;
807 *) ac_optarg=yes ;;
781808 esac
782809
783810 # Accept the important Cygnus configure options, so we can diagnose typos.
819846 datarootdir=$ac_optarg ;;
820847
821848 -disable-* | --disable-*)
822 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823850 # Reject names that are not valid shell variable names.
824 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
825 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
826 { (exit 1); exit 1; }; }
827 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
828 eval enable_$ac_feature=no ;;
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
856 *"
857 "enable_$ac_useropt"
858 "*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=no ;;
829863
830864 -docdir | --docdir | --docdi | --doc | --do)
831865 ac_prev=docdir ;;
838872 dvidir=$ac_optarg ;;
839873
840874 -enable-* | --enable-*)
841 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842876 # Reject names that are not valid shell variable names.
843 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
844 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
845 { (exit 1); exit 1; }; }
846 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
847 eval enable_$ac_feature=\$ac_optarg ;;
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
882 *"
883 "enable_$ac_useropt"
884 "*) ;;
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
887 esac
888 eval enable_$ac_useropt=\$ac_optarg ;;
848889
849890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
850891 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9891030 | -silent | --silent | --silen | --sile | --sil)
9901031 silent=yes ;;
9911032
1033 -runstatedir | --runstatedir | --runstatedi | --runstated \
1034 | --runstate | --runstat | --runsta | --runst | --runs \
1035 | --run | --ru | --r)
1036 ac_prev=runstatedir ;;
1037 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1038 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1039 | --run=* | --ru=* | --r=*)
1040 runstatedir=$ac_optarg ;;
1041
9921042 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9931043 ac_prev=sbindir ;;
9941044 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10351085 ac_init_version=: ;;
10361086
10371087 -with-* | --with-*)
1038 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10391089 # Reject names that are not valid shell variable names.
1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 { echo "$as_me: error: invalid package name: $ac_package" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1044 eval with_$ac_package=\$ac_optarg ;;
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error $? "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=\$ac_optarg ;;
10451102
10461103 -without-* | --without-*)
1047 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10481105 # Reject names that are not valid shell variable names.
1049 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050 { echo "$as_me: error: invalid package name: $ac_package" >&2
1051 { (exit 1); exit 1; }; }
1052 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1053 eval with_$ac_package=no ;;
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error $? "invalid package name: $ac_useropt"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1111 *"
1112 "with_$ac_useropt"
1113 "*) ;;
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1116 esac
1117 eval with_$ac_useropt=no ;;
10541118
10551119 --x)
10561120 # Obsolete; use --with-x.
10701134 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10711135 x_libraries=$ac_optarg ;;
10721136
1073 -*) { echo "$as_me: error: unrecognized option: $ac_option
1074 Try \`$0 --help' for more information." >&2
1075 { (exit 1); exit 1; }; }
1137 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1138 Try \`$0 --help' for more information"
10761139 ;;
10771140
10781141 *=*)
10791142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10801143 # Reject names that are not valid shell variable names.
1081 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1082 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1083 { (exit 1); exit 1; }; }
1144 case $ac_envvar in #(
1145 '' | [0-9]* | *[!_$as_cr_alnum]* )
1146 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1147 esac
10841148 eval $ac_envvar=\$ac_optarg
10851149 export $ac_envvar ;;
10861150
10871151 *)
10881152 # FIXME: should be removed in autoconf 3.0.
1089 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10901154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10931157 ;;
10941158
10951159 esac
10971161
10981162 if test -n "$ac_prev"; then
10991163 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 { echo "$as_me: error: missing argument to $ac_option" >&2
1101 { (exit 1); exit 1; }; }
1102 fi
1103
1104 # Be sure to have absolute directory names.
1164 as_fn_error $? "missing argument to $ac_option"
1165 fi
1166
1167 if test -n "$ac_unrecognized_opts"; then
1168 case $enable_option_checking in
1169 no) ;;
1170 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 esac
1173 fi
1174
1175 # Check all directory arguments for consistency.
11051176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11061177 datadir sysconfdir sharedstatedir localstatedir includedir \
11071178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir
1179 libdir localedir mandir runstatedir
11091180 do
11101181 eval ac_val=\$$ac_var
1182 # Remove trailing slashes.
1183 case $ac_val in
1184 */ )
1185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1186 eval $ac_var=\$ac_val;;
1187 esac
1188 # Be sure to have absolute directory names.
11111189 case $ac_val in
11121190 [\\/$]* | ?:[\\/]* ) continue;;
11131191 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11141192 esac
1115 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1116 { (exit 1); exit 1; }; }
1193 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11171194 done
11181195
11191196 # There might be people who depend on the old broken behavior: `$host'
11271204 if test "x$host_alias" != x; then
11281205 if test "x$build_alias" = x; then
11291206 cross_compiling=maybe
1130 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1131 If a cross compiler is detected then cross compile mode will be used." >&2
11321207 elif test "x$build_alias" != "x$host_alias"; then
11331208 cross_compiling=yes
11341209 fi
11431218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11441219 ac_ls_di=`ls -di .` &&
11451220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1146 { echo "$as_me: error: Working directory cannot be determined" >&2
1147 { (exit 1); exit 1; }; }
1221 as_fn_error $? "working directory cannot be determined"
11481222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 { echo "$as_me: error: pwd does not report name of working directory" >&2
1150 { (exit 1); exit 1; }; }
1223 as_fn_error $? "pwd does not report name of working directory"
11511224
11521225
11531226 # Find the source files, if location was not specified.
11541227 if test -z "$srcdir"; then
11551228 ac_srcdir_defaulted=yes
11561229 # Try the directory containing this script, then the parent directory.
1157 ac_confdir=`$as_dirname -- "$0" ||
1158 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$0" : 'X\(//\)[^/]' \| \
1160 X"$0" : 'X\(//\)$' \| \
1161 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1162 echo X"$0" |
1230 ac_confdir=`$as_dirname -- "$as_myself" ||
1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$as_myself" : 'X\(//\)[^/]' \| \
1233 X"$as_myself" : 'X\(//\)$' \| \
1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$as_myself" |
11631236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11641237 s//\1/
11651238 q
11861259 fi
11871260 if test ! -r "$srcdir/$ac_unique_file"; then
11881261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1190 { (exit 1); exit 1; }; }
1262 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11911263 fi
11921264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11931265 ac_abs_confdir=`(
1194 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1195 { (exit 1); exit 1; }; }
1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
11961267 pwd)`
11971268 # When building in place, set srcdir=.
11981269 if test "$ac_abs_confdir" = "$ac_pwd"; then
12181289 # Omit some internal or obsolete options to make the list less imposing.
12191290 # This message is too long to be a string in the A/UX 3.1 sh.
12201291 cat <<_ACEOF
1221 \`configure' configures gom 0.30.2 to adapt to many kinds of systems.
1292 \`configure' configures gom 0.30.3 to adapt to many kinds of systems.
12221293
12231294 Usage: $0 [OPTION]... [VAR=VALUE]...
12241295
12321303 --help=short display options specific to this package
12331304 --help=recursive display the short help of all the included packages
12341305 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking...' messages
1306 -q, --quiet, --silent do not print \`checking ...' messages
12361307 --cache-file=FILE cache test results in FILE [disabled]
12371308 -C, --config-cache alias for \`--cache-file=config.cache'
12381309 -n, --no-create do not create output files
12401311
12411312 Installation directories:
12421313 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1314 [$ac_default_prefix]
12441315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 [PREFIX]
1316 [PREFIX]
12461317
12471318 By default, \`make install' will install all the files in
12481319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12521323 For better control, use the options below.
12531324
12541325 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/gom]
1270 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR]
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/gom]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
12741346 _ACEOF
12751347
12761348 cat <<\_ACEOF
12881360
12891361 if test -n "$ac_init_help"; then
12901362 case $ac_init_help in
1291 short | recursive ) echo "Configuration of gom 0.30.2:";;
1363 short | recursive ) echo "Configuration of gom 0.30.3:";;
12921364 esac
12931365 cat <<\_ACEOF
12941366
12951367 Optional Features:
1368 --disable-option-checking ignore unrecognized --enable/--with options
12961369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
12971370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1298 --disable-dependency-tracking speeds up one-time build
1299 --enable-dependency-tracking do not reject slow dependency extractors
1371 --enable-silent-rules less verbose build output (undo: "make V=1")
1372 --disable-silent-rules verbose build output (undo: "make V=0")
1373 --enable-dependency-tracking
1374 do not reject slow dependency extractors
1375 --disable-dependency-tracking
1376 speeds up one-time build
13001377 --dis|enable-x-gomii Dis- or enable X gomii. Disabled by default.
13011378
13021379 Optional Packages:
13101387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13111388 nonstandard directory <lib dir>
13121389 LIBS libraries to pass to the linker, e.g. -l<library>
1313 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1390 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13141391 you have headers in a nonstandard directory <include dir>
13151392 XMKMF Path to xmkmf, Makefile generator for X Window System
13161393 CPP C preprocessor
13181395 Use these variables to override the choices made by `configure' or to help
13191396 it to find libraries and programs with nonstandard names/locations.
13201397
1398 Report bugs to the package provider.
13211399 _ACEOF
13221400 ac_status=$?
13231401 fi
13251403 if test "$ac_init_help" = "recursive"; then
13261404 # If there are subdirs, report their specific --help.
13271405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328 test -d "$ac_dir" || continue
1406 test -d "$ac_dir" ||
1407 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408 continue
13291409 ac_builddir=.
13301410
13311411 case "$ac_dir" in
13321412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13331413 *)
1334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1414 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13351415 # A ".." for each directory in $ac_dir_suffix.
1336 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1416 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13371417 case $ac_top_builddir_sub in
13381418 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13391419 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13691449 echo &&
13701450 $SHELL "$ac_srcdir/configure" --help=recursive
13711451 else
1372 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13731453 fi || ac_status=$?
13741454 cd "$ac_pwd" || { ac_status=$?; break; }
13751455 done
13781458 test -n "$ac_init_help" && exit $ac_status
13791459 if $ac_init_version; then
13801460 cat <<\_ACEOF
1381 gom configure 0.30.2
1382 generated by GNU Autoconf 2.61
1383
1384 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1385 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 gom configure 0.30.3
1462 generated by GNU Autoconf 2.69
1463
1464 Copyright (C) 2012 Free Software Foundation, Inc.
13861465 This configure script is free software; the Free Software Foundation
13871466 gives unlimited permission to copy, distribute and modify it.
13881467 _ACEOF
13891468 exit
13901469 fi
1470
1471 ## ------------------------ ##
1472 ## Autoconf initialization. ##
1473 ## ------------------------ ##
1474
1475 # ac_fn_c_try_compile LINENO
1476 # --------------------------
1477 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1478 ac_fn_c_try_compile ()
1479 {
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext
1482 if { { ac_try="$ac_compile"
1483 case "(($ac_try" in
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1486 esac
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_compile") 2>conftest.err
1490 ac_status=$?
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1495 fi
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest.$ac_objext; then :
1501 ac_retval=0
1502 else
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1505
1506 ac_retval=1
1507 fi
1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1509 as_fn_set_status $ac_retval
1510
1511 } # ac_fn_c_try_compile
1512
1513 # ac_fn_c_try_link LINENO
1514 # -----------------------
1515 # Try to link conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_link ()
1517 {
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 rm -f conftest.$ac_objext conftest$ac_exeext
1520 if { { ac_try="$ac_link"
1521 case "(($ac_try" in
1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1524 esac
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_link") 2>conftest.err
1528 ac_status=$?
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1533 fi
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } && {
1536 test -z "$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1538 } && test -s conftest$ac_exeext && {
1539 test "$cross_compiling" = yes ||
1540 test -x conftest$ac_exeext
1541 }; then :
1542 ac_retval=0
1543 else
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1546
1547 ac_retval=1
1548 fi
1549 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1550 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1551 # interfere with the next link command; also delete a directory that is
1552 # left behind by Apple's compiler. We do this before executing the actions.
1553 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 as_fn_set_status $ac_retval
1556
1557 } # ac_fn_c_try_link
1558
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_cpp ()
1563 {
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 if { { ac_try="$ac_cpp conftest.$ac_ext"
1566 case "(($ac_try" in
1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1569 esac
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1573 ac_status=$?
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1578 fi
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } > conftest.i && {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 }; then :
1584 ac_retval=0
1585 else
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1588
1589 ac_retval=1
1590 fi
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1593
1594 } # ac_fn_c_try_cpp
1595
1596 # ac_fn_c_check_func LINENO FUNC VAR
1597 # ----------------------------------
1598 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1599 ac_fn_c_check_func ()
1600 {
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if eval \${$3+:} false; then :
1605 $as_echo_n "(cached) " >&6
1606 else
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1611 #define $2 innocuous_$2
1612
1613 /* System header to define __stub macros and hopefully few prototypes,
1614 which can conflict with char $2 (); below.
1615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1616 <limits.h> exists even on freestanding compilers. */
1617
1618 #ifdef __STDC__
1619 # include <limits.h>
1620 #else
1621 # include <assert.h>
1622 #endif
1623
1624 #undef $2
1625
1626 /* Override any GCC internal prototype to avoid an error.
1627 Use char because int might match the return type of a GCC
1628 builtin and then its argument prototype would still apply. */
1629 #ifdef __cplusplus
1630 extern "C"
1631 #endif
1632 char $2 ();
1633 /* The GNU C library defines this for functions which it implements
1634 to always fail with ENOSYS. Some functions are actually named
1635 something starting with __ and the normal name is an alias. */
1636 #if defined __stub_$2 || defined __stub___$2
1637 choke me
1638 #endif
1639
1640 int
1641 main ()
1642 {
1643 return $2 ();
1644 ;
1645 return 0;
1646 }
1647 _ACEOF
1648 if ac_fn_c_try_link "$LINENO"; then :
1649 eval "$3=yes"
1650 else
1651 eval "$3=no"
1652 fi
1653 rm -f core conftest.err conftest.$ac_objext \
1654 conftest$ac_exeext conftest.$ac_ext
1655 fi
1656 eval ac_res=\$$3
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660
1661 } # ac_fn_c_check_func
1662
1663 # ac_fn_c_try_run LINENO
1664 # ----------------------
1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1666 # that executables *can* be run.
1667 ac_fn_c_try_run ()
1668 {
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if { { ac_try="$ac_link"
1671 case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_link") 2>&5
1678 ac_status=$?
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1681 { { case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_try") 2>&5
1688 ac_status=$?
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; }; }; then :
1691 ac_retval=0
1692 else
1693 $as_echo "$as_me: program exited with status $ac_status" >&5
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1696
1697 ac_retval=$ac_status
1698 fi
1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1702
1703 } # ac_fn_c_try_run
1704
1705 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1708 # the include files in INCLUDES and setting the cache variable VAR
1709 # accordingly.
1710 ac_fn_c_check_header_mongrel ()
1711 {
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if eval \${$3+:} false; then :
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717 $as_echo_n "(cached) " >&6
1718 fi
1719 eval ac_res=\$$3
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 else
1723 # Is the header compilable?
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1725 $as_echo_n "checking $2 usability... " >&6; }
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 $4
1729 #include <$2>
1730 _ACEOF
1731 if ac_fn_c_try_compile "$LINENO"; then :
1732 ac_header_compiler=yes
1733 else
1734 ac_header_compiler=no
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1738 $as_echo "$ac_header_compiler" >&6; }
1739
1740 # Is the header present?
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1742 $as_echo_n "checking $2 presence... " >&6; }
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 #include <$2>
1746 _ACEOF
1747 if ac_fn_c_try_cpp "$LINENO"; then :
1748 ac_header_preproc=yes
1749 else
1750 ac_header_preproc=no
1751 fi
1752 rm -f conftest.err conftest.i conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1754 $as_echo "$ac_header_preproc" >&6; }
1755
1756 # So? What about this header?
1757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1758 yes:no: )
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1760 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ;;
1764 no:yes:* )
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1766 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1768 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1770 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1772 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1774 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1775 ;;
1776 esac
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1781 else
1782 eval "$3=\$ac_header_compiler"
1783 fi
1784 eval ac_res=\$$3
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1787 fi
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1790 } # ac_fn_c_check_header_mongrel
1791
1792 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists and can be compiled using the include files in
1795 # INCLUDES, setting the cache variable VAR accordingly.
1796 ac_fn_c_check_header_compile ()
1797 {
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1803 else
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 $4
1807 #include <$2>
1808 _ACEOF
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 eval "$3=yes"
1811 else
1812 eval "$3=no"
1813 fi
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 fi
1816 eval ac_res=\$$3
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
1821 } # ac_fn_c_check_header_compile
13911822 cat >config.log <<_ACEOF
13921823 This file contains any messages produced by compilers while
13931824 running configure, to aid debugging if configure makes a mistake.
13941825
1395 It was created by gom $as_me 0.30.2, which was
1396 generated by GNU Autoconf 2.61. Invocation command line was
1826 It was created by gom $as_me 0.30.3, which was
1827 generated by GNU Autoconf 2.69. Invocation command line was
13971828
13981829 $ $0 $@
13991830
14291860 do
14301861 IFS=$as_save_IFS
14311862 test -z "$as_dir" && as_dir=.
1432 echo "PATH: $as_dir"
1433 done
1863 $as_echo "PATH: $as_dir"
1864 done
14341865 IFS=$as_save_IFS
14351866
14361867 } >&5
14641895 | -silent | --silent | --silen | --sile | --sil)
14651896 continue ;;
14661897 *\'*)
1467 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1898 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14681899 esac
14691900 case $ac_pass in
1470 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1901 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14711902 2)
1472 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1903 as_fn_append ac_configure_args1 " '$ac_arg'"
14731904 if test $ac_must_keep_next = true; then
14741905 ac_must_keep_next=false # Got value, back to normal.
14751906 else
14851916 -* ) ac_must_keep_next=true ;;
14861917 esac
14871918 fi
1488 ac_configure_args="$ac_configure_args '$ac_arg'"
1919 as_fn_append ac_configure_args " '$ac_arg'"
14891920 ;;
14901921 esac
14911922 done
14921923 done
1493 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1494 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1924 { ac_configure_args0=; unset ac_configure_args0;}
1925 { ac_configure_args1=; unset ac_configure_args1;}
14951926
14961927 # When interrupted or exit'd, cleanup temporary files, and complete
14971928 # config.log. We remove comments because anyway the quotes in there
15031934 {
15041935 echo
15051936
1506 cat <<\_ASBOX
1507 ## ---------------- ##
1937 $as_echo "## ---------------- ##
15081938 ## Cache variables. ##
1509 ## ---------------- ##
1510 _ASBOX
1939 ## ---------------- ##"
15111940 echo
15121941 # The following way of writing the cache mishandles newlines in values,
15131942 (
15161945 case $ac_val in #(
15171946 *${as_nl}*)
15181947 case $ac_var in #(
1519 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1520 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1948 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15211950 esac
15221951 case $ac_var in #(
15231952 _ | IFS | as_nl) ;; #(
1524 *) $as_unset $ac_var ;;
1953 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1954 *) { eval $ac_var=; unset $ac_var;} ;;
15251955 esac ;;
15261956 esac
15271957 done
15401970 )
15411971 echo
15421972
1543 cat <<\_ASBOX
1544 ## ----------------- ##
1973 $as_echo "## ----------------- ##
15451974 ## Output variables. ##
1546 ## ----------------- ##
1547 _ASBOX
1975 ## ----------------- ##"
15481976 echo
15491977 for ac_var in $ac_subst_vars
15501978 do
15511979 eval ac_val=\$$ac_var
15521980 case $ac_val in
1553 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1981 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15541982 esac
1555 echo "$ac_var='\''$ac_val'\''"
1983 $as_echo "$ac_var='\''$ac_val'\''"
15561984 done | sort
15571985 echo
15581986
15591987 if test -n "$ac_subst_files"; then
1560 cat <<\_ASBOX
1561 ## ------------------- ##
1988 $as_echo "## ------------------- ##
15621989 ## File substitutions. ##
1563 ## ------------------- ##
1564 _ASBOX
1990 ## ------------------- ##"
15651991 echo
15661992 for ac_var in $ac_subst_files
15671993 do
15681994 eval ac_val=\$$ac_var
15691995 case $ac_val in
1570 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15711997 esac
1572 echo "$ac_var='\''$ac_val'\''"
1998 $as_echo "$ac_var='\''$ac_val'\''"
15731999 done | sort
15742000 echo
15752001 fi
15762002
15772003 if test -s confdefs.h; then
1578 cat <<\_ASBOX
1579 ## ----------- ##
2004 $as_echo "## ----------- ##
15802005 ## confdefs.h. ##
1581 ## ----------- ##
1582 _ASBOX
2006 ## ----------- ##"
15832007 echo
15842008 cat confdefs.h
15852009 echo
15862010 fi
15872011 test "$ac_signal" != 0 &&
1588 echo "$as_me: caught signal $ac_signal"
1589 echo "$as_me: exit $exit_status"
2012 $as_echo "$as_me: caught signal $ac_signal"
2013 $as_echo "$as_me: exit $exit_status"
15902014 } >&5
15912015 rm -f core *.core core.conftest.* &&
15922016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
15932017 exit $exit_status
15942018 ' 0
15952019 for ac_signal in 1 2 13 15; do
1596 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
15972021 done
15982022 ac_signal=0
15992023
16002024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16012025 rm -f -r conftest* confdefs.h
16022026
2027 $as_echo "/* confdefs.h */" > confdefs.h
2028
16032029 # Predefined preprocessor variables.
16042030
16052031 cat >>confdefs.h <<_ACEOF
16062032 #define PACKAGE_NAME "$PACKAGE_NAME"
16072033 _ACEOF
16082034
1609
16102035 cat >>confdefs.h <<_ACEOF
16112036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16122037 _ACEOF
16132038
1614
16152039 cat >>confdefs.h <<_ACEOF
16162040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16172041 _ACEOF
16182042
1619
16202043 cat >>confdefs.h <<_ACEOF
16212044 #define PACKAGE_STRING "$PACKAGE_STRING"
16222045 _ACEOF
16232046
1624
16252047 cat >>confdefs.h <<_ACEOF
16262048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16272049 _ACEOF
16282050
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2053 _ACEOF
2054
16292055
16302056 # Let the site file select an alternate cache file if it wants to.
1631 # Prefer explicitly selected file to automatically selected ones.
2057 # Prefer an explicitly selected file to automatically selected ones.
2058 ac_site_file1=NONE
2059 ac_site_file2=NONE
16322060 if test -n "$CONFIG_SITE"; then
1633 set x "$CONFIG_SITE"
2061 # We do not want a PATH search for config.site.
2062 case $CONFIG_SITE in #((
2063 -*) ac_site_file1=./$CONFIG_SITE;;
2064 */*) ac_site_file1=$CONFIG_SITE;;
2065 *) ac_site_file1=./$CONFIG_SITE;;
2066 esac
16342067 elif test "x$prefix" != xNONE; then
1635 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1636 else
1637 set x "$ac_default_prefix/share/config.site" \
1638 "$ac_default_prefix/etc/config.site"
1639 fi
1640 shift
1641 for ac_site_file
2068 ac_site_file1=$prefix/share/config.site
2069 ac_site_file2=$prefix/etc/config.site
2070 else
2071 ac_site_file1=$ac_default_prefix/share/config.site
2072 ac_site_file2=$ac_default_prefix/etc/config.site
2073 fi
2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
16422075 do
1643 if test -r "$ac_site_file"; then
1644 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1645 echo "$as_me: loading site script $ac_site_file" >&6;}
2076 test "x$ac_site_file" = xNONE && continue
2077 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16462080 sed 's/^/| /' "$ac_site_file" >&5
1647 . "$ac_site_file"
2081 . "$ac_site_file" \
2082 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 as_fn_error $? "failed to load site script $ac_site_file
2085 See \`config.log' for more details" "$LINENO" 5; }
16482086 fi
16492087 done
16502088
16512089 if test -r "$cache_file"; then
1652 # Some versions of bash will fail to source /dev/null (special
1653 # files actually), so we avoid doing that.
1654 if test -f "$cache_file"; then
1655 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1656 echo "$as_me: loading cache $cache_file" >&6;}
2090 # Some versions of bash will fail to source /dev/null (special files
2091 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2092 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
16572095 case $cache_file in
16582096 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16592097 *) . "./$cache_file";;
16602098 esac
16612099 fi
16622100 else
1663 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1664 echo "$as_me: creating cache $cache_file" >&6;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
16652103 >$cache_file
16662104 fi
16672105
16752113 eval ac_new_val=\$ac_env_${ac_var}_value
16762114 case $ac_old_set,$ac_new_set in
16772115 set,)
1678 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16802118 ac_cache_corrupted=: ;;
16812119 ,set)
1682 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1683 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16842122 ac_cache_corrupted=: ;;
16852123 ,);;
16862124 *)
16872125 if test "x$ac_old_val" != "x$ac_new_val"; then
1688 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1689 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1690 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1691 echo "$as_me: former value: $ac_old_val" >&2;}
1692 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1693 echo "$as_me: current value: $ac_new_val" >&2;}
1694 ac_cache_corrupted=:
2126 # differences in whitespace do not lead to failure.
2127 ac_old_val_w=`echo x $ac_old_val`
2128 ac_new_val_w=`echo x $ac_new_val`
2129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2132 ac_cache_corrupted=:
2133 else
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136 eval $ac_var=\$ac_old_val
2137 fi
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2139 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
16952142 fi;;
16962143 esac
16972144 # Pass precious variables to config.status.
16982145 if test "$ac_new_set" = set; then
16992146 case $ac_new_val in
1700 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2147 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17012148 *) ac_arg=$ac_var=$ac_new_val ;;
17022149 esac
17032150 case " $ac_configure_args " in
17042151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1705 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2152 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17062153 esac
17072154 fi
17082155 done
17092156 if $ac_cache_corrupted; then
1710 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1711 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1712 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1713 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1714 { (exit 1); exit 1; }; }
1715 fi
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2162 fi
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
17402166
17412167 ac_ext=c
17422168 ac_cpp='$CPP $CPPFLAGS'
17462172
17472173
17482174
1749 am__api_version='1.10'
2175 am__api_version='1.16'
17502176
17512177 ac_aux_dir=
17522178 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17652191 fi
17662192 done
17672193 if test -z "$ac_aux_dir"; then
1768 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1769 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1770 { (exit 1); exit 1; }; }
2194 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17712195 fi
17722196
17732197 # These three variables are undocumented and unsupported,
17922216 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
17932217 # OS/2's system install, which has a completely different semantic
17942218 # ./install, which can be erroneously created by make from ./install.sh.
1795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2219 # Reject install programs that cannot install multiple files.
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2221 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17972222 if test -z "$INSTALL"; then
1798 if test "${ac_cv_path_install+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if ${ac_cv_path_install+:} false; then :
2224 $as_echo_n "(cached) " >&6
18002225 else
18012226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18022227 for as_dir in $PATH
18032228 do
18042229 IFS=$as_save_IFS
18052230 test -z "$as_dir" && as_dir=.
1806 # Account for people who put trailing slashes in PATH elements.
1807 case $as_dir/ in
1808 ./ | .// | /cC/* | \
2231 # Account for people who put trailing slashes in PATH elements.
2232 case $as_dir/ in #((
2233 ./ | .// | /[cC]/* | \
18092234 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2235 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18112236 /usr/ucb/* ) ;;
18122237 *)
18132238 # OSF1 and SCO ODT 3.0 have their own names for install.
18152240 # by default.
18162241 for ac_prog in ginstall scoinst install; do
18172242 for ac_exec_ext in '' $ac_executable_extensions; do
1818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2243 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18192244 if test $ac_prog = install &&
18202245 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18212246 # AIX install. It has an incompatible calling convention.
18252250 # program-specific install script used by HP pwplus--don't use.
18262251 :
18272252 else
1828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1829 break 3
2253 rm -rf conftest.one conftest.two conftest.dir
2254 echo one > conftest.one
2255 echo two > conftest.two
2256 mkdir conftest.dir
2257 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2258 test -s conftest.one && test -s conftest.two &&
2259 test -s conftest.dir/conftest.one &&
2260 test -s conftest.dir/conftest.two
2261 then
2262 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2263 break 3
2264 fi
18302265 fi
18312266 fi
18322267 done
18332268 done
18342269 ;;
18352270 esac
1836 done
2271
2272 done
18372273 IFS=$as_save_IFS
18382274
2275 rm -rf conftest.one conftest.two conftest.dir
18392276
18402277 fi
18412278 if test "${ac_cv_path_install+set}" = set; then
18482285 INSTALL=$ac_install_sh
18492286 fi
18502287 fi
1851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1852 echo "${ECHO_T}$INSTALL" >&6; }
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2289 $as_echo "$INSTALL" >&6; }
18532290
18542291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18552292 # It thinks the first close brace ends the variable substitution.
18592296
18602297 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18612298
1862 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1863 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1864 # Just in case
1865 sleep 1
1866 echo timestamp > conftest.file
1867 # Do `set' in a subshell so we don't clobber the current shell's
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2300 $as_echo_n "checking whether build environment is sane... " >&6; }
2301 # Reject unsafe characters in $srcdir or the absolute working directory
2302 # name. Accept space and tab only in the latter.
2303 am_lf='
2304 '
2305 case `pwd` in
2306 *[\\\"\#\$\&\'\`$am_lf]*)
2307 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2308 esac
2309 case $srcdir in
2310 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2311 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2312 esac
2313
2314 # Do 'set' in a subshell so we don't clobber the current shell's
18682315 # arguments. Must try -L first in case configure is actually a
18692316 # symlink; some systems play weird games with the mod time of symlinks
18702317 # (eg FreeBSD returns the mod time of the symlink's containing
18712318 # directory).
18722319 if (
1873 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1874 if test "$*" = "X"; then
1875 # -L didn't work.
1876 set X `ls -t $srcdir/configure conftest.file`
1877 fi
1878 rm -f conftest.file
1879 if test "$*" != "X $srcdir/configure conftest.file" \
1880 && test "$*" != "X conftest.file $srcdir/configure"; then
1881
1882 # If neither matched, then we have a broken ls. This can happen
1883 # if, for instance, CONFIG_SHELL is bash and it inherits a
1884 # broken ls alias from the environment. This has actually
1885 # happened. Such a system could not be considered "sane".
1886 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1887 alias in your environment" >&5
1888 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1889 alias in your environment" >&2;}
1890 { (exit 1); exit 1; }; }
1891 fi
1892
2320 am_has_slept=no
2321 for am_try in 1 2; do
2322 echo "timestamp, slept: $am_has_slept" > conftest.file
2323 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2324 if test "$*" = "X"; then
2325 # -L didn't work.
2326 set X `ls -t "$srcdir/configure" conftest.file`
2327 fi
2328 if test "$*" != "X $srcdir/configure conftest.file" \
2329 && test "$*" != "X conftest.file $srcdir/configure"; then
2330
2331 # If neither matched, then we have a broken ls. This can happen
2332 # if, for instance, CONFIG_SHELL is bash and it inherits a
2333 # broken ls alias from the environment. This has actually
2334 # happened. Such a system could not be considered "sane".
2335 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2336 alias in your environment" "$LINENO" 5
2337 fi
2338 if test "$2" = conftest.file || test $am_try -eq 2; then
2339 break
2340 fi
2341 # Just in case.
2342 sleep 1
2343 am_has_slept=yes
2344 done
18932345 test "$2" = conftest.file
18942346 )
18952347 then
18962348 # Ok.
18972349 :
18982350 else
1899 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1900 Check your system clock" >&5
1901 echo "$as_me: error: newly created file is older than distributed files!
1902 Check your system clock" >&2;}
1903 { (exit 1); exit 1; }; }
1904 fi
1905 { echo "$as_me:$LINENO: result: yes" >&5
1906 echo "${ECHO_T}yes" >&6; }
2351 as_fn_error $? "newly created file is older than distributed files!
2352 Check your system clock" "$LINENO" 5
2353 fi
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2355 $as_echo "yes" >&6; }
2356 # If we didn't sleep, we still need to ensure time stamps of config.status and
2357 # generated files are strictly newer.
2358 am_sleep_pid=
2359 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2360 ( sleep 1 ) &
2361 am_sleep_pid=$!
2362 fi
2363
2364 rm -f conftest.file
2365
19072366 test "$program_prefix" != NONE &&
19082367 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19092368 # Use a double $ so make ignores it.
19102369 test "$program_suffix" != NONE &&
19112370 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1912 # Double any \ or $. echo might interpret backslashes.
2371 # Double any \ or $.
19132372 # By default was `s,x,x', remove it if useless.
1914 cat <<\_ACEOF >conftest.sed
1915 s/[\\$]/&&/g;s/;s,x,x,$//
1916 _ACEOF
1917 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1918 rm -f conftest.sed
1919
1920 # expand $ac_aux_dir to an absolute path
1921 am_aux_dir=`cd $ac_aux_dir && pwd`
1922
1923 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2375
2376 # Expand $ac_aux_dir to an absolute path.
2377 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2378
2379 if test x"${MISSING+set}" != xset; then
2380 MISSING="\${SHELL} '$am_aux_dir/missing'"
2381 fi
19242382 # Use eval to expand $SHELL
1925 if eval "$MISSING --run true"; then
1926 am_missing_run="$MISSING --run "
2383 if eval "$MISSING --is-lightweight"; then
2384 am_missing_run="$MISSING "
19272385 else
19282386 am_missing_run=
1929 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1930 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1931 fi
1932
1933 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1934 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2388 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2389 fi
2390
2391 if test x"${install_sh+set}" != xset; then
2392 case $am_aux_dir in
2393 *\ * | *\ *)
2394 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2395 *)
2396 install_sh="\${SHELL} $am_aux_dir/install-sh"
2397 esac
2398 fi
2399
2400 # Installed binaries are usually stripped using 'strip' when the user
2401 # run "make install-strip". However 'strip' might not be the right
2402 # tool to use in cross-compilation environments, therefore Automake
2403 # will honor the 'STRIP' environment variable to overrule this program.
2404 if test "$cross_compiling" != no; then
2405 if test -n "$ac_tool_prefix"; then
2406 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2407 set dummy ${ac_tool_prefix}strip; ac_word=$2
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if ${ac_cv_prog_STRIP+:} false; then :
2411 $as_echo_n "(cached) " >&6
2412 else
2413 if test -n "$STRIP"; then
2414 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2415 else
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 for as_dir in $PATH
2418 do
2419 IFS=$as_save_IFS
2420 test -z "$as_dir" && as_dir=.
2421 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 break 2
2426 fi
2427 done
2428 done
2429 IFS=$as_save_IFS
2430
2431 fi
2432 fi
2433 STRIP=$ac_cv_prog_STRIP
2434 if test -n "$STRIP"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2436 $as_echo "$STRIP" >&6; }
2437 else
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2440 fi
2441
2442
2443 fi
2444 if test -z "$ac_cv_prog_STRIP"; then
2445 ac_ct_STRIP=$STRIP
2446 # Extract the first word of "strip", so it can be a program name with args.
2447 set dummy strip; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2451 $as_echo_n "(cached) " >&6
2452 else
2453 if test -n "$ac_ct_STRIP"; then
2454 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2455 else
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2458 do
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 ac_cv_prog_ac_ct_STRIP="strip"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 break 2
2466 fi
2467 done
2468 done
2469 IFS=$as_save_IFS
2470
2471 fi
2472 fi
2473 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2474 if test -n "$ac_ct_STRIP"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2476 $as_echo "$ac_ct_STRIP" >&6; }
2477 else
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2480 fi
2481
2482 if test "x$ac_ct_STRIP" = x; then
2483 STRIP=":"
2484 else
2485 case $cross_compiling:$ac_tool_warned in
2486 yes:)
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2489 ac_tool_warned=yes ;;
2490 esac
2491 STRIP=$ac_ct_STRIP
2492 fi
2493 else
2494 STRIP="$ac_cv_prog_STRIP"
2495 fi
2496
2497 fi
2498 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2499
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2501 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
19352502 if test -z "$MKDIR_P"; then
1936 if test "${ac_cv_path_mkdir+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 if ${ac_cv_path_mkdir+:} false; then :
2504 $as_echo_n "(cached) " >&6
19382505 else
19392506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19402507 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19412508 do
19422509 IFS=$as_save_IFS
19432510 test -z "$as_dir" && as_dir=.
1944 for ac_prog in mkdir gmkdir; do
2511 for ac_prog in mkdir gmkdir; do
19452512 for ac_exec_ext in '' $ac_executable_extensions; do
1946 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2513 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
19472514 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19482515 'mkdir (GNU coreutils) '* | \
19492516 'mkdir (coreutils) '* | \
19532520 esac
19542521 done
19552522 done
1956 done
2523 done
19572524 IFS=$as_save_IFS
19582525
19592526 fi
19602527
2528 test -d ./--version && rmdir ./--version
19612529 if test "${ac_cv_path_mkdir+set}" = set; then
19622530 MKDIR_P="$ac_cv_path_mkdir -p"
19632531 else
19652533 # value for MKDIR_P within a source directory, because that will
19662534 # break other packages using the cache if that directory is
19672535 # removed, or if the value is a relative name.
1968 test -d ./--version && rmdir ./--version
19692536 MKDIR_P="$ac_install_sh -d"
19702537 fi
19712538 fi
1972 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1973 echo "${ECHO_T}$MKDIR_P" >&6; }
1974
1975 mkdir_p="$MKDIR_P"
1976 case $mkdir_p in
1977 [\\/$]* | ?:[\\/]*) ;;
1978 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1979 esac
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2540 $as_echo "$MKDIR_P" >&6; }
19802541
19812542 for ac_prog in gawk mawk nawk awk
19822543 do
19832544 # Extract the first word of "$ac_prog", so it can be a program name with args.
19842545 set dummy $ac_prog; ac_word=$2
1985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1987 if test "${ac_cv_prog_AWK+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_AWK+:} false; then :
2549 $as_echo_n "(cached) " >&6
19892550 else
19902551 if test -n "$AWK"; then
19912552 ac_cv_prog_AWK="$AWK" # Let the user override the test.
19952556 do
19962557 IFS=$as_save_IFS
19972558 test -z "$as_dir" && as_dir=.
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20002561 ac_cv_prog_AWK="$ac_prog"
2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20022563 break 2
20032564 fi
20042565 done
2005 done
2566 done
20062567 IFS=$as_save_IFS
20072568
20082569 fi
20092570 fi
20102571 AWK=$ac_cv_prog_AWK
20112572 if test -n "$AWK"; then
2012 { echo "$as_me:$LINENO: result: $AWK" >&5
2013 echo "${ECHO_T}$AWK" >&6; }
2014 else
2015 { echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2574 $as_echo "$AWK" >&6; }
2575 else
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
20172578 fi
20182579
20192580
20202581 test -n "$AWK" && break
20212582 done
20222583
2023 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2024 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2025 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2026 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2585 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2586 set x ${MAKE-make}
2587 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2588 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2589 $as_echo_n "(cached) " >&6
20282590 else
20292591 cat >conftest.make <<\_ACEOF
20302592 SHELL = /bin/sh
20312593 all:
20322594 @echo '@@@%%%=$(MAKE)=@@@%%%'
20332595 _ACEOF
2034 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2596 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20352597 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20362598 *@@@%%%=?*=@@@%%%*)
20372599 eval ac_cv_prog_make_${ac_make}_set=yes;;
20412603 rm -f conftest.make
20422604 fi
20432605 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2044 { echo "$as_me:$LINENO: result: yes" >&5
2045 echo "${ECHO_T}yes" >&6; }
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2607 $as_echo "yes" >&6; }
20462608 SET_MAKE=
20472609 else
2048 { echo "$as_me:$LINENO: result: no" >&5
2049 echo "${ECHO_T}no" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
20502612 SET_MAKE="MAKE=${MAKE-make}"
20512613 fi
20522614
20582620 am__leading_dot=_
20592621 fi
20602622 rmdir .tst 2>/dev/null
2623
2624 # Check whether --enable-silent-rules was given.
2625 if test "${enable_silent_rules+set}" = set; then :
2626 enableval=$enable_silent_rules;
2627 fi
2628
2629 case $enable_silent_rules in # (((
2630 yes) AM_DEFAULT_VERBOSITY=0;;
2631 no) AM_DEFAULT_VERBOSITY=1;;
2632 *) AM_DEFAULT_VERBOSITY=1;;
2633 esac
2634 am_make=${MAKE-make}
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2636 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2637 if ${am_cv_make_support_nested_variables+:} false; then :
2638 $as_echo_n "(cached) " >&6
2639 else
2640 if $as_echo 'TRUE=$(BAR$(V))
2641 BAR0=false
2642 BAR1=true
2643 V=1
2644 am__doit:
2645 @$(TRUE)
2646 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2647 am_cv_make_support_nested_variables=yes
2648 else
2649 am_cv_make_support_nested_variables=no
2650 fi
2651 fi
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2653 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2654 if test $am_cv_make_support_nested_variables = yes; then
2655 AM_V='$(V)'
2656 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2657 else
2658 AM_V=$AM_DEFAULT_VERBOSITY
2659 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2660 fi
2661 AM_BACKSLASH='\'
20612662
20622663 if test "`cd $srcdir && pwd`" != "`pwd`"; then
20632664 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
20652666 am__isrc=' -I$(srcdir)'
20662667 # test to see if srcdir already configured
20672668 if test -f $srcdir/config.status; then
2068 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2069 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2070 { (exit 1); exit 1; }; }
2669 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
20712670 fi
20722671 fi
20732672
20832682
20842683 # Define the identity of the package.
20852684 PACKAGE='gom'
2086 VERSION='0.30.2'
2685 VERSION='0.30.3'
20872686
20882687
20892688 cat >>confdefs.h <<_ACEOF
21112710
21122711 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
21132712
2114 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2115
2116 # Installed binaries are usually stripped using `strip' when the user
2117 # run `make install-strip'. However `strip' might not be the right
2118 # tool to use in cross-compilation environments, therefore Automake
2119 # will honor the `STRIP' environment variable to overrule this program.
2120 if test "$cross_compiling" != no; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}strip; ac_word=$2
2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126 if test "${ac_cv_prog_STRIP+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129 if test -n "$STRIP"; then
2130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2713 # For better backward compatibility. To be removed once Automake 1.9.x
2714 # dies out for good. For more background, see:
2715 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2716 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2717 mkdir_p='$(MKDIR_P)'
2718
2719 # We need awk for the "check" target (and possibly the TAP driver). The
2720 # system "awk" is bad on some platforms.
2721 # Always define AMTAR for backward compatibility. Yes, it's still used
2722 # in the wild :-( We should find a proper way to deprecate it ...
2723 AMTAR='$${TAR-tar}'
2724
2725
2726 # We'll loop over all known methods to create a tar archive until one works.
2727 _am_tools='gnutar pax cpio none'
2728
2729 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2730
2731
2732
2733
2734
2735
2736 # POSIX will say in a future version that running "rm -f" with no argument
2737 # is OK; and we want to be able to make that assumption in our Makefile
2738 # recipes. So use an aggressive probe to check that the usage we want is
2739 # actually supported "in the wild" to an acceptable degree.
2740 # See automake bug#10828.
2741 # To make any issue more visible, cause the running configure to be aborted
2742 # by default if the 'rm' program in use doesn't match our expectations; the
2743 # user can still override this though.
2744 if rm -f && rm -fr && rm -rf; then : OK; else
2745 cat >&2 <<'END'
2746 Oops!
2747
2748 Your 'rm' program seems unable to run without file operands specified
2749 on the command line, even when the '-f' option is present. This is contrary
2750 to the behaviour of most rm programs out there, and not conforming with
2751 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2752
2753 Please tell bug-automake@gnu.org about your system, including the value
2754 of your $PATH and any error possibly output before this message. This
2755 can help us improve future automake versions.
2756
2757 END
2758 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2759 echo 'Configuration will proceed anyway, since you have set the' >&2
2760 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2761 echo >&2
2762 else
2763 cat >&2 <<'END'
2764 Aborting the configuration process, to ensure you take notice of the issue.
2765
2766 You can download and install GNU coreutils to get an 'rm' implementation
2767 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2768
2769 If you want to complete the configuration process using your problematic
2770 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2771 to "yes", and re-run configure.
2772
2773 END
2774 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2775 fi
2776 fi
2777
2778
2779 # Release: Package, Version, Date, Current date
2780 DATE="31 May 2004"
2781 DATE_CURRENT="`date +'%d %b %Y'`"
2782 GOM_TITLE="GOM, Gom is nOt yet another Mixer"
2783 GOM_COPYRIGHT="Copyright (c) 1996-2009 Stephan Sürken <absurd@olurdix.de> GPL."
2784
2785
2786
2787
2788
2789
2790 ac_config_headers="$ac_config_headers config.h"
2791
2792
2793
2794 for ac_prog in gawk mawk nawk awk
2795 do
2796 # Extract the first word of "$ac_prog", so it can be a program name with args.
2797 set dummy $ac_prog; ac_word=$2
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799 $as_echo_n "checking for $ac_word... " >&6; }
2800 if ${ac_cv_prog_AWK+:} false; then :
2801 $as_echo_n "(cached) " >&6
2802 else
2803 if test -n "$AWK"; then
2804 ac_cv_prog_AWK="$AWK" # Let the user override the test.
21312805 else
21322806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21332807 for as_dir in $PATH
21342808 do
21352809 IFS=$as_save_IFS
21362810 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2139 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_AWK="$ac_prog"
2814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21412815 break 2
21422816 fi
21432817 done
2144 done
2145 IFS=$as_save_IFS
2146
2147 fi
2148 fi
2149 STRIP=$ac_cv_prog_STRIP
2150 if test -n "$STRIP"; then
2151 { echo "$as_me:$LINENO: result: $STRIP" >&5
2152 echo "${ECHO_T}$STRIP" >&6; }
2153 else
2154 { echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6; }
2156 fi
2157
2158
2159 fi
2160 if test -z "$ac_cv_prog_STRIP"; then
2161 ac_ct_STRIP=$STRIP
2162 # Extract the first word of "strip", so it can be a program name with args.
2163 set dummy strip; ac_word=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 else
2169 if test -n "$ac_ct_STRIP"; then
2170 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2174 do
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_ac_ct_STRIP="strip"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2182 fi
2183 done
2184 done
2185 IFS=$as_save_IFS
2186
2187 fi
2188 fi
2189 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2190 if test -n "$ac_ct_STRIP"; then
2191 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2192 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2196 fi
2197
2198 if test "x$ac_ct_STRIP" = x; then
2199 STRIP=":"
2200 else
2201 case $cross_compiling:$ac_tool_warned in
2202 yes:)
2203 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2204 whose name does not start with the host triplet. If you think this
2205 configuration is useful to you, please write to autoconf@gnu.org." >&5
2206 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2207 whose name does not start with the host triplet. If you think this
2208 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2209 ac_tool_warned=yes ;;
2210 esac
2211 STRIP=$ac_ct_STRIP
2212 fi
2213 else
2214 STRIP="$ac_cv_prog_STRIP"
2215 fi
2216
2217 fi
2218 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2219
2220 # We need awk for the "check" target. The system "awk" is bad on
2221 # some platforms.
2222 # Always define AMTAR for backward compatibility.
2223
2224 AMTAR=${AMTAR-"${am_missing_run}tar"}
2225
2226 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2227
2228
2229
2230
2231
2232
2233 # Release: Package, Version, Date, Current date
2234 DATE="31 May 2004"
2235 DATE_CURRENT="`date +'%d %b %Y'`"
2236 GOM_TITLE="GOM, Gom is nOt yet another Mixer"
2237 GOM_COPYRIGHT="Copyright (c) 1996-2004 Stephan Alexander Sürken <absurd@olurdix.de> GPL."
2238
2239
2240
2241
2242
2243
2244 ac_config_headers="$ac_config_headers config.h"
2245
2246
2247
2248 for ac_prog in gawk mawk nawk awk
2249 do
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy $ac_prog; ac_word=$2
2252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254 if test "${ac_cv_prog_AWK+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 else
2257 if test -n "$AWK"; then
2258 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2259 else
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2262 do
2263 IFS=$as_save_IFS
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_AWK="$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 break 2
2270 fi
2271 done
2272 done
2818 done
22732819 IFS=$as_save_IFS
22742820
22752821 fi
22762822 fi
22772823 AWK=$ac_cv_prog_AWK
22782824 if test -n "$AWK"; then
2279 { echo "$as_me:$LINENO: result: $AWK" >&5
2280 echo "${ECHO_T}$AWK" >&6; }
2281 else
2282 { echo "$as_me:$LINENO: result: no" >&5
2283 echo "${ECHO_T}no" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2826 $as_echo "$AWK" >&6; }
2827 else
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
22842830 fi
22852831
22862832
22952841 if test -n "$ac_tool_prefix"; then
22962842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22972843 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_CC+:} false; then :
2847 $as_echo_n "(cached) " >&6
23022848 else
23032849 if test -n "$CC"; then
23042850 ac_cv_prog_CC="$CC" # Let the user override the test.
23082854 do
23092855 IFS=$as_save_IFS
23102856 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23132859 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23152861 break 2
23162862 fi
23172863 done
2318 done
2864 done
23192865 IFS=$as_save_IFS
23202866
23212867 fi
23222868 fi
23232869 CC=$ac_cv_prog_CC
23242870 if test -n "$CC"; then
2325 { echo "$as_me:$LINENO: result: $CC" >&5
2326 echo "${ECHO_T}$CC" >&6; }
2327 else
2328 { echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2873 else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
23302876 fi
23312877
23322878
23352881 ac_ct_CC=$CC
23362882 # Extract the first word of "gcc", so it can be a program name with args.
23372883 set dummy gcc; ac_word=$2
2338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2887 $as_echo_n "(cached) " >&6
23422888 else
23432889 if test -n "$ac_ct_CC"; then
23442890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23482894 do
23492895 IFS=$as_save_IFS
23502896 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 for ac_exec_ext in '' $ac_executable_extensions; do
2898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23532899 ac_cv_prog_ac_ct_CC="gcc"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23552901 break 2
23562902 fi
23572903 done
2358 done
2904 done
23592905 IFS=$as_save_IFS
23602906
23612907 fi
23622908 fi
23632909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23642910 if test -n "$ac_ct_CC"; then
2365 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2366 echo "${ECHO_T}$ac_ct_CC" >&6; }
2367 else
2368 { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2912 $as_echo "$ac_ct_CC" >&6; }
2913 else
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
23702916 fi
23712917
23722918 if test "x$ac_ct_CC" = x; then
23742920 else
23752921 case $cross_compiling:$ac_tool_warned in
23762922 yes:)
2377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&5
2380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23832925 ac_tool_warned=yes ;;
23842926 esac
23852927 CC=$ac_ct_CC
23922934 if test -n "$ac_tool_prefix"; then
23932935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23942936 set dummy ${ac_tool_prefix}cc; ac_word=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_CC+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_CC+:} false; then :
2940 $as_echo_n "(cached) " >&6
23992941 else
24002942 if test -n "$CC"; then
24012943 ac_cv_prog_CC="$CC" # Let the user override the test.
24052947 do
24062948 IFS=$as_save_IFS
24072949 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24102952 ac_cv_prog_CC="${ac_tool_prefix}cc"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24122954 break 2
24132955 fi
24142956 done
2415 done
2957 done
24162958 IFS=$as_save_IFS
24172959
24182960 fi
24192961 fi
24202962 CC=$ac_cv_prog_CC
24212963 if test -n "$CC"; then
2422 { echo "$as_me:$LINENO: result: $CC" >&5
2423 echo "${ECHO_T}$CC" >&6; }
2424 else
2425 { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2965 $as_echo "$CC" >&6; }
2966 else
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
24272969 fi
24282970
24292971
24322974 if test -z "$CC"; then
24332975 # Extract the first word of "cc", so it can be a program name with args.
24342976 set dummy cc; ac_word=$2
2435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2437 if test "${ac_cv_prog_CC+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_CC+:} false; then :
2980 $as_echo_n "(cached) " >&6
24392981 else
24402982 if test -n "$CC"; then
24412983 ac_cv_prog_CC="$CC" # Let the user override the test.
24462988 do
24472989 IFS=$as_save_IFS
24482990 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24512993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24522994 ac_prog_rejected=yes
24532995 continue
24542996 fi
24552997 ac_cv_prog_CC="cc"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24572999 break 2
24583000 fi
24593001 done
2460 done
3002 done
24613003 IFS=$as_save_IFS
24623004
24633005 if test $ac_prog_rejected = yes; then
24763018 fi
24773019 CC=$ac_cv_prog_CC
24783020 if test -n "$CC"; then
2479 { echo "$as_me:$LINENO: result: $CC" >&5
2480 echo "${ECHO_T}$CC" >&6; }
2481 else
2482 { echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
24843026 fi
24853027
24863028
24913033 do
24923034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24933035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_CC+:} false; then :
3039 $as_echo_n "(cached) " >&6
24983040 else
24993041 if test -n "$CC"; then
25003042 ac_cv_prog_CC="$CC" # Let the user override the test.
25043046 do
25053047 IFS=$as_save_IFS
25063048 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25093051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25113053 break 2
25123054 fi
25133055 done
2514 done
3056 done
25153057 IFS=$as_save_IFS
25163058
25173059 fi
25183060 fi
25193061 CC=$ac_cv_prog_CC
25203062 if test -n "$CC"; then
2521 { echo "$as_me:$LINENO: result: $CC" >&5
2522 echo "${ECHO_T}$CC" >&6; }
2523 else
2524 { echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3065 else
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
25263068 fi
25273069
25283070
25353077 do
25363078 # Extract the first word of "$ac_prog", so it can be a program name with args.
25373079 set dummy $ac_prog; ac_word=$2
2538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3083 $as_echo_n "(cached) " >&6
25423084 else
25433085 if test -n "$ac_ct_CC"; then
25443086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25483090 do
25493091 IFS=$as_save_IFS
25503092 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25533095 ac_cv_prog_ac_ct_CC="$ac_prog"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25553097 break 2
25563098 fi
25573099 done
2558 done
3100 done
25593101 IFS=$as_save_IFS
25603102
25613103 fi
25623104 fi
25633105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25643106 if test -n "$ac_ct_CC"; then
2565 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2566 echo "${ECHO_T}$ac_ct_CC" >&6; }
2567 else
2568 { echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3108 $as_echo "$ac_ct_CC" >&6; }
3109 else
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
25703112 fi
25713113
25723114
25783120 else
25793121 case $cross_compiling:$ac_tool_warned in
25803122 yes:)
2581 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2582 whose name does not start with the host triplet. If you think this
2583 configuration is useful to you, please write to autoconf@gnu.org." >&5
2584 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2585 whose name does not start with the host triplet. If you think this
2586 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25873125 ac_tool_warned=yes ;;
25883126 esac
25893127 CC=$ac_ct_CC
25933131 fi
25943132
25953133
2596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
3134 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 as_fn_error $? "no acceptable C compiler found in \$PATH
3137 See \`config.log' for more details" "$LINENO" 5; }
26013138
26023139 # Provide some information about the compiler.
2603 echo "$as_me:$LINENO: checking for C compiler version" >&5
2604 ac_compiler=`set X $ac_compile; echo $2`
2605 { (ac_try="$ac_compiler --version >&5"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3141 set X $ac_compile
3142 ac_compiler=$2
3143 for ac_option in --version -v -V -qversion; do
3144 { { ac_try="$ac_compiler $ac_option >&5"
26063145 case "(($ac_try" in
26073146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26083147 *) ac_try_echo=$ac_try;;
26093148 esac
2610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2611 (eval "$ac_compiler --version >&5") 2>&5
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
26123152 ac_status=$?
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }
2615 { (ac_try="$ac_compiler -v >&5"
3153 if test -s conftest.err; then
3154 sed '10a\
3155 ... rest of stderr output deleted ...
3156 10q' conftest.err >conftest.er1
3157 cat conftest.er1 >&5
3158 fi
3159 rm -f conftest.er1 conftest.err
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161 test $ac_status = 0; }
3162 done
3163
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3166
3167 int
3168 main ()
3169 {
3170
3171 ;
3172 return 0;
3173 }
3174 _ACEOF
3175 ac_clean_files_save=$ac_clean_files
3176 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3177 # Try to create an executable without -o first, disregard a.out.
3178 # It will help us diagnose broken compilers, and finding out an intuition
3179 # of exeext.
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3181 $as_echo_n "checking whether the C compiler works... " >&6; }
3182 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3183
3184 # The possible output files:
3185 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3186
3187 ac_rmfiles=
3188 for ac_file in $ac_files
3189 do
3190 case $ac_file in
3191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3192 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3193 esac
3194 done
3195 rm -f $ac_rmfiles
3196
3197 if { { ac_try="$ac_link_default"
26163198 case "(($ac_try" in
26173199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26183200 *) ac_try_echo=$ac_try;;
26193201 esac
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compiler -v >&5") 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }
2625 { (ac_try="$ac_compiler -V >&5"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2631 (eval "$ac_compiler -V >&5") 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2635
2636 cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h. */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2642
2643 int
2644 main ()
2645 {
2646
2647 ;
2648 return 0;
2649 }
2650 _ACEOF
2651 ac_clean_files_save=$ac_clean_files
2652 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2653 # Try to create an executable without -o first, disregard a.out.
2654 # It will help us diagnose broken compilers, and finding out an intuition
2655 # of exeext.
2656 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2657 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2658 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2659 #
2660 # List of possible output files, starting from the most likely.
2661 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2662 # only as a last resort. b.out is created by i960 compilers.
2663 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2664 #
2665 # The IRIX 6 linker writes into existing files which may not be
2666 # executable, retaining their permissions. Remove them first so a
2667 # subsequent execution test works.
2668 ac_rmfiles=
2669 for ac_file in $ac_files
2670 do
2671 case $ac_file in
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2673 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2674 esac
2675 done
2676 rm -f $ac_rmfiles
2677
2678 if { (ac_try="$ac_link_default"
2679 case "(($ac_try" in
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2682 esac
2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
26843204 (eval "$ac_link_default") 2>&5
26853205 ac_status=$?
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; then
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; }; then :
26883208 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26893209 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26903210 # in a Makefile. We should not override ac_cv_exeext if it was cached,
26943214 do
26953215 test -f "$ac_file" || continue
26963216 case $ac_file in
2697 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
26983218 ;;
26993219 [ab].out )
27003220 # We found the default executable, but exeext='' is most
27013221 # certainly right.
27023222 break;;
27033223 *.* )
2704 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3224 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
27053225 then :; else
27063226 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27073227 fi
27203240 else
27213241 ac_file=''
27223242 fi
2723
2724 { echo "$as_me:$LINENO: result: $ac_file" >&5
2725 echo "${ECHO_T}$ac_file" >&6; }
2726 if test -z "$ac_file"; then
2727 echo "$as_me: failed program was:" >&5
3243 if test -z "$ac_file"; then :
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 $as_echo "$as_me: failed program was:" >&5
27283247 sed 's/^/| /' conftest.$ac_ext >&5
27293248
2730 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2731 See \`config.log' for more details." >&5
2732 echo "$as_me: error: C compiler cannot create executables
2733 See \`config.log' for more details." >&2;}
2734 { (exit 77); exit 77; }; }
2735 fi
2736
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error 77 "C compiler cannot create executables
3252 See \`config.log' for more details" "$LINENO" 5; }
3253 else
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3256 fi
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3258 $as_echo_n "checking for C compiler default output file name... " >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3260 $as_echo "$ac_file" >&6; }
27373261 ac_exeext=$ac_cv_exeext
27383262
2739 # Check that the compiler produces executables we can run. If not, either
2740 # the compiler is broken, or we cross compile.
2741 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2742 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2743 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2744 # If not cross compiling, check that we can run a simple program.
2745 if test "$cross_compiling" != yes; then
2746 if { ac_try='./$ac_file'
2747 { (case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_try") 2>&5
2753 ac_status=$?
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2756 cross_compiling=no
2757 else
2758 if test "$cross_compiling" = maybe; then
2759 cross_compiling=yes
2760 else
2761 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2762 If you meant to cross compile, use \`--host'.
2763 See \`config.log' for more details." >&5
2764 echo "$as_me: error: cannot run C compiled programs.
2765 If you meant to cross compile, use \`--host'.
2766 See \`config.log' for more details." >&2;}
2767 { (exit 1); exit 1; }; }
2768 fi
2769 fi
2770 fi
2771 { echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6; }
2773
2774 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3263 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
27753264 ac_clean_files=$ac_clean_files_save
2776 # Check that the compiler produces executables we can run. If not, either
2777 # the compiler is broken, or we cross compile.
2778 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2779 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2780 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2781 echo "${ECHO_T}$cross_compiling" >&6; }
2782
2783 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2784 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2785 if { (ac_try="$ac_link"
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3266 $as_echo_n "checking for suffix of executables... " >&6; }
3267 if { { ac_try="$ac_link"
27863268 case "(($ac_try" in
27873269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27883270 *) ac_try_echo=$ac_try;;
27893271 esac
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
27913274 (eval "$ac_link") 2>&5
27923275 ac_status=$?
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; then
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; }; then :
27953278 # If both `conftest.exe' and `conftest' are `present' (well, observable)
27963279 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
27973280 # work properly (i.e., refer to `conftest.exe'), while it won't with
27993282 for ac_file in conftest.exe conftest conftest.*; do
28003283 test -f "$ac_file" || continue
28013284 case $ac_file in
2802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
28033286 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28043287 break;;
28053288 * ) break;;
28063289 esac
28073290 done
28083291 else
2809 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2810 See \`config.log' for more details." >&5
2811 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816 rm -f conftest$ac_cv_exeext
2817 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2818 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3295 See \`config.log' for more details" "$LINENO" 5; }
3296 fi
3297 rm -f conftest conftest$ac_cv_exeext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3299 $as_echo "$ac_cv_exeext" >&6; }
28193300
28203301 rm -f conftest.$ac_ext
28213302 EXEEXT=$ac_cv_exeext
28223303 ac_exeext=$EXEEXT
2823 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2824 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2825 if test "${ac_cv_objext+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 else
2828 cat >conftest.$ac_ext <<_ACEOF
2829 /* confdefs.h. */
2830 _ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28333305 /* end confdefs.h. */
2834
3306 #include <stdio.h>
28353307 int
28363308 main ()
28373309 {
3310 FILE *f = fopen ("conftest.out", "w");
3311 return ferror (f) || fclose (f) != 0;
28383312
28393313 ;
28403314 return 0;
28413315 }
28423316 _ACEOF
2843 rm -f conftest.o conftest.obj
2844 if { (ac_try="$ac_compile"
3317 ac_clean_files="$ac_clean_files conftest.out"
3318 # Check that the compiler produces executables we can run. If not, either
3319 # the compiler is broken, or we cross compile.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3321 $as_echo_n "checking whether we are cross compiling... " >&6; }
3322 if test "$cross_compiling" != yes; then
3323 { { ac_try="$ac_link"
28453324 case "(($ac_try" in
28463325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28473326 *) ac_try_echo=$ac_try;;
28483327 esac
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_link") 2>&5
3331 ac_status=$?
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }
3334 if { ac_try='./conftest$ac_cv_exeext'
3335 { { case "(($ac_try" in
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3338 esac
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_try") 2>&5
3342 ac_status=$?
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }; }; then
3345 cross_compiling=no
3346 else
3347 if test "$cross_compiling" = maybe; then
3348 cross_compiling=yes
3349 else
3350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3352 as_fn_error $? "cannot run C compiled programs.
3353 If you meant to cross compile, use \`--host'.
3354 See \`config.log' for more details" "$LINENO" 5; }
3355 fi
3356 fi
3357 fi
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3359 $as_echo "$cross_compiling" >&6; }
3360
3361 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3362 ac_clean_files=$ac_clean_files_save
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3364 $as_echo_n "checking for suffix of object files... " >&6; }
3365 if ${ac_cv_objext+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370
3371 int
3372 main ()
3373 {
3374
3375 ;
3376 return 0;
3377 }
3378 _ACEOF
3379 rm -f conftest.o conftest.obj
3380 if { { ac_try="$ac_compile"
3381 case "(($ac_try" in
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3384 esac
3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
28503387 (eval "$ac_compile") 2>&5
28513388 ac_status=$?
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390 test $ac_status = 0; }; then :
28543391 for ac_file in conftest.o conftest.obj conftest.*; do
28553392 test -f "$ac_file" || continue;
28563393 case $ac_file in
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
28583395 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28593396 break;;
28603397 esac
28613398 done
28623399 else
2863 echo "$as_me: failed program was:" >&5
3400 $as_echo "$as_me: failed program was:" >&5
28643401 sed 's/^/| /' conftest.$ac_ext >&5
28653402
2866 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2867 See \`config.log' for more details." >&5
2868 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2869 See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }
2871 fi
2872
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error $? "cannot compute suffix of object files: cannot compile
3406 See \`config.log' for more details" "$LINENO" 5; }
3407 fi
28733408 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28743409 fi
2875 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2876 echo "${ECHO_T}$ac_cv_objext" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3411 $as_echo "$ac_cv_objext" >&6; }
28773412 OBJEXT=$ac_cv_objext
28783413 ac_objext=$OBJEXT
2879 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2880 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2881 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 else
2884 cat >conftest.$ac_ext <<_ACEOF
2885 /* confdefs.h. */
2886 _ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3416 if ${ac_cv_c_compiler_gnu+:} false; then :
3417 $as_echo_n "(cached) " >&6
3418 else
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28893420 /* end confdefs.h. */
28903421
28913422 int
28993430 return 0;
29003431 }
29013432 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (ac_try="$ac_compile"
2904 case "(($ac_try" in
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2907 esac
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
3433 if ac_fn_c_try_compile "$LINENO"; then :
29193434 ac_compiler_gnu=yes
29203435 else
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2923
2924 ac_compiler_gnu=no
2925 fi
2926
3436 ac_compiler_gnu=no
3437 fi
29273438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29283439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
29293440
29303441 fi
2931 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2932 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2933 GCC=`test $ac_compiler_gnu = yes && echo yes`
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3444 if test $ac_compiler_gnu = yes; then
3445 GCC=yes
3446 else
3447 GCC=
3448 fi
29343449 ac_test_CFLAGS=${CFLAGS+set}
29353450 ac_save_CFLAGS=$CFLAGS
2936 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2937 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2938 if test "${ac_cv_prog_cc_g+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3453 if ${ac_cv_prog_cc_g+:} false; then :
3454 $as_echo_n "(cached) " >&6
29403455 else
29413456 ac_save_c_werror_flag=$ac_c_werror_flag
29423457 ac_c_werror_flag=yes
29433458 ac_cv_prog_cc_g=no
29443459 CFLAGS="-g"
2945 cat >conftest.$ac_ext <<_ACEOF
2946 /* confdefs.h. */
2947 _ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29503461 /* end confdefs.h. */
29513462
29523463 int
29573468 return 0;
29583469 }
29593470 _ACEOF
2960 rm -f conftest.$ac_objext
2961 if { (ac_try="$ac_compile"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
3471 if ac_fn_c_try_compile "$LINENO"; then :
29773472 ac_cv_prog_cc_g=yes
29783473 else
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2981
2982 CFLAGS=""
2983 cat >conftest.$ac_ext <<_ACEOF
2984 /* confdefs.h. */
2985 _ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
3474 CFLAGS=""
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29883476 /* end confdefs.h. */
29893477
29903478 int
29953483 return 0;
29963484 }
29973485 _ACEOF
2998 rm -f conftest.$ac_objext
2999 if { (ac_try="$ac_compile"
3000 case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compile") 2>conftest.er1
3006 ac_status=$?
3007 grep -v '^ *+' conftest.er1 >conftest.err
3008 rm -f conftest.er1
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.$ac_objext; then
3015 :
3016 else
3017 echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3019
3020 ac_c_werror_flag=$ac_save_c_werror_flag
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487
3488 else
3489 ac_c_werror_flag=$ac_save_c_werror_flag
30213490 CFLAGS="-g"
3022 cat >conftest.$ac_ext <<_ACEOF
3023 /* confdefs.h. */
3024 _ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273492 /* end confdefs.h. */
30283493
30293494 int
30343499 return 0;
30353500 }
30363501 _ACEOF
3037 rm -f conftest.$ac_objext
3038 if { (ac_try="$ac_compile"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compile") 2>conftest.er1
3045 ac_status=$?
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } && {
3051 test -z "$ac_c_werror_flag" ||
3052 test ! -s conftest.err
3053 } && test -s conftest.$ac_objext; then
3502 if ac_fn_c_try_compile "$LINENO"; then :
30543503 ac_cv_prog_cc_g=yes
3055 else
3056 echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3058
3059
3060 fi
3061
3504 fi
30623505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30633506 fi
3064
30653507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30663508 fi
3067
30683509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30693510 ac_c_werror_flag=$ac_save_c_werror_flag
30703511 fi
3071 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3072 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3513 $as_echo "$ac_cv_prog_cc_g" >&6; }
30733514 if test "$ac_test_CFLAGS" = set; then
30743515 CFLAGS=$ac_save_CFLAGS
30753516 elif test $ac_cv_prog_cc_g = yes; then
30853526 CFLAGS=
30863527 fi
30873528 fi
3088 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3089 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3090 if test "${ac_cv_prog_cc_c89+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3531 if ${ac_cv_prog_cc_c89+:} false; then :
3532 $as_echo_n "(cached) " >&6
30923533 else
30933534 ac_cv_prog_cc_c89=no
30943535 ac_save_CC=$CC
3095 cat >conftest.$ac_ext <<_ACEOF
3096 /* confdefs.h. */
3097 _ACEOF
3098 cat confdefs.h >>conftest.$ac_ext
3099 cat >>conftest.$ac_ext <<_ACEOF
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31003537 /* end confdefs.h. */
31013538 #include <stdarg.h>
31023539 #include <stdio.h>
3103 #include <sys/types.h>
3104 #include <sys/stat.h>
3540 struct stat;
31053541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
31063542 struct buf { int x; };
31073543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
31533589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31543590 do
31553591 CC="$ac_save_CC $ac_arg"
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3158 case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161 esac
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3164 ac_status=$?
3165 grep -v '^ *+' conftest.er1 >conftest.err
3166 rm -f conftest.er1
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_c_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3592 if ac_fn_c_try_compile "$LINENO"; then :
31733593 ac_cv_prog_cc_c89=$ac_arg
3174 else
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3177
3178
3179 fi
3180
3594 fi
31813595 rm -f core conftest.err conftest.$ac_objext
31823596 test "x$ac_cv_prog_cc_c89" != "xno" && break
31833597 done
31883602 # AC_CACHE_VAL
31893603 case "x$ac_cv_prog_cc_c89" in
31903604 x)
3191 { echo "$as_me:$LINENO: result: none needed" >&5
3192 echo "${ECHO_T}none needed" >&6; } ;;
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3606 $as_echo "none needed" >&6; } ;;
31933607 xno)
3194 { echo "$as_me:$LINENO: result: unsupported" >&5
3195 echo "${ECHO_T}unsupported" >&6; } ;;
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3609 $as_echo "unsupported" >&6; } ;;
31963610 *)
31973611 CC="$CC $ac_cv_prog_cc_c89"
3198 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
32003614 esac
3201
3615 if test "x$ac_cv_prog_cc_c89" != xno; then :
3616
3617 fi
32023618
32033619 ac_ext=c
32043620 ac_cpp='$CPP $CPPFLAGS'
32053621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3624
3625 ac_ext=c
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3631 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3632 if ${am_cv_prog_cc_c_o+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3637
3638 int
3639 main ()
3640 {
3641
3642 ;
3643 return 0;
3644 }
3645 _ACEOF
3646 # Make sure it works both with $CC and with simple cc.
3647 # Following AC_PROG_CC_C_O, we do the test twice because some
3648 # compilers refuse to overwrite an existing .o file with -o,
3649 # though they will create one.
3650 am_cv_prog_cc_c_o=yes
3651 for am_i in 1 2; do
3652 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3653 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } \
3657 && test -f conftest2.$ac_objext; then
3658 : OK
3659 else
3660 am_cv_prog_cc_c_o=no
3661 break
3662 fi
3663 done
3664 rm -f core conftest*
3665 unset am_i
3666 fi
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3668 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3669 if test "$am_cv_prog_cc_c_o" != yes; then
3670 # Losing compiler, so override with the script.
3671 # FIXME: It is wrong to rewrite CC.
3672 # But if we don't then we get into trouble of one sort or another.
3673 # A longer-term fix would be to have automake use am__CC in this case,
3674 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3675 CC="$am_aux_dir/compile $CC"
3676 fi
3677 ac_ext=c
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682
32083683 DEPDIR="${am__leading_dot}deps"
32093684
32103685 ac_config_commands="$ac_config_commands depfiles"
32113686
3212
3213 am_make=${MAKE-make}
3214 cat > confinc << 'END'
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3688 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3689 cat > confinc.mk << 'END'
32153690 am__doit:
3216 @echo done
3691 @echo this is the am__doit target >confinc.out
32173692 .PHONY: am__doit
32183693 END
3219 # If we don't find an include directive, just comment out the code.
3220 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3221 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
32223694 am__include="#"
32233695 am__quote=
3224 _am_result=none
3225 # First try GNU make style include.
3226 echo "include confinc" > confmf
3227 # We grep out `Entering directory' and `Leaving directory'
3228 # messages which can occur if `w' ends up in MAKEFLAGS.
3229 # In particular we don't look at `^make:' because GNU make might
3230 # be invoked under some other name (usually "gmake"), in which
3231 # case it prints its new name instead of `make'.
3232 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3233 am__include=include
3234 am__quote=
3235 _am_result=GNU
3236 fi
3237 # Now try BSD make style include.
3238 if test "$am__include" = "#"; then
3239 echo '.include "confinc"' > confmf
3240 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3241 am__include=.include
3242 am__quote="\""
3243 _am_result=BSD
3244 fi
3245 fi
3246
3247
3248 { echo "$as_me:$LINENO: result: $_am_result" >&5
3249 echo "${ECHO_T}$_am_result" >&6; }
3250 rm -f confinc confmf
3696 # BSD make does it like this.
3697 echo '.include "confinc.mk" # ignored' > confmf.BSD
3698 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3699 echo 'include confinc.mk # ignored' > confmf.GNU
3700 _am_result=no
3701 for s in GNU BSD; do
3702 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3703 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3704 ac_status=$?
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }
3707 case $?:`cat confinc.out 2>/dev/null` in #(
3708 '0:this is the am__doit target') :
3709 case $s in #(
3710 BSD) :
3711 am__include='.include' am__quote='"' ;; #(
3712 *) :
3713 am__include='include' am__quote='' ;;
3714 esac ;; #(
3715 *) :
3716 ;;
3717 esac
3718 if test "$am__include" != "#"; then
3719 _am_result="yes ($s style)"
3720 break
3721 fi
3722 done
3723 rm -f confinc.* confmf.*
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3725 $as_echo "${_am_result}" >&6; }
32513726
32523727 # Check whether --enable-dependency-tracking was given.
3253 if test "${enable_dependency_tracking+set}" = set; then
3728 if test "${enable_dependency_tracking+set}" = set; then :
32543729 enableval=$enable_dependency_tracking;
32553730 fi
32563731
32573732 if test "x$enable_dependency_tracking" != xno; then
32583733 am_depcomp="$ac_aux_dir/depcomp"
32593734 AMDEPBACKSLASH='\'
3735 am__nodep='_no'
32603736 fi
32613737 if test "x$enable_dependency_tracking" != xno; then
32623738 AMDEP_TRUE=
32703746
32713747 depcc="$CC" am_compiler_list=
32723748
3273 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3274 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3275 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3750 $as_echo_n "checking dependency style of $depcc... " >&6; }
3751 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3752 $as_echo_n "(cached) " >&6
32773753 else
32783754 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32793755 # We make a subdir and do the tests there. Otherwise we can end up
32803756 # making bogus files that we don't know about and never remove. For
32813757 # instance it was reported that on HP-UX the gcc test will end up
3282 # making a dummy file named `D' -- because `-MD' means `put the output
3283 # in D'.
3758 # making a dummy file named 'D' -- because '-MD' means "put the output
3759 # in D".
3760 rm -rf conftest.dir
32843761 mkdir conftest.dir
32853762 # Copy depcomp to subdir because otherwise we won't find it if we're
32863763 # using a relative directory.
32983775 if test "$am_compiler_list" = ""; then
32993776 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
33003777 fi
3778 am__universal=false
3779 case " $depcc " in #(
3780 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3781 esac
3782
33013783 for depmode in $am_compiler_list; do
33023784 # Setup a source with many dependencies, because some compilers
33033785 # like to wrap large dependency lists on column 80 (with \), and
33093791 : > sub/conftest.c
33103792 for i in 1 2 3 4 5 6; do
33113793 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3312 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3313 # Solaris 8's {/usr,}/bin/sh.
3314 touch sub/conftst$i.h
3794 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3795 # Solaris 10 /bin/sh.
3796 echo '/* dummy */' > sub/conftst$i.h
33153797 done
33163798 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
33173799
3800 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3801 # mode. It turns out that the SunPro C++ compiler does not properly
3802 # handle '-M -o', and we need to detect this. Also, some Intel
3803 # versions had trouble with output in subdirs.
3804 am__obj=sub/conftest.${OBJEXT-o}
3805 am__minus_obj="-o $am__obj"
33183806 case $depmode in
3807 gcc)
3808 # This depmode causes a compiler race in universal mode.
3809 test "$am__universal" = false || continue
3810 ;;
33193811 nosideeffect)
3320 # after this tag, mechanisms are not by side-effect, so they'll
3321 # only be used when explicitly requested
3812 # After this tag, mechanisms are not by side-effect, so they'll
3813 # only be used when explicitly requested.
33223814 if test "x$enable_dependency_tracking" = xyes; then
33233815 continue
33243816 else
33253817 break
33263818 fi
33273819 ;;
3820 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3821 # This compiler won't grok '-c -o', but also, the minuso test has
3822 # not run yet. These depmodes are late enough in the game, and
3823 # so weak that their functioning should not be impacted.
3824 am__obj=conftest.${OBJEXT-o}
3825 am__minus_obj=
3826 ;;
33283827 none) break ;;
33293828 esac
3330 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3331 # mode. It turns out that the SunPro C++ compiler does not properly
3332 # handle `-M -o', and we need to detect this.
33333829 if depmode=$depmode \
3334 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3830 source=sub/conftest.c object=$am__obj \
33353831 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3336 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3832 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
33373833 >/dev/null 2>conftest.err &&
33383834 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33393835 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3340 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3836 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
33413837 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33423838 # icc doesn't choke on unknown options, it will just issue warnings
33433839 # or remarks (even with -Werror). So we grep stderr for any message
33613857 fi
33623858
33633859 fi
3364 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3365 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3861 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
33663862 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33673863
33683864 if
33763872 fi
33773873
33783874
3379 # Find a good install program. We prefer a C program (faster),
3380 # so one script is as good as another. But avoid the broken or
3381 # incompatible versions:
3382 # SysV /etc/install, /usr/sbin/install
3383 # SunOS /usr/etc/install
3384 # IRIX /sbin/install
3385 # AIX /bin/install
3386 # AmigaOS /C/install, which installs bootblocks on floppy discs
3387 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3388 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3389 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3390 # OS/2's system install, which has a completely different semantic
3391 # ./install, which can be erroneously created by make from ./install.sh.
3392 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3393 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3394 if test -z "$INSTALL"; then
3395 if test "${ac_cv_path_install+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 for as_dir in $PATH
3400 do
3401 IFS=$as_save_IFS
3402 test -z "$as_dir" && as_dir=.
3403 # Account for people who put trailing slashes in PATH elements.
3404 case $as_dir/ in
3405 ./ | .// | /cC/* | \
3406 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3407 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3408 /usr/ucb/* ) ;;
3409 *)
3410 # OSF1 and SCO ODT 3.0 have their own names for install.
3411 # Don't use installbsd from OSF since it installs stuff as root
3412 # by default.
3413 for ac_prog in ginstall scoinst install; do
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3416 if test $ac_prog = install &&
3417 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3418 # AIX install. It has an incompatible calling convention.
3419 :
3420 elif test $ac_prog = install &&
3421 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3422 # program-specific install script used by HP pwplus--don't use.
3423 :
3424 else
3425 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3426 break 3
3427 fi
3428 fi
3429 done
3430 done
3431 ;;
3432 esac
3433 done
3434 IFS=$as_save_IFS
3435
3436
3437 fi
3438 if test "${ac_cv_path_install+set}" = set; then
3439 INSTALL=$ac_cv_path_install
3440 else
3441 # As a last resort, use the slow shell script. Don't cache a
3442 # value for INSTALL within a source directory, because that will
3443 # break other packages using the cache if that directory is
3444 # removed, or if the value is a relative name.
3445 INSTALL=$ac_install_sh
3446 fi
3447 fi
3448 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3449 echo "${ECHO_T}$INSTALL" >&6; }
3450
3451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3452 # It thinks the first close brace ends the variable substitution.
3453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3454
3455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3456
3457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3458
3459 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3460 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3875
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3877 $as_echo_n "checking whether ln -s works... " >&6; }
34613878 LN_S=$as_ln_s
34623879 if test "$LN_S" = "ln -s"; then
3463 { echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6; }
3465 else
3466 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3467 echo "${ECHO_T}no, using $LN_S" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3881 $as_echo "yes" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3884 $as_echo "no, using $LN_S" >&6; }
34683885 fi
34693886
34703887
34713888 # Check whether --enable-x-gomii was given.
3472 if test "${enable_x_gomii+set}" = set; then
3889 if test "${enable_x_gomii+set}" = set; then :
34733890 enableval=$enable_x_gomii;
34743891 fi
34753892
34763893
34773894
3478
3479 { echo "$as_me:$LINENO: checking for beep in -lncurses" >&5
3480 echo $ECHO_N "checking for beep in -lncurses... $ECHO_C" >&6; }
3481 if test "${ac_cv_lib_ncurses_beep+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for beep in -lncurses" >&5
3896 $as_echo_n "checking for beep in -lncurses... " >&6; }
3897 if ${ac_cv_lib_ncurses_beep+:} false; then :
3898 $as_echo_n "(cached) " >&6
34833899 else
34843900 ac_check_lib_save_LIBS=$LIBS
34853901 LIBS="-lncurses $LIBS"
3486 cat >conftest.$ac_ext <<_ACEOF
3487 /* confdefs.h. */
3488 _ACEOF
3489 cat confdefs.h >>conftest.$ac_ext
3490 cat >>conftest.$ac_ext <<_ACEOF
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34913903 /* end confdefs.h. */
34923904
34933905 /* Override any GCC internal prototype to avoid an error.
35053917 return 0;
35063918 }
35073919 _ACEOF
3508 rm -f conftest.$ac_objext conftest$ac_exeext
3509 if { (ac_try="$ac_link"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_link") 2>conftest.er1
3516 ac_status=$?
3517 grep -v '^ *+' conftest.er1 >conftest.err
3518 rm -f conftest.er1
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } && {
3522 test -z "$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3524 } && test -s conftest$ac_exeext &&
3525 $as_test_x conftest$ac_exeext; then
3920 if ac_fn_c_try_link "$LINENO"; then :
35263921 ac_cv_lib_ncurses_beep=yes
35273922 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3530
3531 ac_cv_lib_ncurses_beep=no
3532 fi
3533
3534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3535 conftest$ac_exeext conftest.$ac_ext
3923 ac_cv_lib_ncurses_beep=no
3924 fi
3925 rm -f core conftest.err conftest.$ac_objext \
3926 conftest$ac_exeext conftest.$ac_ext
35363927 LIBS=$ac_check_lib_save_LIBS
35373928 fi
3538 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_beep" >&5
3539 echo "${ECHO_T}$ac_cv_lib_ncurses_beep" >&6; }
3540 if test $ac_cv_lib_ncurses_beep = yes; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_beep" >&5
3930 $as_echo "$ac_cv_lib_ncurses_beep" >&6; }
3931 if test "x$ac_cv_lib_ncurses_beep" = xyes; then :
35413932 cat >>confdefs.h <<_ACEOF
35423933 #define HAVE_LIBNCURSES 1
35433934 _ACEOF
35453936 LIBS="-lncurses $LIBS"
35463937
35473938 else
3548 { { echo "$as_me:$LINENO: error: \"gom needs libncurses.\"" >&5
3549 echo "$as_me: error: \"gom needs libncurses.\"" >&2;}
3550 { (exit 1); exit 1; }; }
3939 as_fn_error $? "\"gom needs libncurses.\"" "$LINENO" 5
35513940 fi
35523941
35533942
35573946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3561 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3950 $as_echo_n "checking how to run the C preprocessor... " >&6; }
35623951 # On Suns, sometimes $CPP names a directory.
35633952 if test -n "$CPP" && test -d "$CPP"; then
35643953 CPP=
35653954 fi
35663955 if test -z "$CPP"; then
3567 if test "${ac_cv_prog_CPP+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 if ${ac_cv_prog_CPP+:} false; then :
3957 $as_echo_n "(cached) " >&6
35693958 else
35703959 # Double quotes because CPP needs to be expanded
35713960 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
35793968 # <limits.h> exists even on freestanding compilers.
35803969 # On the NeXT, cc -E runs the code through the compiler's parser,
35813970 # not just through cpp. "Syntax error" is here to catch this case.
3582 cat >conftest.$ac_ext <<_ACEOF
3583 /* confdefs.h. */
3584 _ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873972 /* end confdefs.h. */
35883973 #ifdef __STDC__
35893974 # include <limits.h>
35923977 #endif
35933978 Syntax error
35943979 _ACEOF
3595 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 ac_status=$?
3603 grep -v '^ *+' conftest.er1 >conftest.err
3604 rm -f conftest.er1
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3610 }; then
3611 :
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3615
3980 if ac_fn_c_try_cpp "$LINENO"; then :
3981
3982 else
36163983 # Broken: fails on valid input.
36173984 continue
36183985 fi
3619
3620 rm -f conftest.err conftest.$ac_ext
3986 rm -f conftest.err conftest.i conftest.$ac_ext
36213987
36223988 # OK, works on sane cases. Now check whether nonexistent headers
36233989 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3625 /* confdefs.h. */
3626 _ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36293991 /* end confdefs.h. */
36303992 #include <ac_nonexistent.h>
36313993 _ACEOF
3632 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3636 esac
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639 ac_status=$?
3640 grep -v '^ *+' conftest.er1 >conftest.err
3641 rm -f conftest.er1
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev/null && {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 }; then
3994 if ac_fn_c_try_cpp "$LINENO"; then :
36483995 # Broken: success on invalid input.
36493996 continue
36503997 else
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3653
36543998 # Passes both tests.
36553999 ac_preproc_ok=:
36564000 break
36574001 fi
3658
3659 rm -f conftest.err conftest.$ac_ext
4002 rm -f conftest.err conftest.i conftest.$ac_ext
36604003
36614004 done
36624005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.$ac_ext
3664 if $ac_preproc_ok; then
4006 rm -f conftest.i conftest.err conftest.$ac_ext
4007 if $ac_preproc_ok; then :
36654008 break
36664009 fi
36674010
36734016 else
36744017 ac_cv_prog_CPP=$CPP
36754018 fi
3676 { echo "$as_me:$LINENO: result: $CPP" >&5
3677 echo "${ECHO_T}$CPP" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4020 $as_echo "$CPP" >&6; }
36784021 ac_preproc_ok=false
36794022 for ac_c_preproc_warn_flag in '' yes
36804023 do
36844027 # <limits.h> exists even on freestanding compilers.
36854028 # On the NeXT, cc -E runs the code through the compiler's parser,
36864029 # not just through cpp. "Syntax error" is here to catch this case.
3687 cat >conftest.$ac_ext <<_ACEOF
3688 /* confdefs.h. */
3689 _ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36924031 /* end confdefs.h. */
36934032 #ifdef __STDC__
36944033 # include <limits.h>
36974036 #endif
36984037 Syntax error
36994038 _ACEOF
3700 if { (ac_try="$ac_cpp conftest.$ac_ext"
3701 case "(($ac_try" in
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3704 esac
3705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3707 ac_status=$?
3708 grep -v '^ *+' conftest.er1 >conftest.err
3709 rm -f conftest.er1
3710 cat conftest.err >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } >/dev/null && {
3713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714 test ! -s conftest.err
3715 }; then
3716 :
3717 else
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3720
4039 if ac_fn_c_try_cpp "$LINENO"; then :
4040
4041 else
37214042 # Broken: fails on valid input.
37224043 continue
37234044 fi
3724
3725 rm -f conftest.err conftest.$ac_ext
4045 rm -f conftest.err conftest.i conftest.$ac_ext
37264046
37274047 # OK, works on sane cases. Now check whether nonexistent headers
37284048 # can be detected and how.
3729 cat >conftest.$ac_ext <<_ACEOF
3730 /* confdefs.h. */
3731 _ACEOF
3732 cat confdefs.h >>conftest.$ac_ext
3733 cat >>conftest.$ac_ext <<_ACEOF
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37344050 /* end confdefs.h. */
37354051 #include <ac_nonexistent.h>
37364052 _ACEOF
3737 if { (ac_try="$ac_cpp conftest.$ac_ext"
3738 case "(($ac_try" in
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3741 esac
3742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3744 ac_status=$?
3745 grep -v '^ *+' conftest.er1 >conftest.err
3746 rm -f conftest.er1
3747 cat conftest.err >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } >/dev/null && {
3750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3751 test ! -s conftest.err
3752 }; then
4053 if ac_fn_c_try_cpp "$LINENO"; then :
37534054 # Broken: success on invalid input.
37544055 continue
37554056 else
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3758
37594057 # Passes both tests.
37604058 ac_preproc_ok=:
37614059 break
37624060 fi
3763
3764 rm -f conftest.err conftest.$ac_ext
4061 rm -f conftest.err conftest.i conftest.$ac_ext
37654062
37664063 done
37674064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3768 rm -f conftest.err conftest.$ac_ext
3769 if $ac_preproc_ok; then
3770 :
3771 else
3772 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3773 See \`config.log' for more details." >&5
3774 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3775 See \`config.log' for more details." >&2;}
3776 { (exit 1); exit 1; }; }
4065 rm -f conftest.i conftest.err conftest.$ac_ext
4066 if $ac_preproc_ok; then :
4067
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4072 See \`config.log' for more details" "$LINENO" 5; }
37774073 fi
37784074
37794075 ac_ext=c
37834079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37844080
37854081
3786 { echo "$as_me:$LINENO: checking for X" >&5
3787 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4083 $as_echo_n "checking for X... " >&6; }
37884084
37894085
37904086 # Check whether --with-x was given.
3791 if test "${with_x+set}" = set; then
4087 if test "${with_x+set}" = set; then :
37924088 withval=$with_x;
37934089 fi
37944090
37984094 have_x=disabled
37994095 else
38004096 case $x_includes,$x_libraries in #(
3801 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3802 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3803 { (exit 1); exit 1; }; };; #(
3804 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4098 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4099 $as_echo_n "(cached) " >&6
38064100 else
38074101 # One or both of the vars are not set, and there is no cached value.
38084102 ac_x_includes=no ac_x_libraries=no
38184112 @echo libdir='${LIBDIR}'
38194113 _ACEOF
38204114 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4115 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38224116 for ac_var in incroot usrlibdir libdir; do
38234117 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
38244118 done
38254119 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3826 for ac_extension in a so sl; do
4120 for ac_extension in a so sl dylib la dll; do
38274121 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
38284122 test -f "$ac_im_libdir/libX11.$ac_extension"; then
38294123 ac_im_usrlibdir=$ac_im_libdir; break
38374131 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
38384132 esac
38394133 case $ac_im_usrlibdir in
3840 /usr/lib | /lib) ;;
4134 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
38414135 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
38424136 esac
38434137 fi
38494143 # Check X11 before X11Rn because it is often a symlink to the current release.
38504144 ac_x_header_dirs='
38514145 /usr/X11/include
4146 /usr/X11R7/include
38524147 /usr/X11R6/include
38534148 /usr/X11R5/include
38544149 /usr/X11R4/include
38554150
38564151 /usr/include/X11
4152 /usr/include/X11R7
38574153 /usr/include/X11R6
38584154 /usr/include/X11R5
38594155 /usr/include/X11R4
38604156
38614157 /usr/local/X11/include
4158 /usr/local/X11R7/include
38624159 /usr/local/X11R6/include
38634160 /usr/local/X11R5/include
38644161 /usr/local/X11R4/include
38654162
38664163 /usr/local/include/X11
4164 /usr/local/include/X11R7
38674165 /usr/local/include/X11R6
38684166 /usr/local/include/X11R5
38694167 /usr/local/include/X11R4
38854183 if test "$ac_x_includes" = no; then
38864184 # Guess where to find include files, by looking for Xlib.h.
38874185 # First, try using that file with no special directory specified.
3888 cat >conftest.$ac_ext <<_ACEOF
3889 /* confdefs.h. */
3890 _ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38934187 /* end confdefs.h. */
38944188 #include <X11/Xlib.h>
38954189 _ACEOF
3896 if { (ac_try="$ac_cpp conftest.$ac_ext"
3897 case "(($ac_try" in
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3900 esac
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3903 ac_status=$?
3904 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } >/dev/null && {
3909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 }; then
4190 if ac_fn_c_try_cpp "$LINENO"; then :
39124191 # We can compile using X headers with no special include directory.
39134192 ac_x_includes=
39144193 else
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3917
39184194 for ac_dir in $ac_x_header_dirs; do
39194195 if test -r "$ac_dir/X11/Xlib.h"; then
39204196 ac_x_includes=$ac_dir
39224198 fi
39234199 done
39244200 fi
3925
3926 rm -f conftest.err conftest.$ac_ext
4201 rm -f conftest.err conftest.i conftest.$ac_ext
39274202 fi # $ac_x_includes = no
39284203
39294204 if test "$ac_x_libraries" = no; then
39324207 # Don't add to $LIBS permanently.
39334208 ac_save_LIBS=$LIBS
39344209 LIBS="-lX11 $LIBS"
3935 cat >conftest.$ac_ext <<_ACEOF
3936 /* confdefs.h. */
3937 _ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39404211 /* end confdefs.h. */
39414212 #include <X11/Xlib.h>
39424213 int
39474218 return 0;
39484219 }
39494220 _ACEOF
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3952 case "(($ac_try" in
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3955 esac
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_link") 2>conftest.er1
3958 ac_status=$?
3959 grep -v '^ *+' conftest.er1 >conftest.err
3960 rm -f conftest.er1
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && {
3964 test -z "$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3966 } && test -s conftest$ac_exeext &&
3967 $as_test_x conftest$ac_exeext; then
4221 if ac_fn_c_try_link "$LINENO"; then :
39684222 LIBS=$ac_save_LIBS
39694223 # We can link X programs with no special library path.
39704224 ac_x_libraries=
39714225 else
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3974
3975 LIBS=$ac_save_LIBS
3976 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4226 LIBS=$ac_save_LIBS
4227 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
39774228 do
39784229 # Don't even attempt the hair of trying to link an X program!
3979 for ac_extension in a so sl; do
4230 for ac_extension in a so sl dylib la dll; do
39804231 if test -r "$ac_dir/libX11.$ac_extension"; then
39814232 ac_x_libraries=$ac_dir
39824233 break 2
39844235 done
39854236 done
39864237 fi
3987
3988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3989 conftest$ac_exeext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext \
4239 conftest$ac_exeext conftest.$ac_ext
39904240 fi # $ac_x_libraries = no
39914241
39924242 case $ac_x_includes,$ac_x_libraries in #(
40074257 fi # $with_x != no
40084258
40094259 if test "$have_x" != yes; then
4010 { echo "$as_me:$LINENO: result: $have_x" >&5
4011 echo "${ECHO_T}$have_x" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4261 $as_echo "$have_x" >&6; }
40124262 no_x=yes
40134263 else
40144264 # If each of the values was on the command line, it overrides each guess.
40184268 ac_cv_have_x="have_x=yes\
40194269 ac_x_includes='$x_includes'\
40204270 ac_x_libraries='$x_libraries'"
4021 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4022 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4272 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
40234273 fi
40244274
40254275 if test "$no_x" = yes; then
40264276 # Not all programs may use this symbol, but it does not hurt to define it.
40274277
4028 cat >>confdefs.h <<\_ACEOF
4029 #define X_DISPLAY_MISSING 1
4030 _ACEOF
4278 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
40314279
40324280 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
40334281 else
40404288 X_LIBS="$X_LIBS -L$x_libraries"
40414289 # For Solaris; some versions of Sun CC require a space after -R and
40424290 # others require no space. Words are not sufficient . . . .
4043 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4044 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
4292 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
40454293 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
40464294 ac_xsave_c_werror_flag=$ac_c_werror_flag
40474295 ac_c_werror_flag=yes
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534297 /* end confdefs.h. */
40544298
40554299 int
40604304 return 0;
40614305 }
40624306 _ACEOF
4063 rm -f conftest.$ac_objext conftest$ac_exeext
4064 if { (ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_link") 2>conftest.er1
4071 ac_status=$?
4072 grep -v '^ *+' conftest.er1 >conftest.err
4073 rm -f conftest.er1
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && {
4077 test -z "$ac_c_werror_flag" ||
4078 test ! -s conftest.err
4079 } && test -s conftest$ac_exeext &&
4080 $as_test_x conftest$ac_exeext; then
4081 { echo "$as_me:$LINENO: result: no" >&5
4082 echo "${ECHO_T}no" >&6; }
4307 if ac_fn_c_try_link "$LINENO"; then :
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
40834310 X_LIBS="$X_LIBS -R$x_libraries"
40844311 else
4085 echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.$ac_ext >&5
4087
4088 LIBS="$ac_xsave_LIBS -R $x_libraries"
4089 cat >conftest.$ac_ext <<_ACEOF
4090 /* confdefs.h. */
4091 _ACEOF
4092 cat confdefs.h >>conftest.$ac_ext
4093 cat >>conftest.$ac_ext <<_ACEOF
4312 LIBS="$ac_xsave_LIBS -R $x_libraries"
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40944314 /* end confdefs.h. */
40954315
40964316 int
41014321 return 0;
41024322 }
41034323 _ACEOF
4104 rm -f conftest.$ac_objext conftest$ac_exeext
4105 if { (ac_try="$ac_link"
4106 case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4109 esac
4110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111 (eval "$ac_link") 2>conftest.er1
4112 ac_status=$?
4113 grep -v '^ *+' conftest.er1 >conftest.err
4114 rm -f conftest.er1
4115 cat conftest.err >&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } && {
4118 test -z "$ac_c_werror_flag" ||
4119 test ! -s conftest.err
4120 } && test -s conftest$ac_exeext &&
4121 $as_test_x conftest$ac_exeext; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4324 if ac_fn_c_try_link "$LINENO"; then :
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4326 $as_echo "yes" >&6; }
41244327 X_LIBS="$X_LIBS -R $x_libraries"
41254328 else
4126 echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 { echo "$as_me:$LINENO: result: neither works" >&5
4130 echo "${ECHO_T}neither works" >&6; }
4131 fi
4132
4133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4134 conftest$ac_exeext conftest.$ac_ext
4135 fi
4136
4137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4138 conftest$ac_exeext conftest.$ac_ext
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
4330 $as_echo "neither works" >&6; }
4331 fi
4332 rm -f core conftest.err conftest.$ac_objext \
4333 conftest$ac_exeext conftest.$ac_ext
4334 fi
4335 rm -f core conftest.err conftest.$ac_objext \
4336 conftest$ac_exeext conftest.$ac_ext
41394337 ac_c_werror_flag=$ac_xsave_c_werror_flag
41404338 LIBS=$ac_xsave_LIBS
41414339 fi
41514349 # libraries were built with DECnet support. And Karl Berry says
41524350 # the Alpha needs dnet_stub (dnet does not exist).
41534351 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4154 cat >conftest.$ac_ext <<_ACEOF
4155 /* confdefs.h. */
4156 _ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594353 /* end confdefs.h. */
41604354
41614355 /* Override any GCC internal prototype to avoid an error.
41734367 return 0;
41744368 }
41754369 _ACEOF
4176 rm -f conftest.$ac_objext conftest$ac_exeext
4177 if { (ac_try="$ac_link"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4183 (eval "$ac_link") 2>conftest.er1
4184 ac_status=$?
4185 grep -v '^ *+' conftest.er1 >conftest.err
4186 rm -f conftest.er1
4187 cat conftest.err >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } && {
4190 test -z "$ac_c_werror_flag" ||
4191 test ! -s conftest.err
4192 } && test -s conftest$ac_exeext &&
4193 $as_test_x conftest$ac_exeext; then
4194 :
4195 else
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4198
4199 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4200 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4201 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if ac_fn_c_try_link "$LINENO"; then :
4371
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
4374 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
4375 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
4376 $as_echo_n "(cached) " >&6
42034377 else
42044378 ac_check_lib_save_LIBS=$LIBS
42054379 LIBS="-ldnet $LIBS"
4206 cat >conftest.$ac_ext <<_ACEOF
4207 /* confdefs.h. */
4208 _ACEOF
4209 cat confdefs.h >>conftest.$ac_ext
4210 cat >>conftest.$ac_ext <<_ACEOF
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42114381 /* end confdefs.h. */
42124382
42134383 /* Override any GCC internal prototype to avoid an error.
42254395 return 0;
42264396 }
42274397 _ACEOF
4228 rm -f conftest.$ac_objext conftest$ac_exeext
4229 if { (ac_try="$ac_link"
4230 case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233 esac
4234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235 (eval "$ac_link") 2>conftest.er1
4236 ac_status=$?
4237 grep -v '^ *+' conftest.er1 >conftest.err
4238 rm -f conftest.er1
4239 cat conftest.err >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } && {
4242 test -z "$ac_c_werror_flag" ||
4243 test ! -s conftest.err
4244 } && test -s conftest$ac_exeext &&
4245 $as_test_x conftest$ac_exeext; then
4398 if ac_fn_c_try_link "$LINENO"; then :
42464399 ac_cv_lib_dnet_dnet_ntoa=yes
42474400 else
4248 echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.$ac_ext >&5
4250
4251 ac_cv_lib_dnet_dnet_ntoa=no
4252 fi
4253
4254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4255 conftest$ac_exeext conftest.$ac_ext
4401 ac_cv_lib_dnet_dnet_ntoa=no
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext \
4404 conftest$ac_exeext conftest.$ac_ext
42564405 LIBS=$ac_check_lib_save_LIBS
42574406 fi
4258 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4259 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4260 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4408 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4409 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
42614410 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
42624411 fi
42634412
42644413 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4265 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4266 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4267 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
4415 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
4416 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
4417 $as_echo_n "(cached) " >&6
42694418 else
42704419 ac_check_lib_save_LIBS=$LIBS
42714420 LIBS="-ldnet_stub $LIBS"
4272 cat >conftest.$ac_ext <<_ACEOF
4273 /* confdefs.h. */
4274 _ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42774422 /* end confdefs.h. */
42784423
42794424 /* Override any GCC internal prototype to avoid an error.
42914436 return 0;
42924437 }
42934438 _ACEOF
4294 rm -f conftest.$ac_objext conftest$ac_exeext
4295 if { (ac_try="$ac_link"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_link") 2>conftest.er1
4302 ac_status=$?
4303 grep -v '^ *+' conftest.er1 >conftest.err
4304 rm -f conftest.er1
4305 cat conftest.err >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } && {
4308 test -z "$ac_c_werror_flag" ||
4309 test ! -s conftest.err
4310 } && test -s conftest$ac_exeext &&
4311 $as_test_x conftest$ac_exeext; then
4439 if ac_fn_c_try_link "$LINENO"; then :
43124440 ac_cv_lib_dnet_stub_dnet_ntoa=yes
43134441 else
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4316
4317 ac_cv_lib_dnet_stub_dnet_ntoa=no
4318 fi
4319
4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4321 conftest$ac_exeext conftest.$ac_ext
4442 ac_cv_lib_dnet_stub_dnet_ntoa=no
4443 fi
4444 rm -f core conftest.err conftest.$ac_objext \
4445 conftest$ac_exeext conftest.$ac_ext
43224446 LIBS=$ac_check_lib_save_LIBS
43234447 fi
4324 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4449 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4450 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
43274451 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
43284452 fi
43294453
43304454 fi
43314455 fi
4332
4333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4334 conftest$ac_exeext conftest.$ac_ext
4456 rm -f core conftest.err conftest.$ac_objext \
4457 conftest$ac_exeext conftest.$ac_ext
43354458 LIBS="$ac_xsave_LIBS"
43364459
43374460 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
43424465 # on Irix 5.2, according to T.E. Dickey.
43434466 # The functions gethostbyname, getservbyname, and inet_addr are
43444467 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4345 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4346 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4347 if test "${ac_cv_func_gethostbyname+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 else
4350 cat >conftest.$ac_ext <<_ACEOF
4351 /* confdefs.h. */
4352 _ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4356 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4358 #define gethostbyname innocuous_gethostbyname
4359
4360 /* System header to define __stub macros and hopefully few prototypes,
4361 which can conflict with char gethostbyname (); below.
4362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4363 <limits.h> exists even on freestanding compilers. */
4364
4365 #ifdef __STDC__
4366 # include <limits.h>
4367 #else
4368 # include <assert.h>
4369 #endif
4370
4371 #undef gethostbyname
4372
4373 /* Override any GCC internal prototype to avoid an error.
4374 Use char because int might match the return type of a GCC
4375 builtin and then its argument prototype would still apply. */
4376 #ifdef __cplusplus
4377 extern "C"
4378 #endif
4379 char gethostbyname ();
4380 /* The GNU C library defines this for functions which it implements
4381 to always fail with ENOSYS. Some functions are actually named
4382 something starting with __ and the normal name is an alias. */
4383 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4384 choke me
4385 #endif
4386
4387 int
4388 main ()
4389 {
4390 return gethostbyname ();
4391 ;
4392 return 0;
4393 }
4394 _ACEOF
4395 rm -f conftest.$ac_objext conftest$ac_exeext
4396 if { (ac_try="$ac_link"
4397 case "(($ac_try" in
4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399 *) ac_try_echo=$ac_try;;
4400 esac
4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4402 (eval "$ac_link") 2>conftest.er1
4403 ac_status=$?
4404 grep -v '^ *+' conftest.er1 >conftest.err
4405 rm -f conftest.er1
4406 cat conftest.err >&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); } && {
4409 test -z "$ac_c_werror_flag" ||
4410 test ! -s conftest.err
4411 } && test -s conftest$ac_exeext &&
4412 $as_test_x conftest$ac_exeext; then
4413 ac_cv_func_gethostbyname=yes
4414 else
4415 echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.$ac_ext >&5
4417
4418 ac_cv_func_gethostbyname=no
4419 fi
4420
4421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4422 conftest$ac_exeext conftest.$ac_ext
4423 fi
4424 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4425 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4468 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
4469 if test "x$ac_cv_func_gethostbyname" = xyes; then :
4470
4471 fi
44264472
44274473 if test $ac_cv_func_gethostbyname = no; then
4428 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4429 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4430 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4475 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4476 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
4477 $as_echo_n "(cached) " >&6
44324478 else
44334479 ac_check_lib_save_LIBS=$LIBS
44344480 LIBS="-lnsl $LIBS"
4435 cat >conftest.$ac_ext <<_ACEOF
4436 /* confdefs.h. */
4437 _ACEOF
4438 cat confdefs.h >>conftest.$ac_ext
4439 cat >>conftest.$ac_ext <<_ACEOF
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44404482 /* end confdefs.h. */
44414483
44424484 /* Override any GCC internal prototype to avoid an error.
44544496 return 0;
44554497 }
44564498 _ACEOF
4457 rm -f conftest.$ac_objext conftest$ac_exeext
4458 if { (ac_try="$ac_link"
4459 case "(($ac_try" in
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4462 esac
4463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4464 (eval "$ac_link") 2>conftest.er1
4465 ac_status=$?
4466 grep -v '^ *+' conftest.er1 >conftest.err
4467 rm -f conftest.er1
4468 cat conftest.err >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } && {
4471 test -z "$ac_c_werror_flag" ||
4472 test ! -s conftest.err
4473 } && test -s conftest$ac_exeext &&
4474 $as_test_x conftest$ac_exeext; then
4499 if ac_fn_c_try_link "$LINENO"; then :
44754500 ac_cv_lib_nsl_gethostbyname=yes
44764501 else
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4479
4480 ac_cv_lib_nsl_gethostbyname=no
4481 fi
4482
4483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4484 conftest$ac_exeext conftest.$ac_ext
4502 ac_cv_lib_nsl_gethostbyname=no
4503 fi
4504 rm -f core conftest.err conftest.$ac_objext \
4505 conftest$ac_exeext conftest.$ac_ext
44854506 LIBS=$ac_check_lib_save_LIBS
44864507 fi
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4488 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4489 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4509 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4510 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
44904511 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
44914512 fi
44924513
44934514 if test $ac_cv_lib_nsl_gethostbyname = no; then
4494 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4495 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4496 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
4516 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
4517 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
4518 $as_echo_n "(cached) " >&6
44984519 else
44994520 ac_check_lib_save_LIBS=$LIBS
45004521 LIBS="-lbsd $LIBS"
4501 cat >conftest.$ac_ext <<_ACEOF
4502 /* confdefs.h. */
4503 _ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45064523 /* end confdefs.h. */
45074524
45084525 /* Override any GCC internal prototype to avoid an error.
45204537 return 0;
45214538 }
45224539 _ACEOF
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (ac_try="$ac_link"
4525 case "(($ac_try" in
4526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4528 esac
4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4530 (eval "$ac_link") 2>conftest.er1
4531 ac_status=$?
4532 grep -v '^ *+' conftest.er1 >conftest.err
4533 rm -f conftest.er1
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } && {
4537 test -z "$ac_c_werror_flag" ||
4538 test ! -s conftest.err
4539 } && test -s conftest$ac_exeext &&
4540 $as_test_x conftest$ac_exeext; then
4540 if ac_fn_c_try_link "$LINENO"; then :
45414541 ac_cv_lib_bsd_gethostbyname=yes
45424542 else
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4545
4546 ac_cv_lib_bsd_gethostbyname=no
4547 fi
4548
4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4550 conftest$ac_exeext conftest.$ac_ext
4543 ac_cv_lib_bsd_gethostbyname=no
4544 fi
4545 rm -f core conftest.err conftest.$ac_objext \
4546 conftest$ac_exeext conftest.$ac_ext
45514547 LIBS=$ac_check_lib_save_LIBS
45524548 fi
4553 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4554 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4555 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
4550 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
4551 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
45564552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
45574553 fi
45584554
45664562 # variants that don't use the name server (or something). -lsocket
45674563 # must be given before -lnsl if both are needed. We assume that
45684564 # if connect needs -lnsl, so does gethostbyname.
4569 { echo "$as_me:$LINENO: checking for connect" >&5
4570 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4571 if test "${ac_cv_func_connect+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 else
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4580 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4582 #define connect innocuous_connect
4583
4584 /* System header to define __stub macros and hopefully few prototypes,
4585 which can conflict with char connect (); below.
4586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4587 <limits.h> exists even on freestanding compilers. */
4588
4589 #ifdef __STDC__
4590 # include <limits.h>
4591 #else
4592 # include <assert.h>
4593 #endif
4594
4595 #undef connect
4596
4597 /* Override any GCC internal prototype to avoid an error.
4598 Use char because int might match the return type of a GCC
4599 builtin and then its argument prototype would still apply. */
4600 #ifdef __cplusplus
4601 extern "C"
4602 #endif
4603 char connect ();
4604 /* The GNU C library defines this for functions which it implements
4605 to always fail with ENOSYS. Some functions are actually named
4606 something starting with __ and the normal name is an alias. */
4607 #if defined __stub_connect || defined __stub___connect
4608 choke me
4609 #endif
4610
4611 int
4612 main ()
4613 {
4614 return connect ();
4615 ;
4616 return 0;
4617 }
4618 _ACEOF
4619 rm -f conftest.$ac_objext conftest$ac_exeext
4620 if { (ac_try="$ac_link"
4621 case "(($ac_try" in
4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
4624 esac
4625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4626 (eval "$ac_link") 2>conftest.er1
4627 ac_status=$?
4628 grep -v '^ *+' conftest.er1 >conftest.err
4629 rm -f conftest.er1
4630 cat conftest.err >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } && {
4633 test -z "$ac_c_werror_flag" ||
4634 test ! -s conftest.err
4635 } && test -s conftest$ac_exeext &&
4636 $as_test_x conftest$ac_exeext; then
4637 ac_cv_func_connect=yes
4638 else
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4641
4642 ac_cv_func_connect=no
4643 fi
4644
4645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4646 conftest$ac_exeext conftest.$ac_ext
4647 fi
4648 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4649 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
4566 if test "x$ac_cv_func_connect" = xyes; then :
4567
4568 fi
46504569
46514570 if test $ac_cv_func_connect = no; then
4652 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4653 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4654 if test "${ac_cv_lib_socket_connect+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
4572 $as_echo_n "checking for connect in -lsocket... " >&6; }
4573 if ${ac_cv_lib_socket_connect+:} false; then :
4574 $as_echo_n "(cached) " >&6
46564575 else
46574576 ac_check_lib_save_LIBS=$LIBS
46584577 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4659 cat >conftest.$ac_ext <<_ACEOF
4660 /* confdefs.h. */
4661 _ACEOF
4662 cat confdefs.h >>conftest.$ac_ext
4663 cat >>conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46644579 /* end confdefs.h. */
46654580
46664581 /* Override any GCC internal prototype to avoid an error.
46784593 return 0;
46794594 }
46804595 _ACEOF
4681 rm -f conftest.$ac_objext conftest$ac_exeext
4682 if { (ac_try="$ac_link"
4683 case "(($ac_try" in
4684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685 *) ac_try_echo=$ac_try;;
4686 esac
4687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688 (eval "$ac_link") 2>conftest.er1
4689 ac_status=$?
4690 grep -v '^ *+' conftest.er1 >conftest.err
4691 rm -f conftest.er1
4692 cat conftest.err >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } && {
4695 test -z "$ac_c_werror_flag" ||
4696 test ! -s conftest.err
4697 } && test -s conftest$ac_exeext &&
4698 $as_test_x conftest$ac_exeext; then
4596 if ac_fn_c_try_link "$LINENO"; then :
46994597 ac_cv_lib_socket_connect=yes
47004598 else
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.$ac_ext >&5
4703
4704 ac_cv_lib_socket_connect=no
4705 fi
4706
4707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4708 conftest$ac_exeext conftest.$ac_ext
4599 ac_cv_lib_socket_connect=no
4600 fi
4601 rm -f core conftest.err conftest.$ac_objext \
4602 conftest$ac_exeext conftest.$ac_ext
47094603 LIBS=$ac_check_lib_save_LIBS
47104604 fi
4711 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4712 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4713 if test $ac_cv_lib_socket_connect = yes; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
4606 $as_echo "$ac_cv_lib_socket_connect" >&6; }
4607 if test "x$ac_cv_lib_socket_connect" = xyes; then :
47144608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
47154609 fi
47164610
47174611 fi
47184612
47194613 # Guillermo Gomez says -lposix is necessary on A/UX.
4720 { echo "$as_me:$LINENO: checking for remove" >&5
4721 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4722 if test "${ac_cv_func_remove+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 else
4725 cat >conftest.$ac_ext <<_ACEOF
4726 /* confdefs.h. */
4727 _ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4733 #define remove innocuous_remove
4734
4735 /* System header to define __stub macros and hopefully few prototypes,
4736 which can conflict with char remove (); below.
4737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4738 <limits.h> exists even on freestanding compilers. */
4739
4740 #ifdef __STDC__
4741 # include <limits.h>
4742 #else
4743 # include <assert.h>
4744 #endif
4745
4746 #undef remove
4747
4748 /* Override any GCC internal prototype to avoid an error.
4749 Use char because int might match the return type of a GCC
4750 builtin and then its argument prototype would still apply. */
4751 #ifdef __cplusplus
4752 extern "C"
4753 #endif
4754 char remove ();
4755 /* The GNU C library defines this for functions which it implements
4756 to always fail with ENOSYS. Some functions are actually named
4757 something starting with __ and the normal name is an alias. */
4758 #if defined __stub_remove || defined __stub___remove
4759 choke me
4760 #endif
4761
4762 int
4763 main ()
4764 {
4765 return remove ();
4766 ;
4767 return 0;
4768 }
4769 _ACEOF
4770 rm -f conftest.$ac_objext conftest$ac_exeext
4771 if { (ac_try="$ac_link"
4772 case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775 esac
4776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4777 (eval "$ac_link") 2>conftest.er1
4778 ac_status=$?
4779 grep -v '^ *+' conftest.er1 >conftest.err
4780 rm -f conftest.er1
4781 cat conftest.err >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); } && {
4784 test -z "$ac_c_werror_flag" ||
4785 test ! -s conftest.err
4786 } && test -s conftest$ac_exeext &&
4787 $as_test_x conftest$ac_exeext; then
4788 ac_cv_func_remove=yes
4789 else
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4792
4793 ac_cv_func_remove=no
4794 fi
4795
4796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4797 conftest$ac_exeext conftest.$ac_ext
4798 fi
4799 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4800 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4614 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
4615 if test "x$ac_cv_func_remove" = xyes; then :
4616
4617 fi
48014618
48024619 if test $ac_cv_func_remove = no; then
4803 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4804 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4805 if test "${ac_cv_lib_posix_remove+set}" = set; then
4806 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
4621 $as_echo_n "checking for remove in -lposix... " >&6; }
4622 if ${ac_cv_lib_posix_remove+:} false; then :
4623 $as_echo_n "(cached) " >&6
48074624 else
48084625 ac_check_lib_save_LIBS=$LIBS
48094626 LIBS="-lposix $LIBS"
4810 cat >conftest.$ac_ext <<_ACEOF
4811 /* confdefs.h. */
4812 _ACEOF
4813 cat confdefs.h >>conftest.$ac_ext
4814 cat >>conftest.$ac_ext <<_ACEOF
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48154628 /* end confdefs.h. */
48164629
48174630 /* Override any GCC internal prototype to avoid an error.
48294642 return 0;
48304643 }
48314644 _ACEOF
4832 rm -f conftest.$ac_objext conftest$ac_exeext
4833 if { (ac_try="$ac_link"
4834 case "(($ac_try" in
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4837 esac
4838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4839 (eval "$ac_link") 2>conftest.er1
4840 ac_status=$?
4841 grep -v '^ *+' conftest.er1 >conftest.err
4842 rm -f conftest.er1
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } && {
4846 test -z "$ac_c_werror_flag" ||
4847 test ! -s conftest.err
4848 } && test -s conftest$ac_exeext &&
4849 $as_test_x conftest$ac_exeext; then
4645 if ac_fn_c_try_link "$LINENO"; then :
48504646 ac_cv_lib_posix_remove=yes
48514647 else
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4854
4855 ac_cv_lib_posix_remove=no
4856 fi
4857
4858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4859 conftest$ac_exeext conftest.$ac_ext
4648 ac_cv_lib_posix_remove=no
4649 fi
4650 rm -f core conftest.err conftest.$ac_objext \
4651 conftest$ac_exeext conftest.$ac_ext
48604652 LIBS=$ac_check_lib_save_LIBS
48614653 fi
4862 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4863 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4864 if test $ac_cv_lib_posix_remove = yes; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
4655 $as_echo "$ac_cv_lib_posix_remove" >&6; }
4656 if test "x$ac_cv_lib_posix_remove" = xyes; then :
48654657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
48664658 fi
48674659
48684660 fi
48694661
48704662 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4871 { echo "$as_me:$LINENO: checking for shmat" >&5
4872 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4873 if test "${ac_cv_func_shmat+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 else
4876 cat >conftest.$ac_ext <<_ACEOF
4877 /* confdefs.h. */
4878 _ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4882 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4884 #define shmat innocuous_shmat
4885
4886 /* System header to define __stub macros and hopefully few prototypes,
4887 which can conflict with char shmat (); below.
4888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4889 <limits.h> exists even on freestanding compilers. */
4890
4891 #ifdef __STDC__
4892 # include <limits.h>
4893 #else
4894 # include <assert.h>
4895 #endif
4896
4897 #undef shmat
4898
4899 /* Override any GCC internal prototype to avoid an error.
4900 Use char because int might match the return type of a GCC
4901 builtin and then its argument prototype would still apply. */
4902 #ifdef __cplusplus
4903 extern "C"
4904 #endif
4905 char shmat ();
4906 /* The GNU C library defines this for functions which it implements
4907 to always fail with ENOSYS. Some functions are actually named
4908 something starting with __ and the normal name is an alias. */
4909 #if defined __stub_shmat || defined __stub___shmat
4910 choke me
4911 #endif
4912
4913 int
4914 main ()
4915 {
4916 return shmat ();
4917 ;
4918 return 0;
4919 }
4920 _ACEOF
4921 rm -f conftest.$ac_objext conftest$ac_exeext
4922 if { (ac_try="$ac_link"
4923 case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_link") 2>conftest.er1
4929 ac_status=$?
4930 grep -v '^ *+' conftest.er1 >conftest.err
4931 rm -f conftest.er1
4932 cat conftest.err >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } && {
4935 test -z "$ac_c_werror_flag" ||
4936 test ! -s conftest.err
4937 } && test -s conftest$ac_exeext &&
4938 $as_test_x conftest$ac_exeext; then
4939 ac_cv_func_shmat=yes
4940 else
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4943
4944 ac_cv_func_shmat=no
4945 fi
4946
4947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4948 conftest$ac_exeext conftest.$ac_ext
4949 fi
4950 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4951 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4663 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
4664 if test "x$ac_cv_func_shmat" = xyes; then :
4665
4666 fi
49524667
49534668 if test $ac_cv_func_shmat = no; then
4954 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4955 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4956 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
4670 $as_echo_n "checking for shmat in -lipc... " >&6; }
4671 if ${ac_cv_lib_ipc_shmat+:} false; then :
4672 $as_echo_n "(cached) " >&6
49584673 else
49594674 ac_check_lib_save_LIBS=$LIBS
49604675 LIBS="-lipc $LIBS"
4961 cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h. */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49664677 /* end confdefs.h. */
49674678
49684679 /* Override any GCC internal prototype to avoid an error.
49804691 return 0;
49814692 }
49824693 _ACEOF
4983 rm -f conftest.$ac_objext conftest$ac_exeext
4984 if { (ac_try="$ac_link"
4985 case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4988 esac
4989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990 (eval "$ac_link") 2>conftest.er1
4991 ac_status=$?
4992 grep -v '^ *+' conftest.er1 >conftest.err
4993 rm -f conftest.er1
4994 cat conftest.err >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } && {
4997 test -z "$ac_c_werror_flag" ||
4998 test ! -s conftest.err
4999 } && test -s conftest$ac_exeext &&
5000 $as_test_x conftest$ac_exeext; then
4694 if ac_fn_c_try_link "$LINENO"; then :
50014695 ac_cv_lib_ipc_shmat=yes
50024696 else
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5005
5006 ac_cv_lib_ipc_shmat=no
5007 fi
5008
5009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5010 conftest$ac_exeext conftest.$ac_ext
4697 ac_cv_lib_ipc_shmat=no
4698 fi
4699 rm -f core conftest.err conftest.$ac_objext \
4700 conftest$ac_exeext conftest.$ac_ext
50114701 LIBS=$ac_check_lib_save_LIBS
50124702 fi
5013 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5014 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5015 if test $ac_cv_lib_ipc_shmat = yes; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
4704 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
4705 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
50164706 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
50174707 fi
50184708
50284718 # These have to be linked with before -lX11, unlike the other
50294719 # libraries we check for below, so use a different variable.
50304720 # John Interrante, Karl Berry
5031 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5032 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5033 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5034 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
4722 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
4723 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
4724 $as_echo_n "(cached) " >&6
50354725 else
50364726 ac_check_lib_save_LIBS=$LIBS
50374727 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5038 cat >conftest.$ac_ext <<_ACEOF
5039 /* confdefs.h. */
5040 _ACEOF
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434729 /* end confdefs.h. */
50444730
50454731 /* Override any GCC internal prototype to avoid an error.
50574743 return 0;
50584744 }
50594745 _ACEOF
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5062 case "(($ac_try" in
5063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5065 esac
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5068 ac_status=$?
5069 grep -v '^ *+' conftest.er1 >conftest.err
5070 rm -f conftest.er1
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest$ac_exeext &&
5077 $as_test_x conftest$ac_exeext; then
4746 if ac_fn_c_try_link "$LINENO"; then :
50784747 ac_cv_lib_ICE_IceConnectionNumber=yes
50794748 else
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5082
5083 ac_cv_lib_ICE_IceConnectionNumber=no
5084 fi
5085
5086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087 conftest$ac_exeext conftest.$ac_ext
4749 ac_cv_lib_ICE_IceConnectionNumber=no
4750 fi
4751 rm -f core conftest.err conftest.$ac_objext \
4752 conftest$ac_exeext conftest.$ac_ext
50884753 LIBS=$ac_check_lib_save_LIBS
50894754 fi
5090 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5091 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5092 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4756 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4757 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
50934758 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
50944759 fi
50954760
51014766 GOM_CPPFLAGS="${GOM_CPPFLAGS} -I/usr/X11R6/include"
51024767 GOM_CFLAGS="${GOM_CFLAGS} -L${x_libraries}"
51034768
5104
5105 { echo "$as_me:$LINENO: checking for main in -lX11" >&5
5106 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6; }
5107 if test "${ac_cv_lib_X11_main+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
4770 $as_echo_n "checking for main in -lX11... " >&6; }
4771 if ${ac_cv_lib_X11_main+:} false; then :
4772 $as_echo_n "(cached) " >&6
51094773 else
51104774 ac_check_lib_save_LIBS=$LIBS
51114775 LIBS="-lX11 ${GOM_CFLAGS} $LIBS"
5112 cat >conftest.$ac_ext <<_ACEOF
5113 /* confdefs.h. */
5114 _ACEOF
5115 cat confdefs.h >>conftest.$ac_ext
5116 cat >>conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51174777 /* end confdefs.h. */
51184778
51194779
51254785 return 0;
51264786 }
51274787 _ACEOF
5128 rm -f conftest.$ac_objext conftest$ac_exeext
5129 if { (ac_try="$ac_link"
5130 case "(($ac_try" in
5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5133 esac
5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_link") 2>conftest.er1
5136 ac_status=$?
5137 grep -v '^ *+' conftest.er1 >conftest.err
5138 rm -f conftest.er1
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } && {
5142 test -z "$ac_c_werror_flag" ||
5143 test ! -s conftest.err
5144 } && test -s conftest$ac_exeext &&
5145 $as_test_x conftest$ac_exeext; then
4788 if ac_fn_c_try_link "$LINENO"; then :
51464789 ac_cv_lib_X11_main=yes
51474790 else
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5150
5151 ac_cv_lib_X11_main=no
5152 fi
5153
5154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5155 conftest$ac_exeext conftest.$ac_ext
4791 ac_cv_lib_X11_main=no
4792 fi
4793 rm -f core conftest.err conftest.$ac_objext \
4794 conftest$ac_exeext conftest.$ac_ext
51564795 LIBS=$ac_check_lib_save_LIBS
51574796 fi
5158 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
5159 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6; }
5160 if test $ac_cv_lib_X11_main = yes; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
4798 $as_echo "$ac_cv_lib_X11_main" >&6; }
4799 if test "x$ac_cv_lib_X11_main" = xyes; then :
51614800 cat >>confdefs.h <<_ACEOF
51624801 #define HAVE_LIBX11 1
51634802 _ACEOF
51654804 LIBS="-lX11 $LIBS"
51664805
51674806 else
5168 { { echo "$as_me:$LINENO: error: \"x-gomii needs libX11.\"" >&5
5169 echo "$as_me: error: \"x-gomii needs libX11.\"" >&2;}
5170 { (exit 1); exit 1; }; }
5171 fi
5172
5173
5174 { echo "$as_me:$LINENO: checking for main in -lolgx" >&5
5175 echo $ECHO_N "checking for main in -lolgx... $ECHO_C" >&6; }
5176 if test "${ac_cv_lib_olgx_main+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 as_fn_error $? "\"x-gomii needs libX11.\"" "$LINENO" 5
4808 fi
4809
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lolgx" >&5
4811 $as_echo_n "checking for main in -lolgx... " >&6; }
4812 if ${ac_cv_lib_olgx_main+:} false; then :
4813 $as_echo_n "(cached) " >&6
51784814 else
51794815 ac_check_lib_save_LIBS=$LIBS
51804816 LIBS="-lolgx ${GOM_CFLAGS} $LIBS"
5181 cat >conftest.$ac_ext <<_ACEOF
5182 /* confdefs.h. */
5183 _ACEOF
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51864818 /* end confdefs.h. */
51874819
51884820
51944826 return 0;
51954827 }
51964828 _ACEOF
5197 rm -f conftest.$ac_objext conftest$ac_exeext
5198 if { (ac_try="$ac_link"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_link") 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } && {
5211 test -z "$ac_c_werror_flag" ||
5212 test ! -s conftest.err
5213 } && test -s conftest$ac_exeext &&
5214 $as_test_x conftest$ac_exeext; then
4829 if ac_fn_c_try_link "$LINENO"; then :
52154830 ac_cv_lib_olgx_main=yes
52164831 else
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.$ac_ext >&5
5219
5220 ac_cv_lib_olgx_main=no
5221 fi
5222
5223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5224 conftest$ac_exeext conftest.$ac_ext
4832 ac_cv_lib_olgx_main=no
4833 fi
4834 rm -f core conftest.err conftest.$ac_objext \
4835 conftest$ac_exeext conftest.$ac_ext
52254836 LIBS=$ac_check_lib_save_LIBS
52264837 fi
5227 { echo "$as_me:$LINENO: result: $ac_cv_lib_olgx_main" >&5
5228 echo "${ECHO_T}$ac_cv_lib_olgx_main" >&6; }
5229 if test $ac_cv_lib_olgx_main = yes; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_olgx_main" >&5
4839 $as_echo "$ac_cv_lib_olgx_main" >&6; }
4840 if test "x$ac_cv_lib_olgx_main" = xyes; then :
52304841 cat >>confdefs.h <<_ACEOF
52314842 #define HAVE_LIBOLGX 1
52324843 _ACEOF
52344845 LIBS="-lolgx $LIBS"
52354846
52364847 else
5237 { { echo "$as_me:$LINENO: error: \"x-gomii needs libolgx.\"" >&5
5238 echo "$as_me: error: \"x-gomii needs libolgx.\"" >&2;}
5239 { (exit 1); exit 1; }; }
5240 fi
5241
5242
5243 { echo "$as_me:$LINENO: checking for main in -lxview" >&5
5244 echo $ECHO_N "checking for main in -lxview... $ECHO_C" >&6; }
5245 if test "${ac_cv_lib_xview_main+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 as_fn_error $? "\"x-gomii needs libolgx.\"" "$LINENO" 5
4849 fi
4850
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxview" >&5
4852 $as_echo_n "checking for main in -lxview... " >&6; }
4853 if ${ac_cv_lib_xview_main+:} false; then :
4854 $as_echo_n "(cached) " >&6
52474855 else
52484856 ac_check_lib_save_LIBS=$LIBS
52494857 LIBS="-lxview ${GOM_CFLAGS} $LIBS"
5250 cat >conftest.$ac_ext <<_ACEOF
5251 /* confdefs.h. */
5252 _ACEOF
5253 cat confdefs.h >>conftest.$ac_ext
5254 cat >>conftest.$ac_ext <<_ACEOF
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52554859 /* end confdefs.h. */
52564860
52574861
52634867 return 0;
52644868 }
52654869 _ACEOF
5266 rm -f conftest.$ac_objext conftest$ac_exeext
5267 if { (ac_try="$ac_link"
5268 case "(($ac_try" in
5269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270 *) ac_try_echo=$ac_try;;
5271 esac
5272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5273 (eval "$ac_link") 2>conftest.er1
5274 ac_status=$?
5275 grep -v '^ *+' conftest.er1 >conftest.err
5276 rm -f conftest.er1
5277 cat conftest.err >&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } && {
5280 test -z "$ac_c_werror_flag" ||
5281 test ! -s conftest.err
5282 } && test -s conftest$ac_exeext &&
5283 $as_test_x conftest$ac_exeext; then
4870 if ac_fn_c_try_link "$LINENO"; then :
52844871 ac_cv_lib_xview_main=yes
52854872 else
5286 echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5288
5289 ac_cv_lib_xview_main=no
5290 fi
5291
5292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5293 conftest$ac_exeext conftest.$ac_ext
4873 ac_cv_lib_xview_main=no
4874 fi
4875 rm -f core conftest.err conftest.$ac_objext \
4876 conftest$ac_exeext conftest.$ac_ext
52944877 LIBS=$ac_check_lib_save_LIBS
52954878 fi
5296 { echo "$as_me:$LINENO: result: $ac_cv_lib_xview_main" >&5
5297 echo "${ECHO_T}$ac_cv_lib_xview_main" >&6; }
5298 if test $ac_cv_lib_xview_main = yes; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xview_main" >&5
4880 $as_echo "$ac_cv_lib_xview_main" >&6; }
4881 if test "x$ac_cv_lib_xview_main" = xyes; then :
52994882 cat >>confdefs.h <<_ACEOF
53004883 #define HAVE_LIBXVIEW 1
53014884 _ACEOF
53034886 LIBS="-lxview $LIBS"
53044887
53054888 else
5306 { { echo "$as_me:$LINENO: error: \"x-gomii needs libxview.\"" >&5
5307 echo "$as_me: error: \"x-gomii needs libxview.\"" >&2;}
5308 { (exit 1); exit 1; }; }
5309 fi
5310
5311 fi
5312
5313 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5314 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5315 if test "${ac_cv_path_GREP+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 else
5318 # Extract the first word of "grep ggrep" to use in msg output
5319 if test -z "$GREP"; then
5320 set dummy grep ggrep; ac_prog_name=$2
5321 if test "${ac_cv_path_GREP+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
4889 as_fn_error $? "\"x-gomii needs libxview.\"" "$LINENO" 5
4890 fi
4891
4892 fi
4893
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4895 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4896 if ${ac_cv_path_GREP+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -z "$GREP"; then
53244900 ac_path_GREP_found=false
5325 # Loop through the user's path and test for each of PROGNAME-LIST
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 # Loop through the user's path and test for each of PROGNAME-LIST
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53274903 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
53284904 do
53294905 IFS=$as_save_IFS
53304906 test -z "$as_dir" && as_dir=.
5331 for ac_prog in grep ggrep; do
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5334 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5335 # Check for GNU ac_path_GREP and select it if it is found.
4907 for ac_prog in grep ggrep; do
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4910 as_fn_executable_p "$ac_path_GREP" || continue
4911 # Check for GNU ac_path_GREP and select it if it is found.
53364912 # Check for GNU $ac_path_GREP
53374913 case `"$ac_path_GREP" --version 2>&1` in
53384914 *GNU*)
53394915 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
53404916 *)
53414917 ac_count=0
5342 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4918 $as_echo_n 0123456789 >"conftest.in"
53434919 while :
53444920 do
53454921 cat "conftest.in" "conftest.in" >"conftest.tmp"
53464922 mv "conftest.tmp" "conftest.in"
53474923 cp "conftest.in" "conftest.nl"
5348 echo 'GREP' >> "conftest.nl"
4924 $as_echo 'GREP' >> "conftest.nl"
53494925 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
53504926 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5351 ac_count=`expr $ac_count + 1`
4927 as_fn_arith $ac_count + 1 && ac_count=$as_val
53524928 if test $ac_count -gt ${ac_path_GREP_max-0}; then
53534929 # Best one so far, save it but keep looking for a better one
53544930 ac_cv_path_GREP="$ac_path_GREP"
53604936 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
53614937 esac
53624938
5363
5364 $ac_path_GREP_found && break 3
4939 $ac_path_GREP_found && break 3
4940 done
53654941 done
5366 done
5367
5368 done
4942 done
53694943 IFS=$as_save_IFS
5370
5371
5372 fi
5373
5374 GREP="$ac_cv_path_GREP"
5375 if test -z "$GREP"; then
5376 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5377 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5378 { (exit 1); exit 1; }; }
5379 fi
5380
4944 if test -z "$ac_cv_path_GREP"; then
4945 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4946 fi
53814947 else
53824948 ac_cv_path_GREP=$GREP
53834949 fi
53844950
5385
5386 fi
5387 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5388 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4951 fi
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4953 $as_echo "$ac_cv_path_GREP" >&6; }
53894954 GREP="$ac_cv_path_GREP"
53904955
53914956
5392 { echo "$as_me:$LINENO: checking for egrep" >&5
5393 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5394 if test "${ac_cv_path_EGREP+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4958 $as_echo_n "checking for egrep... " >&6; }
4959 if ${ac_cv_path_EGREP+:} false; then :
4960 $as_echo_n "(cached) " >&6
53964961 else
53974962 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
53984963 then ac_cv_path_EGREP="$GREP -E"
53994964 else
5400 # Extract the first word of "egrep" to use in msg output
5401 if test -z "$EGREP"; then
5402 set dummy egrep; ac_prog_name=$2
5403 if test "${ac_cv_path_EGREP+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 else
4965 if test -z "$EGREP"; then
54064966 ac_path_EGREP_found=false
5407 # Loop through the user's path and test for each of PROGNAME-LIST
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 # Loop through the user's path and test for each of PROGNAME-LIST
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54094969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
54104970 do
54114971 IFS=$as_save_IFS
54124972 test -z "$as_dir" && as_dir=.
5413 for ac_prog in egrep; do
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5416 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5417 # Check for GNU ac_path_EGREP and select it if it is found.
4973 for ac_prog in egrep; do
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4976 as_fn_executable_p "$ac_path_EGREP" || continue
4977 # Check for GNU ac_path_EGREP and select it if it is found.
54184978 # Check for GNU $ac_path_EGREP
54194979 case `"$ac_path_EGREP" --version 2>&1` in
54204980 *GNU*)
54214981 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
54224982 *)
54234983 ac_count=0
5424 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4984 $as_echo_n 0123456789 >"conftest.in"
54254985 while :
54264986 do
54274987 cat "conftest.in" "conftest.in" >"conftest.tmp"
54284988 mv "conftest.tmp" "conftest.in"
54294989 cp "conftest.in" "conftest.nl"
5430 echo 'EGREP' >> "conftest.nl"
4990 $as_echo 'EGREP' >> "conftest.nl"
54314991 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
54324992 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5433 ac_count=`expr $ac_count + 1`
4993 as_fn_arith $ac_count + 1 && ac_count=$as_val
54344994 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
54354995 # Best one so far, save it but keep looking for a better one
54364996 ac_cv_path_EGREP="$ac_path_EGREP"
54425002 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
54435003 esac
54445004
5445
5446 $ac_path_EGREP_found && break 3
5005 $ac_path_EGREP_found && break 3
5006 done
54475007 done
5448 done
5449
5450 done
5008 done
54515009 IFS=$as_save_IFS
5452
5453
5454 fi
5455
5456 EGREP="$ac_cv_path_EGREP"
5457 if test -z "$EGREP"; then
5458 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5459 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5460 { (exit 1); exit 1; }; }
5461 fi
5462
5010 if test -z "$ac_cv_path_EGREP"; then
5011 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5012 fi
54635013 else
54645014 ac_cv_path_EGREP=$EGREP
54655015 fi
54665016
5467
54685017 fi
54695018 fi
5470 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5471 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5020 $as_echo "$ac_cv_path_EGREP" >&6; }
54725021 EGREP="$ac_cv_path_EGREP"
54735022
54745023
5475 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5476 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5477 if test "${ac_cv_header_stdc+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 else
5480 cat >conftest.$ac_ext <<_ACEOF
5481 /* confdefs.h. */
5482 _ACEOF
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5025 $as_echo_n "checking for ANSI C header files... " >&6; }
5026 if ${ac_cv_header_stdc+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54855030 /* end confdefs.h. */
54865031 #include <stdlib.h>
54875032 #include <stdarg.h>
54965041 return 0;
54975042 }
54985043 _ACEOF
5499 rm -f conftest.$ac_objext
5500 if { (ac_try="$ac_compile"
5501 case "(($ac_try" in
5502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5503 *) ac_try_echo=$ac_try;;
5504 esac
5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5506 (eval "$ac_compile") 2>conftest.er1
5507 ac_status=$?
5508 grep -v '^ *+' conftest.er1 >conftest.err
5509 rm -f conftest.er1
5510 cat conftest.err >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } && {
5513 test -z "$ac_c_werror_flag" ||
5514 test ! -s conftest.err
5515 } && test -s conftest.$ac_objext; then
5044 if ac_fn_c_try_compile "$LINENO"; then :
55165045 ac_cv_header_stdc=yes
55175046 else
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5520
5521 ac_cv_header_stdc=no
5522 fi
5523
5047 ac_cv_header_stdc=no
5048 fi
55245049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55255050
55265051 if test $ac_cv_header_stdc = yes; then
55275052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5528 cat >conftest.$ac_ext <<_ACEOF
5529 /* confdefs.h. */
5530 _ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55335054 /* end confdefs.h. */
55345055 #include <string.h>
55355056
55365057 _ACEOF
55375058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5538 $EGREP "memchr" >/dev/null 2>&1; then
5539 :
5059 $EGREP "memchr" >/dev/null 2>&1; then :
5060
55405061 else
55415062 ac_cv_header_stdc=no
55425063 fi
55465067
55475068 if test $ac_cv_header_stdc = yes; then
55485069 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5549 cat >conftest.$ac_ext <<_ACEOF
5550 /* confdefs.h. */
5551 _ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55545071 /* end confdefs.h. */
55555072 #include <stdlib.h>
55565073
55575074 _ACEOF
55585075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5559 $EGREP "free" >/dev/null 2>&1; then
5560 :
5076 $EGREP "free" >/dev/null 2>&1; then :
5077
55615078 else
55625079 ac_cv_header_stdc=no
55635080 fi
55675084
55685085 if test $ac_cv_header_stdc = yes; then
55695086 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5570 if test "$cross_compiling" = yes; then
5087 if test "$cross_compiling" = yes; then :
55715088 :
55725089 else
5573 cat >conftest.$ac_ext <<_ACEOF
5574 /* confdefs.h. */
5575 _ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785091 /* end confdefs.h. */
55795092 #include <ctype.h>
55805093 #include <stdlib.h>
56015114 return 0;
56025115 }
56035116 _ACEOF
5604 rm -f conftest$ac_exeext
5605 if { (ac_try="$ac_link"
5606 case "(($ac_try" in
5607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5608 *) ac_try_echo=$ac_try;;
5609 esac
5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5611 (eval "$ac_link") 2>&5
5612 ac_status=$?
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5615 { (case "(($ac_try" in
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5618 esac
5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5620 (eval "$ac_try") 2>&5
5621 ac_status=$?
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; }; then
5624 :
5625 else
5626 echo "$as_me: program exited with status $ac_status" >&5
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5629
5630 ( exit $ac_status )
5631 ac_cv_header_stdc=no
5632 fi
5633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5634 fi
5635
5636
5637 fi
5638 fi
5639 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5640 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5117 if ac_fn_c_try_run "$LINENO"; then :
5118
5119 else
5120 ac_cv_header_stdc=no
5121 fi
5122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5123 conftest.$ac_objext conftest.beam conftest.$ac_ext
5124 fi
5125
5126 fi
5127 fi
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5129 $as_echo "$ac_cv_header_stdc" >&6; }
56415130 if test $ac_cv_header_stdc = yes; then
56425131
5643 cat >>confdefs.h <<\_ACEOF
5644 #define STDC_HEADERS 1
5645 _ACEOF
5132 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
56465133
56475134 fi
56485135
56495136 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5650
5651
5652
5653
5654
5655
5656
5657
5658
56595137 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
56605138 inttypes.h stdint.h unistd.h
5661 do
5662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5663 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5665 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 else
5668 cat >conftest.$ac_ext <<_ACEOF
5669 /* confdefs.h. */
5670 _ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 $ac_includes_default
5675
5676 #include <$ac_header>
5677 _ACEOF
5678 rm -f conftest.$ac_objext
5679 if { (ac_try="$ac_compile"
5680 case "(($ac_try" in
5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682 *) ac_try_echo=$ac_try;;
5683 esac
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685 (eval "$ac_compile") 2>conftest.er1
5686 ac_status=$?
5687 grep -v '^ *+' conftest.er1 >conftest.err
5688 rm -f conftest.er1
5689 cat conftest.err >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } && {
5692 test -z "$ac_c_werror_flag" ||
5693 test ! -s conftest.err
5694 } && test -s conftest.$ac_objext; then
5695 eval "$as_ac_Header=yes"
5696 else
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5699
5700 eval "$as_ac_Header=no"
5701 fi
5702
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5704 fi
5705 ac_res=`eval echo '${'$as_ac_Header'}'`
5706 { echo "$as_me:$LINENO: result: $ac_res" >&5
5707 echo "${ECHO_T}$ac_res" >&6; }
5708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5139 do :
5140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5141 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5142 "
5143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
57095144 cat >>confdefs.h <<_ACEOF
5710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
57115146 _ACEOF
57125147
57135148 fi
57155150 done
57165151
57175152
5718
57195153 for ac_header in unistd.h
5720 do
5721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 fi
5728 ac_res=`eval echo '${'$as_ac_Header'}'`
5729 { echo "$as_me:$LINENO: result: $ac_res" >&5
5730 echo "${ECHO_T}$ac_res" >&6; }
5731 else
5732 # Is the header compilable?
5733 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5735 cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h. */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5742 #include <$ac_header>
5743 _ACEOF
5744 rm -f conftest.$ac_objext
5745 if { (ac_try="$ac_compile"
5746 case "(($ac_try" in
5747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748 *) ac_try_echo=$ac_try;;
5749 esac
5750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_compile") 2>conftest.er1
5752 ac_status=$?
5753 grep -v '^ *+' conftest.er1 >conftest.err
5754 rm -f conftest.er1
5755 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } && {
5758 test -z "$ac_c_werror_flag" ||
5759 test ! -s conftest.err
5760 } && test -s conftest.$ac_objext; then
5761 ac_header_compiler=yes
5762 else
5763 echo "$as_me: failed program was:" >&5
5764 sed 's/^/| /' conftest.$ac_ext >&5
5765
5766 ac_header_compiler=no
5767 fi
5768
5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5771 echo "${ECHO_T}$ac_header_compiler" >&6; }
5772
5773 # Is the header present?
5774 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5776 cat >conftest.$ac_ext <<_ACEOF
5777 /* confdefs.h. */
5778 _ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 #include <$ac_header>
5783 _ACEOF
5784 if { (ac_try="$ac_cpp conftest.$ac_ext"
5785 case "(($ac_try" in
5786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5787 *) ac_try_echo=$ac_try;;
5788 esac
5789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5791 ac_status=$?
5792 grep -v '^ *+' conftest.er1 >conftest.err
5793 rm -f conftest.er1
5794 cat conftest.err >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } >/dev/null && {
5797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5798 test ! -s conftest.err
5799 }; then
5800 ac_header_preproc=yes
5801 else
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5804
5805 ac_header_preproc=no
5806 fi
5807
5808 rm -f conftest.err conftest.$ac_ext
5809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5810 echo "${ECHO_T}$ac_header_preproc" >&6; }
5811
5812 # So? What about this header?
5813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5814 yes:no: )
5815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5819 ac_header_preproc=yes
5820 ;;
5821 no:yes:* )
5822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5834
5835 ;;
5836 esac
5837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 else
5842 eval "$as_ac_Header=\$ac_header_preproc"
5843 fi
5844 ac_res=`eval echo '${'$as_ac_Header'}'`
5845 { echo "$as_me:$LINENO: result: $ac_res" >&5
5846 echo "${ECHO_T}$ac_res" >&6; }
5847
5848 fi
5849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5154 do :
5155 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5156 if test "x$ac_cv_header_unistd_h" = xyes; then :
58505157 cat >>confdefs.h <<_ACEOF
5851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5158 #define HAVE_UNISTD_H 1
58525159 _ACEOF
58535160
58545161 fi
58555162
58565163 done
58575164
5858
5859
5860
58615165 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
5862 do
5863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5865 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 fi
5870 ac_res=`eval echo '${'$as_ac_Header'}'`
5871 { echo "$as_me:$LINENO: result: $ac_res" >&5
5872 echo "${ECHO_T}$ac_res" >&6; }
5873 else
5874 # Is the header compilable?
5875 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5877 cat >conftest.$ac_ext <<_ACEOF
5878 /* confdefs.h. */
5879 _ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 $ac_includes_default
5884 #include <$ac_header>
5885 _ACEOF
5886 rm -f conftest.$ac_objext
5887 if { (ac_try="$ac_compile"
5888 case "(($ac_try" in
5889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5890 *) ac_try_echo=$ac_try;;
5891 esac
5892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5893 (eval "$ac_compile") 2>conftest.er1
5894 ac_status=$?
5895 grep -v '^ *+' conftest.er1 >conftest.err
5896 rm -f conftest.er1
5897 cat conftest.err >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } && {
5900 test -z "$ac_c_werror_flag" ||
5901 test ! -s conftest.err
5902 } && test -s conftest.$ac_objext; then
5903 ac_header_compiler=yes
5904 else
5905 echo "$as_me: failed program was:" >&5
5906 sed 's/^/| /' conftest.$ac_ext >&5
5907
5908 ac_header_compiler=no
5909 fi
5910
5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5913 echo "${ECHO_T}$ac_header_compiler" >&6; }
5914
5915 # Is the header present?
5916 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5918 cat >conftest.$ac_ext <<_ACEOF
5919 /* confdefs.h. */
5920 _ACEOF
5921 cat confdefs.h >>conftest.$ac_ext
5922 cat >>conftest.$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 #include <$ac_header>
5925 _ACEOF
5926 if { (ac_try="$ac_cpp conftest.$ac_ext"
5927 case "(($ac_try" in
5928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5929 *) ac_try_echo=$ac_try;;
5930 esac
5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5933 ac_status=$?
5934 grep -v '^ *+' conftest.er1 >conftest.err
5935 rm -f conftest.er1
5936 cat conftest.err >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } >/dev/null && {
5939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5940 test ! -s conftest.err
5941 }; then
5942 ac_header_preproc=yes
5943 else
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.$ac_ext >&5
5946
5947 ac_header_preproc=no
5948 fi
5949
5950 rm -f conftest.err conftest.$ac_ext
5951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5952 echo "${ECHO_T}$ac_header_preproc" >&6; }
5953
5954 # So? What about this header?
5955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5956 yes:no: )
5957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5960 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5961 ac_header_preproc=yes
5962 ;;
5963 no:yes:* )
5964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5968 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5969 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5970 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5971 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5974 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5975 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5976
5977 ;;
5978 esac
5979 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 else
5984 eval "$as_ac_Header=\$ac_header_preproc"
5985 fi
5986 ac_res=`eval echo '${'$as_ac_Header'}'`
5987 { echo "$as_me:$LINENO: result: $ac_res" >&5
5988 echo "${ECHO_T}$ac_res" >&6; }
5989
5990 fi
5991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5166 do :
5167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5168 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
59925170 cat >>confdefs.h <<_ACEOF
5993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
59945172 _ACEOF
59955173
59965174 fi
59985176 done
59995177
60005178 if [ "$ac_cv_header_sys_soundcard_h" != "yes" ] && [ "$ac_cv_header_machine_soundcard_h" != "yes" ] && [ "$ac_cv_header_soundcard_h" != "yes" ]; then
6001 { { echo "$as_me:$LINENO: error: No sound card header file." >&5
6002 echo "$as_me: error: No sound card header file." >&2;}
6003 { (exit 1); exit 1; }; }
6004 fi
6005
6006
6007
6008
6009
5179 as_fn_error $? "No sound card header file." "$LINENO" 5
5180 fi
60105181 for ac_header in fcntl.h limits.h getopt.h sys/ioctl.h sys/time.h
6011 do
6012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 fi
6019 ac_res=`eval echo '${'$as_ac_Header'}'`
6020 { echo "$as_me:$LINENO: result: $ac_res" >&5
6021 echo "${ECHO_T}$ac_res" >&6; }
6022 else
6023 # Is the header compilable?
6024 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6026 cat >conftest.$ac_ext <<_ACEOF
6027 /* confdefs.h. */
6028 _ACEOF
6029 cat confdefs.h >>conftest.$ac_ext
6030 cat >>conftest.$ac_ext <<_ACEOF
6031 /* end confdefs.h. */
6032 $ac_includes_default
6033 #include <$ac_header>
6034 _ACEOF
6035 rm -f conftest.$ac_objext
6036 if { (ac_try="$ac_compile"
6037 case "(($ac_try" in
6038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039 *) ac_try_echo=$ac_try;;
6040 esac
6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042 (eval "$ac_compile") 2>conftest.er1
6043 ac_status=$?
6044 grep -v '^ *+' conftest.er1 >conftest.err
6045 rm -f conftest.er1
6046 cat conftest.err >&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } && {
6049 test -z "$ac_c_werror_flag" ||
6050 test ! -s conftest.err
6051 } && test -s conftest.$ac_objext; then
6052 ac_header_compiler=yes
6053 else
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6056
6057 ac_header_compiler=no
6058 fi
6059
6060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6062 echo "${ECHO_T}$ac_header_compiler" >&6; }
6063
6064 # Is the header present?
6065 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6067 cat >conftest.$ac_ext <<_ACEOF
6068 /* confdefs.h. */
6069 _ACEOF
6070 cat confdefs.h >>conftest.$ac_ext
6071 cat >>conftest.$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6073 #include <$ac_header>
6074 _ACEOF
6075 if { (ac_try="$ac_cpp conftest.$ac_ext"
6076 case "(($ac_try" in
6077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6078 *) ac_try_echo=$ac_try;;
6079 esac
6080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6082 ac_status=$?
6083 grep -v '^ *+' conftest.er1 >conftest.err
6084 rm -f conftest.er1
6085 cat conftest.err >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } >/dev/null && {
6088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6089 test ! -s conftest.err
6090 }; then
6091 ac_header_preproc=yes
6092 else
6093 echo "$as_me: failed program was:" >&5
6094 sed 's/^/| /' conftest.$ac_ext >&5
6095
6096 ac_header_preproc=no
6097 fi
6098
6099 rm -f conftest.err conftest.$ac_ext
6100 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6101 echo "${ECHO_T}$ac_header_preproc" >&6; }
6102
6103 # So? What about this header?
6104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6105 yes:no: )
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6110 ac_header_preproc=yes
6111 ;;
6112 no:yes:* )
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6125
6126 ;;
6127 esac
6128 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 else
6133 eval "$as_ac_Header=\$ac_header_preproc"
6134 fi
6135 ac_res=`eval echo '${'$as_ac_Header'}'`
6136 { echo "$as_me:$LINENO: result: $ac_res" >&5
6137 echo "${ECHO_T}$ac_res" >&6; }
6138
6139 fi
6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5182 do :
5183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5184 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5185 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
61415186 cat >>confdefs.h <<_ACEOF
6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
61435188 _ACEOF
61445189
61455190 fi
61465191
61475192 done
61485193
6149
6150
61515194 for ac_header in ncurses.h curses.h
6152 do
6153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 fi
6160 ac_res=`eval echo '${'$as_ac_Header'}'`
6161 { echo "$as_me:$LINENO: result: $ac_res" >&5
6162 echo "${ECHO_T}$ac_res" >&6; }
6163 else
6164 # Is the header compilable?
6165 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6167 cat >conftest.$ac_ext <<_ACEOF
6168 /* confdefs.h. */
6169 _ACEOF
6170 cat confdefs.h >>conftest.$ac_ext
6171 cat >>conftest.$ac_ext <<_ACEOF
6172 /* end confdefs.h. */
6173 $ac_includes_default
6174 #include <$ac_header>
6175 _ACEOF
6176 rm -f conftest.$ac_objext
6177 if { (ac_try="$ac_compile"
6178 case "(($ac_try" in
6179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6180 *) ac_try_echo=$ac_try;;
6181 esac
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_compile") 2>conftest.er1
6184 ac_status=$?
6185 grep -v '^ *+' conftest.er1 >conftest.err
6186 rm -f conftest.er1
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } && {
6190 test -z "$ac_c_werror_flag" ||
6191 test ! -s conftest.err
6192 } && test -s conftest.$ac_objext; then
6193 ac_header_compiler=yes
6194 else
6195 echo "$as_me: failed program was:" >&5
6196 sed 's/^/| /' conftest.$ac_ext >&5
6197
6198 ac_header_compiler=no
6199 fi
6200
6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6202 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6203 echo "${ECHO_T}$ac_header_compiler" >&6; }
6204
6205 # Is the header present?
6206 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6208 cat >conftest.$ac_ext <<_ACEOF
6209 /* confdefs.h. */
6210 _ACEOF
6211 cat confdefs.h >>conftest.$ac_ext
6212 cat >>conftest.$ac_ext <<_ACEOF
6213 /* end confdefs.h. */
6214 #include <$ac_header>
6215 _ACEOF
6216 if { (ac_try="$ac_cpp conftest.$ac_ext"
6217 case "(($ac_try" in
6218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6219 *) ac_try_echo=$ac_try;;
6220 esac
6221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6223 ac_status=$?
6224 grep -v '^ *+' conftest.er1 >conftest.err
6225 rm -f conftest.er1
6226 cat conftest.err >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } >/dev/null && {
6229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6230 test ! -s conftest.err
6231 }; then
6232 ac_header_preproc=yes
6233 else
6234 echo "$as_me: failed program was:" >&5
6235 sed 's/^/| /' conftest.$ac_ext >&5
6236
6237 ac_header_preproc=no
6238 fi
6239
6240 rm -f conftest.err conftest.$ac_ext
6241 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6242 echo "${ECHO_T}$ac_header_preproc" >&6; }
6243
6244 # So? What about this header?
6245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6246 yes:no: )
6247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6251 ac_header_preproc=yes
6252 ;;
6253 no:yes:* )
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6266
6267 ;;
6268 esac
6269 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274 eval "$as_ac_Header=\$ac_header_preproc"
6275 fi
6276 ac_res=`eval echo '${'$as_ac_Header'}'`
6277 { echo "$as_me:$LINENO: result: $ac_res" >&5
6278 echo "${ECHO_T}$ac_res" >&6; }
6279
6280 fi
6281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5195 do :
5196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5197 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
62825199 cat >>confdefs.h <<_ACEOF
6283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
62845201 _ACEOF
62855202
62865203 fi
62885205 done
62895206
62905207 if [ "$ac_cv_header_ncurses_h" != "yes" ] && [ "$ac_cv_header_curses_h" != "yes" ];
6291 then { { echo "$as_me:$LINENO: error: Neither curses.h nor ncurses.h found, needed by terminal gomii." >&5
6292 echo "$as_me: error: Neither curses.h nor ncurses.h found, needed by terminal gomii." >&2;}
6293 { (exit 1); exit 1; }; }
6294 fi
6295
6296 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6297 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6298 if test "${ac_cv_c_const+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301 cat >conftest.$ac_ext <<_ACEOF
6302 /* confdefs.h. */
6303 _ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
5208 then as_fn_error $? "Neither curses.h nor ncurses.h found, needed by terminal gomii." "$LINENO" 5
5209 fi
5210
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5212 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5213 if ${ac_cv_c_const+:} false; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63065217 /* end confdefs.h. */
63075218
63085219 int
63095220 main ()
63105221 {
6311 /* FIXME: Include the comments suggested by Paul. */
5222
63125223 #ifndef __cplusplus
6313 /* Ultrix mips cc rejects this. */
5224 /* Ultrix mips cc rejects this sort of thing. */
63145225 typedef int charset[2];
6315 const charset cs;
5226 const charset cs = { 0, 0 };
63165227 /* SunOS 4.1.1 cc rejects this. */
63175228 char const *const *pcpcc;
63185229 char **ppc;
63295240 ++pcpcc;
63305241 ppc = (char**) pcpcc;
63315242 pcpcc = (char const *const *) ppc;
6332 { /* SCO 3.2v4 cc rejects this. */
6333 char *t;
5243 { /* SCO 3.2v4 cc rejects this sort of thing. */
5244 char tx;
5245 char *t = &tx;
63345246 char const *s = 0 ? (char *) 0 : (char const *) 0;
63355247
63365248 *t++ = 0;
63465258 iptr p = 0;
63475259 ++p;
63485260 }
6349 { /* AIX XL C 1.02.0.0 rejects this saying
5261 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
63505262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6351 struct s { int j; const int *ap[3]; };
6352 struct s *b; b->j = 5;
5263 struct s { int j; const int *ap[3]; } bx;
5264 struct s *b = &bx; b->j = 5;
63535265 }
63545266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
63555267 const int foo = 10;
63625274 return 0;
63635275 }
63645276 _ACEOF
6365 rm -f conftest.$ac_objext
6366 if { (ac_try="$ac_compile"
6367 case "(($ac_try" in
6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6369 *) ac_try_echo=$ac_try;;
6370 esac
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6372 (eval "$ac_compile") 2>conftest.er1
6373 ac_status=$?
6374 grep -v '^ *+' conftest.er1 >conftest.err
6375 rm -f conftest.er1
6376 cat conftest.err >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } && {
6379 test -z "$ac_c_werror_flag" ||
6380 test ! -s conftest.err
6381 } && test -s conftest.$ac_objext; then
5277 if ac_fn_c_try_compile "$LINENO"; then :
63825278 ac_cv_c_const=yes
63835279 else
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.$ac_ext >&5
6386
6387 ac_cv_c_const=no
6388 fi
6389
5280 ac_cv_c_const=no
5281 fi
63905282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63915283 fi
6392 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6393 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5285 $as_echo "$ac_cv_c_const" >&6; }
63945286 if test $ac_cv_c_const = no; then
63955287
6396 cat >>confdefs.h <<\_ACEOF
6397 #define const
6398 _ACEOF
5288 $as_echo "#define const /**/" >>confdefs.h
63995289
64005290 fi
64015291
64025292 if test $ac_cv_c_compiler_gnu = yes; then
6403 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6404 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
6405 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6406 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5294 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5295 if ${ac_cv_prog_gcc_traditional+:} false; then :
5296 $as_echo_n "(cached) " >&6
64075297 else
64085298 ac_pattern="Autoconf.*'x'"
6409 cat >conftest.$ac_ext <<_ACEOF
6410 /* confdefs.h. */
6411 _ACEOF
6412 cat confdefs.h >>conftest.$ac_ext
6413 cat >>conftest.$ac_ext <<_ACEOF
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64145300 /* end confdefs.h. */
64155301 #include <sgtty.h>
64165302 Autoconf TIOCGETP
64175303 _ACEOF
64185304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6419 $EGREP "$ac_pattern" >/dev/null 2>&1; then
5305 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
64205306 ac_cv_prog_gcc_traditional=yes
64215307 else
64225308 ac_cv_prog_gcc_traditional=no
64255311
64265312
64275313 if test $ac_cv_prog_gcc_traditional = no; then
6428 cat >conftest.$ac_ext <<_ACEOF
6429 /* confdefs.h. */
6430 _ACEOF
6431 cat confdefs.h >>conftest.$ac_ext
6432 cat >>conftest.$ac_ext <<_ACEOF
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64335315 /* end confdefs.h. */
64345316 #include <termio.h>
64355317 Autoconf TCGETA
64365318 _ACEOF
64375319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6438 $EGREP "$ac_pattern" >/dev/null 2>&1; then
5320 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
64395321 ac_cv_prog_gcc_traditional=yes
64405322 fi
64415323 rm -f conftest*
64425324
64435325 fi
64445326 fi
6445 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6446 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5328 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
64475329 if test $ac_cv_prog_gcc_traditional = yes; then
64485330 CC="$CC -traditional"
64495331 fi
64505332 fi
64515333
6452 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6453 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6454 if test "${ac_cv_type_signal+set}" = set; then
6455 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 else
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h. */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5335 $as_echo_n "checking return type of signal handlers... " >&6; }
5336 if ${ac_cv_type_signal+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64625340 /* end confdefs.h. */
64635341 #include <sys/types.h>
64645342 #include <signal.h>
64715349 return 0;
64725350 }
64735351 _ACEOF
6474 rm -f conftest.$ac_objext
6475 if { (ac_try="$ac_compile"
6476 case "(($ac_try" in
6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6478 *) ac_try_echo=$ac_try;;
6479 esac
6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6481 (eval "$ac_compile") 2>conftest.er1
6482 ac_status=$?
6483 grep -v '^ *+' conftest.er1 >conftest.err
6484 rm -f conftest.er1
6485 cat conftest.err >&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && {
6488 test -z "$ac_c_werror_flag" ||
6489 test ! -s conftest.err
6490 } && test -s conftest.$ac_objext; then
5352 if ac_fn_c_try_compile "$LINENO"; then :
64915353 ac_cv_type_signal=int
64925354 else
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.$ac_ext >&5
6495
6496 ac_cv_type_signal=void
6497 fi
6498
5355 ac_cv_type_signal=void
5356 fi
64995357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65005358 fi
6501 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6502 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5360 $as_echo "$ac_cv_type_signal" >&6; }
65035361
65045362 cat >>confdefs.h <<_ACEOF
65055363 #define RETSIGTYPE $ac_cv_type_signal
65065364 _ACEOF
65075365
65085366
6509
65105367 for ac_func in strftime
6511 do
6512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6513 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 else
6518 cat >conftest.$ac_ext <<_ACEOF
6519 /* confdefs.h. */
6520 _ACEOF
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6526 #define $ac_func innocuous_$ac_func
6527
6528 /* System header to define __stub macros and hopefully few prototypes,
6529 which can conflict with char $ac_func (); below.
6530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6531 <limits.h> exists even on freestanding compilers. */
6532
6533 #ifdef __STDC__
6534 # include <limits.h>
6535 #else
6536 # include <assert.h>
6537 #endif
6538
6539 #undef $ac_func
6540
6541 /* Override any GCC internal prototype to avoid an error.
6542 Use char because int might match the return type of a GCC
6543 builtin and then its argument prototype would still apply. */
6544 #ifdef __cplusplus
6545 extern "C"
6546 #endif
6547 char $ac_func ();
6548 /* The GNU C library defines this for functions which it implements
6549 to always fail with ENOSYS. Some functions are actually named
6550 something starting with __ and the normal name is an alias. */
6551 #if defined __stub_$ac_func || defined __stub___$ac_func
6552 choke me
6553 #endif
6554
6555 int
6556 main ()
6557 {
6558 return $ac_func ();
6559 ;
6560 return 0;
6561 }
6562 _ACEOF
6563 rm -f conftest.$ac_objext conftest$ac_exeext
6564 if { (ac_try="$ac_link"
6565 case "(($ac_try" in
6566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6568 esac
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_link") 2>conftest.er1
6571 ac_status=$?
6572 grep -v '^ *+' conftest.er1 >conftest.err
6573 rm -f conftest.er1
6574 cat conftest.err >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest$ac_exeext &&
6580 $as_test_x conftest$ac_exeext; then
6581 eval "$as_ac_var=yes"
6582 else
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6585
6586 eval "$as_ac_var=no"
6587 fi
6588
6589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6590 conftest$ac_exeext conftest.$ac_ext
6591 fi
6592 ac_res=`eval echo '${'$as_ac_var'}'`
6593 { echo "$as_me:$LINENO: result: $ac_res" >&5
6594 echo "${ECHO_T}$ac_res" >&6; }
6595 if test `eval echo '${'$as_ac_var'}'` = yes; then
5368 do :
5369 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
5370 if test "x$ac_cv_func_strftime" = xyes; then :
65965371 cat >>confdefs.h <<_ACEOF
6597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5372 #define HAVE_STRFTIME 1
65985373 _ACEOF
65995374
66005375 else
66015376 # strftime is in -lintl on SCO UNIX.
6602 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6603 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
6604 if test "${ac_cv_lib_intl_strftime+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
5378 $as_echo_n "checking for strftime in -lintl... " >&6; }
5379 if ${ac_cv_lib_intl_strftime+:} false; then :
5380 $as_echo_n "(cached) " >&6
66065381 else
66075382 ac_check_lib_save_LIBS=$LIBS
66085383 LIBS="-lintl $LIBS"
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66145385 /* end confdefs.h. */
66155386
66165387 /* Override any GCC internal prototype to avoid an error.
66285399 return 0;
66295400 }
66305401 _ACEOF
6631 rm -f conftest.$ac_objext conftest$ac_exeext
6632 if { (ac_try="$ac_link"
6633 case "(($ac_try" in
6634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6635 *) ac_try_echo=$ac_try;;
6636 esac
6637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6638 (eval "$ac_link") 2>conftest.er1
6639 ac_status=$?
6640 grep -v '^ *+' conftest.er1 >conftest.err
6641 rm -f conftest.er1
6642 cat conftest.err >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } && {
6645 test -z "$ac_c_werror_flag" ||
6646 test ! -s conftest.err
6647 } && test -s conftest$ac_exeext &&
6648 $as_test_x conftest$ac_exeext; then
5402 if ac_fn_c_try_link "$LINENO"; then :
66495403 ac_cv_lib_intl_strftime=yes
66505404 else
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6653
6654 ac_cv_lib_intl_strftime=no
6655 fi
6656
6657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6658 conftest$ac_exeext conftest.$ac_ext
5405 ac_cv_lib_intl_strftime=no
5406 fi
5407 rm -f core conftest.err conftest.$ac_objext \
5408 conftest$ac_exeext conftest.$ac_ext
66595409 LIBS=$ac_check_lib_save_LIBS
66605410 fi
6661 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6662 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
6663 if test $ac_cv_lib_intl_strftime = yes; then
6664 cat >>confdefs.h <<\_ACEOF
6665 #define HAVE_STRFTIME 1
6666 _ACEOF
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
5412 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
5413 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
5414 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
66675415
66685416 LIBS="-lintl $LIBS"
66695417 fi
66715419 fi
66725420 done
66735421
6674
66755422 for ac_func in vprintf
6676 do
6677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 else
6683 cat >conftest.$ac_ext <<_ACEOF
6684 /* confdefs.h. */
6685 _ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6691 #define $ac_func innocuous_$ac_func
6692
6693 /* System header to define __stub macros and hopefully few prototypes,
6694 which can conflict with char $ac_func (); below.
6695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6696 <limits.h> exists even on freestanding compilers. */
6697
6698 #ifdef __STDC__
6699 # include <limits.h>
6700 #else
6701 # include <assert.h>
6702 #endif
6703
6704 #undef $ac_func
6705
6706 /* Override any GCC internal prototype to avoid an error.
6707 Use char because int might match the return type of a GCC
6708 builtin and then its argument prototype would still apply. */
6709 #ifdef __cplusplus
6710 extern "C"
6711 #endif
6712 char $ac_func ();
6713 /* The GNU C library defines this for functions which it implements
6714 to always fail with ENOSYS. Some functions are actually named
6715 something starting with __ and the normal name is an alias. */
6716 #if defined __stub_$ac_func || defined __stub___$ac_func
6717 choke me
6718 #endif
6719
6720 int
6721 main ()
6722 {
6723 return $ac_func ();
6724 ;
6725 return 0;
6726 }
6727 _ACEOF
6728 rm -f conftest.$ac_objext conftest$ac_exeext
6729 if { (ac_try="$ac_link"
6730 case "(($ac_try" in
6731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6732 *) ac_try_echo=$ac_try;;
6733 esac
6734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6735 (eval "$ac_link") 2>conftest.er1
6736 ac_status=$?
6737 grep -v '^ *+' conftest.er1 >conftest.err
6738 rm -f conftest.er1
6739 cat conftest.err >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } && {
6742 test -z "$ac_c_werror_flag" ||
6743 test ! -s conftest.err
6744 } && test -s conftest$ac_exeext &&
6745 $as_test_x conftest$ac_exeext; then
6746 eval "$as_ac_var=yes"
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6750
6751 eval "$as_ac_var=no"
6752 fi
6753
6754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6755 conftest$ac_exeext conftest.$ac_ext
6756 fi
6757 ac_res=`eval echo '${'$as_ac_var'}'`
6758 { echo "$as_me:$LINENO: result: $ac_res" >&5
6759 echo "${ECHO_T}$ac_res" >&6; }
6760 if test `eval echo '${'$as_ac_var'}'` = yes; then
5423 do :
5424 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5425 if test "x$ac_cv_func_vprintf" = xyes; then :
67615426 cat >>confdefs.h <<_ACEOF
6762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6763 _ACEOF
6764
6765 { echo "$as_me:$LINENO: checking for _doprnt" >&5
6766 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6767 if test "${ac_cv_func__doprnt+set}" = set; then
6768 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 else
6770 cat >conftest.$ac_ext <<_ACEOF
6771 /* confdefs.h. */
6772 _ACEOF
6773 cat confdefs.h >>conftest.$ac_ext
6774 cat >>conftest.$ac_ext <<_ACEOF
6775 /* end confdefs.h. */
6776 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6778 #define _doprnt innocuous__doprnt
6779
6780 /* System header to define __stub macros and hopefully few prototypes,
6781 which can conflict with char _doprnt (); below.
6782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6783 <limits.h> exists even on freestanding compilers. */
6784
6785 #ifdef __STDC__
6786 # include <limits.h>
6787 #else
6788 # include <assert.h>
6789 #endif
6790
6791 #undef _doprnt
6792
6793 /* Override any GCC internal prototype to avoid an error.
6794 Use char because int might match the return type of a GCC
6795 builtin and then its argument prototype would still apply. */
6796 #ifdef __cplusplus
6797 extern "C"
6798 #endif
6799 char _doprnt ();
6800 /* The GNU C library defines this for functions which it implements
6801 to always fail with ENOSYS. Some functions are actually named
6802 something starting with __ and the normal name is an alias. */
6803 #if defined __stub__doprnt || defined __stub____doprnt
6804 choke me
6805 #endif
6806
6807 int
6808 main ()
6809 {
6810 return _doprnt ();
6811 ;
6812 return 0;
6813 }
6814 _ACEOF
6815 rm -f conftest.$ac_objext conftest$ac_exeext
6816 if { (ac_try="$ac_link"
6817 case "(($ac_try" in
6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6819 *) ac_try_echo=$ac_try;;
6820 esac
6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6822 (eval "$ac_link") 2>conftest.er1
6823 ac_status=$?
6824 grep -v '^ *+' conftest.er1 >conftest.err
6825 rm -f conftest.er1
6826 cat conftest.err >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } && {
6829 test -z "$ac_c_werror_flag" ||
6830 test ! -s conftest.err
6831 } && test -s conftest$ac_exeext &&
6832 $as_test_x conftest$ac_exeext; then
6833 ac_cv_func__doprnt=yes
6834 else
6835 echo "$as_me: failed program was:" >&5
6836 sed 's/^/| /' conftest.$ac_ext >&5
6837
6838 ac_cv_func__doprnt=no
6839 fi
6840
6841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6842 conftest$ac_exeext conftest.$ac_ext
6843 fi
6844 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6845 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6846 if test $ac_cv_func__doprnt = yes; then
6847
6848 cat >>confdefs.h <<\_ACEOF
6849 #define HAVE_DOPRNT 1
6850 _ACEOF
5427 #define HAVE_VPRINTF 1
5428 _ACEOF
5429
5430 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5431 if test "x$ac_cv_func__doprnt" = xyes; then :
5432
5433 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
68515434
68525435 fi
68535436
68555438 done
68565439
68575440
6858
68595441 for ac_func in strerror
6860 do
6861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6864 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 else
6867 cat >conftest.$ac_ext <<_ACEOF
6868 /* confdefs.h. */
6869 _ACEOF
6870 cat confdefs.h >>conftest.$ac_ext
6871 cat >>conftest.$ac_ext <<_ACEOF
6872 /* end confdefs.h. */
6873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6875 #define $ac_func innocuous_$ac_func
6876
6877 /* System header to define __stub macros and hopefully few prototypes,
6878 which can conflict with char $ac_func (); below.
6879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6880 <limits.h> exists even on freestanding compilers. */
6881
6882 #ifdef __STDC__
6883 # include <limits.h>
6884 #else
6885 # include <assert.h>
6886 #endif
6887
6888 #undef $ac_func
6889
6890 /* Override any GCC internal prototype to avoid an error.
6891 Use char because int might match the return type of a GCC
6892 builtin and then its argument prototype would still apply. */
6893 #ifdef __cplusplus
6894 extern "C"
6895 #endif
6896 char $ac_func ();
6897 /* The GNU C library defines this for functions which it implements
6898 to always fail with ENOSYS. Some functions are actually named
6899 something starting with __ and the normal name is an alias. */
6900 #if defined __stub_$ac_func || defined __stub___$ac_func
6901 choke me
6902 #endif
6903
6904 int
6905 main ()
6906 {
6907 return $ac_func ();
6908 ;
6909 return 0;
6910 }
6911 _ACEOF
6912 rm -f conftest.$ac_objext conftest$ac_exeext
6913 if { (ac_try="$ac_link"
6914 case "(($ac_try" in
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916 *) ac_try_echo=$ac_try;;
6917 esac
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_link") 2>conftest.er1
6920 ac_status=$?
6921 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1
6923 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest$ac_exeext &&
6929 $as_test_x conftest$ac_exeext; then
6930 eval "$as_ac_var=yes"
6931 else
6932 echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6934
6935 eval "$as_ac_var=no"
6936 fi
6937
6938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6939 conftest$ac_exeext conftest.$ac_ext
6940 fi
6941 ac_res=`eval echo '${'$as_ac_var'}'`
6942 { echo "$as_me:$LINENO: result: $ac_res" >&5
6943 echo "${ECHO_T}$ac_res" >&6; }
6944 if test `eval echo '${'$as_ac_var'}'` = yes; then
5442 do :
5443 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5444 if test "x$ac_cv_func_strerror" = xyes; then :
69455445 cat >>confdefs.h <<_ACEOF
6946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5446 #define HAVE_STRERROR 1
69475447 _ACEOF
69485448
69495449 fi
69585458
69595459 if [ "$enable_x_gomii" = "yes" ]; then
69605460
6961 cat >>confdefs.h <<\_ACEOF
6962 #define GOM_ENABLE_X_GOMII ""
6963 _ACEOF
5461 $as_echo "#define GOM_ENABLE_X_GOMII \"\"" >>confdefs.h
69645462
69655463 fi
69665464
70145512 case $ac_val in #(
70155513 *${as_nl}*)
70165514 case $ac_var in #(
7017 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7018 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5515 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
70195517 esac
70205518 case $ac_var in #(
70215519 _ | IFS | as_nl) ;; #(
7022 *) $as_unset $ac_var ;;
5520 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5521 *) { eval $ac_var=; unset $ac_var;} ;;
70235522 esac ;;
70245523 esac
70255524 done
70275526 (set) 2>&1 |
70285527 case $as_nl`(ac_space=' '; set) 2>&1` in #(
70295528 *${as_nl}ac_space=\ *)
7030 # `set' does not quote correctly, so add quotes (double-quote
7031 # substitution turns \\\\ into \\, and sed turns \\ into \).
5529 # `set' does not quote correctly, so add quotes: double-quote
5530 # substitution turns \\\\ into \\, and sed turns \\ into \.
70325531 sed -n \
70335532 "s/'/'\\\\''/g;
70345533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
70505549 :end' >>confcache
70515550 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
70525551 if test -w "$cache_file"; then
7053 test "x$cache_file" != "x/dev/null" &&
7054 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7055 echo "$as_me: updating cache $cache_file" >&6;}
7056 cat confcache >$cache_file
5552 if test "x$cache_file" != "x/dev/null"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5554 $as_echo "$as_me: updating cache $cache_file" >&6;}
5555 if test ! -f "$cache_file" || test -h "$cache_file"; then
5556 cat confcache >"$cache_file"
5557 else
5558 case $cache_file in #(
5559 */* | ?:*)
5560 mv -f confcache "$cache_file"$$ &&
5561 mv -f "$cache_file"$$ "$cache_file" ;; #(
5562 *)
5563 mv -f confcache "$cache_file" ;;
5564 esac
5565 fi
5566 fi
70575567 else
7058 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7059 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5569 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
70605570 fi
70615571 fi
70625572 rm -f confcache
70725582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
70735583 # 1. Remove the extension, and $U if already installed.
70745584 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7075 ac_i=`echo "$ac_i" | sed "$ac_script"`
5585 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
70765586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
70775587 # will be set to the directory where LIBOBJS objects are built.
7078 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7079 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5588 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5589 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
70805590 done
70815591 LIBOBJS=$ac_libobjs
70825592
70835593 LTLIBOBJS=$ac_ltlibobjs
70845594
70855595
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5597 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5598 if test -n "$am_sleep_pid"; then
5599 # Hide warnings about reused PIDs.
5600 wait $am_sleep_pid 2>/dev/null
5601 fi
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5603 $as_echo "done" >&6; }
5604 if test -n "$EXEEXT"; then
5605 am__EXEEXT_TRUE=
5606 am__EXEEXT_FALSE='#'
5607 else
5608 am__EXEEXT_TRUE='#'
5609 am__EXEEXT_FALSE=
5610 fi
5611
70865612 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7087 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7088 Usually this means the macro was only invoked conditionally." >&5
7089 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7090 Usually this means the macro was only invoked conditionally." >&2;}
7091 { (exit 1); exit 1; }; }
5613 as_fn_error $? "conditional \"AMDEP\" was never defined.
5614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
70925615 fi
70935616 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7094 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7095 Usually this means the macro was only invoked conditionally." >&5
7096 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7097 Usually this means the macro was only invoked conditionally." >&2;}
7098 { (exit 1); exit 1; }; }
7099 fi
7100
7101 : ${CONFIG_STATUS=./config.status}
5617 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5619 fi
5620
5621 : "${CONFIG_STATUS=./config.status}"
5622 ac_write_fail=0
71025623 ac_clean_files_save=$ac_clean_files
71035624 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7104 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7105 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7106 cat >$CONFIG_STATUS <<_ACEOF
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5626 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5627 as_write_fail=0
5628 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
71075629 #! $SHELL
71085630 # Generated by $as_me.
71095631 # Run this file to recreate the current configuration.
71135635 debug=false
71145636 ac_cs_recheck=false
71155637 ac_cs_silent=false
5638
71165639 SHELL=\${CONFIG_SHELL-$SHELL}
7117 _ACEOF
7118
7119 cat >>$CONFIG_STATUS <<\_ACEOF
7120 ## --------------------- ##
7121 ## M4sh Initialization. ##
7122 ## --------------------- ##
5640 export SHELL
5641 _ASEOF
5642 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5643 ## -------------------- ##
5644 ## M4sh Initialization. ##
5645 ## -------------------- ##
71235646
71245647 # Be more Bourne compatible
71255648 DUALCASE=1; export DUALCASE # for MKS sh
7126 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5649 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
71275650 emulate sh
71285651 NULLCMD=:
7129 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
71305653 # is contrary to our usage. Disable this feature.
71315654 alias -g '${1+"$@"}'='"$@"'
71325655 setopt NO_GLOB_SUBST
71335656 else
7134 case `(set -o) 2>/dev/null` in
7135 *posix*) set -o posix ;;
5657 case `(set -o) 2>/dev/null` in #(
5658 *posix*) :
5659 set -o posix ;; #(
5660 *) :
5661 ;;
71365662 esac
7137
7138 fi
7139
7140
7141
7142
7143 # PATH needs CR
7144 # Avoid depending upon Character Ranges.
7145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7148 as_cr_digits='0123456789'
7149 as_cr_alnum=$as_cr_Letters$as_cr_digits
5663 fi
5664
5665
5666 as_nl='
5667 '
5668 export as_nl
5669 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5670 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5673 # Prefer a ksh shell builtin over an external printf program on Solaris,
5674 # but without wasting forks for bash or zsh.
5675 if test -z "$BASH_VERSION$ZSH_VERSION" \
5676 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5677 as_echo='print -r --'
5678 as_echo_n='print -rn --'
5679 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5680 as_echo='printf %s\n'
5681 as_echo_n='printf %s'
5682 else
5683 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5684 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5685 as_echo_n='/usr/ucb/echo -n'
5686 else
5687 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5688 as_echo_n_body='eval
5689 arg=$1;
5690 case $arg in #(
5691 *"$as_nl"*)
5692 expr "X$arg" : "X\\(.*\\)$as_nl";
5693 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5694 esac;
5695 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5696 '
5697 export as_echo_n_body
5698 as_echo_n='sh -c $as_echo_n_body as_echo'
5699 fi
5700 export as_echo_body
5701 as_echo='sh -c $as_echo_body as_echo'
5702 fi
71505703
71515704 # The user is always right.
71525705 if test "${PATH_SEPARATOR+set}" != set; then
7153 echo "#! /bin/sh" >conf$$.sh
7154 echo "exit 0" >>conf$$.sh
7155 chmod +x conf$$.sh
7156 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7157 PATH_SEPARATOR=';'
7158 else
7159 PATH_SEPARATOR=:
7160 fi
7161 rm -f conf$$.sh
7162 fi
7163
7164 # Support unset when possible.
7165 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7166 as_unset=unset
7167 else
7168 as_unset=false
5706 PATH_SEPARATOR=:
5707 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5708 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5709 PATH_SEPARATOR=';'
5710 }
71695711 fi
71705712
71715713
71745716 # there to prevent editors from complaining about space-tab.
71755717 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
71765718 # splitting by setting IFS to empty value.)
7177 as_nl='
7178 '
71795719 IFS=" "" $as_nl"
71805720
71815721 # Find who we are. Look in the path if we contain no directory separator.
7182 case $0 in
5722 as_myself=
5723 case $0 in #((
71835724 *[\\/]* ) as_myself=$0 ;;
71845725 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71855726 for as_dir in $PATH
71865727 do
71875728 IFS=$as_save_IFS
71885729 test -z "$as_dir" && as_dir=.
7189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7190 done
5730 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5731 done
71915732 IFS=$as_save_IFS
71925733
71935734 ;;
71985739 as_myself=$0
71995740 fi
72005741 if test ! -f "$as_myself"; then
7201 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7202 { (exit 1); exit 1; }
7203 fi
7204
7205 # Work around bugs in pre-3.0 UWIN ksh.
7206 for as_var in ENV MAIL MAILPATH
7207 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5742 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5743 exit 1
5744 fi
5745
5746 # Unset variables that we do not need and which cause bugs (e.g. in
5747 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5748 # suppresses any "Segmentation fault" message there. '((' could
5749 # trigger a bug in pdksh 5.2.14.
5750 for as_var in BASH_ENV ENV MAIL MAILPATH
5751 do eval test x\${$as_var+set} = xset \
5752 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72085753 done
72095754 PS1='$ '
72105755 PS2='> '
72115756 PS4='+ '
72125757
72135758 # NLS nuisances.
7214 for as_var in \
7215 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7216 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7217 LC_TELEPHONE LC_TIME
7218 do
7219 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7220 eval $as_var=C; export $as_var
7221 else
7222 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5759 LC_ALL=C
5760 export LC_ALL
5761 LANGUAGE=C
5762 export LANGUAGE
5763
5764 # CDPATH.
5765 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5766
5767
5768 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5769 # ----------------------------------------
5770 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5771 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5772 # script with STATUS, using 1 if that was 0.
5773 as_fn_error ()
5774 {
5775 as_status=$1; test $as_status -eq 0 && as_status=1
5776 if test "$4"; then
5777 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5778 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
72235779 fi
7224 done
7225
7226 # Required to use basename.
5780 $as_echo "$as_me: error: $2" >&2
5781 as_fn_exit $as_status
5782 } # as_fn_error
5783
5784
5785 # as_fn_set_status STATUS
5786 # -----------------------
5787 # Set $? to STATUS, without forking.
5788 as_fn_set_status ()
5789 {
5790 return $1
5791 } # as_fn_set_status
5792
5793 # as_fn_exit STATUS
5794 # -----------------
5795 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5796 as_fn_exit ()
5797 {
5798 set +e
5799 as_fn_set_status $1
5800 exit $1
5801 } # as_fn_exit
5802
5803 # as_fn_unset VAR
5804 # ---------------
5805 # Portably unset VAR.
5806 as_fn_unset ()
5807 {
5808 { eval $1=; unset $1;}
5809 }
5810 as_unset=as_fn_unset
5811 # as_fn_append VAR VALUE
5812 # ----------------------
5813 # Append the text in VALUE to the end of the definition contained in VAR. Take
5814 # advantage of any shell optimizations that allow amortized linear growth over
5815 # repeated appends, instead of the typical quadratic growth present in naive
5816 # implementations.
5817 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5818 eval 'as_fn_append ()
5819 {
5820 eval $1+=\$2
5821 }'
5822 else
5823 as_fn_append ()
5824 {
5825 eval $1=\$$1\$2
5826 }
5827 fi # as_fn_append
5828
5829 # as_fn_arith ARG...
5830 # ------------------
5831 # Perform arithmetic evaluation on the ARGs, and store the result in the
5832 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5833 # must be portable across $(()) and expr.
5834 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5835 eval 'as_fn_arith ()
5836 {
5837 as_val=$(( $* ))
5838 }'
5839 else
5840 as_fn_arith ()
5841 {
5842 as_val=`expr "$@" || test $? -eq 1`
5843 }
5844 fi # as_fn_arith
5845
5846
72275847 if expr a : '\(a\)' >/dev/null 2>&1 &&
72285848 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72295849 as_expr=expr
72375857 as_basename=false
72385858 fi
72395859
7240
7241 # Name of the executable.
5860 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5861 as_dirname=dirname
5862 else
5863 as_dirname=false
5864 fi
5865
72425866 as_me=`$as_basename -- "$0" ||
72435867 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72445868 X"$0" : 'X\(//\)$' \| \
72455869 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7246 echo X/"$0" |
5870 $as_echo X/"$0" |
72475871 sed '/^.*\/\([^/][^/]*\)\/*$/{
72485872 s//\1/
72495873 q
72585882 }
72595883 s/.*/./; q'`
72605884
7261 # CDPATH.
7262 $as_unset CDPATH
7263
7264
7265
7266 as_lineno_1=$LINENO
7267 as_lineno_2=$LINENO
7268 test "x$as_lineno_1" != "x$as_lineno_2" &&
7269 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7270
7271 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7272 # uniformly replaced by the line number. The first 'sed' inserts a
7273 # line-number line after each line using $LINENO; the second 'sed'
7274 # does the real work. The second script uses 'N' to pair each
7275 # line-number line with the line containing $LINENO, and appends
7276 # trailing '-' during substitution so that $LINENO is not a special
7277 # case at line end.
7278 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7279 # scripts with optimization help from Paolo Bonzini. Blame Lee
7280 # E. McMahon (1931-1989) for sed's syntax. :-)
7281 sed -n '
7282 p
7283 /[$]LINENO/=
7284 ' <$as_myself |
7285 sed '
7286 s/[$]LINENO.*/&-/
7287 t lineno
7288 b
7289 :lineno
7290 N
7291 :loop
7292 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7293 t loop
7294 s/-\n.*//
7295 ' >$as_me.lineno &&
7296 chmod +x "$as_me.lineno" ||
7297 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7298 { (exit 1); exit 1; }; }
7299
7300 # Don't try to exec as it changes $[0], causing all sort of problems
7301 # (the dirname of $[0] is not the place where we might find the
7302 # original and so on. Autoconf is especially sensitive to this).
7303 . "./$as_me.lineno"
7304 # Exit status is that of the last command.
7305 exit
7306 }
7307
7308
7309 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7310 as_dirname=dirname
7311 else
7312 as_dirname=false
7313 fi
5885 # Avoid depending upon Character Ranges.
5886 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5887 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5888 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5889 as_cr_digits='0123456789'
5890 as_cr_alnum=$as_cr_Letters$as_cr_digits
73145891
73155892 ECHO_C= ECHO_N= ECHO_T=
7316 case `echo -n x` in
5893 case `echo -n x` in #(((((
73175894 -n*)
7318 case `echo 'x\c'` in
5895 case `echo 'xy\c'` in
73195896 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7320 *) ECHO_C='\c';;
5897 xy) ECHO_C='\c';;
5898 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5899 ECHO_T=' ';;
73215900 esac;;
73225901 *)
73235902 ECHO_N='-n';;
73245903 esac
73255904
7326 if expr a : '\(a\)' >/dev/null 2>&1 &&
7327 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7328 as_expr=expr
7329 else
7330 as_expr=false
7331 fi
7332
73335905 rm -f conf$$ conf$$.exe conf$$.file
73345906 if test -d conf$$.dir; then
73355907 rm -f conf$$.dir/conf$$.file
73365908 else
73375909 rm -f conf$$.dir
7338 mkdir conf$$.dir
7339 fi
7340 echo >conf$$.file
7341 if ln -s conf$$.file conf$$ 2>/dev/null; then
7342 as_ln_s='ln -s'
7343 # ... but there are two gotchas:
7344 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7345 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7346 # In both cases, we have to default to `cp -p'.
7347 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7348 as_ln_s='cp -p'
7349 elif ln conf$$.file conf$$ 2>/dev/null; then
7350 as_ln_s=ln
7351 else
7352 as_ln_s='cp -p'
5910 mkdir conf$$.dir 2>/dev/null
5911 fi
5912 if (echo >conf$$.file) 2>/dev/null; then
5913 if ln -s conf$$.file conf$$ 2>/dev/null; then
5914 as_ln_s='ln -s'
5915 # ... but there are two gotchas:
5916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5918 # In both cases, we have to default to `cp -pR'.
5919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5920 as_ln_s='cp -pR'
5921 elif ln conf$$.file conf$$ 2>/dev/null; then
5922 as_ln_s=ln
5923 else
5924 as_ln_s='cp -pR'
5925 fi
5926 else
5927 as_ln_s='cp -pR'
73535928 fi
73545929 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73555930 rmdir conf$$.dir 2>/dev/null
73565931
7357 if mkdir -p . 2>/dev/null; then
7358 as_mkdir_p=:
7359 else
7360 test -d ./-p && rmdir ./-p
7361 as_mkdir_p=false
7362 fi
7363
7364 if test -x / >/dev/null 2>&1; then
7365 as_test_x='test -x'
7366 else
7367 if ls -dL / >/dev/null 2>&1; then
7368 as_ls_L_option=L
7369 else
7370 as_ls_L_option=
7371 fi
7372 as_test_x='
7373 eval sh -c '\''
7374 if test -d "$1"; then
7375 test -d "$1/.";
7376 else
7377 case $1 in
7378 -*)set "./$1";;
7379 esac;
7380 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7381 ???[sx]*):;;*)false;;esac;fi
7382 '\'' sh
7383 '
7384 fi
7385 as_executable_p=$as_test_x
7386
7387 # Sed expression to map a string onto a valid CPP name.
7388 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7389
7390 # Sed expression to map a string onto a valid variable name.
7391 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7392
7393
7394 exec 6>&1
7395
7396 # Save the log message, to keep $[0] and so on meaningful, and to
7397 # report actual input values of CONFIG_FILES etc. instead of their
7398 # values after options handling.
7399 ac_log="
7400 This file was extended by gom $as_me 0.30.2, which was
7401 generated by GNU Autoconf 2.61. Invocation command line was
7402
7403 CONFIG_FILES = $CONFIG_FILES
7404 CONFIG_HEADERS = $CONFIG_HEADERS
7405 CONFIG_LINKS = $CONFIG_LINKS
7406 CONFIG_COMMANDS = $CONFIG_COMMANDS
7407 $ $0 $@
7408
7409 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7410 "
7411
7412 _ACEOF
7413
7414 cat >>$CONFIG_STATUS <<_ACEOF
7415 # Files that config.status was made for.
7416 config_files="$ac_config_files"
7417 config_headers="$ac_config_headers"
7418 config_commands="$ac_config_commands"
7419
7420 _ACEOF
7421
7422 cat >>$CONFIG_STATUS <<\_ACEOF
7423 ac_cs_usage="\
7424 \`$as_me' instantiates files from templates according to the
7425 current configuration.
7426
7427 Usage: $0 [OPTIONS] [FILE]...
7428
7429 -h, --help print this help, then exit
7430 -V, --version print version number and configuration settings, then exit
7431 -q, --quiet do not print progress messages
7432 -d, --debug don't remove temporary files
7433 --recheck update $as_me by reconfiguring in the same conditions
7434 --file=FILE[:TEMPLATE]
7435 instantiate the configuration file FILE
7436 --header=FILE[:TEMPLATE]
7437 instantiate the configuration header FILE
7438
7439 Configuration files:
7440 $config_files
7441
7442 Configuration headers:
7443 $config_headers
7444
7445 Configuration commands:
7446 $config_commands
7447
7448 Report bugs to <bug-autoconf@gnu.org>."
7449
7450 _ACEOF
7451 cat >>$CONFIG_STATUS <<_ACEOF
7452 ac_cs_version="\\
7453 gom config.status 0.30.2
7454 configured by $0, generated by GNU Autoconf 2.61,
7455 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7456
7457 Copyright (C) 2006 Free Software Foundation, Inc.
7458 This config.status script is free software; the Free Software Foundation
7459 gives unlimited permission to copy, distribute and modify it."
7460
7461 ac_pwd='$ac_pwd'
7462 srcdir='$srcdir'
7463 INSTALL='$INSTALL'
7464 MKDIR_P='$MKDIR_P'
7465 _ACEOF
7466
7467 cat >>$CONFIG_STATUS <<\_ACEOF
7468 # If no file are specified by the user, then we need to provide default
7469 # value. By we need to know if files were specified by the user.
7470 ac_need_defaults=:
7471 while test $# != 0
7472 do
7473 case $1 in
7474 --*=*)
7475 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7476 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7477 ac_shift=:
7478 ;;
7479 *)
7480 ac_option=$1
7481 ac_optarg=$2
7482 ac_shift=shift
7483 ;;
7484 esac
7485
7486 case $ac_option in
7487 # Handling of the options.
7488 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7489 ac_cs_recheck=: ;;
7490 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7491 echo "$ac_cs_version"; exit ;;
7492 --debug | --debu | --deb | --de | --d | -d )
7493 debug=: ;;
7494 --file | --fil | --fi | --f )
7495 $ac_shift
7496 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7497 ac_need_defaults=false;;
7498 --header | --heade | --head | --hea )
7499 $ac_shift
7500 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7501 ac_need_defaults=false;;
7502 --he | --h)
7503 # Conflict between --help and --header
7504 { echo "$as_me: error: ambiguous option: $1
7505 Try \`$0 --help' for more information." >&2
7506 { (exit 1); exit 1; }; };;
7507 --help | --hel | -h )
7508 echo "$ac_cs_usage"; exit ;;
7509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7511 ac_cs_silent=: ;;
7512
7513 # This is an error.
7514 -*) { echo "$as_me: error: unrecognized option: $1
7515 Try \`$0 --help' for more information." >&2
7516 { (exit 1); exit 1; }; } ;;
7517
7518 *) ac_config_targets="$ac_config_targets $1"
7519 ac_need_defaults=false ;;
7520
7521 esac
7522 shift
7523 done
7524
7525 ac_configure_extra_args=
7526
7527 if $ac_cs_silent; then
7528 exec 6>/dev/null
7529 ac_configure_extra_args="$ac_configure_extra_args --silent"
7530 fi
7531
7532 _ACEOF
7533 cat >>$CONFIG_STATUS <<_ACEOF
7534 if \$ac_cs_recheck; then
7535 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7536 CONFIG_SHELL=$SHELL
7537 export CONFIG_SHELL
7538 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7539 fi
7540
7541 _ACEOF
7542 cat >>$CONFIG_STATUS <<\_ACEOF
7543 exec 5>>config.log
5932
5933 # as_fn_mkdir_p
5934 # -------------
5935 # Create "$as_dir" as a directory, including parents if necessary.
5936 as_fn_mkdir_p ()
75445937 {
7545 echo
7546 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7547 ## Running $as_me. ##
7548 _ASBOX
7549 echo "$ac_log"
7550 } >&5
7551
7552 _ACEOF
7553 cat >>$CONFIG_STATUS <<_ACEOF
7554 #
7555 # INIT-COMMANDS
7556 #
7557 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7558
7559 _ACEOF
7560
7561 cat >>$CONFIG_STATUS <<\_ACEOF
7562
7563 # Handling of arguments.
7564 for ac_config_target in $ac_config_targets
7565 do
7566 case $ac_config_target in
7567 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7568 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7569 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7570 "gom-${VERSION}.lsm") CONFIG_FILES="$CONFIG_FILES gom-${VERSION}.lsm:LSM.in" ;;
7571 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7572 "src/gomconfig") CONFIG_FILES="$CONFIG_FILES src/gomconfig" ;;
7573 "src/gom.1") CONFIG_FILES="$CONFIG_FILES src/gom.1" ;;
7574 "src/gomconfig.8") CONFIG_FILES="$CONFIG_FILES src/gomconfig.8" ;;
7575
7576 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7578 { (exit 1); exit 1; }; };;
7579 esac
7580 done
7581
7582
7583 # If the user did not use the arguments to specify the items to instantiate,
7584 # then the envvar interface is used. Set only those that are not.
7585 # We use the long form for the default assignment because of an extremely
7586 # bizarre bug on SunOS 4.1.3.
7587 if $ac_need_defaults; then
7588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7591 fi
7592
7593 # Have a temporary directory for convenience. Make it in the build tree
7594 # simply because there is no reason against having it here, and in addition,
7595 # creating and moving files from /tmp can sometimes cause problems.
7596 # Hook for its removal unless debugging.
7597 # Note that there is a small window in which the directory will not be cleaned:
7598 # after its creation but before its name has been assigned to `$tmp'.
7599 $debug ||
7600 {
7601 tmp=
7602 trap 'exit_status=$?
7603 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7604 ' 0
7605 trap '{ (exit 1); exit 1; }' 1 2 13 15
7606 }
7607 # Create a (secure) tmp directory for tmp files.
7608
7609 {
7610 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7611 test -n "$tmp" && test -d "$tmp"
7612 } ||
7613 {
7614 tmp=./conf$$-$RANDOM
7615 (umask 077 && mkdir "$tmp")
7616 } ||
7617 {
7618 echo "$me: cannot create a temporary directory in ." >&2
7619 { (exit 1); exit 1; }
7620 }
7621
7622 #
7623 # Set up the sed scripts for CONFIG_FILES section.
7624 #
7625
7626 # No need to generate the scripts if there are no CONFIG_FILES.
7627 # This happens for instance when ./config.status config.h
7628 if test -n "$CONFIG_FILES"; then
7629
7630 _ACEOF
7631
7632
7633
7634 ac_delim='%!_!# '
7635 for ac_last_try in false false false false false :; do
7636 cat >conf$$subs.sed <<_ACEOF
7637 SHELL!$SHELL$ac_delim
7638 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7639 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7640 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7641 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7642 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7643 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7644 exec_prefix!$exec_prefix$ac_delim
7645 prefix!$prefix$ac_delim
7646 program_transform_name!$program_transform_name$ac_delim
7647 bindir!$bindir$ac_delim
7648 sbindir!$sbindir$ac_delim
7649 libexecdir!$libexecdir$ac_delim
7650 datarootdir!$datarootdir$ac_delim
7651 datadir!$datadir$ac_delim
7652 sysconfdir!$sysconfdir$ac_delim
7653 sharedstatedir!$sharedstatedir$ac_delim
7654 localstatedir!$localstatedir$ac_delim
7655 includedir!$includedir$ac_delim
7656 oldincludedir!$oldincludedir$ac_delim
7657 docdir!$docdir$ac_delim
7658 infodir!$infodir$ac_delim
7659 htmldir!$htmldir$ac_delim
7660 dvidir!$dvidir$ac_delim
7661 pdfdir!$pdfdir$ac_delim
7662 psdir!$psdir$ac_delim
7663 libdir!$libdir$ac_delim
7664 localedir!$localedir$ac_delim
7665 mandir!$mandir$ac_delim
7666 DEFS!$DEFS$ac_delim
7667 ECHO_C!$ECHO_C$ac_delim
7668 ECHO_N!$ECHO_N$ac_delim
7669 ECHO_T!$ECHO_T$ac_delim
7670 LIBS!$LIBS$ac_delim
7671 build_alias!$build_alias$ac_delim
7672 host_alias!$host_alias$ac_delim
7673 target_alias!$target_alias$ac_delim
7674 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7675 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7676 INSTALL_DATA!$INSTALL_DATA$ac_delim
7677 am__isrc!$am__isrc$ac_delim
7678 CYGPATH_W!$CYGPATH_W$ac_delim
7679 PACKAGE!$PACKAGE$ac_delim
7680 VERSION!$VERSION$ac_delim
7681 ACLOCAL!$ACLOCAL$ac_delim
7682 AUTOCONF!$AUTOCONF$ac_delim
7683 AUTOMAKE!$AUTOMAKE$ac_delim
7684 AUTOHEADER!$AUTOHEADER$ac_delim
7685 MAKEINFO!$MAKEINFO$ac_delim
7686 install_sh!$install_sh$ac_delim
7687 STRIP!$STRIP$ac_delim
7688 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7689 mkdir_p!$mkdir_p$ac_delim
7690 AWK!$AWK$ac_delim
7691 SET_MAKE!$SET_MAKE$ac_delim
7692 am__leading_dot!$am__leading_dot$ac_delim
7693 AMTAR!$AMTAR$ac_delim
7694 am__tar!$am__tar$ac_delim
7695 am__untar!$am__untar$ac_delim
7696 DATE!$DATE$ac_delim
7697 DATE_CURRENT!$DATE_CURRENT$ac_delim
7698 GOM_TITLE!$GOM_TITLE$ac_delim
7699 GOM_COPYRIGHT!$GOM_COPYRIGHT$ac_delim
7700 CC!$CC$ac_delim
7701 CFLAGS!$CFLAGS$ac_delim
7702 LDFLAGS!$LDFLAGS$ac_delim
7703 CPPFLAGS!$CPPFLAGS$ac_delim
7704 ac_ct_CC!$ac_ct_CC$ac_delim
7705 EXEEXT!$EXEEXT$ac_delim
7706 OBJEXT!$OBJEXT$ac_delim
7707 DEPDIR!$DEPDIR$ac_delim
7708 am__include!$am__include$ac_delim
7709 am__quote!$am__quote$ac_delim
7710 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7711 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7712 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7713 CCDEPMODE!$CCDEPMODE$ac_delim
7714 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7715 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7716 LN_S!$LN_S$ac_delim
7717 XMKMF!$XMKMF$ac_delim
7718 CPP!$CPP$ac_delim
7719 X_CFLAGS!$X_CFLAGS$ac_delim
7720 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
7721 X_LIBS!$X_LIBS$ac_delim
7722 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
7723 GREP!$GREP$ac_delim
7724 EGREP!$EGREP$ac_delim
7725 GOM_CFLAGS!$GOM_CFLAGS$ac_delim
7726 GOM_CPPFLAGS!$GOM_CPPFLAGS$ac_delim
7727 GOM_SOUND_DRIVER_ID!$GOM_SOUND_DRIVER_ID$ac_delim
7728 LIBOBJS!$LIBOBJS$ac_delim
7729 LTLIBOBJS!$LTLIBOBJS$ac_delim
7730 _ACEOF
7731
7732 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
7733 break
7734 elif $ac_last_try; then
7735 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7736 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7737 { (exit 1); exit 1; }; }
7738 else
7739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7740 fi
7741 done
7742
7743 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7744 if test -n "$ac_eof"; then
7745 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7746 ac_eof=`expr $ac_eof + 1`
7747 fi
7748
7749 cat >>$CONFIG_STATUS <<_ACEOF
7750 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7752 _ACEOF
7753 sed '
7754 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7755 s/^/s,@/; s/!/@,|#_!!_#|/
7756 :n
7757 t n
7758 s/'"$ac_delim"'$/,g/; t
7759 s/$/\\/; p
7760 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7761 ' >>$CONFIG_STATUS <conf$$subs.sed
7762 rm -f conf$$subs.sed
7763 cat >>$CONFIG_STATUS <<_ACEOF
7764 :end
7765 s/|#_!!_#|//g
7766 CEOF$ac_eof
7767 _ACEOF
7768
7769
7770 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7771 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7772 # trailing colons and then remove the whole line if VPATH becomes empty
7773 # (actually we leave an empty line to preserve line numbers).
7774 if test "x$srcdir" = x.; then
7775 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7776 s/:*\$(srcdir):*/:/
7777 s/:*\${srcdir}:*/:/
7778 s/:*@srcdir@:*/:/
7779 s/^\([^=]*=[ ]*\):*/\1/
7780 s/:*$//
7781 s/^[^=]*=[ ]*$//
7782 }'
7783 fi
7784
7785 cat >>$CONFIG_STATUS <<\_ACEOF
7786 fi # test -n "$CONFIG_FILES"
7787
7788
7789 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7790 do
7791 case $ac_tag in
7792 :[FHLC]) ac_mode=$ac_tag; continue;;
7793 esac
7794 case $ac_mode$ac_tag in
7795 :[FHL]*:*);;
7796 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7797 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7798 { (exit 1); exit 1; }; };;
7799 :[FH]-) ac_tag=-:-;;
7800 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7801 esac
7802 ac_save_IFS=$IFS
7803 IFS=:
7804 set x $ac_tag
7805 IFS=$ac_save_IFS
7806 shift
7807 ac_file=$1
7808 shift
7809
7810 case $ac_mode in
7811 :L) ac_source=$1;;
7812 :[FH])
7813 ac_file_inputs=
7814 for ac_f
7815 do
7816 case $ac_f in
7817 -) ac_f="$tmp/stdin";;
7818 *) # Look for the file first in the build tree, then in the source tree
7819 # (if the path is not absolute). The absolute path cannot be DOS-style,
7820 # because $ac_f cannot contain `:'.
7821 test -f "$ac_f" ||
7822 case $ac_f in
7823 [\\/$]*) false;;
7824 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7825 esac ||
7826 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7827 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7828 { (exit 1); exit 1; }; };;
7829 esac
7830 ac_file_inputs="$ac_file_inputs $ac_f"
7831 done
7832
7833 # Let's still pretend it is `configure' which instantiates (i.e., don't
7834 # use $as_me), people would be surprised to read:
7835 # /* config.h. Generated by config.status. */
7836 configure_input="Generated from "`IFS=:
7837 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7838 if test x"$ac_file" != x-; then
7839 configure_input="$ac_file. $configure_input"
7840 { echo "$as_me:$LINENO: creating $ac_file" >&5
7841 echo "$as_me: creating $ac_file" >&6;}
7842 fi
7843
7844 case $ac_tag in
7845 *:-:* | *:-) cat >"$tmp/stdin";;
7846 esac
7847 ;;
7848 esac
7849
7850 ac_dir=`$as_dirname -- "$ac_file" ||
7851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7852 X"$ac_file" : 'X\(//\)[^/]' \| \
7853 X"$ac_file" : 'X\(//\)$' \| \
7854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7855 echo X"$ac_file" |
7856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7857 s//\1/
7858 q
7859 }
7860 /^X\(\/\/\)[^/].*/{
7861 s//\1/
7862 q
7863 }
7864 /^X\(\/\/\)$/{
7865 s//\1/
7866 q
7867 }
7868 /^X\(\/\).*/{
7869 s//\1/
7870 q
7871 }
7872 s/.*/./; q'`
7873 { as_dir="$ac_dir"
5938
78745939 case $as_dir in #(
78755940 -*) as_dir=./$as_dir;;
78765941 esac
7877 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5942 test -d "$as_dir" || eval $as_mkdir_p || {
78785943 as_dirs=
78795944 while :; do
78805945 case $as_dir in #(
7881 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5946 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78825947 *) as_qdir=$as_dir;;
78835948 esac
78845949 as_dirs="'$as_qdir' $as_dirs"
78875952 X"$as_dir" : 'X\(//\)[^/]' \| \
78885953 X"$as_dir" : 'X\(//\)$' \| \
78895954 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7890 echo X"$as_dir" |
5955 $as_echo X"$as_dir" |
78915956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78925957 s//\1/
78935958 q
79085973 test -d "$as_dir" && break
79095974 done
79105975 test -z "$as_dirs" || eval "mkdir $as_dirs"
7911 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7912 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7913 { (exit 1); exit 1; }; }; }
5976 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5977
5978
5979 } # as_fn_mkdir_p
5980 if mkdir -p . 2>/dev/null; then
5981 as_mkdir_p='mkdir -p "$as_dir"'
5982 else
5983 test -d ./-p && rmdir ./-p
5984 as_mkdir_p=false
5985 fi
5986
5987
5988 # as_fn_executable_p FILE
5989 # -----------------------
5990 # Test if FILE is an executable regular file.
5991 as_fn_executable_p ()
5992 {
5993 test -f "$1" && test -x "$1"
5994 } # as_fn_executable_p
5995 as_test_x='test -x'
5996 as_executable_p=as_fn_executable_p
5997
5998 # Sed expression to map a string onto a valid CPP name.
5999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6000
6001 # Sed expression to map a string onto a valid variable name.
6002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6003
6004
6005 exec 6>&1
6006 ## ----------------------------------- ##
6007 ## Main body of $CONFIG_STATUS script. ##
6008 ## ----------------------------------- ##
6009 _ASEOF
6010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6011
6012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6013 # Save the log message, to keep $0 and so on meaningful, and to
6014 # report actual input values of CONFIG_FILES etc. instead of their
6015 # values after options handling.
6016 ac_log="
6017 This file was extended by gom $as_me 0.30.3, which was
6018 generated by GNU Autoconf 2.69. Invocation command line was
6019
6020 CONFIG_FILES = $CONFIG_FILES
6021 CONFIG_HEADERS = $CONFIG_HEADERS
6022 CONFIG_LINKS = $CONFIG_LINKS
6023 CONFIG_COMMANDS = $CONFIG_COMMANDS
6024 $ $0 $@
6025
6026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6027 "
6028
6029 _ACEOF
6030
6031 case $ac_config_files in *"
6032 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6033 esac
6034
6035 case $ac_config_headers in *"
6036 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6037 esac
6038
6039
6040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6041 # Files that config.status was made for.
6042 config_files="$ac_config_files"
6043 config_headers="$ac_config_headers"
6044 config_commands="$ac_config_commands"
6045
6046 _ACEOF
6047
6048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6049 ac_cs_usage="\
6050 \`$as_me' instantiates files and other configuration actions
6051 from templates according to the current configuration. Unless the files
6052 and actions are specified as TAGs, all are instantiated by default.
6053
6054 Usage: $0 [OPTION]... [TAG]...
6055
6056 -h, --help print this help, then exit
6057 -V, --version print version number and configuration settings, then exit
6058 --config print configuration, then exit
6059 -q, --quiet, --silent
6060 do not print progress messages
6061 -d, --debug don't remove temporary files
6062 --recheck update $as_me by reconfiguring in the same conditions
6063 --file=FILE[:TEMPLATE]
6064 instantiate the configuration file FILE
6065 --header=FILE[:TEMPLATE]
6066 instantiate the configuration header FILE
6067
6068 Configuration files:
6069 $config_files
6070
6071 Configuration headers:
6072 $config_headers
6073
6074 Configuration commands:
6075 $config_commands
6076
6077 Report bugs to the package provider."
6078
6079 _ACEOF
6080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6082 ac_cs_version="\\
6083 gom config.status 0.30.3
6084 configured by $0, generated by GNU Autoconf 2.69,
6085 with options \\"\$ac_cs_config\\"
6086
6087 Copyright (C) 2012 Free Software Foundation, Inc.
6088 This config.status script is free software; the Free Software Foundation
6089 gives unlimited permission to copy, distribute and modify it."
6090
6091 ac_pwd='$ac_pwd'
6092 srcdir='$srcdir'
6093 INSTALL='$INSTALL'
6094 MKDIR_P='$MKDIR_P'
6095 AWK='$AWK'
6096 test -n "\$AWK" || AWK=awk
6097 _ACEOF
6098
6099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6100 # The default lists apply if the user does not specify any file.
6101 ac_need_defaults=:
6102 while test $# != 0
6103 do
6104 case $1 in
6105 --*=?*)
6106 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6107 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6108 ac_shift=:
6109 ;;
6110 --*=)
6111 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6112 ac_optarg=
6113 ac_shift=:
6114 ;;
6115 *)
6116 ac_option=$1
6117 ac_optarg=$2
6118 ac_shift=shift
6119 ;;
6120 esac
6121
6122 case $ac_option in
6123 # Handling of the options.
6124 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6125 ac_cs_recheck=: ;;
6126 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6127 $as_echo "$ac_cs_version"; exit ;;
6128 --config | --confi | --conf | --con | --co | --c )
6129 $as_echo "$ac_cs_config"; exit ;;
6130 --debug | --debu | --deb | --de | --d | -d )
6131 debug=: ;;
6132 --file | --fil | --fi | --f )
6133 $ac_shift
6134 case $ac_optarg in
6135 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6136 '') as_fn_error $? "missing file argument" ;;
6137 esac
6138 as_fn_append CONFIG_FILES " '$ac_optarg'"
6139 ac_need_defaults=false;;
6140 --header | --heade | --head | --hea )
6141 $ac_shift
6142 case $ac_optarg in
6143 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6144 esac
6145 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6146 ac_need_defaults=false;;
6147 --he | --h)
6148 # Conflict between --help and --header
6149 as_fn_error $? "ambiguous option: \`$1'
6150 Try \`$0 --help' for more information.";;
6151 --help | --hel | -h )
6152 $as_echo "$ac_cs_usage"; exit ;;
6153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6154 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6155 ac_cs_silent=: ;;
6156
6157 # This is an error.
6158 -*) as_fn_error $? "unrecognized option: \`$1'
6159 Try \`$0 --help' for more information." ;;
6160
6161 *) as_fn_append ac_config_targets " $1"
6162 ac_need_defaults=false ;;
6163
6164 esac
6165 shift
6166 done
6167
6168 ac_configure_extra_args=
6169
6170 if $ac_cs_silent; then
6171 exec 6>/dev/null
6172 ac_configure_extra_args="$ac_configure_extra_args --silent"
6173 fi
6174
6175 _ACEOF
6176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6177 if \$ac_cs_recheck; then
6178 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6179 shift
6180 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6181 CONFIG_SHELL='$SHELL'
6182 export CONFIG_SHELL
6183 exec "\$@"
6184 fi
6185
6186 _ACEOF
6187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6188 exec 5>>config.log
6189 {
6190 echo
6191 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6192 ## Running $as_me. ##
6193 _ASBOX
6194 $as_echo "$ac_log"
6195 } >&5
6196
6197 _ACEOF
6198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6199 #
6200 # INIT-COMMANDS
6201 #
6202 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6203
6204 _ACEOF
6205
6206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6207
6208 # Handling of arguments.
6209 for ac_config_target in $ac_config_targets
6210 do
6211 case $ac_config_target in
6212 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6213 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6214 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6215 "gom-${VERSION}.lsm") CONFIG_FILES="$CONFIG_FILES gom-${VERSION}.lsm:LSM.in" ;;
6216 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6217 "src/gomconfig") CONFIG_FILES="$CONFIG_FILES src/gomconfig" ;;
6218 "src/gom.1") CONFIG_FILES="$CONFIG_FILES src/gom.1" ;;
6219 "src/gomconfig.8") CONFIG_FILES="$CONFIG_FILES src/gomconfig.8" ;;
6220
6221 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6222 esac
6223 done
6224
6225
6226 # If the user did not use the arguments to specify the items to instantiate,
6227 # then the envvar interface is used. Set only those that are not.
6228 # We use the long form for the default assignment because of an extremely
6229 # bizarre bug on SunOS 4.1.3.
6230 if $ac_need_defaults; then
6231 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6232 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6233 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6234 fi
6235
6236 # Have a temporary directory for convenience. Make it in the build tree
6237 # simply because there is no reason against having it here, and in addition,
6238 # creating and moving files from /tmp can sometimes cause problems.
6239 # Hook for its removal unless debugging.
6240 # Note that there is a small window in which the directory will not be cleaned:
6241 # after its creation but before its name has been assigned to `$tmp'.
6242 $debug ||
6243 {
6244 tmp= ac_tmp=
6245 trap 'exit_status=$?
6246 : "${ac_tmp:=$tmp}"
6247 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6248 ' 0
6249 trap 'as_fn_exit 1' 1 2 13 15
6250 }
6251 # Create a (secure) tmp directory for tmp files.
6252
6253 {
6254 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6255 test -d "$tmp"
6256 } ||
6257 {
6258 tmp=./conf$$-$RANDOM
6259 (umask 077 && mkdir "$tmp")
6260 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6261 ac_tmp=$tmp
6262
6263 # Set up the scripts for CONFIG_FILES section.
6264 # No need to generate them if there are no CONFIG_FILES.
6265 # This happens for instance with `./config.status config.h'.
6266 if test -n "$CONFIG_FILES"; then
6267
6268
6269 ac_cr=`echo X | tr X '\015'`
6270 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6271 # But we know of no other shell where ac_cr would be empty at this
6272 # point, so we can use a bashism as a fallback.
6273 if test "x$ac_cr" = x; then
6274 eval ac_cr=\$\'\\r\'
6275 fi
6276 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6277 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6278 ac_cs_awk_cr='\\r'
6279 else
6280 ac_cs_awk_cr=$ac_cr
6281 fi
6282
6283 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6284 _ACEOF
6285
6286
6287 {
6288 echo "cat >conf$$subs.awk <<_ACEOF" &&
6289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6290 echo "_ACEOF"
6291 } >conf$$subs.sh ||
6292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6294 ac_delim='%!_!# '
6295 for ac_last_try in false false false false false :; do
6296 . ./conf$$subs.sh ||
6297 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6298
6299 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6300 if test $ac_delim_n = $ac_delim_num; then
6301 break
6302 elif $ac_last_try; then
6303 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6304 else
6305 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6306 fi
6307 done
6308 rm -f conf$$subs.sh
6309
6310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6311 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6312 _ACEOF
6313 sed -n '
6314 h
6315 s/^/S["/; s/!.*/"]=/
6316 p
6317 g
6318 s/^[^!]*!//
6319 :repl
6320 t repl
6321 s/'"$ac_delim"'$//
6322 t delim
6323 :nl
6324 h
6325 s/\(.\{148\}\)..*/\1/
6326 t more1
6327 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6328 p
6329 n
6330 b repl
6331 :more1
6332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6333 p
6334 g
6335 s/.\{148\}//
6336 t nl
6337 :delim
6338 h
6339 s/\(.\{148\}\)..*/\1/
6340 t more2
6341 s/["\\]/\\&/g; s/^/"/; s/$/"/
6342 p
6343 b
6344 :more2
6345 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6346 p
6347 g
6348 s/.\{148\}//
6349 t delim
6350 ' <conf$$subs.awk | sed '
6351 /^[^""]/{
6352 N
6353 s/\n//
6354 }
6355 ' >>$CONFIG_STATUS || ac_write_fail=1
6356 rm -f conf$$subs.awk
6357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6358 _ACAWK
6359 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6360 for (key in S) S_is_set[key] = 1
6361 FS = ""
6362
6363 }
6364 {
6365 line = $ 0
6366 nfields = split(line, field, "@")
6367 substed = 0
6368 len = length(field[1])
6369 for (i = 2; i < nfields; i++) {
6370 key = field[i]
6371 keylen = length(key)
6372 if (S_is_set[key]) {
6373 value = S[key]
6374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6375 len += length(value) + length(field[++i])
6376 substed = 1
6377 } else
6378 len += 1 + keylen
6379 }
6380
6381 print line
6382 }
6383
6384 _ACAWK
6385 _ACEOF
6386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6387 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6388 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6389 else
6390 cat
6391 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6392 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6393 _ACEOF
6394
6395 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6396 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6397 # trailing colons and then remove the whole line if VPATH becomes empty
6398 # (actually we leave an empty line to preserve line numbers).
6399 if test "x$srcdir" = x.; then
6400 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6401 h
6402 s///
6403 s/^/:/
6404 s/[ ]*$/:/
6405 s/:\$(srcdir):/:/g
6406 s/:\${srcdir}:/:/g
6407 s/:@srcdir@:/:/g
6408 s/^:*//
6409 s/:*$//
6410 x
6411 s/\(=[ ]*\).*/\1/
6412 G
6413 s/\n//
6414 s/^[^=]*=[ ]*$//
6415 }'
6416 fi
6417
6418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6419 fi # test -n "$CONFIG_FILES"
6420
6421 # Set up the scripts for CONFIG_HEADERS section.
6422 # No need to generate them if there are no CONFIG_HEADERS.
6423 # This happens for instance with `./config.status Makefile'.
6424 if test -n "$CONFIG_HEADERS"; then
6425 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6426 BEGIN {
6427 _ACEOF
6428
6429 # Transform confdefs.h into an awk script `defines.awk', embedded as
6430 # here-document in config.status, that substitutes the proper values into
6431 # config.h.in to produce config.h.
6432
6433 # Create a delimiter string that does not exist in confdefs.h, to ease
6434 # handling of long lines.
6435 ac_delim='%!_!# '
6436 for ac_last_try in false false :; do
6437 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6438 if test -z "$ac_tt"; then
6439 break
6440 elif $ac_last_try; then
6441 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6442 else
6443 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6444 fi
6445 done
6446
6447 # For the awk script, D is an array of macro values keyed by name,
6448 # likewise P contains macro parameters if any. Preserve backslash
6449 # newline sequences.
6450
6451 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6452 sed -n '
6453 s/.\{148\}/&'"$ac_delim"'/g
6454 t rset
6455 :rset
6456 s/^[ ]*#[ ]*define[ ][ ]*/ /
6457 t def
6458 d
6459 :def
6460 s/\\$//
6461 t bsnl
6462 s/["\\]/\\&/g
6463 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6464 D["\1"]=" \3"/p
6465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6466 d
6467 :bsnl
6468 s/["\\]/\\&/g
6469 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6470 D["\1"]=" \3\\\\\\n"\\/p
6471 t cont
6472 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6473 t cont
6474 d
6475 :cont
6476 n
6477 s/.\{148\}/&'"$ac_delim"'/g
6478 t clear
6479 :clear
6480 s/\\$//
6481 t bsnlc
6482 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6483 d
6484 :bsnlc
6485 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6486 b cont
6487 ' <confdefs.h | sed '
6488 s/'"$ac_delim"'/"\\\
6489 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6490
6491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6492 for (key in D) D_is_set[key] = 1
6493 FS = ""
6494 }
6495 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6496 line = \$ 0
6497 split(line, arg, " ")
6498 if (arg[1] == "#") {
6499 defundef = arg[2]
6500 mac1 = arg[3]
6501 } else {
6502 defundef = substr(arg[1], 2)
6503 mac1 = arg[2]
6504 }
6505 split(mac1, mac2, "(") #)
6506 macro = mac2[1]
6507 prefix = substr(line, 1, index(line, defundef) - 1)
6508 if (D_is_set[macro]) {
6509 # Preserve the white space surrounding the "#".
6510 print prefix "define", macro P[macro] D[macro]
6511 next
6512 } else {
6513 # Replace #undef with comments. This is necessary, for example,
6514 # in the case of _POSIX_SOURCE, which is predefined and required
6515 # on some systems where configure will not decide to define it.
6516 if (defundef == "undef") {
6517 print "/*", prefix defundef, macro, "*/"
6518 next
6519 }
6520 }
6521 }
6522 { print }
6523 _ACAWK
6524 _ACEOF
6525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6526 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6527 fi # test -n "$CONFIG_HEADERS"
6528
6529
6530 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6531 shift
6532 for ac_tag
6533 do
6534 case $ac_tag in
6535 :[FHLC]) ac_mode=$ac_tag; continue;;
6536 esac
6537 case $ac_mode$ac_tag in
6538 :[FHL]*:*);;
6539 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6540 :[FH]-) ac_tag=-:-;;
6541 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6542 esac
6543 ac_save_IFS=$IFS
6544 IFS=:
6545 set x $ac_tag
6546 IFS=$ac_save_IFS
6547 shift
6548 ac_file=$1
6549 shift
6550
6551 case $ac_mode in
6552 :L) ac_source=$1;;
6553 :[FH])
6554 ac_file_inputs=
6555 for ac_f
6556 do
6557 case $ac_f in
6558 -) ac_f="$ac_tmp/stdin";;
6559 *) # Look for the file first in the build tree, then in the source tree
6560 # (if the path is not absolute). The absolute path cannot be DOS-style,
6561 # because $ac_f cannot contain `:'.
6562 test -f "$ac_f" ||
6563 case $ac_f in
6564 [\\/$]*) false;;
6565 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6566 esac ||
6567 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6568 esac
6569 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6570 as_fn_append ac_file_inputs " '$ac_f'"
6571 done
6572
6573 # Let's still pretend it is `configure' which instantiates (i.e., don't
6574 # use $as_me), people would be surprised to read:
6575 # /* config.h. Generated by config.status. */
6576 configure_input='Generated from '`
6577 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6578 `' by configure.'
6579 if test x"$ac_file" != x-; then
6580 configure_input="$ac_file. $configure_input"
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6582 $as_echo "$as_me: creating $ac_file" >&6;}
6583 fi
6584 # Neutralize special characters interpreted by sed in replacement strings.
6585 case $configure_input in #(
6586 *\&* | *\|* | *\\* )
6587 ac_sed_conf_input=`$as_echo "$configure_input" |
6588 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6589 *) ac_sed_conf_input=$configure_input;;
6590 esac
6591
6592 case $ac_tag in
6593 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6595 esac
6596 ;;
6597 esac
6598
6599 ac_dir=`$as_dirname -- "$ac_file" ||
6600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6601 X"$ac_file" : 'X\(//\)[^/]' \| \
6602 X"$ac_file" : 'X\(//\)$' \| \
6603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6604 $as_echo X"$ac_file" |
6605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6606 s//\1/
6607 q
6608 }
6609 /^X\(\/\/\)[^/].*/{
6610 s//\1/
6611 q
6612 }
6613 /^X\(\/\/\)$/{
6614 s//\1/
6615 q
6616 }
6617 /^X\(\/\).*/{
6618 s//\1/
6619 q
6620 }
6621 s/.*/./; q'`
6622 as_dir="$ac_dir"; as_fn_mkdir_p
79146623 ac_builddir=.
79156624
79166625 case "$ac_dir" in
79176626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79186627 *)
7919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6628 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79206629 # A ".." for each directory in $ac_dir_suffix.
7921 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6630 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79226631 case $ac_top_builddir_sub in
79236632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79246633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79636672 esac
79646673 _ACEOF
79656674
7966 cat >>$CONFIG_STATUS <<\_ACEOF
6675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79676676 # If the template does not know about datarootdir, expand it.
79686677 # FIXME: This hack should be removed a few years after 2.60.
79696678 ac_datarootdir_hack=; ac_datarootdir_seen=
7970
7971 case `sed -n '/datarootdir/ {
6679 ac_sed_dataroot='
6680 /datarootdir/ {
79726681 p
79736682 q
79746683 }
79766685 /@docdir@/p
79776686 /@infodir@/p
79786687 /@localedir@/p
7979 /@mandir@/p
7980 ' $ac_file_inputs` in
6688 /@mandir@/p'
6689 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79816690 *datarootdir*) ac_datarootdir_seen=yes;;
79826691 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7983 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7984 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7985 _ACEOF
7986 cat >>$CONFIG_STATUS <<_ACEOF
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6693 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6694 _ACEOF
6695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79876696 ac_datarootdir_hack='
79886697 s&@datadir@&$datadir&g
79896698 s&@docdir@&$docdir&g
79906699 s&@infodir@&$infodir&g
79916700 s&@localedir@&$localedir&g
79926701 s&@mandir@&$mandir&g
7993 s&\\\${datarootdir}&$datarootdir&g' ;;
6702 s&\\\${datarootdir}&$datarootdir&g' ;;
79946703 esac
79956704 _ACEOF
79966705
79976706 # Neutralize VPATH when `$srcdir' = `.'.
79986707 # Shell code in configure.ac might set extrasub.
79996708 # FIXME: do we really want to maintain this feature?
8000 cat >>$CONFIG_STATUS <<_ACEOF
8001 sed "$ac_vpsub
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6710 ac_sed_extra="$ac_vpsub
80026711 $extrasub
80036712 _ACEOF
8004 cat >>$CONFIG_STATUS <<\_ACEOF
6713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80056714 :t
80066715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8007 s&@configure_input@&$configure_input&;t t
6716 s|@configure_input@|$ac_sed_conf_input|;t t
80086717 s&@top_builddir@&$ac_top_builddir_sub&;t t
6718 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80096719 s&@srcdir@&$ac_srcdir&;t t
80106720 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80116721 s&@top_srcdir@&$ac_top_srcdir&;t t
80166726 s&@INSTALL@&$ac_INSTALL&;t t
80176727 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80186728 $ac_datarootdir_hack
8019 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6729 "
6730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6731 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80206732
80216733 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8022 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8023 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8024 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8025 which seems to be undefined. Please make sure it is defined." >&5
8026 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8027 which seems to be undefined. Please make sure it is defined." >&2;}
8028
8029 rm -f "$tmp/stdin"
6734 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6735 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6736 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6738 which seems to be undefined. Please make sure it is defined" >&5
6739 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6740 which seems to be undefined. Please make sure it is defined" >&2;}
6741
6742 rm -f "$ac_tmp/stdin"
80306743 case $ac_file in
8031 -) cat "$tmp/out"; rm -f "$tmp/out";;
8032 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8033 esac
6744 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6745 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6746 esac \
6747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80346748 ;;
80356749 :H)
80366750 #
80376751 # CONFIG_HEADER
80386752 #
8039 _ACEOF
8040
8041 # Transform confdefs.h into a sed script `conftest.defines', that
8042 # substitutes the proper values into config.h.in to produce config.h.
8043 rm -f conftest.defines conftest.tail
8044 # First, append a space to every undef/define line, to ease matching.
8045 echo 's/$/ /' >conftest.defines
8046 # Then, protect against being on the right side of a sed subst, or in
8047 # an unquoted here document, in config.status. If some macros were
8048 # called several times there might be several #defines for the same
8049 # symbol, which is useless. But do not sort them, since the last
8050 # AC_DEFINE must be honored.
8051 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8052 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8053 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8054 # PARAMS is the parameter list in the macro definition--in most cases, it's
8055 # just an empty string.
8056 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8057 ac_dB='\\)[ (].*,\\1define\\2'
8058 ac_dC=' '
8059 ac_dD=' ,'
8060
8061 uniq confdefs.h |
8062 sed -n '
8063 t rset
8064 :rset
8065 s/^[ ]*#[ ]*define[ ][ ]*//
8066 t ok
8067 d
8068 :ok
8069 s/[\\&,]/\\&/g
8070 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8071 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8072 ' >>conftest.defines
8073
8074 # Remove the space that was appended to ease matching.
8075 # Then replace #undef with comments. This is necessary, for
8076 # example, in the case of _POSIX_SOURCE, which is predefined and required
8077 # on some systems where configure will not decide to define it.
8078 # (The regexp can be short, since the line contains either #define or #undef.)
8079 echo 's/ $//
8080 s,^[ #]*u.*,/* & */,' >>conftest.defines
8081
8082 # Break up conftest.defines:
8083 ac_max_sed_lines=50
8084
8085 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8086 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8087 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8088 # et cetera.
8089 ac_in='$ac_file_inputs'
8090 ac_out='"$tmp/out1"'
8091 ac_nxt='"$tmp/out2"'
8092
8093 while :
8094 do
8095 # Write a here document:
8096 cat >>$CONFIG_STATUS <<_ACEOF
8097 # First, check the format of the line:
8098 cat >"\$tmp/defines.sed" <<\\CEOF
8099 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8100 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8101 b
8102 :def
8103 _ACEOF
8104 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8105 echo 'CEOF
8106 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8107 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8108 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8109 grep . conftest.tail >/dev/null || break
8110 rm -f conftest.defines
8111 mv conftest.tail conftest.defines
8112 done
8113 rm -f conftest.defines conftest.tail
8114
8115 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8116 cat >>$CONFIG_STATUS <<\_ACEOF
81176753 if test x"$ac_file" != x-; then
8118 echo "/* $configure_input */" >"$tmp/config.h"
8119 cat "$ac_result" >>"$tmp/config.h"
8120 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8121 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8122 echo "$as_me: $ac_file is unchanged" >&6;}
6754 {
6755 $as_echo "/* $configure_input */" \
6756 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6757 } >"$ac_tmp/config.h" \
6758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6759 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6761 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81236762 else
8124 rm -f $ac_file
8125 mv "$tmp/config.h" $ac_file
6763 rm -f "$ac_file"
6764 mv "$ac_tmp/config.h" "$ac_file" \
6765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
81266766 fi
81276767 else
8128 echo "/* $configure_input */"
8129 cat "$ac_result"
6768 $as_echo "/* $configure_input */" \
6769 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6770 || as_fn_error $? "could not create -" "$LINENO" 5
81306771 fi
8131 rm -f "$tmp/out12"
8132 # Compute $ac_file's index in $config_headers.
8133 _am_arg=$ac_file
6772 # Compute "$ac_file"'s index in $config_headers.
6773 _am_arg="$ac_file"
81346774 _am_stamp_count=1
81356775 for _am_header in $config_headers :; do
81366776 case $_am_header in
81456785 X"$_am_arg" : 'X\(//\)[^/]' \| \
81466786 X"$_am_arg" : 'X\(//\)$' \| \
81476787 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8148 echo X"$_am_arg" |
6788 $as_echo X"$_am_arg" |
81496789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81506790 s//\1/
81516791 q
81656805 s/.*/./; q'`/stamp-h$_am_stamp_count
81666806 ;;
81676807
8168 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8169 echo "$as_me: executing $ac_file commands" >&6;}
6808 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6809 $as_echo "$as_me: executing $ac_file commands" >&6;}
81706810 ;;
81716811 esac
81726812
81736813
81746814 case $ac_file$ac_mode in
8175 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8176 # Strip MF so we end up with the name of the file.
8177 mf=`echo "$mf" | sed -e 's/:.*$//'`
8178 # Check whether this is an Automake generated Makefile or not.
8179 # We used to match only the files named `Makefile.in', but
8180 # some people rename them; so instead we look at the file content.
8181 # Grep'ing the first line is not enough: some people post-process
8182 # each Makefile.in and add a new line on top of each file to say so.
8183 # Grep'ing the whole file is not good either: AIX grep has a line
8184 # limit of 2048, but all sed's we know have understand at least 4000.
8185 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8186 dirpart=`$as_dirname -- "$mf" ||
8187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8188 X"$mf" : 'X\(//\)[^/]' \| \
8189 X"$mf" : 'X\(//\)$' \| \
8190 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8191 echo X"$mf" |
6815 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6816 # Older Autoconf quotes --file arguments for eval, but not when files
6817 # are listed without --file. Let's play safe and only enable the eval
6818 # if we detect the quoting.
6819 # TODO: see whether this extra hack can be removed once we start
6820 # requiring Autoconf 2.70 or later.
6821 case $CONFIG_FILES in #(
6822 *\'*) :
6823 eval set x "$CONFIG_FILES" ;; #(
6824 *) :
6825 set x $CONFIG_FILES ;; #(
6826 *) :
6827 ;;
6828 esac
6829 shift
6830 # Used to flag and report bootstrapping failures.
6831 am_rc=0
6832 for am_mf
6833 do
6834 # Strip MF so we end up with the name of the file.
6835 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
6836 # Check whether this is an Automake generated Makefile which includes
6837 # dependency-tracking related rules and includes.
6838 # Grep'ing the whole file directly is not great: AIX grep has a line
6839 # limit of 2048, but all sed's we know have understand at least 4000.
6840 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6841 || continue
6842 am_dirpart=`$as_dirname -- "$am_mf" ||
6843 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6844 X"$am_mf" : 'X\(//\)[^/]' \| \
6845 X"$am_mf" : 'X\(//\)$' \| \
6846 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6847 $as_echo X"$am_mf" |
81926848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81936849 s//\1/
81946850 q
82066862 q
82076863 }
82086864 s/.*/./; q'`
8209 else
8210 continue
8211 fi
8212 # Extract the definition of DEPDIR, am__include, and am__quote
8213 # from the Makefile without running `make'.
8214 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8215 test -z "$DEPDIR" && continue
8216 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8217 test -z "am__include" && continue
8218 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8219 # When using ansi2knr, U may be empty or an underscore; expand it
8220 U=`sed -n 's/^U = //p' < "$mf"`
8221 # Find all dependency output files, they are included files with
8222 # $(DEPDIR) in their names. We invoke sed twice because it is the
8223 # simplest approach to changing $(DEPDIR) to its actual value in the
8224 # expansion.
8225 for file in `sed -n "
8226 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8227 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8228 # Make sure the directory exists.
8229 test -f "$dirpart/$file" && continue
8230 fdir=`$as_dirname -- "$file" ||
8231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8232 X"$file" : 'X\(//\)[^/]' \| \
8233 X"$file" : 'X\(//\)$' \| \
8234 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8235 echo X"$file" |
8236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6865 am_filepart=`$as_basename -- "$am_mf" ||
6866 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6867 X"$am_mf" : 'X\(//\)$' \| \
6868 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6869 $as_echo X/"$am_mf" |
6870 sed '/^.*\/\([^/][^/]*\)\/*$/{
82376871 s//\1/
82386872 q
82396873 }
8240 /^X\(\/\/\)[^/].*/{
6874 /^X\/\(\/\/\)$/{
82416875 s//\1/
82426876 q
82436877 }
8244 /^X\(\/\/\)$/{
8245 s//\1/
8246 q
8247 }
8248 /^X\(\/\).*/{
6878 /^X\/\(\/\).*/{
82496879 s//\1/
82506880 q
82516881 }
82526882 s/.*/./; q'`
8253 { as_dir=$dirpart/$fdir
8254 case $as_dir in #(
8255 -*) as_dir=./$as_dir;;
8256 esac
8257 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8258 as_dirs=
8259 while :; do
8260 case $as_dir in #(
8261 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8262 *) as_qdir=$as_dir;;
8263 esac
8264 as_dirs="'$as_qdir' $as_dirs"
8265 as_dir=`$as_dirname -- "$as_dir" ||
8266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8267 X"$as_dir" : 'X\(//\)[^/]' \| \
8268 X"$as_dir" : 'X\(//\)$' \| \
8269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8270 echo X"$as_dir" |
8271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8272 s//\1/
8273 q
8274 }
8275 /^X\(\/\/\)[^/].*/{
8276 s//\1/
8277 q
8278 }
8279 /^X\(\/\/\)$/{
8280 s//\1/
8281 q
8282 }
8283 /^X\(\/\).*/{
8284 s//\1/
8285 q
8286 }
8287 s/.*/./; q'`
8288 test -d "$as_dir" && break
8289 done
8290 test -z "$as_dirs" || eval "mkdir $as_dirs"
8291 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8292 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8293 { (exit 1); exit 1; }; }; }
8294 # echo "creating $dirpart/$file"
8295 echo '# dummy' > "$dirpart/$file"
6883 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6884 && sed -e '/# am--include-marker/d' "$am_filepart" \
6885 | $MAKE -f - am--depfiles" >&5
6886 (cd "$am_dirpart" \
6887 && sed -e '/# am--include-marker/d' "$am_filepart" \
6888 | $MAKE -f - am--depfiles) >&5 2>&5
6889 ac_status=$?
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } || am_rc=$?
82966892 done
8297 done
6893 if test $am_rc -ne 0; then
6894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6896 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6897 for automatic dependency tracking. If GNU make was not used, consider
6898 re-running the configure script with MAKE=\"gmake\" (or whatever is
6899 necessary). You can also try re-running configure with the
6900 '--disable-dependency-tracking' option to at least be able to build
6901 the package (albeit without support for automatic dependency tracking).
6902 See \`config.log' for more details" "$LINENO" 5; }
6903 fi
6904 { am_dirpart=; unset am_dirpart;}
6905 { am_filepart=; unset am_filepart;}
6906 { am_mf=; unset am_mf;}
6907 { am_rc=; unset am_rc;}
6908 rm -f conftest-deps.mk
6909 }
82986910 ;;
82996911
83006912 esac
83016913 done # for ac_tag
83026914
83036915
8304 { (exit 0); exit 0; }
8305 _ACEOF
8306 chmod +x $CONFIG_STATUS
6916 as_fn_exit 0
6917 _ACEOF
83076918 ac_clean_files=$ac_clean_files_save
6919
6920 test $ac_write_fail = 0 ||
6921 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
83086922
83096923
83106924 # configure is writing to config.log, and then calls config.status.
83256939 exec 5>>config.log
83266940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83276941 # would make configure fail if this is the last instruction.
8328 $ac_cs_success || { (exit 1); exit 1; }
8329 fi
8330
6942 $ac_cs_success || as_fn_exit 1
6943 fi
6944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6947 fi
6948
0 dnl Copyright (c) Stephan A Suerken 1996-2001
0 dnl Copyright (c) Stephan Sürken 1996-2009
11
2 AC_INIT(gom, 0.30.2)
2 AC_INIT(gom, 0.30.3)
33 AC_CONFIG_SRCDIR(src/gom.c)
44 AM_INIT_AUTOMAKE
55
77 DATE="31 May 2004"
88 DATE_CURRENT="`date +'%d %b %Y'`"
99 GOM_TITLE="GOM, Gom is nOt yet another Mixer"
10 GOM_COPYRIGHT="Copyright (c) 1996-2004 Stephan Alexander Sürken <absurd@olurdix.de> [GPL]."
10 GOM_COPYRIGHT="Copyright (c) 1996-2009 Stephan Sürken <absurd@olurdix.de> [GPL]."
1111
1212 AC_SUBST(DATE)
1313 AC_SUBST(DATE_CURRENT)
+398
-196
depcomp less more
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2007-03-29.01
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
6 # Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
76
87 # This program is free software; you can redistribute it and/or modify
98 # it under the terms of the GNU General Public License as published by
1615 # GNU General Public License for more details.
1716
1817 # 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.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2219
2320 # As a special exception to the GNU General Public License, if you
2421 # distribute this file as part of a program that contains a
2926
3027 case $1 in
3128 '')
32 echo "$0: No command. Try \`$0 --help' for more information." 1>&2
33 exit 1;
34 ;;
29 echo "$0: No command. Try '$0 --help' for more information." 1>&2
30 exit 1;
31 ;;
3532 -h | --h*)
3633 cat <<\EOF
3734 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
4138
4239 Environment variables:
4340 depmode Dependency tracking mode.
44 source Source file read by `PROGRAMS ARGS'.
45 object Object file output by `PROGRAMS ARGS'.
41 source Source file read by 'PROGRAMS ARGS'.
42 object Object file output by 'PROGRAMS ARGS'.
4643 DEPDIR directory where to store dependencies.
4744 depfile Dependency file to output.
48 tmpdepfile Temporary file to use when outputing dependencies.
45 tmpdepfile Temporary file to use when outputting dependencies.
4946 libtool Whether libtool is used (yes/no).
5047
5148 Report bugs to <bug-automake@gnu.org>.
5855 ;;
5956 esac
6057
58 # Get the directory component of the given path, and save it in the
59 # global variables '$dir'. Note that this directory component will
60 # be either empty or ending with a '/' character. This is deliberate.
61 set_dir_from ()
62 {
63 case $1 in
64 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
65 *) dir=;;
66 esac
67 }
68
69 # Get the suffix-stripped basename of the given path, and save it the
70 # global variable '$base'.
71 set_base_from ()
72 {
73 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
74 }
75
76 # If no dependency file was actually created by the compiler invocation,
77 # we still have to create a dummy depfile, to avoid errors with the
78 # Makefile "include basename.Plo" scheme.
79 make_dummy_depfile ()
80 {
81 echo "#dummy" > "$depfile"
82 }
83
84 # Factor out some common post-processing of the generated depfile.
85 # Requires the auxiliary global variable '$tmpdepfile' to be set.
86 aix_post_process_depfile ()
87 {
88 # If the compiler actually managed to produce a dependency file,
89 # post-process it.
90 if test -f "$tmpdepfile"; then
91 # Each line is of the form 'foo.o: dependency.h'.
92 # Do two passes, one to just change these to
93 # $object: dependency.h
94 # and one to simply output
95 # dependency.h:
96 # which is needed to avoid the deleted-header problem.
97 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
98 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
99 } > "$depfile"
100 rm -f "$tmpdepfile"
101 else
102 make_dummy_depfile
103 fi
104 }
105
106 # A tabulation character.
107 tab=' '
108 # A newline character.
109 nl='
110 '
111 # Character ranges might be problematic outside the C locale.
112 # These definitions help.
113 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
114 lower=abcdefghijklmnopqrstuvwxyz
115 digits=0123456789
116 alpha=${upper}${lower}
117
61118 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
62119 echo "depcomp: Variables source, object and depmode must be set" 1>&2
63120 exit 1
69126 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
70127
71128 rm -f "$tmpdepfile"
129
130 # Avoid interferences from the environment.
131 gccflag= dashmflag=
72132
73133 # Some modes work just like other modes, but use different flags. We
74134 # parameterize here, but still list the modes in the big case below,
81141 fi
82142
83143 if test "$depmode" = dashXmstdout; then
84 # This is just like dashmstdout with a different argument.
85 dashmflag=-xM
86 depmode=dashmstdout
144 # This is just like dashmstdout with a different argument.
145 dashmflag=-xM
146 depmode=dashmstdout
147 fi
148
149 cygpath_u="cygpath -u -f -"
150 if test "$depmode" = msvcmsys; then
151 # This is just like msvisualcpp but w/o cygpath translation.
152 # Just convert the backslash-escaped backslashes to single forward
153 # slashes to satisfy depend.m4
154 cygpath_u='sed s,\\\\,/,g'
155 depmode=msvisualcpp
156 fi
157
158 if test "$depmode" = msvc7msys; then
159 # This is just like msvc7 but w/o cygpath translation.
160 # Just convert the backslash-escaped backslashes to single forward
161 # slashes to satisfy depend.m4
162 cygpath_u='sed s,\\\\,/,g'
163 depmode=msvc7
164 fi
165
166 if test "$depmode" = xlc; then
167 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
168 gccflag=-qmakedep=gcc,-MF
169 depmode=gcc
87170 fi
88171
89172 case "$depmode" in
106189 done
107190 "$@"
108191 stat=$?
109 if test $stat -eq 0; then :
110 else
192 if test $stat -ne 0; then
111193 rm -f "$tmpdepfile"
112194 exit $stat
113195 fi
115197 ;;
116198
117199 gcc)
200 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
201 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
202 ## (see the conditional assignment to $gccflag above).
118203 ## There are various ways to get dependency output from gcc. Here's
119204 ## why we pick this rather obscure method:
120205 ## - Don't want to use -MD because we'd like the dependencies to end
121206 ## up in a subdir. Having to rename by hand is ugly.
122207 ## (We might end up doing this anyway to support other compilers.)
123208 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
124 ## -MM, not -M (despite what the docs say).
209 ## -MM, not -M (despite what the docs say). Also, it might not be
210 ## supported by the other compilers which use the 'gcc' depmode.
125211 ## - Using -M directly means running the compiler twice (even worse
126212 ## than renaming).
127213 if test -z "$gccflag"; then
129215 fi
130216 "$@" -Wp,"$gccflag$tmpdepfile"
131217 stat=$?
132 if test $stat -eq 0; then :
133 else
218 if test $stat -ne 0; then
134219 rm -f "$tmpdepfile"
135220 exit $stat
136221 fi
137222 rm -f "$depfile"
138223 echo "$object : \\" > "$depfile"
139 alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
140 ## The second -e expression handles DOS-style file names with drive letters.
224 # The second -e expression handles DOS-style file names with drive
225 # letters.
141226 sed -e 's/^[^:]*: / /' \
142227 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
143 ## This next piece of magic avoids the `deleted header file' problem.
228 ## This next piece of magic avoids the "deleted header file" problem.
144229 ## The problem is that when a header file which appears in a .P file
145230 ## is deleted, the dependency causes make to die (because there is
146231 ## typically no way to rebuild the header). We avoid this by adding
147232 ## dummy dependencies for each header file. Too bad gcc doesn't do
148233 ## this for us directly.
149 tr ' ' '
150 ' < "$tmpdepfile" |
151 ## Some versions of gcc put a space before the `:'. On the theory
234 ## Some versions of gcc put a space before the ':'. On the theory
152235 ## that the space means something, we add a space to the output as
153 ## well.
236 ## well. hp depmode also adds that space, but also prefixes the VPATH
237 ## to the object. Take care to not repeat it in the output.
154238 ## Some versions of the HPUX 10.20 sed can't process this invocation
155239 ## correctly. Breaking it into two sed invocations is a workaround.
156 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
240 tr ' ' "$nl" < "$tmpdepfile" \
241 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
242 | sed -e 's/$/ :/' >> "$depfile"
157243 rm -f "$tmpdepfile"
158244 ;;
159245
171257 "$@" -MDupdate "$tmpdepfile"
172258 fi
173259 stat=$?
174 if test $stat -eq 0; then :
175 else
260 if test $stat -ne 0; then
176261 rm -f "$tmpdepfile"
177262 exit $stat
178263 fi
180265
181266 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
182267 echo "$object : \\" > "$depfile"
183
184268 # Clip off the initial element (the dependent). Don't try to be
185269 # clever and replace this with sed code, as IRIX sed won't handle
186270 # lines with more than a fixed number of characters (4096 in
187271 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
188 # the IRIX cc adds comments like `#:fec' to the end of the
272 # the IRIX cc adds comments like '#:fec' to the end of the
189273 # dependency line.
190 tr ' ' '
191 ' < "$tmpdepfile" \
192 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
193 tr '
194 ' ' ' >> $depfile
195 echo >> $depfile
196
274 tr ' ' "$nl" < "$tmpdepfile" \
275 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
276 | tr "$nl" ' ' >> "$depfile"
277 echo >> "$depfile"
197278 # The second pass generates a dummy entry for each header file.
198 tr ' ' '
199 ' < "$tmpdepfile" \
200 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
201 >> $depfile
279 tr ' ' "$nl" < "$tmpdepfile" \
280 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
281 >> "$depfile"
202282 else
203 # The sourcefile does not contain any dependencies, so just
204 # store a dummy comment line, to avoid errors with the Makefile
205 # "include basename.Plo" scheme.
206 echo "#dummy" > "$depfile"
283 make_dummy_depfile
207284 fi
208285 rm -f "$tmpdepfile"
286 ;;
287
288 xlc)
289 # This case exists only to let depend.m4 do its work. It works by
290 # looking at the text of this script. This case will never be run,
291 # since it is checked for above.
292 exit 1
209293 ;;
210294
211295 aix)
212296 # The C for AIX Compiler uses -M and outputs the dependencies
213297 # in a .u file. In older versions, this file always lives in the
214 # current directory. Also, the AIX compiler puts `$object:' at the
298 # current directory. Also, the AIX compiler puts '$object:' at the
215299 # start of each line; $object doesn't have directory information.
216300 # Version 6 uses the directory in both cases.
217 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
218 test "x$dir" = "x$object" && dir=
219 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
301 set_dir_from "$object"
302 set_base_from "$object"
220303 if test "$libtool" = yes; then
221304 tmpdepfile1=$dir$base.u
222305 tmpdepfile2=$base.u
229312 "$@" -M
230313 fi
231314 stat=$?
232
233 if test $stat -eq 0; then :
234 else
315 if test $stat -ne 0; then
235316 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
236317 exit $stat
237318 fi
240321 do
241322 test -f "$tmpdepfile" && break
242323 done
243 if test -f "$tmpdepfile"; then
244 # Each line is of the form `foo.o: dependent.h'.
245 # Do two passes, one to just change these to
246 # `$object: dependent.h' and one to simply `dependent.h:'.
247 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
248 # That's a tab and a space in the [].
249 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
250 else
251 # The sourcefile does not contain any dependencies, so just
252 # store a dummy comment line, to avoid errors with the Makefile
253 # "include basename.Plo" scheme.
254 echo "#dummy" > "$depfile"
255 fi
324 aix_post_process_depfile
325 ;;
326
327 tcc)
328 # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
329 # FIXME: That version still under development at the moment of writing.
330 # Make that this statement remains true also for stable, released
331 # versions.
332 # It will wrap lines (doesn't matter whether long or short) with a
333 # trailing '\', as in:
334 #
335 # foo.o : \
336 # foo.c \
337 # foo.h \
338 #
339 # It will put a trailing '\' even on the last line, and will use leading
340 # spaces rather than leading tabs (at least since its commit 0394caf7
341 # "Emit spaces for -MD").
342 "$@" -MD -MF "$tmpdepfile"
343 stat=$?
344 if test $stat -ne 0; then
345 rm -f "$tmpdepfile"
346 exit $stat
347 fi
348 rm -f "$depfile"
349 # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
350 # We have to change lines of the first kind to '$object: \'.
351 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
352 # And for each line of the second kind, we have to emit a 'dep.h:'
353 # dummy dependency, to avoid the deleted-header problem.
354 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
256355 rm -f "$tmpdepfile"
257356 ;;
258357
259 icc)
260 # Intel's C compiler understands `-MD -MF file'. However on
261 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
262 # ICC 7.0 will fill foo.d with something like
263 # foo.o: sub/foo.c
264 # foo.o: sub/foo.h
265 # which is wrong. We want:
266 # sub/foo.o: sub/foo.c
267 # sub/foo.o: sub/foo.h
268 # sub/foo.c:
269 # sub/foo.h:
270 # ICC 7.1 will output
358 ## The order of this option in the case statement is important, since the
359 ## shell code in configure will try each of these formats in the order
360 ## listed in this file. A plain '-MD' option would be understood by many
361 ## compilers, so we must ensure this comes after the gcc and icc options.
362 pgcc)
363 # Portland's C compiler understands '-MD'.
364 # Will always output deps to 'file.d' where file is the root name of the
365 # source file under compilation, even if file resides in a subdirectory.
366 # The object file name does not affect the name of the '.d' file.
367 # pgcc 10.2 will output
271368 # foo.o: sub/foo.c sub/foo.h
272 # and will wrap long lines using \ :
369 # and will wrap long lines using '\' :
273370 # foo.o: sub/foo.c ... \
274371 # sub/foo.h ... \
275372 # ...
276
277 "$@" -MD -MF "$tmpdepfile"
278 stat=$?
279 if test $stat -eq 0; then :
280 else
373 set_dir_from "$object"
374 # Use the source, not the object, to determine the base name, since
375 # that's sadly what pgcc will do too.
376 set_base_from "$source"
377 tmpdepfile=$base.d
378
379 # For projects that build the same source file twice into different object
380 # files, the pgcc approach of using the *source* file root name can cause
381 # problems in parallel builds. Use a locking strategy to avoid stomping on
382 # the same $tmpdepfile.
383 lockdir=$base.d-lock
384 trap "
385 echo '$0: caught signal, cleaning up...' >&2
386 rmdir '$lockdir'
387 exit 1
388 " 1 2 13 15
389 numtries=100
390 i=$numtries
391 while test $i -gt 0; do
392 # mkdir is a portable test-and-set.
393 if mkdir "$lockdir" 2>/dev/null; then
394 # This process acquired the lock.
395 "$@" -MD
396 stat=$?
397 # Release the lock.
398 rmdir "$lockdir"
399 break
400 else
401 # If the lock is being held by a different process, wait
402 # until the winning process is done or we timeout.
403 while test -d "$lockdir" && test $i -gt 0; do
404 sleep 1
405 i=`expr $i - 1`
406 done
407 fi
408 i=`expr $i - 1`
409 done
410 trap - 1 2 13 15
411 if test $i -le 0; then
412 echo "$0: failed to acquire lock after $numtries attempts" >&2
413 echo "$0: check lockdir '$lockdir'" >&2
414 exit 1
415 fi
416
417 if test $stat -ne 0; then
281418 rm -f "$tmpdepfile"
282419 exit $stat
283420 fi
289426 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
290427 # Some versions of the HPUX 10.20 sed can't process this invocation
291428 # correctly. Breaking it into two sed invocations is a workaround.
292 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
293 sed -e 's/$/ :/' >> "$depfile"
429 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
430 | sed -e 's/$/ :/' >> "$depfile"
294431 rm -f "$tmpdepfile"
295432 ;;
296433
301438 # 'foo.d', which lands next to the object file, wherever that
302439 # happens to be.
303440 # Much of this is similar to the tru64 case; see comments there.
304 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
305 test "x$dir" = "x$object" && dir=
306 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
441 set_dir_from "$object"
442 set_base_from "$object"
307443 if test "$libtool" = yes; then
308444 tmpdepfile1=$dir$base.d
309445 tmpdepfile2=$dir.libs/$base.d
314450 "$@" +Maked
315451 fi
316452 stat=$?
317 if test $stat -eq 0; then :
318 else
453 if test $stat -ne 0; then
319454 rm -f "$tmpdepfile1" "$tmpdepfile2"
320455 exit $stat
321456 fi
325460 test -f "$tmpdepfile" && break
326461 done
327462 if test -f "$tmpdepfile"; then
328 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
329 # Add `dependent.h:' lines.
330 sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
463 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
464 # Add 'dependent.h:' lines.
465 sed -ne '2,${
466 s/^ *//
467 s/ \\*$//
468 s/$/:/
469 p
470 }' "$tmpdepfile" >> "$depfile"
331471 else
332 echo "#dummy" > "$depfile"
472 make_dummy_depfile
333473 fi
334474 rm -f "$tmpdepfile" "$tmpdepfile2"
335475 ;;
336476
337477 tru64)
338 # The Tru64 compiler uses -MD to generate dependencies as a side
339 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
340 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
341 # dependencies in `foo.d' instead, so we check for that too.
342 # Subdirectories are respected.
343 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
344 test "x$dir" = "x$object" && dir=
345 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
346
347 if test "$libtool" = yes; then
348 # With Tru64 cc, shared objects can also be used to make a
349 # static library. This mechanism is used in libtool 1.4 series to
350 # handle both shared and static libraries in a single compilation.
351 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
352 #
353 # With libtool 1.5 this exception was removed, and libtool now
354 # generates 2 separate objects for the 2 libraries. These two
355 # compilations output dependencies in $dir.libs/$base.o.d and
356 # in $dir$base.o.d. We have to check for both files, because
357 # one of the two compilations can be disabled. We should prefer
358 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
359 # automatically cleaned when .libs/ is deleted, while ignoring
360 # the former would cause a distcleancheck panic.
361 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
362 tmpdepfile2=$dir$base.o.d # libtool 1.5
363 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
364 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
365 "$@" -Wc,-MD
366 else
367 tmpdepfile1=$dir$base.o.d
368 tmpdepfile2=$dir$base.d
369 tmpdepfile3=$dir$base.d
370 tmpdepfile4=$dir$base.d
371 "$@" -MD
372 fi
373
374 stat=$?
375 if test $stat -eq 0; then :
376 else
377 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
378 exit $stat
379 fi
380
381 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
382 do
383 test -f "$tmpdepfile" && break
384 done
385 if test -f "$tmpdepfile"; then
386 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
387 # That's a tab and a space in the [].
388 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
389 else
390 echo "#dummy" > "$depfile"
391 fi
392 rm -f "$tmpdepfile"
393 ;;
478 # The Tru64 compiler uses -MD to generate dependencies as a side
479 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
480 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
481 # dependencies in 'foo.d' instead, so we check for that too.
482 # Subdirectories are respected.
483 set_dir_from "$object"
484 set_base_from "$object"
485
486 if test "$libtool" = yes; then
487 # Libtool generates 2 separate objects for the 2 libraries. These
488 # two compilations output dependencies in $dir.libs/$base.o.d and
489 # in $dir$base.o.d. We have to check for both files, because
490 # one of the two compilations can be disabled. We should prefer
491 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
492 # automatically cleaned when .libs/ is deleted, while ignoring
493 # the former would cause a distcleancheck panic.
494 tmpdepfile1=$dir$base.o.d # libtool 1.5
495 tmpdepfile2=$dir.libs/$base.o.d # Likewise.
496 tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
497 "$@" -Wc,-MD
498 else
499 tmpdepfile1=$dir$base.d
500 tmpdepfile2=$dir$base.d
501 tmpdepfile3=$dir$base.d
502 "$@" -MD
503 fi
504
505 stat=$?
506 if test $stat -ne 0; then
507 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
508 exit $stat
509 fi
510
511 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
512 do
513 test -f "$tmpdepfile" && break
514 done
515 # Same post-processing that is required for AIX mode.
516 aix_post_process_depfile
517 ;;
518
519 msvc7)
520 if test "$libtool" = yes; then
521 showIncludes=-Wc,-showIncludes
522 else
523 showIncludes=-showIncludes
524 fi
525 "$@" $showIncludes > "$tmpdepfile"
526 stat=$?
527 grep -v '^Note: including file: ' "$tmpdepfile"
528 if test $stat -ne 0; then
529 rm -f "$tmpdepfile"
530 exit $stat
531 fi
532 rm -f "$depfile"
533 echo "$object : \\" > "$depfile"
534 # The first sed program below extracts the file names and escapes
535 # backslashes for cygpath. The second sed program outputs the file
536 # name when reading, but also accumulates all include files in the
537 # hold buffer in order to output them again at the end. This only
538 # works with sed implementations that can handle large buffers.
539 sed < "$tmpdepfile" -n '
540 /^Note: including file: *\(.*\)/ {
541 s//\1/
542 s/\\/\\\\/g
543 p
544 }' | $cygpath_u | sort -u | sed -n '
545 s/ /\\ /g
546 s/\(.*\)/'"$tab"'\1 \\/p
547 s/.\(.*\) \\/\1:/
548 H
549 $ {
550 s/.*/'"$tab"'/
551 G
552 p
553 }' >> "$depfile"
554 echo >> "$depfile" # make sure the fragment doesn't end with a backslash
555 rm -f "$tmpdepfile"
556 ;;
557
558 msvc7msys)
559 # This case exists only to let depend.m4 do its work. It works by
560 # looking at the text of this script. This case will never be run,
561 # since it is checked for above.
562 exit 1
563 ;;
394564
395565 #nosideeffect)
396566 # This comment above is used by automake to tell side-effect
403573
404574 # Remove the call to Libtool.
405575 if test "$libtool" = yes; then
406 while test $1 != '--mode=compile'; do
576 while test "X$1" != 'X--mode=compile'; do
407577 shift
408578 done
409579 shift
410580 fi
411581
412 # Remove `-o $object'.
582 # Remove '-o $object'.
413583 IFS=" "
414584 for arg
415585 do
429599 done
430600
431601 test -z "$dashmflag" && dashmflag=-M
432 # Require at least two characters before searching for `:'
602 # Require at least two characters before searching for ':'
433603 # in the target name. This is to cope with DOS-style filenames:
434 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
604 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
435605 "$@" $dashmflag |
436 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
606 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
437607 rm -f "$depfile"
438608 cat < "$tmpdepfile" > "$depfile"
439 tr ' ' '
440 ' < "$tmpdepfile" | \
441 ## Some versions of the HPUX 10.20 sed can't process this invocation
442 ## correctly. Breaking it into two sed invocations is a workaround.
443 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
609 # Some versions of the HPUX 10.20 sed can't process this sed invocation
610 # correctly. Breaking it into two sed invocations is a workaround.
611 tr ' ' "$nl" < "$tmpdepfile" \
612 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
613 | sed -e 's/$/ :/' >> "$depfile"
444614 rm -f "$tmpdepfile"
445615 ;;
446616
454624 "$@" || exit $?
455625 # Remove any Libtool call
456626 if test "$libtool" = yes; then
457 while test $1 != '--mode=compile'; do
627 while test "X$1" != 'X--mode=compile'; do
458628 shift
459629 done
460630 shift
461631 fi
462632 # X makedepend
463633 shift
464 cleared=no
465 for arg in "$@"; do
634 cleared=no eat=no
635 for arg
636 do
466637 case $cleared in
467638 no)
468639 set ""; shift
469640 cleared=yes ;;
470641 esac
642 if test $eat = yes; then
643 eat=no
644 continue
645 fi
471646 case "$arg" in
472647 -D*|-I*)
473648 set fnord "$@" "$arg"; shift ;;
474649 # Strip any option that makedepend may not understand. Remove
475650 # the object too, otherwise makedepend will parse it as a source file.
651 -arch)
652 eat=yes ;;
476653 -*|$object)
477654 ;;
478655 *)
479656 set fnord "$@" "$arg"; shift ;;
480657 esac
481658 done
482 obj_suffix="`echo $object | sed 's/^.*\././'`"
659 obj_suffix=`echo "$object" | sed 's/^.*\././'`
483660 touch "$tmpdepfile"
484661 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
485662 rm -f "$depfile"
486 cat < "$tmpdepfile" > "$depfile"
487 sed '1,2d' "$tmpdepfile" | tr ' ' '
488 ' | \
489 ## Some versions of the HPUX 10.20 sed can't process this invocation
490 ## correctly. Breaking it into two sed invocations is a workaround.
491 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
663 # makedepend may prepend the VPATH from the source file name to the object.
664 # No need to regex-escape $object, excess matching of '.' is harmless.
665 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
666 # Some versions of the HPUX 10.20 sed can't process the last invocation
667 # correctly. Breaking it into two sed invocations is a workaround.
668 sed '1,2d' "$tmpdepfile" \
669 | tr ' ' "$nl" \
670 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
671 | sed -e 's/$/ :/' >> "$depfile"
492672 rm -f "$tmpdepfile" "$tmpdepfile".bak
493673 ;;
494674
499679
500680 # Remove the call to Libtool.
501681 if test "$libtool" = yes; then
502 while test $1 != '--mode=compile'; do
682 while test "X$1" != 'X--mode=compile'; do
503683 shift
504684 done
505685 shift
506686 fi
507687
508 # Remove `-o $object'.
688 # Remove '-o $object'.
509689 IFS=" "
510690 for arg
511691 do
524704 esac
525705 done
526706
527 "$@" -E |
528 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
529 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
530 sed '$ s: \\$::' > "$tmpdepfile"
707 "$@" -E \
708 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
709 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
710 | sed '$ s: \\$::' > "$tmpdepfile"
531711 rm -f "$depfile"
532712 echo "$object : \\" > "$depfile"
533713 cat < "$tmpdepfile" >> "$depfile"
537717
538718 msvisualcpp)
539719 # Important note: in order to support this mode, a compiler *must*
540 # always write the preprocessed file to stdout, regardless of -o,
541 # because we must use -o when running libtool.
720 # always write the preprocessed file to stdout.
542721 "$@" || exit $?
722
723 # Remove the call to Libtool.
724 if test "$libtool" = yes; then
725 while test "X$1" != 'X--mode=compile'; do
726 shift
727 done
728 shift
729 fi
730
543731 IFS=" "
544732 for arg
545733 do
546734 case "$arg" in
735 -o)
736 shift
737 ;;
738 $object)
739 shift
740 ;;
547741 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
548 set fnord "$@"
549 shift
550 shift
551 ;;
742 set fnord "$@"
743 shift
744 shift
745 ;;
552746 *)
553 set fnord "$@" "$arg"
554 shift
555 shift
556 ;;
747 set fnord "$@" "$arg"
748 shift
749 shift
750 ;;
557751 esac
558752 done
559 "$@" -E |
560 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
753 "$@" -E 2>/dev/null |
754 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
561755 rm -f "$depfile"
562756 echo "$object : \\" > "$depfile"
563 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
564 echo " " >> "$depfile"
565 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
757 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
758 echo "$tab" >> "$depfile"
759 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
566760 rm -f "$tmpdepfile"
761 ;;
762
763 msvcmsys)
764 # This case exists only to let depend.m4 do its work. It works by
765 # looking at the text of this script. This case will never be run,
766 # since it is checked for above.
767 exit 1
567768 ;;
568769
569770 none)
581782 # Local Variables:
582783 # mode: shell-script
583784 # sh-indentation: 2
584 # eval: (add-hook 'write-file-hooks 'time-stamp)
785 # eval: (add-hook 'before-save-hook 'time-stamp)
585786 # time-stamp-start: "scriptversion="
586787 # time-stamp-format: "%:y-%02m-%02d.%02H"
587 # time-stamp-end: "$"
788 # time-stamp-time-zone: "UTC0"
789 # time-stamp-end: "; # UTC"
588790 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2006-12-25.00
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
3434 # FSF changes to this file are in the public domain.
3535 #
3636 # Calling this script install-sh is preferred over install.sh, to prevent
37 # `make' implicit rules from creating a file called install from it
37 # 'make' implicit rules from creating a file called install from it
3838 # when there is no Makefile.
3939 #
4040 # This script is compatible with the BSD install script, but was written
4141 # from scratch.
4242
43 tab=' '
4344 nl='
4445 '
45 IFS=" "" $nl"
46
47 # set DOITPROG to echo to test this script
48
49 # Don't use :- since 4.3BSD and earlier shells don't like it.
46 IFS=" $tab$nl"
47
48 # Set DOITPROG to "echo" to test this script.
49
5050 doit=${DOITPROG-}
51 if test -z "$doit"; then
52 doit_exec=exec
53 else
54 doit_exec=$doit
55 fi
51 doit_exec=${doit:-exec}
5652
5753 # Put in absolute file names if you don't have them in your path;
5854 # or use environment vars.
6763 rmprog=${RMPROG-rm}
6864 stripprog=${STRIPPROG-strip}
6965
70 posix_glob='?'
71 initialize_posix_glob='
72 test "$posix_glob" != "?" || {
73 if (set -f) 2>/dev/null; then
74 posix_glob=
75 else
76 posix_glob=:
77 fi
78 }
79 '
80
8166 posix_mkdir=
8267
8368 # Desired mode of installed file.
8469 mode=0755
8570
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
8676 chgrpcmd=
8777 chmodcmd=$chmodprog
8878 chowncmd=
9686 dst_arg=
9787
9888 copy_on_change=false
99 no_target_directory=
89 is_target_a_directory=possibly
10090
10191 usage="\
10292 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
113103 --version display version info and exit.
114104
115105 -c (ignored)
116 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
117107 -d create directories instead of installing files.
118108 -g GROUP $chgrpprog installed files to GROUP.
119109 -m MODE $chmodprog installed files to MODE.
120110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
121112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
122114 -t DIRECTORY install into DIRECTORY.
123115 -T report an error if DSTFILE is a directory.
124116
125117 Environment variables override the default commands:
126118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
127119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
128128 "
129129
130130 while test $# -ne 0; do
136136 -d) dir_arg=true;;
137137
138138 -g) chgrpcmd="$chgrpprog $2"
139 shift;;
139 shift;;
140140
141141 --help) echo "$usage"; exit $?;;
142142
143143 -m) mode=$2
144 case $mode in
145 *' '* | *' '* | *'
146 '* | *'*'* | *'?'* | *'['*)
147 echo "$0: invalid mode: $mode" >&2
148 exit 1;;
149 esac
150 shift;;
144 case $mode in
145 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
146 echo "$0: invalid mode: $mode" >&2
147 exit 1;;
148 esac
149 shift;;
151150
152151 -o) chowncmd="$chownprog $2"
153 shift;;
152 shift;;
153
154 -p) cpprog="$cpprog -p";;
154155
155156 -s) stripcmd=$stripprog;;
156157
157 -t) dst_arg=$2
158 shift;;
159
160 -T) no_target_directory=true;;
158 -S) backupsuffix="$2"
159 shift;;
160
161 -t)
162 is_target_a_directory=always
163 dst_arg=$2
164 # Protect names problematic for 'test' and other utilities.
165 case $dst_arg in
166 -* | [=\(\)!]) dst_arg=./$dst_arg;;
167 esac
168 shift;;
169
170 -T) is_target_a_directory=never;;
161171
162172 --version) echo "$0 $scriptversion"; exit $?;;
163173
164 --) shift
165 break;;
166
167 -*) echo "$0: invalid option: $1" >&2
168 exit 1;;
174 --) shift
175 break;;
176
177 -*) echo "$0: invalid option: $1" >&2
178 exit 1;;
169179
170180 *) break;;
171181 esac
172182 shift
173183 done
184
185 # We allow the use of options -d and -T together, by making -d
186 # take the precedence; this is for compatibility with GNU install.
187
188 if test -n "$dir_arg"; then
189 if test -n "$dst_arg"; then
190 echo "$0: target directory not allowed when installing a directory." >&2
191 exit 1
192 fi
193 fi
174194
175195 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
176196 # When -d is used, all remaining arguments are directories to create.
185205 fi
186206 shift # arg
187207 dst_arg=$arg
208 # Protect names problematic for 'test' and other utilities.
209 case $dst_arg in
210 -* | [=\(\)!]) dst_arg=./$dst_arg;;
211 esac
188212 done
189213 fi
190214
193217 echo "$0: no input file specified." >&2
194218 exit 1
195219 fi
196 # It's OK to call `install-sh -d' without argument.
220 # It's OK to call 'install-sh -d' without argument.
197221 # This can happen when creating conditional directories.
198222 exit 0
199223 fi
200224
201225 if test -z "$dir_arg"; then
202 trap '(exit $?); exit' 1 2 13 15
226 if test $# -gt 1 || test "$is_target_a_directory" = always; then
227 if test ! -d "$dst_arg"; then
228 echo "$0: $dst_arg: Is not a directory." >&2
229 exit 1
230 fi
231 fi
232 fi
233
234 if test -z "$dir_arg"; then
235 do_exit='(exit $ret); exit $ret'
236 trap "ret=129; $do_exit" 1
237 trap "ret=130; $do_exit" 2
238 trap "ret=141; $do_exit" 13
239 trap "ret=143; $do_exit" 15
203240
204241 # Set umask so as not to create temps with too-generous modes.
205242 # However, 'strip' requires both read and write access to temps.
210247
211248 *[0-7])
212249 if test -z "$stripcmd"; then
213 u_plus_rw=
250 u_plus_rw=
214251 else
215 u_plus_rw='% 200'
252 u_plus_rw='% 200'
216253 fi
217254 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
218255 *)
219256 if test -z "$stripcmd"; then
220 u_plus_rw=
257 u_plus_rw=
221258 else
222 u_plus_rw=,u+rw
259 u_plus_rw=,u+rw
223260 fi
224261 cp_umask=$mode$u_plus_rw;;
225262 esac
227264
228265 for src
229266 do
230 # Protect names starting with `-'.
267 # Protect names problematic for 'test' and other utilities.
231268 case $src in
232 -*) src=./$src;;
269 -* | [=\(\)!]) src=./$src;;
233270 esac
234271
235272 if test -n "$dir_arg"; then
237274 dstdir=$dst
238275 test -d "$dstdir"
239276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
240281 else
241282
242283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
251292 echo "$0: no destination specified." >&2
252293 exit 1
253294 fi
254
255295 dst=$dst_arg
256 # Protect names starting with `-'.
257 case $dst in
258 -*) dst=./$dst;;
259 esac
260
261 # If destination is a directory, append the input filename; won't work
262 # if double slashes aren't ignored.
296
297 # If destination is a directory, append the input filename.
263298 if test -d "$dst"; then
264 if test -n "$no_target_directory"; then
265 echo "$0: $dst_arg: Is a directory" >&2
266 exit 1
299 if test "$is_target_a_directory" = never; then
300 echo "$0: $dst_arg: Is a directory" >&2
301 exit 1
267302 fi
268303 dstdir=$dst
269 dst=$dstdir/`basename "$src"`
304 dstbase=`basename "$src"`
305 case $dst in
306 */) dst=$dst$dstbase;;
307 *) dst=$dst/$dstbase;;
308 esac
270309 dstdir_status=0
271310 else
272 # Prefer dirname, but fall back on a substitute if dirname fails.
273 dstdir=`
274 (dirname "$dst") 2>/dev/null ||
275 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
276 X"$dst" : 'X\(//\)[^/]' \| \
277 X"$dst" : 'X\(//\)$' \| \
278 X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
279 echo X"$dst" |
280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
281 s//\1/
282 q
283 }
284 /^X\(\/\/\)[^/].*/{
285 s//\1/
286 q
287 }
288 /^X\(\/\/\)$/{
289 s//\1/
290 q
291 }
292 /^X\(\/\).*/{
293 s//\1/
294 q
295 }
296 s/.*/./; q'
297 `
298
311 dstdir=`dirname "$dst"`
299312 test -d "$dstdir"
300313 dstdir_status=$?
301314 fi
302315 fi
316
317 case $dstdir in
318 */) dstdirslash=$dstdir;;
319 *) dstdirslash=$dstdir/;;
320 esac
303321
304322 obsolete_mkdir_used=false
305323
306324 if test $dstdir_status != 0; then
307325 case $posix_mkdir in
308326 '')
309 # Create intermediate dirs using mode 755 as modified by the umask.
310 # This is like FreeBSD 'install' as of 1997-10-28.
311 umask=`umask`
312 case $stripcmd.$umask in
313 # Optimize common cases.
314 *[2367][2367]) mkdir_umask=$umask;;
315 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
316
317 *[0-7])
318 mkdir_umask=`expr $umask + 22 \
319 - $umask % 100 % 40 + $umask % 20 \
320 - $umask % 10 % 4 + $umask % 2
321 `;;
322 *) mkdir_umask=$umask,go-w;;
323 esac
324
325 # With -d, create the new directory with the user-specified mode.
326 # Otherwise, rely on $mkdir_umask.
327 if test -n "$dir_arg"; then
328 mkdir_mode=-m$mode
327 # With -d, create the new directory with the user-specified mode.
328 # Otherwise, rely on $mkdir_umask.
329 if test -n "$dir_arg"; then
330 mkdir_mode=-m$mode
331 else
332 mkdir_mode=
333 fi
334
335 posix_mkdir=false
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
329374 else
330 mkdir_mode=
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
331377 fi
332
333 posix_mkdir=false
334 case $umask in
335 *[123567][0-7][0-7])
336 # POSIX mkdir -p sets u+wx bits regardless of umask, which
337 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
338 ;;
339 *)
340 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
341 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
342
343 if (umask $mkdir_umask &&
344 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
345 then
346 if test -z "$dir_arg" || {
347 # Check for POSIX incompatibilities with -m.
348 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
349 # other-writeable bit of parent directory when it shouldn't.
350 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
351 ls_ld_tmpdir=`ls -ld "$tmpdir"`
352 case $ls_ld_tmpdir in
353 d????-?r-*) different_mode=700;;
354 d????-?--*) different_mode=755;;
355 *) false;;
356 esac &&
357 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
358 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
359 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
360 }
361 }
362 then posix_mkdir=:
363 fi
364 rmdir "$tmpdir/d" "$tmpdir"
365 else
366 # Remove any dirs left behind by ancient mkdir implementations.
367 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
368 fi
369 trap '' 0;;
370 esac;;
378 trap '' 0;;
371379 esac
372380
373381 if
374382 $posix_mkdir && (
375 umask $mkdir_umask &&
376 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
383 umask $mkdir_umask &&
384 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
377385 )
378386 then :
379387 else
380388
381 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
382390 # or it failed possibly due to a race condition. Create the
383391 # directory the slow way, step by step, checking for races as we go.
384392
385393 case $dstdir in
386 /*) prefix='/';;
387 -*) prefix='./';;
388 *) prefix='';;
394 /*) prefix='/';;
395 [-=\(\)!]*) prefix='./';;
396 *) prefix='';;
389397 esac
390
391 eval "$initialize_posix_glob"
392398
393399 oIFS=$IFS
394400 IFS=/
395 $posix_glob set -f
401 set -f
396402 set fnord $dstdir
397403 shift
398 $posix_glob set +f
404 set +f
399405 IFS=$oIFS
400406
401407 prefixes=
402408
403409 for d
404410 do
405 test -z "$d" && continue
406
407 prefix=$prefix$d
408 if test -d "$prefix"; then
409 prefixes=
410 else
411 if $posix_mkdir; then
412 (umask=$mkdir_umask &&
413 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
414 # Don't fail if two instances are running concurrently.
415 test -d "$prefix" || exit 1
416 else
417 case $prefix in
418 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
419 *) qprefix=$prefix;;
420 esac
421 prefixes="$prefixes '$qprefix'"
422 fi
423 fi
424 prefix=$prefix/
411 test X"$d" = X && continue
412
413 prefix=$prefix$d
414 if test -d "$prefix"; then
415 prefixes=
416 else
417 if $posix_mkdir; then
418 (umask $mkdir_umask &&
419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
420 # Don't fail if two instances are running concurrently.
421 test -d "$prefix" || exit 1
422 else
423 case $prefix in
424 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
425 *) qprefix=$prefix;;
426 esac
427 prefixes="$prefixes '$qprefix'"
428 fi
429 fi
430 prefix=$prefix/
425431 done
426432
427433 if test -n "$prefixes"; then
428 # Don't fail if two instances are running concurrently.
429 (umask $mkdir_umask &&
430 eval "\$doit_exec \$mkdirprog $prefixes") ||
431 test -d "$dstdir" || exit 1
432 obsolete_mkdir_used=true
434 # Don't fail if two instances are running concurrently.
435 (umask $mkdir_umask &&
436 eval "\$doit_exec \$mkdirprog $prefixes") ||
437 test -d "$dstdir" || exit 1
438 obsolete_mkdir_used=true
433439 fi
434440 fi
435441 fi
442448 else
443449
444450 # Make a couple of temp file names in the proper directory.
445 dsttmp=$dstdir/_inst.$$_
446 rmtmp=$dstdir/_rm.$$_
451 dsttmp=${dstdirslash}_inst.$$_
452 rmtmp=${dstdirslash}_rm.$$_
447453
448454 # Trap to clean up those temp files at exit.
449455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
450456
451457 # Copy the file name to the temp name.
452 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
453470
454471 # and set any options; do chmod last to preserve setuid bits.
455472 #
464481
465482 # If -C, don't bother to copy if it wouldn't change the file.
466483 if $copy_on_change &&
467 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
468 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
469
470 eval "$initialize_posix_glob" &&
471 $posix_glob set -f &&
484 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
485 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
486 set -f &&
472487 set X $old && old=:$2:$4:$5:$6 &&
473488 set X $new && new=:$2:$4:$5:$6 &&
474 $posix_glob set +f &&
475
489 set +f &&
476490 test "$old" = "$new" &&
477491 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
478492 then
479493 rm -f "$dsttmp"
480494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
481502 # Rename the file to the real destination.
482503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
483504
485506 # to itself, or perhaps because mv is so ancient that it does not
486507 # support -f.
487508 {
488 # Now remove or move aside any old file at destination location.
489 # We try this two ways since rm can't unlink itself on some
490 # systems and the destination file might be busy for other
491 # reasons. In this case, the final cleanup might fail but the new
492 # file should still install successfully.
493 {
494 test ! -f "$dst" ||
495 $doit $rmcmd -f "$dst" 2>/dev/null ||
496 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
497 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
498 } ||
499 { echo "$0: cannot unlink or rename $dst" >&2
500 (exit 1); exit 1
501 }
502 } &&
503
504 # Now rename the file to the real destination.
505 $doit $mvcmd "$dsttmp" "$dst"
509 # Now remove or move aside any old file at destination location.
510 # We try this two ways since rm can't unlink itself on some
511 # systems and the destination file might be busy for other
512 # reasons. In this case, the final cleanup might fail but the new
513 # file should still install successfully.
514 {
515 test ! -f "$dst" ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
519 } ||
520 { echo "$0: cannot unlink or rename $dst" >&2
521 (exit 1); exit 1
522 }
523 } &&
524
525 # Now rename the file to the real destination.
526 $doit $mvcmd "$dsttmp" "$dst"
506527 }
507528 fi || exit 1
508529
511532 done
512533
513534 # Local variables:
514 # eval: (add-hook 'write-file-hooks 'time-stamp)
535 # eval: (add-hook 'before-save-hook 'time-stamp)
515536 # time-stamp-start: "scriptversion="
516537 # time-stamp-format: "%:y-%02m-%02d.%02H"
517 # time-stamp-end: "$"
538 # time-stamp-time-zone: "UTC0"
539 # time-stamp-end: "; # UTC"
518540 # End:
+159
-311
missing less more
00 #! /bin/sh
1 # Common stub for a few missing GNU programs while installing.
2
3 scriptversion=2006-05-10.23
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
6 # Free Software Foundation, Inc.
7 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
1 # Common wrapper for a few potentially missing GNU programs.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
6 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
87
98 # This program is free software; you can redistribute it and/or modify
109 # it under the terms of the GNU General Public License as published by
1716 # GNU General Public License for more details.
1817
1918 # 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., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2320
2421 # As a special exception to the GNU General Public License, if you
2522 # distribute this file as part of a program that contains a
2724 # the same distribution terms that you use for the rest of that program.
2825
2926 if test $# -eq 0; then
30 echo 1>&2 "Try \`$0 --help' for more information"
27 echo 1>&2 "Try '$0 --help' for more information"
3128 exit 1
3229 fi
3330
34 run=:
35 sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
36 sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
37
38 # In the cases where this matters, `missing' is being run in the
39 # srcdir already.
40 if test -f configure.ac; then
41 configure_ac=configure.ac
42 else
43 configure_ac=configure.in
44 fi
45
46 msg="missing on your system"
47
4831 case $1 in
49 --run)
50 # Try to run requested program, and just exit if it succeeds.
51 run=
52 shift
53 "$@" && exit 0
54 # Exit code 63 means version mismatch. This often happens
55 # when the user try to use an ancient version of a tool on
56 # a file that requires a minimum version. In this case we
57 # we should proceed has if the program had been absent, or
58 # if --run hadn't been passed.
59 if test $? = 63; then
60 run=:
61 msg="probably too old"
62 fi
63 ;;
32
33 --is-lightweight)
34 # Used by our autoconf macros to check whether the available missing
35 # script is modern enough.
36 exit 0
37 ;;
38
39 --run)
40 # Back-compat with the calling convention used by older automake.
41 shift
42 ;;
6443
6544 -h|--h|--he|--hel|--help)
6645 echo "\
6746 $0 [OPTION]... PROGRAM [ARGUMENT]...
6847
69 Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
70 error status if there is no known handling for PROGRAM.
48 Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
49 to PROGRAM being missing or too old.
7150
7251 Options:
7352 -h, --help display this help and exit
7453 -v, --version output version information and exit
75 --run try to run the given command, and emulate it if it fails
7654
7755 Supported PROGRAM values:
78 aclocal touch file \`aclocal.m4'
79 autoconf touch file \`configure'
80 autoheader touch file \`config.h.in'
81 autom4te touch the output file, or create a stub one
82 automake touch all \`Makefile.in' files
83 bison create \`y.tab.[ch]', if possible, from existing .[ch]
84 flex create \`lex.yy.c', if possible, from existing .c
85 help2man touch the output file
86 lex create \`lex.yy.c', if possible, from existing .c
87 makeinfo touch the output file
88 tar try tar, gnutar, gtar, then tar without non-portable flags
89 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
56 aclocal autoconf autoheader autom4te automake makeinfo
57 bison yacc flex lex help2man
58
59 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
60 'g' are ignored when checking the name.
9061
9162 Send bug reports to <bug-automake@gnu.org>."
9263 exit $?
9869 ;;
9970
10071 -*)
101 echo 1>&2 "$0: Unknown \`$1' option"
102 echo 1>&2 "Try \`$0 --help' for more information"
72 echo 1>&2 "$0: unknown '$1' option"
73 echo 1>&2 "Try '$0 --help' for more information"
10374 exit 1
10475 ;;
10576
10677 esac
10778
108 # Now exit if we have it, but it failed. Also exit now if we
109 # don't have it and --version was passed (most likely to detect
110 # the program).
111 case $1 in
112 lex|yacc)
113 # Not GNU programs, they don't have --version.
114 ;;
115
116 tar)
117 if test -n "$run"; then
118 echo 1>&2 "ERROR: \`tar' requires --run"
119 exit 1
120 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
121 exit 1
122 fi
123 ;;
124
125 *)
126 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
127 # We have it, but it failed.
128 exit 1
129 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
130 # Could not run --version or --help. This is probably someone
131 # running `$TOOL --version' or `$TOOL --help' to check whether
132 # $TOOL exists and not knowing $TOOL uses missing.
133 exit 1
134 fi
135 ;;
136 esac
137
138 # If it does not exist, or fails to run (possibly an outdated version),
139 # try to emulate it.
140 case $1 in
141 aclocal*)
142 echo 1>&2 "\
143 WARNING: \`$1' is $msg. You should only need it if
144 you modified \`acinclude.m4' or \`${configure_ac}'. You might want
145 to install the \`Automake' and \`Perl' packages. Grab them from
146 any GNU archive site."
147 touch aclocal.m4
148 ;;
149
150 autoconf)
151 echo 1>&2 "\
152 WARNING: \`$1' is $msg. You should only need it if
153 you modified \`${configure_ac}'. You might want to install the
154 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
155 archive site."
156 touch configure
157 ;;
158
159 autoheader)
160 echo 1>&2 "\
161 WARNING: \`$1' is $msg. You should only need it if
162 you modified \`acconfig.h' or \`${configure_ac}'. You might want
163 to install the \`Autoconf' and \`GNU m4' packages. Grab them
164 from any GNU archive site."
165 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
166 test -z "$files" && files="config.h"
167 touch_files=
168 for f in $files; do
169 case $f in
170 *:*) touch_files="$touch_files "`echo "$f" |
171 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
172 *) touch_files="$touch_files $f.in";;
173 esac
174 done
175 touch $touch_files
176 ;;
177
178 automake*)
179 echo 1>&2 "\
180 WARNING: \`$1' is $msg. You should only need it if
181 you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
182 You might want to install the \`Automake' and \`Perl' packages.
183 Grab them from any GNU archive site."
184 find . -type f -name Makefile.am -print |
185 sed 's/\.am$/.in/' |
186 while read f; do touch "$f"; done
187 ;;
188
189 autom4te)
190 echo 1>&2 "\
191 WARNING: \`$1' is needed, but is $msg.
192 You might have modified some files without having the
193 proper tools for further handling them.
194 You can get \`$1' as part of \`Autoconf' from any GNU
195 archive site."
196
197 file=`echo "$*" | sed -n "$sed_output"`
198 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
199 if test -f "$file"; then
200 touch $file
201 else
202 test -z "$file" || exec >$file
203 echo "#! /bin/sh"
204 echo "# Created by GNU Automake missing as a replacement of"
205 echo "# $ $@"
206 echo "exit 0"
207 chmod +x $file
208 exit 1
209 fi
210 ;;
211
212 bison|yacc)
213 echo 1>&2 "\
214 WARNING: \`$1' $msg. You should only need it if
215 you modified a \`.y' file. You may need the \`Bison' package
216 in order for those modifications to take effect. You can get
217 \`Bison' from any GNU archive site."
218 rm -f y.tab.c y.tab.h
219 if test $# -ne 1; then
220 eval LASTARG="\${$#}"
221 case $LASTARG in
222 *.y)
223 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
224 if test -f "$SRCFILE"; then
225 cp "$SRCFILE" y.tab.c
226 fi
227 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
228 if test -f "$SRCFILE"; then
229 cp "$SRCFILE" y.tab.h
230 fi
231 ;;
232 esac
233 fi
234 if test ! -f y.tab.h; then
235 echo >y.tab.h
236 fi
237 if test ! -f y.tab.c; then
238 echo 'main() { return 0; }' >y.tab.c
239 fi
240 ;;
241
242 lex|flex)
243 echo 1>&2 "\
244 WARNING: \`$1' is $msg. You should only need it if
245 you modified a \`.l' file. You may need the \`Flex' package
246 in order for those modifications to take effect. You can get
247 \`Flex' from any GNU archive site."
248 rm -f lex.yy.c
249 if test $# -ne 1; then
250 eval LASTARG="\${$#}"
251 case $LASTARG in
252 *.l)
253 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
254 if test -f "$SRCFILE"; then
255 cp "$SRCFILE" lex.yy.c
256 fi
257 ;;
258 esac
259 fi
260 if test ! -f lex.yy.c; then
261 echo 'main() { return 0; }' >lex.yy.c
262 fi
263 ;;
264
265 help2man)
266 echo 1>&2 "\
267 WARNING: \`$1' is $msg. You should only need it if
268 you modified a dependency of a manual page. You may need the
269 \`Help2man' package in order for those modifications to take
270 effect. You can get \`Help2man' from any GNU archive site."
271
272 file=`echo "$*" | sed -n "$sed_output"`
273 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
274 if test -f "$file"; then
275 touch $file
276 else
277 test -z "$file" || exec >$file
278 echo ".ab help2man is required to generate this page"
279 exit 1
280 fi
281 ;;
282
283 makeinfo)
284 echo 1>&2 "\
285 WARNING: \`$1' is $msg. You should only need it if
286 you modified a \`.texi' or \`.texinfo' file, or any other file
287 indirectly affecting the aspect of the manual. The spurious
288 call might also be the consequence of using a buggy \`make' (AIX,
289 DU, IRIX). You might want to install the \`Texinfo' package or
290 the \`GNU make' package. Grab either from any GNU archive site."
291 # The file to touch is that specified with -o ...
292 file=`echo "$*" | sed -n "$sed_output"`
293 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
294 if test -z "$file"; then
295 # ... or it is the one specified with @setfilename ...
296 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
297 file=`sed -n '
298 /^@setfilename/{
299 s/.* \([^ ]*\) *$/\1/
300 p
301 q
302 }' $infile`
303 # ... or it is derived from the source name (dir/f.texi becomes f.info)
304 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
305 fi
306 # If the file does not exist, the user really needs makeinfo;
307 # let's fail without touching anything.
308 test -f $file || exit 1
309 touch $file
310 ;;
311
312 tar)
313 shift
314
315 # We have already tried tar in the generic part.
316 # Look for gnutar/gtar before invocation to avoid ugly error
317 # messages.
318 if (gnutar --version > /dev/null 2>&1); then
319 gnutar "$@" && exit 0
320 fi
321 if (gtar --version > /dev/null 2>&1); then
322 gtar "$@" && exit 0
323 fi
324 firstarg="$1"
325 if shift; then
326 case $firstarg in
327 *o*)
328 firstarg=`echo "$firstarg" | sed s/o//`
329 tar "$firstarg" "$@" && exit 0
330 ;;
331 esac
332 case $firstarg in
333 *h*)
334 firstarg=`echo "$firstarg" | sed s/h//`
335 tar "$firstarg" "$@" && exit 0
336 ;;
337 esac
338 fi
339
340 echo 1>&2 "\
341 WARNING: I can't seem to be able to run \`tar' with the given arguments.
342 You may want to install GNU tar or Free paxutils, or check the
343 command line arguments."
344 exit 1
345 ;;
346
347 *)
348 echo 1>&2 "\
349 WARNING: \`$1' is needed, and is $msg.
350 You might have modified some files without having the
351 proper tools for further handling them. Check the \`README' file,
352 it often tells you about the needed prerequisites for installing
353 this package. You may also peek at any GNU archive site, in case
354 some other package would contain this missing \`$1' program."
355 exit 1
356 ;;
357 esac
358
359 exit 0
79 # Run the given program, remember its exit status.
80 "$@"; st=$?
81
82 # If it succeeded, we are done.
83 test $st -eq 0 && exit 0
84
85 # Also exit now if we it failed (or wasn't found), and '--version' was
86 # passed; such an option is passed most likely to detect whether the
87 # program is present and works.
88 case $2 in --version|--help) exit $st;; esac
89
90 # Exit code 63 means version mismatch. This often happens when the user
91 # tries to use an ancient version of a tool on a file that requires a
92 # minimum version.
93 if test $st -eq 63; then
94 msg="probably too old"
95 elif test $st -eq 127; then
96 # Program was missing.
97 msg="missing on your system"
98 else
99 # Program was found and executed, but failed. Give up.
100 exit $st
101 fi
102
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106
107 program_details ()
108 {
109 case $1 in
110 aclocal|automake)
111 echo "The '$1' program is part of the GNU Automake package:"
112 echo "<$gnu_software_URL/automake>"
113 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
114 echo "<$gnu_software_URL/autoconf>"
115 echo "<$gnu_software_URL/m4/>"
116 echo "<$perl_URL>"
117 ;;
118 autoconf|autom4te|autoheader)
119 echo "The '$1' program is part of the GNU Autoconf package:"
120 echo "<$gnu_software_URL/autoconf/>"
121 echo "It also requires GNU m4 and Perl in order to run:"
122 echo "<$gnu_software_URL/m4/>"
123 echo "<$perl_URL>"
124 ;;
125 esac
126 }
127
128 give_advice ()
129 {
130 # Normalize program name to check for.
131 normalized_program=`echo "$1" | sed '
132 s/^gnu-//; t
133 s/^gnu//; t
134 s/^g//; t'`
135
136 printf '%s\n' "'$1' is $msg."
137
138 configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
139 case $normalized_program in
140 autoconf*)
141 echo "You should only need it if you modified 'configure.ac',"
142 echo "or m4 files included by it."
143 program_details 'autoconf'
144 ;;
145 autoheader*)
146 echo "You should only need it if you modified 'acconfig.h' or"
147 echo "$configure_deps."
148 program_details 'autoheader'
149 ;;
150 automake*)
151 echo "You should only need it if you modified 'Makefile.am' or"
152 echo "$configure_deps."
153 program_details 'automake'
154 ;;
155 aclocal*)
156 echo "You should only need it if you modified 'acinclude.m4' or"
157 echo "$configure_deps."
158 program_details 'aclocal'
159 ;;
160 autom4te*)
161 echo "You might have modified some maintainer files that require"
162 echo "the 'autom4te' program to be rebuilt."
163 program_details 'autom4te'
164 ;;
165 bison*|yacc*)
166 echo "You should only need it if you modified a '.y' file."
167 echo "You may want to install the GNU Bison package:"
168 echo "<$gnu_software_URL/bison/>"
169 ;;
170 lex*|flex*)
171 echo "You should only need it if you modified a '.l' file."
172 echo "You may want to install the Fast Lexical Analyzer package:"
173 echo "<$flex_URL>"
174 ;;
175 help2man*)
176 echo "You should only need it if you modified a dependency" \
177 "of a man page."
178 echo "You may want to install the GNU Help2man package:"
179 echo "<$gnu_software_URL/help2man/>"
180 ;;
181 makeinfo*)
182 echo "You should only need it if you modified a '.texi' file, or"
183 echo "any other file indirectly affecting the aspect of the manual."
184 echo "You might want to install the Texinfo package:"
185 echo "<$gnu_software_URL/texinfo/>"
186 echo "The spurious makeinfo call might also be the consequence of"
187 echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
188 echo "want to install GNU make:"
189 echo "<$gnu_software_URL/make/>"
190 ;;
191 *)
192 echo "You might have modified some files without having the proper"
193 echo "tools for further handling them. Check the 'README' file, it"
194 echo "often tells you about the needed prerequisites for installing"
195 echo "this package. You may also peek at any GNU archive site, in"
196 echo "case some other package contains this missing '$1' program."
197 ;;
198 esac
199 }
200
201 give_advice "$1" | sed -e '1s/^/WARNING: /' \
202 -e '2,$s/^/ /' >&2
203
204 # Propagate the correct exit status (expected to be 127 for a program
205 # not found, 63 for a program that failed due to version mismatch).
206 exit $st
360207
361208 # Local variables:
362 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
363210 # time-stamp-start: "scriptversion="
364211 # time-stamp-format: "%:y-%02m-%02d.%02H"
365 # time-stamp-end: "$"
212 # time-stamp-time-zone: "UTC0"
213 # time-stamp-end: "; # UTC"
366214 # End:
0 # Makefile.in generated by automake 1.10.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
4
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
77 # with or without modifications, as long as this notice is preserved.
1616
1717
1818 VPATH = @srcdir@
19 am__is_gnu_make = { \
20 if test -z '$(MAKELEVEL)'; then \
21 false; \
22 elif test -n '$(MAKE_HOST)'; then \
23 true; \
24 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25 true; \
26 else \
27 false; \
28 fi; \
29 }
30 am__make_running_with_option = \
31 case $${target_option-} in \
32 ?) ;; \
33 *) echo "am__make_running_with_option: internal error: invalid" \
34 "target option '$${target_option-}' specified" >&2; \
35 exit 1;; \
36 esac; \
37 has_opt=no; \
38 sane_makeflags=$$MAKEFLAGS; \
39 if $(am__is_gnu_make); then \
40 sane_makeflags=$$MFLAGS; \
41 else \
42 case $$MAKEFLAGS in \
43 *\\[\ \ ]*) \
44 bs=\\; \
45 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
46 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
47 esac; \
48 fi; \
49 skip_next=no; \
50 strip_trailopt () \
51 { \
52 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 }; \
54 for flg in $$sane_makeflags; do \
55 test $$skip_next = yes && { skip_next=no; continue; }; \
56 case $$flg in \
57 *=*|--*) continue;; \
58 -*I) strip_trailopt 'I'; skip_next=yes;; \
59 -*I?*) strip_trailopt 'I';; \
60 -*O) strip_trailopt 'O'; skip_next=yes;; \
61 -*O?*) strip_trailopt 'O';; \
62 -*l) strip_trailopt 'l'; skip_next=yes;; \
63 -*l?*) strip_trailopt 'l';; \
64 -[dEDm]) skip_next=yes;; \
65 -[JT]) skip_next=yes;; \
66 esac; \
67 case $$flg in \
68 *$$target_option*) has_opt=yes; break;; \
69 esac; \
70 done; \
71 test $$has_opt = yes
72 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
73 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1974 pkgdatadir = $(datadir)/@PACKAGE@
75 pkgincludedir = $(includedir)/@PACKAGE@
2076 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
77 pkglibexecdir = $(libexecdir)/@PACKAGE@
2278 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2379 install_sh_DATA = $(install_sh) -c -m 644
2480 install_sh_PROGRAM = $(install_sh) -c
3389 POST_UNINSTALL = :
3490 bin_PROGRAMS = gom$(EXEEXT)
3591 subdir = src
36 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(srcdir)/gom.1.in \
38 $(srcdir)/gomconfig.8.in $(srcdir)/gomconfig.in
3992 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4093 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4194 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4295 $(ACLOCAL_M4)
96 DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
97 $(am__DIST_COMMON)
4398 mkinstalldirs = $(install_sh) -d
4499 CONFIG_HEADER = $(top_builddir)/config.h
45100 CONFIG_CLEAN_FILES = gomconfig gom.1 gomconfig.8
101 CONFIG_CLEAN_VPATH_FILES =
46102 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \
47103 "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
48 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
49104 PROGRAMS = $(bin_PROGRAMS)
50105 am_gom_OBJECTS = gom_info.$(OBJEXT) \
51106 gom_driver_@GOM_SOUND_DRIVER_ID@.$(OBJEXT) gom_mixer.$(OBJEXT) \
54109 gom_iface_x.$(OBJEXT) gom.$(OBJEXT)
55110 gom_OBJECTS = $(am_gom_OBJECTS)
56111 gom_LDADD = $(LDADD)
57 sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT)
112 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
113 am__vpath_adj = case $$p in \
114 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
115 *) f=$$p;; \
116 esac;
117 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
118 am__install_max = 40
119 am__nobase_strip_setup = \
120 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
121 am__nobase_strip = \
122 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
123 am__nobase_list = $(am__nobase_strip_setup); \
124 for p in $$list; do echo "$$p $$p"; done | \
125 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
126 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
127 if (++n[$$2] == $(am__install_max)) \
128 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
129 END { for (dir in files) print dir, files[dir] }'
130 am__base_list = \
131 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
132 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
133 am__uninstall_files_from_dir = { \
134 test -z "$$files" \
135 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
136 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
137 $(am__cd) "$$dir" && rm -f $$files; }; \
138 }
58139 SCRIPTS = $(sbin_SCRIPTS)
140 AM_V_P = $(am__v_P_@AM_V@)
141 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
142 am__v_P_0 = false
143 am__v_P_1 = :
144 AM_V_GEN = $(am__v_GEN_@AM_V@)
145 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
146 am__v_GEN_0 = @echo " GEN " $@;
147 am__v_GEN_1 =
148 AM_V_at = $(am__v_at_@AM_V@)
149 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
150 am__v_at_0 = @
151 am__v_at_1 =
59152 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
60153 depcomp = $(SHELL) $(top_srcdir)/depcomp
61 am__depfiles_maybe = depfiles
154 am__maybe_remake_depfiles = depfiles
155 am__depfiles_remade = ./$(DEPDIR)/gom.Po ./$(DEPDIR)/gom_action.Po \
156 ./$(DEPDIR)/gom_driver_@GOM_SOUND_DRIVER_ID@.Po \
157 ./$(DEPDIR)/gom_driver_oss.Po ./$(DEPDIR)/gom_file.Po \
158 ./$(DEPDIR)/gom_gomii.Po ./$(DEPDIR)/gom_iface_c.Po \
159 ./$(DEPDIR)/gom_iface_t.Po ./$(DEPDIR)/gom_iface_x.Po \
160 ./$(DEPDIR)/gom_info.Po ./$(DEPDIR)/gom_mixer.Po
161 am__mv = mv -f
62162 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
63163 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 AM_V_CC = $(am__v_CC_@AM_V@)
165 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
166 am__v_CC_0 = @echo " CC " $@;
167 am__v_CC_1 =
64168 CCLD = $(CC)
65169 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
170 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
171 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
172 am__v_CCLD_0 = @echo " CCLD " $@;
173 am__v_CCLD_1 =
66174 SOURCES = $(gom_SOURCES) $(EXTRA_gom_SOURCES)
67175 DIST_SOURCES = $(gom_SOURCES) $(EXTRA_gom_SOURCES)
176 am__can_run_installinfo = \
177 case $$AM_UPDATE_INFO_DIR in \
178 n|no|NO) false;; \
179 *) (install-info --version) >/dev/null 2>&1;; \
180 esac
68181 man1dir = $(mandir)/man1
69182 man8dir = $(mandir)/man8
70183 NROFF = nroff
71184 MANS = $(man_MANS)
72185 HEADERS = $(noinst_HEADERS)
186 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
187 # Read a list of newline-separated strings from the standard input,
188 # and print each of them once, without duplicates. Input order is
189 # *not* preserved.
190 am__uniquify_input = $(AWK) '\
191 BEGIN { nonempty = 0; } \
192 { items[$$0] = 1; nonempty = 1; } \
193 END { if (nonempty) { for (i in items) print i; }; } \
194 '
195 # Make sure the list of sources is unique. This is necessary because,
196 # e.g., the same source file might be shared among _SOURCES variables
197 # for different programs/libraries.
198 am__define_uniq_tagged_files = \
199 list='$(am__tagged_files)'; \
200 unique=`for i in $$list; do \
201 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
202 done | $(am__uniquify_input)`
73203 ETAGS = etags
74204 CTAGS = ctags
205 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gom.1.in \
206 $(srcdir)/gomconfig.8.in $(srcdir)/gomconfig.in \
207 $(top_srcdir)/depcomp
75208 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76209 ACLOCAL = @ACLOCAL@
77210 AMTAR = @AMTAR@
211 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
78212 AUTOCONF = @AUTOCONF@
79213 AUTOHEADER = @AUTOHEADER@
80214 AUTOMAKE = @AUTOMAKE@
118252 PACKAGE_NAME = @PACKAGE_NAME@
119253 PACKAGE_STRING = @PACKAGE_STRING@
120254 PACKAGE_TARNAME = @PACKAGE_TARNAME@
255 PACKAGE_URL = @PACKAGE_URL@
121256 PACKAGE_VERSION = @PACKAGE_VERSION@
122257 PATH_SEPARATOR = @PATH_SEPARATOR@
123258 SET_MAKE = @SET_MAKE@
163298 prefix = @prefix@
164299 program_transform_name = @program_transform_name@
165300 psdir = @psdir@
301 runstatedir = @runstatedir@
166302 sbindir = @sbindir@
167303 sharedstatedir = @sharedstatedir@
168304 srcdir = @srcdir@
169305 sysconfdir = @sysconfdir@
170306 target_alias = @target_alias@
307 top_build_prefix = @top_build_prefix@
171308 top_builddir = @top_builddir@
172309 top_srcdir = @top_srcdir@
173310 AM_CPPFLAGS = $(GOM_CPPFLAGS)
206343 @for dep in $?; do \
207344 case '$(am__configure_deps)' in \
208345 *$$dep*) \
209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
210 && exit 0; \
346 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
347 && { if test -f $@; then exit 0; else break; fi; }; \
211348 exit 1;; \
212349 esac; \
213350 done; \
214 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
215 cd $(top_srcdir) && \
216 $(AUTOMAKE) --gnu src/Makefile
217 .PRECIOUS: Makefile
351 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
352 $(am__cd) $(top_srcdir) && \
353 $(AUTOMAKE) --gnu src/Makefile
218354 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219355 @case '$?' in \
220356 *config.status*) \
221357 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
222358 *) \
223 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
224 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
359 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
360 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
225361 esac;
226362
227363 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
231367 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
232368 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
233369 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
370 $(am__aclocal_m4_deps):
234371 gomconfig: $(top_builddir)/config.status $(srcdir)/gomconfig.in
235372 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
236373 gom.1: $(top_builddir)/config.status $(srcdir)/gom.1.in
239376 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
240377 install-binPROGRAMS: $(bin_PROGRAMS)
241378 @$(NORMAL_INSTALL)
242 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
243 @list='$(bin_PROGRAMS)'; for p in $$list; do \
244 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
245 if test -f $$p \
246 ; then \
247 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
248 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
249 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
250 else :; fi; \
251 done
379 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
380 if test -n "$$list"; then \
381 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
382 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
383 fi; \
384 for p in $$list; do echo "$$p $$p"; done | \
385 sed 's/$(EXEEXT)$$//' | \
386 while read p p1; do if test -f $$p \
387 ; then echo "$$p"; echo "$$p"; else :; fi; \
388 done | \
389 sed -e 'p;s,.*/,,;n;h' \
390 -e 's|.*|.|' \
391 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
392 sed 'N;N;N;s,\n, ,g' | \
393 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
394 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
395 if ($$2 == $$4) files[d] = files[d] " " $$1; \
396 else { print "f", $$3 "/" $$4, $$1; } } \
397 END { for (d in files) print "f", d, files[d] }' | \
398 while read type dir files; do \
399 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
400 test -z "$$files" || { \
401 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
402 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
403 } \
404 ; done
252405
253406 uninstall-binPROGRAMS:
254407 @$(NORMAL_UNINSTALL)
255 @list='$(bin_PROGRAMS)'; for p in $$list; do \
256 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
257 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
258 rm -f "$(DESTDIR)$(bindir)/$$f"; \
259 done
408 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
409 files=`for p in $$list; do echo "$$p"; done | \
410 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
411 -e 's/$$/$(EXEEXT)/' \
412 `; \
413 test -n "$$list" || exit 0; \
414 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
415 cd "$(DESTDIR)$(bindir)" && rm -f $$files
260416
261417 clean-binPROGRAMS:
262418 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
263 gom$(EXEEXT): $(gom_OBJECTS) $(gom_DEPENDENCIES)
419
420 gom$(EXEEXT): $(gom_OBJECTS) $(gom_DEPENDENCIES) $(EXTRA_gom_DEPENDENCIES)
264421 @rm -f gom$(EXEEXT)
265 $(LINK) $(gom_OBJECTS) $(gom_LDADD) $(LIBS)
422 $(AM_V_CCLD)$(LINK) $(gom_OBJECTS) $(gom_LDADD) $(LIBS)
266423 install-sbinSCRIPTS: $(sbin_SCRIPTS)
267424 @$(NORMAL_INSTALL)
268 test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
269 @list='$(sbin_SCRIPTS)'; for p in $$list; do \
425 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
426 if test -n "$$list"; then \
427 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
428 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
429 fi; \
430 for p in $$list; do \
270431 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
271 if test -f $$d$$p; then \
272 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
273 echo " $(sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
274 $(sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \
275 else :; fi; \
276 done
432 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
433 done | \
434 sed -e 'p;s,.*/,,;n' \
435 -e 'h;s|.*|.|' \
436 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
437 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
438 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
439 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
440 if (++n[d] == $(am__install_max)) { \
441 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
442 else { print "f", d "/" $$4, $$1 } } \
443 END { for (d in files) print "f", d, files[d] }' | \
444 while read type dir files; do \
445 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
446 test -z "$$files" || { \
447 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
448 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
449 } \
450 ; done
277451
278452 uninstall-sbinSCRIPTS:
279453 @$(NORMAL_UNINSTALL)
280 @list='$(sbin_SCRIPTS)'; for p in $$list; do \
281 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
282 echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
283 rm -f "$(DESTDIR)$(sbindir)/$$f"; \
284 done
454 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
455 files=`for p in $$list; do echo "$$p"; done | \
456 sed -e 's,.*/,,;$(transform)'`; \
457 dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)
285458
286459 mostlyclean-compile:
287460 -rm -f *.$(OBJEXT)
289462 distclean-compile:
290463 -rm -f *.tab.c
291464
292 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom.Po@am__quote@
293 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_action.Po@am__quote@
294 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_driver_@GOM_SOUND_DRIVER_ID@.Po@am__quote@
295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_driver_oss.Po@am__quote@
296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_file.Po@am__quote@
297 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_gomii.Po@am__quote@
298 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_c.Po@am__quote@
299 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_t.Po@am__quote@
300 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_x.Po@am__quote@
301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_info.Po@am__quote@
302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_mixer.Po@am__quote@
465 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom.Po@am__quote@ # am--include-marker
466 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_action.Po@am__quote@ # am--include-marker
467 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_driver_@GOM_SOUND_DRIVER_ID@.Po@am__quote@ # am--include-marker
468 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_driver_oss.Po@am__quote@ # am--include-marker
469 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_file.Po@am__quote@ # am--include-marker
470 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_gomii.Po@am__quote@ # am--include-marker
471 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_c.Po@am__quote@ # am--include-marker
472 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_t.Po@am__quote@ # am--include-marker
473 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_iface_x.Po@am__quote@ # am--include-marker
474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_info.Po@am__quote@ # am--include-marker
475 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_mixer.Po@am__quote@ # am--include-marker
476
477 $(am__depfiles_remade):
478 @$(MKDIR_P) $(@D)
479 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
480
481 am--depfiles: $(am__depfiles_remade)
303482
304483 .c.o:
305 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
306 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
307 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
484 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
485 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
486 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
308487 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
309 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
488 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
310489
311490 .c.obj:
312 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
313 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
314 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
491 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
492 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
493 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
315494 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
316 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
317 install-man1: $(man1_MANS) $(man_MANS)
495 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
496 install-man1: $(man_MANS)
318497 @$(NORMAL_INSTALL)
319 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
320 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
321 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
322 for i in $$l2; do \
323 case "$$i" in \
324 *.1*) list="$$list $$i" ;; \
325 esac; \
498 @list1=''; \
499 list2='$(man_MANS)'; \
500 test -n "$(man1dir)" \
501 && test -n "`echo $$list1$$list2`" \
502 || exit 0; \
503 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
504 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
505 { for i in $$list1; do echo "$$i"; done; \
506 if test -n "$$list2"; then \
507 for i in $$list2; do echo "$$i"; done \
508 | sed -n '/\.1[a-z]*$$/p'; \
509 fi; \
510 } | while read p; do \
511 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
512 echo "$$d$$p"; echo "$$p"; \
513 done | \
514 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
515 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
516 sed 'N;N;s,\n, ,g' | { \
517 list=; while read file base inst; do \
518 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
519 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
520 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
521 fi; \
326522 done; \
327 for i in $$list; do \
328 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
329 else file=$$i; fi; \
330 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
331 case "$$ext" in \
332 1*) ;; \
333 *) ext='1' ;; \
334 esac; \
335 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
336 inst=`echo $$inst | sed -e 's/^.*\///'`; \
337 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
338 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
339 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
340 done
523 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
524 while read files; do \
525 test -z "$$files" || { \
526 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
527 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
528 done; }
529
341530 uninstall-man1:
342531 @$(NORMAL_UNINSTALL)
343 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
344 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
345 for i in $$l2; do \
346 case "$$i" in \
347 *.1*) list="$$list $$i" ;; \
348 esac; \
532 @list=''; test -n "$(man1dir)" || exit 0; \
533 files=`{ for i in $$list; do echo "$$i"; done; \
534 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
535 sed -n '/\.1[a-z]*$$/p'; \
536 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
537 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
538 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
539 install-man8: $(man_MANS)
540 @$(NORMAL_INSTALL)
541 @list1=''; \
542 list2='$(man_MANS)'; \
543 test -n "$(man8dir)" \
544 && test -n "`echo $$list1$$list2`" \
545 || exit 0; \
546 echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
547 $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
548 { for i in $$list1; do echo "$$i"; done; \
549 if test -n "$$list2"; then \
550 for i in $$list2; do echo "$$i"; done \
551 | sed -n '/\.8[a-z]*$$/p'; \
552 fi; \
553 } | while read p; do \
554 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
555 echo "$$d$$p"; echo "$$p"; \
556 done | \
557 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
558 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
559 sed 'N;N;s,\n, ,g' | { \
560 list=; while read file base inst; do \
561 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
562 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
563 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
564 fi; \
349565 done; \
350 for i in $$list; do \
351 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
352 case "$$ext" in \
353 1*) ;; \
354 *) ext='1' ;; \
355 esac; \
356 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
357 inst=`echo $$inst | sed -e 's/^.*\///'`; \
358 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
359 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
360 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
361 done
362 install-man8: $(man8_MANS) $(man_MANS)
363 @$(NORMAL_INSTALL)
364 test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
365 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
366 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
367 for i in $$l2; do \
368 case "$$i" in \
369 *.8*) list="$$list $$i" ;; \
370 esac; \
371 done; \
372 for i in $$list; do \
373 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
374 else file=$$i; fi; \
375 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
376 case "$$ext" in \
377 8*) ;; \
378 *) ext='8' ;; \
379 esac; \
380 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
381 inst=`echo $$inst | sed -e 's/^.*\///'`; \
382 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
383 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
384 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
385 done
566 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
567 while read files; do \
568 test -z "$$files" || { \
569 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
570 $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
571 done; }
572
386573 uninstall-man8:
387574 @$(NORMAL_UNINSTALL)
388 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
389 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
390 for i in $$l2; do \
391 case "$$i" in \
392 *.8*) list="$$list $$i" ;; \
393 esac; \
394 done; \
395 for i in $$list; do \
396 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
397 case "$$ext" in \
398 8*) ;; \
399 *) ext='8' ;; \
400 esac; \
401 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
402 inst=`echo $$inst | sed -e 's/^.*\///'`; \
403 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
404 echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
405 rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
406 done
407
408 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
409 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
410 unique=`for i in $$list; do \
411 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
412 done | \
413 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
414 END { if (nonempty) { for (i in files) print i; }; }'`; \
415 mkid -fID $$unique
416 tags: TAGS
417
418 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
419 $(TAGS_FILES) $(LISP)
420 tags=; \
575 @list=''; test -n "$(man8dir)" || exit 0; \
576 files=`{ for i in $$list; do echo "$$i"; done; \
577 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
578 sed -n '/\.8[a-z]*$$/p'; \
579 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
580 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
581 dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
582
583 ID: $(am__tagged_files)
584 $(am__define_uniq_tagged_files); mkid -fID $$unique
585 tags: tags-am
586 TAGS: tags
587
588 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
589 set x; \
421590 here=`pwd`; \
422 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
423 unique=`for i in $$list; do \
424 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
425 done | \
426 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
427 END { if (nonempty) { for (i in files) print i; }; }'`; \
428 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
591 $(am__define_uniq_tagged_files); \
592 shift; \
593 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
429594 test -n "$$unique" || unique=$$empty_fix; \
430 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
431 $$tags $$unique; \
595 if test $$# -gt 0; then \
596 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
597 "$$@" $$unique; \
598 else \
599 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
600 $$unique; \
601 fi; \
432602 fi
433 ctags: CTAGS
434 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
435 $(TAGS_FILES) $(LISP)
436 tags=; \
437 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
438 unique=`for i in $$list; do \
439 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
440 done | \
441 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
442 END { if (nonempty) { for (i in files) print i; }; }'`; \
443 test -z "$(CTAGS_ARGS)$$tags$$unique" \
603 ctags: ctags-am
604
605 CTAGS: ctags
606 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
607 $(am__define_uniq_tagged_files); \
608 test -z "$(CTAGS_ARGS)$$unique" \
444609 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
445 $$tags $$unique
610 $$unique
446611
447612 GTAGS:
448613 here=`$(am__cd) $(top_builddir) && pwd` \
449 && cd $(top_srcdir) \
450 && gtags -i $(GTAGS_ARGS) $$here
614 && $(am__cd) $(top_srcdir) \
615 && gtags -i $(GTAGS_ARGS) "$$here"
616 cscopelist: cscopelist-am
617
618 cscopelist-am: $(am__tagged_files)
619 list='$(am__tagged_files)'; \
620 case "$(srcdir)" in \
621 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
622 *) sdir=$(subdir)/$(srcdir) ;; \
623 esac; \
624 for i in $$list; do \
625 if test -f "$$i"; then \
626 echo "$(subdir)/$$i"; \
627 else \
628 echo "$$sdir/$$i"; \
629 fi; \
630 done >> $(top_builddir)/cscope.files
451631
452632 distclean-tags:
453633 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
454634
455 distdir: $(DISTFILES)
635 distdir: $(BUILT_SOURCES)
636 $(MAKE) $(AM_MAKEFLAGS) distdir-am
637
638 distdir-am: $(DISTFILES)
456639 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
457640 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
458641 list='$(DISTFILES)'; \
468651 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
469652 if test -d $$d/$$file; then \
470653 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
654 if test -d "$(distdir)/$$file"; then \
655 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
656 fi; \
471657 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
472 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
658 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
659 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
473660 fi; \
474 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
661 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
475662 else \
476 test -f $(distdir)/$$file \
477 || cp -p $$d/$$file $(distdir)/$$file \
663 test -f "$(distdir)/$$file" \
664 || cp -p $$d/$$file "$(distdir)/$$file" \
478665 || exit 1; \
479666 fi; \
480667 done
495682
496683 installcheck: installcheck-am
497684 install-strip:
498 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
499 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
500 `test -z '$(STRIP)' || \
501 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
685 if test -z '$(STRIP)'; then \
686 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
687 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
688 install; \
689 else \
690 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
691 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
692 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
693 fi
502694 mostlyclean-generic:
503695
504696 clean-generic:
505697
506698 distclean-generic:
507699 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
700 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
508701
509702 maintainer-clean-generic:
510703 @echo "This command is intended for maintainers to use"
514707 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
515708
516709 distclean: distclean-am
517 -rm -rf ./$(DEPDIR)
710 -rm -f ./$(DEPDIR)/gom.Po
711 -rm -f ./$(DEPDIR)/gom_action.Po
712 -rm -f ./$(DEPDIR)/gom_driver_@GOM_SOUND_DRIVER_ID@.Po
713 -rm -f ./$(DEPDIR)/gom_driver_oss.Po
714 -rm -f ./$(DEPDIR)/gom_file.Po
715 -rm -f ./$(DEPDIR)/gom_gomii.Po
716 -rm -f ./$(DEPDIR)/gom_iface_c.Po
717 -rm -f ./$(DEPDIR)/gom_iface_t.Po
718 -rm -f ./$(DEPDIR)/gom_iface_x.Po
719 -rm -f ./$(DEPDIR)/gom_info.Po
720 -rm -f ./$(DEPDIR)/gom_mixer.Po
518721 -rm -f Makefile
519722 distclean-am: clean-am distclean-compile distclean-generic \
520723 distclean-tags
525728
526729 html: html-am
527730
731 html-am:
732
528733 info: info-am
529734
530735 info-am:
533738
534739 install-dvi: install-dvi-am
535740
741 install-dvi-am:
742
536743 install-exec-am: install-binPROGRAMS install-sbinSCRIPTS
537744
538745 install-html: install-html-am
539746
747 install-html-am:
748
540749 install-info: install-info-am
541750
751 install-info-am:
752
542753 install-man: install-man1 install-man8
543754
544755 install-pdf: install-pdf-am
545756
757 install-pdf-am:
758
546759 install-ps: install-ps-am
547760
761 install-ps-am:
762
548763 installcheck-am:
549764
550765 maintainer-clean: maintainer-clean-am
551 -rm -rf ./$(DEPDIR)
766 -rm -f ./$(DEPDIR)/gom.Po
767 -rm -f ./$(DEPDIR)/gom_action.Po
768 -rm -f ./$(DEPDIR)/gom_driver_@GOM_SOUND_DRIVER_ID@.Po
769 -rm -f ./$(DEPDIR)/gom_driver_oss.Po
770 -rm -f ./$(DEPDIR)/gom_file.Po
771 -rm -f ./$(DEPDIR)/gom_gomii.Po
772 -rm -f ./$(DEPDIR)/gom_iface_c.Po
773 -rm -f ./$(DEPDIR)/gom_iface_t.Po
774 -rm -f ./$(DEPDIR)/gom_iface_x.Po
775 -rm -f ./$(DEPDIR)/gom_info.Po
776 -rm -f ./$(DEPDIR)/gom_mixer.Po
552777 -rm -f Makefile
553778 maintainer-clean-am: distclean-am maintainer-clean-generic
554779
571796
572797 .MAKE: install-am install-strip
573798
574 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
575 clean-generic ctags distclean distclean-compile \
576 distclean-generic distclean-tags distdir dvi dvi-am html \
577 html-am info info-am install install-am install-binPROGRAMS \
578 install-data install-data-am install-dvi install-dvi-am \
579 install-exec install-exec-am install-html install-html-am \
580 install-info install-info-am install-man install-man1 \
581 install-man8 install-pdf install-pdf-am install-ps \
582 install-ps-am install-sbinSCRIPTS install-strip installcheck \
583 installcheck-am installdirs maintainer-clean \
584 maintainer-clean-generic mostlyclean mostlyclean-compile \
585 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
586 uninstall-am uninstall-binPROGRAMS uninstall-man \
587 uninstall-man1 uninstall-man8 uninstall-sbinSCRIPTS
799 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
800 clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \
801 distclean distclean-compile distclean-generic distclean-tags \
802 distdir dvi dvi-am html html-am info info-am install \
803 install-am install-binPROGRAMS install-data install-data-am \
804 install-dvi install-dvi-am install-exec install-exec-am \
805 install-html install-html-am install-info install-info-am \
806 install-man install-man1 install-man8 install-pdf \
807 install-pdf-am install-ps install-ps-am install-sbinSCRIPTS \
808 install-strip installcheck installcheck-am installdirs \
809 maintainer-clean maintainer-clean-generic mostlyclean \
810 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
811 tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
812 uninstall-man uninstall-man1 uninstall-man8 \
813 uninstall-sbinSCRIPTS
814
815 .PRECIOUS: Makefile
816
588817
589818 # Tell versions [3.59,3.63) of GNU make to not export all variables.
590819 # Otherwise a system limit (for SysV at least) may be exceeded.
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
4747 enum gom_info_types {GOM_INFO_ERROR=-1, GOM_INFO_QUIET, GOM_INFO_NORMAL, GOM_INFO_VERBOSE, GOM_INFO_DEBUG};
4848
4949 /* shown errors count */
50 int gom_info_errors;
50 extern int gom_info_errors;
5151
5252 /*
5353 * FUNCTION PROTOTYPES
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as
00 /* gom, Gom is nOt yet another (Audio) Mixer.
11 *
2 * Copyright (C) 1996-2004 Stephan A Suerken <absurd@olurdix.de>
2 * Copyright (C) 1996-2004 Stephan Sürken <absurd@olurdix.de>
33 *
44 * This program is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU General Public License as