Browse code
merge branch 'autoconf'
Showing 18 changed files
- .gitignore
- AUTHORS
- COPYING
- ChangeLog
- INSTALL
- Makefile.am
- Makefile.in
- NEWS
- README
- aclocal.m4
- compile
- config.h.in
- configure
- configure.ac
- depcomp
- hello.c
- install-sh
- missing
0 | 4 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,339 @@ |
1 |
+GNU GENERAL PUBLIC LICENSE |
|
2 |
+ Version 2, June 1991 |
|
3 |
+ |
|
4 |
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc., |
|
5 |
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
6 |
+ Everyone is permitted to copy and distribute verbatim copies |
|
7 |
+ of this license document, but changing it is not allowed. |
|
8 |
+ |
|
9 |
+ Preamble |
|
10 |
+ |
|
11 |
+ The licenses for most software are designed to take away your |
|
12 |
+freedom to share and change it. By contrast, the GNU General Public |
|
13 |
+License is intended to guarantee your freedom to share and change free |
|
14 |
+software--to make sure the software is free for all its users. This |
|
15 |
+General Public License applies to most of the Free Software |
|
16 |
+Foundation's software and to any other program whose authors commit to |
|
17 |
+using it. (Some other Free Software Foundation software is covered by |
|
18 |
+the GNU Lesser General Public License instead.) You can apply it to |
|
19 |
+your programs, too. |
|
20 |
+ |
|
21 |
+ When we speak of free software, we are referring to freedom, not |
|
22 |
+price. Our General Public Licenses are designed to make sure that you |
|
23 |
+have the freedom to distribute copies of free software (and charge for |
|
24 |
+this service if you wish), that you receive source code or can get it |
|
25 |
+if you want it, that you can change the software or use pieces of it |
|
26 |
+in new free programs; and that you know you can do these things. |
|
27 |
+ |
|
28 |
+ To protect your rights, we need to make restrictions that forbid |
|
29 |
+anyone to deny you these rights or to ask you to surrender the rights. |
|
30 |
+These restrictions translate to certain responsibilities for you if you |
|
31 |
+distribute copies of the software, or if you modify it. |
|
32 |
+ |
|
33 |
+ For example, if you distribute copies of such a program, whether |
|
34 |
+gratis or for a fee, you must give the recipients all the rights that |
|
35 |
+you have. You must make sure that they, too, receive or can get the |
|
36 |
+source code. And you must show them these terms so they know their |
|
37 |
+rights. |
|
38 |
+ |
|
39 |
+ We protect your rights with two steps: (1) copyright the software, and |
|
40 |
+(2) offer you this license which gives you legal permission to copy, |
|
41 |
+distribute and/or modify the software. |
|
42 |
+ |
|
43 |
+ Also, for each author's protection and ours, we want to make certain |
|
44 |
+that everyone understands that there is no warranty for this free |
|
45 |
+software. If the software is modified by someone else and passed on, we |
|
46 |
+want its recipients to know that what they have is not the original, so |
|
47 |
+that any problems introduced by others will not reflect on the original |
|
48 |
+authors' reputations. |
|
49 |
+ |
|
50 |
+ Finally, any free program is threatened constantly by software |
|
51 |
+patents. We wish to avoid the danger that redistributors of a free |
|
52 |
+program will individually obtain patent licenses, in effect making the |
|
53 |
+program proprietary. To prevent this, we have made it clear that any |
|
54 |
+patent must be licensed for everyone's free use or not licensed at all. |
|
55 |
+ |
|
56 |
+ The precise terms and conditions for copying, distribution and |
|
57 |
+modification follow. |
|
58 |
+ |
|
59 |
+ GNU GENERAL PUBLIC LICENSE |
|
60 |
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
61 |
+ |
|
62 |
+ 0. This License applies to any program or other work which contains |
|
63 |
+a notice placed by the copyright holder saying it may be distributed |
|
64 |
+under the terms of this General Public License. The "Program", below, |
|
65 |
+refers to any such program or work, and a "work based on the Program" |
|
66 |
+means either the Program or any derivative work under copyright law: |
|
67 |
+that is to say, a work containing the Program or a portion of it, |
|
68 |
+either verbatim or with modifications and/or translated into another |
|
69 |
+language. (Hereinafter, translation is included without limitation in |
|
70 |
+the term "modification".) Each licensee is addressed as "you". |
|
71 |
+ |
|
72 |
+Activities other than copying, distribution and modification are not |
|
73 |
+covered by this License; they are outside its scope. The act of |
|
74 |
+running the Program is not restricted, and the output from the Program |
|
75 |
+is covered only if its contents constitute a work based on the |
|
76 |
+Program (independent of having been made by running the Program). |
|
77 |
+Whether that is true depends on what the Program does. |
|
78 |
+ |
|
79 |
+ 1. You may copy and distribute verbatim copies of the Program's |
|
80 |
+source code as you receive it, in any medium, provided that you |
|
81 |
+conspicuously and appropriately publish on each copy an appropriate |
|
82 |
+copyright notice and disclaimer of warranty; keep intact all the |
|
83 |
+notices that refer to this License and to the absence of any warranty; |
|
84 |
+and give any other recipients of the Program a copy of this License |
|
85 |
+along with the Program. |
|
86 |
+ |
|
87 |
+You may charge a fee for the physical act of transferring a copy, and |
|
88 |
+you may at your option offer warranty protection in exchange for a fee. |
|
89 |
+ |
|
90 |
+ 2. You may modify your copy or copies of the Program or any portion |
|
91 |
+of it, thus forming a work based on the Program, and copy and |
|
92 |
+distribute such modifications or work under the terms of Section 1 |
|
93 |
+above, provided that you also meet all of these conditions: |
|
94 |
+ |
|
95 |
+ a) You must cause the modified files to carry prominent notices |
|
96 |
+ stating that you changed the files and the date of any change. |
|
97 |
+ |
|
98 |
+ b) You must cause any work that you distribute or publish, that in |
|
99 |
+ whole or in part contains or is derived from the Program or any |
|
100 |
+ part thereof, to be licensed as a whole at no charge to all third |
|
101 |
+ parties under the terms of this License. |
|
102 |
+ |
|
103 |
+ c) If the modified program normally reads commands interactively |
|
104 |
+ when run, you must cause it, when started running for such |
|
105 |
+ interactive use in the most ordinary way, to print or display an |
|
106 |
+ announcement including an appropriate copyright notice and a |
|
107 |
+ notice that there is no warranty (or else, saying that you provide |
|
108 |
+ a warranty) and that users may redistribute the program under |
|
109 |
+ these conditions, and telling the user how to view a copy of this |
|
110 |
+ License. (Exception: if the Program itself is interactive but |
|
111 |
+ does not normally print such an announcement, your work based on |
|
112 |
+ the Program is not required to print an announcement.) |
|
113 |
+ |
|
114 |
+These requirements apply to the modified work as a whole. If |
|
115 |
+identifiable sections of that work are not derived from the Program, |
|
116 |
+and can be reasonably considered independent and separate works in |
|
117 |
+themselves, then this License, and its terms, do not apply to those |
|
118 |
+sections when you distribute them as separate works. But when you |
|
119 |
+distribute the same sections as part of a whole which is a work based |
|
120 |
+on the Program, the distribution of the whole must be on the terms of |
|
121 |
+this License, whose permissions for other licensees extend to the |
|
122 |
+entire whole, and thus to each and every part regardless of who wrote it. |
|
123 |
+ |
|
124 |
+Thus, it is not the intent of this section to claim rights or contest |
|
125 |
+your rights to work written entirely by you; rather, the intent is to |
|
126 |
+exercise the right to control the distribution of derivative or |
|
127 |
+collective works based on the Program. |
|
128 |
+ |
|
129 |
+In addition, mere aggregation of another work not based on the Program |
|
130 |
+with the Program (or with a work based on the Program) on a volume of |
|
131 |
+a storage or distribution medium does not bring the other work under |
|
132 |
+the scope of this License. |
|
133 |
+ |
|
134 |
+ 3. You may copy and distribute the Program (or a work based on it, |
|
135 |
+under Section 2) in object code or executable form under the terms of |
|
136 |
+Sections 1 and 2 above provided that you also do one of the following: |
|
137 |
+ |
|
138 |
+ a) Accompany it with the complete corresponding machine-readable |
|
139 |
+ source code, which must be distributed under the terms of Sections |
|
140 |
+ 1 and 2 above on a medium customarily used for software interchange; or, |
|
141 |
+ |
|
142 |
+ b) Accompany it with a written offer, valid for at least three |
|
143 |
+ years, to give any third party, for a charge no more than your |
|
144 |
+ cost of physically performing source distribution, a complete |
|
145 |
+ machine-readable copy of the corresponding source code, to be |
|
146 |
+ distributed under the terms of Sections 1 and 2 above on a medium |
|
147 |
+ customarily used for software interchange; or, |
|
148 |
+ |
|
149 |
+ c) Accompany it with the information you received as to the offer |
|
150 |
+ to distribute corresponding source code. (This alternative is |
|
151 |
+ allowed only for noncommercial distribution and only if you |
|
152 |
+ received the program in object code or executable form with such |
|
153 |
+ an offer, in accord with Subsection b above.) |
|
154 |
+ |
|
155 |
+The source code for a work means the preferred form of the work for |
|
156 |
+making modifications to it. For an executable work, complete source |
|
157 |
+code means all the source code for all modules it contains, plus any |
|
158 |
+associated interface definition files, plus the scripts used to |
|
159 |
+control compilation and installation of the executable. However, as a |
|
160 |
+special exception, the source code distributed need not include |
|
161 |
+anything that is normally distributed (in either source or binary |
|
162 |
+form) with the major components (compiler, kernel, and so on) of the |
|
163 |
+operating system on which the executable runs, unless that component |
|
164 |
+itself accompanies the executable. |
|
165 |
+ |
|
166 |
+If distribution of executable or object code is made by offering |
|
167 |
+access to copy from a designated place, then offering equivalent |
|
168 |
+access to copy the source code from the same place counts as |
|
169 |
+distribution of the source code, even though third parties are not |
|
170 |
+compelled to copy the source along with the object code. |
|
171 |
+ |
|
172 |
+ 4. You may not copy, modify, sublicense, or distribute the Program |
|
173 |
+except as expressly provided under this License. Any attempt |
|
174 |
+otherwise to copy, modify, sublicense or distribute the Program is |
|
175 |
+void, and will automatically terminate your rights under this License. |
|
176 |
+However, parties who have received copies, or rights, from you under |
|
177 |
+this License will not have their licenses terminated so long as such |
|
178 |
+parties remain in full compliance. |
|
179 |
+ |
|
180 |
+ 5. You are not required to accept this License, since you have not |
|
181 |
+signed it. However, nothing else grants you permission to modify or |
|
182 |
+distribute the Program or its derivative works. These actions are |
|
183 |
+prohibited by law if you do not accept this License. Therefore, by |
|
184 |
+modifying or distributing the Program (or any work based on the |
|
185 |
+Program), you indicate your acceptance of this License to do so, and |
|
186 |
+all its terms and conditions for copying, distributing or modifying |
|
187 |
+the Program or works based on it. |
|
188 |
+ |
|
189 |
+ 6. Each time you redistribute the Program (or any work based on the |
|
190 |
+Program), the recipient automatically receives a license from the |
|
191 |
+original licensor to copy, distribute or modify the Program subject to |
|
192 |
+these terms and conditions. You may not impose any further |
|
193 |
+restrictions on the recipients' exercise of the rights granted herein. |
|
194 |
+You are not responsible for enforcing compliance by third parties to |
|
195 |
+this License. |
|
196 |
+ |
|
197 |
+ 7. If, as a consequence of a court judgment or allegation of patent |
|
198 |
+infringement or for any other reason (not limited to patent issues), |
|
199 |
+conditions are imposed on you (whether by court order, agreement or |
|
200 |
+otherwise) that contradict the conditions of this License, they do not |
|
201 |
+excuse you from the conditions of this License. If you cannot |
|
202 |
+distribute so as to satisfy simultaneously your obligations under this |
|
203 |
+License and any other pertinent obligations, then as a consequence you |
|
204 |
+may not distribute the Program at all. For example, if a patent |
|
205 |
+license would not permit royalty-free redistribution of the Program by |
|
206 |
+all those who receive copies directly or indirectly through you, then |
|
207 |
+the only way you could satisfy both it and this License would be to |
|
208 |
+refrain entirely from distribution of the Program. |
|
209 |
+ |
|
210 |
+If any portion of this section is held invalid or unenforceable under |
|
211 |
+any particular circumstance, the balance of the section is intended to |
|
212 |
+apply and the section as a whole is intended to apply in other |
|
213 |
+circumstances. |
|
214 |
+ |
|
215 |
+It is not the purpose of this section to induce you to infringe any |
|
216 |
+patents or other property right claims or to contest validity of any |
|
217 |
+such claims; this section has the sole purpose of protecting the |
|
218 |
+integrity of the free software distribution system, which is |
|
219 |
+implemented by public license practices. Many people have made |
|
220 |
+generous contributions to the wide range of software distributed |
|
221 |
+through that system in reliance on consistent application of that |
|
222 |
+system; it is up to the author/donor to decide if he or she is willing |
|
223 |
+to distribute software through any other system and a licensee cannot |
|
224 |
+impose that choice. |
|
225 |
+ |
|
226 |
+This section is intended to make thoroughly clear what is believed to |
|
227 |
+be a consequence of the rest of this License. |
|
228 |
+ |
|
229 |
+ 8. If the distribution and/or use of the Program is restricted in |
|
230 |
+certain countries either by patents or by copyrighted interfaces, the |
|
231 |
+original copyright holder who places the Program under this License |
|
232 |
+may add an explicit geographical distribution limitation excluding |
|
233 |
+those countries, so that distribution is permitted only in or among |
|
234 |
+countries not thus excluded. In such case, this License incorporates |
|
235 |
+the limitation as if written in the body of this License. |
|
236 |
+ |
|
237 |
+ 9. The Free Software Foundation may publish revised and/or new versions |
|
238 |
+of the General Public License from time to time. Such new versions will |
|
239 |
+be similar in spirit to the present version, but may differ in detail to |
|
240 |
+address new problems or concerns. |
|
241 |
+ |
|
242 |
+Each version is given a distinguishing version number. If the Program |
|
243 |
+specifies a version number of this License which applies to it and "any |
|
244 |
+later version", you have the option of following the terms and conditions |
|
245 |
+either of that version or of any later version published by the Free |
|
246 |
+Software Foundation. If the Program does not specify a version number of |
|
247 |
+this License, you may choose any version ever published by the Free Software |
|
248 |
+Foundation. |
|
249 |
+ |
|
250 |
+ 10. If you wish to incorporate parts of the Program into other free |
|
251 |
+programs whose distribution conditions are different, write to the author |
|
252 |
+to ask for permission. For software which is copyrighted by the Free |
|
253 |
+Software Foundation, write to the Free Software Foundation; we sometimes |
|
254 |
+make exceptions for this. Our decision will be guided by the two goals |
|
255 |
+of preserving the free status of all derivatives of our free software and |
|
256 |
+of promoting the sharing and reuse of software generally. |
|
257 |
+ |
|
258 |
+ NO WARRANTY |
|
259 |
+ |
|
260 |
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
|
261 |
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
|
262 |
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
|
263 |
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
|
264 |
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
265 |
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
|
266 |
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
267 |
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
|
268 |
+REPAIR OR CORRECTION. |
|
269 |
+ |
|
270 |
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
|
271 |
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
272 |
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
|
273 |
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
|
274 |
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
|
275 |
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
|
276 |
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
|
277 |
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
|
278 |
+POSSIBILITY OF SUCH DAMAGES. |
|
279 |
+ |
|
280 |
+ END OF TERMS AND CONDITIONS |
|
281 |
+ |
|
282 |
+ How to Apply These Terms to Your New Programs |
|
283 |
+ |
|
284 |
+ If you develop a new program, and you want it to be of the greatest |
|
285 |
+possible use to the public, the best way to achieve this is to make it |
|
286 |
+free software which everyone can redistribute and change under these terms. |
|
287 |
+ |
|
288 |
+ To do so, attach the following notices to the program. It is safest |
|
289 |
+to attach them to the start of each source file to most effectively |
|
290 |
+convey the exclusion of warranty; and each file should have at least |
|
291 |
+the "copyright" line and a pointer to where the full notice is found. |
|
292 |
+ |
|
293 |
+ <one line to give the program's name and a brief idea of what it does.> |
|
294 |
+ Copyright (C) <year> <name of author> |
|
295 |
+ |
|
296 |
+ This program is free software; you can redistribute it and/or modify |
|
297 |
+ it under the terms of the GNU General Public License as published by |
|
298 |
+ the Free Software Foundation; either version 2 of the License, or |
|
299 |
+ (at your option) any later version. |
|
300 |
+ |
|
301 |
+ This program is distributed in the hope that it will be useful, |
|
302 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
303 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
304 |
+ GNU General Public License for more details. |
|
305 |
+ |
|
306 |
+ You should have received a copy of the GNU General Public License along |
|
307 |
+ with this program; if not, write to the Free Software Foundation, Inc., |
|
308 |
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|
309 |
+ |
|
310 |
+Also add information on how to contact you by electronic and paper mail. |
|
311 |
+ |
|
312 |
+If the program is interactive, make it output a short notice like this |
|
313 |
+when it starts in an interactive mode: |
|
314 |
+ |
|
315 |
+ Gnomovision version 69, Copyright (C) year name of author |
|
316 |
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
|
317 |
+ This is free software, and you are welcome to redistribute it |
|
318 |
+ under certain conditions; type `show c' for details. |
|
319 |
+ |
|
320 |
+The hypothetical commands `show w' and `show c' should show the appropriate |
|
321 |
+parts of the General Public License. Of course, the commands you use may |
|
322 |
+be called something other than `show w' and `show c'; they could even be |
|
323 |
+mouse-clicks or menu items--whatever suits your program. |
|
324 |
+ |
|
325 |
+You should also get your employer (if you work as a programmer) or your |
|
326 |
+school, if any, to sign a "copyright disclaimer" for the program, if |
|
327 |
+necessary. Here is a sample; alter the names: |
|
328 |
+ |
|
329 |
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
|
330 |
+ `Gnomovision' (which makes passes at compilers) written by James Hacker. |
|
331 |
+ |
|
332 |
+ <signature of Ty Coon>, 1 April 1989 |
|
333 |
+ Ty Coon, President of Vice |
|
334 |
+ |
|
335 |
+This General Public License does not permit incorporating your program into |
|
336 |
+proprietary programs. If your program is a subroutine library, you may |
|
337 |
+consider it more useful to permit linking proprietary applications with the |
|
338 |
+library. If this is what you want to do, use the GNU Lesser General |
|
339 |
+Public License instead of this License. |
0 | 3 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,750 @@ |
1 |
+# Makefile.in generated by automake 1.15 from Makefile.am. |
|
2 |
+# @configure_input@ |
|
3 |
+ |
|
4 |
+# Copyright (C) 1994-2014 Free Software Foundation, Inc. |
|
5 |
+ |
|
6 |
+# This Makefile.in is free software; the Free Software Foundation |
|
7 |
+# gives unlimited permission to copy and/or distribute it, |
|
8 |
+# with or without modifications, as long as this notice is preserved. |
|
9 |
+ |
|
10 |
+# This program is distributed in the hope that it will be useful, |
|
11 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
12 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
13 |
+# PARTICULAR PURPOSE. |
|
14 |
+ |
|
15 |
+@SET_MAKE@ |
|
16 |
+ |
|
17 |
+VPATH = @srcdir@ |
|
18 |
+am__is_gnu_make = { \ |
|
19 |
+ if test -z '$(MAKELEVEL)'; then \ |
|
20 |
+ false; \ |
|
21 |
+ elif test -n '$(MAKE_HOST)'; then \ |
|
22 |
+ true; \ |
|
23 |
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ |
|
24 |
+ true; \ |
|
25 |
+ else \ |
|
26 |
+ false; \ |
|
27 |
+ fi; \ |
|
28 |
+} |
|
29 |
+am__make_running_with_option = \ |
|
30 |
+ case $${target_option-} in \ |
|
31 |
+ ?) ;; \ |
|
32 |
+ *) echo "am__make_running_with_option: internal error: invalid" \ |
|
33 |
+ "target option '$${target_option-}' specified" >&2; \ |
|
34 |
+ exit 1;; \ |
|
35 |
+ esac; \ |
|
36 |
+ has_opt=no; \ |
|
37 |
+ sane_makeflags=$$MAKEFLAGS; \ |
|
38 |
+ if $(am__is_gnu_make); then \ |
|
39 |
+ sane_makeflags=$$MFLAGS; \ |
|
40 |
+ else \ |
|
41 |
+ case $$MAKEFLAGS in \ |
|
42 |
+ *\\[\ \ ]*) \ |
|
43 |
+ bs=\\; \ |
|
44 |
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
|
45 |
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
|
46 |
+ esac; \ |
|
47 |
+ fi; \ |
|
48 |
+ skip_next=no; \ |
|
49 |
+ strip_trailopt () \ |
|
50 |
+ { \ |
|
51 |
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
|
52 |
+ }; \ |
|
53 |
+ for flg in $$sane_makeflags; do \ |
|
54 |
+ test $$skip_next = yes && { skip_next=no; continue; }; \ |
|
55 |
+ case $$flg in \ |
|
56 |
+ *=*|--*) continue;; \ |
|
57 |
+ -*I) strip_trailopt 'I'; skip_next=yes;; \ |
|
58 |
+ -*I?*) strip_trailopt 'I';; \ |
|
59 |
+ -*O) strip_trailopt 'O'; skip_next=yes;; \ |
|
60 |
+ -*O?*) strip_trailopt 'O';; \ |
|
61 |
+ -*l) strip_trailopt 'l'; skip_next=yes;; \ |
|
62 |
+ -*l?*) strip_trailopt 'l';; \ |
|
63 |
+ -[dEDm]) skip_next=yes;; \ |
|
64 |
+ -[JT]) skip_next=yes;; \ |
|
65 |
+ esac; \ |
|
66 |
+ case $$flg in \ |
|
67 |
+ *$$target_option*) has_opt=yes; break;; \ |
|
68 |
+ esac; \ |
|
69 |
+ done; \ |
|
70 |
+ test $$has_opt = yes |
|
71 |
+am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
|
72 |
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
|
73 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
|
74 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
|
75 |
+pkglibdir = $(libdir)/@PACKAGE@ |
|
76 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
|
77 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
|
78 |
+install_sh_DATA = $(install_sh) -c -m 644 |
|
79 |
+install_sh_PROGRAM = $(install_sh) -c |
|
80 |
+install_sh_SCRIPT = $(install_sh) -c |
|
81 |
+INSTALL_HEADER = $(INSTALL_DATA) |
|
82 |
+transform = $(program_transform_name) |
|
83 |
+NORMAL_INSTALL = : |
|
84 |
+PRE_INSTALL = : |
|
85 |
+POST_INSTALL = : |
|
86 |
+NORMAL_UNINSTALL = : |
|
87 |
+PRE_UNINSTALL = : |
|
88 |
+POST_UNINSTALL = : |
|
89 |
+bin_PROGRAMS = hello$(EXEEXT) |
|
90 |
+subdir = . |
|
91 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|
92 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
|
93 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
|
94 |
+ $(ACLOCAL_M4) |
|
95 |
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
|
96 |
+ $(am__configure_deps) $(am__DIST_COMMON) |
|
97 |
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
|
98 |
+ configure.lineno config.status.lineno |
|
99 |
+mkinstalldirs = $(install_sh) -d |
|
100 |
+CONFIG_HEADER = config.h |
|
101 |
+CONFIG_CLEAN_FILES = |
|
102 |
+CONFIG_CLEAN_VPATH_FILES = |
|
103 |
+am__installdirs = "$(DESTDIR)$(bindir)" |
|
104 |
+PROGRAMS = $(bin_PROGRAMS) |
|
105 |
+am_hello_OBJECTS = hello.$(OBJEXT) |
|
106 |
+hello_OBJECTS = $(am_hello_OBJECTS) |
|
107 |
+hello_LDADD = $(LDADD) |
|
108 |
+AM_V_P = $(am__v_P_@AM_V@) |
|
109 |
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
|
110 |
+am__v_P_0 = false |
|
111 |
+am__v_P_1 = : |
|
112 |
+AM_V_GEN = $(am__v_GEN_@AM_V@) |
|
113 |
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
|
114 |
+am__v_GEN_0 = @echo " GEN " $@; |
|
115 |
+am__v_GEN_1 = |
|
116 |
+AM_V_at = $(am__v_at_@AM_V@) |
|
117 |
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
|
118 |
+am__v_at_0 = @ |
|
119 |
+am__v_at_1 = |
|
120 |
+DEFAULT_INCLUDES = -I.@am__isrc@ |
|
121 |
+depcomp = $(SHELL) $(top_srcdir)/depcomp |
|
122 |
+am__depfiles_maybe = depfiles |
|
123 |
+am__mv = mv -f |
|
124 |
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
|
125 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
126 |
+AM_V_CC = $(am__v_CC_@AM_V@) |
|
127 |
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) |
|
128 |
+am__v_CC_0 = @echo " CC " $@; |
|
129 |
+am__v_CC_1 = |
|
130 |
+CCLD = $(CC) |
|
131 |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
|
132 |
+AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
|
133 |
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
|
134 |
+am__v_CCLD_0 = @echo " CCLD " $@; |
|
135 |
+am__v_CCLD_1 = |
|
136 |
+SOURCES = $(hello_SOURCES) |
|
137 |
+DIST_SOURCES = $(hello_SOURCES) |
|
138 |
+am__can_run_installinfo = \ |
|
139 |
+ case $$AM_UPDATE_INFO_DIR in \ |
|
140 |
+ n|no|NO) false;; \ |
|
141 |
+ *) (install-info --version) >/dev/null 2>&1;; \ |
|
142 |
+ esac |
|
143 |
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
|
144 |
+ $(LISP)config.h.in |
|
145 |
+# Read a list of newline-separated strings from the standard input, |
|
146 |
+# and print each of them once, without duplicates. Input order is |
|
147 |
+# *not* preserved. |
|
148 |
+am__uniquify_input = $(AWK) '\ |
|
149 |
+ BEGIN { nonempty = 0; } \ |
|
150 |
+ { items[$$0] = 1; nonempty = 1; } \ |
|
151 |
+ END { if (nonempty) { for (i in items) print i; }; } \ |
|
152 |
+' |
|
153 |
+# Make sure the list of sources is unique. This is necessary because, |
|
154 |
+# e.g., the same source file might be shared among _SOURCES variables |
|
155 |
+# for different programs/libraries. |
|
156 |
+am__define_uniq_tagged_files = \ |
|
157 |
+ list='$(am__tagged_files)'; \ |
|
158 |
+ unique=`for i in $$list; do \ |
|
159 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
160 |
+ done | $(am__uniquify_input)` |
|
161 |
+ETAGS = etags |
|
162 |
+CTAGS = ctags |
|
163 |
+CSCOPE = cscope |
|
164 |
+AM_RECURSIVE_TARGETS = cscope |
|
165 |
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ |
|
166 |
+ COPYING ChangeLog INSTALL NEWS README compile depcomp \ |
|
167 |
+ install-sh missing |
|
168 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
169 |
+distdir = $(PACKAGE)-$(VERSION) |
|
170 |
+top_distdir = $(distdir) |
|
171 |
+am__remove_distdir = \ |
|
172 |
+ if test -d "$(distdir)"; then \ |
|
173 |
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
|
174 |
+ && rm -rf "$(distdir)" \ |
|
175 |
+ || { sleep 5 && rm -rf "$(distdir)"; }; \ |
|
176 |
+ else :; fi |
|
177 |
+am__post_remove_distdir = $(am__remove_distdir) |
|
178 |
+DIST_ARCHIVES = $(distdir).tar.gz |
|
179 |
+GZIP_ENV = --best |
|
180 |
+DIST_TARGETS = dist-gzip |
|
181 |
+distuninstallcheck_listfiles = find . -type f -print |
|
182 |
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
|
183 |
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
|
184 |
+distcleancheck_listfiles = find . -type f -print |
|
185 |
+ACLOCAL = @ACLOCAL@ |
|
186 |
+AMTAR = @AMTAR@ |
|
187 |
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
|
188 |
+AUTOCONF = @AUTOCONF@ |
|
189 |
+AUTOHEADER = @AUTOHEADER@ |
|
190 |
+AUTOMAKE = @AUTOMAKE@ |
|
191 |
+AWK = @AWK@ |
|
192 |
+CC = @CC@ |
|
193 |
+CCDEPMODE = @CCDEPMODE@ |
|
194 |
+CFLAGS = @CFLAGS@ |
|
195 |
+CPP = @CPP@ |
|
196 |
+CPPFLAGS = @CPPFLAGS@ |
|
197 |
+CYGPATH_W = @CYGPATH_W@ |
|
198 |
+DEFS = @DEFS@ |
|
199 |
+DEPDIR = @DEPDIR@ |
|
200 |
+ECHO_C = @ECHO_C@ |
|
201 |
+ECHO_N = @ECHO_N@ |
|
202 |
+ECHO_T = @ECHO_T@ |
|
203 |
+EGREP = @EGREP@ |
|
204 |
+EXEEXT = @EXEEXT@ |
|
205 |
+GREP = @GREP@ |
|
206 |
+INSTALL = @INSTALL@ |
|
207 |
+INSTALL_DATA = @INSTALL_DATA@ |
|
208 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
209 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|
210 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
|
211 |
+LDFLAGS = @LDFLAGS@ |
|
212 |
+LIBOBJS = @LIBOBJS@ |
|
213 |
+LIBS = @LIBS@ |
|
214 |
+LTLIBOBJS = @LTLIBOBJS@ |
|
215 |
+MAKEINFO = @MAKEINFO@ |
|
216 |
+MKDIR_P = @MKDIR_P@ |
|
217 |
+OBJEXT = @OBJEXT@ |
|
218 |
+PACKAGE = @PACKAGE@ |
|
219 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
|
220 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
|
221 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
|
222 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
|
223 |
+PACKAGE_URL = @PACKAGE_URL@ |
|
224 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
|
225 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
|
226 |
+SET_MAKE = @SET_MAKE@ |
|
227 |
+SHELL = @SHELL@ |
|
228 |
+STRIP = @STRIP@ |
|
229 |
+VERSION = @VERSION@ |
|
230 |
+abs_builddir = @abs_builddir@ |
|
231 |
+abs_srcdir = @abs_srcdir@ |
|
232 |
+abs_top_builddir = @abs_top_builddir@ |
|
233 |
+abs_top_srcdir = @abs_top_srcdir@ |
|
234 |
+ac_ct_CC = @ac_ct_CC@ |
|
235 |
+am__include = @am__include@ |
|
236 |
+am__leading_dot = @am__leading_dot@ |
|
237 |
+am__quote = @am__quote@ |
|
238 |
+am__tar = @am__tar@ |
|
239 |
+am__untar = @am__untar@ |
|
240 |
+bindir = @bindir@ |
|
241 |
+build_alias = @build_alias@ |
|
242 |
+builddir = @builddir@ |
|
243 |
+datadir = @datadir@ |
|
244 |
+datarootdir = @datarootdir@ |
|
245 |
+docdir = @docdir@ |
|
246 |
+dvidir = @dvidir@ |
|
247 |
+exec_prefix = @exec_prefix@ |
|
248 |
+host_alias = @host_alias@ |
|
249 |
+htmldir = @htmldir@ |
|
250 |
+includedir = @includedir@ |
|
251 |
+infodir = @infodir@ |
|
252 |
+install_sh = @install_sh@ |
|
253 |
+libdir = @libdir@ |
|
254 |
+libexecdir = @libexecdir@ |
|
255 |
+localedir = @localedir@ |
|
256 |
+localstatedir = @localstatedir@ |
|
257 |
+mandir = @mandir@ |
|
258 |
+mkdir_p = @mkdir_p@ |
|
259 |
+oldincludedir = @oldincludedir@ |
|
260 |
+pdfdir = @pdfdir@ |
|
261 |
+prefix = @prefix@ |
|
262 |
+program_transform_name = @program_transform_name@ |
|
263 |
+psdir = @psdir@ |
|
264 |
+sbindir = @sbindir@ |
|
265 |
+sharedstatedir = @sharedstatedir@ |
|
266 |
+srcdir = @srcdir@ |
|
267 |
+sysconfdir = @sysconfdir@ |
|
268 |
+target_alias = @target_alias@ |
|
269 |
+top_build_prefix = @top_build_prefix@ |
|
270 |
+top_builddir = @top_builddir@ |
|
271 |
+top_srcdir = @top_srcdir@ |
|
272 |
+hello_SOURCES = hello.c |
|
273 |
+all: config.h |
|
274 |
+ $(MAKE) $(AM_MAKEFLAGS) all-am |
|
275 |
+ |
|
276 |
+.SUFFIXES: |
|
277 |
+.SUFFIXES: .c .o .obj |
|
278 |
+am--refresh: Makefile |
|
279 |
+ @: |
|
280 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
|
281 |
+ @for dep in $?; do \ |
|
282 |
+ case '$(am__configure_deps)' in \ |
|
283 |
+ *$$dep*) \ |
|
284 |
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
|
285 |
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
|
286 |
+ && exit 0; \ |
|
287 |
+ exit 1;; \ |
|
288 |
+ esac; \ |
|
289 |
+ done; \ |
|
290 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
|
291 |
+ $(am__cd) $(top_srcdir) && \ |
|
292 |
+ $(AUTOMAKE) --gnu Makefile |
|
293 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
294 |
+ @case '$?' in \ |
|
295 |
+ *config.status*) \ |
|
296 |
+ echo ' $(SHELL) ./config.status'; \ |
|
297 |
+ $(SHELL) ./config.status;; \ |
|
298 |
+ *) \ |
|
299 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
|
300 |
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
|
301 |
+ esac; |
|
302 |
+ |
|
303 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
|
304 |
+ $(SHELL) ./config.status --recheck |
|
305 |
+ |
|
306 |
+$(top_srcdir)/configure: $(am__configure_deps) |
|
307 |
+ $(am__cd) $(srcdir) && $(AUTOCONF) |
|
308 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
|
309 |
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
|
310 |
+$(am__aclocal_m4_deps): |
|
311 |
+ |
|
312 |
+config.h: stamp-h1 |
|
313 |
+ @test -f $@ || rm -f stamp-h1 |
|
314 |
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
|
315 |
+ |
|
316 |
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
|
317 |
+ @rm -f stamp-h1 |
|
318 |
+ cd $(top_builddir) && $(SHELL) ./config.status config.h |
|
319 |
+$(srcdir)/config.h.in: $(am__configure_deps) |
|
320 |
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
|
321 |
+ rm -f stamp-h1 |
|
322 |
+ touch $@ |
|
323 |
+ |
|
324 |
+distclean-hdr: |
|
325 |
+ -rm -f config.h stamp-h1 |
|
326 |
+install-binPROGRAMS: $(bin_PROGRAMS) |
|
327 |
+ @$(NORMAL_INSTALL) |
|
328 |
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
329 |
+ if test -n "$$list"; then \ |
|
330 |
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ |
|
331 |
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ |
|
332 |
+ fi; \ |
|
333 |
+ for p in $$list; do echo "$$p $$p"; done | \ |
|
334 |
+ sed 's/$(EXEEXT)$$//' | \ |
|
335 |
+ while read p p1; do if test -f $$p \ |
|
336 |
+ ; then echo "$$p"; echo "$$p"; else :; fi; \ |
|
337 |
+ done | \ |
|
338 |
+ sed -e 'p;s,.*/,,;n;h' \ |
|
339 |
+ -e 's|.*|.|' \ |
|
340 |
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
|
341 |
+ sed 'N;N;N;s,\n, ,g' | \ |
|
342 |
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
|
343 |
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
|
344 |
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ |
|
345 |
+ else { print "f", $$3 "/" $$4, $$1; } } \ |
|
346 |
+ END { for (d in files) print "f", d, files[d] }' | \ |
|
347 |
+ while read type dir files; do \ |
|
348 |
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
|
349 |
+ test -z "$$files" || { \ |
|
350 |
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ |
|
351 |
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ |
|
352 |
+ } \ |
|
353 |
+ ; done |
|
354 |
+ |
|
355 |
+uninstall-binPROGRAMS: |
|
356 |
+ @$(NORMAL_UNINSTALL) |
|
357 |
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
358 |
+ files=`for p in $$list; do echo "$$p"; done | \ |
|
359 |
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
|
360 |
+ -e 's/$$/$(EXEEXT)/' \ |
|
361 |
+ `; \ |
|
362 |
+ test -n "$$list" || exit 0; \ |
|
363 |
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
|
364 |
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files |
|
365 |
+ |
|
366 |
+clean-binPROGRAMS: |
|
367 |
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
|
368 |
+ |
|
369 |
+hello$(EXEEXT): $(hello_OBJECTS) $(hello_DEPENDENCIES) $(EXTRA_hello_DEPENDENCIES) |
|
370 |
+ @rm -f hello$(EXEEXT) |
|
371 |
+ $(AM_V_CCLD)$(LINK) $(hello_OBJECTS) $(hello_LDADD) $(LIBS) |
|
372 |
+ |
|
373 |
+mostlyclean-compile: |
|
374 |
+ -rm -f *.$(OBJEXT) |
|
375 |
+ |
|
376 |
+distclean-compile: |
|
377 |
+ -rm -f *.tab.c |
|
378 |
+ |
|
379 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello.Po@am__quote@ |
|
380 |
+ |
|
381 |
+.c.o: |
|
382 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
|
383 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
|
384 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
|
385 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
|
386 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
|
387 |
+ |
|
388 |
+.c.obj: |
|
389 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
|
390 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
|
391 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
|
392 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
|
393 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
|
394 |
+ |
|
395 |
+ID: $(am__tagged_files) |
|
396 |
+ $(am__define_uniq_tagged_files); mkid -fID $$unique |
|
397 |
+tags: tags-am |
|
398 |
+TAGS: tags |
|
399 |
+ |
|
400 |
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
|
401 |
+ set x; \ |
|
402 |
+ here=`pwd`; \ |
|
403 |
+ $(am__define_uniq_tagged_files); \ |
|
404 |
+ shift; \ |
|
405 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
|
406 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
|
407 |
+ if test $$# -gt 0; then \ |
|
408 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
409 |
+ "$$@" $$unique; \ |
|
410 |
+ else \ |
|
411 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
412 |
+ $$unique; \ |
|
413 |
+ fi; \ |
|
414 |
+ fi |
|
415 |
+ctags: ctags-am |
|
416 |
+ |
|
417 |
+CTAGS: ctags |
|
418 |
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
|
419 |
+ $(am__define_uniq_tagged_files); \ |
|
420 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
|
421 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
|
422 |
+ $$unique |
|
423 |
+ |
|
424 |
+GTAGS: |
|
425 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
|
426 |
+ && $(am__cd) $(top_srcdir) \ |
|
427 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
|
428 |
+cscope: cscope.files |
|
429 |
+ test ! -s cscope.files \ |
|
430 |
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
|
431 |
+clean-cscope: |
|
432 |
+ -rm -f cscope.files |
|
433 |
+cscope.files: clean-cscope cscopelist |
|
434 |
+cscopelist: cscopelist-am |
|
435 |
+ |
|
436 |
+cscopelist-am: $(am__tagged_files) |
|
437 |
+ list='$(am__tagged_files)'; \ |
|
438 |
+ case "$(srcdir)" in \ |
|
439 |
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
|
440 |
+ *) sdir=$(subdir)/$(srcdir) ;; \ |
|
441 |
+ esac; \ |
|
442 |
+ for i in $$list; do \ |
|
443 |
+ if test -f "$$i"; then \ |
|
444 |
+ echo "$(subdir)/$$i"; \ |
|
445 |
+ else \ |
|
446 |
+ echo "$$sdir/$$i"; \ |
|
447 |
+ fi; \ |
|
448 |
+ done >> $(top_builddir)/cscope.files |
|
449 |
+ |
|
450 |
+distclean-tags: |
|
451 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
|
452 |
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
|
453 |
+ |
|
454 |
+distdir: $(DISTFILES) |
|
455 |
+ $(am__remove_distdir) |
|
456 |
+ test -d "$(distdir)" || mkdir "$(distdir)" |
|
457 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
458 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
459 |
+ list='$(DISTFILES)'; \ |
|
460 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
|
461 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
|
462 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
|
463 |
+ case $$dist_files in \ |
|
464 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
|
465 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
|
466 |
+ sort -u` ;; \ |
|
467 |
+ esac; \ |
|
468 |
+ for file in $$dist_files; do \ |
|
469 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
|
470 |
+ if test -d $$d/$$file; then \ |
|
471 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|
472 |
+ if test -d "$(distdir)/$$file"; then \ |
|
473 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
474 |
+ fi; \ |
|
475 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
|
476 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
|
477 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
478 |
+ fi; \ |
|
479 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
|
480 |
+ else \ |
|
481 |
+ test -f "$(distdir)/$$file" \ |
|
482 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
|
483 |
+ || exit 1; \ |
|
484 |
+ fi; \ |
|
485 |
+ done |
|
486 |
+ -test -n "$(am__skip_mode_fix)" \ |
|
487 |
+ || find "$(distdir)" -type d ! -perm -755 \ |
|
488 |
+ -exec chmod u+rwx,go+rx {} \; -o \ |
|
489 |
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|
490 |
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|
491 |
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
|
492 |
+ || chmod -R a+r "$(distdir)" |
|
493 |
+dist-gzip: distdir |
|
494 |
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
|
495 |
+ $(am__post_remove_distdir) |
|
496 |
+ |
|
497 |
+dist-bzip2: distdir |
|
498 |
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
|
499 |
+ $(am__post_remove_distdir) |
|
500 |
+ |
|
501 |
+dist-lzip: distdir |
|
502 |
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
|
503 |
+ $(am__post_remove_distdir) |
|
504 |
+ |
|
505 |
+dist-xz: distdir |
|
506 |
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
|
507 |
+ $(am__post_remove_distdir) |
|
508 |
+ |
|
509 |
+dist-tarZ: distdir |
|
510 |
+ @echo WARNING: "Support for distribution archives compressed with" \ |
|
511 |
+ "legacy program 'compress' is deprecated." >&2 |
|
512 |
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
|
513 |
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
|
514 |
+ $(am__post_remove_distdir) |
|
515 |
+ |
|
516 |
+dist-shar: distdir |
|
517 |
+ @echo WARNING: "Support for shar distribution archives is" \ |
|
518 |
+ "deprecated." >&2 |
|
519 |
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
|
520 |
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
|
521 |
+ $(am__post_remove_distdir) |
|
522 |
+ |
|
523 |
+dist-zip: distdir |
|
524 |
+ -rm -f $(distdir).zip |
|
525 |
+ zip -rq $(distdir).zip $(distdir) |
|
526 |
+ $(am__post_remove_distdir) |
|
527 |
+ |
|
528 |
+dist dist-all: |
|
529 |
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
|
530 |
+ $(am__post_remove_distdir) |
|
531 |
+ |
|
532 |
+# This target untars the dist file and tries a VPATH configuration. Then |
|
533 |
+# it guarantees that the distribution is self-contained by making another |
|
534 |
+# tarfile. |
|
535 |
+distcheck: dist |
|
536 |
+ case '$(DIST_ARCHIVES)' in \ |
|
537 |
+ *.tar.gz*) \ |
|
538 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
|
539 |
+ *.tar.bz2*) \ |
|
540 |
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
|
541 |
+ *.tar.lz*) \ |
|
542 |
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
|
543 |
+ *.tar.xz*) \ |
|
544 |
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
|
545 |
+ *.tar.Z*) \ |
|
546 |
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
|
547 |
+ *.shar.gz*) \ |
|
548 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
|
549 |
+ *.zip*) \ |
|
550 |
+ unzip $(distdir).zip ;;\ |
|
551 |
+ esac |
|
552 |
+ chmod -R a-w $(distdir) |
|
553 |
+ chmod u+w $(distdir) |
|
554 |
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst |
|
555 |
+ chmod a-w $(distdir) |
|
556 |
+ test -d $(distdir)/_build || exit 0; \ |
|
557 |
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
|
558 |
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
|
559 |
+ && am__cwd=`pwd` \ |
|
560 |
+ && $(am__cd) $(distdir)/_build/sub \ |
|
561 |
+ && ../../configure \ |
|
562 |
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
|
563 |
+ $(DISTCHECK_CONFIGURE_FLAGS) \ |
|
564 |
+ --srcdir=../.. --prefix="$$dc_install_base" \ |
|
565 |
+ && $(MAKE) $(AM_MAKEFLAGS) \ |
|
566 |
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
|
567 |
+ && $(MAKE) $(AM_MAKEFLAGS) check \ |
|
568 |
+ && $(MAKE) $(AM_MAKEFLAGS) install \ |
|
569 |
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
|
570 |
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
|
571 |
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
|
572 |
+ distuninstallcheck \ |
|
573 |
+ && chmod -R a-w "$$dc_install_base" \ |
|
574 |
+ && ({ \ |
|
575 |
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
|
576 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
|
577 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
|
578 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
|
579 |
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
|
580 |
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
|
581 |
+ && rm -rf "$$dc_destdir" \ |
|
582 |
+ && $(MAKE) $(AM_MAKEFLAGS) dist \ |
|
583 |
+ && rm -rf $(DIST_ARCHIVES) \ |
|
584 |
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
|
585 |
+ && cd "$$am__cwd" \ |
|
586 |
+ || exit 1 |
|
587 |
+ $(am__post_remove_distdir) |
|
588 |
+ @(echo "$(distdir) archives ready for distribution: "; \ |
|
589 |
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
|
590 |
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
|
591 |
+distuninstallcheck: |
|
592 |
+ @test -n '$(distuninstallcheck_dir)' || { \ |
|
593 |
+ echo 'ERROR: trying to run $@ with an empty' \ |
|
594 |
+ '$$(distuninstallcheck_dir)' >&2; \ |
|
595 |
+ exit 1; \ |
|
596 |
+ }; \ |
|
597 |
+ $(am__cd) '$(distuninstallcheck_dir)' || { \ |
|
598 |
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
|
599 |
+ exit 1; \ |
|
600 |
+ }; \ |
|
601 |
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
|
602 |
+ || { echo "ERROR: files left after uninstall:" ; \ |
|
603 |
+ if test -n "$(DESTDIR)"; then \ |
|
604 |
+ echo " (check DESTDIR support)"; \ |
|
605 |
+ fi ; \ |
|
606 |
+ $(distuninstallcheck_listfiles) ; \ |
|
607 |
+ exit 1; } >&2 |
|
608 |
+distcleancheck: distclean |
|
609 |
+ @if test '$(srcdir)' = . ; then \ |
|
610 |
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
|
611 |
+ exit 1 ; \ |
|
612 |
+ fi |
|
613 |
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
|
614 |
+ || { echo "ERROR: files left in build directory after distclean:" ; \ |
|
615 |
+ $(distcleancheck_listfiles) ; \ |
|
616 |
+ exit 1; } >&2 |
|
617 |
+check-am: all-am |
|
618 |
+check: check-am |
|
619 |
+all-am: Makefile $(PROGRAMS) config.h |
|
620 |
+installdirs: |
|
621 |
+ for dir in "$(DESTDIR)$(bindir)"; do \ |
|
622 |
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
|
623 |
+ done |
|
624 |
+install: install-am |
|
625 |
+install-exec: install-exec-am |
|
626 |
+install-data: install-data-am |
|
627 |
+uninstall: uninstall-am |
|
628 |
+ |
|
629 |
+install-am: all-am |
|
630 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
631 |
+ |
|
632 |
+installcheck: installcheck-am |
|
633 |
+install-strip: |
|
634 |
+ if test -z '$(STRIP)'; then \ |
|
635 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
636 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
|
637 |
+ install; \ |
|
638 |
+ else \ |
|
639 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
640 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
|
641 |
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
|
642 |
+ fi |
|
643 |
+mostlyclean-generic: |
|
644 |
+ |
|
645 |
+clean-generic: |
|
646 |
+ |
|
647 |
+distclean-generic: |
|
648 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
|
649 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
|
650 |
+ |
|
651 |
+maintainer-clean-generic: |
|
652 |
+ @echo "This command is intended for maintainers to use" |
|
653 |
+ @echo "it deletes files that may require special tools to rebuild." |
|
654 |
+clean: clean-am |
|
655 |
+ |
|
656 |
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
|
657 |
+ |
|
658 |
+distclean: distclean-am |
|
659 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
660 |
+ -rm -rf ./$(DEPDIR) |
|
661 |
+ -rm -f Makefile |
|
662 |
+distclean-am: clean-am distclean-compile distclean-generic \ |
|
663 |
+ distclean-hdr distclean-tags |
|
664 |
+ |
|
665 |
+dvi: dvi-am |
|
666 |
+ |
|
667 |
+dvi-am: |
|
668 |
+ |
|
669 |
+html: html-am |
|
670 |
+ |
|
671 |
+html-am: |
|
672 |
+ |
|
673 |
+info: info-am |
|
674 |
+ |
|
675 |
+info-am: |
|
676 |
+ |
|
677 |
+install-data-am: |
|
678 |
+ |
|
679 |
+install-dvi: install-dvi-am |
|
680 |
+ |
|
681 |
+install-dvi-am: |
|
682 |
+ |
|
683 |
+install-exec-am: install-binPROGRAMS |
|
684 |
+ |
|
685 |
+install-html: install-html-am |
|
686 |
+ |
|
687 |
+install-html-am: |
|
688 |
+ |
|
689 |
+install-info: install-info-am |
|
690 |
+ |
|
691 |
+install-info-am: |
|
692 |
+ |
|
693 |
+install-man: |
|
694 |
+ |
|
695 |
+install-pdf: install-pdf-am |
|
696 |
+ |
|
697 |
+install-pdf-am: |
|
698 |
+ |
|
699 |
+install-ps: install-ps-am |
|
700 |
+ |
|
701 |
+install-ps-am: |
|
702 |
+ |
|
703 |
+installcheck-am: |
|
704 |
+ |
|
705 |
+maintainer-clean: maintainer-clean-am |
|
706 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
707 |
+ -rm -rf $(top_srcdir)/autom4te.cache |
|
708 |
+ -rm -rf ./$(DEPDIR) |
|
709 |
+ -rm -f Makefile |
|
710 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
|
711 |
+ |
|
712 |
+mostlyclean: mostlyclean-am |
|
713 |
+ |
|
714 |
+mostlyclean-am: mostlyclean-compile mostlyclean-generic |
|
715 |
+ |
|
716 |
+pdf: pdf-am |
|
717 |
+ |
|
718 |
+pdf-am: |
|
719 |
+ |
|
720 |
+ps: ps-am |
|
721 |
+ |
|
722 |
+ps-am: |
|
723 |
+ |
|
724 |
+uninstall-am: uninstall-binPROGRAMS |
|
725 |
+ |
|
726 |
+.MAKE: all install-am install-strip |
|
727 |
+ |
|
728 |
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ |
|
729 |
+ clean-binPROGRAMS clean-cscope clean-generic cscope \ |
|
730 |
+ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ |
|
731 |
+ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ |
|
732 |
+ distcheck distclean distclean-compile distclean-generic \ |
|
733 |
+ distclean-hdr distclean-tags distcleancheck distdir \ |
|
734 |
+ distuninstallcheck dvi dvi-am html html-am info info-am \ |
|
735 |
+ install install-am install-binPROGRAMS install-data \ |
|
736 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
|
737 |
+ install-exec-am install-html install-html-am install-info \ |
|
738 |
+ install-info-am install-man install-pdf install-pdf-am \ |
|
739 |
+ install-ps install-ps-am install-strip installcheck \ |
|
740 |
+ installcheck-am installdirs maintainer-clean \ |
|
741 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
|
742 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ |
|
743 |
+ uninstall-am uninstall-binPROGRAMS |
|
744 |
+ |
|
745 |
+.PRECIOUS: Makefile |
|
746 |
+ |
|
747 |
+ |
|
748 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
749 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
|
750 |
+.NOEXPORT: |
2 | 753 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,1152 @@ |
1 |
+# generated automatically by aclocal 1.15 -*- Autoconf -*- |
|
2 |
+ |
|
3 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
4 |
+ |
|
5 |
+# This file is free software; the Free Software Foundation |
|
6 |
+# gives unlimited permission to copy and/or distribute it, |
|
7 |
+# with or without modifications, as long as this notice is preserved. |
|
8 |
+ |
|
9 |
+# This program is distributed in the hope that it will be useful, |
|
10 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
11 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
12 |
+# PARTICULAR PURPOSE. |
|
13 |
+ |
|
14 |
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
|
15 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
|
16 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
17 |
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
|
18 |
+[m4_warning([this file was generated for autoconf 2.69. |
|
19 |
+You have another version of autoconf. It may work, but is not guaranteed to. |
|
20 |
+If you have problems, you may need to regenerate the build system entirely. |
|
21 |
+To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
|
22 |
+ |
|
23 |
+# Copyright (C) 2002-2014 Free Software Foundation, Inc. |
|
24 |
+# |
|
25 |
+# This file is free software; the Free Software Foundation |
|
26 |
+# gives unlimited permission to copy and/or distribute it, |
|
27 |
+# with or without modifications, as long as this notice is preserved. |
|
28 |
+ |
|
29 |
+# AM_AUTOMAKE_VERSION(VERSION) |
|
30 |
+# ---------------------------- |
|
31 |
+# Automake X.Y traces this macro to ensure aclocal.m4 has been |
|
32 |
+# generated from the m4 files accompanying Automake X.Y. |
|
33 |
+# (This private macro should not be called outside this file.) |
|
34 |
+AC_DEFUN([AM_AUTOMAKE_VERSION], |
|
35 |
+[am__api_version='1.15' |
|
36 |
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
|
37 |
+dnl require some minimum version. Point them to the right macro. |
|
38 |
+m4_if([$1], [1.15], [], |
|
39 |
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
|
40 |
+]) |
|
41 |
+ |
|
42 |
+# _AM_AUTOCONF_VERSION(VERSION) |
|
43 |
+# ----------------------------- |
|
44 |
+# aclocal traces this macro to find the Autoconf version. |
|
45 |
+# This is a private macro too. Using m4_define simplifies |
|
46 |
+# the logic in aclocal, which can simply ignore this definition. |
|
47 |
+m4_define([_AM_AUTOCONF_VERSION], []) |
|
48 |
+ |
|
49 |
+# AM_SET_CURRENT_AUTOMAKE_VERSION |
|
50 |
+# ------------------------------- |
|
51 |
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
|
52 |
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
|
53 |
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
|
54 |
+[AM_AUTOMAKE_VERSION([1.15])dnl |
|
55 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
|
56 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
57 |
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
|
58 |
+ |
|
59 |
+# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
|
60 |
+ |
|
61 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
62 |
+# |
|
63 |
+# This file is free software; the Free Software Foundation |
|
64 |
+# gives unlimited permission to copy and/or distribute it, |
|
65 |
+# with or without modifications, as long as this notice is preserved. |
|
66 |
+ |
|
67 |
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
|
68 |
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
|
69 |
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
|
70 |
+# |
|
71 |
+# Of course, Automake must honor this variable whenever it calls a |
|
72 |
+# tool from the auxiliary directory. The problem is that $srcdir (and |
|
73 |
+# therefore $ac_aux_dir as well) can be either absolute or relative, |
|
74 |
+# depending on how configure is run. This is pretty annoying, since |
|
75 |
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
|
76 |
+# source directory, any form will work fine, but in subdirectories a |
|
77 |
+# relative path needs to be adjusted first. |
|
78 |
+# |
|
79 |
+# $ac_aux_dir/missing |
|
80 |
+# fails when called from a subdirectory if $ac_aux_dir is relative |
|
81 |
+# $top_srcdir/$ac_aux_dir/missing |
|
82 |
+# fails if $ac_aux_dir is absolute, |
|
83 |
+# fails when called from a subdirectory in a VPATH build with |
|
84 |
+# a relative $ac_aux_dir |
|
85 |
+# |
|
86 |
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
|
87 |
+# are both prefixed by $srcdir. In an in-source build this is usually |
|
88 |
+# harmless because $srcdir is '.', but things will broke when you |
|
89 |
+# start a VPATH build or use an absolute $srcdir. |
|
90 |
+# |
|
91 |
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
|
92 |
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
|
93 |
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
|
94 |
+# and then we would define $MISSING as |
|
95 |
+# MISSING="\${SHELL} $am_aux_dir/missing" |
|
96 |
+# This will work as long as MISSING is not called from configure, because |
|
97 |
+# unfortunately $(top_srcdir) has no meaning in configure. |
|
98 |
+# However there are other variables, like CC, which are often used in |
|
99 |
+# configure, and could therefore not use this "fixed" $ac_aux_dir. |
|
100 |
+# |
|
101 |
+# Another solution, used here, is to always expand $ac_aux_dir to an |
|
102 |
+# absolute PATH. The drawback is that using absolute paths prevent a |
|
103 |
+# configured tree to be moved without reconfiguration. |
|
104 |
+ |
|
105 |
+AC_DEFUN([AM_AUX_DIR_EXPAND], |
|
106 |
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
|
107 |
+# Expand $ac_aux_dir to an absolute path. |
|
108 |
+am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
109 |
+]) |
|
110 |
+ |
|
111 |
+# AM_CONDITIONAL -*- Autoconf -*- |
|
112 |
+ |
|
113 |
+# Copyright (C) 1997-2014 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 |
+# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
|
120 |
+# ------------------------------------- |
|
121 |
+# Define a conditional. |
|
122 |
+AC_DEFUN([AM_CONDITIONAL], |
|
123 |
+[AC_PREREQ([2.52])dnl |
|
124 |
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
|
125 |
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
|
126 |
+AC_SUBST([$1_TRUE])dnl |
|
127 |
+AC_SUBST([$1_FALSE])dnl |
|
128 |
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
|
129 |
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
|
130 |
+m4_define([_AM_COND_VALUE_$1], [$2])dnl |
|
131 |
+if $2; then |
|
132 |
+ $1_TRUE= |
|
133 |
+ $1_FALSE='#' |
|
134 |
+else |
|
135 |
+ $1_TRUE='#' |
|
136 |
+ $1_FALSE= |
|
137 |
+fi |
|
138 |
+AC_CONFIG_COMMANDS_PRE( |
|
139 |
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
|
140 |
+ AC_MSG_ERROR([[conditional "$1" was never defined. |
|
141 |
+Usually this means the macro was only invoked conditionally.]]) |
|
142 |
+fi])]) |
|
143 |
+ |
|
144 |
+# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
|
145 |
+# |
|
146 |
+# This file is free software; the Free Software Foundation |
|
147 |
+# gives unlimited permission to copy and/or distribute it, |
|
148 |
+# with or without modifications, as long as this notice is preserved. |
|
149 |
+ |
|
150 |
+ |
|
151 |
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
|
152 |
+# written in clear, in which case automake, when reading aclocal.m4, |
|
153 |
+# will think it sees a *use*, and therefore will trigger all it's |
|
154 |
+# C support machinery. Also note that it means that autoscan, seeing |
|
155 |
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
|
156 |
+ |
|
157 |
+ |
|
158 |
+# _AM_DEPENDENCIES(NAME) |
|
159 |
+# ---------------------- |
|
160 |
+# See how the compiler implements dependency checking. |
|
161 |
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
|
162 |
+# We try a few techniques and use that to set a single cache variable. |
|
163 |
+# |
|
164 |
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
|
165 |
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
|
166 |
+# dependency, and given that the user is not expected to run this macro, |
|
167 |
+# just rely on AC_PROG_CC. |
|
168 |
+AC_DEFUN([_AM_DEPENDENCIES], |
|
169 |
+[AC_REQUIRE([AM_SET_DEPDIR])dnl |
|
170 |
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
|
171 |
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
|
172 |
+AC_REQUIRE([AM_DEP_TRACK])dnl |
|
173 |
+ |
|
174 |
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
|
175 |
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
|
176 |
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
|
177 |
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
|
178 |
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
|
179 |
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
|
180 |
+ [depcc="$$1" am_compiler_list=]) |
|
181 |
+ |
|
182 |
+AC_CACHE_CHECK([dependency style of $depcc], |
|
183 |
+ [am_cv_$1_dependencies_compiler_type], |
|
184 |
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
185 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
|
186 |
+ # making bogus files that we don't know about and never remove. For |
|
187 |
+ # instance it was reported that on HP-UX the gcc test will end up |
|
188 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
|
189 |
+ # in D". |
|
190 |
+ rm -rf conftest.dir |
|
191 |
+ mkdir conftest.dir |
|
192 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
|
193 |
+ # using a relative directory. |
|
194 |
+ cp "$am_depcomp" conftest.dir |
|
195 |
+ cd conftest.dir |
|
196 |
+ # We will build objects and dependencies in a subdirectory because |
|
197 |
+ # it helps to detect inapplicable dependency modes. For instance |
|
198 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
|
199 |
+ # side effect of compilation, but ICC will put the dependencies in |
|
200 |
+ # the current directory while Tru64 will put them in the object |
|
201 |
+ # directory. |
|
202 |
+ mkdir sub |
|
203 |
+ |
|
204 |
+ am_cv_$1_dependencies_compiler_type=none |
|
205 |
+ if test "$am_compiler_list" = ""; then |
|
206 |
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
|
207 |
+ fi |
|
208 |
+ am__universal=false |
|
209 |
+ m4_case([$1], [CC], |
|
210 |
+ [case " $depcc " in #( |
|
211 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
212 |
+ esac], |
|
213 |
+ [CXX], |
|
214 |
+ [case " $depcc " in #( |
|
215 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
216 |
+ esac]) |
|
217 |
+ |
|
218 |
+ for depmode in $am_compiler_list; do |
|
219 |
+ # Setup a source with many dependencies, because some compilers |
|
220 |
+ # like to wrap large dependency lists on column 80 (with \), and |
|
221 |
+ # we should not choose a depcomp mode which is confused by this. |
|
222 |
+ # |
|
223 |
+ # We need to recreate these files for each test, as the compiler may |
|
224 |
+ # overwrite some of them when testing with obscure command lines. |
|
225 |
+ # This happens at least with the AIX C compiler. |
|
226 |
+ : > sub/conftest.c |
|
227 |
+ for i in 1 2 3 4 5 6; do |
|
228 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
229 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
230 |
+ # Solaris 10 /bin/sh. |
|
231 |
+ echo '/* dummy */' > sub/conftst$i.h |
|
232 |
+ done |
|
233 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
234 |
+ |
|
235 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
236 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
|
237 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
|
238 |
+ # versions had trouble with output in subdirs. |
|
239 |
+ am__obj=sub/conftest.${OBJEXT-o} |
|
240 |
+ am__minus_obj="-o $am__obj" |
|
241 |
+ case $depmode in |
|
242 |
+ gcc) |
|
243 |
+ # This depmode causes a compiler race in universal mode. |
|
244 |
+ test "$am__universal" = false || continue |
|
245 |
+ ;; |
|
246 |
+ nosideeffect) |
|
247 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
|
248 |
+ # only be used when explicitly requested. |
|
249 |
+ if test "x$enable_dependency_tracking" = xyes; then |
|
250 |
+ continue |
|
251 |
+ else |
|
252 |
+ break |
|
253 |
+ fi |
|
254 |
+ ;; |
|
255 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
256 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
|
257 |
+ # not run yet. These depmodes are late enough in the game, and |
|
258 |
+ # so weak that their functioning should not be impacted. |
|
259 |
+ am__obj=conftest.${OBJEXT-o} |
|
260 |
+ am__minus_obj= |
|
261 |
+ ;; |
|
262 |
+ none) break ;; |
|
263 |
+ esac |
|
264 |
+ if depmode=$depmode \ |
|
265 |
+ source=sub/conftest.c object=$am__obj \ |
|
266 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
267 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
268 |
+ >/dev/null 2>conftest.err && |
|
269 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
270 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
271 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
272 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
273 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
|
274 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
|
275 |
+ # that says an option was ignored or not supported. |
|
276 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
277 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
|
278 |
+ # The diagnosis changed in icc 8.0: |
|
279 |
+ # icc: Command line remark: option '-MP' not supported |
|
280 |
+ if (grep 'ignoring option' conftest.err || |
|
281 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
282 |
+ am_cv_$1_dependencies_compiler_type=$depmode |
|
283 |
+ break |
|
284 |
+ fi |
|
285 |
+ fi |
|
286 |
+ done |
|
287 |
+ |
|
288 |
+ cd .. |
|
289 |
+ rm -rf conftest.dir |
|
290 |
+else |
|
291 |
+ am_cv_$1_dependencies_compiler_type=none |
|
292 |
+fi |
|
293 |
+]) |
|
294 |
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
|
295 |
+AM_CONDITIONAL([am__fastdep$1], [ |
|
296 |
+ test "x$enable_dependency_tracking" != xno \ |
|
297 |
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
|
298 |
+]) |
|
299 |
+ |
|
300 |
+ |
|
301 |
+# AM_SET_DEPDIR |
|
302 |
+# ------------- |
|
303 |
+# Choose a directory name for dependency files. |
|
304 |
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
|
305 |
+AC_DEFUN([AM_SET_DEPDIR], |
|
306 |
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
|
307 |
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
|
308 |
+]) |
|
309 |
+ |
|
310 |
+ |
|
311 |
+# AM_DEP_TRACK |
|
312 |
+# ------------ |
|
313 |
+AC_DEFUN([AM_DEP_TRACK], |
|
314 |
+[AC_ARG_ENABLE([dependency-tracking], [dnl |
|
315 |
+AS_HELP_STRING( |
|
316 |
+ [--enable-dependency-tracking], |
|
317 |
+ [do not reject slow dependency extractors]) |
|
318 |
+AS_HELP_STRING( |
|
319 |
+ [--disable-dependency-tracking], |
|
320 |
+ [speeds up one-time build])]) |
|
321 |
+if test "x$enable_dependency_tracking" != xno; then |
|
322 |
+ am_depcomp="$ac_aux_dir/depcomp" |
|
323 |
+ AMDEPBACKSLASH='\' |
|
324 |
+ am__nodep='_no' |
|
325 |
+fi |
|
326 |
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
|
327 |
+AC_SUBST([AMDEPBACKSLASH])dnl |
|
328 |
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
|
329 |
+AC_SUBST([am__nodep])dnl |
|
330 |
+_AM_SUBST_NOTMAKE([am__nodep])dnl |
|
331 |
+]) |
|
332 |
+ |
|
333 |
+# Generate code to set up dependency tracking. -*- Autoconf -*- |
|
334 |
+ |
|
335 |
+# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
|
336 |
+# |
|
337 |
+# This file is free software; the Free Software Foundation |
|
338 |
+# gives unlimited permission to copy and/or distribute it, |
|
339 |
+# with or without modifications, as long as this notice is preserved. |
|
340 |
+ |
|
341 |
+ |
|
342 |
+# _AM_OUTPUT_DEPENDENCY_COMMANDS |
|
343 |
+# ------------------------------ |
|
344 |
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
345 |
+[{ |
|
346 |
+ # Older Autoconf quotes --file arguments for eval, but not when files |
|
347 |
+ # are listed without --file. Let's play safe and only enable the eval |
|
348 |
+ # if we detect the quoting. |
|
349 |
+ case $CONFIG_FILES in |
|
350 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
|
351 |
+ *) set x $CONFIG_FILES ;; |
|
352 |
+ esac |
|
353 |
+ shift |
|
354 |
+ for mf |
|
355 |
+ do |
|
356 |
+ # Strip MF so we end up with the name of the file. |
|
357 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
358 |
+ # Check whether this is an Automake generated Makefile or not. |
|
359 |
+ # We used to match only the files named 'Makefile.in', but |
|
360 |
+ # some people rename them; so instead we look at the file content. |
|
361 |
+ # Grep'ing the first line is not enough: some people post-process |
|
362 |
+ # each Makefile.in and add a new line on top of each file to say so. |
|
363 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
|
364 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
|
365 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
366 |
+ dirpart=`AS_DIRNAME("$mf")` |
|
367 |
+ else |
|
368 |
+ continue |
|
369 |
+ fi |
|
370 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
|
371 |
+ # from the Makefile without running 'make'. |
|
372 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
373 |
+ test -z "$DEPDIR" && continue |
|
374 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
375 |
+ test -z "$am__include" && continue |
|
376 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
377 |
+ # Find all dependency output files, they are included files with |
|
378 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
379 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
|
380 |
+ # expansion. |
|
381 |
+ for file in `sed -n " |
|
382 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
383 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
384 |
+ # Make sure the directory exists. |
|
385 |
+ test -f "$dirpart/$file" && continue |
|
386 |
+ fdir=`AS_DIRNAME(["$file"])` |
|
387 |
+ AS_MKDIR_P([$dirpart/$fdir]) |
|
388 |
+ # echo "creating $dirpart/$file" |
|
389 |
+ echo '# dummy' > "$dirpart/$file" |
|
390 |
+ done |
|
391 |
+ done |
|
392 |
+} |
|
393 |
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
|
394 |
+ |
|
395 |
+ |
|
396 |
+# AM_OUTPUT_DEPENDENCY_COMMANDS |
|
397 |
+# ----------------------------- |
|
398 |
+# This macro should only be invoked once -- use via AC_REQUIRE. |
|
399 |
+# |
|
400 |
+# This code is only required when automatic dependency tracking |
|
401 |
+# is enabled. FIXME. This creates each '.P' file that we will |
|
402 |
+# need in order to bootstrap the dependency handling code. |
|
403 |
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
404 |
+[AC_CONFIG_COMMANDS([depfiles], |
|
405 |
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
406 |
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
|
407 |
+]) |
|
408 |
+ |
|
409 |
+# Do all the work for Automake. -*- Autoconf -*- |
|
410 |
+ |
|
411 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
412 |
+# |
|
413 |
+# This file is free software; the Free Software Foundation |
|
414 |
+# gives unlimited permission to copy and/or distribute it, |
|
415 |
+# with or without modifications, as long as this notice is preserved. |
|
416 |
+ |
|
417 |
+# This macro actually does too much. Some checks are only needed if |
|
418 |
+# your package does certain things. But this isn't really a big deal. |
|
419 |
+ |
|
420 |
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
|
421 |
+m4_define([AC_PROG_CC], |
|
422 |
+m4_defn([AC_PROG_CC]) |
|
423 |
+[_AM_PROG_CC_C_O |
|
424 |
+]) |
|
425 |
+ |
|
426 |
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
|
427 |
+# AM_INIT_AUTOMAKE([OPTIONS]) |
|
428 |
+# ----------------------------------------------- |
|
429 |
+# The call with PACKAGE and VERSION arguments is the old style |
|
430 |
+# call (pre autoconf-2.50), which is being phased out. PACKAGE |
|
431 |
+# and VERSION should now be passed to AC_INIT and removed from |
|
432 |
+# the call to AM_INIT_AUTOMAKE. |
|
433 |
+# We support both call styles for the transition. After |
|
434 |
+# the next Automake release, Autoconf can make the AC_INIT |
|
435 |
+# arguments mandatory, and then we can depend on a new Autoconf |
|
436 |
+# release and drop the old call support. |
|
437 |
+AC_DEFUN([AM_INIT_AUTOMAKE], |
|
438 |
+[AC_PREREQ([2.65])dnl |
|
439 |
+dnl Autoconf wants to disallow AM_ names. We explicitly allow |
|
440 |
+dnl the ones we care about. |
|
441 |
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
|
442 |
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
|
443 |
+AC_REQUIRE([AC_PROG_INSTALL])dnl |
|
444 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
445 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
446 |
+ # is not polluted with repeated "-I." |
|
447 |
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
|
448 |
+ # test to see if srcdir already configured |
|
449 |
+ if test -f $srcdir/config.status; then |
|
450 |
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
|
451 |
+ fi |
|
452 |
+fi |
|
453 |
+ |
|
454 |
+# test whether we have cygpath |
|
455 |
+if test -z "$CYGPATH_W"; then |
|
456 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
|
457 |
+ CYGPATH_W='cygpath -w' |
|
458 |
+ else |
|
459 |
+ CYGPATH_W=echo |
|
460 |
+ fi |
|
461 |
+fi |
|
462 |
+AC_SUBST([CYGPATH_W]) |
|
463 |
+ |
|
464 |
+# Define the identity of the package. |
|
465 |
+dnl Distinguish between old-style and new-style calls. |
|
466 |
+m4_ifval([$2], |
|
467 |
+[AC_DIAGNOSE([obsolete], |
|
468 |
+ [$0: two- and three-arguments forms are deprecated.]) |
|
469 |
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
|
470 |
+ AC_SUBST([PACKAGE], [$1])dnl |
|
471 |
+ AC_SUBST([VERSION], [$2])], |
|
472 |
+[_AM_SET_OPTIONS([$1])dnl |
|
473 |
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
|
474 |
+m4_if( |
|
475 |
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
|
476 |
+ [ok:ok],, |
|
477 |
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
|
478 |
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
|
479 |
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
|
480 |
+ |
|
481 |
+_AM_IF_OPTION([no-define],, |
|
482 |
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
|
483 |
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
|
484 |
+ |
|
485 |
+# Some tools Automake needs. |
|
486 |
+AC_REQUIRE([AM_SANITY_CHECK])dnl |
|
487 |
+AC_REQUIRE([AC_ARG_PROGRAM])dnl |
|
488 |
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
|
489 |
+AM_MISSING_PROG([AUTOCONF], [autoconf]) |
|
490 |
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
|
491 |
+AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
|
492 |
+AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
|
493 |
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
|
494 |
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
|
495 |
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
|
496 |
+# For better backward compatibility. To be removed once Automake 1.9.x |
|
497 |
+# dies out for good. For more background, see: |
|
498 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
499 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
500 |
+AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
|
501 |
+# We need awk for the "check" target (and possibly the TAP driver). The |
|
502 |
+# system "awk" is bad on some platforms. |
|
503 |
+AC_REQUIRE([AC_PROG_AWK])dnl |
|
504 |
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
|
505 |
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
|
506 |
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
|
507 |
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
|
508 |
+ [_AM_PROG_TAR([v7])])]) |
|
509 |
+_AM_IF_OPTION([no-dependencies],, |
|
510 |
+[AC_PROVIDE_IFELSE([AC_PROG_CC], |
|
511 |
+ [_AM_DEPENDENCIES([CC])], |
|
512 |
+ [m4_define([AC_PROG_CC], |
|
513 |
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
|
514 |
+AC_PROVIDE_IFELSE([AC_PROG_CXX], |
|
515 |
+ [_AM_DEPENDENCIES([CXX])], |
|
516 |
+ [m4_define([AC_PROG_CXX], |
|
517 |
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
|
518 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
|
519 |
+ [_AM_DEPENDENCIES([OBJC])], |
|
520 |
+ [m4_define([AC_PROG_OBJC], |
|
521 |
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
|
522 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
|
523 |
+ [_AM_DEPENDENCIES([OBJCXX])], |
|
524 |
+ [m4_define([AC_PROG_OBJCXX], |
|
525 |
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
|
526 |
+]) |
|
527 |
+AC_REQUIRE([AM_SILENT_RULES])dnl |
|
528 |
+dnl The testsuite driver may need to know about EXEEXT, so add the |
|
529 |
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
|
530 |
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
|
531 |
+AC_CONFIG_COMMANDS_PRE(dnl |
|
532 |
+[m4_provide_if([_AM_COMPILER_EXEEXT], |
|
533 |
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
|
534 |
+ |
|
535 |
+# POSIX will say in a future version that running "rm -f" with no argument |
|
536 |
+# is OK; and we want to be able to make that assumption in our Makefile |
|
537 |
+# recipes. So use an aggressive probe to check that the usage we want is |
|
538 |
+# actually supported "in the wild" to an acceptable degree. |
|
539 |
+# See automake bug#10828. |
|
540 |
+# To make any issue more visible, cause the running configure to be aborted |
|
541 |
+# by default if the 'rm' program in use doesn't match our expectations; the |
|
542 |
+# user can still override this though. |
|
543 |
+if rm -f && rm -fr && rm -rf; then : OK; else |
|
544 |
+ cat >&2 <<'END' |
|
545 |
+Oops! |
|
546 |
+ |
|
547 |
+Your 'rm' program seems unable to run without file operands specified |
|
548 |
+on the command line, even when the '-f' option is present. This is contrary |
|
549 |
+to the behaviour of most rm programs out there, and not conforming with |
|
550 |
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
551 |
+ |
|
552 |
+Please tell bug-automake@gnu.org about your system, including the value |
|
553 |
+of your $PATH and any error possibly output before this message. This |
|
554 |
+can help us improve future automake versions. |
|
555 |
+ |
|
556 |
+END |
|
557 |
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
558 |
+ echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
559 |
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
560 |
+ echo >&2 |
|
561 |
+ else |
|
562 |
+ cat >&2 <<'END' |
|
563 |
+Aborting the configuration process, to ensure you take notice of the issue. |
|
564 |
+ |
|
565 |
+You can download and install GNU coreutils to get an 'rm' implementation |
|
566 |
+that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
567 |
+ |
|
568 |
+If you want to complete the configuration process using your problematic |
|
569 |
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
570 |
+to "yes", and re-run configure. |
|
571 |
+ |
|
572 |
+END |
|
573 |
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
|
574 |
+ fi |
|
575 |
+fi |
|
576 |
+dnl The trailing newline in this macro's definition is deliberate, for |
|
577 |
+dnl backward compatibility and to allow trailing 'dnl'-style comments |
|
578 |
+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. |
|
579 |
+]) |
|
580 |
+ |
|
581 |
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
|
582 |
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
|
583 |
+dnl mangled by Autoconf and run in a shell conditional statement. |
|
584 |
+m4_define([_AC_COMPILER_EXEEXT], |
|
585 |
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
|
586 |
+ |
|
587 |
+# When config.status generates a header, we must update the stamp-h file. |
|
588 |
+# This file resides in the same directory as the config header |
|
589 |
+# that is generated. The stamp files are numbered to have different names. |
|
590 |
+ |
|
591 |
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
|
592 |
+# loop where config.status creates the headers, so we can generate |
|
593 |
+# our stamp files there. |
|
594 |
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
|
595 |
+[# Compute $1's index in $config_headers. |
|
596 |
+_am_arg=$1 |
|
597 |
+_am_stamp_count=1 |
|
598 |
+for _am_header in $config_headers :; do |
|
599 |
+ case $_am_header in |
|
600 |
+ $_am_arg | $_am_arg:* ) |
|
601 |
+ break ;; |
|
602 |
+ * ) |
|
603 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
604 |
+ esac |
|
605 |
+done |
|
606 |
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
|
607 |
+ |
|
608 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
609 |
+# |
|
610 |
+# This file is free software; the Free Software Foundation |
|
611 |
+# gives unlimited permission to copy and/or distribute it, |
|
612 |
+# with or without modifications, as long as this notice is preserved. |
|
613 |
+ |
|
614 |
+# AM_PROG_INSTALL_SH |
|
615 |
+# ------------------ |
|
616 |
+# Define $install_sh. |
|
617 |
+AC_DEFUN([AM_PROG_INSTALL_SH], |
|
618 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
619 |
+if test x"${install_sh+set}" != xset; then |
|
620 |
+ case $am_aux_dir in |
|
621 |
+ *\ * | *\ *) |
|
622 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
623 |
+ *) |
|
624 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
625 |
+ esac |
|
626 |
+fi |
|
627 |
+AC_SUBST([install_sh])]) |
|
628 |
+ |
|
629 |
+# Copyright (C) 2003-2014 Free Software Foundation, Inc. |
|
630 |
+# |
|
631 |
+# This file is free software; the Free Software Foundation |
|
632 |
+# gives unlimited permission to copy and/or distribute it, |
|
633 |
+# with or without modifications, as long as this notice is preserved. |
|
634 |
+ |
|
635 |
+# Check whether the underlying file-system supports filenames |
|
636 |
+# with a leading dot. For instance MS-DOS doesn't. |
|
637 |
+AC_DEFUN([AM_SET_LEADING_DOT], |
|
638 |
+[rm -rf .tst 2>/dev/null |
|
639 |
+mkdir .tst 2>/dev/null |
|
640 |
+if test -d .tst; then |
|
641 |
+ am__leading_dot=. |
|
642 |
+else |
|
643 |
+ am__leading_dot=_ |
|
644 |
+fi |
|
645 |
+rmdir .tst 2>/dev/null |
|
646 |
+AC_SUBST([am__leading_dot])]) |
|
647 |
+ |
|
648 |
+# Check to see how 'make' treats includes. -*- Autoconf -*- |
|
649 |
+ |
|
650 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
651 |
+# |
|
652 |
+# This file is free software; the Free Software Foundation |
|
653 |
+# gives unlimited permission to copy and/or distribute it, |
|
654 |
+# with or without modifications, as long as this notice is preserved. |
|
655 |
+ |
|
656 |
+# AM_MAKE_INCLUDE() |
|
657 |
+# ----------------- |
|
658 |
+# Check to see how make treats includes. |
|
659 |
+AC_DEFUN([AM_MAKE_INCLUDE], |
|
660 |
+[am_make=${MAKE-make} |
|
661 |
+cat > confinc << 'END' |
|
662 |
+am__doit: |
|
663 |
+ @echo this is the am__doit target |
|
664 |
+.PHONY: am__doit |
|
665 |
+END |
|
666 |
+# If we don't find an include directive, just comment out the code. |
|
667 |
+AC_MSG_CHECKING([for style of include used by $am_make]) |
|
668 |
+am__include="#" |
|
669 |
+am__quote= |
|
670 |
+_am_result=none |
|
671 |
+# First try GNU make style include. |
|
672 |
+echo "include confinc" > confmf |
|
673 |
+# Ignore all kinds of additional output from 'make'. |
|
674 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
|
675 |
+*the\ am__doit\ target*) |
|
676 |
+ am__include=include |
|
677 |
+ am__quote= |
|
678 |
+ _am_result=GNU |
|
679 |
+ ;; |
|
680 |
+esac |
|
681 |
+# Now try BSD make style include. |
|
682 |
+if test "$am__include" = "#"; then |
|
683 |
+ echo '.include "confinc"' > confmf |
|
684 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
|
685 |
+ *the\ am__doit\ target*) |
|
686 |
+ am__include=.include |
|
687 |
+ am__quote="\"" |
|
688 |
+ _am_result=BSD |
|
689 |
+ ;; |
|
690 |
+ esac |
|
691 |
+fi |
|
692 |
+AC_SUBST([am__include]) |
|
693 |
+AC_SUBST([am__quote]) |
|
694 |
+AC_MSG_RESULT([$_am_result]) |
|
695 |
+rm -f confinc confmf |
|
696 |
+]) |
|
697 |
+ |
|
698 |
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
|
699 |
+ |
|
700 |
+# Copyright (C) 1997-2014 Free Software Foundation, Inc. |
|
701 |
+# |
|
702 |
+# This file is free software; the Free Software Foundation |
|
703 |
+# gives unlimited permission to copy and/or distribute it, |
|
704 |
+# with or without modifications, as long as this notice is preserved. |
|
705 |
+ |
|
706 |
+# AM_MISSING_PROG(NAME, PROGRAM) |
|
707 |
+# ------------------------------ |
|
708 |
+AC_DEFUN([AM_MISSING_PROG], |
|
709 |
+[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
|
710 |
+$1=${$1-"${am_missing_run}$2"} |
|
711 |
+AC_SUBST($1)]) |
|
712 |
+ |
|
713 |
+# AM_MISSING_HAS_RUN |
|
714 |
+# ------------------ |
|
715 |
+# Define MISSING if not defined so far and test if it is modern enough. |
|
716 |
+# If it is, set am_missing_run to use it, otherwise, to nothing. |
|
717 |
+AC_DEFUN([AM_MISSING_HAS_RUN], |
|
718 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
719 |
+AC_REQUIRE_AUX_FILE([missing])dnl |
|
720 |
+if test x"${MISSING+set}" != xset; then |
|
721 |
+ case $am_aux_dir in |
|
722 |
+ *\ * | *\ *) |
|
723 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
724 |
+ *) |
|
725 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
726 |
+ esac |
|
727 |
+fi |
|
728 |
+# Use eval to expand $SHELL |
|
729 |
+if eval "$MISSING --is-lightweight"; then |
|
730 |
+ am_missing_run="$MISSING " |
|
731 |
+else |
|
732 |
+ am_missing_run= |
|
733 |
+ AC_MSG_WARN(['missing' script is too old or missing]) |
|
734 |
+fi |
|
735 |
+]) |
|
736 |
+ |
|
737 |
+# Helper functions for option handling. -*- Autoconf -*- |
|
738 |
+ |
|
739 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
740 |
+# |
|
741 |
+# This file is free software; the Free Software Foundation |
|
742 |
+# gives unlimited permission to copy and/or distribute it, |
|
743 |
+# with or without modifications, as long as this notice is preserved. |
|
744 |
+ |
|
745 |
+# _AM_MANGLE_OPTION(NAME) |
|
746 |
+# ----------------------- |
|
747 |
+AC_DEFUN([_AM_MANGLE_OPTION], |
|
748 |
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
|
749 |
+ |
|
750 |
+# _AM_SET_OPTION(NAME) |
|
751 |
+# -------------------- |
|
752 |
+# Set option NAME. Presently that only means defining a flag for this option. |
|
753 |
+AC_DEFUN([_AM_SET_OPTION], |
|
754 |
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
|
755 |
+ |
|
756 |
+# _AM_SET_OPTIONS(OPTIONS) |
|
757 |
+# ------------------------ |
|
758 |
+# OPTIONS is a space-separated list of Automake options. |
|
759 |
+AC_DEFUN([_AM_SET_OPTIONS], |
|
760 |
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
|
761 |
+ |
|
762 |
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
|
763 |
+# ------------------------------------------- |
|
764 |
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
|
765 |
+AC_DEFUN([_AM_IF_OPTION], |
|
766 |
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
|
767 |
+ |
|
768 |
+# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
|
769 |
+# |
|
770 |
+# This file is free software; the Free Software Foundation |
|
771 |
+# gives unlimited permission to copy and/or distribute it, |
|
772 |
+# with or without modifications, as long as this notice is preserved. |
|
773 |
+ |
|
774 |
+# _AM_PROG_CC_C_O |
|
775 |
+# --------------- |
|
776 |
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
|
777 |
+# to automatically call this. |
|
778 |
+AC_DEFUN([_AM_PROG_CC_C_O], |
|
779 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
780 |
+AC_REQUIRE_AUX_FILE([compile])dnl |
|
781 |
+AC_LANG_PUSH([C])dnl |
|
782 |
+AC_CACHE_CHECK( |
|
783 |
+ [whether $CC understands -c and -o together], |
|
784 |
+ [am_cv_prog_cc_c_o], |
|
785 |
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
|
786 |
+ # Make sure it works both with $CC and with simple cc. |
|
787 |
+ # Following AC_PROG_CC_C_O, we do the test twice because some |
|
788 |
+ # compilers refuse to overwrite an existing .o file with -o, |
|
789 |
+ # though they will create one. |
|
790 |
+ am_cv_prog_cc_c_o=yes |
|
791 |
+ for am_i in 1 2; do |
|
792 |
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ |
|
793 |
+ && test -f conftest2.$ac_objext; then |
|
794 |
+ : OK |
|
795 |
+ else |
|
796 |
+ am_cv_prog_cc_c_o=no |
|
797 |
+ break |
|
798 |
+ fi |
|
799 |
+ done |
|
800 |
+ rm -f core conftest* |
|
801 |
+ unset am_i]) |
|
802 |
+if test "$am_cv_prog_cc_c_o" != yes; then |
|
803 |
+ # Losing compiler, so override with the script. |
|
804 |
+ # FIXME: It is wrong to rewrite CC. |
|
805 |
+ # But if we don't then we get into trouble of one sort or another. |
|
806 |
+ # A longer-term fix would be to have automake use am__CC in this case, |
|
807 |
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
808 |
+ CC="$am_aux_dir/compile $CC" |
|
809 |
+fi |
|
810 |
+AC_LANG_POP([C])]) |
|
811 |
+ |
|
812 |
+# For backward compatibility. |
|
813 |
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
|
814 |
+ |
|
815 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
816 |
+# |
|
817 |
+# This file is free software; the Free Software Foundation |
|
818 |
+# gives unlimited permission to copy and/or distribute it, |
|
819 |
+# with or without modifications, as long as this notice is preserved. |
|
820 |
+ |
|
821 |
+# AM_RUN_LOG(COMMAND) |
|
822 |
+# ------------------- |
|
823 |
+# Run COMMAND, save the exit status in ac_status, and log it. |
|
824 |
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
|
825 |
+AC_DEFUN([AM_RUN_LOG], |
|
826 |
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
|
827 |
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
|
828 |
+ ac_status=$? |
|
829 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
|
830 |
+ (exit $ac_status); }]) |
|
831 |
+ |
|
832 |
+# Check to make sure that the build environment is sane. -*- Autoconf -*- |
|
833 |
+ |
|
834 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
835 |
+# |
|
836 |
+# This file is free software; the Free Software Foundation |
|
837 |
+# gives unlimited permission to copy and/or distribute it, |
|
838 |
+# with or without modifications, as long as this notice is preserved. |
|
839 |
+ |
|
840 |
+# AM_SANITY_CHECK |
|
841 |
+# --------------- |
|
842 |
+AC_DEFUN([AM_SANITY_CHECK], |
|
843 |
+[AC_MSG_CHECKING([whether build environment is sane]) |
|
844 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
|
845 |
+# name. Accept space and tab only in the latter. |
|
846 |
+am_lf=' |
|
847 |
+' |
|
848 |
+case `pwd` in |
|
849 |
+ *[[\\\"\#\$\&\'\`$am_lf]]*) |
|
850 |
+ AC_MSG_ERROR([unsafe absolute working directory name]);; |
|
851 |
+esac |
|
852 |
+case $srcdir in |
|
853 |
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
|
854 |
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
|
855 |
+esac |
|
856 |
+ |
|
857 |
+# Do 'set' in a subshell so we don't clobber the current shell's |
|
858 |
+# arguments. Must try -L first in case configure is actually a |
|
859 |
+# symlink; some systems play weird games with the mod time of symlinks |
|
860 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
|
861 |
+# directory). |
|
862 |
+if ( |
|
863 |
+ am_has_slept=no |
|
864 |
+ for am_try in 1 2; do |
|
865 |
+ echo "timestamp, slept: $am_has_slept" > conftest.file |
|
866 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
867 |
+ if test "$[*]" = "X"; then |
|
868 |
+ # -L didn't work. |
|
869 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
|
870 |
+ fi |
|
871 |
+ if test "$[*]" != "X $srcdir/configure conftest.file" \ |
|
872 |
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then |
|
873 |
+ |
|
874 |
+ # If neither matched, then we have a broken ls. This can happen |
|
875 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
876 |
+ # broken ls alias from the environment. This has actually |
|
877 |
+ # happened. Such a system could not be considered "sane". |
|
878 |
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
|
879 |
+ alias in your environment]) |
|
880 |
+ fi |
|
881 |
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then |
|
882 |
+ break |
|
883 |
+ fi |
|
884 |
+ # Just in case. |
|
885 |
+ sleep 1 |
|
886 |
+ am_has_slept=yes |
|
887 |
+ done |
|
888 |
+ test "$[2]" = conftest.file |
|
889 |
+ ) |
|
890 |
+then |
|
891 |
+ # Ok. |
|
892 |
+ : |
|
893 |
+else |
|
894 |
+ AC_MSG_ERROR([newly created file is older than distributed files! |
|
895 |
+Check your system clock]) |
|
896 |
+fi |
|
897 |
+AC_MSG_RESULT([yes]) |
|
898 |
+# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
899 |
+# generated files are strictly newer. |
|
900 |
+am_sleep_pid= |
|
901 |
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
902 |
+ ( sleep 1 ) & |
|
903 |
+ am_sleep_pid=$! |
|
904 |
+fi |
|
905 |
+AC_CONFIG_COMMANDS_PRE( |
|
906 |
+ [AC_MSG_CHECKING([that generated files are newer than configure]) |
|
907 |
+ if test -n "$am_sleep_pid"; then |
|
908 |
+ # Hide warnings about reused PIDs. |
|
909 |
+ wait $am_sleep_pid 2>/dev/null |
|
910 |
+ fi |
|
911 |
+ AC_MSG_RESULT([done])]) |
|
912 |
+rm -f conftest.file |
|
913 |
+]) |
|
914 |
+ |
|
915 |
+# Copyright (C) 2009-2014 Free Software Foundation, Inc. |
|
916 |
+# |
|
917 |
+# This file is free software; the Free Software Foundation |
|
918 |
+# gives unlimited permission to copy and/or distribute it, |
|
919 |
+# with or without modifications, as long as this notice is preserved. |
|
920 |
+ |
|
921 |
+# AM_SILENT_RULES([DEFAULT]) |
|
922 |
+# -------------------------- |
|
923 |
+# Enable less verbose build rules; with the default set to DEFAULT |
|
924 |
+# ("yes" being less verbose, "no" or empty being verbose). |
|
925 |
+AC_DEFUN([AM_SILENT_RULES], |
|
926 |
+[AC_ARG_ENABLE([silent-rules], [dnl |
|
927 |
+AS_HELP_STRING( |
|
928 |
+ [--enable-silent-rules], |
|
929 |
+ [less verbose build output (undo: "make V=1")]) |
|
930 |
+AS_HELP_STRING( |
|
931 |
+ [--disable-silent-rules], |
|
932 |
+ [verbose build output (undo: "make V=0")])dnl |
|
933 |
+]) |
|
934 |
+case $enable_silent_rules in @%:@ ((( |
|
935 |
+ yes) AM_DEFAULT_VERBOSITY=0;; |
|
936 |
+ no) AM_DEFAULT_VERBOSITY=1;; |
|
937 |
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
|
938 |
+esac |
|
939 |
+dnl |
|
940 |
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
|
941 |
+dnl do not support nested variable expansions. |
|
942 |
+dnl See automake bug#9928 and bug#10237. |
|
943 |
+am_make=${MAKE-make} |
|
944 |
+AC_CACHE_CHECK([whether $am_make supports nested variables], |
|
945 |
+ [am_cv_make_support_nested_variables], |
|
946 |
+ [if AS_ECHO([['TRUE=$(BAR$(V)) |
|
947 |
+BAR0=false |
|
948 |
+BAR1=true |
|
949 |
+V=1 |
|
950 |
+am__doit: |
|
951 |
+ @$(TRUE) |
|
952 |
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
|
953 |
+ am_cv_make_support_nested_variables=yes |
|
954 |
+else |
|
955 |
+ am_cv_make_support_nested_variables=no |
|
956 |
+fi]) |
|
957 |
+if test $am_cv_make_support_nested_variables = yes; then |
|
958 |
+ dnl Using '$V' instead of '$(V)' breaks IRIX make. |
|
959 |
+ AM_V='$(V)' |
|
960 |
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
961 |
+else |
|
962 |
+ AM_V=$AM_DEFAULT_VERBOSITY |
|
963 |
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
964 |
+fi |
|
965 |
+AC_SUBST([AM_V])dnl |
|
966 |
+AM_SUBST_NOTMAKE([AM_V])dnl |
|
967 |
+AC_SUBST([AM_DEFAULT_V])dnl |
|
968 |
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
|
969 |
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
|
970 |
+AM_BACKSLASH='\' |
|
971 |
+AC_SUBST([AM_BACKSLASH])dnl |
|
972 |
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
|
973 |
+]) |
|
974 |
+ |
|
975 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
976 |
+# |
|
977 |
+# This file is free software; the Free Software Foundation |
|
978 |
+# gives unlimited permission to copy and/or distribute it, |
|
979 |
+# with or without modifications, as long as this notice is preserved. |
|
980 |
+ |
|
981 |
+# AM_PROG_INSTALL_STRIP |
|
982 |
+# --------------------- |
|
983 |
+# One issue with vendor 'install' (even GNU) is that you can't |
|
984 |
+# specify the program used to strip binaries. This is especially |
|
985 |
+# annoying in cross-compiling environments, where the build's strip |
|
986 |
+# is unlikely to handle the host's binaries. |
|
987 |
+# Fortunately install-sh will honor a STRIPPROG variable, so we |
|
988 |
+# always use install-sh in "make install-strip", and initialize |
|
989 |
+# STRIPPROG with the value of the STRIP variable (set by the user). |
|
990 |
+AC_DEFUN([AM_PROG_INSTALL_STRIP], |
|
991 |
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
|
992 |
+# Installed binaries are usually stripped using 'strip' when the user |
|
993 |
+# run "make install-strip". However 'strip' might not be the right |
|
994 |
+# tool to use in cross-compilation environments, therefore Automake |
|
995 |
+# will honor the 'STRIP' environment variable to overrule this program. |
|
996 |
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
|
997 |
+if test "$cross_compiling" != no; then |
|
998 |
+ AC_CHECK_TOOL([STRIP], [strip], :) |
|
999 |
+fi |
|
1000 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
1001 |
+AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|
1002 |
+ |
|
1003 |
+# Copyright (C) 2006-2014 Free Software Foundation, Inc. |
|
1004 |
+# |
|
1005 |
+# This file is free software; the Free Software Foundation |
|
1006 |
+# gives unlimited permission to copy and/or distribute it, |
|
1007 |
+# with or without modifications, as long as this notice is preserved. |
|
1008 |
+ |
|
1009 |
+# _AM_SUBST_NOTMAKE(VARIABLE) |
|
1010 |
+# --------------------------- |
|
1011 |
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
|
1012 |
+# This macro is traced by Automake. |
|
1013 |
+AC_DEFUN([_AM_SUBST_NOTMAKE]) |
|
1014 |
+ |
|
1015 |
+# AM_SUBST_NOTMAKE(VARIABLE) |
|
1016 |
+# -------------------------- |
|
1017 |
+# Public sister of _AM_SUBST_NOTMAKE. |
|
1018 |
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
1019 |
+ |
|
1020 |
+# Check how to create a tarball. -*- Autoconf -*- |
|
1021 |
+ |
|
1022 |
+# Copyright (C) 2004-2014 Free Software Foundation, Inc. |
|
1023 |
+# |
|
1024 |
+# This file is free software; the Free Software Foundation |
|
1025 |
+# gives unlimited permission to copy and/or distribute it, |
|
1026 |
+# with or without modifications, as long as this notice is preserved. |
|
1027 |
+ |
|
1028 |
+# _AM_PROG_TAR(FORMAT) |
|
1029 |
+# -------------------- |
|
1030 |
+# Check how to create a tarball in format FORMAT. |
|
1031 |
+# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
|
1032 |
+# |
|
1033 |
+# Substitute a variable $(am__tar) that is a command |
|
1034 |
+# writing to stdout a FORMAT-tarball containing the directory |
|
1035 |
+# $tardir. |
|
1036 |
+# tardir=directory && $(am__tar) > result.tar |
|
1037 |
+# |
|
1038 |
+# Substitute a variable $(am__untar) that extract such |
|
1039 |
+# a tarball read from stdin. |
|
1040 |
+# $(am__untar) < result.tar |
|
1041 |
+# |
|
1042 |
+AC_DEFUN([_AM_PROG_TAR], |
|
1043 |
+[# Always define AMTAR for backward compatibility. Yes, it's still used |
|
1044 |
+# in the wild :-( We should find a proper way to deprecate it ... |
|
1045 |
+AC_SUBST([AMTAR], ['$${TAR-tar}']) |
|
1046 |
+ |
|
1047 |
+# We'll loop over all known methods to create a tar archive until one works. |
|
1048 |
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
|
1049 |
+ |
|
1050 |
+m4_if([$1], [v7], |
|
1051 |
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
|
1052 |
+ |
|
1053 |
+ [m4_case([$1], |
|
1054 |
+ [ustar], |
|
1055 |
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
|
1056 |
+ # There is notably a 21 bits limit for the UID and the GID. In fact, |
|
1057 |
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
|
1058 |
+ # and bug#13588). |
|
1059 |
+ am_max_uid=2097151 # 2^21 - 1 |
|
1060 |
+ am_max_gid=$am_max_uid |
|
1061 |
+ # The $UID and $GID variables are not portable, so we need to resort |
|
1062 |
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
|
1063 |
+ # below are definitely unexpected, so allow the users to see them |
|
1064 |
+ # (that is, avoid stderr redirection). |
|
1065 |
+ am_uid=`id -u || echo unknown` |
|
1066 |
+ am_gid=`id -g || echo unknown` |
|
1067 |
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
|
1068 |
+ if test $am_uid -le $am_max_uid; then |
|
1069 |
+ AC_MSG_RESULT([yes]) |
|
1070 |
+ else |
|
1071 |
+ AC_MSG_RESULT([no]) |
|
1072 |
+ _am_tools=none |
|
1073 |
+ fi |
|
1074 |
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
|
1075 |
+ if test $am_gid -le $am_max_gid; then |
|
1076 |
+ AC_MSG_RESULT([yes]) |
|
1077 |
+ else |
|
1078 |
+ AC_MSG_RESULT([no]) |
|
1079 |
+ _am_tools=none |
|
1080 |
+ fi], |
|
1081 |
+ |
|
1082 |
+ [pax], |
|
1083 |
+ [], |
|
1084 |
+ |
|
1085 |
+ [m4_fatal([Unknown tar format])]) |
|
1086 |
+ |
|
1087 |
+ AC_MSG_CHECKING([how to create a $1 tar archive]) |
|
1088 |
+ |
|
1089 |
+ # Go ahead even if we have the value already cached. We do so because we |
|
1090 |
+ # need to set the values for the 'am__tar' and 'am__untar' variables. |
|
1091 |
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
|
1092 |
+ |
|
1093 |
+ for _am_tool in $_am_tools; do |
|
1094 |
+ case $_am_tool in |
|
1095 |
+ gnutar) |
|
1096 |
+ for _am_tar in tar gnutar gtar; do |
|
1097 |
+ AM_RUN_LOG([$_am_tar --version]) && break |
|
1098 |
+ done |
|
1099 |
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
|
1100 |
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
|
1101 |
+ am__untar="$_am_tar -xf -" |
|
1102 |
+ ;; |
|
1103 |
+ plaintar) |
|
1104 |
+ # Must skip GNU tar: if it does not support --format= it doesn't create |
|
1105 |
+ # ustar tarball either. |
|
1106 |
+ (tar --version) >/dev/null 2>&1 && continue |
|
1107 |
+ am__tar='tar chf - "$$tardir"' |
|
1108 |
+ am__tar_='tar chf - "$tardir"' |
|
1109 |
+ am__untar='tar xf -' |
|
1110 |
+ ;; |
|
1111 |
+ pax) |
|
1112 |
+ am__tar='pax -L -x $1 -w "$$tardir"' |
|
1113 |
+ am__tar_='pax -L -x $1 -w "$tardir"' |
|
1114 |
+ am__untar='pax -r' |
|
1115 |
+ ;; |
|
1116 |
+ cpio) |
|
1117 |
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
|
1118 |
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
|
1119 |
+ am__untar='cpio -i -H $1 -d' |
|
1120 |
+ ;; |
|
1121 |
+ none) |
|
1122 |
+ am__tar=false |
|
1123 |
+ am__tar_=false |
|
1124 |
+ am__untar=false |
|
1125 |
+ ;; |
|
1126 |
+ esac |
|
1127 |
+ |
|
1128 |
+ # If the value was cached, stop now. We just wanted to have am__tar |
|
1129 |
+ # and am__untar set. |
|
1130 |
+ test -n "${am_cv_prog_tar_$1}" && break |
|
1131 |
+ |
|
1132 |
+ # tar/untar a dummy directory, and stop if the command works. |
|
1133 |
+ rm -rf conftest.dir |
|
1134 |
+ mkdir conftest.dir |
|
1135 |
+ echo GrepMe > conftest.dir/file |
|
1136 |
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
|
1137 |
+ rm -rf conftest.dir |
|
1138 |
+ if test -s conftest.tar; then |
|
1139 |
+ AM_RUN_LOG([$am__untar <conftest.tar]) |
|
1140 |
+ AM_RUN_LOG([cat conftest.dir/file]) |
|
1141 |
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
|
1142 |
+ fi |
|
1143 |
+ done |
|
1144 |
+ rm -rf conftest.dir |
|
1145 |
+ |
|
1146 |
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
|
1147 |
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
|
1148 |
+ |
|
1149 |
+AC_SUBST([am__tar]) |
|
1150 |
+AC_SUBST([am__untar]) |
|
1151 |
+]) # _AM_PROG_TAR |
|
1152 |
+ |
1 | 3 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,61 @@ |
1 |
+/* config.h.in. Generated from configure.ac by autoheader. */ |
|
2 |
+ |
|
3 |
+/* Define to 1 if you have the `gettimeofday' function. */ |
|
4 |
+#undef HAVE_GETTIMEOFDAY |
|
5 |
+ |
|
6 |
+/* Define to 1 if you have the <inttypes.h> header file. */ |
|
7 |
+#undef HAVE_INTTYPES_H |
|
8 |
+ |
|
9 |
+/* Define to 1 if you have the <memory.h> header file. */ |
|
10 |
+#undef HAVE_MEMORY_H |
|
11 |
+ |
|
12 |
+/* Define to 1 if you have the <stdint.h> header file. */ |
|
13 |
+#undef HAVE_STDINT_H |
|
14 |
+ |
|
15 |
+/* Define to 1 if you have the <stdlib.h> header file. */ |
|
16 |
+#undef HAVE_STDLIB_H |
|
17 |
+ |
|
18 |
+/* Define to 1 if you have the <strings.h> header file. */ |
|
19 |
+#undef HAVE_STRINGS_H |
|
20 |
+ |
|
21 |
+/* Define to 1 if you have the <string.h> header file. */ |
|
22 |
+#undef HAVE_STRING_H |
|
23 |
+ |
|
24 |
+/* Define to 1 if you have the <sys/stat.h> header file. */ |
|
25 |
+#undef HAVE_SYS_STAT_H |
|
26 |
+ |
|
27 |
+/* Define to 1 if you have the <sys/time.h> header file. */ |
|
28 |
+#undef HAVE_SYS_TIME_H |
|
29 |
+ |
|
30 |
+/* Define to 1 if you have the <sys/types.h> header file. */ |
|
31 |
+#undef HAVE_SYS_TYPES_H |
|
32 |
+ |
|
33 |
+/* Define to 1 if you have the <unistd.h> header file. */ |
|
34 |
+#undef HAVE_UNISTD_H |
|
35 |
+ |
|
36 |
+/* Name of package */ |
|
37 |
+#undef PACKAGE |
|
38 |
+ |
|
39 |
+/* Define to the address where bug reports for this package should be sent. */ |
|
40 |
+#undef PACKAGE_BUGREPORT |
|
41 |
+ |
|
42 |
+/* Define to the full name of this package. */ |
|
43 |
+#undef PACKAGE_NAME |
|
44 |
+ |
|
45 |
+/* Define to the full name and version of this package. */ |
|
46 |
+#undef PACKAGE_STRING |
|
47 |
+ |
|
48 |
+/* Define to the one symbol short name of this package. */ |
|
49 |
+#undef PACKAGE_TARNAME |
|
50 |
+ |
|
51 |
+/* Define to the home page for this package. */ |
|
52 |
+#undef PACKAGE_URL |
|
53 |
+ |
|
54 |
+/* Define to the version of this package. */ |
|
55 |
+#undef PACKAGE_VERSION |
|
56 |
+ |
|
57 |
+/* Define to 1 if you have the ANSI C header files. */ |
|
58 |
+#undef STDC_HEADERS |
|
59 |
+ |
|
60 |
+/* Version number of package */ |
|
61 |
+#undef VERSION |
0 | 62 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,5681 @@ |
1 |
+#! /bin/sh |
|
2 |
+# Guess values for system-dependent variables and create Makefiles. |
|
3 |
+# Generated by GNU Autoconf 2.69 for FULL-PACKAGE-NAME VERSION. |
|
4 |
+# |
|
5 |
+# Report bugs to <BUG-REPORT-ADDRESS>. |
|
6 |
+# |
|
7 |
+# |
|
8 |
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
|
9 |
+# |
|
10 |
+# |
|
11 |
+# This configure script is free software; the Free Software Foundation |
|
12 |
+# gives unlimited permission to copy, distribute and modify it. |
|
13 |
+## -------------------- ## |
|
14 |
+## M4sh Initialization. ## |
|
15 |
+## -------------------- ## |
|
16 |
+ |
|
17 |
+# Be more Bourne compatible |
|
18 |
+DUALCASE=1; export DUALCASE # for MKS sh |
|
19 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
20 |
+ emulate sh |
|
21 |
+ NULLCMD=: |
|
22 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
23 |
+ # is contrary to our usage. Disable this feature. |
|
24 |
+ alias -g '${1+"$@"}'='"$@"' |
|
25 |
+ setopt NO_GLOB_SUBST |
|
26 |
+else |
|
27 |
+ case `(set -o) 2>/dev/null` in #( |
|
28 |
+ *posix*) : |
|
29 |
+ set -o posix ;; #( |
|
30 |
+ *) : |
|
31 |
+ ;; |
|
32 |
+esac |
|
33 |
+fi |
|
34 |
+ |
|
35 |
+ |
|
36 |
+as_nl=' |
|
37 |
+' |
|
38 |
+export as_nl |
|
39 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
40 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
43 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
44 |
+# but without wasting forks for bash or zsh. |
|
45 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
+ as_echo='print -r --' |
|
48 |
+ as_echo_n='print -rn --' |
|
49 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
50 |
+ as_echo='printf %s\n' |
|
51 |
+ as_echo_n='printf %s' |
|
52 |
+else |
|
53 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
+ as_echo_n='/usr/ucb/echo -n' |
|
56 |
+ else |
|
57 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
+ as_echo_n_body='eval |
|
59 |
+ arg=$1; |
|
60 |
+ case $arg in #( |
|
61 |
+ *"$as_nl"*) |
|
62 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
63 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
64 |
+ esac; |
|
65 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
66 |
+ ' |
|
67 |
+ export as_echo_n_body |
|
68 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
+ fi |
|
70 |
+ export as_echo_body |
|
71 |
+ as_echo='sh -c $as_echo_body as_echo' |
|
72 |
+fi |
|
73 |
+ |
|
74 |
+# The user is always right. |
|
75 |
+if test "${PATH_SEPARATOR+set}" != set; then |
|
76 |
+ PATH_SEPARATOR=: |
|
77 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
+ PATH_SEPARATOR=';' |
|
80 |
+ } |
|
81 |
+fi |
|
82 |
+ |
|
83 |
+ |
|
84 |
+# IFS |
|
85 |
+# We need space, tab and new line, in precisely that order. Quoting is |
|
86 |
+# there to prevent editors from complaining about space-tab. |
|
87 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
88 |
+# splitting by setting IFS to empty value.) |
|
89 |
+IFS=" "" $as_nl" |
|
90 |
+ |
|
91 |
+# Find who we are. Look in the path if we contain no directory separator. |
|
92 |
+as_myself= |
|
93 |
+case $0 in #(( |
|
94 |
+ *[\\/]* ) as_myself=$0 ;; |
|
95 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
+for as_dir in $PATH |
|
97 |
+do |
|
98 |
+ IFS=$as_save_IFS |
|
99 |
+ test -z "$as_dir" && as_dir=. |
|
100 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
101 |
+ done |
|
102 |
+IFS=$as_save_IFS |
|
103 |
+ |
|
104 |
+ ;; |
|
105 |
+esac |
|
106 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
107 |
+# in which case we are not to be found in the path. |
|
108 |
+if test "x$as_myself" = x; then |
|
109 |
+ as_myself=$0 |
|
110 |
+fi |
|
111 |
+if test ! -f "$as_myself"; then |
|
112 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
113 |
+ exit 1 |
|
114 |
+fi |
|
115 |
+ |
|
116 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
|
117 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
118 |
+# suppresses any "Segmentation fault" message there. '((' could |
|
119 |
+# trigger a bug in pdksh 5.2.14. |
|
120 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
|
121 |
+do eval test x\${$as_var+set} = xset \ |
|
122 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
123 |
+done |
|
124 |
+PS1='$ ' |
|
125 |
+PS2='> ' |
|
126 |
+PS4='+ ' |
|
127 |
+ |
|
128 |
+# NLS nuisances. |
|
129 |
+LC_ALL=C |
|
130 |
+export LC_ALL |
|
131 |
+LANGUAGE=C |
|
132 |
+export LANGUAGE |
|
133 |
+ |
|
134 |
+# CDPATH. |
|
135 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
136 |
+ |
|
137 |
+# Use a proper internal environment variable to ensure we don't fall |
|
138 |
+ # into an infinite loop, continuously re-executing ourselves. |
|
139 |
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
+ _as_can_reexec=no; export _as_can_reexec; |
|
141 |
+ # We cannot yet assume a decent shell, so we have to provide a |
|
142 |
+# neutralization value for shells without unset; and this also |
|
143 |
+# works around shells that cannot unset nonexistent variables. |
|
144 |
+# Preserve -v and -x to the replacement shell. |
|
145 |
+BASH_ENV=/dev/null |
|
146 |
+ENV=/dev/null |
|
147 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
+case $- in # (((( |
|
149 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
+ *v* ) as_opts=-v ;; |
|
151 |
+ *x* ) as_opts=-x ;; |
|
152 |
+ * ) as_opts= ;; |
|
153 |
+esac |
|
154 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
|
156 |
+# out after a failed `exec'. |
|
157 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
+as_fn_exit 255 |
|
159 |
+ fi |
|
160 |
+ # We don't want this to propagate to other subprocesses. |
|
161 |
+ { _as_can_reexec=; unset _as_can_reexec;} |
|
162 |
+if test "x$CONFIG_SHELL" = x; then |
|
163 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
164 |
+ emulate sh |
|
165 |
+ NULLCMD=: |
|
166 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
167 |
+ # is contrary to our usage. Disable this feature. |
|
168 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
169 |
+ setopt NO_GLOB_SUBST |
|
170 |
+else |
|
171 |
+ case \`(set -o) 2>/dev/null\` in #( |
|
172 |
+ *posix*) : |
|
173 |
+ set -o posix ;; #( |
|
174 |
+ *) : |
|
175 |
+ ;; |
|
176 |
+esac |
|
177 |
+fi |
|
178 |
+" |
|
179 |
+ as_required="as_fn_return () { (exit \$1); } |
|
180 |
+as_fn_success () { as_fn_return 0; } |
|
181 |
+as_fn_failure () { as_fn_return 1; } |
|
182 |
+as_fn_ret_success () { return 0; } |
|
183 |
+as_fn_ret_failure () { return 1; } |
|
184 |
+ |
|
185 |
+exitcode=0 |
|
186 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
187 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
188 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
189 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
190 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
191 |
+ |
|
192 |
+else |
|
193 |
+ exitcode=1; echo positional parameters were not saved. |
|
194 |
+fi |
|
195 |
+test x\$exitcode = x0 || exit 1 |
|
196 |
+test -x / || exit 1" |
|
197 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
198 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
200 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
201 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
|
202 |
+ if (eval "$as_required") 2>/dev/null; then : |
|
203 |
+ as_have_required=yes |
|
204 |
+else |
|
205 |
+ as_have_required=no |
|
206 |
+fi |
|
207 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
208 |
+ |
|
209 |
+else |
|
210 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
211 |
+as_found=false |
|
212 |
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
213 |
+do |
|
214 |
+ IFS=$as_save_IFS |
|
215 |
+ test -z "$as_dir" && as_dir=. |
|
216 |
+ as_found=: |
|
217 |
+ case $as_dir in #( |
|
218 |
+ /*) |
|
219 |
+ for as_base in sh bash ksh sh5; do |
|
220 |
+ # Try only shells that exist, to save several forks. |
|
221 |
+ as_shell=$as_dir/$as_base |
|
222 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
223 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
224 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
|
225 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
226 |
+ break 2 |
|
227 |
+fi |
|
228 |
+fi |
|
229 |
+ done;; |
|
230 |
+ esac |
|
231 |
+ as_found=false |
|
232 |
+done |
|
233 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
234 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
235 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
|
236 |
+fi; } |
|
237 |
+IFS=$as_save_IFS |
|
238 |
+ |
|
239 |
+ |
|
240 |
+ if test "x$CONFIG_SHELL" != x; then : |
|
241 |
+ export CONFIG_SHELL |
|
242 |
+ # We cannot yet assume a decent shell, so we have to provide a |
|
243 |
+# neutralization value for shells without unset; and this also |
|
244 |
+# works around shells that cannot unset nonexistent variables. |
|
245 |
+# Preserve -v and -x to the replacement shell. |
|
246 |
+BASH_ENV=/dev/null |
|
247 |
+ENV=/dev/null |
|
248 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
249 |
+case $- in # (((( |
|
250 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
|
251 |
+ *v* ) as_opts=-v ;; |
|
252 |
+ *x* ) as_opts=-x ;; |
|
253 |
+ * ) as_opts= ;; |
|
254 |
+esac |
|
255 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
|
257 |
+# out after a failed `exec'. |
|
258 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 |
+exit 255 |
|
260 |
+fi |
|
261 |
+ |
|
262 |
+ if test x$as_have_required = xno; then : |
|
263 |
+ $as_echo "$0: This script requires a shell more modern than all" |
|
264 |
+ $as_echo "$0: the shells that I found on your system." |
|
265 |
+ if test x${ZSH_VERSION+set} = xset ; then |
|
266 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
267 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
268 |
+ else |
|
269 |
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS |
|
270 |
+$0: about your system, including any error possibly output |
|
271 |
+$0: before this message. Then install a modern shell, or |
|
272 |
+$0: manually run the script under such a shell if you do |
|
273 |
+$0: have one." |
|
274 |
+ fi |
|
275 |
+ exit 1 |
|
276 |
+fi |
|
277 |
+fi |
|
278 |
+fi |
|
279 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
|
280 |
+export SHELL |
|
281 |
+# Unset more variables known to interfere with behavior of common tools. |
|
282 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
|
283 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
|
284 |
+ |
|
285 |
+## --------------------- ## |
|
286 |
+## M4sh Shell Functions. ## |
|
287 |
+## --------------------- ## |
|
288 |
+# as_fn_unset VAR |
|
289 |
+# --------------- |
|
290 |
+# Portably unset VAR. |
|
291 |
+as_fn_unset () |
|
292 |
+{ |
|
293 |
+ { eval $1=; unset $1;} |
|
294 |
+} |
|
295 |
+as_unset=as_fn_unset |
|
296 |
+ |
|
297 |
+# as_fn_set_status STATUS |
|
298 |
+# ----------------------- |
|
299 |
+# Set $? to STATUS, without forking. |
|
300 |
+as_fn_set_status () |
|
301 |
+{ |
|
302 |
+ return $1 |
|
303 |
+} # as_fn_set_status |
|
304 |
+ |
|
305 |
+# as_fn_exit STATUS |
|
306 |
+# ----------------- |
|
307 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
308 |
+as_fn_exit () |
|
309 |
+{ |
|
310 |
+ set +e |
|
311 |
+ as_fn_set_status $1 |
|
312 |
+ exit $1 |
|
313 |
+} # as_fn_exit |
|
314 |
+ |
|
315 |
+# as_fn_mkdir_p |
|
316 |
+# ------------- |
|
317 |
+# Create "$as_dir" as a directory, including parents if necessary. |
|
318 |
+as_fn_mkdir_p () |
|
319 |
+{ |
|
320 |
+ |
|
321 |
+ case $as_dir in #( |
|
322 |
+ -*) as_dir=./$as_dir;; |
|
323 |
+ esac |
|
324 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
|
325 |
+ as_dirs= |
|
326 |
+ while :; do |
|
327 |
+ case $as_dir in #( |
|
328 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
329 |
+ *) as_qdir=$as_dir;; |
|
330 |
+ esac |
|
331 |
+ as_dirs="'$as_qdir' $as_dirs" |
|
332 |
+ as_dir=`$as_dirname -- "$as_dir" || |
|
333 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
334 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
335 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
|
336 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
337 |
+$as_echo X"$as_dir" | |
|
338 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
339 |
+ s//\1/ |
|
340 |
+ q |
|
341 |
+ } |
|
342 |
+ /^X\(\/\/\)[^/].*/{ |
|
343 |
+ s//\1/ |
|
344 |
+ q |
|
345 |
+ } |
|
346 |
+ /^X\(\/\/\)$/{ |
|
347 |
+ s//\1/ |
|
348 |
+ q |
|
349 |
+ } |
|
350 |
+ /^X\(\/\).*/{ |
|
351 |
+ s//\1/ |
|
352 |
+ q |
|
353 |
+ } |
|
354 |
+ s/.*/./; q'` |
|
355 |
+ test -d "$as_dir" && break |
|
356 |
+ done |
|
357 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
358 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
359 |
+ |
|
360 |
+ |
|
361 |
+} # as_fn_mkdir_p |
|
362 |
+ |
|
363 |
+# as_fn_executable_p FILE |
|
364 |
+# ----------------------- |
|
365 |
+# Test if FILE is an executable regular file. |
|
366 |
+as_fn_executable_p () |
|
367 |
+{ |
|
368 |
+ test -f "$1" && test -x "$1" |
|
369 |
+} # as_fn_executable_p |
|
370 |
+# as_fn_append VAR VALUE |
|
371 |
+# ---------------------- |
|
372 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
373 |
+# advantage of any shell optimizations that allow amortized linear growth over |
|
374 |
+# repeated appends, instead of the typical quadratic growth present in naive |
|
375 |
+# implementations. |
|
376 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
377 |
+ eval 'as_fn_append () |
|
378 |
+ { |
|
379 |
+ eval $1+=\$2 |
|
380 |
+ }' |
|
381 |
+else |
|
382 |
+ as_fn_append () |
|
383 |
+ { |
|
384 |
+ eval $1=\$$1\$2 |
|
385 |
+ } |
|
386 |
+fi # as_fn_append |
|
387 |
+ |
|
388 |
+# as_fn_arith ARG... |
|
389 |
+# ------------------ |
|
390 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
391 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
392 |
+# must be portable across $(()) and expr. |
|
393 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
394 |
+ eval 'as_fn_arith () |
|
395 |
+ { |
|
396 |
+ as_val=$(( $* )) |
|
397 |
+ }' |
|
398 |
+else |
|
399 |
+ as_fn_arith () |
|
400 |
+ { |
|
401 |
+ as_val=`expr "$@" || test $? -eq 1` |
|
402 |
+ } |
|
403 |
+fi # as_fn_arith |
|
404 |
+ |
|
405 |
+ |
|
406 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
407 |
+# ---------------------------------------- |
|
408 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
409 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
410 |
+# script with STATUS, using 1 if that was 0. |
|
411 |
+as_fn_error () |
|
412 |
+{ |
|
413 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
|
414 |
+ if test "$4"; then |
|
415 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
416 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
417 |
+ fi |
|
418 |
+ $as_echo "$as_me: error: $2" >&2 |
|
419 |
+ as_fn_exit $as_status |
|
420 |
+} # as_fn_error |
|
421 |
+ |
|
422 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
|
423 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
424 |
+ as_expr=expr |
|
425 |
+else |
|
426 |
+ as_expr=false |
|
427 |
+fi |
|
428 |
+ |
|
429 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
430 |
+ as_basename=basename |
|
431 |
+else |
|
432 |
+ as_basename=false |
|
433 |
+fi |
|
434 |
+ |
|
435 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
436 |
+ as_dirname=dirname |
|
437 |
+else |
|
438 |
+ as_dirname=false |
|
439 |
+fi |
|
440 |
+ |
|
441 |
+as_me=`$as_basename -- "$0" || |
|
442 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
443 |
+ X"$0" : 'X\(//\)$' \| \ |
|
444 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
445 |
+$as_echo X/"$0" | |
|
446 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
447 |
+ s//\1/ |
|
448 |
+ q |
|
449 |
+ } |
|
450 |
+ /^X\/\(\/\/\)$/{ |
|
451 |
+ s//\1/ |
|
452 |
+ q |
|
453 |
+ } |
|
454 |
+ /^X\/\(\/\).*/{ |
|
455 |
+ s//\1/ |
|
456 |
+ q |
|
457 |
+ } |
|
458 |
+ s/.*/./; q'` |
|
459 |
+ |
|
460 |
+# Avoid depending upon Character Ranges. |
|
461 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
462 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
463 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
464 |
+as_cr_digits='0123456789' |
|
465 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
466 |
+ |
|
467 |
+ |
|
468 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
469 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
470 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
471 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
472 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
473 |
+ sed -n ' |
|
474 |
+ p |
|
475 |
+ /[$]LINENO/= |
|
476 |
+ ' <$as_myself | |
|
477 |
+ sed ' |
|
478 |
+ s/[$]LINENO.*/&-/ |
|
479 |
+ t lineno |
|
480 |
+ b |
|
481 |
+ :lineno |
|
482 |
+ N |
|
483 |
+ :loop |
|
484 |
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
485 |
+ t loop |
|
486 |
+ s/-\n.*// |
|
487 |
+ ' >$as_me.lineno && |
|
488 |
+ chmod +x "$as_me.lineno" || |
|
489 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
490 |
+ |
|
491 |
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
492 |
+ # already done that, so ensure we don't try to do so again and fall |
|
493 |
+ # in an infinite loop. This has already happened in practice. |
|
494 |
+ _as_can_reexec=no; export _as_can_reexec |
|
495 |
+ # Don't try to exec as it changes $[0], causing all sort of problems |
|
496 |
+ # (the dirname of $[0] is not the place where we might find the |
|
497 |
+ # original and so on. Autoconf is especially sensitive to this). |
|
498 |
+ . "./$as_me.lineno" |
|
499 |
+ # Exit status is that of the last command. |
|
500 |
+ exit |
|
501 |
+} |
|
502 |
+ |
|
503 |
+ECHO_C= ECHO_N= ECHO_T= |
|
504 |
+case `echo -n x` in #((((( |
|
505 |
+-n*) |
|
506 |
+ case `echo 'xy\c'` in |
|
507 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
508 |
+ xy) ECHO_C='\c';; |
|
509 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
510 |
+ ECHO_T=' ';; |
|
511 |
+ esac;; |
|
512 |
+*) |
|
513 |
+ ECHO_N='-n';; |
|
514 |
+esac |
|
515 |
+ |
|
516 |
+rm -f conf$$ conf$$.exe conf$$.file |
|
517 |
+if test -d conf$$.dir; then |
|
518 |
+ rm -f conf$$.dir/conf$$.file |
|
519 |
+else |
|
520 |
+ rm -f conf$$.dir |
|
521 |
+ mkdir conf$$.dir 2>/dev/null |
|
522 |
+fi |
|
523 |
+if (echo >conf$$.file) 2>/dev/null; then |
|
524 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
525 |
+ as_ln_s='ln -s' |
|
526 |
+ # ... but there are two gotchas: |
|
527 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
528 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
529 |
+ # In both cases, we have to default to `cp -pR'. |
|
530 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
531 |
+ as_ln_s='cp -pR' |
|
532 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
|
533 |
+ as_ln_s=ln |
|
534 |
+ else |
|
535 |
+ as_ln_s='cp -pR' |
|
536 |
+ fi |
|
537 |
+else |
|
538 |
+ as_ln_s='cp -pR' |
|
539 |
+fi |
|
540 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
541 |
+rmdir conf$$.dir 2>/dev/null |
|
542 |
+ |
|
543 |
+if mkdir -p . 2>/dev/null; then |
|
544 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
|
545 |
+else |
|
546 |
+ test -d ./-p && rmdir ./-p |
|
547 |
+ as_mkdir_p=false |
|
548 |
+fi |
|
549 |
+ |
|
550 |
+as_test_x='test -x' |
|
551 |
+as_executable_p=as_fn_executable_p |
|
552 |
+ |
|
553 |
+# Sed expression to map a string onto a valid CPP name. |
|
554 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
555 |
+ |
|
556 |
+# Sed expression to map a string onto a valid variable name. |
|
557 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
558 |
+ |
|
559 |
+ |
|
560 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
|
561 |
+exec 6>&1 |
|
562 |
+ |
|
563 |
+# Name of the host. |
|
564 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
565 |
+# so uname gets run too. |
|
566 |
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
567 |
+ |
|
568 |
+# |
|
569 |
+# Initializations. |
|
570 |
+# |
|
571 |
+ac_default_prefix=/usr/local |
|
572 |
+ac_clean_files= |
|
573 |
+ac_config_libobj_dir=. |
|
574 |
+LIBOBJS= |
|
575 |
+cross_compiling=no |
|
576 |
+subdirs= |
|
577 |
+MFLAGS= |
|
578 |
+MAKEFLAGS= |
|
579 |
+ |
|
580 |
+# Identity of this package. |
|
581 |
+PACKAGE_NAME='FULL-PACKAGE-NAME' |
|
582 |
+PACKAGE_TARNAME='full-package-name' |
|
583 |
+PACKAGE_VERSION='VERSION' |
|
584 |
+PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' |
|
585 |
+PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' |
|
586 |
+PACKAGE_URL='' |
|
587 |
+ |
|
588 |
+ac_unique_file="hello.c" |
|
589 |
+# Factoring default headers for most tests. |
|
590 |
+ac_includes_default="\ |
|
591 |
+#include <stdio.h> |
|
592 |
+#ifdef HAVE_SYS_TYPES_H |
|
593 |
+# include <sys/types.h> |
|
594 |
+#endif |
|
595 |
+#ifdef HAVE_SYS_STAT_H |
|
596 |
+# include <sys/stat.h> |
|
597 |
+#endif |
|
598 |
+#ifdef STDC_HEADERS |
|
599 |
+# include <stdlib.h> |
|
600 |
+# include <stddef.h> |
|
601 |
+#else |
|
602 |
+# ifdef HAVE_STDLIB_H |
|
603 |
+# include <stdlib.h> |
|
604 |
+# endif |
|
605 |
+#endif |
|
606 |
+#ifdef HAVE_STRING_H |
|
607 |
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
608 |
+# include <memory.h> |
|
609 |
+# endif |
|
610 |
+# include <string.h> |
|
611 |
+#endif |
|
612 |
+#ifdef HAVE_STRINGS_H |
|
613 |
+# include <strings.h> |
|
614 |
+#endif |
|
615 |
+#ifdef HAVE_INTTYPES_H |
|
616 |
+# include <inttypes.h> |
|
617 |
+#endif |
|
618 |
+#ifdef HAVE_STDINT_H |
|
619 |
+# include <stdint.h> |
|
620 |
+#endif |
|
621 |
+#ifdef HAVE_UNISTD_H |
|
622 |
+# include <unistd.h> |
|
623 |
+#endif" |
|
624 |
+ |
|
625 |
+ac_subst_vars='am__EXEEXT_FALSE |
|
626 |
+am__EXEEXT_TRUE |
|
627 |
+LTLIBOBJS |
|
628 |
+LIBOBJS |
|
629 |
+EGREP |
|
630 |
+GREP |
|
631 |
+CPP |
|
632 |
+am__fastdepCC_FALSE |
|
633 |
+am__fastdepCC_TRUE |
|
634 |
+CCDEPMODE |
|
635 |
+am__nodep |
|
636 |
+AMDEPBACKSLASH |
|
637 |
+AMDEP_FALSE |
|
638 |
+AMDEP_TRUE |
|
639 |
+am__quote |
|
640 |
+am__include |
|
641 |
+DEPDIR |
|
642 |
+OBJEXT |
|
643 |
+EXEEXT |
|
644 |
+ac_ct_CC |
|
645 |
+CPPFLAGS |
|
646 |
+LDFLAGS |
|
647 |
+CFLAGS |
|
648 |
+CC |
|
649 |
+AM_BACKSLASH |
|
650 |
+AM_DEFAULT_VERBOSITY |
|
651 |
+AM_DEFAULT_V |
|
652 |
+AM_V |
|
653 |
+am__untar |
|
654 |
+am__tar |
|
655 |
+AMTAR |
|
656 |
+am__leading_dot |
|
657 |
+SET_MAKE |
|
658 |
+AWK |
|
659 |
+mkdir_p |
|
660 |
+MKDIR_P |
|
661 |
+INSTALL_STRIP_PROGRAM |
|
662 |
+STRIP |
|
663 |
+install_sh |
|
664 |
+MAKEINFO |
|
665 |
+AUTOHEADER |
|
666 |
+AUTOMAKE |
|
667 |
+AUTOCONF |
|
668 |
+ACLOCAL |
|
669 |
+VERSION |
|
670 |
+PACKAGE |
|
671 |
+CYGPATH_W |
|
672 |
+am__isrc |
|
673 |
+INSTALL_DATA |
|
674 |
+INSTALL_SCRIPT |
|
675 |
+INSTALL_PROGRAM |
|
676 |
+target_alias |
|
677 |
+host_alias |
|
678 |
+build_alias |
|
679 |
+LIBS |
|
680 |
+ECHO_T |
|
681 |
+ECHO_N |
|
682 |
+ECHO_C |
|
683 |
+DEFS |
|
684 |
+mandir |
|
685 |
+localedir |
|
686 |
+libdir |
|
687 |
+psdir |
|
688 |
+pdfdir |
|
689 |
+dvidir |
|
690 |
+htmldir |
|
691 |
+infodir |
|
692 |
+docdir |
|
693 |
+oldincludedir |
|
694 |
+includedir |
|
695 |
+localstatedir |
|
696 |
+sharedstatedir |
|
697 |
+sysconfdir |
|
698 |
+datadir |
|
699 |
+datarootdir |
|
700 |
+libexecdir |
|
701 |
+sbindir |
|
702 |
+bindir |
|
703 |
+program_transform_name |
|
704 |
+prefix |
|
705 |
+exec_prefix |
|
706 |
+PACKAGE_URL |
|
707 |
+PACKAGE_BUGREPORT |
|
708 |
+PACKAGE_STRING |
|
709 |
+PACKAGE_VERSION |
|
710 |
+PACKAGE_TARNAME |
|
711 |
+PACKAGE_NAME |
|
712 |
+PATH_SEPARATOR |
|
713 |
+SHELL' |
|
714 |
+ac_subst_files='' |
|
715 |
+ac_user_opts=' |
|
716 |
+enable_option_checking |
|
717 |
+enable_silent_rules |
|
718 |
+enable_dependency_tracking |
|
719 |
+' |
|
720 |
+ ac_precious_vars='build_alias |
|
721 |
+host_alias |
|
722 |
+target_alias |
|
723 |
+CC |
|
724 |
+CFLAGS |
|
725 |
+LDFLAGS |
|
726 |
+LIBS |
|
727 |
+CPPFLAGS |
|
728 |
+CPP' |
|
729 |
+ |
|
730 |
+ |
|
731 |
+# Initialize some variables set by options. |
|
732 |
+ac_init_help= |
|
733 |
+ac_init_version=false |
|
734 |
+ac_unrecognized_opts= |
|
735 |
+ac_unrecognized_sep= |
|
736 |
+# The variables have the same names as the options, with |
|
737 |
+# dashes changed to underlines. |
|
738 |
+cache_file=/dev/null |
|
739 |
+exec_prefix=NONE |
|
740 |
+no_create= |
|
741 |
+no_recursion= |
|
742 |
+prefix=NONE |
|
743 |
+program_prefix=NONE |
|
744 |
+program_suffix=NONE |
|
745 |
+program_transform_name=s,x,x, |
|
746 |
+silent= |
|
747 |
+site= |
|
748 |
+srcdir= |
|
749 |
+verbose= |
|
750 |
+x_includes=NONE |
|
751 |
+x_libraries=NONE |
|
752 |
+ |
|
753 |
+# Installation directory options. |
|
754 |
+# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
755 |
+# and all the variables that are supposed to be based on exec_prefix |
|
756 |
+# by default will actually change. |
|
757 |
+# Use braces instead of parens because sh, perl, etc. also accept them. |
|
758 |
+# (The list follows the same order as the GNU Coding Standards.) |
|
759 |
+bindir='${exec_prefix}/bin' |
|
760 |
+sbindir='${exec_prefix}/sbin' |
|
761 |
+libexecdir='${exec_prefix}/libexec' |
|
762 |
+datarootdir='${prefix}/share' |
|
763 |
+datadir='${datarootdir}' |
|
764 |
+sysconfdir='${prefix}/etc' |
|
765 |
+sharedstatedir='${prefix}/com' |
|
766 |
+localstatedir='${prefix}/var' |
|
767 |
+includedir='${prefix}/include' |
|
768 |
+oldincludedir='/usr/include' |
|
769 |
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
770 |
+infodir='${datarootdir}/info' |
|
771 |
+htmldir='${docdir}' |
|
772 |
+dvidir='${docdir}' |
|
773 |
+pdfdir='${docdir}' |
|
774 |
+psdir='${docdir}' |
|
775 |
+libdir='${exec_prefix}/lib' |
|
776 |
+localedir='${datarootdir}/locale' |
|
777 |
+mandir='${datarootdir}/man' |
|
778 |
+ |
|
779 |
+ac_prev= |
|
780 |
+ac_dashdash= |
|
781 |
+for ac_option |
|
782 |
+do |
|
783 |
+ # If the previous option needs an argument, assign it. |
|
784 |
+ if test -n "$ac_prev"; then |
|
785 |
+ eval $ac_prev=\$ac_option |
|
786 |
+ ac_prev= |
|
787 |
+ continue |
|
788 |
+ fi |
|
789 |
+ |
|
790 |
+ case $ac_option in |
|
791 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
792 |
+ *=) ac_optarg= ;; |
|
793 |
+ *) ac_optarg=yes ;; |
|
794 |
+ esac |
|
795 |
+ |
|
796 |
+ # Accept the important Cygnus configure options, so we can diagnose typos. |
|
797 |
+ |
|
798 |
+ case $ac_dashdash$ac_option in |
|
799 |
+ --) |
|
800 |
+ ac_dashdash=yes ;; |
|
801 |
+ |
|
802 |
+ -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
803 |
+ ac_prev=bindir ;; |
|
804 |
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
805 |
+ bindir=$ac_optarg ;; |
|
806 |
+ |
|
807 |
+ -build | --build | --buil | --bui | --bu) |
|
808 |
+ ac_prev=build_alias ;; |
|
809 |
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
810 |
+ build_alias=$ac_optarg ;; |
|
811 |
+ |
|
812 |
+ -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
813 |
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
814 |
+ ac_prev=cache_file ;; |
|
815 |
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
816 |
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
817 |
+ cache_file=$ac_optarg ;; |
|
818 |
+ |
|
819 |
+ --config-cache | -C) |
|
820 |
+ cache_file=config.cache ;; |
|
821 |
+ |
|
822 |
+ -datadir | --datadir | --datadi | --datad) |
|
823 |
+ ac_prev=datadir ;; |
|
824 |
+ -datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
825 |
+ datadir=$ac_optarg ;; |
|
826 |
+ |
|
827 |
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
828 |
+ | --dataroo | --dataro | --datar) |
|
829 |
+ ac_prev=datarootdir ;; |
|
830 |
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
831 |
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
832 |
+ datarootdir=$ac_optarg ;; |
|
833 |
+ |
|
834 |
+ -disable-* | --disable-*) |
|
835 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
836 |
+ # Reject names that are not valid shell variable names. |
|
837 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
838 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
|
839 |
+ ac_useropt_orig=$ac_useropt |
|
840 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
841 |
+ case $ac_user_opts in |
|
842 |
+ *" |
|
843 |
+"enable_$ac_useropt" |
|
844 |
+"*) ;; |
|
845 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
846 |
+ ac_unrecognized_sep=', ';; |
|
847 |
+ esac |
|
848 |
+ eval enable_$ac_useropt=no ;; |
|
849 |
+ |
|
850 |
+ -docdir | --docdir | --docdi | --doc | --do) |
|
851 |
+ ac_prev=docdir ;; |
|
852 |
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
853 |
+ docdir=$ac_optarg ;; |
|
854 |
+ |
|
855 |
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
856 |
+ ac_prev=dvidir ;; |
|
857 |
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
858 |
+ dvidir=$ac_optarg ;; |
|
859 |
+ |
|
860 |
+ -enable-* | --enable-*) |
|
861 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
862 |
+ # Reject names that are not valid shell variable names. |
|
863 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
864 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
|
865 |
+ ac_useropt_orig=$ac_useropt |
|
866 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
867 |
+ case $ac_user_opts in |
|
868 |
+ *" |
|
869 |
+"enable_$ac_useropt" |
|
870 |
+"*) ;; |
|
871 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
872 |
+ ac_unrecognized_sep=', ';; |
|
873 |
+ esac |
|
874 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
|
875 |
+ |
|
876 |
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
877 |
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
878 |
+ | --exec | --exe | --ex) |
|
879 |
+ ac_prev=exec_prefix ;; |
|
880 |
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
881 |
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
882 |
+ | --exec=* | --exe=* | --ex=*) |
|
883 |
+ exec_prefix=$ac_optarg ;; |
|
884 |
+ |
|
885 |
+ -gas | --gas | --ga | --g) |
|
886 |
+ # Obsolete; use --with-gas. |
|
887 |
+ with_gas=yes ;; |
|
888 |
+ |
|
889 |
+ -help | --help | --hel | --he | -h) |
|
890 |
+ ac_init_help=long ;; |
|
891 |
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
892 |
+ ac_init_help=recursive ;; |
|
893 |
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
894 |
+ ac_init_help=short ;; |
|
895 |
+ |
|
896 |
+ -host | --host | --hos | --ho) |
|
897 |
+ ac_prev=host_alias ;; |
|
898 |
+ -host=* | --host=* | --hos=* | --ho=*) |
|
899 |
+ host_alias=$ac_optarg ;; |
|
900 |
+ |
|
901 |
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
902 |
+ ac_prev=htmldir ;; |
|
903 |
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
904 |
+ | --ht=*) |
|
905 |
+ htmldir=$ac_optarg ;; |
|
906 |
+ |
|
907 |
+ -includedir | --includedir | --includedi | --included | --include \ |
|
908 |
+ | --includ | --inclu | --incl | --inc) |
|
909 |
+ ac_prev=includedir ;; |
|
910 |
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
911 |
+ | --includ=* | --inclu=* | --incl=* | --inc=*) |
|
912 |
+ includedir=$ac_optarg ;; |
|
913 |
+ |
|
914 |
+ -infodir | --infodir | --infodi | --infod | --info | --inf) |
|
915 |
+ ac_prev=infodir ;; |
|
916 |
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
917 |
+ infodir=$ac_optarg ;; |
|
918 |
+ |
|
919 |
+ -libdir | --libdir | --libdi | --libd) |
|
920 |
+ ac_prev=libdir ;; |
|
921 |
+ -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
922 |
+ libdir=$ac_optarg ;; |
|
923 |
+ |
|
924 |
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
925 |
+ | --libexe | --libex | --libe) |
|
926 |
+ ac_prev=libexecdir ;; |
|
927 |
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
928 |
+ | --libexe=* | --libex=* | --libe=*) |
|
929 |
+ libexecdir=$ac_optarg ;; |
|
930 |
+ |
|
931 |
+ -localedir | --localedir | --localedi | --localed | --locale) |
|
932 |
+ ac_prev=localedir ;; |
|
933 |
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
934 |
+ localedir=$ac_optarg ;; |
|
935 |
+ |
|
936 |
+ -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
937 |
+ | --localstate | --localstat | --localsta | --localst | --locals) |
|
938 |
+ ac_prev=localstatedir ;; |
|
939 |
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
940 |
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
941 |
+ localstatedir=$ac_optarg ;; |
|
942 |
+ |
|
943 |
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
944 |
+ ac_prev=mandir ;; |
|
945 |
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
946 |
+ mandir=$ac_optarg ;; |
|
947 |
+ |
|
948 |
+ -nfp | --nfp | --nf) |
|
949 |
+ # Obsolete; use --without-fp. |
|
950 |
+ with_fp=no ;; |
|
951 |
+ |
|
952 |
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
953 |
+ | --no-cr | --no-c | -n) |
|
954 |
+ no_create=yes ;; |
|
955 |
+ |
|
956 |
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
957 |
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
958 |
+ no_recursion=yes ;; |
|
959 |
+ |
|
960 |
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
961 |
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
962 |
+ | --oldin | --oldi | --old | --ol | --o) |
|
963 |
+ ac_prev=oldincludedir ;; |
|
964 |
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
965 |
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
966 |
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
967 |
+ oldincludedir=$ac_optarg ;; |
|
968 |
+ |
|
969 |
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
970 |
+ ac_prev=prefix ;; |
|
971 |
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
972 |
+ prefix=$ac_optarg ;; |
|
973 |
+ |
|
974 |
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
975 |
+ | --program-pre | --program-pr | --program-p) |
|
976 |
+ ac_prev=program_prefix ;; |
|
977 |
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
978 |
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
979 |
+ program_prefix=$ac_optarg ;; |
|
980 |
+ |
|
981 |
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
982 |
+ | --program-suf | --program-su | --program-s) |
|
983 |
+ ac_prev=program_suffix ;; |
|
984 |
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
985 |
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
986 |
+ program_suffix=$ac_optarg ;; |
|
987 |
+ |
|
988 |
+ -program-transform-name | --program-transform-name \ |
|
989 |
+ | --program-transform-nam | --program-transform-na \ |
|
990 |
+ | --program-transform-n | --program-transform- \ |
|
991 |
+ | --program-transform | --program-transfor \ |
|
992 |
+ | --program-transfo | --program-transf \ |
|
993 |
+ | --program-trans | --program-tran \ |
|
994 |
+ | --progr-tra | --program-tr | --program-t) |
|
995 |
+ ac_prev=program_transform_name ;; |
|
996 |
+ -program-transform-name=* | --program-transform-name=* \ |
|
997 |
+ | --program-transform-nam=* | --program-transform-na=* \ |
|
998 |
+ | --program-transform-n=* | --program-transform-=* \ |
|
999 |
+ | --program-transform=* | --program-transfor=* \ |
|
1000 |
+ | --program-transfo=* | --program-transf=* \ |
|
1001 |
+ | --program-trans=* | --program-tran=* \ |
|
1002 |
+ | --progr-tra=* | --program-tr=* | --program-t=*) |
|
1003 |
+ program_transform_name=$ac_optarg ;; |
|
1004 |
+ |
|
1005 |
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1006 |
+ ac_prev=pdfdir ;; |
|
1007 |
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1008 |
+ pdfdir=$ac_optarg ;; |
|
1009 |
+ |
|
1010 |
+ -psdir | --psdir | --psdi | --psd | --ps) |
|
1011 |
+ ac_prev=psdir ;; |
|
1012 |
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1013 |
+ psdir=$ac_optarg ;; |
|
1014 |
+ |
|
1015 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1016 |
+ | -silent | --silent | --silen | --sile | --sil) |
|
1017 |
+ silent=yes ;; |
|
1018 |
+ |
|
1019 |
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1020 |
+ ac_prev=sbindir ;; |
|
1021 |
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1022 |
+ | --sbi=* | --sb=*) |
|
1023 |
+ sbindir=$ac_optarg ;; |
|
1024 |
+ |
|
1025 |
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1026 |
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1027 |
+ | --sharedst | --shareds | --shared | --share | --shar \ |
|
1028 |
+ | --sha | --sh) |
|
1029 |
+ ac_prev=sharedstatedir ;; |
|
1030 |
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1031 |
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1032 |
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1033 |
+ | --sha=* | --sh=*) |
|
1034 |
+ sharedstatedir=$ac_optarg ;; |
|
1035 |
+ |
|
1036 |
+ -site | --site | --sit) |
|
1037 |
+ ac_prev=site ;; |
|
1038 |
+ -site=* | --site=* | --sit=*) |
|
1039 |
+ site=$ac_optarg ;; |
|
1040 |
+ |
|
1041 |
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1042 |
+ ac_prev=srcdir ;; |
|
1043 |
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1044 |
+ srcdir=$ac_optarg ;; |
|
1045 |
+ |
|
1046 |
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1047 |
+ | --syscon | --sysco | --sysc | --sys | --sy) |
|
1048 |
+ ac_prev=sysconfdir ;; |
|
1049 |
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1050 |
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1051 |
+ sysconfdir=$ac_optarg ;; |
|
1052 |
+ |
|
1053 |
+ -target | --target | --targe | --targ | --tar | --ta | --t) |
|
1054 |
+ ac_prev=target_alias ;; |
|
1055 |
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1056 |
+ target_alias=$ac_optarg ;; |
|
1057 |
+ |
|
1058 |
+ -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1059 |
+ verbose=yes ;; |
|
1060 |
+ |
|
1061 |
+ -version | --version | --versio | --versi | --vers | -V) |
|
1062 |
+ ac_init_version=: ;; |
|
1063 |
+ |
|
1064 |
+ -with-* | --with-*) |
|
1065 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1066 |
+ # Reject names that are not valid shell variable names. |
|
1067 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1068 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
|
1069 |
+ ac_useropt_orig=$ac_useropt |
|
1070 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1071 |
+ case $ac_user_opts in |
|
1072 |
+ *" |
|
1073 |
+"with_$ac_useropt" |
|
1074 |
+"*) ;; |
|
1075 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1076 |
+ ac_unrecognized_sep=', ';; |
|
1077 |
+ esac |
|
1078 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
|
1079 |
+ |
|
1080 |
+ -without-* | --without-*) |
|
1081 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1082 |
+ # Reject names that are not valid shell variable names. |
|
1083 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1084 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
|
1085 |
+ ac_useropt_orig=$ac_useropt |
|
1086 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1087 |
+ case $ac_user_opts in |
|
1088 |
+ *" |
|
1089 |
+"with_$ac_useropt" |
|
1090 |
+"*) ;; |
|
1091 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1092 |
+ ac_unrecognized_sep=', ';; |
|
1093 |
+ esac |
|
1094 |
+ eval with_$ac_useropt=no ;; |
|
1095 |
+ |
|
1096 |
+ --x) |
|
1097 |
+ # Obsolete; use --with-x. |
|
1098 |
+ with_x=yes ;; |
|
1099 |
+ |
|
1100 |
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1101 |
+ | --x-incl | --x-inc | --x-in | --x-i) |
|
1102 |
+ ac_prev=x_includes ;; |
|
1103 |
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1104 |
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1105 |
+ x_includes=$ac_optarg ;; |
|
1106 |
+ |
|
1107 |
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1108 |
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1109 |
+ ac_prev=x_libraries ;; |
|
1110 |
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1111 |
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1112 |
+ x_libraries=$ac_optarg ;; |
|
1113 |
+ |
|
1114 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1115 |
+Try \`$0 --help' for more information" |
|
1116 |
+ ;; |
|
1117 |
+ |
|
1118 |
+ *=*) |
|
1119 |
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1120 |
+ # Reject names that are not valid shell variable names. |
|
1121 |
+ case $ac_envvar in #( |
|
1122 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1123 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1124 |
+ esac |
|
1125 |
+ eval $ac_envvar=\$ac_optarg |
|
1126 |
+ export $ac_envvar ;; |
|
1127 |
+ |
|
1128 |
+ *) |
|
1129 |
+ # FIXME: should be removed in autoconf 3.0. |
|
1130 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1131 |
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1132 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1133 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1134 |
+ ;; |
|
1135 |
+ |
|
1136 |
+ esac |
|
1137 |
+done |
|
1138 |
+ |
|
1139 |
+if test -n "$ac_prev"; then |
|
1140 |
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1141 |
+ as_fn_error $? "missing argument to $ac_option" |
|
1142 |
+fi |
|
1143 |
+ |
|
1144 |
+if test -n "$ac_unrecognized_opts"; then |
|
1145 |
+ case $enable_option_checking in |
|
1146 |
+ no) ;; |
|
1147 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1148 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1149 |
+ esac |
|
1150 |
+fi |
|
1151 |
+ |
|
1152 |
+# Check all directory arguments for consistency. |
|
1153 |
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1154 |
+ datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1155 |
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1156 |
+ libdir localedir mandir |
|
1157 |
+do |
|
1158 |
+ eval ac_val=\$$ac_var |
|
1159 |
+ # Remove trailing slashes. |
|
1160 |
+ case $ac_val in |
|
1161 |
+ */ ) |
|
1162 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1163 |
+ eval $ac_var=\$ac_val;; |
|
1164 |
+ esac |
|
1165 |
+ # Be sure to have absolute directory names. |
|
1166 |
+ case $ac_val in |
|
1167 |
+ [\\/$]* | ?:[\\/]* ) continue;; |
|
1168 |
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1169 |
+ esac |
|
1170 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1171 |
+done |
|
1172 |
+ |
|
1173 |
+# There might be people who depend on the old broken behavior: `$host' |
|
1174 |
+# used to hold the argument of --host etc. |
|
1175 |
+# FIXME: To remove some day. |
|
1176 |
+build=$build_alias |
|
1177 |
+host=$host_alias |
|
1178 |
+target=$target_alias |
|
1179 |
+ |
|
1180 |
+# FIXME: To remove some day. |
|
1181 |
+if test "x$host_alias" != x; then |
|
1182 |
+ if test "x$build_alias" = x; then |
|
1183 |
+ cross_compiling=maybe |
|
1184 |
+ elif test "x$build_alias" != "x$host_alias"; then |
|
1185 |
+ cross_compiling=yes |
|
1186 |
+ fi |
|
1187 |
+fi |
|
1188 |
+ |
|
1189 |
+ac_tool_prefix= |
|
1190 |
+test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1191 |
+ |
|
1192 |
+test "$silent" = yes && exec 6>/dev/null |
|
1193 |
+ |
|
1194 |
+ |
|
1195 |
+ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1196 |
+ac_ls_di=`ls -di .` && |
|
1197 |
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1198 |
+ as_fn_error $? "working directory cannot be determined" |
|
1199 |
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1200 |
+ as_fn_error $? "pwd does not report name of working directory" |
|
1201 |
+ |
|
1202 |
+ |
|
1203 |
+# Find the source files, if location was not specified. |
|
1204 |
+if test -z "$srcdir"; then |
|
1205 |
+ ac_srcdir_defaulted=yes |
|
1206 |
+ # Try the directory containing this script, then the parent directory. |
|
1207 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
|
1208 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1209 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1210 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
|
1211 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1212 |
+$as_echo X"$as_myself" | |
|
1213 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1214 |
+ s//\1/ |
|
1215 |
+ q |
|
1216 |
+ } |
|
1217 |
+ /^X\(\/\/\)[^/].*/{ |
|
1218 |
+ s//\1/ |
|
1219 |
+ q |
|
1220 |
+ } |
|
1221 |
+ /^X\(\/\/\)$/{ |
|
1222 |
+ s//\1/ |
|
1223 |
+ q |
|
1224 |
+ } |
|
1225 |
+ /^X\(\/\).*/{ |
|
1226 |
+ s//\1/ |
|
1227 |
+ q |
|
1228 |
+ } |
|
1229 |
+ s/.*/./; q'` |
|
1230 |
+ srcdir=$ac_confdir |
|
1231 |
+ if test ! -r "$srcdir/$ac_unique_file"; then |
|
1232 |
+ srcdir=.. |
|
1233 |
+ fi |
|
1234 |
+else |
|
1235 |
+ ac_srcdir_defaulted=no |
|
1236 |
+fi |
|
1237 |
+if test ! -r "$srcdir/$ac_unique_file"; then |
|
1238 |
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1239 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1240 |
+fi |
|
1241 |
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1242 |
+ac_abs_confdir=`( |
|
1243 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1244 |
+ pwd)` |
|
1245 |
+# When building in place, set srcdir=. |
|
1246 |
+if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1247 |
+ srcdir=. |
|
1248 |
+fi |
|
1249 |
+# Remove unnecessary trailing slashes from srcdir. |
|
1250 |
+# Double slashes in file names in object file debugging info |
|
1251 |
+# mess up M-x gdb in Emacs. |
|
1252 |
+case $srcdir in |
|
1253 |
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1254 |
+esac |
|
1255 |
+for ac_var in $ac_precious_vars; do |
|
1256 |
+ eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1257 |
+ eval ac_env_${ac_var}_value=\$${ac_var} |
|
1258 |
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1259 |
+ eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1260 |
+done |
|
1261 |
+ |
|
1262 |
+# |
|
1263 |
+# Report the --help message. |
|
1264 |
+# |
|
1265 |
+if test "$ac_init_help" = "long"; then |
|
1266 |
+ # Omit some internal or obsolete options to make the list less imposing. |
|
1267 |
+ # This message is too long to be a string in the A/UX 3.1 sh. |
|
1268 |
+ cat <<_ACEOF |
|
1269 |
+\`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems. |
|
1270 |
+ |
|
1271 |
+Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1272 |
+ |
|
1273 |
+To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1274 |
+VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1275 |
+ |
|
1276 |
+Defaults for the options are specified in brackets. |
|
1277 |
+ |
|
1278 |
+Configuration: |
|
1279 |
+ -h, --help display this help and exit |
|
1280 |
+ --help=short display options specific to this package |
|
1281 |
+ --help=recursive display the short help of all the included packages |
|
1282 |
+ -V, --version display version information and exit |
|
1283 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
|
1284 |
+ --cache-file=FILE cache test results in FILE [disabled] |
|
1285 |
+ -C, --config-cache alias for \`--cache-file=config.cache' |
|
1286 |
+ -n, --no-create do not create output files |
|
1287 |
+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1288 |
+ |
|
1289 |
+Installation directories: |
|
1290 |
+ --prefix=PREFIX install architecture-independent files in PREFIX |
|
1291 |
+ [$ac_default_prefix] |
|
1292 |
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1293 |
+ [PREFIX] |
|
1294 |
+ |
|
1295 |
+By default, \`make install' will install all the files in |
|
1296 |
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1297 |
+an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1298 |
+for instance \`--prefix=\$HOME'. |
|
1299 |
+ |
|
1300 |
+For better control, use the options below. |
|
1301 |
+ |
|
1302 |
+Fine tuning of the installation directories: |
|
1303 |
+ --bindir=DIR user executables [EPREFIX/bin] |
|
1304 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1305 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
|
1306 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1307 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1308 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1309 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
|
1310 |
+ --includedir=DIR C header files [PREFIX/include] |
|
1311 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1312 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1313 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1314 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
|
1315 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1316 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
|
1317 |
+ --docdir=DIR documentation root |
|
1318 |
+ [DATAROOTDIR/doc/full-package-name] |
|
1319 |
+ --htmldir=DIR html documentation [DOCDIR] |
|
1320 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
|
1321 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
|
1322 |
+ --psdir=DIR ps documentation [DOCDIR] |
|
1323 |
+_ACEOF |
|
1324 |
+ |
|
1325 |
+ cat <<\_ACEOF |
|
1326 |
+ |
|
1327 |
+Program names: |
|
1328 |
+ --program-prefix=PREFIX prepend PREFIX to installed program names |
|
1329 |
+ --program-suffix=SUFFIX append SUFFIX to installed program names |
|
1330 |
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1331 |
+_ACEOF |
|
1332 |
+fi |
|
1333 |
+ |
|
1334 |
+if test -n "$ac_init_help"; then |
|
1335 |
+ case $ac_init_help in |
|
1336 |
+ short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";; |
|
1337 |
+ esac |
|
1338 |
+ cat <<\_ACEOF |
|
1339 |
+ |
|
1340 |
+Optional Features: |
|
1341 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
|
1342 |
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1343 |
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1344 |
+ --enable-silent-rules less verbose build output (undo: "make V=1") |
|
1345 |
+ --disable-silent-rules verbose build output (undo: "make V=0") |
|
1346 |
+ --enable-dependency-tracking |
|
1347 |
+ do not reject slow dependency extractors |
|
1348 |
+ --disable-dependency-tracking |
|
1349 |
+ speeds up one-time build |
|
1350 |
+ |
|
1351 |
+Some influential environment variables: |
|
1352 |
+ CC C compiler command |
|
1353 |
+ CFLAGS C compiler flags |
|
1354 |
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1355 |
+ nonstandard directory <lib dir> |
|
1356 |
+ LIBS libraries to pass to the linker, e.g. -l<library> |
|
1357 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1358 |
+ you have headers in a nonstandard directory <include dir> |
|
1359 |
+ CPP C preprocessor |
|
1360 |
+ |
|
1361 |
+Use these variables to override the choices made by `configure' or to help |
|
1362 |
+it to find libraries and programs with nonstandard names/locations. |
|
1363 |
+ |
|
1364 |
+Report bugs to <BUG-REPORT-ADDRESS>. |
|
1365 |
+_ACEOF |
|
1366 |
+ac_status=$? |
|
1367 |
+fi |
|
1368 |
+ |
|
1369 |
+if test "$ac_init_help" = "recursive"; then |
|
1370 |
+ # If there are subdirs, report their specific --help. |
|
1371 |
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1372 |
+ test -d "$ac_dir" || |
|
1373 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1374 |
+ continue |
|
1375 |
+ ac_builddir=. |
|
1376 |
+ |
|
1377 |
+case "$ac_dir" in |
|
1378 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1379 |
+*) |
|
1380 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1381 |
+ # A ".." for each directory in $ac_dir_suffix. |
|
1382 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1383 |
+ case $ac_top_builddir_sub in |
|
1384 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1385 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1386 |
+ esac ;; |
|
1387 |
+esac |
|
1388 |
+ac_abs_top_builddir=$ac_pwd |
|
1389 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1390 |
+# for backward compatibility: |
|
1391 |
+ac_top_builddir=$ac_top_build_prefix |
|
1392 |
+ |
|
1393 |
+case $srcdir in |
|
1394 |
+ .) # We are building in place. |
|
1395 |
+ ac_srcdir=. |
|
1396 |
+ ac_top_srcdir=$ac_top_builddir_sub |
|
1397 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
|
1398 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
|
1399 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
|
1400 |
+ ac_top_srcdir=$srcdir |
|
1401 |
+ ac_abs_top_srcdir=$srcdir ;; |
|
1402 |
+ *) # Relative name. |
|
1403 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1404 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1405 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1406 |
+esac |
|
1407 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1408 |
+ |
|
1409 |
+ cd "$ac_dir" || { ac_status=$?; continue; } |
|
1410 |
+ # Check for guested configure. |
|
1411 |
+ if test -f "$ac_srcdir/configure.gnu"; then |
|
1412 |
+ echo && |
|
1413 |
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1414 |
+ elif test -f "$ac_srcdir/configure"; then |
|
1415 |
+ echo && |
|
1416 |
+ $SHELL "$ac_srcdir/configure" --help=recursive |
|
1417 |
+ else |
|
1418 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1419 |
+ fi || ac_status=$? |
|
1420 |
+ cd "$ac_pwd" || { ac_status=$?; break; } |
|
1421 |
+ done |
|
1422 |
+fi |
|
1423 |
+ |
|
1424 |
+test -n "$ac_init_help" && exit $ac_status |
|
1425 |
+if $ac_init_version; then |
|
1426 |
+ cat <<\_ACEOF |
|
1427 |
+FULL-PACKAGE-NAME configure VERSION |
|
1428 |
+generated by GNU Autoconf 2.69 |
|
1429 |
+ |
|
1430 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
|
1431 |
+This configure script is free software; the Free Software Foundation |
|
1432 |
+gives unlimited permission to copy, distribute and modify it. |
|
1433 |
+_ACEOF |
|
1434 |
+ exit |
|
1435 |
+fi |
|
1436 |
+ |
|
1437 |
+## ------------------------ ## |
|
1438 |
+## Autoconf initialization. ## |
|
1439 |
+## ------------------------ ## |
|
1440 |
+ |
|
1441 |
+# ac_fn_c_try_compile LINENO |
|
1442 |
+# -------------------------- |
|
1443 |
+# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1444 |
+ac_fn_c_try_compile () |
|
1445 |
+{ |
|
1446 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1447 |
+ rm -f conftest.$ac_objext |
|
1448 |
+ if { { ac_try="$ac_compile" |
|
1449 |
+case "(($ac_try" in |
|
1450 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1451 |
+ *) ac_try_echo=$ac_try;; |
|
1452 |
+esac |
|
1453 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1454 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1455 |
+ (eval "$ac_compile") 2>conftest.err |
|
1456 |
+ ac_status=$? |
|
1457 |
+ if test -s conftest.err; then |
|
1458 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
|
1459 |
+ cat conftest.er1 >&5 |
|
1460 |
+ mv -f conftest.er1 conftest.err |
|
1461 |
+ fi |
|
1462 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1463 |
+ test $ac_status = 0; } && { |
|
1464 |
+ test -z "$ac_c_werror_flag" || |
|
1465 |
+ test ! -s conftest.err |
|
1466 |
+ } && test -s conftest.$ac_objext; then : |
|
1467 |
+ ac_retval=0 |
|
1468 |
+else |
|
1469 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
1470 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
1471 |
+ |
|
1472 |
+ ac_retval=1 |
|
1473 |
+fi |
|
1474 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1475 |
+ as_fn_set_status $ac_retval |
|
1476 |
+ |
|
1477 |
+} # ac_fn_c_try_compile |
|
1478 |
+ |
|
1479 |
+# ac_fn_c_try_cpp LINENO |
|
1480 |
+# ---------------------- |
|
1481 |
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1482 |
+ac_fn_c_try_cpp () |
|
1483 |
+{ |
|
1484 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1485 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1486 |
+case "(($ac_try" in |
|
1487 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1488 |
+ *) ac_try_echo=$ac_try;; |
|
1489 |
+esac |
|
1490 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1491 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1492 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1493 |
+ ac_status=$? |
|
1494 |
+ if test -s conftest.err; then |
|
1495 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
|
1496 |
+ cat conftest.er1 >&5 |
|
1497 |
+ mv -f conftest.er1 conftest.err |
|
1498 |
+ fi |
|
1499 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1500 |
+ test $ac_status = 0; } > conftest.i && { |
|
1501 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1502 |
+ test ! -s conftest.err |
|
1503 |
+ }; then : |
|
1504 |
+ ac_retval=0 |
|
1505 |
+else |
|
1506 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
1507 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
1508 |
+ |
|
1509 |
+ ac_retval=1 |
|
1510 |
+fi |
|
1511 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1512 |
+ as_fn_set_status $ac_retval |
|
1513 |
+ |
|
1514 |
+} # ac_fn_c_try_cpp |
|
1515 |
+ |
|
1516 |
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1517 |
+# ------------------------------------------------------- |
|
1518 |
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1519 |
+# the include files in INCLUDES and setting the cache variable VAR |
|
1520 |
+# accordingly. |
|
1521 |
+ac_fn_c_check_header_mongrel () |
|
1522 |
+{ |
|
1523 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1524 |
+ if eval \${$3+:} false; then : |
|
1525 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1526 |
+$as_echo_n "checking for $2... " >&6; } |
|
1527 |
+if eval \${$3+:} false; then : |
|
1528 |
+ $as_echo_n "(cached) " >&6 |
|
1529 |
+fi |
|
1530 |
+eval ac_res=\$$3 |
|
1531 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1532 |
+$as_echo "$ac_res" >&6; } |
|
1533 |
+else |
|
1534 |
+ # Is the header compilable? |
|
1535 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1536 |
+$as_echo_n "checking $2 usability... " >&6; } |
|
1537 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1538 |
+/* end confdefs.h. */ |
|
1539 |
+$4 |
|
1540 |
+#include <$2> |
|
1541 |
+_ACEOF |
|
1542 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
1543 |
+ ac_header_compiler=yes |
|
1544 |
+else |
|
1545 |
+ ac_header_compiler=no |
|
1546 |
+fi |
|
1547 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1548 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1549 |
+$as_echo "$ac_header_compiler" >&6; } |
|
1550 |
+ |
|
1551 |
+# Is the header present? |
|
1552 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1553 |
+$as_echo_n "checking $2 presence... " >&6; } |
|
1554 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1555 |
+/* end confdefs.h. */ |
|
1556 |
+#include <$2> |
|
1557 |
+_ACEOF |
|
1558 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
1559 |
+ ac_header_preproc=yes |
|
1560 |
+else |
|
1561 |
+ ac_header_preproc=no |
|
1562 |
+fi |
|
1563 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
1564 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1565 |
+$as_echo "$ac_header_preproc" >&6; } |
|
1566 |
+ |
|
1567 |
+# So? What about this header? |
|
1568 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1569 |
+ yes:no: ) |
|
1570 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1571 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1572 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1573 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1574 |
+ ;; |
|
1575 |
+ no:yes:* ) |
|
1576 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1577 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1578 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1579 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1580 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1581 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1582 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1583 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1584 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1585 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1586 |
+( $as_echo "## --------------------------------- ## |
|
1587 |
+## Report this to BUG-REPORT-ADDRESS ## |
|
1588 |
+## --------------------------------- ##" |
|
1589 |
+ ) | sed "s/^/$as_me: WARNING: /" >&2 |
|
1590 |
+ ;; |
|
1591 |
+esac |
|
1592 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1593 |
+$as_echo_n "checking for $2... " >&6; } |
|
1594 |
+if eval \${$3+:} false; then : |
|
1595 |
+ $as_echo_n "(cached) " >&6 |
|
1596 |
+else |
|
1597 |
+ eval "$3=\$ac_header_compiler" |
|
1598 |
+fi |
|
1599 |
+eval ac_res=\$$3 |
|
1600 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1601 |
+$as_echo "$ac_res" >&6; } |
|
1602 |
+fi |
|
1603 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1604 |
+ |
|
1605 |
+} # ac_fn_c_check_header_mongrel |
|
1606 |
+ |
|
1607 |
+# ac_fn_c_try_run LINENO |
|
1608 |
+# ---------------------- |
|
1609 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1610 |
+# that executables *can* be run. |
|
1611 |
+ac_fn_c_try_run () |
|
1612 |
+{ |
|
1613 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1614 |
+ if { { ac_try="$ac_link" |
|
1615 |
+case "(($ac_try" in |
|
1616 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1617 |
+ *) ac_try_echo=$ac_try;; |
|
1618 |
+esac |
|
1619 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1620 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1621 |
+ (eval "$ac_link") 2>&5 |
|
1622 |
+ ac_status=$? |
|
1623 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1624 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1625 |
+ { { case "(($ac_try" in |
|
1626 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1627 |
+ *) ac_try_echo=$ac_try;; |
|
1628 |
+esac |
|
1629 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1630 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1631 |
+ (eval "$ac_try") 2>&5 |
|
1632 |
+ ac_status=$? |
|
1633 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1634 |
+ test $ac_status = 0; }; }; then : |
|
1635 |
+ ac_retval=0 |
|
1636 |
+else |
|
1637 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1638 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
1639 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
1640 |
+ |
|
1641 |
+ ac_retval=$ac_status |
|
1642 |
+fi |
|
1643 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1644 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1645 |
+ as_fn_set_status $ac_retval |
|
1646 |
+ |
|
1647 |
+} # ac_fn_c_try_run |
|
1648 |
+ |
|
1649 |
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1650 |
+# ------------------------------------------------------- |
|
1651 |
+# Tests whether HEADER exists and can be compiled using the include files in |
|
1652 |
+# INCLUDES, setting the cache variable VAR accordingly. |
|
1653 |
+ac_fn_c_check_header_compile () |
|
1654 |
+{ |
|
1655 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1656 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1657 |
+$as_echo_n "checking for $2... " >&6; } |
|
1658 |
+if eval \${$3+:} false; then : |
|
1659 |
+ $as_echo_n "(cached) " >&6 |
|
1660 |
+else |
|
1661 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1662 |
+/* end confdefs.h. */ |
|
1663 |
+$4 |
|
1664 |
+#include <$2> |
|
1665 |
+_ACEOF |
|
1666 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
1667 |
+ eval "$3=yes" |
|
1668 |
+else |
|
1669 |
+ eval "$3=no" |
|
1670 |
+fi |
|
1671 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1672 |
+fi |
|
1673 |
+eval ac_res=\$$3 |
|
1674 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1675 |
+$as_echo "$ac_res" >&6; } |
|
1676 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1677 |
+ |
|
1678 |
+} # ac_fn_c_check_header_compile |
|
1679 |
+ |
|
1680 |
+# ac_fn_c_try_link LINENO |
|
1681 |
+# ----------------------- |
|
1682 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1683 |
+ac_fn_c_try_link () |
|
1684 |
+{ |
|
1685 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1686 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
|
1687 |
+ if { { ac_try="$ac_link" |
|
1688 |
+case "(($ac_try" in |
|
1689 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1690 |
+ *) ac_try_echo=$ac_try;; |
|
1691 |
+esac |
|
1692 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1693 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1694 |
+ (eval "$ac_link") 2>conftest.err |
|
1695 |
+ ac_status=$? |
|
1696 |
+ if test -s conftest.err; then |
|
1697 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
|
1698 |
+ cat conftest.er1 >&5 |
|
1699 |
+ mv -f conftest.er1 conftest.err |
|
1700 |
+ fi |
|
1701 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1702 |
+ test $ac_status = 0; } && { |
|
1703 |
+ test -z "$ac_c_werror_flag" || |
|
1704 |
+ test ! -s conftest.err |
|
1705 |
+ } && test -s conftest$ac_exeext && { |
|
1706 |
+ test "$cross_compiling" = yes || |
|
1707 |
+ test -x conftest$ac_exeext |
|
1708 |
+ }; then : |
|
1709 |
+ ac_retval=0 |
|
1710 |
+else |
|
1711 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
1712 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
1713 |
+ |
|
1714 |
+ ac_retval=1 |
|
1715 |
+fi |
|
1716 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1717 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1718 |
+ # interfere with the next link command; also delete a directory that is |
|
1719 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
|
1720 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1721 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1722 |
+ as_fn_set_status $ac_retval |
|
1723 |
+ |
|
1724 |
+} # ac_fn_c_try_link |
|
1725 |
+ |
|
1726 |
+# ac_fn_c_check_func LINENO FUNC VAR |
|
1727 |
+# ---------------------------------- |
|
1728 |
+# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1729 |
+ac_fn_c_check_func () |
|
1730 |
+{ |
|
1731 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1732 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1733 |
+$as_echo_n "checking for $2... " >&6; } |
|
1734 |
+if eval \${$3+:} false; then : |
|
1735 |
+ $as_echo_n "(cached) " >&6 |
|
1736 |
+else |
|
1737 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1738 |
+/* end confdefs.h. */ |
|
1739 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1740 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1741 |
+#define $2 innocuous_$2 |
|
1742 |
+ |
|
1743 |
+/* System header to define __stub macros and hopefully few prototypes, |
|
1744 |
+ which can conflict with char $2 (); below. |
|
1745 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1746 |
+ <limits.h> exists even on freestanding compilers. */ |
|
1747 |
+ |
|
1748 |
+#ifdef __STDC__ |
|
1749 |
+# include <limits.h> |
|
1750 |
+#else |
|
1751 |
+# include <assert.h> |
|
1752 |
+#endif |
|
1753 |
+ |
|
1754 |
+#undef $2 |
|
1755 |
+ |
|
1756 |
+/* Override any GCC internal prototype to avoid an error. |
|
1757 |
+ Use char because int might match the return type of a GCC |
|
1758 |
+ builtin and then its argument prototype would still apply. */ |
|
1759 |
+#ifdef __cplusplus |
|
1760 |
+extern "C" |
|
1761 |
+#endif |
|
1762 |
+char $2 (); |
|
1763 |
+/* The GNU C library defines this for functions which it implements |
|
1764 |
+ to always fail with ENOSYS. Some functions are actually named |
|
1765 |
+ something starting with __ and the normal name is an alias. */ |
|
1766 |
+#if defined __stub_$2 || defined __stub___$2 |
|
1767 |
+choke me |
|
1768 |
+#endif |
|
1769 |
+ |
|
1770 |
+int |
|
1771 |
+main () |
|
1772 |
+{ |
|
1773 |
+return $2 (); |
|
1774 |
+ ; |
|
1775 |
+ return 0; |
|
1776 |
+} |
|
1777 |
+_ACEOF |
|
1778 |
+if ac_fn_c_try_link "$LINENO"; then : |
|
1779 |
+ eval "$3=yes" |
|
1780 |
+else |
|
1781 |
+ eval "$3=no" |
|
1782 |
+fi |
|
1783 |
+rm -f core conftest.err conftest.$ac_objext \ |
|
1784 |
+ conftest$ac_exeext conftest.$ac_ext |
|
1785 |
+fi |
|
1786 |
+eval ac_res=\$$3 |
|
1787 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1788 |
+$as_echo "$ac_res" >&6; } |
|
1789 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1790 |
+ |
|
1791 |
+} # ac_fn_c_check_func |
|
1792 |
+cat >config.log <<_ACEOF |
|
1793 |
+This file contains any messages produced by compilers while |
|
1794 |
+running configure, to aid debugging if configure makes a mistake. |
|
1795 |
+ |
|
1796 |
+It was created by FULL-PACKAGE-NAME $as_me VERSION, which was |
|
1797 |
+generated by GNU Autoconf 2.69. Invocation command line was |
|
1798 |
+ |
|
1799 |
+ $ $0 $@ |
|
1800 |
+ |
|
1801 |
+_ACEOF |
|
1802 |
+exec 5>>config.log |
|
1803 |
+{ |
|
1804 |
+cat <<_ASUNAME |
|
1805 |
+## --------- ## |
|
1806 |
+## Platform. ## |
|
1807 |
+## --------- ## |
|
1808 |
+ |
|
1809 |
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1810 |
+uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1811 |
+uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1812 |
+uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1813 |
+uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1814 |
+ |
|
1815 |
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1816 |
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1817 |
+ |
|
1818 |
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1819 |
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1820 |
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1821 |
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1822 |
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1823 |
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1824 |
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1825 |
+ |
|
1826 |
+_ASUNAME |
|
1827 |
+ |
|
1828 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1829 |
+for as_dir in $PATH |
|
1830 |
+do |
|
1831 |
+ IFS=$as_save_IFS |
|
1832 |
+ test -z "$as_dir" && as_dir=. |
|
1833 |
+ $as_echo "PATH: $as_dir" |
|
1834 |
+ done |
|
1835 |
+IFS=$as_save_IFS |
|
1836 |
+ |
|
1837 |
+} >&5 |
|
1838 |
+ |
|
1839 |
+cat >&5 <<_ACEOF |
|
1840 |
+ |
|
1841 |
+ |
|
1842 |
+## ----------- ## |
|
1843 |
+## Core tests. ## |
|
1844 |
+## ----------- ## |
|
1845 |
+ |
|
1846 |
+_ACEOF |
|
1847 |
+ |
|
1848 |
+ |
|
1849 |
+# Keep a trace of the command line. |
|
1850 |
+# Strip out --no-create and --no-recursion so they do not pile up. |
|
1851 |
+# Strip out --silent because we don't want to record it for future runs. |
|
1852 |
+# Also quote any args containing shell meta-characters. |
|
1853 |
+# Make two passes to allow for proper duplicate-argument suppression. |
|
1854 |
+ac_configure_args= |
|
1855 |
+ac_configure_args0= |
|
1856 |
+ac_configure_args1= |
|
1857 |
+ac_must_keep_next=false |
|
1858 |
+for ac_pass in 1 2 |
|
1859 |
+do |
|
1860 |
+ for ac_arg |
|
1861 |
+ do |
|
1862 |
+ case $ac_arg in |
|
1863 |
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1864 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1865 |
+ | -silent | --silent | --silen | --sile | --sil) |
|
1866 |
+ continue ;; |
|
1867 |
+ *\'*) |
|
1868 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1869 |
+ esac |
|
1870 |
+ case $ac_pass in |
|
1871 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
1872 |
+ 2) |
|
1873 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
|
1874 |
+ if test $ac_must_keep_next = true; then |
|
1875 |
+ ac_must_keep_next=false # Got value, back to normal. |
|
1876 |
+ else |
|
1877 |
+ case $ac_arg in |
|
1878 |
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1879 |
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1880 |
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1881 |
+ | -with-* | --with-* | -without-* | --without-* | --x) |
|
1882 |
+ case "$ac_configure_args0 " in |
|
1883 |
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1884 |
+ esac |
|
1885 |
+ ;; |
|
1886 |
+ -* ) ac_must_keep_next=true ;; |
|
1887 |
+ esac |
|
1888 |
+ fi |
|
1889 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
|
1890 |
+ ;; |
|
1891 |
+ esac |
|
1892 |
+ done |
|
1893 |
+done |
|
1894 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
|
1895 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
|
1896 |
+ |
|
1897 |
+# When interrupted or exit'd, cleanup temporary files, and complete |
|
1898 |
+# config.log. We remove comments because anyway the quotes in there |
|
1899 |
+# would cause problems or look ugly. |
|
1900 |
+# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
1901 |
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1902 |
+trap 'exit_status=$? |
|
1903 |
+ # Save into config.log some information that might help in debugging. |
|
1904 |
+ { |
|
1905 |
+ echo |
|
1906 |
+ |
|
1907 |
+ $as_echo "## ---------------- ## |
|
1908 |
+## Cache variables. ## |
|
1909 |
+## ---------------- ##" |
|
1910 |
+ echo |
|
1911 |
+ # The following way of writing the cache mishandles newlines in values, |
|
1912 |
+( |
|
1913 |
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1914 |
+ eval ac_val=\$$ac_var |
|
1915 |
+ case $ac_val in #( |
|
1916 |
+ *${as_nl}*) |
|
1917 |
+ case $ac_var in #( |
|
1918 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1919 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1920 |
+ esac |
|
1921 |
+ case $ac_var in #( |
|
1922 |
+ _ | IFS | as_nl) ;; #( |
|
1923 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1924 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
|
1925 |
+ esac ;; |
|
1926 |
+ esac |
|
1927 |
+ done |
|
1928 |
+ (set) 2>&1 | |
|
1929 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1930 |
+ *${as_nl}ac_space=\ *) |
|
1931 |
+ sed -n \ |
|
1932 |
+ "s/'\''/'\''\\\\'\'''\''/g; |
|
1933 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1934 |
+ ;; #( |
|
1935 |
+ *) |
|
1936 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
1937 |
+ ;; |
|
1938 |
+ esac | |
|
1939 |
+ sort |
|
1940 |
+) |
|
1941 |
+ echo |
|
1942 |
+ |
|
1943 |
+ $as_echo "## ----------------- ## |
|
1944 |
+## Output variables. ## |
|
1945 |
+## ----------------- ##" |
|
1946 |
+ echo |
|
1947 |
+ for ac_var in $ac_subst_vars |
|
1948 |
+ do |
|
1949 |
+ eval ac_val=\$$ac_var |
|
1950 |
+ case $ac_val in |
|
1951 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1952 |
+ esac |
|
1953 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
|
1954 |
+ done | sort |
|
1955 |
+ echo |
|
1956 |
+ |
|
1957 |
+ if test -n "$ac_subst_files"; then |
|
1958 |
+ $as_echo "## ------------------- ## |
|
1959 |
+## File substitutions. ## |
|
1960 |
+## ------------------- ##" |
|
1961 |
+ echo |
|
1962 |
+ for ac_var in $ac_subst_files |
|
1963 |
+ do |
|
1964 |
+ eval ac_val=\$$ac_var |
|
1965 |
+ case $ac_val in |
|
1966 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1967 |
+ esac |
|
1968 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
|
1969 |
+ done | sort |
|
1970 |
+ echo |
|
1971 |
+ fi |
|
1972 |
+ |
|
1973 |
+ if test -s confdefs.h; then |
|
1974 |
+ $as_echo "## ----------- ## |
|
1975 |
+## confdefs.h. ## |
|
1976 |
+## ----------- ##" |
|
1977 |
+ echo |
|
1978 |
+ cat confdefs.h |
|
1979 |
+ echo |
|
1980 |
+ fi |
|
1981 |
+ test "$ac_signal" != 0 && |
|
1982 |
+ $as_echo "$as_me: caught signal $ac_signal" |
|
1983 |
+ $as_echo "$as_me: exit $exit_status" |
|
1984 |
+ } >&5 |
|
1985 |
+ rm -f core *.core core.conftest.* && |
|
1986 |
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1987 |
+ exit $exit_status |
|
1988 |
+' 0 |
|
1989 |
+for ac_signal in 1 2 13 15; do |
|
1990 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
1991 |
+done |
|
1992 |
+ac_signal=0 |
|
1993 |
+ |
|
1994 |
+# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1995 |
+rm -f -r conftest* confdefs.h |
|
1996 |
+ |
|
1997 |
+$as_echo "/* confdefs.h */" > confdefs.h |
|
1998 |
+ |
|
1999 |
+# Predefined preprocessor variables. |
|
2000 |
+ |
|
2001 |
+cat >>confdefs.h <<_ACEOF |
|
2002 |
+#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2003 |
+_ACEOF |
|
2004 |
+ |
|
2005 |
+cat >>confdefs.h <<_ACEOF |
|
2006 |
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2007 |
+_ACEOF |
|
2008 |
+ |
|
2009 |
+cat >>confdefs.h <<_ACEOF |
|
2010 |
+#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2011 |
+_ACEOF |
|
2012 |
+ |
|
2013 |
+cat >>confdefs.h <<_ACEOF |
|
2014 |
+#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2015 |
+_ACEOF |
|
2016 |
+ |
|
2017 |
+cat >>confdefs.h <<_ACEOF |
|
2018 |
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2019 |
+_ACEOF |
|
2020 |
+ |
|
2021 |
+cat >>confdefs.h <<_ACEOF |
|
2022 |
+#define PACKAGE_URL "$PACKAGE_URL" |
|
2023 |
+_ACEOF |
|
2024 |
+ |
|
2025 |
+ |
|
2026 |
+# Let the site file select an alternate cache file if it wants to. |
|
2027 |
+# Prefer an explicitly selected file to automatically selected ones. |
|
2028 |
+ac_site_file1=NONE |
|
2029 |
+ac_site_file2=NONE |
|
2030 |
+if test -n "$CONFIG_SITE"; then |
|
2031 |
+ # We do not want a PATH search for config.site. |
|
2032 |
+ case $CONFIG_SITE in #(( |
|
2033 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
|
2034 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
|
2035 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
|
2036 |
+ esac |
|
2037 |
+elif test "x$prefix" != xNONE; then |
|
2038 |
+ ac_site_file1=$prefix/share/config.site |
|
2039 |
+ ac_site_file2=$prefix/etc/config.site |
|
2040 |
+else |
|
2041 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
|
2042 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
|
2043 |
+fi |
|
2044 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2045 |
+do |
|
2046 |
+ test "x$ac_site_file" = xNONE && continue |
|
2047 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2048 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2049 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2050 |
+ sed 's/^/| /' "$ac_site_file" >&5 |
|
2051 |
+ . "$ac_site_file" \ |
|
2052 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2053 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2054 |
+as_fn_error $? "failed to load site script $ac_site_file |
|
2055 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
2056 |
+ fi |
|
2057 |
+done |
|
2058 |
+ |
|
2059 |
+if test -r "$cache_file"; then |
|
2060 |
+ # Some versions of bash will fail to source /dev/null (special files |
|
2061 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2062 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2063 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2064 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2065 |
+ case $cache_file in |
|
2066 |
+ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2067 |
+ *) . "./$cache_file";; |
|
2068 |
+ esac |
|
2069 |
+ fi |
|
2070 |
+else |
|
2071 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2072 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2073 |
+ >$cache_file |
|
2074 |
+fi |
|
2075 |
+ |
|
2076 |
+# Check that the precious variables saved in the cache have kept the same |
|
2077 |
+# value. |
|
2078 |
+ac_cache_corrupted=false |
|
2079 |
+for ac_var in $ac_precious_vars; do |
|
2080 |
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2081 |
+ eval ac_new_set=\$ac_env_${ac_var}_set |
|
2082 |
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2083 |
+ eval ac_new_val=\$ac_env_${ac_var}_value |
|
2084 |
+ case $ac_old_set,$ac_new_set in |
|
2085 |
+ set,) |
|
2086 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2087 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2088 |
+ ac_cache_corrupted=: ;; |
|
2089 |
+ ,set) |
|
2090 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2091 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2092 |
+ ac_cache_corrupted=: ;; |
|
2093 |
+ ,);; |
|
2094 |
+ *) |
|
2095 |
+ if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2096 |
+ # differences in whitespace do not lead to failure. |
|
2097 |
+ ac_old_val_w=`echo x $ac_old_val` |
|
2098 |
+ ac_new_val_w=`echo x $ac_new_val` |
|
2099 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2100 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2101 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2102 |
+ ac_cache_corrupted=: |
|
2103 |
+ else |
|
2104 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2105 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2106 |
+ eval $ac_var=\$ac_old_val |
|
2107 |
+ fi |
|
2108 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2109 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2110 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2111 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2112 |
+ fi;; |
|
2113 |
+ esac |
|
2114 |
+ # Pass precious variables to config.status. |
|
2115 |
+ if test "$ac_new_set" = set; then |
|
2116 |
+ case $ac_new_val in |
|
2117 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2118 |
+ *) ac_arg=$ac_var=$ac_new_val ;; |
|
2119 |
+ esac |
|
2120 |
+ case " $ac_configure_args " in |
|
2121 |
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2122 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2123 |
+ esac |
|
2124 |
+ fi |
|
2125 |
+done |
|
2126 |
+if $ac_cache_corrupted; then |
|
2127 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2128 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2129 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2130 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2131 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2132 |
+fi |
|
2133 |
+## -------------------- ## |
|
2134 |
+## Main body of script. ## |
|
2135 |
+## -------------------- ## |
|
2136 |
+ |
|
2137 |
+ac_ext=c |
|
2138 |
+ac_cpp='$CPP $CPPFLAGS' |
|
2139 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2140 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2141 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2142 |
+ |
|
2143 |
+ |
|
2144 |
+ |
|
2145 |
+ac_config_headers="$ac_config_headers config.h" |
|
2146 |
+ |
|
2147 |
+am__api_version='1.15' |
|
2148 |
+ |
|
2149 |
+ac_aux_dir= |
|
2150 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2151 |
+ if test -f "$ac_dir/install-sh"; then |
|
2152 |
+ ac_aux_dir=$ac_dir |
|
2153 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2154 |
+ break |
|
2155 |
+ elif test -f "$ac_dir/install.sh"; then |
|
2156 |
+ ac_aux_dir=$ac_dir |
|
2157 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2158 |
+ break |
|
2159 |
+ elif test -f "$ac_dir/shtool"; then |
|
2160 |
+ ac_aux_dir=$ac_dir |
|
2161 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2162 |
+ break |
|
2163 |
+ fi |
|
2164 |
+done |
|
2165 |
+if test -z "$ac_aux_dir"; then |
|
2166 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2167 |
+fi |
|
2168 |
+ |
|
2169 |
+# These three variables are undocumented and unsupported, |
|
2170 |
+# and are intended to be withdrawn in a future Autoconf release. |
|
2171 |
+# They can cause serious problems if a builder's source tree is in a directory |
|
2172 |
+# whose full name contains unusual characters. |
|
2173 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2174 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2175 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2176 |
+ |
|
2177 |
+ |
|
2178 |
+# Find a good install program. We prefer a C program (faster), |
|
2179 |
+# so one script is as good as another. But avoid the broken or |
|
2180 |
+# incompatible versions: |
|
2181 |
+# SysV /etc/install, /usr/sbin/install |
|
2182 |
+# SunOS /usr/etc/install |
|
2183 |
+# IRIX /sbin/install |
|
2184 |
+# AIX /bin/install |
|
2185 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2186 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2187 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2188 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2189 |
+# OS/2's system install, which has a completely different semantic |
|
2190 |
+# ./install, which can be erroneously created by make from ./install.sh. |
|
2191 |
+# Reject install programs that cannot install multiple files. |
|
2192 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2193 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2194 |
+if test -z "$INSTALL"; then |
|
2195 |
+if ${ac_cv_path_install+:} false; then : |
|
2196 |
+ $as_echo_n "(cached) " >&6 |
|
2197 |
+else |
|
2198 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2199 |
+for as_dir in $PATH |
|
2200 |
+do |
|
2201 |
+ IFS=$as_save_IFS |
|
2202 |
+ test -z "$as_dir" && as_dir=. |
|
2203 |
+ # Account for people who put trailing slashes in PATH elements. |
|
2204 |
+case $as_dir/ in #(( |
|
2205 |
+ ./ | .// | /[cC]/* | \ |
|
2206 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2207 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2208 |
+ /usr/ucb/* ) ;; |
|
2209 |
+ *) |
|
2210 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
|
2211 |
+ # Don't use installbsd from OSF since it installs stuff as root |
|
2212 |
+ # by default. |
|
2213 |
+ for ac_prog in ginstall scoinst install; do |
|
2214 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2215 |
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
2216 |
+ if test $ac_prog = install && |
|
2217 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2218 |
+ # AIX install. It has an incompatible calling convention. |
|
2219 |
+ : |
|
2220 |
+ elif test $ac_prog = install && |
|
2221 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2222 |
+ # program-specific install script used by HP pwplus--don't use. |
|
2223 |
+ : |
|
2224 |
+ else |
|
2225 |
+ rm -rf conftest.one conftest.two conftest.dir |
|
2226 |
+ echo one > conftest.one |
|
2227 |
+ echo two > conftest.two |
|
2228 |
+ mkdir conftest.dir |
|
2229 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2230 |
+ test -s conftest.one && test -s conftest.two && |
|
2231 |
+ test -s conftest.dir/conftest.one && |
|
2232 |
+ test -s conftest.dir/conftest.two |
|
2233 |
+ then |
|
2234 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2235 |
+ break 3 |
|
2236 |
+ fi |
|
2237 |
+ fi |
|
2238 |
+ fi |
|
2239 |
+ done |
|
2240 |
+ done |
|
2241 |
+ ;; |
|
2242 |
+esac |
|
2243 |
+ |
|
2244 |
+ done |
|
2245 |
+IFS=$as_save_IFS |
|
2246 |
+ |
|
2247 |
+rm -rf conftest.one conftest.two conftest.dir |
|
2248 |
+ |
|
2249 |
+fi |
|
2250 |
+ if test "${ac_cv_path_install+set}" = set; then |
|
2251 |
+ INSTALL=$ac_cv_path_install |
|
2252 |
+ else |
|
2253 |
+ # As a last resort, use the slow shell script. Don't cache a |
|
2254 |
+ # value for INSTALL within a source directory, because that will |
|
2255 |
+ # break other packages using the cache if that directory is |
|
2256 |
+ # removed, or if the value is a relative name. |
|
2257 |
+ INSTALL=$ac_install_sh |
|
2258 |
+ fi |
|
2259 |
+fi |
|
2260 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2261 |
+$as_echo "$INSTALL" >&6; } |
|
2262 |
+ |
|
2263 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2264 |
+# It thinks the first close brace ends the variable substitution. |
|
2265 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2266 |
+ |
|
2267 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2268 |
+ |
|
2269 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2270 |
+ |
|
2271 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2272 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2273 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
|
2274 |
+# name. Accept space and tab only in the latter. |
|
2275 |
+am_lf=' |
|
2276 |
+' |
|
2277 |
+case `pwd` in |
|
2278 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
|
2279 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2280 |
+esac |
|
2281 |
+case $srcdir in |
|
2282 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2283 |
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
2284 |
+esac |
|
2285 |
+ |
|
2286 |
+# Do 'set' in a subshell so we don't clobber the current shell's |
|
2287 |
+# arguments. Must try -L first in case configure is actually a |
|
2288 |
+# symlink; some systems play weird games with the mod time of symlinks |
|
2289 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
|
2290 |
+# directory). |
|
2291 |
+if ( |
|
2292 |
+ am_has_slept=no |
|
2293 |
+ for am_try in 1 2; do |
|
2294 |
+ echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2295 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2296 |
+ if test "$*" = "X"; then |
|
2297 |
+ # -L didn't work. |
|
2298 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
|
2299 |
+ fi |
|
2300 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2301 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
|
2302 |
+ |
|
2303 |
+ # If neither matched, then we have a broken ls. This can happen |
|
2304 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2305 |
+ # broken ls alias from the environment. This has actually |
|
2306 |
+ # happened. Such a system could not be considered "sane". |
|
2307 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2308 |
+ alias in your environment" "$LINENO" 5 |
|
2309 |
+ fi |
|
2310 |
+ if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2311 |
+ break |
|
2312 |
+ fi |
|
2313 |
+ # Just in case. |
|
2314 |
+ sleep 1 |
|
2315 |
+ am_has_slept=yes |
|
2316 |
+ done |
|
2317 |
+ test "$2" = conftest.file |
|
2318 |
+ ) |
|
2319 |
+then |
|
2320 |
+ # Ok. |
|
2321 |
+ : |
|
2322 |
+else |
|
2323 |
+ as_fn_error $? "newly created file is older than distributed files! |
|
2324 |
+Check your system clock" "$LINENO" 5 |
|
2325 |
+fi |
|
2326 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2327 |
+$as_echo "yes" >&6; } |
|
2328 |
+# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
2329 |
+# generated files are strictly newer. |
|
2330 |
+am_sleep_pid= |
|
2331 |
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2332 |
+ ( sleep 1 ) & |
|
2333 |
+ am_sleep_pid=$! |
|
2334 |
+fi |
|
2335 |
+ |
|
2336 |
+rm -f conftest.file |
|
2337 |
+ |
|
2338 |
+test "$program_prefix" != NONE && |
|
2339 |
+ program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2340 |
+# Use a double $ so make ignores it. |
|
2341 |
+test "$program_suffix" != NONE && |
|
2342 |
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2343 |
+# Double any \ or $. |
|
2344 |
+# By default was `s,x,x', remove it if useless. |
|
2345 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2346 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2347 |
+ |
|
2348 |
+# Expand $ac_aux_dir to an absolute path. |
|
2349 |
+am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
2350 |
+ |
|
2351 |
+if test x"${MISSING+set}" != xset; then |
|
2352 |
+ case $am_aux_dir in |
|
2353 |
+ *\ * | *\ *) |
|
2354 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2355 |
+ *) |
|
2356 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2357 |
+ esac |
|
2358 |
+fi |
|
2359 |
+# Use eval to expand $SHELL |
|
2360 |
+if eval "$MISSING --is-lightweight"; then |
|
2361 |
+ am_missing_run="$MISSING " |
|
2362 |
+else |
|
2363 |
+ am_missing_run= |
|
2364 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
|
2365 |
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
2366 |
+fi |
|
2367 |
+ |
|
2368 |
+if test x"${install_sh+set}" != xset; then |
|
2369 |
+ case $am_aux_dir in |
|
2370 |
+ *\ * | *\ *) |
|
2371 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2372 |
+ *) |
|
2373 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2374 |
+ esac |
|
2375 |
+fi |
|
2376 |
+ |
|
2377 |
+# Installed binaries are usually stripped using 'strip' when the user |
|
2378 |
+# run "make install-strip". However 'strip' might not be the right |
|
2379 |
+# tool to use in cross-compilation environments, therefore Automake |
|
2380 |
+# will honor the 'STRIP' environment variable to overrule this program. |
|
2381 |
+if test "$cross_compiling" != no; then |
|
2382 |
+ if test -n "$ac_tool_prefix"; then |
|
2383 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2384 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2385 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2386 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2387 |
+if ${ac_cv_prog_STRIP+:} false; then : |
|
2388 |
+ $as_echo_n "(cached) " >&6 |
|
2389 |
+else |
|
2390 |
+ if test -n "$STRIP"; then |
|
2391 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2392 |
+else |
|
2393 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2394 |
+for as_dir in $PATH |
|
2395 |
+do |
|
2396 |
+ IFS=$as_save_IFS |
|
2397 |
+ test -z "$as_dir" && as_dir=. |
|
2398 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2399 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2400 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2401 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2402 |
+ break 2 |
|
2403 |
+ fi |
|
2404 |
+done |
|
2405 |
+ done |
|
2406 |
+IFS=$as_save_IFS |
|
2407 |
+ |
|
2408 |
+fi |
|
2409 |
+fi |
|
2410 |
+STRIP=$ac_cv_prog_STRIP |
|
2411 |
+if test -n "$STRIP"; then |
|
2412 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2413 |
+$as_echo "$STRIP" >&6; } |
|
2414 |
+else |
|
2415 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2416 |
+$as_echo "no" >&6; } |
|
2417 |
+fi |
|
2418 |
+ |
|
2419 |
+ |
|
2420 |
+fi |
|
2421 |
+if test -z "$ac_cv_prog_STRIP"; then |
|
2422 |
+ ac_ct_STRIP=$STRIP |
|
2423 |
+ # Extract the first word of "strip", so it can be a program name with args. |
|
2424 |
+set dummy strip; ac_word=$2 |
|
2425 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2426 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2427 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2428 |
+ $as_echo_n "(cached) " >&6 |
|
2429 |
+else |
|
2430 |
+ if test -n "$ac_ct_STRIP"; then |
|
2431 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2432 |
+else |
|
2433 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2434 |
+for as_dir in $PATH |
|
2435 |
+do |
|
2436 |
+ IFS=$as_save_IFS |
|
2437 |
+ test -z "$as_dir" && as_dir=. |
|
2438 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2439 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2440 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
|
2441 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2442 |
+ break 2 |
|
2443 |
+ fi |
|
2444 |
+done |
|
2445 |
+ done |
|
2446 |
+IFS=$as_save_IFS |
|
2447 |
+ |
|
2448 |
+fi |
|
2449 |
+fi |
|
2450 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2451 |
+if test -n "$ac_ct_STRIP"; then |
|
2452 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2453 |
+$as_echo "$ac_ct_STRIP" >&6; } |
|
2454 |
+else |
|
2455 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2456 |
+$as_echo "no" >&6; } |
|
2457 |
+fi |
|
2458 |
+ |
|
2459 |
+ if test "x$ac_ct_STRIP" = x; then |
|
2460 |
+ STRIP=":" |
|
2461 |
+ else |
|
2462 |
+ case $cross_compiling:$ac_tool_warned in |
|
2463 |
+yes:) |
|
2464 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2465 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2466 |
+ac_tool_warned=yes ;; |
|
2467 |
+esac |
|
2468 |
+ STRIP=$ac_ct_STRIP |
|
2469 |
+ fi |
|
2470 |
+else |
|
2471 |
+ STRIP="$ac_cv_prog_STRIP" |
|
2472 |
+fi |
|
2473 |
+ |
|
2474 |
+fi |
|
2475 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2476 |
+ |
|
2477 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2478 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2479 |
+if test -z "$MKDIR_P"; then |
|
2480 |
+ if ${ac_cv_path_mkdir+:} false; then : |
|
2481 |
+ $as_echo_n "(cached) " >&6 |
|
2482 |
+else |
|
2483 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2484 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2485 |
+do |
|
2486 |
+ IFS=$as_save_IFS |
|
2487 |
+ test -z "$as_dir" && as_dir=. |
|
2488 |
+ for ac_prog in mkdir gmkdir; do |
|
2489 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2490 |
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
2491 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2492 |
+ 'mkdir (GNU coreutils) '* | \ |
|
2493 |
+ 'mkdir (coreutils) '* | \ |
|
2494 |
+ 'mkdir (fileutils) '4.1*) |
|
2495 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2496 |
+ break 3;; |
|
2497 |
+ esac |
|
2498 |
+ done |
|
2499 |
+ done |
|
2500 |
+ done |
|
2501 |
+IFS=$as_save_IFS |
|
2502 |
+ |
|
2503 |
+fi |
|
2504 |
+ |
|
2505 |
+ test -d ./--version && rmdir ./--version |
|
2506 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
|
2507 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
|
2508 |
+ else |
|
2509 |
+ # As a last resort, use the slow shell script. Don't cache a |
|
2510 |
+ # value for MKDIR_P within a source directory, because that will |
|
2511 |
+ # break other packages using the cache if that directory is |
|
2512 |
+ # removed, or if the value is a relative name. |
|
2513 |
+ MKDIR_P="$ac_install_sh -d" |
|
2514 |
+ fi |
|
2515 |
+fi |
|
2516 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2517 |
+$as_echo "$MKDIR_P" >&6; } |
|
2518 |
+ |
|
2519 |
+for ac_prog in gawk mawk nawk awk |
|
2520 |
+do |
|
2521 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2522 |
+set dummy $ac_prog; ac_word=$2 |
|
2523 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2524 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2525 |
+if ${ac_cv_prog_AWK+:} false; then : |
|
2526 |
+ $as_echo_n "(cached) " >&6 |
|
2527 |
+else |
|
2528 |
+ if test -n "$AWK"; then |
|
2529 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2530 |
+else |
|
2531 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2532 |
+for as_dir in $PATH |
|
2533 |
+do |
|
2534 |
+ IFS=$as_save_IFS |
|
2535 |
+ test -z "$as_dir" && as_dir=. |
|
2536 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2537 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2538 |
+ ac_cv_prog_AWK="$ac_prog" |
|
2539 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2540 |
+ break 2 |
|
2541 |
+ fi |
|
2542 |
+done |
|
2543 |
+ done |
|
2544 |
+IFS=$as_save_IFS |
|
2545 |
+ |
|
2546 |
+fi |
|
2547 |
+fi |
|
2548 |
+AWK=$ac_cv_prog_AWK |
|
2549 |
+if test -n "$AWK"; then |
|
2550 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2551 |
+$as_echo "$AWK" >&6; } |
|
2552 |
+else |
|
2553 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2554 |
+$as_echo "no" >&6; } |
|
2555 |
+fi |
|
2556 |
+ |
|
2557 |
+ |
|
2558 |
+ test -n "$AWK" && break |
|
2559 |
+done |
|
2560 |
+ |
|
2561 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2562 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2563 |
+set x ${MAKE-make} |
|
2564 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2565 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2566 |
+ $as_echo_n "(cached) " >&6 |
|
2567 |
+else |
|
2568 |
+ cat >conftest.make <<\_ACEOF |
|
2569 |
+SHELL = /bin/sh |
|
2570 |
+all: |
|
2571 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2572 |
+_ACEOF |
|
2573 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2574 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2575 |
+ *@@@%%%=?*=@@@%%%*) |
|
2576 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2577 |
+ *) |
|
2578 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2579 |
+esac |
|
2580 |
+rm -f conftest.make |
|
2581 |
+fi |
|
2582 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2583 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2584 |
+$as_echo "yes" >&6; } |
|
2585 |
+ SET_MAKE= |
|
2586 |
+else |
|
2587 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2588 |
+$as_echo "no" >&6; } |
|
2589 |
+ SET_MAKE="MAKE=${MAKE-make}" |
|
2590 |
+fi |
|
2591 |
+ |
|
2592 |
+rm -rf .tst 2>/dev/null |
|
2593 |
+mkdir .tst 2>/dev/null |
|
2594 |
+if test -d .tst; then |
|
2595 |
+ am__leading_dot=. |
|
2596 |
+else |
|
2597 |
+ am__leading_dot=_ |
|
2598 |
+fi |
|
2599 |
+rmdir .tst 2>/dev/null |
|
2600 |
+ |
|
2601 |
+# Check whether --enable-silent-rules was given. |
|
2602 |
+if test "${enable_silent_rules+set}" = set; then : |
|
2603 |
+ enableval=$enable_silent_rules; |
|
2604 |
+fi |
|
2605 |
+ |
|
2606 |
+case $enable_silent_rules in # ((( |
|
2607 |
+ yes) AM_DEFAULT_VERBOSITY=0;; |
|
2608 |
+ no) AM_DEFAULT_VERBOSITY=1;; |
|
2609 |
+ *) AM_DEFAULT_VERBOSITY=1;; |
|
2610 |
+esac |
|
2611 |
+am_make=${MAKE-make} |
|
2612 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2613 |
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2614 |
+if ${am_cv_make_support_nested_variables+:} false; then : |
|
2615 |
+ $as_echo_n "(cached) " >&6 |
|
2616 |
+else |
|
2617 |
+ if $as_echo 'TRUE=$(BAR$(V)) |
|
2618 |
+BAR0=false |
|
2619 |
+BAR1=true |
|
2620 |
+V=1 |
|
2621 |
+am__doit: |
|
2622 |
+ @$(TRUE) |
|
2623 |
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2624 |
+ am_cv_make_support_nested_variables=yes |
|
2625 |
+else |
|
2626 |
+ am_cv_make_support_nested_variables=no |
|
2627 |
+fi |
|
2628 |
+fi |
|
2629 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2630 |
+$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2631 |
+if test $am_cv_make_support_nested_variables = yes; then |
|
2632 |
+ AM_V='$(V)' |
|
2633 |
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2634 |
+else |
|
2635 |
+ AM_V=$AM_DEFAULT_VERBOSITY |
|
2636 |
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2637 |
+fi |
|
2638 |
+AM_BACKSLASH='\' |
|
2639 |
+ |
|
2640 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2641 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2642 |
+ # is not polluted with repeated "-I." |
|
2643 |
+ am__isrc=' -I$(srcdir)' |
|
2644 |
+ # test to see if srcdir already configured |
|
2645 |
+ if test -f $srcdir/config.status; then |
|
2646 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2647 |
+ fi |
|
2648 |
+fi |
|
2649 |
+ |
|
2650 |
+# test whether we have cygpath |
|
2651 |
+if test -z "$CYGPATH_W"; then |
|
2652 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2653 |
+ CYGPATH_W='cygpath -w' |
|
2654 |
+ else |
|
2655 |
+ CYGPATH_W=echo |
|
2656 |
+ fi |
|
2657 |
+fi |
|
2658 |
+ |
|
2659 |
+ |
|
2660 |
+# Define the identity of the package. |
|
2661 |
+ PACKAGE='full-package-name' |
|
2662 |
+ VERSION='VERSION' |
|
2663 |
+ |
|
2664 |
+ |
|
2665 |
+cat >>confdefs.h <<_ACEOF |
|
2666 |
+#define PACKAGE "$PACKAGE" |
|
2667 |
+_ACEOF |
|
2668 |
+ |
|
2669 |
+ |
|
2670 |
+cat >>confdefs.h <<_ACEOF |
|
2671 |
+#define VERSION "$VERSION" |
|
2672 |
+_ACEOF |
|
2673 |
+ |
|
2674 |
+# Some tools Automake needs. |
|
2675 |
+ |
|
2676 |
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2677 |
+ |
|
2678 |
+ |
|
2679 |
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2680 |
+ |
|
2681 |
+ |
|
2682 |
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2683 |
+ |
|
2684 |
+ |
|
2685 |
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2686 |
+ |
|
2687 |
+ |
|
2688 |
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2689 |
+ |
|
2690 |
+# For better backward compatibility. To be removed once Automake 1.9.x |
|
2691 |
+# dies out for good. For more background, see: |
|
2692 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
2693 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
2694 |
+mkdir_p='$(MKDIR_P)' |
|
2695 |
+ |
|
2696 |
+# We need awk for the "check" target (and possibly the TAP driver). The |
|
2697 |
+# system "awk" is bad on some platforms. |
|
2698 |
+# Always define AMTAR for backward compatibility. Yes, it's still used |
|
2699 |
+# in the wild :-( We should find a proper way to deprecate it ... |
|
2700 |
+AMTAR='$${TAR-tar}' |
|
2701 |
+ |
|
2702 |
+ |
|
2703 |
+# We'll loop over all known methods to create a tar archive until one works. |
|
2704 |
+_am_tools='gnutar pax cpio none' |
|
2705 |
+ |
|
2706 |
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
2707 |
+ |
|
2708 |
+ |
|
2709 |
+ |
|
2710 |
+ |
|
2711 |
+ |
|
2712 |
+ |
|
2713 |
+# POSIX will say in a future version that running "rm -f" with no argument |
|
2714 |
+# is OK; and we want to be able to make that assumption in our Makefile |
|
2715 |
+# recipes. So use an aggressive probe to check that the usage we want is |
|
2716 |
+# actually supported "in the wild" to an acceptable degree. |
|
2717 |
+# See automake bug#10828. |
|
2718 |
+# To make any issue more visible, cause the running configure to be aborted |
|
2719 |
+# by default if the 'rm' program in use doesn't match our expectations; the |
|
2720 |
+# user can still override this though. |
|
2721 |
+if rm -f && rm -fr && rm -rf; then : OK; else |
|
2722 |
+ cat >&2 <<'END' |
|
2723 |
+Oops! |
|
2724 |
+ |
|
2725 |
+Your 'rm' program seems unable to run without file operands specified |
|
2726 |
+on the command line, even when the '-f' option is present. This is contrary |
|
2727 |
+to the behaviour of most rm programs out there, and not conforming with |
|
2728 |
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
2729 |
+ |
|
2730 |
+Please tell bug-automake@gnu.org about your system, including the value |
|
2731 |
+of your $PATH and any error possibly output before this message. This |
|
2732 |
+can help us improve future automake versions. |
|
2733 |
+ |
|
2734 |
+END |
|
2735 |
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
2736 |
+ echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
2737 |
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
2738 |
+ echo >&2 |
|
2739 |
+ else |
|
2740 |
+ cat >&2 <<'END' |
|
2741 |
+Aborting the configuration process, to ensure you take notice of the issue. |
|
2742 |
+ |
|
2743 |
+You can download and install GNU coreutils to get an 'rm' implementation |
|
2744 |
+that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
2745 |
+ |
|
2746 |
+If you want to complete the configuration process using your problematic |
|
2747 |
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
2748 |
+to "yes", and re-run configure. |
|
2749 |
+ |
|
2750 |
+END |
|
2751 |
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
2752 |
+ fi |
|
2753 |
+fi |
|
2754 |
+ |
|
2755 |
+ |
|
2756 |
+# Checks for programs. |
|
2757 |
+ac_ext=c |
|
2758 |
+ac_cpp='$CPP $CPPFLAGS' |
|
2759 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2760 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2761 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2762 |
+if test -n "$ac_tool_prefix"; then |
|
2763 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2764 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2765 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2766 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2767 |
+if ${ac_cv_prog_CC+:} false; then : |
|
2768 |
+ $as_echo_n "(cached) " >&6 |
|
2769 |
+else |
|
2770 |
+ if test -n "$CC"; then |
|
2771 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2772 |
+else |
|
2773 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2774 |
+for as_dir in $PATH |
|
2775 |
+do |
|
2776 |
+ IFS=$as_save_IFS |
|
2777 |
+ test -z "$as_dir" && as_dir=. |
|
2778 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2779 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2780 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2781 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2782 |
+ break 2 |
|
2783 |
+ fi |
|
2784 |
+done |
|
2785 |
+ done |
|
2786 |
+IFS=$as_save_IFS |
|
2787 |
+ |
|
2788 |
+fi |
|
2789 |
+fi |
|
2790 |
+CC=$ac_cv_prog_CC |
|
2791 |
+if test -n "$CC"; then |
|
2792 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2793 |
+$as_echo "$CC" >&6; } |
|
2794 |
+else |
|
2795 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2796 |
+$as_echo "no" >&6; } |
|
2797 |
+fi |
|
2798 |
+ |
|
2799 |
+ |
|
2800 |
+fi |
|
2801 |
+if test -z "$ac_cv_prog_CC"; then |
|
2802 |
+ ac_ct_CC=$CC |
|
2803 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
|
2804 |
+set dummy gcc; ac_word=$2 |
|
2805 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2806 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2807 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2808 |
+ $as_echo_n "(cached) " >&6 |
|
2809 |
+else |
|
2810 |
+ if test -n "$ac_ct_CC"; then |
|
2811 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2812 |
+else |
|
2813 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2814 |
+for as_dir in $PATH |
|
2815 |
+do |
|
2816 |
+ IFS=$as_save_IFS |
|
2817 |
+ test -z "$as_dir" && as_dir=. |
|
2818 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2819 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2820 |
+ ac_cv_prog_ac_ct_CC="gcc" |
|
2821 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2822 |
+ break 2 |
|
2823 |
+ fi |
|
2824 |
+done |
|
2825 |
+ done |
|
2826 |
+IFS=$as_save_IFS |
|
2827 |
+ |
|
2828 |
+fi |
|
2829 |
+fi |
|
2830 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2831 |
+if test -n "$ac_ct_CC"; then |
|
2832 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2833 |
+$as_echo "$ac_ct_CC" >&6; } |
|
2834 |
+else |
|
2835 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2836 |
+$as_echo "no" >&6; } |
|
2837 |
+fi |
|
2838 |
+ |
|
2839 |
+ if test "x$ac_ct_CC" = x; then |
|
2840 |
+ CC="" |
|
2841 |
+ else |
|
2842 |
+ case $cross_compiling:$ac_tool_warned in |
|
2843 |
+yes:) |
|
2844 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2845 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2846 |
+ac_tool_warned=yes ;; |
|
2847 |
+esac |
|
2848 |
+ CC=$ac_ct_CC |
|
2849 |
+ fi |
|
2850 |
+else |
|
2851 |
+ CC="$ac_cv_prog_CC" |
|
2852 |
+fi |
|
2853 |
+ |
|
2854 |
+if test -z "$CC"; then |
|
2855 |
+ if test -n "$ac_tool_prefix"; then |
|
2856 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
2857 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2858 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2859 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2860 |
+if ${ac_cv_prog_CC+:} false; then : |
|
2861 |
+ $as_echo_n "(cached) " >&6 |
|
2862 |
+else |
|
2863 |
+ if test -n "$CC"; then |
|
2864 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2865 |
+else |
|
2866 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2867 |
+for as_dir in $PATH |
|
2868 |
+do |
|
2869 |
+ IFS=$as_save_IFS |
|
2870 |
+ test -z "$as_dir" && as_dir=. |
|
2871 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2872 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2873 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
2874 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2875 |
+ break 2 |
|
2876 |
+ fi |
|
2877 |
+done |
|
2878 |
+ done |
|
2879 |
+IFS=$as_save_IFS |
|
2880 |
+ |
|
2881 |
+fi |
|
2882 |
+fi |
|
2883 |
+CC=$ac_cv_prog_CC |
|
2884 |
+if test -n "$CC"; then |
|
2885 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2886 |
+$as_echo "$CC" >&6; } |
|
2887 |
+else |
|
2888 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2889 |
+$as_echo "no" >&6; } |
|
2890 |
+fi |
|
2891 |
+ |
|
2892 |
+ |
|
2893 |
+ fi |
|
2894 |
+fi |
|
2895 |
+if test -z "$CC"; then |
|
2896 |
+ # Extract the first word of "cc", so it can be a program name with args. |
|
2897 |
+set dummy cc; ac_word=$2 |
|
2898 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2899 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2900 |
+if ${ac_cv_prog_CC+:} false; then : |
|
2901 |
+ $as_echo_n "(cached) " >&6 |
|
2902 |
+else |
|
2903 |
+ if test -n "$CC"; then |
|
2904 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2905 |
+else |
|
2906 |
+ ac_prog_rejected=no |
|
2907 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2908 |
+for as_dir in $PATH |
|
2909 |
+do |
|
2910 |
+ IFS=$as_save_IFS |
|
2911 |
+ test -z "$as_dir" && as_dir=. |
|
2912 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2913 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2914 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
2915 |
+ ac_prog_rejected=yes |
|
2916 |
+ continue |
|
2917 |
+ fi |
|
2918 |
+ ac_cv_prog_CC="cc" |
|
2919 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2920 |
+ break 2 |
|
2921 |
+ fi |
|
2922 |
+done |
|
2923 |
+ done |
|
2924 |
+IFS=$as_save_IFS |
|
2925 |
+ |
|
2926 |
+if test $ac_prog_rejected = yes; then |
|
2927 |
+ # We found a bogon in the path, so make sure we never use it. |
|
2928 |
+ set dummy $ac_cv_prog_CC |
|
2929 |
+ shift |
|
2930 |
+ if test $# != 0; then |
|
2931 |
+ # We chose a different compiler from the bogus one. |
|
2932 |
+ # However, it has the same basename, so the bogon will be chosen |
|
2933 |
+ # first if we set CC to just the basename; use the full file name. |
|
2934 |
+ shift |
|
2935 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
2936 |
+ fi |
|
2937 |
+fi |
|
2938 |
+fi |
|
2939 |
+fi |
|
2940 |
+CC=$ac_cv_prog_CC |
|
2941 |
+if test -n "$CC"; then |
|
2942 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2943 |
+$as_echo "$CC" >&6; } |
|
2944 |
+else |
|
2945 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2946 |
+$as_echo "no" >&6; } |
|
2947 |
+fi |
|
2948 |
+ |
|
2949 |
+ |
|
2950 |
+fi |
|
2951 |
+if test -z "$CC"; then |
|
2952 |
+ if test -n "$ac_tool_prefix"; then |
|
2953 |
+ for ac_prog in cl.exe |
|
2954 |
+ do |
|
2955 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2956 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2957 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2958 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2959 |
+if ${ac_cv_prog_CC+:} false; then : |
|
2960 |
+ $as_echo_n "(cached) " >&6 |
|
2961 |
+else |
|
2962 |
+ if test -n "$CC"; then |
|
2963 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2964 |
+else |
|
2965 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2966 |
+for as_dir in $PATH |
|
2967 |
+do |
|
2968 |
+ IFS=$as_save_IFS |
|
2969 |
+ test -z "$as_dir" && as_dir=. |
|
2970 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2971 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2972 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
2973 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2974 |
+ break 2 |
|
2975 |
+ fi |
|
2976 |
+done |
|
2977 |
+ done |
|
2978 |
+IFS=$as_save_IFS |
|
2979 |
+ |
|
2980 |
+fi |
|
2981 |
+fi |
|
2982 |
+CC=$ac_cv_prog_CC |
|
2983 |
+if test -n "$CC"; then |
|
2984 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2985 |
+$as_echo "$CC" >&6; } |
|
2986 |
+else |
|
2987 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2988 |
+$as_echo "no" >&6; } |
|
2989 |
+fi |
|
2990 |
+ |
|
2991 |
+ |
|
2992 |
+ test -n "$CC" && break |
|
2993 |
+ done |
|
2994 |
+fi |
|
2995 |
+if test -z "$CC"; then |
|
2996 |
+ ac_ct_CC=$CC |
|
2997 |
+ for ac_prog in cl.exe |
|
2998 |
+do |
|
2999 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3000 |
+set dummy $ac_prog; ac_word=$2 |
|
3001 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3002 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
3003 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3004 |
+ $as_echo_n "(cached) " >&6 |
|
3005 |
+else |
|
3006 |
+ if test -n "$ac_ct_CC"; then |
|
3007 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3008 |
+else |
|
3009 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3010 |
+for as_dir in $PATH |
|
3011 |
+do |
|
3012 |
+ IFS=$as_save_IFS |
|
3013 |
+ test -z "$as_dir" && as_dir=. |
|
3014 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
3015 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3016 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3017 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3018 |
+ break 2 |
|
3019 |
+ fi |
|
3020 |
+done |
|
3021 |
+ done |
|
3022 |
+IFS=$as_save_IFS |
|
3023 |
+ |
|
3024 |
+fi |
|
3025 |
+fi |
|
3026 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3027 |
+if test -n "$ac_ct_CC"; then |
|
3028 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3029 |
+$as_echo "$ac_ct_CC" >&6; } |
|
3030 |
+else |
|
3031 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3032 |
+$as_echo "no" >&6; } |
|
3033 |
+fi |
|
3034 |
+ |
|
3035 |
+ |
|
3036 |
+ test -n "$ac_ct_CC" && break |
|
3037 |
+done |
|
3038 |
+ |
|
3039 |
+ if test "x$ac_ct_CC" = x; then |
|
3040 |
+ CC="" |
|
3041 |
+ else |
|
3042 |
+ case $cross_compiling:$ac_tool_warned in |
|
3043 |
+yes:) |
|
3044 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3045 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3046 |
+ac_tool_warned=yes ;; |
|
3047 |
+esac |
|
3048 |
+ CC=$ac_ct_CC |
|
3049 |
+ fi |
|
3050 |
+fi |
|
3051 |
+ |
|
3052 |
+fi |
|
3053 |
+ |
|
3054 |
+ |
|
3055 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3056 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3057 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3058 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3059 |
+ |
|
3060 |
+# Provide some information about the compiler. |
|
3061 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3062 |
+set X $ac_compile |
|
3063 |
+ac_compiler=$2 |
|
3064 |
+for ac_option in --version -v -V -qversion; do |
|
3065 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
|
3066 |
+case "(($ac_try" in |
|
3067 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3068 |
+ *) ac_try_echo=$ac_try;; |
|
3069 |
+esac |
|
3070 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3071 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3072 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3073 |
+ ac_status=$? |
|
3074 |
+ if test -s conftest.err; then |
|
3075 |
+ sed '10a\ |
|
3076 |
+... rest of stderr output deleted ... |
|
3077 |
+ 10q' conftest.err >conftest.er1 |
|
3078 |
+ cat conftest.er1 >&5 |
|
3079 |
+ fi |
|
3080 |
+ rm -f conftest.er1 conftest.err |
|
3081 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3082 |
+ test $ac_status = 0; } |
|
3083 |
+done |
|
3084 |
+ |
|
3085 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3086 |
+/* end confdefs.h. */ |
|
3087 |
+ |
|
3088 |
+int |
|
3089 |
+main () |
|
3090 |
+{ |
|
3091 |
+ |
|
3092 |
+ ; |
|
3093 |
+ return 0; |
|
3094 |
+} |
|
3095 |
+_ACEOF |
|
3096 |
+ac_clean_files_save=$ac_clean_files |
|
3097 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3098 |
+# Try to create an executable without -o first, disregard a.out. |
|
3099 |
+# It will help us diagnose broken compilers, and finding out an intuition |
|
3100 |
+# of exeext. |
|
3101 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
3102 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
|
3103 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3104 |
+ |
|
3105 |
+# The possible output files: |
|
3106 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3107 |
+ |
|
3108 |
+ac_rmfiles= |
|
3109 |
+for ac_file in $ac_files |
|
3110 |
+do |
|
3111 |
+ case $ac_file in |
|
3112 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3113 |
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3114 |
+ esac |
|
3115 |
+done |
|
3116 |
+rm -f $ac_rmfiles |
|
3117 |
+ |
|
3118 |
+if { { ac_try="$ac_link_default" |
|
3119 |
+case "(($ac_try" in |
|
3120 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3121 |
+ *) ac_try_echo=$ac_try;; |
|
3122 |
+esac |
|
3123 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3124 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3125 |
+ (eval "$ac_link_default") 2>&5 |
|
3126 |
+ ac_status=$? |
|
3127 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3128 |
+ test $ac_status = 0; }; then : |
|
3129 |
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3130 |
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3131 |
+# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3132 |
+# so that the user can short-circuit this test for compilers unknown to |
|
3133 |
+# Autoconf. |
|
3134 |
+for ac_file in $ac_files '' |
|
3135 |
+do |
|
3136 |
+ test -f "$ac_file" || continue |
|
3137 |
+ case $ac_file in |
|
3138 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3139 |
+ ;; |
|
3140 |
+ [ab].out ) |
|
3141 |
+ # We found the default executable, but exeext='' is most |
|
3142 |
+ # certainly right. |
|
3143 |
+ break;; |
|
3144 |
+ *.* ) |
|
3145 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3146 |
+ then :; else |
|
3147 |
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3148 |
+ fi |
|
3149 |
+ # We set ac_cv_exeext here because the later test for it is not |
|
3150 |
+ # safe: cross compilers may not add the suffix if given an `-o' |
|
3151 |
+ # argument, so we may need to know it at that point already. |
|
3152 |
+ # Even if this section looks crufty: it has the advantage of |
|
3153 |
+ # actually working. |
|
3154 |
+ break;; |
|
3155 |
+ * ) |
|
3156 |
+ break;; |
|
3157 |
+ esac |
|
3158 |
+done |
|
3159 |
+test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3160 |
+ |
|
3161 |
+else |
|
3162 |
+ ac_file='' |
|
3163 |
+fi |
|
3164 |
+if test -z "$ac_file"; then : |
|
3165 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3166 |
+$as_echo "no" >&6; } |
|
3167 |
+$as_echo "$as_me: failed program was:" >&5 |
|
3168 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
3169 |
+ |
|
3170 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3171 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3172 |
+as_fn_error 77 "C compiler cannot create executables |
|
3173 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3174 |
+else |
|
3175 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3176 |
+$as_echo "yes" >&6; } |
|
3177 |
+fi |
|
3178 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3179 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3180 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3181 |
+$as_echo "$ac_file" >&6; } |
|
3182 |
+ac_exeext=$ac_cv_exeext |
|
3183 |
+ |
|
3184 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3185 |
+ac_clean_files=$ac_clean_files_save |
|
3186 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3187 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
|
3188 |
+if { { ac_try="$ac_link" |
|
3189 |
+case "(($ac_try" in |
|
3190 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3191 |
+ *) ac_try_echo=$ac_try;; |
|
3192 |
+esac |
|
3193 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3194 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3195 |
+ (eval "$ac_link") 2>&5 |
|
3196 |
+ ac_status=$? |
|
3197 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3198 |
+ test $ac_status = 0; }; then : |
|
3199 |
+ # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3200 |
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3201 |
+# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3202 |
+# `rm'. |
|
3203 |
+for ac_file in conftest.exe conftest conftest.*; do |
|
3204 |
+ test -f "$ac_file" || continue |
|
3205 |
+ case $ac_file in |
|
3206 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3207 |
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3208 |
+ break;; |
|
3209 |
+ * ) break;; |
|
3210 |
+ esac |
|
3211 |
+done |
|
3212 |
+else |
|
3213 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3214 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3215 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3216 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3217 |
+fi |
|
3218 |
+rm -f conftest conftest$ac_cv_exeext |
|
3219 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3220 |
+$as_echo "$ac_cv_exeext" >&6; } |
|
3221 |
+ |
|
3222 |
+rm -f conftest.$ac_ext |
|
3223 |
+EXEEXT=$ac_cv_exeext |
|
3224 |
+ac_exeext=$EXEEXT |
|
3225 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3226 |
+/* end confdefs.h. */ |
|
3227 |
+#include <stdio.h> |
|
3228 |
+int |
|
3229 |
+main () |
|
3230 |
+{ |
|
3231 |
+FILE *f = fopen ("conftest.out", "w"); |
|
3232 |
+ return ferror (f) || fclose (f) != 0; |
|
3233 |
+ |
|
3234 |
+ ; |
|
3235 |
+ return 0; |
|
3236 |
+} |
|
3237 |
+_ACEOF |
|
3238 |
+ac_clean_files="$ac_clean_files conftest.out" |
|
3239 |
+# Check that the compiler produces executables we can run. If not, either |
|
3240 |
+# the compiler is broken, or we cross compile. |
|
3241 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3242 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3243 |
+if test "$cross_compiling" != yes; then |
|
3244 |
+ { { ac_try="$ac_link" |
|
3245 |
+case "(($ac_try" in |
|
3246 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3247 |
+ *) ac_try_echo=$ac_try;; |
|
3248 |
+esac |
|
3249 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3250 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3251 |
+ (eval "$ac_link") 2>&5 |
|
3252 |
+ ac_status=$? |
|
3253 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3254 |
+ test $ac_status = 0; } |
|
3255 |
+ if { ac_try='./conftest$ac_cv_exeext' |
|
3256 |
+ { { case "(($ac_try" in |
|
3257 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3258 |
+ *) ac_try_echo=$ac_try;; |
|
3259 |
+esac |
|
3260 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3261 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3262 |
+ (eval "$ac_try") 2>&5 |
|
3263 |
+ ac_status=$? |
|
3264 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3265 |
+ test $ac_status = 0; }; }; then |
|
3266 |
+ cross_compiling=no |
|
3267 |
+ else |
|
3268 |
+ if test "$cross_compiling" = maybe; then |
|
3269 |
+ cross_compiling=yes |
|
3270 |
+ else |
|
3271 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3272 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3273 |
+as_fn_error $? "cannot run C compiled programs. |
|
3274 |
+If you meant to cross compile, use \`--host'. |
|
3275 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3276 |
+ fi |
|
3277 |
+ fi |
|
3278 |
+fi |
|
3279 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3280 |
+$as_echo "$cross_compiling" >&6; } |
|
3281 |
+ |
|
3282 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3283 |
+ac_clean_files=$ac_clean_files_save |
|
3284 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3285 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
|
3286 |
+if ${ac_cv_objext+:} false; then : |
|
3287 |
+ $as_echo_n "(cached) " >&6 |
|
3288 |
+else |
|
3289 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3290 |
+/* end confdefs.h. */ |
|
3291 |
+ |
|
3292 |
+int |
|
3293 |
+main () |
|
3294 |
+{ |
|
3295 |
+ |
|
3296 |
+ ; |
|
3297 |
+ return 0; |
|
3298 |
+} |
|
3299 |
+_ACEOF |
|
3300 |
+rm -f conftest.o conftest.obj |
|
3301 |
+if { { ac_try="$ac_compile" |
|
3302 |
+case "(($ac_try" in |
|
3303 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3304 |
+ *) ac_try_echo=$ac_try;; |
|
3305 |
+esac |
|
3306 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3307 |
+$as_echo "$ac_try_echo"; } >&5 |
|
3308 |
+ (eval "$ac_compile") 2>&5 |
|
3309 |
+ ac_status=$? |
|
3310 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3311 |
+ test $ac_status = 0; }; then : |
|
3312 |
+ for ac_file in conftest.o conftest.obj conftest.*; do |
|
3313 |
+ test -f "$ac_file" || continue; |
|
3314 |
+ case $ac_file in |
|
3315 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3316 |
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3317 |
+ break;; |
|
3318 |
+ esac |
|
3319 |
+done |
|
3320 |
+else |
|
3321 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
3322 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
3323 |
+ |
|
3324 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3325 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3326 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3327 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3328 |
+fi |
|
3329 |
+rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3330 |
+fi |
|
3331 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3332 |
+$as_echo "$ac_cv_objext" >&6; } |
|
3333 |
+OBJEXT=$ac_cv_objext |
|
3334 |
+ac_objext=$OBJEXT |
|
3335 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
3336 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
3337 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
|
3338 |
+ $as_echo_n "(cached) " >&6 |
|
3339 |
+else |
|
3340 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3341 |
+/* end confdefs.h. */ |
|
3342 |
+ |
|
3343 |
+int |
|
3344 |
+main () |
|
3345 |
+{ |
|
3346 |
+#ifndef __GNUC__ |
|
3347 |
+ choke me |
|
3348 |
+#endif |
|
3349 |
+ |
|
3350 |
+ ; |
|
3351 |
+ return 0; |
|
3352 |
+} |
|
3353 |
+_ACEOF |
|
3354 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
3355 |
+ ac_compiler_gnu=yes |
|
3356 |
+else |
|
3357 |
+ ac_compiler_gnu=no |
|
3358 |
+fi |
|
3359 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3360 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3361 |
+ |
|
3362 |
+fi |
|
3363 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
3364 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3365 |
+if test $ac_compiler_gnu = yes; then |
|
3366 |
+ GCC=yes |
|
3367 |
+else |
|
3368 |
+ GCC= |
|
3369 |
+fi |
|
3370 |
+ac_test_CFLAGS=${CFLAGS+set} |
|
3371 |
+ac_save_CFLAGS=$CFLAGS |
|
3372 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
3373 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
3374 |
+if ${ac_cv_prog_cc_g+:} false; then : |
|
3375 |
+ $as_echo_n "(cached) " >&6 |
|
3376 |
+else |
|
3377 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
|
3378 |
+ ac_c_werror_flag=yes |
|
3379 |
+ ac_cv_prog_cc_g=no |
|
3380 |
+ CFLAGS="-g" |
|
3381 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3382 |
+/* end confdefs.h. */ |
|
3383 |
+ |
|
3384 |
+int |
|
3385 |
+main () |
|
3386 |
+{ |
|
3387 |
+ |
|
3388 |
+ ; |
|
3389 |
+ return 0; |
|
3390 |
+} |
|
3391 |
+_ACEOF |
|
3392 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
3393 |
+ ac_cv_prog_cc_g=yes |
|
3394 |
+else |
|
3395 |
+ CFLAGS="" |
|
3396 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3397 |
+/* end confdefs.h. */ |
|
3398 |
+ |
|
3399 |
+int |
|
3400 |
+main () |
|
3401 |
+{ |
|
3402 |
+ |
|
3403 |
+ ; |
|
3404 |
+ return 0; |
|
3405 |
+} |
|
3406 |
+_ACEOF |
|
3407 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
3408 |
+ |
|
3409 |
+else |
|
3410 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
|
3411 |
+ CFLAGS="-g" |
|
3412 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3413 |
+/* end confdefs.h. */ |
|
3414 |
+ |
|
3415 |
+int |
|
3416 |
+main () |
|
3417 |
+{ |
|
3418 |
+ |
|
3419 |
+ ; |
|
3420 |
+ return 0; |
|
3421 |
+} |
|
3422 |
+_ACEOF |
|
3423 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
3424 |
+ ac_cv_prog_cc_g=yes |
|
3425 |
+fi |
|
3426 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3427 |
+fi |
|
3428 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3429 |
+fi |
|
3430 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3431 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
|
3432 |
+fi |
|
3433 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
3434 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
3435 |
+if test "$ac_test_CFLAGS" = set; then |
|
3436 |
+ CFLAGS=$ac_save_CFLAGS |
|
3437 |
+elif test $ac_cv_prog_cc_g = yes; then |
|
3438 |
+ if test "$GCC" = yes; then |
|
3439 |
+ CFLAGS="-g -O2" |
|
3440 |
+ else |
|
3441 |
+ CFLAGS="-g" |
|
3442 |
+ fi |
|
3443 |
+else |
|
3444 |
+ if test "$GCC" = yes; then |
|
3445 |
+ CFLAGS="-O2" |
|
3446 |
+ else |
|
3447 |
+ CFLAGS= |
|
3448 |
+ fi |
|
3449 |
+fi |
|
3450 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
3451 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
3452 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
|
3453 |
+ $as_echo_n "(cached) " >&6 |
|
3454 |
+else |
|
3455 |
+ ac_cv_prog_cc_c89=no |
|
3456 |
+ac_save_CC=$CC |
|
3457 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3458 |
+/* end confdefs.h. */ |
|
3459 |
+#include <stdarg.h> |
|
3460 |
+#include <stdio.h> |
|
3461 |
+struct stat; |
|
3462 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3463 |
+struct buf { int x; }; |
|
3464 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3465 |
+static char *e (p, i) |
|
3466 |
+ char **p; |
|
3467 |
+ int i; |
|
3468 |
+{ |
|
3469 |
+ return p[i]; |
|
3470 |
+} |
|
3471 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
|
3472 |
+{ |
|
3473 |
+ char *s; |
|
3474 |
+ va_list v; |
|
3475 |
+ va_start (v,p); |
|
3476 |
+ s = g (p, va_arg (v,int)); |
|
3477 |
+ va_end (v); |
|
3478 |
+ return s; |
|
3479 |
+} |
|
3480 |
+ |
|
3481 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3482 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
|
3483 |
+ These don't provoke an error unfortunately, instead are silently treated |
|
3484 |
+ as 'x'. The following induces an error, until -std is added to get |
|
3485 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
3486 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
|
3487 |
+ that's true only with -std. */ |
|
3488 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3489 |
+ |
|
3490 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
3491 |
+ inside strings and character constants. */ |
|
3492 |
+#define FOO(x) 'x' |
|
3493 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3494 |
+ |
|
3495 |
+int test (int i, double x); |
|
3496 |
+struct s1 {int (*f) (int a);}; |
|
3497 |
+struct s2 {int (*f) (double a);}; |
|
3498 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3499 |
+int argc; |
|
3500 |
+char **argv; |
|
3501 |
+int |
|
3502 |
+main () |
|
3503 |
+{ |
|
3504 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3505 |
+ ; |
|
3506 |
+ return 0; |
|
3507 |
+} |
|
3508 |
+_ACEOF |
|
3509 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3510 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3511 |
+do |
|
3512 |
+ CC="$ac_save_CC $ac_arg" |
|
3513 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
|
3514 |
+ ac_cv_prog_cc_c89=$ac_arg |
|
3515 |
+fi |
|
3516 |
+rm -f core conftest.err conftest.$ac_objext |
|
3517 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3518 |
+done |
|
3519 |
+rm -f conftest.$ac_ext |
|
3520 |
+CC=$ac_save_CC |
|
3521 |
+ |
|
3522 |
+fi |
|
3523 |
+# AC_CACHE_VAL |
|
3524 |
+case "x$ac_cv_prog_cc_c89" in |
|
3525 |
+ x) |
|
3526 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
3527 |
+$as_echo "none needed" >&6; } ;; |
|
3528 |
+ xno) |
|
3529 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
3530 |
+$as_echo "unsupported" >&6; } ;; |
|
3531 |
+ *) |
|
3532 |
+ CC="$CC $ac_cv_prog_cc_c89" |
|
3533 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
3534 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
3535 |
+esac |
|
3536 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
3537 |
+ |
|
3538 |
+fi |
|
3539 |
+ |
|
3540 |
+ac_ext=c |
|
3541 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3542 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3543 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3544 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3545 |
+ |
|
3546 |
+ac_ext=c |
|
3547 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3548 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3549 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3550 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3551 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
3552 |
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
3553 |
+if ${am_cv_prog_cc_c_o+:} false; then : |
|
3554 |
+ $as_echo_n "(cached) " >&6 |
|
3555 |
+else |
|
3556 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3557 |
+/* end confdefs.h. */ |
|
3558 |
+ |
|
3559 |
+int |
|
3560 |
+main () |
|
3561 |
+{ |
|
3562 |
+ |
|
3563 |
+ ; |
|
3564 |
+ return 0; |
|
3565 |
+} |
|
3566 |
+_ACEOF |
|
3567 |
+ # Make sure it works both with $CC and with simple cc. |
|
3568 |
+ # Following AC_PROG_CC_C_O, we do the test twice because some |
|
3569 |
+ # compilers refuse to overwrite an existing .o file with -o, |
|
3570 |
+ # though they will create one. |
|
3571 |
+ am_cv_prog_cc_c_o=yes |
|
3572 |
+ for am_i in 1 2; do |
|
3573 |
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
3574 |
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
3575 |
+ ac_status=$? |
|
3576 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3577 |
+ (exit $ac_status); } \ |
|
3578 |
+ && test -f conftest2.$ac_objext; then |
|
3579 |
+ : OK |
|
3580 |
+ else |
|
3581 |
+ am_cv_prog_cc_c_o=no |
|
3582 |
+ break |
|
3583 |
+ fi |
|
3584 |
+ done |
|
3585 |
+ rm -f core conftest* |
|
3586 |
+ unset am_i |
|
3587 |
+fi |
|
3588 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
3589 |
+$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
3590 |
+if test "$am_cv_prog_cc_c_o" != yes; then |
|
3591 |
+ # Losing compiler, so override with the script. |
|
3592 |
+ # FIXME: It is wrong to rewrite CC. |
|
3593 |
+ # But if we don't then we get into trouble of one sort or another. |
|
3594 |
+ # A longer-term fix would be to have automake use am__CC in this case, |
|
3595 |
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
3596 |
+ CC="$am_aux_dir/compile $CC" |
|
3597 |
+fi |
|
3598 |
+ac_ext=c |
|
3599 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3600 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3601 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3602 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3603 |
+ |
|
3604 |
+DEPDIR="${am__leading_dot}deps" |
|
3605 |
+ |
|
3606 |
+ac_config_commands="$ac_config_commands depfiles" |
|
3607 |
+ |
|
3608 |
+ |
|
3609 |
+am_make=${MAKE-make} |
|
3610 |
+cat > confinc << 'END' |
|
3611 |
+am__doit: |
|
3612 |
+ @echo this is the am__doit target |
|
3613 |
+.PHONY: am__doit |
|
3614 |
+END |
|
3615 |
+# If we don't find an include directive, just comment out the code. |
|
3616 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
3617 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
3618 |
+am__include="#" |
|
3619 |
+am__quote= |
|
3620 |
+_am_result=none |
|
3621 |
+# First try GNU make style include. |
|
3622 |
+echo "include confinc" > confmf |
|
3623 |
+# Ignore all kinds of additional output from 'make'. |
|
3624 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3625 |
+*the\ am__doit\ target*) |
|
3626 |
+ am__include=include |
|
3627 |
+ am__quote= |
|
3628 |
+ _am_result=GNU |
|
3629 |
+ ;; |
|
3630 |
+esac |
|
3631 |
+# Now try BSD make style include. |
|
3632 |
+if test "$am__include" = "#"; then |
|
3633 |
+ echo '.include "confinc"' > confmf |
|
3634 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3635 |
+ *the\ am__doit\ target*) |
|
3636 |
+ am__include=.include |
|
3637 |
+ am__quote="\"" |
|
3638 |
+ _am_result=BSD |
|
3639 |
+ ;; |
|
3640 |
+ esac |
|
3641 |
+fi |
|
3642 |
+ |
|
3643 |
+ |
|
3644 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
3645 |
+$as_echo "$_am_result" >&6; } |
|
3646 |
+rm -f confinc confmf |
|
3647 |
+ |
|
3648 |
+# Check whether --enable-dependency-tracking was given. |
|
3649 |
+if test "${enable_dependency_tracking+set}" = set; then : |
|
3650 |
+ enableval=$enable_dependency_tracking; |
|
3651 |
+fi |
|
3652 |
+ |
|
3653 |
+if test "x$enable_dependency_tracking" != xno; then |
|
3654 |
+ am_depcomp="$ac_aux_dir/depcomp" |
|
3655 |
+ AMDEPBACKSLASH='\' |
|
3656 |
+ am__nodep='_no' |
|
3657 |
+fi |
|
3658 |
+ if test "x$enable_dependency_tracking" != xno; then |
|
3659 |
+ AMDEP_TRUE= |
|
3660 |
+ AMDEP_FALSE='#' |
|
3661 |
+else |
|
3662 |
+ AMDEP_TRUE='#' |
|
3663 |
+ AMDEP_FALSE= |
|
3664 |
+fi |
|
3665 |
+ |
|
3666 |
+ |
|
3667 |
+ |
|
3668 |
+depcc="$CC" am_compiler_list= |
|
3669 |
+ |
|
3670 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3671 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3672 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
3673 |
+ $as_echo_n "(cached) " >&6 |
|
3674 |
+else |
|
3675 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3676 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
|
3677 |
+ # making bogus files that we don't know about and never remove. For |
|
3678 |
+ # instance it was reported that on HP-UX the gcc test will end up |
|
3679 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
|
3680 |
+ # in D". |
|
3681 |
+ rm -rf conftest.dir |
|
3682 |
+ mkdir conftest.dir |
|
3683 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
|
3684 |
+ # using a relative directory. |
|
3685 |
+ cp "$am_depcomp" conftest.dir |
|
3686 |
+ cd conftest.dir |
|
3687 |
+ # We will build objects and dependencies in a subdirectory because |
|
3688 |
+ # it helps to detect inapplicable dependency modes. For instance |
|
3689 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
|
3690 |
+ # side effect of compilation, but ICC will put the dependencies in |
|
3691 |
+ # the current directory while Tru64 will put them in the object |
|
3692 |
+ # directory. |
|
3693 |
+ mkdir sub |
|
3694 |
+ |
|
3695 |
+ am_cv_CC_dependencies_compiler_type=none |
|
3696 |
+ if test "$am_compiler_list" = ""; then |
|
3697 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3698 |
+ fi |
|
3699 |
+ am__universal=false |
|
3700 |
+ case " $depcc " in #( |
|
3701 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3702 |
+ esac |
|
3703 |
+ |
|
3704 |
+ for depmode in $am_compiler_list; do |
|
3705 |
+ # Setup a source with many dependencies, because some compilers |
|
3706 |
+ # like to wrap large dependency lists on column 80 (with \), and |
|
3707 |
+ # we should not choose a depcomp mode which is confused by this. |
|
3708 |
+ # |
|
3709 |
+ # We need to recreate these files for each test, as the compiler may |
|
3710 |
+ # overwrite some of them when testing with obscure command lines. |
|
3711 |
+ # This happens at least with the AIX C compiler. |
|
3712 |
+ : > sub/conftest.c |
|
3713 |
+ for i in 1 2 3 4 5 6; do |
|
3714 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3715 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
3716 |
+ # Solaris 10 /bin/sh. |
|
3717 |
+ echo '/* dummy */' > sub/conftst$i.h |
|
3718 |
+ done |
|
3719 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3720 |
+ |
|
3721 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
3722 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
|
3723 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
|
3724 |
+ # versions had trouble with output in subdirs. |
|
3725 |
+ am__obj=sub/conftest.${OBJEXT-o} |
|
3726 |
+ am__minus_obj="-o $am__obj" |
|
3727 |
+ case $depmode in |
|
3728 |
+ gcc) |
|
3729 |
+ # This depmode causes a compiler race in universal mode. |
|
3730 |
+ test "$am__universal" = false || continue |
|
3731 |
+ ;; |
|
3732 |
+ nosideeffect) |
|
3733 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
|
3734 |
+ # only be used when explicitly requested. |
|
3735 |
+ if test "x$enable_dependency_tracking" = xyes; then |
|
3736 |
+ continue |
|
3737 |
+ else |
|
3738 |
+ break |
|
3739 |
+ fi |
|
3740 |
+ ;; |
|
3741 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3742 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
|
3743 |
+ # not run yet. These depmodes are late enough in the game, and |
|
3744 |
+ # so weak that their functioning should not be impacted. |
|
3745 |
+ am__obj=conftest.${OBJEXT-o} |
|
3746 |
+ am__minus_obj= |
|
3747 |
+ ;; |
|
3748 |
+ none) break ;; |
|
3749 |
+ esac |
|
3750 |
+ if depmode=$depmode \ |
|
3751 |
+ source=sub/conftest.c object=$am__obj \ |
|
3752 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3753 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3754 |
+ >/dev/null 2>conftest.err && |
|
3755 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3756 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3757 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3758 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3759 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
|
3760 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
|
3761 |
+ # that says an option was ignored or not supported. |
|
3762 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3763 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
|
3764 |
+ # The diagnosis changed in icc 8.0: |
|
3765 |
+ # icc: Command line remark: option '-MP' not supported |
|
3766 |
+ if (grep 'ignoring option' conftest.err || |
|
3767 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3768 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
|
3769 |
+ break |
|
3770 |
+ fi |
|
3771 |
+ fi |
|
3772 |
+ done |
|
3773 |
+ |
|
3774 |
+ cd .. |
|
3775 |
+ rm -rf conftest.dir |
|
3776 |
+else |
|
3777 |
+ am_cv_CC_dependencies_compiler_type=none |
|
3778 |
+fi |
|
3779 |
+ |
|
3780 |
+fi |
|
3781 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3782 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3783 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3784 |
+ |
|
3785 |
+ if |
|
3786 |
+ test "x$enable_dependency_tracking" != xno \ |
|
3787 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3788 |
+ am__fastdepCC_TRUE= |
|
3789 |
+ am__fastdepCC_FALSE='#' |
|
3790 |
+else |
|
3791 |
+ am__fastdepCC_TRUE='#' |
|
3792 |
+ am__fastdepCC_FALSE= |
|
3793 |
+fi |
|
3794 |
+ |
|
3795 |
+ |
|
3796 |
+ |
|
3797 |
+# Checks for libraries. |
|
3798 |
+ |
|
3799 |
+# Checks for header files. |
|
3800 |
+ |
|
3801 |
+ac_ext=c |
|
3802 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3803 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3804 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3805 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3806 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
3807 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
3808 |
+# On Suns, sometimes $CPP names a directory. |
|
3809 |
+if test -n "$CPP" && test -d "$CPP"; then |
|
3810 |
+ CPP= |
|
3811 |
+fi |
|
3812 |
+if test -z "$CPP"; then |
|
3813 |
+ if ${ac_cv_prog_CPP+:} false; then : |
|
3814 |
+ $as_echo_n "(cached) " >&6 |
|
3815 |
+else |
|
3816 |
+ # Double quotes because CPP needs to be expanded |
|
3817 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
3818 |
+ do |
|
3819 |
+ ac_preproc_ok=false |
|
3820 |
+for ac_c_preproc_warn_flag in '' yes |
|
3821 |
+do |
|
3822 |
+ # Use a header file that comes with gcc, so configuring glibc |
|
3823 |
+ # with a fresh cross-compiler works. |
|
3824 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
3825 |
+ # <limits.h> exists even on freestanding compilers. |
|
3826 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
|
3827 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
|
3828 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3829 |
+/* end confdefs.h. */ |
|
3830 |
+#ifdef __STDC__ |
|
3831 |
+# include <limits.h> |
|
3832 |
+#else |
|
3833 |
+# include <assert.h> |
|
3834 |
+#endif |
|
3835 |
+ Syntax error |
|
3836 |
+_ACEOF |
|
3837 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
3838 |
+ |
|
3839 |
+else |
|
3840 |
+ # Broken: fails on valid input. |
|
3841 |
+continue |
|
3842 |
+fi |
|
3843 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
3844 |
+ |
|
3845 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
|
3846 |
+ # can be detected and how. |
|
3847 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3848 |
+/* end confdefs.h. */ |
|
3849 |
+#include <ac_nonexistent.h> |
|
3850 |
+_ACEOF |
|
3851 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
3852 |
+ # Broken: success on invalid input. |
|
3853 |
+continue |
|
3854 |
+else |
|
3855 |
+ # Passes both tests. |
|
3856 |
+ac_preproc_ok=: |
|
3857 |
+break |
|
3858 |
+fi |
|
3859 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
3860 |
+ |
|
3861 |
+done |
|
3862 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
3863 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
|
3864 |
+if $ac_preproc_ok; then : |
|
3865 |
+ break |
|
3866 |
+fi |
|
3867 |
+ |
|
3868 |
+ done |
|
3869 |
+ ac_cv_prog_CPP=$CPP |
|
3870 |
+ |
|
3871 |
+fi |
|
3872 |
+ CPP=$ac_cv_prog_CPP |
|
3873 |
+else |
|
3874 |
+ ac_cv_prog_CPP=$CPP |
|
3875 |
+fi |
|
3876 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
3877 |
+$as_echo "$CPP" >&6; } |
|
3878 |
+ac_preproc_ok=false |
|
3879 |
+for ac_c_preproc_warn_flag in '' yes |
|
3880 |
+do |
|
3881 |
+ # Use a header file that comes with gcc, so configuring glibc |
|
3882 |
+ # with a fresh cross-compiler works. |
|
3883 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
3884 |
+ # <limits.h> exists even on freestanding compilers. |
|
3885 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
|
3886 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
|
3887 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3888 |
+/* end confdefs.h. */ |
|
3889 |
+#ifdef __STDC__ |
|
3890 |
+# include <limits.h> |
|
3891 |
+#else |
|
3892 |
+# include <assert.h> |
|
3893 |
+#endif |
|
3894 |
+ Syntax error |
|
3895 |
+_ACEOF |
|
3896 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
3897 |
+ |
|
3898 |
+else |
|
3899 |
+ # Broken: fails on valid input. |
|
3900 |
+continue |
|
3901 |
+fi |
|
3902 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
3903 |
+ |
|
3904 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
|
3905 |
+ # can be detected and how. |
|
3906 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3907 |
+/* end confdefs.h. */ |
|
3908 |
+#include <ac_nonexistent.h> |
|
3909 |
+_ACEOF |
|
3910 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
3911 |
+ # Broken: success on invalid input. |
|
3912 |
+continue |
|
3913 |
+else |
|
3914 |
+ # Passes both tests. |
|
3915 |
+ac_preproc_ok=: |
|
3916 |
+break |
|
3917 |
+fi |
|
3918 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
3919 |
+ |
|
3920 |
+done |
|
3921 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
3922 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
|
3923 |
+if $ac_preproc_ok; then : |
|
3924 |
+ |
|
3925 |
+else |
|
3926 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3927 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3928 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
3929 |
+See \`config.log' for more details" "$LINENO" 5; } |
|
3930 |
+fi |
|
3931 |
+ |
|
3932 |
+ac_ext=c |
|
3933 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3934 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3935 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3936 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3937 |
+ |
|
3938 |
+ |
|
3939 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
3940 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
3941 |
+if ${ac_cv_path_GREP+:} false; then : |
|
3942 |
+ $as_echo_n "(cached) " >&6 |
|
3943 |
+else |
|
3944 |
+ if test -z "$GREP"; then |
|
3945 |
+ ac_path_GREP_found=false |
|
3946 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
|
3947 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3948 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
3949 |
+do |
|
3950 |
+ IFS=$as_save_IFS |
|
3951 |
+ test -z "$as_dir" && as_dir=. |
|
3952 |
+ for ac_prog in grep ggrep; do |
|
3953 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
3954 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
3955 |
+ as_fn_executable_p "$ac_path_GREP" || continue |
|
3956 |
+# Check for GNU ac_path_GREP and select it if it is found. |
|
3957 |
+ # Check for GNU $ac_path_GREP |
|
3958 |
+case `"$ac_path_GREP" --version 2>&1` in |
|
3959 |
+*GNU*) |
|
3960 |
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
3961 |
+*) |
|
3962 |
+ ac_count=0 |
|
3963 |
+ $as_echo_n 0123456789 >"conftest.in" |
|
3964 |
+ while : |
|
3965 |
+ do |
|
3966 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3967 |
+ mv "conftest.tmp" "conftest.in" |
|
3968 |
+ cp "conftest.in" "conftest.nl" |
|
3969 |
+ $as_echo 'GREP' >> "conftest.nl" |
|
3970 |
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3971 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3972 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3973 |
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
3974 |
+ # Best one so far, save it but keep looking for a better one |
|
3975 |
+ ac_cv_path_GREP="$ac_path_GREP" |
|
3976 |
+ ac_path_GREP_max=$ac_count |
|
3977 |
+ fi |
|
3978 |
+ # 10*(2^10) chars as input seems more than enough |
|
3979 |
+ test $ac_count -gt 10 && break |
|
3980 |
+ done |
|
3981 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3982 |
+esac |
|
3983 |
+ |
|
3984 |
+ $ac_path_GREP_found && break 3 |
|
3985 |
+ done |
|
3986 |
+ done |
|
3987 |
+ done |
|
3988 |
+IFS=$as_save_IFS |
|
3989 |
+ if test -z "$ac_cv_path_GREP"; then |
|
3990 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
3991 |
+ fi |
|
3992 |
+else |
|
3993 |
+ ac_cv_path_GREP=$GREP |
|
3994 |
+fi |
|
3995 |
+ |
|
3996 |
+fi |
|
3997 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
3998 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
|
3999 |
+ GREP="$ac_cv_path_GREP" |
|
4000 |
+ |
|
4001 |
+ |
|
4002 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
4003 |
+$as_echo_n "checking for egrep... " >&6; } |
|
4004 |
+if ${ac_cv_path_EGREP+:} false; then : |
|
4005 |
+ $as_echo_n "(cached) " >&6 |
|
4006 |
+else |
|
4007 |
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4008 |
+ then ac_cv_path_EGREP="$GREP -E" |
|
4009 |
+ else |
|
4010 |
+ if test -z "$EGREP"; then |
|
4011 |
+ ac_path_EGREP_found=false |
|
4012 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
|
4013 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4014 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4015 |
+do |
|
4016 |
+ IFS=$as_save_IFS |
|
4017 |
+ test -z "$as_dir" && as_dir=. |
|
4018 |
+ for ac_prog in egrep; do |
|
4019 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
4020 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4021 |
+ as_fn_executable_p "$ac_path_EGREP" || continue |
|
4022 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
|
4023 |
+ # Check for GNU $ac_path_EGREP |
|
4024 |
+case `"$ac_path_EGREP" --version 2>&1` in |
|
4025 |
+*GNU*) |
|
4026 |
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4027 |
+*) |
|
4028 |
+ ac_count=0 |
|
4029 |
+ $as_echo_n 0123456789 >"conftest.in" |
|
4030 |
+ while : |
|
4031 |
+ do |
|
4032 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4033 |
+ mv "conftest.tmp" "conftest.in" |
|
4034 |
+ cp "conftest.in" "conftest.nl" |
|
4035 |
+ $as_echo 'EGREP' >> "conftest.nl" |
|
4036 |
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4037 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4038 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4039 |
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4040 |
+ # Best one so far, save it but keep looking for a better one |
|
4041 |
+ ac_cv_path_EGREP="$ac_path_EGREP" |
|
4042 |
+ ac_path_EGREP_max=$ac_count |
|
4043 |
+ fi |
|
4044 |
+ # 10*(2^10) chars as input seems more than enough |
|
4045 |
+ test $ac_count -gt 10 && break |
|
4046 |
+ done |
|
4047 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4048 |
+esac |
|
4049 |
+ |
|
4050 |
+ $ac_path_EGREP_found && break 3 |
|
4051 |
+ done |
|
4052 |
+ done |
|
4053 |
+ done |
|
4054 |
+IFS=$as_save_IFS |
|
4055 |
+ if test -z "$ac_cv_path_EGREP"; then |
|
4056 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4057 |
+ fi |
|
4058 |
+else |
|
4059 |
+ ac_cv_path_EGREP=$EGREP |
|
4060 |
+fi |
|
4061 |
+ |
|
4062 |
+ fi |
|
4063 |
+fi |
|
4064 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
4065 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4066 |
+ EGREP="$ac_cv_path_EGREP" |
|
4067 |
+ |
|
4068 |
+ |
|
4069 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
4070 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
|
4071 |
+if ${ac_cv_header_stdc+:} false; then : |
|
4072 |
+ $as_echo_n "(cached) " >&6 |
|
4073 |
+else |
|
4074 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4075 |
+/* end confdefs.h. */ |
|
4076 |
+#include <stdlib.h> |
|
4077 |
+#include <stdarg.h> |
|
4078 |
+#include <string.h> |
|
4079 |
+#include <float.h> |
|
4080 |
+ |
|
4081 |
+int |
|
4082 |
+main () |
|
4083 |
+{ |
|
4084 |
+ |
|
4085 |
+ ; |
|
4086 |
+ return 0; |
|
4087 |
+} |
|
4088 |
+_ACEOF |
|
4089 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
4090 |
+ ac_cv_header_stdc=yes |
|
4091 |
+else |
|
4092 |
+ ac_cv_header_stdc=no |
|
4093 |
+fi |
|
4094 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4095 |
+ |
|
4096 |
+if test $ac_cv_header_stdc = yes; then |
|
4097 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
4098 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4099 |
+/* end confdefs.h. */ |
|
4100 |
+#include <string.h> |
|
4101 |
+ |
|
4102 |
+_ACEOF |
|
4103 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4104 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
|
4105 |
+ |
|
4106 |
+else |
|
4107 |
+ ac_cv_header_stdc=no |
|
4108 |
+fi |
|
4109 |
+rm -f conftest* |
|
4110 |
+ |
|
4111 |
+fi |
|
4112 |
+ |
|
4113 |
+if test $ac_cv_header_stdc = yes; then |
|
4114 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
4115 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4116 |
+/* end confdefs.h. */ |
|
4117 |
+#include <stdlib.h> |
|
4118 |
+ |
|
4119 |
+_ACEOF |
|
4120 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4121 |
+ $EGREP "free" >/dev/null 2>&1; then : |
|
4122 |
+ |
|
4123 |
+else |
|
4124 |
+ ac_cv_header_stdc=no |
|
4125 |
+fi |
|
4126 |
+rm -f conftest* |
|
4127 |
+ |
|
4128 |
+fi |
|
4129 |
+ |
|
4130 |
+if test $ac_cv_header_stdc = yes; then |
|
4131 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
4132 |
+ if test "$cross_compiling" = yes; then : |
|
4133 |
+ : |
|
4134 |
+else |
|
4135 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4136 |
+/* end confdefs.h. */ |
|
4137 |
+#include <ctype.h> |
|
4138 |
+#include <stdlib.h> |
|
4139 |
+#if ((' ' & 0x0FF) == 0x020) |
|
4140 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
4141 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
4142 |
+#else |
|
4143 |
+# define ISLOWER(c) \ |
|
4144 |
+ (('a' <= (c) && (c) <= 'i') \ |
|
4145 |
+ || ('j' <= (c) && (c) <= 'r') \ |
|
4146 |
+ || ('s' <= (c) && (c) <= 'z')) |
|
4147 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
4148 |
+#endif |
|
4149 |
+ |
|
4150 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
4151 |
+int |
|
4152 |
+main () |
|
4153 |
+{ |
|
4154 |
+ int i; |
|
4155 |
+ for (i = 0; i < 256; i++) |
|
4156 |
+ if (XOR (islower (i), ISLOWER (i)) |
|
4157 |
+ || toupper (i) != TOUPPER (i)) |
|
4158 |
+ return 2; |
|
4159 |
+ return 0; |
|
4160 |
+} |
|
4161 |
+_ACEOF |
|
4162 |
+if ac_fn_c_try_run "$LINENO"; then : |
|
4163 |
+ |
|
4164 |
+else |
|
4165 |
+ ac_cv_header_stdc=no |
|
4166 |
+fi |
|
4167 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4168 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4169 |
+fi |
|
4170 |
+ |
|
4171 |
+fi |
|
4172 |
+fi |
|
4173 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
4174 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
|
4175 |
+if test $ac_cv_header_stdc = yes; then |
|
4176 |
+ |
|
4177 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
4178 |
+ |
|
4179 |
+fi |
|
4180 |
+ |
|
4181 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
4182 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4183 |
+ inttypes.h stdint.h unistd.h |
|
4184 |
+do : |
|
4185 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4186 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4187 |
+" |
|
4188 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
4189 |
+ cat >>confdefs.h <<_ACEOF |
|
4190 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4191 |
+_ACEOF |
|
4192 |
+ |
|
4193 |
+fi |
|
4194 |
+ |
|
4195 |
+done |
|
4196 |
+ |
|
4197 |
+ |
|
4198 |
+for ac_header in sys/time.h |
|
4199 |
+do : |
|
4200 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
|
4201 |
+if test "x$ac_cv_header_sys_time_h" = xyes; then : |
|
4202 |
+ cat >>confdefs.h <<_ACEOF |
|
4203 |
+#define HAVE_SYS_TIME_H 1 |
|
4204 |
+_ACEOF |
|
4205 |
+ |
|
4206 |
+fi |
|
4207 |
+ |
|
4208 |
+done |
|
4209 |
+ |
|
4210 |
+ |
|
4211 |
+# Checks for typedefs, structures, and compiler characteristics. |
|
4212 |
+ |
|
4213 |
+# Checks for library functions. |
|
4214 |
+for ac_func in gettimeofday |
|
4215 |
+do : |
|
4216 |
+ ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
|
4217 |
+if test "x$ac_cv_func_gettimeofday" = xyes; then : |
|
4218 |
+ cat >>confdefs.h <<_ACEOF |
|
4219 |
+#define HAVE_GETTIMEOFDAY 1 |
|
4220 |
+_ACEOF |
|
4221 |
+ |
|
4222 |
+fi |
|
4223 |
+done |
|
4224 |
+ |
|
4225 |
+ |
|
4226 |
+ac_config_files="$ac_config_files Makefile" |
|
4227 |
+ |
|
4228 |
+cat >confcache <<\_ACEOF |
|
4229 |
+# This file is a shell script that caches the results of configure |
|
4230 |
+# tests run on this system so they can be shared between configure |
|
4231 |
+# scripts and configure runs, see configure's option --config-cache. |
|
4232 |
+# It is not useful on other systems. If it contains results you don't |
|
4233 |
+# want to keep, you may remove or edit it. |
|
4234 |
+# |
|
4235 |
+# config.status only pays attention to the cache file if you give it |
|
4236 |
+# the --recheck option to rerun configure. |
|
4237 |
+# |
|
4238 |
+# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
4239 |
+# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
4240 |
+# following values. |
|
4241 |
+ |
|
4242 |
+_ACEOF |
|
4243 |
+ |
|
4244 |
+# The following way of writing the cache mishandles newlines in values, |
|
4245 |
+# but we know of no workaround that is simple, portable, and efficient. |
|
4246 |
+# So, we kill variables containing newlines. |
|
4247 |
+# Ultrix sh set writes to stderr and can't be redirected directly, |
|
4248 |
+# and sets the high bit in the cache file unless we assign to the vars. |
|
4249 |
+( |
|
4250 |
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
4251 |
+ eval ac_val=\$$ac_var |
|
4252 |
+ case $ac_val in #( |
|
4253 |
+ *${as_nl}*) |
|
4254 |
+ case $ac_var in #( |
|
4255 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
4256 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
4257 |
+ esac |
|
4258 |
+ case $ac_var in #( |
|
4259 |
+ _ | IFS | as_nl) ;; #( |
|
4260 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
4261 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
|
4262 |
+ esac ;; |
|
4263 |
+ esac |
|
4264 |
+ done |
|
4265 |
+ |
|
4266 |
+ (set) 2>&1 | |
|
4267 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
4268 |
+ *${as_nl}ac_space=\ *) |
|
4269 |
+ # `set' does not quote correctly, so add quotes: double-quote |
|
4270 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
|
4271 |
+ sed -n \ |
|
4272 |
+ "s/'/'\\\\''/g; |
|
4273 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
4274 |
+ ;; #( |
|
4275 |
+ *) |
|
4276 |
+ # `set' quotes correctly as required by POSIX, so do not add quotes. |
|
4277 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
4278 |
+ ;; |
|
4279 |
+ esac | |
|
4280 |
+ sort |
|
4281 |
+) | |
|
4282 |
+ sed ' |
|
4283 |
+ /^ac_cv_env_/b end |
|
4284 |
+ t clear |
|
4285 |
+ :clear |
|
4286 |
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
4287 |
+ t end |
|
4288 |
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
4289 |
+ :end' >>confcache |
|
4290 |
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
4291 |
+ if test -w "$cache_file"; then |
|
4292 |
+ if test "x$cache_file" != "x/dev/null"; then |
|
4293 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
4294 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
4295 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
4296 |
+ cat confcache >"$cache_file" |
|
4297 |
+ else |
|
4298 |
+ case $cache_file in #( |
|
4299 |
+ */* | ?:*) |
|
4300 |
+ mv -f confcache "$cache_file"$$ && |
|
4301 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
4302 |
+ *) |
|
4303 |
+ mv -f confcache "$cache_file" ;; |
|
4304 |
+ esac |
|
4305 |
+ fi |
|
4306 |
+ fi |
|
4307 |
+ else |
|
4308 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
4309 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
4310 |
+ fi |
|
4311 |
+fi |
|
4312 |
+rm -f confcache |
|
4313 |
+ |
|
4314 |
+test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
4315 |
+# Let make expand exec_prefix. |
|
4316 |
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
4317 |
+ |
|
4318 |
+DEFS=-DHAVE_CONFIG_H |
|
4319 |
+ |
|
4320 |
+ac_libobjs= |
|
4321 |
+ac_ltlibobjs= |
|
4322 |
+U= |
|
4323 |
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
4324 |
+ # 1. Remove the extension, and $U if already installed. |
|
4325 |
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
4326 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
4327 |
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
4328 |
+ # will be set to the directory where LIBOBJS objects are built. |
|
4329 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
4330 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
4331 |
+done |
|
4332 |
+LIBOBJS=$ac_libobjs |
|
4333 |
+ |
|
4334 |
+LTLIBOBJS=$ac_ltlibobjs |
|
4335 |
+ |
|
4336 |
+ |
|
4337 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
4338 |
+$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
4339 |
+ if test -n "$am_sleep_pid"; then |
|
4340 |
+ # Hide warnings about reused PIDs. |
|
4341 |
+ wait $am_sleep_pid 2>/dev/null |
|
4342 |
+ fi |
|
4343 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
4344 |
+$as_echo "done" >&6; } |
|
4345 |
+ if test -n "$EXEEXT"; then |
|
4346 |
+ am__EXEEXT_TRUE= |
|
4347 |
+ am__EXEEXT_FALSE='#' |
|
4348 |
+else |
|
4349 |
+ am__EXEEXT_TRUE='#' |
|
4350 |
+ am__EXEEXT_FALSE= |
|
4351 |
+fi |
|
4352 |
+ |
|
4353 |
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
4354 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
4355 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
4356 |
+fi |
|
4357 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
4358 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
4359 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
4360 |
+fi |
|
4361 |
+ |
|
4362 |
+: "${CONFIG_STATUS=./config.status}" |
|
4363 |
+ac_write_fail=0 |
|
4364 |
+ac_clean_files_save=$ac_clean_files |
|
4365 |
+ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
4366 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
4367 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
4368 |
+as_write_fail=0 |
|
4369 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
4370 |
+#! $SHELL |
|
4371 |
+# Generated by $as_me. |
|
4372 |
+# Run this file to recreate the current configuration. |
|
4373 |
+# Compiler output produced by configure, useful for debugging |
|
4374 |
+# configure, is in config.log if it exists. |
|
4375 |
+ |
|
4376 |
+debug=false |
|
4377 |
+ac_cs_recheck=false |
|
4378 |
+ac_cs_silent=false |
|
4379 |
+ |
|
4380 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
|
4381 |
+export SHELL |
|
4382 |
+_ASEOF |
|
4383 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
4384 |
+## -------------------- ## |
|
4385 |
+## M4sh Initialization. ## |
|
4386 |
+## -------------------- ## |
|
4387 |
+ |
|
4388 |
+# Be more Bourne compatible |
|
4389 |
+DUALCASE=1; export DUALCASE # for MKS sh |
|
4390 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
4391 |
+ emulate sh |
|
4392 |
+ NULLCMD=: |
|
4393 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
4394 |
+ # is contrary to our usage. Disable this feature. |
|
4395 |
+ alias -g '${1+"$@"}'='"$@"' |
|
4396 |
+ setopt NO_GLOB_SUBST |
|
4397 |
+else |
|
4398 |
+ case `(set -o) 2>/dev/null` in #( |
|
4399 |
+ *posix*) : |
|
4400 |
+ set -o posix ;; #( |
|
4401 |
+ *) : |
|
4402 |
+ ;; |
|
4403 |
+esac |
|
4404 |
+fi |
|
4405 |
+ |
|
4406 |
+ |
|
4407 |
+as_nl=' |
|
4408 |
+' |
|
4409 |
+export as_nl |
|
4410 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
4411 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
4412 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
4413 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
4414 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
4415 |
+# but without wasting forks for bash or zsh. |
|
4416 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
4417 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
4418 |
+ as_echo='print -r --' |
|
4419 |
+ as_echo_n='print -rn --' |
|
4420 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
4421 |
+ as_echo='printf %s\n' |
|
4422 |
+ as_echo_n='printf %s' |
|
4423 |
+else |
|
4424 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
4425 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
4426 |
+ as_echo_n='/usr/ucb/echo -n' |
|
4427 |
+ else |
|
4428 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
4429 |
+ as_echo_n_body='eval |
|
4430 |
+ arg=$1; |
|
4431 |
+ case $arg in #( |
|
4432 |
+ *"$as_nl"*) |
|
4433 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
4434 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
4435 |
+ esac; |
|
4436 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
4437 |
+ ' |
|
4438 |
+ export as_echo_n_body |
|
4439 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
|
4440 |
+ fi |
|
4441 |
+ export as_echo_body |
|
4442 |
+ as_echo='sh -c $as_echo_body as_echo' |
|
4443 |
+fi |
|
4444 |
+ |
|
4445 |
+# The user is always right. |
|
4446 |
+if test "${PATH_SEPARATOR+set}" != set; then |
|
4447 |
+ PATH_SEPARATOR=: |
|
4448 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
4449 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
4450 |
+ PATH_SEPARATOR=';' |
|
4451 |
+ } |
|
4452 |
+fi |
|
4453 |
+ |
|
4454 |
+ |
|
4455 |
+# IFS |
|
4456 |
+# We need space, tab and new line, in precisely that order. Quoting is |
|
4457 |
+# there to prevent editors from complaining about space-tab. |
|
4458 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
4459 |
+# splitting by setting IFS to empty value.) |
|
4460 |
+IFS=" "" $as_nl" |
|
4461 |
+ |
|
4462 |
+# Find who we are. Look in the path if we contain no directory separator. |
|
4463 |
+as_myself= |
|
4464 |
+case $0 in #(( |
|
4465 |
+ *[\\/]* ) as_myself=$0 ;; |
|
4466 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4467 |
+for as_dir in $PATH |
|
4468 |
+do |
|
4469 |
+ IFS=$as_save_IFS |
|
4470 |
+ test -z "$as_dir" && as_dir=. |
|
4471 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
4472 |
+ done |
|
4473 |
+IFS=$as_save_IFS |
|
4474 |
+ |
|
4475 |
+ ;; |
|
4476 |
+esac |
|
4477 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
4478 |
+# in which case we are not to be found in the path. |
|
4479 |
+if test "x$as_myself" = x; then |
|
4480 |
+ as_myself=$0 |
|
4481 |
+fi |
|
4482 |
+if test ! -f "$as_myself"; then |
|
4483 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
4484 |
+ exit 1 |
|
4485 |
+fi |
|
4486 |
+ |
|
4487 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
|
4488 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
4489 |
+# suppresses any "Segmentation fault" message there. '((' could |
|
4490 |
+# trigger a bug in pdksh 5.2.14. |
|
4491 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
|
4492 |
+do eval test x\${$as_var+set} = xset \ |
|
4493 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
4494 |
+done |
|
4495 |
+PS1='$ ' |
|
4496 |
+PS2='> ' |
|
4497 |
+PS4='+ ' |
|
4498 |
+ |
|
4499 |
+# NLS nuisances. |
|
4500 |
+LC_ALL=C |
|
4501 |
+export LC_ALL |
|
4502 |
+LANGUAGE=C |
|
4503 |
+export LANGUAGE |
|
4504 |
+ |
|
4505 |
+# CDPATH. |
|
4506 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
4507 |
+ |
|
4508 |
+ |
|
4509 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
4510 |
+# ---------------------------------------- |
|
4511 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
4512 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
4513 |
+# script with STATUS, using 1 if that was 0. |
|
4514 |
+as_fn_error () |
|
4515 |
+{ |
|
4516 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
|
4517 |
+ if test "$4"; then |
|
4518 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
4519 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
4520 |
+ fi |
|
4521 |
+ $as_echo "$as_me: error: $2" >&2 |
|
4522 |
+ as_fn_exit $as_status |
|
4523 |
+} # as_fn_error |
|
4524 |
+ |
|
4525 |
+ |
|
4526 |
+# as_fn_set_status STATUS |
|
4527 |
+# ----------------------- |
|
4528 |
+# Set $? to STATUS, without forking. |
|
4529 |
+as_fn_set_status () |
|
4530 |
+{ |
|
4531 |
+ return $1 |
|
4532 |
+} # as_fn_set_status |
|
4533 |
+ |
|
4534 |
+# as_fn_exit STATUS |
|
4535 |
+# ----------------- |
|
4536 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
4537 |
+as_fn_exit () |
|
4538 |
+{ |
|
4539 |
+ set +e |
|
4540 |
+ as_fn_set_status $1 |
|
4541 |
+ exit $1 |
|
4542 |
+} # as_fn_exit |
|
4543 |
+ |
|
4544 |
+# as_fn_unset VAR |
|
4545 |
+# --------------- |
|
4546 |
+# Portably unset VAR. |
|
4547 |
+as_fn_unset () |
|
4548 |
+{ |
|
4549 |
+ { eval $1=; unset $1;} |
|
4550 |
+} |
|
4551 |
+as_unset=as_fn_unset |
|
4552 |
+# as_fn_append VAR VALUE |
|
4553 |
+# ---------------------- |
|
4554 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
4555 |
+# advantage of any shell optimizations that allow amortized linear growth over |
|
4556 |
+# repeated appends, instead of the typical quadratic growth present in naive |
|
4557 |
+# implementations. |
|
4558 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
4559 |
+ eval 'as_fn_append () |
|
4560 |
+ { |
|
4561 |
+ eval $1+=\$2 |
|
4562 |
+ }' |
|
4563 |
+else |
|
4564 |
+ as_fn_append () |
|
4565 |
+ { |
|
4566 |
+ eval $1=\$$1\$2 |
|
4567 |
+ } |
|
4568 |
+fi # as_fn_append |
|
4569 |
+ |
|
4570 |
+# as_fn_arith ARG... |
|
4571 |
+# ------------------ |
|
4572 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
4573 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
4574 |
+# must be portable across $(()) and expr. |
|
4575 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
4576 |
+ eval 'as_fn_arith () |
|
4577 |
+ { |
|
4578 |
+ as_val=$(( $* )) |
|
4579 |
+ }' |
|
4580 |
+else |
|
4581 |
+ as_fn_arith () |
|
4582 |
+ { |
|
4583 |
+ as_val=`expr "$@" || test $? -eq 1` |
|
4584 |
+ } |
|
4585 |
+fi # as_fn_arith |
|
4586 |
+ |
|
4587 |
+ |
|
4588 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
|
4589 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
4590 |
+ as_expr=expr |
|
4591 |
+else |
|
4592 |
+ as_expr=false |
|
4593 |
+fi |
|
4594 |
+ |
|
4595 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
4596 |
+ as_basename=basename |
|
4597 |
+else |
|
4598 |
+ as_basename=false |
|
4599 |
+fi |
|
4600 |
+ |
|
4601 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
4602 |
+ as_dirname=dirname |
|
4603 |
+else |
|
4604 |
+ as_dirname=false |
|
4605 |
+fi |
|
4606 |
+ |
|
4607 |
+as_me=`$as_basename -- "$0" || |
|
4608 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
4609 |
+ X"$0" : 'X\(//\)$' \| \ |
|
4610 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
4611 |
+$as_echo X/"$0" | |
|
4612 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
4613 |
+ s//\1/ |
|
4614 |
+ q |
|
4615 |
+ } |
|
4616 |
+ /^X\/\(\/\/\)$/{ |
|
4617 |
+ s//\1/ |
|
4618 |
+ q |
|
4619 |
+ } |
|
4620 |
+ /^X\/\(\/\).*/{ |
|
4621 |
+ s//\1/ |
|
4622 |
+ q |
|
4623 |
+ } |
|
4624 |
+ s/.*/./; q'` |
|
4625 |
+ |
|
4626 |
+# Avoid depending upon Character Ranges. |
|
4627 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
4628 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
4629 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
4630 |
+as_cr_digits='0123456789' |
|
4631 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
4632 |
+ |
|
4633 |
+ECHO_C= ECHO_N= ECHO_T= |
|
4634 |
+case `echo -n x` in #((((( |
|
4635 |
+-n*) |
|
4636 |
+ case `echo 'xy\c'` in |
|
4637 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
4638 |
+ xy) ECHO_C='\c';; |
|
4639 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
4640 |
+ ECHO_T=' ';; |
|
4641 |
+ esac;; |
|
4642 |
+*) |
|
4643 |
+ ECHO_N='-n';; |
|
4644 |
+esac |
|
4645 |
+ |
|
4646 |
+rm -f conf$$ conf$$.exe conf$$.file |
|
4647 |
+if test -d conf$$.dir; then |
|
4648 |
+ rm -f conf$$.dir/conf$$.file |
|
4649 |
+else |
|
4650 |
+ rm -f conf$$.dir |
|
4651 |
+ mkdir conf$$.dir 2>/dev/null |
|
4652 |
+fi |
|
4653 |
+if (echo >conf$$.file) 2>/dev/null; then |
|
4654 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
4655 |
+ as_ln_s='ln -s' |
|
4656 |
+ # ... but there are two gotchas: |
|
4657 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
4658 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
4659 |
+ # In both cases, we have to default to `cp -pR'. |
|
4660 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
4661 |
+ as_ln_s='cp -pR' |
|
4662 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
|
4663 |
+ as_ln_s=ln |
|
4664 |
+ else |
|
4665 |
+ as_ln_s='cp -pR' |
|
4666 |
+ fi |
|
4667 |
+else |
|
4668 |
+ as_ln_s='cp -pR' |
|
4669 |
+fi |
|
4670 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
4671 |
+rmdir conf$$.dir 2>/dev/null |
|
4672 |
+ |
|
4673 |
+ |
|
4674 |
+# as_fn_mkdir_p |
|
4675 |
+# ------------- |
|
4676 |
+# Create "$as_dir" as a directory, including parents if necessary. |
|
4677 |
+as_fn_mkdir_p () |
|
4678 |
+{ |
|
4679 |
+ |
|
4680 |
+ case $as_dir in #( |
|
4681 |
+ -*) as_dir=./$as_dir;; |
|
4682 |
+ esac |
|
4683 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
|
4684 |
+ as_dirs= |
|
4685 |
+ while :; do |
|
4686 |
+ case $as_dir in #( |
|
4687 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
4688 |
+ *) as_qdir=$as_dir;; |
|
4689 |
+ esac |
|
4690 |
+ as_dirs="'$as_qdir' $as_dirs" |
|
4691 |
+ as_dir=`$as_dirname -- "$as_dir" || |
|
4692 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4693 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4694 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
|
4695 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
4696 |
+$as_echo X"$as_dir" | |
|
4697 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
4698 |
+ s//\1/ |
|
4699 |
+ q |
|
4700 |
+ } |
|
4701 |
+ /^X\(\/\/\)[^/].*/{ |
|
4702 |
+ s//\1/ |
|
4703 |
+ q |
|
4704 |
+ } |
|
4705 |
+ /^X\(\/\/\)$/{ |
|
4706 |
+ s//\1/ |
|
4707 |
+ q |
|
4708 |
+ } |
|
4709 |
+ /^X\(\/\).*/{ |
|
4710 |
+ s//\1/ |
|
4711 |
+ q |
|
4712 |
+ } |
|
4713 |
+ s/.*/./; q'` |
|
4714 |
+ test -d "$as_dir" && break |
|
4715 |
+ done |
|
4716 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
4717 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
4718 |
+ |
|
4719 |
+ |
|
4720 |
+} # as_fn_mkdir_p |
|
4721 |
+if mkdir -p . 2>/dev/null; then |
|
4722 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
|
4723 |
+else |
|
4724 |
+ test -d ./-p && rmdir ./-p |
|
4725 |
+ as_mkdir_p=false |
|
4726 |
+fi |
|
4727 |
+ |
|
4728 |
+ |
|
4729 |
+# as_fn_executable_p FILE |
|
4730 |
+# ----------------------- |
|
4731 |
+# Test if FILE is an executable regular file. |
|
4732 |
+as_fn_executable_p () |
|
4733 |
+{ |
|
4734 |
+ test -f "$1" && test -x "$1" |
|
4735 |
+} # as_fn_executable_p |
|
4736 |
+as_test_x='test -x' |
|
4737 |
+as_executable_p=as_fn_executable_p |
|
4738 |
+ |
|
4739 |
+# Sed expression to map a string onto a valid CPP name. |
|
4740 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
4741 |
+ |
|
4742 |
+# Sed expression to map a string onto a valid variable name. |
|
4743 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
4744 |
+ |
|
4745 |
+ |
|
4746 |
+exec 6>&1 |
|
4747 |
+## ----------------------------------- ## |
|
4748 |
+## Main body of $CONFIG_STATUS script. ## |
|
4749 |
+## ----------------------------------- ## |
|
4750 |
+_ASEOF |
|
4751 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
4752 |
+ |
|
4753 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4754 |
+# Save the log message, to keep $0 and so on meaningful, and to |
|
4755 |
+# report actual input values of CONFIG_FILES etc. instead of their |
|
4756 |
+# values after options handling. |
|
4757 |
+ac_log=" |
|
4758 |
+This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was |
|
4759 |
+generated by GNU Autoconf 2.69. Invocation command line was |
|
4760 |
+ |
|
4761 |
+ CONFIG_FILES = $CONFIG_FILES |
|
4762 |
+ CONFIG_HEADERS = $CONFIG_HEADERS |
|
4763 |
+ CONFIG_LINKS = $CONFIG_LINKS |
|
4764 |
+ CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
4765 |
+ $ $0 $@ |
|
4766 |
+ |
|
4767 |
+on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
4768 |
+" |
|
4769 |
+ |
|
4770 |
+_ACEOF |
|
4771 |
+ |
|
4772 |
+case $ac_config_files in *" |
|
4773 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
4774 |
+esac |
|
4775 |
+ |
|
4776 |
+case $ac_config_headers in *" |
|
4777 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
4778 |
+esac |
|
4779 |
+ |
|
4780 |
+ |
|
4781 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4782 |
+# Files that config.status was made for. |
|
4783 |
+config_files="$ac_config_files" |
|
4784 |
+config_headers="$ac_config_headers" |
|
4785 |
+config_commands="$ac_config_commands" |
|
4786 |
+ |
|
4787 |
+_ACEOF |
|
4788 |
+ |
|
4789 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4790 |
+ac_cs_usage="\ |
|
4791 |
+\`$as_me' instantiates files and other configuration actions |
|
4792 |
+from templates according to the current configuration. Unless the files |
|
4793 |
+and actions are specified as TAGs, all are instantiated by default. |
|
4794 |
+ |
|
4795 |
+Usage: $0 [OPTION]... [TAG]... |
|
4796 |
+ |
|
4797 |
+ -h, --help print this help, then exit |
|
4798 |
+ -V, --version print version number and configuration settings, then exit |
|
4799 |
+ --config print configuration, then exit |
|
4800 |
+ -q, --quiet, --silent |
|
4801 |
+ do not print progress messages |
|
4802 |
+ -d, --debug don't remove temporary files |
|
4803 |
+ --recheck update $as_me by reconfiguring in the same conditions |
|
4804 |
+ --file=FILE[:TEMPLATE] |
|
4805 |
+ instantiate the configuration file FILE |
|
4806 |
+ --header=FILE[:TEMPLATE] |
|
4807 |
+ instantiate the configuration header FILE |
|
4808 |
+ |
|
4809 |
+Configuration files: |
|
4810 |
+$config_files |
|
4811 |
+ |
|
4812 |
+Configuration headers: |
|
4813 |
+$config_headers |
|
4814 |
+ |
|
4815 |
+Configuration commands: |
|
4816 |
+$config_commands |
|
4817 |
+ |
|
4818 |
+Report bugs to <BUG-REPORT-ADDRESS>." |
|
4819 |
+ |
|
4820 |
+_ACEOF |
|
4821 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4822 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
4823 |
+ac_cs_version="\\ |
|
4824 |
+FULL-PACKAGE-NAME config.status VERSION |
|
4825 |
+configured by $0, generated by GNU Autoconf 2.69, |
|
4826 |
+ with options \\"\$ac_cs_config\\" |
|
4827 |
+ |
|
4828 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
|
4829 |
+This config.status script is free software; the Free Software Foundation |
|
4830 |
+gives unlimited permission to copy, distribute and modify it." |
|
4831 |
+ |
|
4832 |
+ac_pwd='$ac_pwd' |
|
4833 |
+srcdir='$srcdir' |
|
4834 |
+INSTALL='$INSTALL' |
|
4835 |
+MKDIR_P='$MKDIR_P' |
|
4836 |
+AWK='$AWK' |
|
4837 |
+test -n "\$AWK" || AWK=awk |
|
4838 |
+_ACEOF |
|
4839 |
+ |
|
4840 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4841 |
+# The default lists apply if the user does not specify any file. |
|
4842 |
+ac_need_defaults=: |
|
4843 |
+while test $# != 0 |
|
4844 |
+do |
|
4845 |
+ case $1 in |
|
4846 |
+ --*=?*) |
|
4847 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
4848 |
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
4849 |
+ ac_shift=: |
|
4850 |
+ ;; |
|
4851 |
+ --*=) |
|
4852 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
4853 |
+ ac_optarg= |
|
4854 |
+ ac_shift=: |
|
4855 |
+ ;; |
|
4856 |
+ *) |
|
4857 |
+ ac_option=$1 |
|
4858 |
+ ac_optarg=$2 |
|
4859 |
+ ac_shift=shift |
|
4860 |
+ ;; |
|
4861 |
+ esac |
|
4862 |
+ |
|
4863 |
+ case $ac_option in |
|
4864 |
+ # Handling of the options. |
|
4865 |
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
4866 |
+ ac_cs_recheck=: ;; |
|
4867 |
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
4868 |
+ $as_echo "$ac_cs_version"; exit ;; |
|
4869 |
+ --config | --confi | --conf | --con | --co | --c ) |
|
4870 |
+ $as_echo "$ac_cs_config"; exit ;; |
|
4871 |
+ --debug | --debu | --deb | --de | --d | -d ) |
|
4872 |
+ debug=: ;; |
|
4873 |
+ --file | --fil | --fi | --f ) |
|
4874 |
+ $ac_shift |
|
4875 |
+ case $ac_optarg in |
|
4876 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
4877 |
+ '') as_fn_error $? "missing file argument" ;; |
|
4878 |
+ esac |
|
4879 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
4880 |
+ ac_need_defaults=false;; |
|
4881 |
+ --header | --heade | --head | --hea ) |
|
4882 |
+ $ac_shift |
|
4883 |
+ case $ac_optarg in |
|
4884 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
4885 |
+ esac |
|
4886 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
4887 |
+ ac_need_defaults=false;; |
|
4888 |
+ --he | --h) |
|
4889 |
+ # Conflict between --help and --header |
|
4890 |
+ as_fn_error $? "ambiguous option: \`$1' |
|
4891 |
+Try \`$0 --help' for more information.";; |
|
4892 |
+ --help | --hel | -h ) |
|
4893 |
+ $as_echo "$ac_cs_usage"; exit ;; |
|
4894 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
4895 |
+ | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
4896 |
+ ac_cs_silent=: ;; |
|
4897 |
+ |
|
4898 |
+ # This is an error. |
|
4899 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
|
4900 |
+Try \`$0 --help' for more information." ;; |
|
4901 |
+ |
|
4902 |
+ *) as_fn_append ac_config_targets " $1" |
|
4903 |
+ ac_need_defaults=false ;; |
|
4904 |
+ |
|
4905 |
+ esac |
|
4906 |
+ shift |
|
4907 |
+done |
|
4908 |
+ |
|
4909 |
+ac_configure_extra_args= |
|
4910 |
+ |
|
4911 |
+if $ac_cs_silent; then |
|
4912 |
+ exec 6>/dev/null |
|
4913 |
+ ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
4914 |
+fi |
|
4915 |
+ |
|
4916 |
+_ACEOF |
|
4917 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4918 |
+if \$ac_cs_recheck; then |
|
4919 |
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
4920 |
+ shift |
|
4921 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
4922 |
+ CONFIG_SHELL='$SHELL' |
|
4923 |
+ export CONFIG_SHELL |
|
4924 |
+ exec "\$@" |
|
4925 |
+fi |
|
4926 |
+ |
|
4927 |
+_ACEOF |
|
4928 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4929 |
+exec 5>>config.log |
|
4930 |
+{ |
|
4931 |
+ echo |
|
4932 |
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
4933 |
+## Running $as_me. ## |
|
4934 |
+_ASBOX |
|
4935 |
+ $as_echo "$ac_log" |
|
4936 |
+} >&5 |
|
4937 |
+ |
|
4938 |
+_ACEOF |
|
4939 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4940 |
+# |
|
4941 |
+# INIT-COMMANDS |
|
4942 |
+# |
|
4943 |
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
4944 |
+ |
|
4945 |
+_ACEOF |
|
4946 |
+ |
|
4947 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4948 |
+ |
|
4949 |
+# Handling of arguments. |
|
4950 |
+for ac_config_target in $ac_config_targets |
|
4951 |
+do |
|
4952 |
+ case $ac_config_target in |
|
4953 |
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
4954 |
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
4955 |
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
4956 |
+ |
|
4957 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
4958 |
+ esac |
|
4959 |
+done |
|
4960 |
+ |
|
4961 |
+ |
|
4962 |
+# If the user did not use the arguments to specify the items to instantiate, |
|
4963 |
+# then the envvar interface is used. Set only those that are not. |
|
4964 |
+# We use the long form for the default assignment because of an extremely |
|
4965 |
+# bizarre bug on SunOS 4.1.3. |
|
4966 |
+if $ac_need_defaults; then |
|
4967 |
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
4968 |
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
4969 |
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
4970 |
+fi |
|
4971 |
+ |
|
4972 |
+# Have a temporary directory for convenience. Make it in the build tree |
|
4973 |
+# simply because there is no reason against having it here, and in addition, |
|
4974 |
+# creating and moving files from /tmp can sometimes cause problems. |
|
4975 |
+# Hook for its removal unless debugging. |
|
4976 |
+# Note that there is a small window in which the directory will not be cleaned: |
|
4977 |
+# after its creation but before its name has been assigned to `$tmp'. |
|
4978 |
+$debug || |
|
4979 |
+{ |
|
4980 |
+ tmp= ac_tmp= |
|
4981 |
+ trap 'exit_status=$? |
|
4982 |
+ : "${ac_tmp:=$tmp}" |
|
4983 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
4984 |
+' 0 |
|
4985 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
|
4986 |
+} |
|
4987 |
+# Create a (secure) tmp directory for tmp files. |
|
4988 |
+ |
|
4989 |
+{ |
|
4990 |
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
4991 |
+ test -d "$tmp" |
|
4992 |
+} || |
|
4993 |
+{ |
|
4994 |
+ tmp=./conf$$-$RANDOM |
|
4995 |
+ (umask 077 && mkdir "$tmp") |
|
4996 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
4997 |
+ac_tmp=$tmp |
|
4998 |
+ |
|
4999 |
+# Set up the scripts for CONFIG_FILES section. |
|
5000 |
+# No need to generate them if there are no CONFIG_FILES. |
|
5001 |
+# This happens for instance with `./config.status config.h'. |
|
5002 |
+if test -n "$CONFIG_FILES"; then |
|
5003 |
+ |
|
5004 |
+ |
|
5005 |
+ac_cr=`echo X | tr X '\015'` |
|
5006 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
5007 |
+# But we know of no other shell where ac_cr would be empty at this |
|
5008 |
+# point, so we can use a bashism as a fallback. |
|
5009 |
+if test "x$ac_cr" = x; then |
|
5010 |
+ eval ac_cr=\$\'\\r\' |
|
5011 |
+fi |
|
5012 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
5013 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
5014 |
+ ac_cs_awk_cr='\\r' |
|
5015 |
+else |
|
5016 |
+ ac_cs_awk_cr=$ac_cr |
|
5017 |
+fi |
|
5018 |
+ |
|
5019 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
5020 |
+_ACEOF |
|
5021 |
+ |
|
5022 |
+ |
|
5023 |
+{ |
|
5024 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
|
5025 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
5026 |
+ echo "_ACEOF" |
|
5027 |
+} >conf$$subs.sh || |
|
5028 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
5029 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
5030 |
+ac_delim='%!_!# ' |
|
5031 |
+for ac_last_try in false false false false false :; do |
|
5032 |
+ . ./conf$$subs.sh || |
|
5033 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
5034 |
+ |
|
5035 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
5036 |
+ if test $ac_delim_n = $ac_delim_num; then |
|
5037 |
+ break |
|
5038 |
+ elif $ac_last_try; then |
|
5039 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
5040 |
+ else |
|
5041 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
5042 |
+ fi |
|
5043 |
+done |
|
5044 |
+rm -f conf$$subs.sh |
|
5045 |
+ |
|
5046 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5047 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
5048 |
+_ACEOF |
|
5049 |
+sed -n ' |
|
5050 |
+h |
|
5051 |
+s/^/S["/; s/!.*/"]=/ |
|
5052 |
+p |
|
5053 |
+g |
|
5054 |
+s/^[^!]*!// |
|
5055 |
+:repl |
|
5056 |
+t repl |
|
5057 |
+s/'"$ac_delim"'$// |
|
5058 |
+t delim |
|
5059 |
+:nl |
|
5060 |
+h |
|
5061 |
+s/\(.\{148\}\)..*/\1/ |
|
5062 |
+t more1 |
|
5063 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
5064 |
+p |
|
5065 |
+n |
|
5066 |
+b repl |
|
5067 |
+:more1 |
|
5068 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
5069 |
+p |
|
5070 |
+g |
|
5071 |
+s/.\{148\}// |
|
5072 |
+t nl |
|
5073 |
+:delim |
|
5074 |
+h |
|
5075 |
+s/\(.\{148\}\)..*/\1/ |
|
5076 |
+t more2 |
|
5077 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
5078 |
+p |
|
5079 |
+b |
|
5080 |
+:more2 |
|
5081 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
5082 |
+p |
|
5083 |
+g |
|
5084 |
+s/.\{148\}// |
|
5085 |
+t delim |
|
5086 |
+' <conf$$subs.awk | sed ' |
|
5087 |
+/^[^""]/{ |
|
5088 |
+ N |
|
5089 |
+ s/\n// |
|
5090 |
+} |
|
5091 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
|
5092 |
+rm -f conf$$subs.awk |
|
5093 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5094 |
+_ACAWK |
|
5095 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
5096 |
+ for (key in S) S_is_set[key] = 1 |
|
5097 |
+ FS = "" |
|
5098 |
+ |
|
5099 |
+} |
|
5100 |
+{ |
|
5101 |
+ line = $ 0 |
|
5102 |
+ nfields = split(line, field, "@") |
|
5103 |
+ substed = 0 |
|
5104 |
+ len = length(field[1]) |
|
5105 |
+ for (i = 2; i < nfields; i++) { |
|
5106 |
+ key = field[i] |
|
5107 |
+ keylen = length(key) |
|
5108 |
+ if (S_is_set[key]) { |
|
5109 |
+ value = S[key] |
|
5110 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
5111 |
+ len += length(value) + length(field[++i]) |
|
5112 |
+ substed = 1 |
|
5113 |
+ } else |
|
5114 |
+ len += 1 + keylen |
|
5115 |
+ } |
|
5116 |
+ |
|
5117 |
+ print line |
|
5118 |
+} |
|
5119 |
+ |
|
5120 |
+_ACAWK |
|
5121 |
+_ACEOF |
|
5122 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5123 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
5124 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
5125 |
+else |
|
5126 |
+ cat |
|
5127 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
5128 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
5129 |
+_ACEOF |
|
5130 |
+ |
|
5131 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
5132 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
5133 |
+# trailing colons and then remove the whole line if VPATH becomes empty |
|
5134 |
+# (actually we leave an empty line to preserve line numbers). |
|
5135 |
+if test "x$srcdir" = x.; then |
|
5136 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
5137 |
+h |
|
5138 |
+s/// |
|
5139 |
+s/^/:/ |
|
5140 |
+s/[ ]*$/:/ |
|
5141 |
+s/:\$(srcdir):/:/g |
|
5142 |
+s/:\${srcdir}:/:/g |
|
5143 |
+s/:@srcdir@:/:/g |
|
5144 |
+s/^:*// |
|
5145 |
+s/:*$// |
|
5146 |
+x |
|
5147 |
+s/\(=[ ]*\).*/\1/ |
|
5148 |
+G |
|
5149 |
+s/\n// |
|
5150 |
+s/^[^=]*=[ ]*$// |
|
5151 |
+}' |
|
5152 |
+fi |
|
5153 |
+ |
|
5154 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5155 |
+fi # test -n "$CONFIG_FILES" |
|
5156 |
+ |
|
5157 |
+# Set up the scripts for CONFIG_HEADERS section. |
|
5158 |
+# No need to generate them if there are no CONFIG_HEADERS. |
|
5159 |
+# This happens for instance with `./config.status Makefile'. |
|
5160 |
+if test -n "$CONFIG_HEADERS"; then |
|
5161 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
5162 |
+BEGIN { |
|
5163 |
+_ACEOF |
|
5164 |
+ |
|
5165 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
5166 |
+# here-document in config.status, that substitutes the proper values into |
|
5167 |
+# config.h.in to produce config.h. |
|
5168 |
+ |
|
5169 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
|
5170 |
+# handling of long lines. |
|
5171 |
+ac_delim='%!_!# ' |
|
5172 |
+for ac_last_try in false false :; do |
|
5173 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
5174 |
+ if test -z "$ac_tt"; then |
|
5175 |
+ break |
|
5176 |
+ elif $ac_last_try; then |
|
5177 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
5178 |
+ else |
|
5179 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
5180 |
+ fi |
|
5181 |
+done |
|
5182 |
+ |
|
5183 |
+# For the awk script, D is an array of macro values keyed by name, |
|
5184 |
+# likewise P contains macro parameters if any. Preserve backslash |
|
5185 |
+# newline sequences. |
|
5186 |
+ |
|
5187 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
5188 |
+sed -n ' |
|
5189 |
+s/.\{148\}/&'"$ac_delim"'/g |
|
5190 |
+t rset |
|
5191 |
+:rset |
|
5192 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
5193 |
+t def |
|
5194 |
+d |
|
5195 |
+:def |
|
5196 |
+s/\\$// |
|
5197 |
+t bsnl |
|
5198 |
+s/["\\]/\\&/g |
|
5199 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
5200 |
+D["\1"]=" \3"/p |
|
5201 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
5202 |
+d |
|
5203 |
+:bsnl |
|
5204 |
+s/["\\]/\\&/g |
|
5205 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
5206 |
+D["\1"]=" \3\\\\\\n"\\/p |
|
5207 |
+t cont |
|
5208 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
5209 |
+t cont |
|
5210 |
+d |
|
5211 |
+:cont |
|
5212 |
+n |
|
5213 |
+s/.\{148\}/&'"$ac_delim"'/g |
|
5214 |
+t clear |
|
5215 |
+:clear |
|
5216 |
+s/\\$// |
|
5217 |
+t bsnlc |
|
5218 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
5219 |
+d |
|
5220 |
+:bsnlc |
|
5221 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
5222 |
+b cont |
|
5223 |
+' <confdefs.h | sed ' |
|
5224 |
+s/'"$ac_delim"'/"\\\ |
|
5225 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
5226 |
+ |
|
5227 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5228 |
+ for (key in D) D_is_set[key] = 1 |
|
5229 |
+ FS = "" |
|
5230 |
+} |
|
5231 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
5232 |
+ line = \$ 0 |
|
5233 |
+ split(line, arg, " ") |
|
5234 |
+ if (arg[1] == "#") { |
|
5235 |
+ defundef = arg[2] |
|
5236 |
+ mac1 = arg[3] |
|
5237 |
+ } else { |
|
5238 |
+ defundef = substr(arg[1], 2) |
|
5239 |
+ mac1 = arg[2] |
|
5240 |
+ } |
|
5241 |
+ split(mac1, mac2, "(") #) |
|
5242 |
+ macro = mac2[1] |
|
5243 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
|
5244 |
+ if (D_is_set[macro]) { |
|
5245 |
+ # Preserve the white space surrounding the "#". |
|
5246 |
+ print prefix "define", macro P[macro] D[macro] |
|
5247 |
+ next |
|
5248 |
+ } else { |
|
5249 |
+ # Replace #undef with comments. This is necessary, for example, |
|
5250 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
|
5251 |
+ # on some systems where configure will not decide to define it. |
|
5252 |
+ if (defundef == "undef") { |
|
5253 |
+ print "/*", prefix defundef, macro, "*/" |
|
5254 |
+ next |
|
5255 |
+ } |
|
5256 |
+ } |
|
5257 |
+} |
|
5258 |
+{ print } |
|
5259 |
+_ACAWK |
|
5260 |
+_ACEOF |
|
5261 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5262 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
5263 |
+fi # test -n "$CONFIG_HEADERS" |
|
5264 |
+ |
|
5265 |
+ |
|
5266 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
5267 |
+shift |
|
5268 |
+for ac_tag |
|
5269 |
+do |
|
5270 |
+ case $ac_tag in |
|
5271 |
+ :[FHLC]) ac_mode=$ac_tag; continue;; |
|
5272 |
+ esac |
|
5273 |
+ case $ac_mode$ac_tag in |
|
5274 |
+ :[FHL]*:*);; |
|
5275 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
5276 |
+ :[FH]-) ac_tag=-:-;; |
|
5277 |
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
5278 |
+ esac |
|
5279 |
+ ac_save_IFS=$IFS |
|
5280 |
+ IFS=: |
|
5281 |
+ set x $ac_tag |
|
5282 |
+ IFS=$ac_save_IFS |
|
5283 |
+ shift |
|
5284 |
+ ac_file=$1 |
|
5285 |
+ shift |
|
5286 |
+ |
|
5287 |
+ case $ac_mode in |
|
5288 |
+ :L) ac_source=$1;; |
|
5289 |
+ :[FH]) |
|
5290 |
+ ac_file_inputs= |
|
5291 |
+ for ac_f |
|
5292 |
+ do |
|
5293 |
+ case $ac_f in |
|
5294 |
+ -) ac_f="$ac_tmp/stdin";; |
|
5295 |
+ *) # Look for the file first in the build tree, then in the source tree |
|
5296 |
+ # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
5297 |
+ # because $ac_f cannot contain `:'. |
|
5298 |
+ test -f "$ac_f" || |
|
5299 |
+ case $ac_f in |
|
5300 |
+ [\\/$]*) false;; |
|
5301 |
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
5302 |
+ esac || |
|
5303 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
5304 |
+ esac |
|
5305 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
5306 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
|
5307 |
+ done |
|
5308 |
+ |
|
5309 |
+ # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
5310 |
+ # use $as_me), people would be surprised to read: |
|
5311 |
+ # /* config.h. Generated by config.status. */ |
|
5312 |
+ configure_input='Generated from '` |
|
5313 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
5314 |
+ `' by configure.' |
|
5315 |
+ if test x"$ac_file" != x-; then |
|
5316 |
+ configure_input="$ac_file. $configure_input" |
|
5317 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
5318 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
|
5319 |
+ fi |
|
5320 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
|
5321 |
+ case $configure_input in #( |
|
5322 |
+ *\&* | *\|* | *\\* ) |
|
5323 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
|
5324 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
5325 |
+ *) ac_sed_conf_input=$configure_input;; |
|
5326 |
+ esac |
|
5327 |
+ |
|
5328 |
+ case $ac_tag in |
|
5329 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
5330 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
5331 |
+ esac |
|
5332 |
+ ;; |
|
5333 |
+ esac |
|
5334 |
+ |
|
5335 |
+ ac_dir=`$as_dirname -- "$ac_file" || |
|
5336 |
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5337 |
+ X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
5338 |
+ X"$ac_file" : 'X\(//\)$' \| \ |
|
5339 |
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
5340 |
+$as_echo X"$ac_file" | |
|
5341 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5342 |
+ s//\1/ |
|
5343 |
+ q |
|
5344 |
+ } |
|
5345 |
+ /^X\(\/\/\)[^/].*/{ |
|
5346 |
+ s//\1/ |
|
5347 |
+ q |
|
5348 |
+ } |
|
5349 |
+ /^X\(\/\/\)$/{ |
|
5350 |
+ s//\1/ |
|
5351 |
+ q |
|
5352 |
+ } |
|
5353 |
+ /^X\(\/\).*/{ |
|
5354 |
+ s//\1/ |
|
5355 |
+ q |
|
5356 |
+ } |
|
5357 |
+ s/.*/./; q'` |
|
5358 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
|
5359 |
+ ac_builddir=. |
|
5360 |
+ |
|
5361 |
+case "$ac_dir" in |
|
5362 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
5363 |
+*) |
|
5364 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
5365 |
+ # A ".." for each directory in $ac_dir_suffix. |
|
5366 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
5367 |
+ case $ac_top_builddir_sub in |
|
5368 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
5369 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
5370 |
+ esac ;; |
|
5371 |
+esac |
|
5372 |
+ac_abs_top_builddir=$ac_pwd |
|
5373 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
5374 |
+# for backward compatibility: |
|
5375 |
+ac_top_builddir=$ac_top_build_prefix |
|
5376 |
+ |
|
5377 |
+case $srcdir in |
|
5378 |
+ .) # We are building in place. |
|
5379 |
+ ac_srcdir=. |
|
5380 |
+ ac_top_srcdir=$ac_top_builddir_sub |
|
5381 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
|
5382 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
|
5383 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
|
5384 |
+ ac_top_srcdir=$srcdir |
|
5385 |
+ ac_abs_top_srcdir=$srcdir ;; |
|
5386 |
+ *) # Relative name. |
|
5387 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
5388 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
5389 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
5390 |
+esac |
|
5391 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
5392 |
+ |
|
5393 |
+ |
|
5394 |
+ case $ac_mode in |
|
5395 |
+ :F) |
|
5396 |
+ # |
|
5397 |
+ # CONFIG_FILE |
|
5398 |
+ # |
|
5399 |
+ |
|
5400 |
+ case $INSTALL in |
|
5401 |
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
5402 |
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
5403 |
+ esac |
|
5404 |
+ ac_MKDIR_P=$MKDIR_P |
|
5405 |
+ case $MKDIR_P in |
|
5406 |
+ [\\/$]* | ?:[\\/]* ) ;; |
|
5407 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
5408 |
+ esac |
|
5409 |
+_ACEOF |
|
5410 |
+ |
|
5411 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5412 |
+# If the template does not know about datarootdir, expand it. |
|
5413 |
+# FIXME: This hack should be removed a few years after 2.60. |
|
5414 |
+ac_datarootdir_hack=; ac_datarootdir_seen= |
|
5415 |
+ac_sed_dataroot=' |
|
5416 |
+/datarootdir/ { |
|
5417 |
+ p |
|
5418 |
+ q |
|
5419 |
+} |
|
5420 |
+/@datadir@/p |
|
5421 |
+/@docdir@/p |
|
5422 |
+/@infodir@/p |
|
5423 |
+/@localedir@/p |
|
5424 |
+/@mandir@/p' |
|
5425 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
5426 |
+*datarootdir*) ac_datarootdir_seen=yes;; |
|
5427 |
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
5428 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
5429 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
5430 |
+_ACEOF |
|
5431 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5432 |
+ ac_datarootdir_hack=' |
|
5433 |
+ s&@datadir@&$datadir&g |
|
5434 |
+ s&@docdir@&$docdir&g |
|
5435 |
+ s&@infodir@&$infodir&g |
|
5436 |
+ s&@localedir@&$localedir&g |
|
5437 |
+ s&@mandir@&$mandir&g |
|
5438 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
|
5439 |
+esac |
|
5440 |
+_ACEOF |
|
5441 |
+ |
|
5442 |
+# Neutralize VPATH when `$srcdir' = `.'. |
|
5443 |
+# Shell code in configure.ac might set extrasub. |
|
5444 |
+# FIXME: do we really want to maintain this feature? |
|
5445 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5446 |
+ac_sed_extra="$ac_vpsub |
|
5447 |
+$extrasub |
|
5448 |
+_ACEOF |
|
5449 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5450 |
+:t |
|
5451 |
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
5452 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
|
5453 |
+s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
5454 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
5455 |
+s&@srcdir@&$ac_srcdir&;t t |
|
5456 |
+s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
5457 |
+s&@top_srcdir@&$ac_top_srcdir&;t t |
|
5458 |
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
5459 |
+s&@builddir@&$ac_builddir&;t t |
|
5460 |
+s&@abs_builddir@&$ac_abs_builddir&;t t |
|
5461 |
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
5462 |
+s&@INSTALL@&$ac_INSTALL&;t t |
|
5463 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
5464 |
+$ac_datarootdir_hack |
|
5465 |
+" |
|
5466 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
5467 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5468 |
+ |
|
5469 |
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
5470 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
5471 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
5472 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
5473 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
5474 |
+which seems to be undefined. Please make sure it is defined" >&5 |
|
5475 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
5476 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
|
5477 |
+ |
|
5478 |
+ rm -f "$ac_tmp/stdin" |
|
5479 |
+ case $ac_file in |
|
5480 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
5481 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
5482 |
+ esac \ |
|
5483 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5484 |
+ ;; |
|
5485 |
+ :H) |
|
5486 |
+ # |
|
5487 |
+ # CONFIG_HEADER |
|
5488 |
+ # |
|
5489 |
+ if test x"$ac_file" != x-; then |
|
5490 |
+ { |
|
5491 |
+ $as_echo "/* $configure_input */" \ |
|
5492 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
5493 |
+ } >"$ac_tmp/config.h" \ |
|
5494 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5495 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
5496 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
5497 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
5498 |
+ else |
|
5499 |
+ rm -f "$ac_file" |
|
5500 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
|
5501 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5502 |
+ fi |
|
5503 |
+ else |
|
5504 |
+ $as_echo "/* $configure_input */" \ |
|
5505 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
5506 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
|
5507 |
+ fi |
|
5508 |
+# Compute "$ac_file"'s index in $config_headers. |
|
5509 |
+_am_arg="$ac_file" |
|
5510 |
+_am_stamp_count=1 |
|
5511 |
+for _am_header in $config_headers :; do |
|
5512 |
+ case $_am_header in |
|
5513 |
+ $_am_arg | $_am_arg:* ) |
|
5514 |
+ break ;; |
|
5515 |
+ * ) |
|
5516 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
5517 |
+ esac |
|
5518 |
+done |
|
5519 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
5520 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5521 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
5522 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
|
5523 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
5524 |
+$as_echo X"$_am_arg" | |
|
5525 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5526 |
+ s//\1/ |
|
5527 |
+ q |
|
5528 |
+ } |
|
5529 |
+ /^X\(\/\/\)[^/].*/{ |
|
5530 |
+ s//\1/ |
|
5531 |
+ q |
|
5532 |
+ } |
|
5533 |
+ /^X\(\/\/\)$/{ |
|
5534 |
+ s//\1/ |
|
5535 |
+ q |
|
5536 |
+ } |
|
5537 |
+ /^X\(\/\).*/{ |
|
5538 |
+ s//\1/ |
|
5539 |
+ q |
|
5540 |
+ } |
|
5541 |
+ s/.*/./; q'`/stamp-h$_am_stamp_count |
|
5542 |
+ ;; |
|
5543 |
+ |
|
5544 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
5545 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
5546 |
+ ;; |
|
5547 |
+ esac |
|
5548 |
+ |
|
5549 |
+ |
|
5550 |
+ case $ac_file$ac_mode in |
|
5551 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
5552 |
+ # Older Autoconf quotes --file arguments for eval, but not when files |
|
5553 |
+ # are listed without --file. Let's play safe and only enable the eval |
|
5554 |
+ # if we detect the quoting. |
|
5555 |
+ case $CONFIG_FILES in |
|
5556 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
|
5557 |
+ *) set x $CONFIG_FILES ;; |
|
5558 |
+ esac |
|
5559 |
+ shift |
|
5560 |
+ for mf |
|
5561 |
+ do |
|
5562 |
+ # Strip MF so we end up with the name of the file. |
|
5563 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
5564 |
+ # Check whether this is an Automake generated Makefile or not. |
|
5565 |
+ # We used to match only the files named 'Makefile.in', but |
|
5566 |
+ # some people rename them; so instead we look at the file content. |
|
5567 |
+ # Grep'ing the first line is not enough: some people post-process |
|
5568 |
+ # each Makefile.in and add a new line on top of each file to say so. |
|
5569 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
|
5570 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
|
5571 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
5572 |
+ dirpart=`$as_dirname -- "$mf" || |
|
5573 |
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5574 |
+ X"$mf" : 'X\(//\)[^/]' \| \ |
|
5575 |
+ X"$mf" : 'X\(//\)$' \| \ |
|
5576 |
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
5577 |
+$as_echo X"$mf" | |
|
5578 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5579 |
+ s//\1/ |
|
5580 |
+ q |
|
5581 |
+ } |
|
5582 |
+ /^X\(\/\/\)[^/].*/{ |
|
5583 |
+ s//\1/ |
|
5584 |
+ q |
|
5585 |
+ } |
|
5586 |
+ /^X\(\/\/\)$/{ |
|
5587 |
+ s//\1/ |
|
5588 |
+ q |
|
5589 |
+ } |
|
5590 |
+ /^X\(\/\).*/{ |
|
5591 |
+ s//\1/ |
|
5592 |
+ q |
|
5593 |
+ } |
|
5594 |
+ s/.*/./; q'` |
|
5595 |
+ else |
|
5596 |
+ continue |
|
5597 |
+ fi |
|
5598 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
|
5599 |
+ # from the Makefile without running 'make'. |
|
5600 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
5601 |
+ test -z "$DEPDIR" && continue |
|
5602 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
5603 |
+ test -z "$am__include" && continue |
|
5604 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
5605 |
+ # Find all dependency output files, they are included files with |
|
5606 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
5607 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
|
5608 |
+ # expansion. |
|
5609 |
+ for file in `sed -n " |
|
5610 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
5611 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
5612 |
+ # Make sure the directory exists. |
|
5613 |
+ test -f "$dirpart/$file" && continue |
|
5614 |
+ fdir=`$as_dirname -- "$file" || |
|
5615 |
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5616 |
+ X"$file" : 'X\(//\)[^/]' \| \ |
|
5617 |
+ X"$file" : 'X\(//\)$' \| \ |
|
5618 |
+ X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
5619 |
+$as_echo X"$file" | |
|
5620 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5621 |
+ s//\1/ |
|
5622 |
+ q |
|
5623 |
+ } |
|
5624 |
+ /^X\(\/\/\)[^/].*/{ |
|
5625 |
+ s//\1/ |
|
5626 |
+ q |
|
5627 |
+ } |
|
5628 |
+ /^X\(\/\/\)$/{ |
|
5629 |
+ s//\1/ |
|
5630 |
+ q |
|
5631 |
+ } |
|
5632 |
+ /^X\(\/\).*/{ |
|
5633 |
+ s//\1/ |
|
5634 |
+ q |
|
5635 |
+ } |
|
5636 |
+ s/.*/./; q'` |
|
5637 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
5638 |
+ # echo "creating $dirpart/$file" |
|
5639 |
+ echo '# dummy' > "$dirpart/$file" |
|
5640 |
+ done |
|
5641 |
+ done |
|
5642 |
+} |
|
5643 |
+ ;; |
|
5644 |
+ |
|
5645 |
+ esac |
|
5646 |
+done # for ac_tag |
|
5647 |
+ |
|
5648 |
+ |
|
5649 |
+as_fn_exit 0 |
|
5650 |
+_ACEOF |
|
5651 |
+ac_clean_files=$ac_clean_files_save |
|
5652 |
+ |
|
5653 |
+test $ac_write_fail = 0 || |
|
5654 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
5655 |
+ |
|
5656 |
+ |
|
5657 |
+# configure is writing to config.log, and then calls config.status. |
|
5658 |
+# config.status does its own redirection, appending to config.log. |
|
5659 |
+# Unfortunately, on DOS this fails, as config.log is still kept open |
|
5660 |
+# by configure, so config.status won't be able to write to it; its |
|
5661 |
+# output is simply discarded. So we exec the FD to /dev/null, |
|
5662 |
+# effectively closing config.log, so it can be properly (re)opened and |
|
5663 |
+# appended to by config.status. When coming back to configure, we |
|
5664 |
+# need to make the FD available again. |
|
5665 |
+if test "$no_create" != yes; then |
|
5666 |
+ ac_cs_success=: |
|
5667 |
+ ac_config_status_args= |
|
5668 |
+ test "$silent" = yes && |
|
5669 |
+ ac_config_status_args="$ac_config_status_args --quiet" |
|
5670 |
+ exec 5>/dev/null |
|
5671 |
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
5672 |
+ exec 5>>config.log |
|
5673 |
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
5674 |
+ # would make configure fail if this is the last instruction. |
|
5675 |
+ $ac_cs_success || as_fn_exit 1 |
|
5676 |
+fi |
|
5677 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
5678 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
5679 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
5680 |
+fi |
|
5681 |
+ |
0 | 5682 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,25 @@ |
1 |
+# -*- Autoconf -*- |
|
2 |
+# Process this file with autoconf to produce a configure script. |
|
3 |
+ |
|
4 |
+ |
|
5 |
+AC_PREREQ([2.69]) |
|
6 |
+AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) |
|
7 |
+AC_CONFIG_SRCDIR([hello.c]) |
|
8 |
+AC_CONFIG_HEADERS([config.h]) |
|
9 |
+AM_INIT_AUTOMAKE |
|
10 |
+ |
|
11 |
+# Checks for programs. |
|
12 |
+AC_PROG_CC |
|
13 |
+ |
|
14 |
+# Checks for libraries. |
|
15 |
+ |
|
16 |
+# Checks for header files. |
|
17 |
+AC_CHECK_HEADERS([sys/time.h]) |
|
18 |
+ |
|
19 |
+# Checks for typedefs, structures, and compiler characteristics. |
|
20 |
+ |
|
21 |
+# Checks for library functions. |
|
22 |
+AC_CHECK_FUNCS([gettimeofday]) |
|
23 |
+ |
|
24 |
+AC_CONFIG_FILES([Makefile]) |
|
25 |
+AC_OUTPUT |
1 | 3 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,33 @@ |
1 |
+#include <stdio.h> |
|
2 |
+#include <sys/time.h> |
|
3 |
+#include "config.h" |
|
4 |
+ |
|
5 |
+#ifdef HAVE_SYS_TIME_H |
|
6 |
+ #include <sys/time.h> |
|
7 |
+#else |
|
8 |
+ #include <time.h> |
|
9 |
+#endif |
|
10 |
+ |
|
11 |
+double get_sec_since_epoch() |
|
12 |
+{ |
|
13 |
+ double sec; |
|
14 |
+ |
|
15 |
+ #ifdef HAVE_GETTIMEOFDAY |
|
16 |
+ struct timeval tv; |
|
17 |
+ |
|
18 |
+ gettimeofday(&tv, NULL); |
|
19 |
+ sec = tv.tv_sec; |
|
20 |
+ sec += tv.tv_usec / 1000000.0; |
|
21 |
+ #else |
|
22 |
+ sec = time(NULL); |
|
23 |
+ #endif |
|
24 |
+ |
|
25 |
+ return sec; |
|
26 |
+} |
|
27 |
+ |
|
28 |
+int main(int argc, char* argv[]) |
|
29 |
+{ |
|
30 |
+ printf("%f\n", get_sec_since_epoch()); |
|
31 |
+ |
|
32 |
+ return 0; |
|
33 |
+} |